/* OPRN 스토어 4차 개편(2026-10-30) — 조용한 무채색 + 강조색 하나, 넓은 여백, 큰 그림, 글은 짧게.
:root { --wa: 255 255 255; --media: #0b0b0c; }
   app.css·v3.css 위에 얹는다(기준 문서 DESIGN.md 「4차」). 도트 그림은 언제나 pixelated.
   밝은·어두운 모드는 시스템 설정(prefers-color-scheme)을 따른다. */

/* ── 토큰: 두 제품이 같은 얼굴. 강조색은 하나(--acc) ── */
body.p-play, body.p-store {
  --bg: #000; --bg-2: #161617; --bg-3: #1d1d1f; --bg-4: #2c2c2e;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14);
  --text: #f5f5f7; --text-2: #c7c7cc; --muted: #98989d;
  --acc: #2997ff; --acc-2: #2997ff; --acc-ink: #fff; --acc-hover: #4aa8ff;
  --gold: var(--acc); --gold-ink: #fff; --gold-soft: rgb(41 151 255 / .16);
  --go: var(--acc); --go-2: var(--acc); --go-ink: #fff;
  --teal: #30d158; --teal-soft: rgb(48 209 88 / .14);
  --plum: #bf8bff; --plum-soft: rgb(191 139 255 / .14);
  --red: #ff6961;
  --glass: rgb(29 29 31 / .72); --glass-line: rgb(255 255 255 / .08);
  --wa: 255 255 255;
  --media: #0b0b0c;
  --checker: repeating-conic-gradient(#121214 0% 25%, #19191b 0% 50%) 0 0 / 16px 16px;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 60px rgb(0 0 0 / .45);
  --r: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; }
  body.p-play, body.p-store {
    --bg: #fff; --bg-2: #f5f5f7; --bg-3: #ececf0; --bg-4: #dedee3;
    --line: rgb(0 0 0 / .08); --line-2: rgb(0 0 0 / .14);
    --text: #1d1d1f; --text-2: #424245; --muted: #6e6e73;
    --acc: #0071e3; --acc-2: #0071e3; --acc-hover: #0077ed;
    --gold-soft: rgb(0 113 227 / .1);
    --teal: #1a7f37; --teal-soft: rgb(36 138 61 / .1);
    --plum: #8944ab; --plum-soft: rgb(137 68 171 / .1);
    --red: #d70015;
    --glass: rgb(255 255 255 / .78); --glass-line: rgb(0 0 0 / .08);
    --wa: 0 0 0;
    --media: #e8e8ed;
    --checker: repeating-conic-gradient(#ececf0 0% 25%, #f5f5f7 0% 50%) 0 0 / 16px 16px;
    --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 10px 30px rgb(0 0 0 / .08);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / .06), 0 24px 60px rgb(0 0 0 / .14);
  }
}
:lang(ko) body.p-play, :lang(ko) body.p-store { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", system-ui, sans-serif; }
:lang(ja) body.p-play, :lang(ja) body.p-store { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans CJK JP", system-ui, sans-serif; }
:lang(zh-CN) body.p-play, :lang(zh-CN) body.p-store { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; }
.p-play h1, .p-play h2, .p-store h1, .p-store h2 { font-weight: 700; letter-spacing: -.025em; }
.p-play h3, .p-store h3 { letter-spacing: -.015em; }
.p-play :focus-visible, .p-store :focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.p-play p a, .p-store p a, .p-play .fine a, .p-store .fine a { color: var(--acc); }
main { padding-top: 32px; padding-bottom: 96px; }
.wrap { max-width: 1240px; padding-inline: 28px; }
.sub { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: var(--muted); font-weight: 500; letter-spacing: -.015em; }
.fine { color: var(--muted); }

/* ── 머리: 얇고 투명 ── */
.p-play .top, .p-store .top { background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.top-row { height: 56px; gap: 18px; }
.brand-word b { color: var(--text); font-size: 15px; }
.brand-word i, .p-store .brand-word i { background: none; color: var(--muted); box-shadow: none; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.sw { background: rgb(var(--wa) / .06); border: 0; padding: 2px; }
.sw a { height: 30px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.sw a.on, .sw .sw-play.on, .sw .sw-store.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.sw a .ico { display: none; }
.pnav { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 6px 10px; }
.pnav:hover { background: none; color: var(--text); }
.p-play .pnav.on, .p-store .pnav.on, .pnav.on { background: none; box-shadow: none; color: var(--text); font-weight: 600; }
.p-play .top .search input[type=search], .p-store .top .search input[type=search] { height: 34px; background: rgb(var(--wa) / .07); border: 0; border-radius: 10px; font-size: 14px; }
.p-play .top .search input[type=search]:focus, .p-store .top .search input[type=search]:focus { background: rgb(var(--wa) / .1); }
.nav-link { font-size: 13px; font-weight: 500; height: 32px; color: var(--text-2); }
.nav-link:hover { background: rgb(var(--wa) / .06); }
.lang-menu summary { border: 0; height: 32px; font-size: 13px; font-weight: 500; }
.lang-list { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.lang-list a:hover { background: rgb(var(--wa) / .06); }
.lang-list a[aria-current], .foot-langs a[aria-current] { color: var(--acc); }
.cats a.on, .p-play .cats a.on, .p-store .cats a.on { border-bottom-color: var(--text); }

/* ── 단추: 알약, 강조색 하나 ── */
.button, .p-play .button:not(.play):not(.glass):not(.ghost):not(.store):not(.google):not(.danger), .p-store .button:not(.play):not(.glass):not(.ghost):not(.store):not(.google):not(.danger) {
  background: var(--acc); color: var(--acc-ink); border: 0; border-radius: 980px; font-weight: 600; box-shadow: none; letter-spacing: -.01em;
  transition: background-color .2s var(--ease), transform .2s var(--ease), opacity .2s;
}
.button { font-size: 15px; height: 40px; padding: 0 20px; }
.p-play .button:not(.play):not(.glass):not(.ghost):not(.store):not(.google):not(.danger):hover, .p-store .button:not(.play):not(.glass):not(.ghost):not(.store):not(.google):not(.danger):hover, .button:hover { background: var(--acc-hover); }
.button.play, .button.store { background: var(--acc); color: var(--acc-ink); box-shadow: none; border-radius: 980px; }
.button.play:hover, .button.store:hover { background: var(--acc-hover); box-shadow: none; transform: none; }
.button.glass, .button.ghost { background: rgb(var(--wa) / .08); color: var(--text); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 980px; }
.button.glass:hover, .button.ghost:hover { background: rgb(var(--wa) / .13); }
.button.glass.on, .button.ghost.on { color: var(--acc); background: var(--gold-soft); }
.button.danger { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1px currentColor; border-radius: 980px; }
.button.small { height: 32px; padding: 0 14px; font-size: 13px; }
.button.xl { height: 50px; padding: 0 28px; font-size: 17px; border-radius: 980px; }
.button.wide { width: 100%; }
.button.google { border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line-2); }
.link { color: var(--acc); }

/* ── 표시 ── */
.mark { height: 22px; font-weight: 600; font-size: 11.5px; }
.mark.on-cover { background: var(--glass); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.price { color: var(--text); font-weight: 600; }
.cover-icon { color: var(--muted); }

/* ── 줄 머리 ── */
.block { margin-top: 64px; }
.row-head { margin-bottom: 18px; }
.row-head h2, .block-head h2 { font-size: clamp(22px, 2.2vw, 28px); }
.see-all, .row-head .see-all { color: var(--acc); font-weight: 500; font-size: 15px; }
.see-all:hover { color: var(--acc-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ── 에셋 카드 ── */
.agrid { gap: 22px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ac { background: var(--bg-2); border-radius: var(--r); box-shadow: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ac:hover, .ac:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ac:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.ac-bed { background: var(--checker); }
.ac-body { padding: 14px 16px 16px; gap: 3px; }
.ac-title { font-weight: 600; font-size: 15px; }
.ac-meta { font-size: 13px; }
.ac-meta .ai-text { color: var(--plum); }
.ac-foot { font-size: 12.5px; }
.ac-foot .lic { border: 0; background: rgb(var(--wa) / .07); border-radius: 6px; }
.ac-foot .price { font-size: 13px; }

/* ── 에셋 첫 화면 ── */
.ahero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto; gap: 18px 56px; align-items: center; padding: 24px 0 8px; }
.ahero-copy { grid-row: span 2; display: flex; flex-direction: column; gap: 18px; }
.ahero-copy h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.asearch { max-width: 520px; padding: 5px 5px 5px 18px; border-radius: 980px; border: 0; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.asearch:focus-within { box-shadow: inset 0 0 0 2px var(--acc); }
.asearch .button { height: 38px; }
.asearch .ico { color: var(--muted); }
.ahero-art { position: relative; display: block; border-radius: 24px; overflow: hidden; background: var(--checker); box-shadow: var(--shadow-lg); }
.ahero-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ahero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; image-rendering: pixelated; display: block; transition: transform 8s var(--ease); }
.ahero-art:hover .ahero-img img { transform: scale(1.25); }
.ahero-cap { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); width: fit-content; max-width: calc(100% - 28px); }
.ahero-cap b { font-size: 15px; font-weight: 600; }
.ahero-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ahero-more a { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--checker); transition: transform .3s var(--ease), box-shadow .3s; }
.ahero-more a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ahero-more img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.kchips { display: flex; gap: 8px; margin: 40px 0 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.kchips::-webkit-scrollbar { display: none; }
.kchip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 980px; background: var(--bg-2); color: var(--text-2); font-size: 14px; font-weight: 500; transition: background-color .2s; }
.kchip .ico { width: 13px; height: 13px; color: var(--muted); }
.kchip i { font-style: normal; font-size: 12px; color: var(--muted); }
.kchip:hover { background: var(--bg-3); color: var(--text); }
.kchip.on { background: var(--text); color: var(--bg); }
.kchip.on i { color: inherit; opacity: .6; }

/* 건너가기·올리기 띠: 조용한 면 하나 */
.cross, .cross-play, .cross-assets { margin-top: 80px; border: 0; border-radius: 24px; background: var(--bg-2); padding: 40px 44px; }
.cross h2, .cross-play h2, .cross-assets h2 { color: var(--text); font-size: clamp(24px, 2.6vw, 32px); max-width: 24ch; }
.cross-art img { background: var(--checker); box-shadow: none; border-radius: 12px; }
.creator, .p-store .creator { margin-top: 20px; padding: 28px 44px; border: 0; border-radius: 24px; background: var(--bg-2); }
.creator h2 { font-size: 22px; }
.creator p { margin: 6px 0 0; color: var(--muted); }
.mkcta, .p-play .mkcta { border: 0; background: var(--bg-2); border-radius: 24px; padding: 28px 40px; }
.mkcta p { color: var(--muted); }
.qcta { border: 0; background: var(--bg-2); border-radius: 18px; }

/* ── 에셋 찾기 ── */
.facets-body { background: none; border: 0; padding: 0 0 0 0; gap: 26px; }
.fg h3 { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.flist a { border-radius: 10px; font-size: 14px; }
.flist a.on { background: rgb(var(--wa) / .07); }
.ck { border-radius: 5px; }
.ck.on::after { border-color: #fff; }
.fchips a, .fchips .static { border: 0; background: var(--bg-2); border-radius: 980px; }
.fchips a.on { background: var(--text); color: var(--bg); }
.fchips .static { color: var(--text-2); }
.chip { border: 0; background: var(--bg-2); font-weight: 500; }
.chip.on, .p-store .chip.on { background: var(--text); color: var(--bg); }
.knob { background: var(--bg-4); }
.toggle.on .knob { background: #30d158; }
.sorts { background: rgb(var(--wa) / .06); border: 0; border-radius: 10px; }
.sorts a { font-weight: 500; border-radius: 8px; }
.sorts a.on { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
.xchip { background: rgb(var(--wa) / .07); border: 0; }
.p-play .bigsearch, .bigsearch { background: var(--bg-2); border: 0; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line); }
.p-play .bigsearch:focus-within, .bigsearch:focus-within { box-shadow: inset 0 0 0 2px var(--acc); }
.results-head h1, .p-play .find-head h1, .p-store .results-head h1 { font-size: clamp(30px, 3.4vw, 44px); }
.empty, .p-store .empty { border: 0; background: var(--bg-2); border-radius: var(--r); padding: 56px 24px; }
.empty-art { background: none; }
.result-line { color: var(--muted); }

/* ── 상품 화면 ── */
.crumbs { font-size: 13px; }
.detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
.p-store .gallery .main, .gallery .main { border-radius: 22px; box-shadow: none; background: var(--checker); }
.thumb, .p-store .gallery .thumb { border-radius: 10px; border-width: 2px; }
.thumb.is-on { border-color: var(--acc); }
.info { top: 88px; gap: 12px; }
.info .kind { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.info h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.info .summary { color: var(--text-2); font-size: 17px; line-height: 1.45; }
.get, .p-store .info .get { background: var(--bg-2); border: 0; border-radius: var(--r); padding: 20px; gap: 14px; }
.license-pill { border: 0; background: rgb(var(--wa) / .08); }
.howto summary, .facts-fold summary, .more-fields summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--acc); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.howto summary::-webkit-details-marker, .facts-fold summary::-webkit-details-marker, .more-fields summary::-webkit-details-marker, .fold > summary::-webkit-details-marker, .ctl-pop > summary::-webkit-details-marker { display: none; }
.howto summary::after, .facts-fold summary::after, .more-fields summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.howto[open] summary::after, .facts-fold[open] summary::after, .more-fields[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.howto ol { margin-top: 12px; }
.howto .fine { margin-top: 10px; }
.get li::before { background: rgb(var(--wa) / .08); color: var(--text); }
.copy-id { border-top: 1px solid var(--line); margin-top: 10px; }
.facts-fold .facts { margin-top: 12px; }
.facts { border-top: 0; }
.facts div { border-bottom: 1px solid var(--line); grid-template-columns: 104px 1fr; }
.tags a, .p-store .tags a { background: var(--bg-2); border-radius: 980px; }
.fold { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 40px; }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fold > summary h2 { font-size: 22px; margin: 0; }
.fold > summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--muted); line-height: 1; transition: transform .25s var(--ease); }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > .pre, .fold > ul, .fold > p, .fold > .cl-list { margin-top: 16px; }
.text-block .pre, .fold .pre { color: var(--text-2); line-height: 1.6; }
.versions li { background: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; }
.inside { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.inside figure { background: var(--checker); border-radius: 12px; }
.preview3 { margin-top: 48px; }
.preview3 .pv-bar { background: var(--bg-2); border: 0; border-radius: 16px 16px 0 0; }
.pv-stage { border: 0; border-radius: 0 0 16px 16px; }
.pv-btn, .pv-bar select { border: 0; background: rgb(var(--wa) / .08); border-radius: 8px; }
.report { color: var(--muted); }

/* 음악·효과음: 곡 목록 + 바로 재생 */
.album { display: flex; flex-direction: column; gap: 12px; }
.album-head { display: flex; align-items: center; gap: 18px; padding: 8px 0 6px; }
.album-art { flex: none; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(145deg, var(--bg-3), var(--bg-2)); color: var(--acc); box-shadow: var(--shadow); }
.album-art .ico { width: 36px; height: 36px; }
.album-head b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.album-head small { color: var(--muted); font-size: 14px; }
.tracks { list-style: none; margin: 0; padding: 0; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.track { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 120px; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; min-height: 52px; }
.track + .track::before { content: ""; position: absolute; left: 60px; right: 16px; top: 0; border-top: 1px solid var(--line); }
.track:hover { background: rgb(var(--wa) / .04); }
.track audio { display: none; }
.track-btn { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; font: inherit; }
.track-n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track-ico { position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 11px solid var(--acc); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 13px; opacity: 0; }
.track:hover .track-n, .track-btn:focus-visible .track-n, .track.is-playing .track-n { opacity: 0; }
.track:hover .track-ico, .track-btn:focus-visible .track-ico { opacity: 1; }
.track.is-playing .track-ico { opacity: 1; width: 10px; height: 12px; border: 0; border-left: 3px solid var(--acc); border-right: 3px solid var(--acc); margin: auto; }
.track.is-playing .track-name { color: var(--acc); }
.track-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-bar { height: 3px; border-radius: 2px; background: rgb(var(--wa) / .1); overflow: hidden; }
.track-bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--acc); border-radius: 2px; }

/* ── 올리기·로그인 양식 ── */
.panel, .auth-card { background: var(--bg-2); border: 0; border-radius: 24px; }
.upload h1, .auth-card h1 { font-size: clamp(30px, 3.4vw, 40px); }
.upload .sub { margin-top: 6px; font-size: 17px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2); text-align: center; color: var(--text-2); }
.drop .ico { width: 24px; height: 24px; color: var(--acc); }
.drop input[type=file] { border: 0; background: none; padding: 0; text-align: center; max-width: 320px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; }
.more-fields > .stack { margin-top: 14px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--gold-soft); }
fieldset { border: 0; padding: 0; gap: 6px; }
legend { padding: 0 0 6px; font-weight: 600; }
label { color: var(--text-2); font-weight: 500; }
label.radio input, label.check input { accent-color: var(--acc); }
.notice { background: var(--bg-2); border-left: 0; border-radius: 14px; box-shadow: inset 3px 0 0 var(--acc); }
.notice.ok { box-shadow: inset 3px 0 0 var(--teal); }
.notice.hidden, .notice.removed { box-shadow: inset 3px 0 0 var(--red); }

/* ════════ PLAY ════════ */
.hs-bg img { opacity: .5; filter: blur(60px) saturate(1.3) brightness(.6); }
.hs-bg::after { background: linear-gradient(180deg, transparent 0%, transparent 40%, var(--bg) 100%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 60%); }
@media (prefers-color-scheme: light) { .hs-bg img { opacity: .35; filter: blur(60px) saturate(1.2) brightness(1.1); } }
.hs { min-height: 480px; padding: 28px 0 8px; gap: 48px; }
.hs-copy { gap: 16px; }
.hs-genre { color: var(--muted); font-weight: 600; font-size: 14px; }
.hs-copy h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; text-shadow: none; }
.hs-sum { font-size: 19px; line-height: 1.4; color: var(--text-2); -webkit-line-clamp: 2; }
.hs-fine { display: none; }
.hs-frame { transform: none; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hs-stage:hover .hs-frame { transform: none; }
.pill, .p-play .pill { border: 0; background: rgb(var(--wa) / .08); color: var(--text-2); height: 28px; }
.ht { border: 0; background: rgb(var(--wa) / .05); border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ht.is-on { background: rgb(var(--wa) / .1); color: var(--text); }
.ht-bar i { background: var(--acc); }
.hero3-pause { border: 0; background: rgb(var(--wa) / .1); }
.gc { background: var(--bg-2); border-radius: var(--r); box-shadow: none; }
.gc-media { border-radius: var(--r) var(--r) 0 0; background: var(--media); }
.gc:hover, .gc:focus-visible, .gc.is-live { transform: translateY(-3px) scale(1.015); box-shadow: var(--shadow-lg); }
.gc:focus-visible { box-shadow: 0 0 0 3px var(--acc), var(--shadow-lg); }
.gc-body { padding: 13px 16px 16px; }
.gc-title { font-weight: 600; }
.gc-meta span { background: none; padding: 0; color: var(--muted); font-size: 13px; }
.gc-meta span + span::before { content: "·"; margin-right: 5px; }
.gc-pop { background: linear-gradient(180deg, transparent, rgb(0 0 0 / .85) 50%); }
.gc-sum { color: #fff; }
.gc-stats { color: rgb(255 255 255 / .8); }
.rail-btn { border: 0; background: var(--glass); box-shadow: var(--shadow); color: var(--text); }
.rail-btn:hover { background: var(--bg-3); }
.genre-tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gt, .gt-rpg, .gt-adventure, .gt-romance, .gt-monster, .gt-puzzle, .gt-horror, .gt-mystery, .gt-action, .gt-simulation, .gt-touch, .gt-short { background: var(--bg-2); box-shadow: none; min-height: 84px; border-radius: 16px; color: var(--text); }
.gt::before { display: none; }
.gt:hover { background: var(--bg-3); transform: none; box-shadow: none; }
.gt small { color: var(--muted); }
.panel { padding: 22px; }
.p-play .uplist li, .p-play .crlist li, .uplist li, .crlist li { background: none; border: 0; border-radius: 14px; }
.p-play .uplist li:hover, .p-play .crlist li:hover { background: rgb(var(--wa) / .05); }
.avatar, .p-play .avatar, .rv-avatar, .cl-voice-av { background: var(--bg-4); color: var(--text); }
.p-play .gtags a, .gtags a { background: rgb(var(--wa) / .07); color: var(--text-2); border-radius: 980px; }
.p-play .gtags a.mine { background: var(--gold-soft); color: var(--acc); }

/* 게임 화면: 무대 + 요약(제목·한 줄·플레이) → 평가 → 접힌 나머지 */
.gd-backdrop img { filter: blur(70px) saturate(1.3) brightness(.45); opacity: .7; }
.gd-backdrop::after { background: linear-gradient(180deg, transparent, var(--bg) 85%); }
@media (prefers-color-scheme: light) { .gd-backdrop img { filter: blur(70px) saturate(1.2) brightness(1.1); opacity: .35; } }
.gd-top { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: stretch; margin-top: 4px; }
.mv-stage { border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--media); }
.mthumbs { margin-top: 12px; }
.mthumb { border-radius: 10px; }
.mthumb.is-on { border-color: var(--acc); }
.capsule { background: none; border: 0; padding: 4px 0 0; gap: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; justify-content: center; }
.capsule-genre { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.gd-title { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; margin: 0; text-shadow: none; letter-spacing: -.03em; }
.capsule-sum { font-size: 17px; line-height: 1.45; color: var(--text-2); margin: 0; }
.capsule-play { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.capsule-act { display: flex; gap: 8px; }
.capsule-act form, .capsule-act > a { flex: 1; display: flex; }
.capsule-act .button { flex: 1; }
.frow { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.frow span { display: inline-flex; align-items: center; gap: 5px; }
.frow .ico { width: 12px; height: 12px; }
.crev { margin: 0; font-size: 14px; }
.crev a { text-decoration: none; }
.playbar.m-only { display: none; }
.gd-tabs { margin: 48px 0 0; border-bottom: 1px solid var(--line); }
.gd-tabs a { font-size: 14px; font-weight: 500; }
.gd-tabs a.on { border-bottom-color: var(--text); }
.gd-tabs b { background: rgb(var(--wa) / .08); }
.gd-cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.gd-main .block, .gd-main .fold { margin-top: 36px; }
.gd-side { background: none; border: 0; padding: 0; top: 80px; gap: 22px; margin-top: 36px; }
.gd-side .cfacts { font-size: 14px; gap: 10px; }
.gd-side .cfacts div { grid-template-columns: 96px minmax(0, 1fr); }
.gd-side .kv { padding-top: 18px; border-top: 1px solid var(--line); }
.gd-side .author-card { border-top: 1px solid var(--line); }
.ncard, .p-play .game-versions .game-version, .rv-card, .rv-sum, .q-card, .feed-item a, .post { background: var(--bg-2); border: 0; }
.rv-gate, .reviews .review-empty { border: 0; background: var(--bg-2); }
.rv-form { background: var(--bg-2); border: 0; }
.cl-voice { background: var(--bg-2); border: 0; }
.nf.pin { background: var(--gold-soft); color: var(--acc); }
.nf.ver { background: rgb(var(--wa) / .08); border: 0; }
.rv-label.pos { color: var(--acc); }

/* 조작법: 단추 하나 뒤에 */
.ctl-pop { position: relative; display: inline-block; }
.ctl-pop > summary { list-style: none; gap: 8px; }
.ctl-pop > summary kbd { border: 0; background: none; padding: 0; min-width: 0; font-size: 15px; line-height: 1; }
.ctl-sheet { position: absolute; z-index: 45; right: 0; top: calc(100% + 8px); width: min(440px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); animation: popIn .18s var(--ease); }
.ctl-pop.ctl-side .ctl-sheet { left: 0; right: auto; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.controls { display: grid; gap: 8px; margin: 0; max-width: none; }
.controls div { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; }
.controls dt { display: flex; flex-wrap: wrap; gap: 4px; }
.controls dd { margin: 0; color: var(--text-2); }
kbd { border: 0; border-radius: 6px; background: rgb(var(--wa) / .1); color: var(--text); box-shadow: inset 0 -1px 0 rgb(var(--wa) / .12); font: 600 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 0 7px; }
.ctl-touch { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }

/* 플레이 화면 */
.play-shell { gap: 12px; padding-top: 4px; }
.play-bar { gap: 12px; }
.play-bar b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.play-bar .mark.pack { background: rgb(var(--wa) / .08); color: var(--muted); }
.play-tools { align-items: center; }
.play-stage { border-radius: 18px; background: #000; box-shadow: var(--shadow-lg); }
.play-help .fine, .cloud-save-line { text-align: center; }
.play-resume span { background: var(--glass); border: 0; border-radius: 980px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--text); }
html.play-theater .play-bar { background: var(--bg); border-bottom: 1px solid var(--line); }
html.play-theater .ctl-sheet { top: calc(100% + 6px); }

/* ── 바닥·아래 탭 ── */
footer { background: var(--bg-2); border-top: 0; }
.foot-inner { font-size: 12.5px; padding-top: 24px; padding-bottom: 28px; }
.foot-brand b { color: var(--text); }
.foot-langs { border-top: 1px solid var(--line); }
.p-play .tabbar, .p-store .tabbar, .tabbar { background: color-mix(in srgb, var(--bg) 78%, transparent) !important; border-top: 1px solid var(--line) !important; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.tab { color: var(--muted); }
.tab.on, .p-play .tab.on, .p-store .tab.on { color: var(--acc); }

/* 표·관리 화면 */
.table th { color: var(--muted); border-bottom-color: var(--line-2); }
.table td { border-bottom-color: var(--line); }
.queue-item, .agent-item, .my-saves .save-game, .creator-head, .p-play .creator-head { background: var(--bg-2); border: 0; border-radius: 16px; }
.me-feed { border: 0; background: var(--bg-2); }
pre.cmd, pre.secret { background: var(--bg-3); border: 0; color: var(--text); }
.step-n { background: rgb(var(--wa) / .1); color: var(--text); }

/* ── 크기별 ── */
@media (max-width: 1100px) {
  .ahero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 36px; }
  .gd-top { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .ahero { grid-template-columns: minmax(0, 1fr); }
  .ahero-copy { grid-row: auto; }
  .gd-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gd-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gd-side { position: static; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facets-body { background: var(--bg-2); }
  details.facets[open] .facets-body { border-radius: 24px 24px 0 0; padding-inline: 20px; }
  .facets-toggle { border: 0 !important; background: var(--bg-2) !important; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  main { padding-top: 20px; }
  .block { margin-top: 44px; }
  .ahero { padding-top: 8px; gap: 16px; }
  .ahero-copy h1 { font-size: 40px; }
  .ahero-more { display: none; }
  .ahero-art { border-radius: 18px; }
  .kchips { margin: 28px -20px 0; padding-inline: 20px; }
  .asearch { max-width: none; }
  .hs { min-height: 0; gap: 18px; padding-top: 0; }
  .hs-copy h1 { font-size: 34px; }
  .hs-sum { font-size: 16px; }
  .hs-frame { border-radius: 16px; }
  .cross, .cross-play, .cross-assets { padding: 28px 24px; margin-top: 56px; border-radius: 20px; }
  .creator, .p-store .creator { padding: 24px; flex-direction: column; align-items: flex-start; }
  .mkcta, .p-play .mkcta { padding: 24px; }
  .agrid { gap: 12px; }
  .ac { border-radius: 14px; }
  .ac-body { padding: 10px 12px 12px; }
  .gd-title { font-size: 32px; }
  .capsule-play .button.play { display: none; }
  .capsule-act { margin-top: 0; }
  .mv-stage { border-radius: 14px; margin-inline: -4px; }
  .playbar.m-only, .game-detail .playbar.m-only { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 25; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .playbar.m-only .button { box-shadow: var(--shadow-lg); height: 52px; }
  .gd-tabs { margin-top: 32px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .panel, .auth-card { border-radius: 20px; padding: 24px 20px; }
  .narrow.panel { margin-inline: -8px; }
  .track { grid-template-columns: 40px minmax(0, 1fr) 40px; padding-right: 12px; }
  .track-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14.5px; line-height: 1.35; }
  .detail:has(.album) .info { order: -1; }
  .detail:has(.album) .album-head { display: none; }
  .album-art { width: 72px; height: 72px; border-radius: 16px; }
  .play-stage { border-radius: 0; box-shadow: none; }
  .ctl-sheet { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ac:hover, .gc:hover, .ahero-more a:hover { transform: none; }
  .ahero-art:hover .ahero-img img { transform: none; }
  .ctl-sheet { animation: none; }
}

/* ════════ 4차 2단계: 큰 글, 넓은 여백, 상자 대신 간격 ════════ */
body.p-play, body.p-store { font-size: 17px; line-height: 1.55; }
.block { margin-top: 104px; }
.row-head { margin-bottom: 24px; align-items: flex-end; }
.row-head h2, .block-head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.03em; }
.sub { font-size: clamp(19px, 1.8vw, 24px); }

/* 게임 첫 화면: 화면 가득 히어로 한 장 */
body.has-phero main { padding-top: 0; }
.phero { position: relative; isolation: isolate; margin: 0 calc(50% - 50vw); min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; background: #000; color: #f5f5f7; }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img, .phero-media video { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .55) 70%, rgb(0 0 0 / .85) 100%); }
.phero-copy { padding-bottom: clamp(48px, 8vh, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.phero-genre { margin: 0; font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .75); }
.phero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.02; letter-spacing: -.04em; max-width: 16ch; color: #fff; }
.phero-sum { margin: 0; max-width: 40ch; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.35; color: rgb(255 255 255 / .85); font-weight: 500; }
.phero-act { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.phero .button.glass { background: rgb(255 255 255 / .16); color: #fff; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.phero .button.glass:hover { background: rgb(255 255 255 / .26); }
.phero.empty { min-height: 50vh; background: var(--bg-2); color: var(--text); }
.phero.empty::after { display: none; }
.has-phero .top { position: sticky; }

/* 큰 카드 줄 */
.bigrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.gc-big { background: none; border-radius: 0; box-shadow: none; }
.gc-big .gc-media { border-radius: 22px; aspect-ratio: 16 / 10; }
.gc-big:hover, .gc-big:focus-visible { transform: none; box-shadow: none; }
.gc-big:hover .gc-media img { transform: scale(1.03); }
.gc-big .gc-media img { transition: transform .6s var(--ease); object-fit: cover; }
.gc-big:focus-visible .gc-media { outline: 3px solid var(--acc); outline-offset: 3px; }
.gc-big .gc-body { padding: 14px 2px 0; gap: 2px; }
.gc-big .gc-title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.gc-tag { font-size: 14px; color: var(--muted); }
.kchips.big { margin: 0; flex-wrap: wrap; overflow: visible; gap: 10px; }
.kchips.big .kchip { height: 48px; padding: 0 22px; font-size: 16px; }

/* 게임 화면: 가운데 제목·한 줄·플레이 → 큰 영상 → 넘기는 스크린샷 */
.game-detail .crumbs { justify-content: center; }
.gd-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 0 8px; max-width: 880px; margin: 0 auto; }
.gd-hero .gd-title { font-size: clamp(48px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; }
.gd-hero .capsule-sum { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; max-width: 38ch; color: var(--text-2); font-weight: 500; }
.gd-play { margin: 10px 0 0; }
.gd-play .button.xl { height: 56px; padding: 0 36px; font-size: 18px; }
.gd-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; }
.gd-meta .frow { margin: 0; justify-content: center; font-size: 15px; }
.gd-meta .crev { font-size: 15px; text-decoration: none; }
.gd-hero .capsule-act { justify-content: center; gap: 10px; }
.gd-hero .capsule-act form, .gd-hero .capsule-act > a { flex: none; }
.gd-hero .capsule-act .button { height: 36px; font-size: 14px; }
.gd-media { margin: 48px auto 0; max-width: 1180px; }
.gd-media .mv-stage { border-radius: 28px; aspect-ratio: 16 / 9; }
.gd-media .mv-stage img, .gd-media .mv-stage video { object-fit: contain; }
.shots { margin-top: 28px; }
.shot-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(46%, 560px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.shot-track::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: start; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--media); }
.shot img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.gd-backdrop { display: none; }
.gd-tabs { margin-top: 88px; justify-content: center; border-bottom: 0; gap: 8px; }
.gd-tabs a { border: 0; border-radius: 980px; padding: 8px 18px; background: var(--bg-2); color: var(--text-2); margin: 0; }
.gd-tabs a.on { background: var(--text); color: var(--bg); }
.gd-tabs a.on b { background: rgb(var(--wa) / .2); color: inherit; }
.gd-cols { margin-top: 48px; grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; }
.gd-main .block, .gd-main .fold { margin-top: 56px; }
.gd-main > :first-child { margin-top: 0; }
.rv-card, .ncard, .p-play .game-versions .game-version, .rv-sum, .rv-gate, .reviews .review-empty, .cl-voice { background: none; border-radius: 0; }
.rv-card { border-top: 1px solid var(--line); padding-top: 4px; grid-template-columns: 150px minmax(0, 1fr); }
.rv-who { background: none; padding-left: 0; }
.rv-verdict { background: none !important; }
.rv-sum { padding: 0; }
.rv-gate { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.ncard { border-top: 1px solid var(--line); padding-top: 18px; }
.ncard-img { border-radius: 16px; }
.ncard-body { padding: 0 0 0 20px; }
.gd-side { margin-top: 56px; }
.gd-side .kv { border-top: 1px solid var(--line); }

/* 에셋: 같은 원칙 */
.ahero-copy h1 { font-size: clamp(48px, 6.4vw, 88px); }
.ac { background: none; border-radius: 0; }
.ac:hover, .ac:focus-visible { transform: none; box-shadow: none; }
.ac-bed { border-radius: 18px; }
.ac:hover .ac-bed { box-shadow: var(--shadow-lg); }
.ac:focus-visible { outline: none; }
.ac:focus-visible .ac-bed { outline: 3px solid var(--acc); outline-offset: 3px; }
.ac-body { padding: 12px 2px 0; }
.ac-title { font-size: 16px; }
.agrid { gap: 32px 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.p-store .shelf .agrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-store .shelf .agrid > .ac:nth-child(n+5) { display: none; }
.info h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.info .summary { font-size: 19px; }
.get, .p-store .info .get { background: none; padding: 0; }
.get .button.wide { height: 52px; font-size: 17px; }
.tracks { background: none; border-radius: 0; border-top: 1px solid var(--line); }
.track { min-height: 60px; padding-left: 0; }
.track + .track::before { left: 52px; right: 0; }
.track-name { font-size: 16px; }
.album-head b { font-size: 26px; }

/* 상자 줄이기 */
.cross, .cross-play, .cross-assets { background: none; padding: 0; margin-top: 120px; border-top: 1px solid var(--line); padding-top: 64px; border-radius: 0; }
.creator, .p-store .creator, .mkcta, .p-play .mkcta { background: none; padding: 40px 0 0; margin-top: 56px; border-top: 1px solid var(--line); border-radius: 0; }
.fold { margin-top: 56px; }

@media (max-width: 980px) {
  .bigrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 720px) {
  .block { margin-top: 72px; }
  .phero { min-height: 78vh; }
  .phero h1 { font-size: 46px; }
  .phero-sum { font-size: 18px; }
  .phero-act .button.xl { flex: 1; min-width: 0; }
  .bigrow { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; gap: 16px; }
  .bigrow::-webkit-scrollbar { display: none; }
  .bigrow > * { scroll-snap-align: start; }
  .gd-hero { padding-top: 16px; }
  .gd-hero .gd-title { font-size: 44px; }
  .gd-hero .capsule-sum { font-size: 18px; }
  .gd-play { display: none; }
  .gd-media { margin-top: 28px; }
  .gd-media .mv-stage { border-radius: 18px; }
  .shot-track { grid-auto-columns: 84%; gap: 12px; margin-inline: -20px; padding-inline: 20px; }
  .shot { border-radius: 14px; }
  .gd-tabs { justify-content: flex-start; margin-top: 56px; }
  .rv-card { grid-template-columns: minmax(0, 1fr); }
  .ncard-body { padding: 14px 0 0; }
  .ahero-copy h1 { font-size: 46px; }
  .p-store .shelf .agrid > .ac:nth-child(n+5) { display: flex; }
  .p-store .shelf .agrid { display: flex; }
}
.phero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.phero-media.is-playing video { opacity: 1; }

/* 클립 첫 장면의 위아래 띠·자막을 잘라 낸다 */
.phero-media img, .phero-media video { transform: scale(1.4); transform-origin: 50% 50%; }
.phero::after { background: linear-gradient(180deg, rgb(0 0 0 / .25) 0, rgb(0 0 0 / 0) 22%, rgb(0 0 0 / .2) 45%, rgb(0 0 0 / .7) 72%, rgb(0 0 0 / .92) 100%); }
.track:not(.is-playing) .track-bar { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .phero-media video { transition: none; } }
/* 제목 줄바꿈: 균형 맞춤, 좁은 정보 칸 제목은 한 단계 작게 */
h1, h2, .phero h1, .gd-title { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2 { word-break: keep-all; overflow-wrap: anywhere; }
.info h1 { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.1; }
/* 검수 반영: 고정 막대가 끝부분을 가리지 않게, 히어로 글 대비, 포커스 표시 통일 */
@media (max-width: 720px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body:has(.playbar.m-only) { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
}
.phero h1, .phero-sum, .phero-genre { text-shadow: 0 2px 24px rgb(0 0 0 / .45); }
a:focus-visible, button:focus-visible, summary:focus-visible, .kchips a:focus-visible, .gc:focus-visible, .ac:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 12px; }
.ctl-pop.ctl-side { margin: 20px 0 8px; }
/* 줄 하나에 카드가 홀로 떨어지지 않게: 넷이면 4칸 */
.bigrow:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .bigrow:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .bigrow:has(> :nth-child(4)) { grid-template-columns: none; } }
