/* 시각장애인·저시력·지적장애인용: 검정 바탕 + 흰 글씨 + 노란 강조 (대비 15:1 이상), 큰 글씨, 큰 누름 영역 */
:root {
  --bg: #000;
  --fg: #fff;
  --accent: #ffd400;
  --accent-ink: #000;
  --muted: #d6d6d6;
  --line: #4a4a4a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  word-break: keep-all;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
main { max-width: 640px; margin: 0 auto; }
a { color: var(--accent); }
:focus-visible { outline: 4px solid var(--accent); outline-offset: 3px; }
.kicker { margin: 0; font-size: 0.85rem; color: var(--muted); }
h1 { margin: 0.2em 0 0.6em; font-size: 1.7rem; line-height: 1.3; }
.where { margin: -0.4em 0 1em; color: var(--muted); font-size: 0.95rem; }

/* 큰 재생 버튼 */
.big {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3em;
  width: 100%; min-height: 46vh; padding: 24px;
  border: 0; border-radius: 28px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-size: 1.9rem; font-weight: 800; line-height: 1.25; text-align: center;
  cursor: pointer; touch-action: manipulation;
}
.big .icon { font-size: 4rem; line-height: 1; }
.big .sub { font-size: 1.05rem; font-weight: 600; }
.big[data-state='playing'] { background: #fff; }
.time { margin: 0.6em 0 0; text-align: center; font-size: 1.1rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.controls button {
  min-height: 64px; padding: 8px; border: 2px solid var(--fg); border-radius: 16px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; touch-action: manipulation;
}

details { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; padding: 6px 0; }
.script p { margin: 0.55em 0; font-size: 1.15rem; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list a {
  display: block; padding: 18px 20px; border: 2px solid var(--accent); border-radius: 18px;
  color: var(--fg); text-decoration: none; font-size: 1.3rem; font-weight: 800; line-height: 1.35;
}
.list a span { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.nav { margin-top: 26px; display: grid; gap: 10px; }
.nav a { display: block; padding: 16px; border-radius: 16px; background: #1c1c1c; text-align: center; font-weight: 700; text-decoration: none; }
.help { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #1c1c1c; font-size: 1rem; }
.foot { margin-top: 18px; color: var(--muted); font-size: 0.8rem; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
