/* 칸티보 관람객 화면. 바탕 흰색 #FFFFFF 한 테마, 칸 · 선은 중립 회색(2026-11-27 나우창).
   색은 모두 변수로 둔다: 나중에 유료 테마(어두운 · 전시별 색)는 이 값만 바꿔 넣는다.
   포인트 색 --accent는 브랜드 색 와인 하나(관리 화면 admin.css · src/brand.rs도 같은 값). */
:root {
  --accent: #9e3148; /* 브랜드 포인트 색 와인(2026-11-27 나우창). src/brand.rs ACCENT와 같은 값 */
  --on-accent: #ffffff;
  --accent-soft: rgba(158, 49, 72, 0.08);
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --text: #121214;
  --muted: #636366;
  --line: #e8e8ea;
  --danger: #b42318;
  --warn-bg: #fff4e8;
  --mat: #ffffff;
  --mat-shadow: 0 1px 2px rgba(16, 16, 20, 0.06), 0 18px 40px -18px rgba(16, 16, 20, 0.34);
  --mini-bg: #141416;
  --mini-text: #ffffff;
  --mini-muted: rgba(255, 255, 255, 0.64);
  --wave-off: #dcdce0;
  --glow-opacity: 0.12;
  --key: #ffffff;
  --key-line: #e6e6e9;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scrollbar-width: none; -webkit-text-size-adjust: 100%; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .sheet::-webkit-scrollbar { display: none; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body[data-sheet] { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.offscreen { position: fixed; left: -9999px; top: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.empty { margin: 24px var(--gutter); color: var(--muted); text-align: center; }
.error { margin: 8px 0 0; color: var(--danger); font-size: 15px; font-weight: 600; }

/* 누름 피드백: 누르는 것 모두 같게(animate 레시피) */
.press { transition: transform 160ms var(--ease-out); }
.press:active { transform: scale(0.97); }

main { max-width: 560px; margin: 0 auto; }
body.has-player main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 23px;
  background: var(--surface-2); color: var(--text); font-size: 15px; font-weight: 650;
}
.pill svg { width: 18px; height: 18px; }
.pill[hidden] { display: none; }
.icon-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--text);
}
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- 첫 화면: 포스터 ---------- */
.poster { display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 600px; padding-top: env(safe-area-inset-top); }
/* 아래 작은 재생기가 떠 있으면 포스터를 그만큼 줄여 '듣기 시작'이 가려지지 않게 */
body.has-player .poster { height: calc(100vh - 98px); height: calc(100svh - 98px - env(safe-area-inset-bottom)); }
.poster-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px var(--gutter) 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.poster-top b { font-weight: 650; }
.brand-logo { display: block; width: auto; height: 19px; }
.poster-title { margin: 6px 0 0; padding: 0 calc(var(--gutter) - 4px); line-height: 1; font-weight: 860; letter-spacing: -0.05em; color: var(--text); }
.poster-title span { display: block; }
.poster-title.s3 { font-size: min(30.8vw, 124px); }
.poster-title.s4 { font-size: min(24vw, 100px); }
.poster-title.s5 { font-size: min(19vw, 80px); }
.poster-title.s6 { font-size: min(15.6vw, 66px); }
.poster-title.s-long { font-size: min(11vw, 46px); line-height: 1.12; letter-spacing: -0.04em; }
.poster-title.s-long span { display: inline; }
.accent-dot { display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.06em; border-radius: 50%; background: var(--accent); }
.poster-meta { margin: 16px var(--gutter) 0; padding-top: 10px; border-top: 1.5px solid var(--text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.poster-cover { flex: 1 1 0; min-height: 150px; margin: 18px 0 0 var(--gutter); border-radius: 26px 0 0 26px; overflow: hidden; background: var(--surface-2); }
.poster-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.poster-cover-none { background: var(--accent); }
.poster-actions { display: flex; gap: 10px; padding: 18px var(--gutter) calc(22px + env(safe-area-inset-bottom)); }
.listen {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px 0 8px;
  border-radius: 32px; background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700;
}
.listen-dot { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--on-accent); color: var(--accent); }
.listen-dot svg { width: 20px; height: 20px; margin-left: 2px; }
.round-big { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.round-big svg { width: 24px; height: 24px; }

/* ---------- 작품 목록 ---------- */
.works { padding: 28px 0 24px; }
.works-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); }
.works-head h2 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 820; letter-spacing: -0.045em; }
.find { display: flex; align-items: center; height: 44px; padding: 0 4px 0 14px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.find:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.find-label { flex: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.find input { width: 64px; height: 40px; margin-left: 8px; border: 0; background: none; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.find input:focus { outline: none; }
.find-go { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: var(--bg); }
.find-go svg { width: 18px; height: 18px; }
.find-error { padding: 0 var(--gutter); }
.find-error[hidden] { display: none; }
.work-list { list-style: none; margin: 14px 0 0; padding: 0 calc(var(--gutter) - 8px); }
.work { display: flex; align-items: center; gap: 14px; padding: 9px 8px; border-radius: 20px; }
.thumb { position: relative; flex: none; width: 62px; height: 62px; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-none { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--accent); color: var(--on-accent); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.work-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.work-no { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.work-title { font-size: 16.5px; font-weight: 650; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-artist { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-dur { flex: none; font-size: 13px; color: var(--muted); }
.eq { position: absolute; inset: 0; display: none; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 18px; background: rgba(8, 8, 12, 0.45); }
.eq i { width: 4px; height: 22px; border-radius: 2px; background: #fff; transform-origin: bottom; transform: scaleY(0.4); }
.work.is-current { background: var(--accent-soft); }
.work.is-current .work-title, .work.is-current .work-no { color: var(--accent); }
.work.is-current .eq { display: flex; }
.work.is-current.is-playing .eq i { animation: eq 900ms linear infinite; }
.work.is-current .eq i:nth-child(2) { animation-delay: -300ms; }
.work.is-current .eq i:nth-child(3) { animation-delay: -600ms; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.works-end { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; padding: 0 var(--gutter); }

/* ---------- 지금 듣는 중(작품 화면 · 아래에서 올라오는 시트가 같은 틀) ---------- */
.np { position: relative; isolation: isolate; overflow-x: clip; padding-top: env(safe-area-inset-top); padding-bottom: calc(28px + env(safe-area-inset-bottom)); } /* 뒤 번짐(np-glow)이 옆으로 80px 나가 페이지가 옆으로 밀리던 것(2단계) 막기 */
.np-glow { position: absolute; inset: -80px -80px auto; height: 620px; z-index: -1; opacity: var(--glow-opacity); filter: blur(70px) saturate(1.3); pointer-events: none; overflow: hidden; }
.np-glow img { width: 100%; height: 100%; object-fit: cover; }
.np-bar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 8px calc(var(--gutter) - 4px) 0; }
#sheet .when-page, #view .when-sheet { display: none; }
.np-where { display: flex; flex-direction: column; align-items: center; min-width: 0; font-size: 12.5px; line-height: 1.35; text-align: center; }
.np-where b { font-weight: 650; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-where .num { color: var(--muted); font-size: 11.5px; }
.np-spacer { width: 44px; }
.mat {
  display: flex; align-items: center; justify-content: center; margin: 10px var(--gutter) 0;
  height: min(84vw, 380px); padding: 22px; border-radius: 6px; background: var(--mat); box-shadow: var(--mat-shadow);
}
.mat img { max-width: 100%; max-height: 100%; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.mat-none { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); }
.mat-no { font-size: min(40vw, 168px); line-height: 1; font-weight: 820; letter-spacing: -0.06em; }
.mat-dot { position: absolute; right: 22px; bottom: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-accent); }
.np-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 22px var(--gutter) 0; }
.np-names { min-width: 0; }
.np-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 760; letter-spacing: -0.03em; }
.np-artist { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.np-left { flex: none; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.deck { margin: 16px var(--gutter) 0; }
.wave { position: relative; height: 54px; touch-action: none; cursor: pointer; }
.wave-bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2.5px; }
.wave-bars i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--wave-off); }
.wave-on { clip-path: inset(0 100% 0 0); }
.wave-on i { background: var(--text); }
.wave-head { position: absolute; inset: 0; pointer-events: none; transform: translateX(0%); }
.wave-head span { position: absolute; left: -1.5px; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--accent); }
.wave-head span::after { content: ''; position: absolute; left: 50%; top: -5px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.wave-bars .h0 { height: 6%; } .wave-bars .h1 { height: 12%; } .wave-bars .h2 { height: 18%; } .wave-bars .h3 { height: 24%; }
.wave-bars .h4 { height: 30%; } .wave-bars .h5 { height: 36%; } .wave-bars .h6 { height: 42%; } .wave-bars .h7 { height: 48%; }
.wave-bars .h8 { height: 54%; } .wave-bars .h9 { height: 60%; } .wave-bars .h10 { height: 66%; } .wave-bars .h11 { height: 72%; }
.wave-bars .h12 { height: 79%; } .wave-bars .h13 { height: 86%; } .wave-bars .h14 { height: 93%; } .wave-bars .h15 { height: 100%; }
.wave-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }
.controls { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 0; }
.ctl { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; color: var(--text); }
.ctl svg { width: 28px; height: 28px; }
.ctl-sm svg { width: 24px; height: 24px; }
.ctl.is-off { opacity: 0.25; }
.play-big { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 16px 30px -14px var(--accent); }
.play-big svg { width: 30px; height: 30px; }
.play-big .i-pause, .ring-btn .i-pause { display: none; }
.play-big.is-playing .i-pause, .ring-btn.is-playing .i-pause { display: block; }
.play-big.is-playing .i-play, .ring-btn.is-playing .i-play { display: none; }
.deck .error[hidden] { display: none; }
.script { margin: 22px var(--gutter) 0; padding: 16px 18px 18px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.script-head { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 15px; font-weight: 700; }
.script-head svg { width: 20px; height: 20px; color: var(--muted); transition: transform 200ms var(--ease-out); }
.script-head[aria-expanded='true'] svg { transform: rotate(180deg); }
.script-body { margin-top: 10px; font-size: 16px; line-height: 1.75; }
.script-body p { margin: 0 0 0.9em; }
.script-body p:last-child { margin-bottom: 0; }
.script:not(.is-open) .script-body {
  max-height: calc(1.75em * 3); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
}
.np-end { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- 아래 작은 재생기 ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.player[hidden], body.on-current .player { display: none; }
.mini {
  display: flex; align-items: center; gap: 10px; max-width: 536px; height: 74px; margin: 0 auto; padding: 0 11px;
  border-radius: 26px; background: var(--mini-bg); color: var(--mini-text); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55); pointer-events: auto;
}
.mini-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 100%; text-align: left; color: inherit; }
.mini-thumb { width: 52px; height: 52px; border-radius: 14px; }
.mini-text { min-width: 0; display: flex; flex-direction: column; }
.mini-title { font-size: 15px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-sub { font-size: 12px; color: var(--mini-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ring { position: relative; flex: none; width: 52px; height: 52px; }
.ring-track { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: currentColor; stroke-opacity: 0.18; stroke-width: 2.5; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.ring-btn { position: absolute; inset: 6px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mini-text); color: var(--mini-bg); }
.ring-btn svg { width: 18px; height: 18px; }

/* ---------- 시트: 작은 재생기를 누르면 듣는 화면이 아래에서 올라온다 ----------
   animate 스킬 시트 레시피: translateY(100%) → 0, 500ms iOS 시트 곡선. 닫을 때 같은 길로 내려간다. */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 10, 12, 0.34); opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease-out); }
body[data-sheet] .scrim { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: var(--bg); border-radius: 22px 22px 0 0; transform: translateY(100%); visibility: hidden;
  transition: transform 500ms var(--ease-drawer), visibility 0s linear 500ms;
}
body[data-sheet] .sheet { transform: translateY(0); visibility: visible; transition: transform 500ms var(--ease-drawer), visibility 0s; }
.sheet-body { max-width: 560px; margin: 0 auto; }

/* ---------- 대여 기기 ---------- */
.rental-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px; background: var(--bg); }
.rental-id { display: flex; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 12.5px; font-weight: 650; color: var(--muted); }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.reset { height: 40px; padding: 0 16px; border-radius: 20px; background: var(--surface-2); font-size: 14px; font-weight: 700; }
.rental-home { display: flex; flex-direction: column; padding: 4px var(--gutter) 8px; }
.rental-title { margin: 8px 0 0; font-size: 40px; line-height: 1.05; font-weight: 840; letter-spacing: -0.05em; }
.rental-meta { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.display { margin-top: 20px; padding: 14px 16px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.display-label { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.display-row { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.display-num { flex: none; width: 112px; border: 0; background: none; padding: 0; font-size: 58px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; caret-color: var(--accent); }
.display-num:focus { outline: none; }
.match { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.match[hidden] { display: none; }
.match .thumb { width: 46px; height: 46px; border-radius: 12px; }
.match-text { min-width: 0; display: flex; flex-direction: column; }
.match-title { font-size: 14.5px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.match-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.display .error[hidden] { display: none; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.key { display: flex; align-items: center; justify-content: center; gap: 6px; height: 68px; border-radius: 24px; background: var(--key); box-shadow: inset 0 0 0 1px var(--key-line), 0 1px 0 var(--key-line); font-size: 28px; font-weight: 560; font-variant-numeric: tabular-nums; }
.key svg { width: 26px; height: 26px; }
.key-go { background: var(--accent); color: var(--on-accent); box-shadow: none; font-size: 17px; font-weight: 750; }
.key-go svg { width: 18px; height: 18px; }
.rental-list-link { align-self: center; margin-top: 16px; }

/* ---------- 앱 안 브라우저 ---------- */
.inapp { max-width: 536px; margin: calc(12px + env(safe-area-inset-top)) 12px 0; padding: 14px 16px; border-radius: 18px; background: var(--warn-bg); }
@media (min-width: 560px) { .inapp { margin-left: auto; margin-right: auto; } }
.inapp p { margin: 0; font-size: 15px; font-weight: 600; text-wrap: balance; }
.inapp-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 10px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 16px; font-weight: 700; }

/* ---------- 끝 화면 · 설문 ---------- */
.end { padding: calc(8px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.end-bar { display: flex; align-items: center; height: 56px; }
.end-title { margin: 8px 0 0; font-size: 34px; font-weight: 820; letter-spacing: -0.045em; }
.survey fieldset { margin: 26px 0 0; padding: 0; border: 0; }
.survey legend { margin-bottom: 12px; padding: 0; font-size: 18px; font-weight: 700; }
.optional { color: var(--muted); font-size: 14px; font-weight: 600; }
.survey label { position: relative; }
.survey input[type='radio'] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.survey label > span { display: flex; align-items: center; justify-content: center; background: var(--surface-2); font-weight: 650; transition: background-color 160ms ease, color 160ms ease; }
.survey input:checked + span { background: var(--text); color: var(--bg); }
.survey input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.scale, .choices { display: flex; gap: 8px; }
.scale label, .choices label { flex: 1; }
.scale label > span, .choices label > span { height: 56px; border-radius: 16px; font-size: 18px; }
.scale-ends { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label > span { height: 44px; padding: 0 16px; border-radius: 22px; font-size: 15px; }
.send { display: flex; align-items: center; justify-content: center; width: 100%; height: 60px; margin-top: 32px; border-radius: 30px; background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700; }
.done { padding: 72px 0; text-align: center; }
.done h1 { margin: 0 0 24px; font-size: 30px; font-weight: 800; }

/* 맨 위 전시 목록(시험용) */
.index { padding: calc(32px + env(safe-area-inset-top)) var(--gutter); }
.index h1 { margin: 0 0 16px; font-size: 34px; font-weight: 820; letter-spacing: -0.045em; }
.index-logo { display: block; width: auto; height: 40px; }
.index ol { list-style: none; margin: 0; padding: 0; }
.index a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 650; }

/* 움직임 줄이기: 위치 · 크기 움직임은 빼고 투명도만 남긴다 */
@media (prefers-reduced-motion: reduce) {
  .press, .press:active { transition: none; transform: none; }
  .work.is-current.is-playing .eq i { animation: none; transform: scaleY(0.7); }
  .script-head svg { transition: none; }
  .sheet { transform: none; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  body[data-sheet] .sheet { transform: none; opacity: 1; transition: opacity 200ms ease, visibility 0s; }
}
