.quiz-page { background: var(--green); color: var(--ink); }
.quiz-topbar { position: sticky; top: 0; z-index: 50; min-height: 58px; border-bottom: 2px solid var(--ink); background: #fff; }
.quiz-topbar-inner { position: relative; min-height: 56px; display: flex; align-items: center; justify-content: space-between; }
.quiz-home { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.quiz-home:hover, .quiz-home:focus-visible { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.quiz-home svg { width: 23px; height: 23px; fill: currentColor; }
.quiz-topbar-logo { position: absolute; top: 50%; left: 50%; display: flex; width: 104px; height: 46px; align-items: center; justify-content: center; transform: translate(-50%, -50%); }
.quiz-topbar-logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(0); }
.quiz-topbar .menu-toggle { width: 42px; height: 40px; border-color: var(--ink); background: #fff; }
.quiz-topbar .menu-toggle span { background: var(--ink); }
.quiz-hero { padding: 42px 0 20px; border-bottom: 0; background: var(--green); }
.quiz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 72px; align-items: start; }
.quiz-hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7.8rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.quiz-intro { max-width: 560px; font-size: 1.12rem; font-weight: 700; line-height: 1.55; }
.quiz-intro p { margin: 0; }
.quiz-list-section { padding: 18px 0 90px; background: var(--green); }
.quiz-list-heading { margin-bottom: 26px; }
.quiz-list-heading .kicker { margin: 0; color: var(--ink); font-size: .9rem; }
.quiz-grid { display: grid; gap: 18px; }
.quiz-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; min-height: 190px; padding: 24px; border: 2px solid var(--ink); background: #fff; box-shadow: 7px 7px 0 var(--ink); transition: transform .22s ease, box-shadow .22s ease; }
.quiz-card.is-visible:hover { box-shadow: 11px 11px 0 var(--ink); }
.quiz-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: .78rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.quiz-meta strong { display: inline-block; padding: 5px 9px; background: var(--pink); font-size: .8rem; }
.quiz-card h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.05; letter-spacing: -.035em; }
.quiz-player-row { display: grid; grid-template-columns: minmax(0, 1fr) 124px; gap: 24px; align-items: center; }
.quiz-player-main { min-width: 0; }
.quiz-card audio { display: block; width: 100%; }
.quiz-skip-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.quiz-skip { min-height: 34px; padding: 6px 10px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: .74rem; font-weight: 850; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.quiz-skip:hover, .quiz-skip:focus-visible { background: var(--pink); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.quiz-winner-panel { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding-left: 18px; border-left: 2px solid var(--ink); text-align: center; }
.quiz-winner { margin: 0; font-size: .86rem; font-weight: 400; }
.quiz-crown { font-size: 2.35rem; line-height: .9; }
.quiz-winner-photo { width: 70px; height: 70px; border: 2px solid var(--ink); border-radius: 50%; object-fit: cover; box-shadow: 3px 3px 0 var(--yellow); transition: transform .28s ease; }
.quiz-winner-photo:hover { transform: translateY(-5px) scale(1.06) rotate(2deg); }
.quiz-standings { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 24px; align-items: stretch; margin-top: 72px; }
.quiz-count, .quiz-table-wrap { border: 2px solid var(--ink); background: #fff; box-shadow: 7px 7px 0 var(--ink); }
.quiz-count { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.quiz-count strong { font-size: clamp(5rem, 10vw, 9rem); line-height: .8; letter-spacing: -.08em; }
.quiz-count span { margin-top: 20px; font-size: 1rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.quiz-table-wrap { padding: 28px; }
.quiz-table-wrap h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: .9; text-transform: uppercase; }
.quiz-table-wrap h2 span { display: inline-block; margin-left: 8px; color: #66666e; font-size: .34em; font-weight: 750; letter-spacing: .04em; vertical-align: .28em; }
.quiz-table-wrap table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.quiz-table-wrap th, .quiz-table-wrap td { padding: 12px 14px; border: 2px solid var(--ink); text-align: left; }
.quiz-table-wrap thead th { background: var(--ink); color: #fff; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.quiz-table-wrap td:last-child, .quiz-table-wrap th:last-child { width: 90px; text-align: center; }
.quiz-table-wrap tbody th { font-weight: 700; }
.quiz-table-wrap .is-leader > * { background: var(--yellow); }

@media (max-width: 760px) {
  .quiz-topbar, .quiz-topbar-inner { min-height: 54px; }
  .quiz-topbar-logo { width: 86px; height: 40px; }
  .quiz-hero { padding: 34px 0 18px; }
  .quiz-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .quiz-hero h1 { font-size: clamp(4.5rem, 23vw, 7rem); }
  .quiz-list-section { padding: 16px 0 72px; }
  .quiz-card { grid-template-columns: 1fr; gap: 16px; min-height: 0; }
  .quiz-meta { flex-direction: row; align-items: center; justify-content: space-between; }
  .quiz-player-row { grid-template-columns: 1fr; }
  .quiz-winner-panel { min-height: 0; justify-content: center; padding: 14px 0 0; border-top: 2px solid var(--ink); border-left: 0; text-align: center; }
  .quiz-winner-photo { width: 62px; height: 62px; }
  .quiz-standings { grid-template-columns: 1fr; margin-top: 56px; }
  .quiz-count { min-height: 210px; }
  .quiz-table-wrap { padding: 20px; }
  .quiz-table-wrap th, .quiz-table-wrap td { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-card, .quiz-winner-photo, .quiz-skip { animation: none !important; transition: none !important; }
}
