/* arioso 첫 페이지 — 모바일 우선, 넓은 화면(태블릿·펼친 폴더블 720px+, PC 1100px+)
   arioso-release: r0.7.23   (이전: bak/r0.0.0/www/css/site.css) */
:root {
  /* 브랜드: 로고의 남보라 · 금색 (img/brand, tools/brand_assets.py) */
  --brand: #22133a;
  --brand-2: #2e1b4f;
  --brand-3: #170c29;
  --gold: #b8985a;
  --gold-hi: #d9bf85;
  --ivory: #f6f1e6;
  --bg: #f7f4ee;
  --panel: #ffffff;
  --text: #1e1530;
  --muted: #6c6680;
  --faint: #b9b3c4;
  --line: #e7e1d6;
  --accent: #2e1b4f;
  --accent-ink: #1b0f31;
  --accent-soft: #eeeaf6;
  --accent-text: #ffffff;
  --gold-ink: #8a6a2c;          /* 밝은 바탕 위 금색 글자 (읽히는 진하기) */
  --btn: #f0ece4;
  --band-bg: var(--brand);
  --band-text: var(--ivory);
  --band-muted: #b9afcb;
  --error: #b91c1c;
  --radius: 16px;
  --wrap: 1200px;
  --hdr-h: 60px;
  --tab-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 2px rgba(30, 21, 48, .05), 0 10px 28px rgba(30, 21, 48, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120b1f;
    --panel: #1b1230;
    --text: #eee9f6;
    --muted: #a79fb8;
    --faint: #5d5572;
    --line: #2c2244;
    --accent: #d4b678;
    --accent-ink: #e6cc93;
    --accent-soft: #2a2140;
    --accent-text: #1a1028;
    --gold-ink: #d4b678;
    --btn: #251b39;
    --band-bg: #0c0716;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 52px); }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; word-break: keep-all; }
body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); }
.soon, .tool em, .btn em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--btn);
  padding: 2px 8px; border-radius: 10px; vertical-align: 2px; margin-left: 4px; letter-spacing: 0; }

/* ───────── 머리: 남보라 막대 + 로고(리라 · ARIOSO · 음악 콘텐츠 오픈마켓) */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(34, 19, 58, .94); color: var(--ivory);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; min-height: var(--hdr-h); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ivory); flex: 0 0 auto; }
.brand-lyre { width: 26px; height: auto; display: block; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-word { height: 17px; width: auto; display: block; }
.brand-text small { font-size: 9.5px; letter-spacing: .06em; color: var(--gold-hi); font-weight: 600; line-height: 1; margin-left: 1px; white-space: nowrap; }
.gnb { display: flex; gap: 2px; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 12px 8px; width: calc(100% + 32px); }
.gnb::-webkit-scrollbar { display: none; }
.gnb-btn { flex: 0 0 auto; border: 0; background: none; color: rgba(246,241,230,.88); font-size: 15px; font-weight: 600; padding: 8px 10px; border-radius: 10px;
  cursor: pointer; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
button.gnb-btn::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); opacity: .5; transition: transform .15s; }
button.gnb-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.gnb-btn:hover, .gnb-btn[aria-expanded="true"] { background: rgba(255,255,255,.08); color: #fff; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hdr-link { text-decoration: none; color: rgba(246,241,230,.75); font-weight: 600; }
.hdr-link:hover { color: #fff; }
.hdr-sell { text-decoration: none; font-weight: 700; color: var(--brand); background: var(--gold-hi); padding: 6px 13px; border-radius: 20px; }
.hdr-sell:hover { background: #e6cc93; }
.hdr-account { color: var(--ivory); }
.hdr-account a { color: rgba(246,241,230,.8); text-decoration: none; }
.hdr .acct a.acct-login { color: rgba(246,241,230,.88); font-weight: 600; }   /* 로그인 부품(account.js)은 남보라 막대 위에서 밝게 */
.hdr .acct a.acct-login:hover { color: #fff; }
.room-crumb { color: rgba(246,241,230,.75) !important; border-left-color: rgba(255,255,255,.15) !important; }

/* 메가 메뉴 */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - var(--hdr-h) - 60px); overflow-y: auto; animation: drop .16s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega-in { max-width: var(--wrap); margin: 0 auto; padding: 20px 16px 24px; display: grid; gap: 20px 28px; grid-template-columns: repeat(2, 1fr); }
.mega-col h3 { margin: 0 0 8px; font-size: 14px; }
.mega-col h3 a { text-decoration: none; }
.mega-col h3 a:hover { color: var(--accent); }
.mega-col h3 small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 12px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col li button, .mega-col li a { display: flex; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: none; color: var(--text); text-align: left;
  padding: 5px 0; font-size: 14px; cursor: pointer; text-decoration: none; }
.mega-col li button:hover, .mega-col li a:hover { color: var(--accent); }
.mega-col li .n { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); }

/* 곡이 없는 항목: 흐리게 (데이터가 생기면 자동으로 원래대로) */
.empty { opacity: .42; }
.empty:hover { opacity: .7; }

/* ───────── 히어로: 남보라 바탕 + 천천히 흐르는 악보 (img/brand/score-bg.svg) */
.hero { position: relative; overflow: hidden; color: var(--ivory);
  background: radial-gradient(120% 90% at 50% 0%, #3b2468 0%, var(--brand) 52%, var(--brand-3) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; top: 50%; width: 3200px; pointer-events: none;
  background: url(/img/brand/score-bg.svg) repeat-x 0 0 / 1600px 100%; will-change: transform; }
.hero::before { height: 360px; margin-top: -180px; opacity: .16; animation: score-drift 140s linear infinite; }
.hero::after { width: 2200px; height: 250px; margin-top: -60px; background-size: 1100px 100%; opacity: .07; animation: score-drift-2 95s linear infinite; }
@keyframes score-drift { to { transform: translateX(-1600px); } }
@keyframes score-drift-2 { from { transform: translateX(-1100px); } to { transform: translateX(0); } }
.hero-in { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 40px 16px 40px; }
.hero .eyebrow { color: var(--gold-hi); }
.hero h1 { font-size: clamp(24px, 5.2vw, 40px); line-height: 1.22; margin: 0 0 12px; letter-spacing: -.035em; font-weight: 800; color: #fff; }
.hero .lead { margin: 0 0 24px; font-size: 15.5px; color: #cfc6de; }
.search { display: flex; align-items: center; background: #fff; border: 1.5px solid transparent; border-radius: 999px; padding: 5px 5px 5px 16px;
  box-shadow: 0 12px 32px rgba(10, 5, 20, .35); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(217,191,133,.3), 0 12px 32px rgba(10, 5, 20, .35); }
.search-ico { width: 20px; height: 20px; color: #8a83a0; flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; padding: 0 10px; font: inherit; font-size: 16px; background: transparent; color: #1e1530; }
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button { opacity: .5; }
.search button { height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.search button:hover { background: #3b2468; }

/* ───────── 구역 */
.block { margin-top: 44px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.block-head h2 { font-size: 21px; margin: 0; letter-spacing: -.03em; }
.link { border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* 장르 카드 */
.genre-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.genre { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.genre-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border: 0; background: none; padding: 0; color: inherit;
  text-align: left; cursor: pointer; margin-bottom: 12px; }
.genre-top b { font-size: 20px; letter-spacing: -.03em; }
.genre-top span { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.genre-top:hover b { color: var(--accent); }
.genre .subs { display: flex; flex-wrap: wrap; gap: 6px; }
.sub { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 8px; padding: 5px 9px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.sub:hover { border-color: var(--accent); color: var(--accent); }
.genre-n { margin-top: 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 악기 */
.inst-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.inst { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.inst:hover { border-color: var(--accent); transform: translateY(-1px); }
.inst b { font-size: 15px; }
.inst span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 차트 */
.two-col { display: grid; gap: 44px; grid-template-columns: 1fr; }
.chart { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); counter-reset: rank; }
.chart li { counter-increment: rank; display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.chart li:first-child { border-top: 0; }
.chart li::before { content: counter(rank); width: 22px; font-weight: 800; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.chart li:nth-child(-n+3)::before { color: var(--gold-ink); }
.chart .ct { flex: 1; min-width: 0; }
.chart .ct b, .chart .ct span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart .ct span { font-size: 12.5px; color: var(--muted); }

/* 음악 카드 */
.cards { display: grid; gap: 10px; grid-template-columns: 1fr; }
.card { display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 12px 16px; }
.card .info { flex: 1; min-width: 0; }
.card .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .s { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; align-items: center; }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--btn); color: var(--muted); }
.fmt { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); letter-spacing: .02em; }
.price { font-size: 12px; font-weight: 800; color: var(--gold-ink); margin-left: auto; }
.price.view { font-weight: 600; color: var(--muted); }
.card.ph .t, .chart li.ph b { color: var(--faint); }
.play-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; text-decoration: none; transition: transform .15s; }
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 20px; height: 20px; margin-left: 2px; }
.play-btn.off { background: var(--btn); color: var(--faint); pointer-events: none; }
.soon-badge { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--btn); padding: 6px 10px; border-radius: 14px; white-space: nowrap; }
.empty-box { padding: 26px 16px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 14px; grid-column: 1 / -1; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters select { height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-size: 14px; padding: 0 8px; max-width: 46vw; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.pager button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); cursor: pointer; }

/* 즐겨찾기 ♡ (r0.6.0) */
.fav-btn { flex: 0 0 auto; width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--faint); }
.fav-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fav-btn:hover { color: #c2416b; background: var(--btn); }
.fav-btn.on { color: #c2416b; }
.fav-btn.on svg { fill: currentColor; }

/* 연습 도구 */
.tools { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tool { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--line); text-decoration: none; min-height: 118px; transition: border-color .15s; }
a.tool:hover { border-color: var(--accent); }
.tool i { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; }
.tool i svg { width: 19px; height: 19px; }
.tool b { font-size: 15px; }
.tool span { font-size: 13px; color: var(--muted); }
.tool em { position: absolute; top: 14px; right: 12px; margin: 0; }
.tool.soon-tool i { background: var(--btn); color: var(--muted); }

/* 앙상블 띠 */
.band { margin-top: 56px; background: var(--band-bg); color: var(--band-text); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; left: 0; right: 0; bottom: -40px; height: 200px; opacity: .08; pointer-events: none;
  background: url(/img/brand/score-bg.svg) repeat-x 0 0 / 1100px 100%; }
.band-in { position: relative; padding-top: 48px; padding-bottom: 48px; display: grid; gap: 28px; }
.band .eyebrow { color: var(--gold-hi); }
.band h2 { font-size: clamp(26px, 5vw, 40px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.035em; }
.band-text p { color: var(--band-muted); margin: 0; max-width: 520px; }
.band-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; }
.btn-light { background: var(--gold-hi); color: var(--brand); }
.btn-light:hover { background: #e6cc93; }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); color: var(--band-muted); cursor: default; }
.btn-ghost em { background: rgba(255,255,255,.1); color: var(--band-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.steps li::before { content: counter(st); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-hi); color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.steps b { font-size: 15px; }
.steps span { font-size: 13px; color: var(--band-muted); }
.audience { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); }
.band-note { margin: 0; font-size: 12.5px; color: var(--band-muted); }

/* 스튜디오 · 크리에이터 */
.duo { display: grid; gap: 12px; grid-template-columns: 1fr; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; scroll-margin-top: calc(var(--hdr-h) + 60px); }
.feature h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.feature > p { margin: 0; color: var(--muted); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.feature-cta { margin-top: 20px; }
.btn-brand { background: var(--accent); color: var(--accent-text); }
.btn-brand:hover { background: var(--accent-ink); }
.creators { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.creators .lbl { font-size: 12px; color: var(--muted); margin-right: 4px; }
.creators .av { width: 34px; height: 34px; border-radius: 50%; background: var(--btn); color: var(--faint); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* ───────── 바닥: 남보라 + 밝은 로고 */
.ftr { margin-top: 64px; background: var(--brand); color: var(--ivory); --line: rgba(255,255,255,.1); --muted: #b9afcb; --text: var(--ivory); }
.ftr-logo { width: 132px; height: auto; display: block; }
.ftr-in { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 24px; }
.ftr-brand p { margin: 10px 0 0; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 13.5px; }
.ftr-cols div { display: flex; flex-direction: column; gap: 7px; }
.ftr-cols b { font-size: 13px; margin-bottom: 2px; }
.ftr-cols a { color: var(--muted); text-decoration: none; }
.ftr-cols a:hover { color: var(--text); }
.ftr-cols strong { color: var(--text); }
.ftr-bottom { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.release { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.ftr-biz { padding-top: 14px; padding-bottom: 4px; border-top: 1px solid var(--line); }
.biz { margin: 0; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.biz-tmp { color: #f3a3a3; font-weight: 600; }

/* 아래 탭 막대 (모바일) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--panel); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); text-decoration: none; }
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.on { color: var(--accent); font-weight: 700; }

/* 좁은 휴대폰: 머리의 글자 링크 숨김 (탭 막대·본문에 있음) */
@media (max-width: 559px) {
  .hdr-link { display: none; }
  .hdr-turn { display: inline; font-size: 13px; white-space: nowrap; }   /* 악보 페이지턴은 휴대폰에서도 보임 */
  .hdr-sell { padding: 5px 11px; font-size: 13px; }
}
/* 휴대폰·접은 폴더블: 장르는 옆으로 넘기는 카드, 긴 목록은 앞부분만 */
@media (max-width: 719px) {
  .hdr-in { padding-top: 8px; }                 /* 메뉴 줄이 아래로 내려가도 로고 위 여백 */
  .genre-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; }
  .genre-grid::-webkit-scrollbar { display: none; }
  .genre { scroll-snap-align: start; }
  .chart li:nth-child(n+6) { display: none; }
  #recent .card:nth-child(n+5) { display: none; }
  .block { margin-top: 36px; }
  .block-head h2 { font-size: 19px; }
  .band-in { padding-top: 40px; padding-bottom: 40px; }
}

/* ───────── 넓은 화면: 태블릿 · 펼친 폴더블 */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .gnb { order: 0; width: auto; margin: 0 0 0 18px; padding: 0; overflow: visible; }
  .hdr-in { flex-wrap: nowrap; }
  .hero-in { padding: 72px 16px 72px; text-align: center; }
  .brand-lyre { width: 30px; }
  .brand-word { height: 19px; }
  .hero .lead { font-size: 18px; }
  .search { max-width: 640px; margin: 0 auto; }
  .search input { height: 52px; font-size: 17px; }
  .search button { height: 52px; padding: 0 26px; }
  .block { margin-top: 64px; }
  .block-head h2 { font-size: 24px; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .inst-grid { grid-template-columns: repeat(5, 1fr); }
  .cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .mega-in { grid-template-columns: repeat(4, 1fr); padding: 26px 16px 28px; }
  .band { margin-top: 72px; }
  .band-in { padding-top: 72px; padding-bottom: 72px; grid-template-columns: 1.1fr 1fr; align-items: start; column-gap: 56px; }
  .band-text { grid-row: span 3; }
  .duo { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature { padding: 32px 30px; }
  .ftr-in { grid-template-columns: 1fr 2fr; }
}

/* PC */
@media (min-width: 1100px) {
  .genre-grid { grid-template-columns: repeat(4, 1fr); }
  .inst-grid { grid-template-columns: repeat(7, 1fr); }
  .two-col { grid-template-columns: 5fr 7fr; gap: 32px; }
  .two-col .cards { grid-template-columns: 1fr 1fr; }
  .mega-in.wide { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mega { animation: none; }
  .inst, .play-btn { transition: none; }
  .hero::before, .hero::after { animation: none; }
}
