/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --font-family-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --page-bg: #fbfcf7;
  --panel-bg: #ffffff;
  --soft-bg: #f4f7ef;
  --sky-bg: #f0f9ff;
  --cyan-bg: #ecfeff;
  --cyan-bg-hover: #cffafe;
  --ink: #111827;
  --muted: #4a5547;
  --soft-muted: #68705f;
  --line: #dfe8d8;
  --line-strong: #c7d5bc;
  --sky: #0284c7;
  --sky-hover: #0369a1;
  --cyan-line: #06b6d4;
  --cyan-ink: #083344;
  --green: #16a34a;
  --green-soft: #ecfdf5;
  --red: #ef4444;
  --red-soft: #fef2f2;
  --black-soft: #1f2937;
  --navy: #10261a;
  --navy-soft: #1f3a2a;
  --field: #2f6f3e;
  --field-deep: #17452d;
  --field-dark: #10261a;
  --field-soft: #eef6e8;
  --olive: #5f6f34;
  --olive-deep: #3f4f24;
  --olive-soft: #f5f7ee;
  --chalk: rgba(255, 255, 255, 0.62);
  --card-radius: 0.5rem;
  --surface-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(95, 111, 52, 0.15), transparent 18rem),
    radial-gradient(circle at 88% 12%, rgba(47, 111, 62, 0.11), transparent 18rem),
    var(--page-bg);
  color: var(--ink);
  font-family: var(--font-family-system);
  line-height: 1.5;
}

a {
  color: var(--sky);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sky-hover);
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page__main {
  flex-grow: 1;
  margin-top: 1.1rem;
}

.page__container,
.site-nav__inner,
.site-footer__inner {
  width: 100%;
  max-width: 64rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.page__container {
  max-width: 42rem;
}

.page__container:has(> .page-header--home),
.page__container:has(> .breadcrumbs + .page-header--home),
.page__container:has(> .page-header--hub),
.page__container:has(> .breadcrumbs + .page-header--hub) {
  max-width: 64rem;
}

.site-nav {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(47, 111, 62, 0.12), rgba(95, 111, 52, 0.10), rgba(16, 38, 26, 0.06)),
    #fff;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

.site-nav__bar {
  border-bottom: 1px solid var(--line);
}

.site-nav__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  min-height: 3.75rem;
  overflow: visible;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand__logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.10));
}

.brand__name {
  font-size: 1rem;
  letter-spacing: 0;
}

.site-nav__primary {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0.5rem;
  scrollbar-width: none;
}

.site-nav__primary::-webkit-scrollbar {
  display: none;
}

.site-nav__primary a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 2.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.3rem 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 47.9375rem) {
  .site-nav__primary {
    display: none;
  }
}

@media (min-width: 48rem) and (max-width: 56rem) {
  .brand__name {
    display: none;
  }

  .site-nav__primary {
    justify-content: space-between;
    gap: 0.12rem;
  }

  .site-nav__primary a {
    gap: 0.22rem;
    padding: 0.25rem 0.36rem;
    font-size: 0.68rem;
  }

  .site-nav__primary picture,
  .site-nav__icon {
    width: 1.35rem;
    height: 1.35rem;
  }
}

.site-nav__primary picture {
  display: block;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
}

.site-nav__icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.site-nav__primary a:hover {
  border-color: #c7d5bc;
  color: var(--navy);
  background: var(--field-soft);
  text-decoration: none;
}

.site-nav__primary a[aria-current="page"] {
  border-color: #9fb489;
  background: linear-gradient(180deg, var(--field-soft) 0%, #ffffff 100%);
  color: var(--ink);
}

.site-nav__primary a[aria-current="page"]:hover {
  background: var(--soft-bg);
  color: var(--ink);
}

.site-nav__level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.18rem 0.34rem;
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 999px;
  background: rgba(236, 254, 255, 0.74);
  color: var(--cyan-ink);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
}

.site-nav__daily-strip {
  border-bottom: 1px solid rgba(199, 213, 188, 0.82);
  background:
    linear-gradient(90deg, rgba(236, 254, 255, 0.58), rgba(255, 251, 235, 0.76), rgba(238, 246, 232, 0.82)),
    #fff;
}

.site-nav__daily-strip--complete {
  background:
    linear-gradient(90deg, rgba(238, 246, 232, 0.94), rgba(255, 251, 235, 0.72), rgba(236, 254, 255, 0.62)),
    #fff;
}

.site-nav__daily-link {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.35rem 0.55rem;
  align-items: center;
  min-height: 2.15rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav__daily-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav__daily-kicker,
.site-nav__daily-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(47, 111, 62, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--field-deep);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav__daily-kicker {
  padding: 0.25rem 0.45rem;
}

.site-nav__daily-link strong {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.15;
}

.site-nav__daily-link small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav__daily-action {
  justify-self: end;
  padding: 0.3rem 0.55rem;
  border-color: rgba(6, 182, 212, 0.32);
  color: var(--cyan-ink);
}

.site-nav__menu-button {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.site-nav__menu-button:hover {
  border-color: #bac9a9;
  background: var(--field-soft);
}

.site-nav__menu-icon-button {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.site-nav__popover {
  position: fixed;
  top: 4.35rem;
  right: 1rem;
  left: auto;
  width: min(calc(100vw - 2rem), 22rem);
  max-height: calc(100dvh - 5.5rem);
  margin: 0;
  padding: 0.7rem;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-bottom-width: 4px;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.18);
}

.site-nav__popover::backdrop {
  background: rgba(15, 23, 42, 0.08);
}

.site-nav__popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.2rem 0.15rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

.site-nav__popover-head strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
}

.site-nav__popover-head button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-nav__popover-head button:hover {
  background: var(--field-soft);
  color: var(--navy);
}

.site-nav__close-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.site-nav__menu-links {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.55rem;
}

.site-nav__menu-links a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 3.3rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.site-nav__menu-links a:hover {
  border-color: #bac9a9;
  background: var(--field-soft);
}

.site-nav__menu-links a[aria-current="page"] {
  border-color: #bac9a9;
  background: var(--field-soft);
}

.site-nav__menu-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.site-nav__menu-links span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.site-nav__menu-links strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav__menu-links small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

@media (min-width: 48rem) {
  .site-nav__menu-button,
  .site-nav__popover {
    display: none;
  }
}

.site-nav__actions {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 1rem;
  scrollbar-width: none;
}

@supports (mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000)) {
  .site-nav__actions {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 0.75rem, #000 calc(100% - 1.5rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 0.75rem, #000 calc(100% - 1.5rem), transparent 100%);
  }
}

.site-nav__actions::after {
  content: "";
  flex: 0 0 0.75rem;
}

.site-nav__actions::-webkit-scrollbar {
  display: none;
}

.site-nav__actions a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  color: var(--sky);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__actions a:hover {
  background: var(--sky-bg);
  color: var(--sky-hover);
}

.site-nav__actions a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.site-nav__actions a[aria-current="page"]:hover {
  background: var(--soft-bg);
  color: var(--ink);
}

.site-footer {
  margin-top: 3rem;
  margin-bottom: 0;
  padding: 0.25rem 0 5rem;
  border-top: 1px solid rgba(47, 111, 62, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, var(--field-soft) 100%);
}

.footer-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 56rem;
  margin: 2rem auto 0;
  font-size: 0.875rem;
}

.footer-masonry__item {
  min-width: 0;
}

.footer-masonry h2 {
  color: var(--olive-deep);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-masonry ul {
  display: grid;
  gap: 1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-masonry a {
  color: var(--sky);
  text-decoration: none;
}

.footer-masonry a:hover {
  text-decoration: underline;
}

.footer-copyright {
  display: grid;
  gap: 0.4rem;
  max-width: 56rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 111, 62, 0.18);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-silin-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--ink);
  opacity: 0.56;
  text-decoration: none;
  transition: opacity 150ms ease;
}

.footer-silin-link:hover {
  color: var(--ink);
  opacity: 0.82;
  text-decoration: none;
}

.footer-silin-logo {
  width: 2.9rem;
  height: auto;
}

.site-footer__fine-print {
  display: grid;
  gap: 0.4rem;
  max-width: 56rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.breadcrumbs {
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  padding: 0 0.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

.breadcrumbs a,
.breadcrumbs span {
  font-size: 0.75rem;
  line-height: 1.2;
}

.breadcrumbs a {
  color: var(--sky);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--soft-muted);
  font-weight: 750;
}

.breadcrumbs__separator {
  width: 1rem;
  height: 1rem;
  margin: 0 0.12rem;
  color: var(--sky);
}

.page-header {
  display: grid;
  gap: 0.6rem;
  max-width: 50rem;
  margin: 0 auto 1.35rem;
  padding: 1.25rem 0.25rem 1.45rem;
  overflow: hidden;
  position: relative;
  justify-items: center;
  text-align: center;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header__copy {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  justify-items: inherit;
}

.page-header__scene {
  position: relative;
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 62, 0.22);
  border-bottom-width: 4px;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  isolation: isolate;
}

.page-header__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(251, 252, 247, 0.46) 0%, transparent 45%),
    linear-gradient(0deg, rgba(16, 38, 26, 0.12), transparent 48%);
  pointer-events: none;
}

.page-header__venue {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header--quiz {
  max-width: 58rem;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 1rem;
  justify-items: start;
  text-align: left;
}

.page-header--quiz .page-header__scene {
  max-width: 26rem;
}

.page-header--home,
.page-header--hub {
  max-width: 64rem;
  margin-right: 0;
  margin-left: 0;
  justify-items: start;
  text-align: left;
}

.page-header--home .page-header__scene {
  max-width: 34rem;
}

.page-header--home .lede,
.page-header--hub .lede,
.page-header--quiz .lede {
  margin-right: 0;
  margin-left: 0;
}

.page-header--quiz .quiz-meta {
  justify-content: flex-start;
}

.page-header__icon {
  width: 5.75rem;
  height: 5.75rem;
  object-fit: contain;
  filter: drop-shadow(0 5px 0 rgba(15, 23, 42, 0.10));
}

.eyebrow {
  color: var(--olive-deep);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  color: var(--ink);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  font-size: 1rem;
  font-weight: 800;
}

p {
  margin: 0;
}

.lede {
  max-width: 38rem;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 1.65rem;
  padding: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.85);
  border-bottom-width: 2px;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, var(--field-deep), var(--field-dark));
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.stat-strip div {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
  padding: 0.65rem 0.75rem;
  background: transparent;
}

.stat-strip div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-strip strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1.15;
}

.stat-strip span {
  color: #dceccf;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  max-width: 42rem;
}

.section-heading h2 {
  display: grid;
  gap: 0.45rem;
}

.section-heading h2::after {
  content: "";
  width: 3.25rem;
  height: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--field), #8fbf78);
}

.section-heading p {
  color: var(--muted);
}

.card,
.result-panel,
.note-panel {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: none;
}

.card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  min-height: 11.75rem;
  align-items: start;
  padding: 0.95rem;
  border-bottom-width: 1px;
  color: inherit;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.card[href],
.quick-start-card[href],
.hub-card[href],
.playbook-card[href] {
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.card[href]::before,
.quick-start-card[href]::before,
.hub-card[href]::before,
.playbook-card[href]::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--card-radius) - 1px);
  background: linear-gradient(90deg, rgba(95, 111, 52, 0.08), transparent 8rem);
  pointer-events: none;
}

.card[href] > *,
.quick-start-card[href] > *,
.hub-card[href] > *,
.playbook-card[href] > * {
  position: relative;
  z-index: 1;
}

.card[href] > .quiz-card__venue,
.quick-start-card[href] > .quick-start-card__venue,
.hub-card[href] > .hub-card__venue {
  position: absolute;
  z-index: 0;
}

.card[href],
.quick-start-card[href],
.hub-card[href],
.compact-quiz-card[href] {
  cursor: pointer;
}

.card[href]:hover {
  border-color: #bac9a9;
  background: #fbfdf7;
  box-shadow: 0 1px 0 rgba(47, 111, 62, 0.12);
}

.quiz-card {
  grid-template-columns: 4.65rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 0;
}

.quiz-card__media {
  display: block;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.quiz-card__media picture {
  display: block;
  flex: 0 0 auto;
}

.quiz-card__icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.10));
}

.quiz-card__body {
  display: grid;
  min-width: 0;
  gap: 0.38rem;
  position: relative;
  z-index: 2;
}

.quiz-card__venue,
.quick-start-card__venue,
.hub-card__venue {
  inset: 0 0 0 auto;
  width: min(58%, 17rem);
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
}

.quiz-card__venue::after,
.quick-start-card__venue::after,
.hub-card__venue::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.84) 33%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(16, 38, 26, 0.2));
}

.quiz-card__venue-image,
.quick-start-card__venue-image,
.hub-card__venue-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-card__venue {
  opacity: 0.16;
}

.quiz-card__title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.quiz-card__description,
.meta-line {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.quiz-card__hook,
.hub-card__hook {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  color: var(--soft-muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.quiz-card__facts span + span {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.quiz-card__meta,
.hub-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  color: var(--olive-deep);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.hub-card__meta {
  justify-content: flex-end;
  text-align: right;
}

.quiz-card__meta span + span,
.hub-card__meta span + span {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.mastery-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.42rem;
  border: 1px solid #c7d5bc;
  border-radius: 999px;
  background: #fff;
  color: var(--field-deep);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.mastery-badge--unplayed {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.mastery-badge--cleared {
  border-color: #bae6fd;
  background: #ecfeff;
  color: var(--cyan-ink);
}

.mastery-badge--perfect {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #14532d;
}

.mastery-badge--maxed {
  border-color: #e4be46;
  background: linear-gradient(135deg, #fef3c7, #fff 62%, #fde68a);
  color: #422006;
}

.quiz-card__mastery,
.compact-quiz-card__mastery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: center;
  color: var(--soft-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-card__action,
.hub-card__action {
  display: inline-flex;
  align-items: center;
  align-self: end;
  justify-self: start;
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid #bae6fd;
}

.quick-start-grid,
.lane-grid,
.mode-grid,
.playbook-grid,
.hub-mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.quick-start-card,
.playbook-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-bottom-width: 1px;
  border-radius: var(--card-radius);
  background: #fff;
  color: inherit;
  position: relative;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.quick-start-card[href]:hover,
.playbook-card[href]:hover {
  border-color: #bac9a9;
  background: #fbfdf7;
  box-shadow: 0 1px 0 rgba(47, 111, 62, 0.12);
  color: inherit;
}

.quick-start-card__media {
  display: block;
}

.quick-start-card__icon {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.10));
}

.quick-start-card__body,
.playbook-card {
  min-width: 0;
}

.quick-start-card__body {
  display: grid;
  gap: 0.3rem;
}

.quick-start-card__label,
.playbook-card__label {
  color: var(--olive-deep);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.quick-start-card strong,
.playbook-card strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.quick-start-card span:not(.quick-start-card__media, .quick-start-card__body, .quick-start-card__label),
.playbook-card span:not(.playbook-card__label) {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.quick-start-card small {
  color: var(--soft-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.quick-start-card b,
.playbook-card b {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  align-items: center;
  margin-top: 0.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  border-bottom: 2px solid #bae6fd;
}

.playbook-card {
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.mode-card,
.hub-mode-card {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.mode-card__label,
.hub-mode-card > span {
  color: var(--soft-muted);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.mode-card h3,
.hub-mode-card strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.mode-card p,
.hub-mode-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mode-card__best {
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 750;
}

.mode-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.mode-card a {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: var(--sky-bg);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.mode-card a:hover {
  background: #e0f2fe;
  color: var(--sky-hover);
}

.hub-mode-card small {
  display: block;
  width: fit-content;
  padding-top: 0.35rem;
  border-top: 2px solid var(--line);
  color: var(--soft-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.lane-card {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.lane-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.lane-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lane-card a {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: var(--sky-bg);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.lane-card a:hover {
  background: #e0f2fe;
  color: var(--sky-hover);
}

.hub-grid,
.directory-columns,
.copy-grid,
.faq-list,
.guide-list,
.related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.directory-columns {
  align-items: start;
}

.hub-card {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.25rem 0.85rem;
  align-items: start;
  min-height: 0;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-bottom-width: 1px;
  border-radius: var(--card-radius);
  background: #fff;
  color: inherit;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.hub-card[href]:hover {
  border-color: #bac9a9;
  background: #fbfdf7;
  box-shadow: 0 1px 0 rgba(47, 111, 62, 0.12);
}

.hub-card__top {
  display: contents;
}

.hub-card__media {
  display: block;
  grid-row: 1 / span 2;
  flex: 0 0 auto;
  min-width: 0;
}

.hub-card__meta {
  grid-column: 2;
  justify-content: flex-start;
  text-align: left;
}

.hub-card__icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.10));
}

.hub-card__body {
  display: grid;
  grid-column: 2;
  min-width: 0;
  gap: 0.4rem;
}

.hub-card__title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.hub-card__description {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.hub-card__action {
  margin-top: 0.1rem;
}

.section {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.directory-summary,
.seo-panel {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.quick-start {
  padding: 0.9rem 0 0;
}

.split-directory {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.category-directory-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.category-directory {
  display: grid;
  gap: 1.2rem;
}

.category-directory__group {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding-top: 0.75rem;
  border-top: 2px solid #e2e8f0;
}

.category-directory__head {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}

.category-directory__head h3 {
  margin-bottom: 0.12rem;
}

.category-directory__head p {
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.category-directory__head a {
  justify-self: start;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-decoration-color: #bae6fd;
  text-decoration-thickness: 2px;
  text-transform: uppercase;
  text-underline-offset: 0.2rem;
}

.sport-path-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.sport-path-progress {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0;
  border-top: 2px solid rgba(47, 111, 62, 0.14);
  border-bottom: 2px solid rgba(47, 111, 62, 0.14);
}

.sport-path-progress > div:first-child {
  display: grid;
  gap: 0.12rem;
}

.sport-path-progress strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.sport-path-progress p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.sport-path-progress > a,
.sport-path-stage__meta a {
  width: fit-content;
  color: var(--sky);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.sport-path-progress > a:hover,
.sport-path-stage__meta a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.sport-path-progress__meter {
  overflow: hidden;
  height: 0.46rem;
  border: 1px solid rgba(47, 111, 62, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.sport-path-progress__meter span {
  display: block;
  width: var(--path-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.sport-path-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sport-path-stage {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.sport-path-stage:first-child {
  border-top: 0;
}

.sport-path-stage__step {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d5bc;
  border-radius: 999px;
  background: #fff;
  color: var(--field-deep);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
}

.sport-path-stage--active .sport-path-stage__step {
  border-color: rgba(250, 204, 21, 0.78);
  background: linear-gradient(135deg, #fef3c7, #fff 62%, #fde68a);
  color: #422006;
}

.sport-path-stage--complete .sport-path-stage__step {
  border-color: rgba(34, 197, 94, 0.42);
  background: #ecfdf5;
  color: #14532d;
}

.sport-path-stage--queued {
  opacity: 0.86;
}

.sport-path-stage__body {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.sport-path-stage__label,
.sport-path-stage__meta strong {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.sport-path-stage__status {
  display: inline-flex;
  width: fit-content;
  min-height: 1.28rem;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.42rem;
  border: 1px solid #c7d5bc;
  border-radius: 999px;
  background: #fff;
  color: var(--field-deep);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.sport-path-stage__status--complete {
  border-color: rgba(34, 197, 94, 0.42);
  background: #ecfdf5;
  color: #14532d;
}

.sport-path-stage__status--active {
  border-color: rgba(250, 204, 21, 0.72);
  background: #fef3c7;
  color: #422006;
}

.sport-path-stage__body h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.sport-path-stage__body p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.sport-path-stage__quizzes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.sport-path-stage__quizzes a {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.34rem;
  padding: 0.28rem 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration-color: #bae6fd;
  text-decoration-thickness: 2px;
}

.sport-path-stage__quizzes a:hover {
  color: var(--sky-hover);
}

.sport-path-stage__quizzes small {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.sport-path-stage__meta {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  gap: 0.42rem 0.7rem;
  align-items: center;
}

.sport-path-stage__meta strong {
  color: var(--field-deep);
}

.hub-brief {
  gap: 1rem;
  margin-top: 1.25rem;
}

.directory-columns > div,
.copy-grid > div,
.faq-list > div,
.guide-item {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.directory-columns > div {
  align-content: start;
  align-self: start;
}

.guide-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.guide-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.guide-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

.related-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.related-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.related-link:hover {
  color: inherit;
}

.related-link__title {
  color: var(--ink);
  font-weight: 900;
}

.related-link__body {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.related-link__action {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  border-bottom: 2px solid #bae6fd;
  text-transform: uppercase;
}

.compact-list {
  display: grid;
  gap: 0;
  margin-top: 0.55rem;
  border-top: 2px solid #e2e8f0;
}

.compact-quiz-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.compact-quiz-card:hover {
  background: transparent;
  color: inherit;
}

.compact-quiz-card:hover .compact-quiz-card__title {
  color: var(--sky-hover);
}

.compact-quiz-card:hover .compact-quiz-card__action {
  border-bottom-color: var(--sky-hover);
  color: var(--sky-hover);
}

.compact-quiz-card__media {
  display: block;
}

.compact-quiz-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.compact-quiz-card__body {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.compact-quiz-card__meta {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.compact-quiz-card__title {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.compact-quiz-card__description {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.compact-quiz-card__action {
  justify-self: end;
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  border-bottom: 2px solid #bae6fd;
  text-transform: uppercase;
  white-space: nowrap;
}

.compact-quiz-card__action::after {
  content: none;
}

.hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  padding: 0;
}

.hub-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.hub-stats span + span {
  margin-left: 0.65rem;
  padding-left: 0.65rem;
  border-left: 1px solid var(--line);
}

.hub-stats strong {
  margin-right: 0.25rem;
  color: var(--ink);
  font-weight: 900;
}

.hub-overview {
  display: grid;
  gap: 0.45rem;
  max-width: 42rem;
  padding-top: 0.4rem;
}

.hub-overview h2 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.hub-overview p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.result-panel,
.note-panel {
  padding: 1rem;
}

.quiz-panel {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-bottom-width: 4px;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: var(--surface-shadow);
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0;
  margin: 0.75rem 0 0;
  color: var(--soft-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.quiz-meta span + span {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.quiz-form {
  display: grid;
  counter-reset: quiz-question;
  gap: 0;
}

.quiz-practice-banner {
  display: grid;
  gap: 0.24rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(14, 165, 233, 0.24);
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.86), rgba(255, 255, 255, 0.96) 56%, rgba(238, 246, 232, 0.78)),
    #fff;
}

.quiz-practice-banner .eyebrow {
  color: var(--sky);
}

.quiz-practice-banner strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.2;
}

.quiz-practice-banner p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.38;
}

.quiz-practice-banner a {
  width: fit-content;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.quiz-practice-banner a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.quiz-comeback-banner {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(228, 190, 70, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.88), rgba(255, 255, 255, 0.96) 52%, rgba(236, 254, 255, 0.74)),
    #fff;
}

.quiz-comeback-banner > div:first-child {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.quiz-comeback-banner .eyebrow {
  color: #8a5b00;
}

.quiz-comeback-banner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.16;
}

.quiz-comeback-banner p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.38;
}

.quiz-comeback-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.7rem;
}

.quiz-comeback-banner__actions a {
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-decoration-color: rgba(14, 165, 233, 0.36);
  text-decoration-thickness: 2px;
  text-transform: uppercase;
}

.quiz-comeback-banner__actions a:hover {
  color: var(--sky-hover);
}

.quiz-playbar {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, var(--field-deep), var(--field-dark));
}

.quiz-playbar__lead {
  display: grid;
  gap: 0.2rem;
}

.quiz-playbar .eyebrow {
  color: #cfe7c3;
}

.quiz-playbar strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-playbar__lead p {
  max-width: 38rem;
  color: #dceccf;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.4;
}

.quiz-playbar__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quiz-playbar__stats span {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(220, 236, 207, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef7e8;
  font-size: 0.75rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
}

.quiz-playbar__stats strong {
  margin-right: 0.2rem;
  font-size: inherit;
  color: #fff;
}

.quiz-live-status {
  min-height: 1.25rem;
  color: #dceccf;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-play-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--soft-bg);
}

.quiz-play-cards--after {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.quiz-play-card {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
  padding: 0.4rem 0;
  background: transparent;
}

.quiz-play-card + .quiz-play-card {
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}

.quiz-play-card span {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.quiz-play-card strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-play-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.quiz-progress {
  overflow: hidden;
  height: 0.5rem;
  border: 1px solid rgba(220, 236, 207, 0.46);
  border-radius: 999px;
  background: rgba(10, 30, 18, 0.55);
}

.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #74b66a, var(--cyan-line));
  transition: width 160ms ease;
}

.quiz-form--complete .quiz-progress {
  border-color: rgba(187, 247, 208, 0.65);
  background: rgba(20, 83, 45, 0.45);
}

.quiz-form--complete .quiz-progress span {
  background: linear-gradient(90deg, #86efac, var(--cyan-line));
}

.quiz-stepper {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--soft-bg);
}

.quiz-stepper__status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.quiz-stepper__status strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-stepper__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-stepper__dots button {
  width: auto;
  min-height: 1.45rem;
  padding: 0 0.1rem 0.16rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--soft-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.quiz-stepper__dots button.quiz-stepper__dot--answered {
  border-bottom-color: #38bdf8;
  background: transparent;
  color: var(--sky);
}

.quiz-stepper__dots button.quiz-stepper__dot--current {
  border-bottom-color: var(--sky);
  background: transparent;
  color: var(--sky-hover);
}

.quiz-form--stepped .quiz-item {
  min-height: 17rem;
  box-shadow: none;
}

.quiz-form--stepped .quiz-item--active {
  background: #fff;
}

.quiz-form--stepped .quiz-playbar {
  gap: 0.45rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.quiz-item {
  display: grid;
  gap: 0.55rem;
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 0;
  counter-increment: quiz-question;
}

.quiz-item + .quiz-item {
  box-shadow: inset 0 1px 0 var(--line);
}

.quiz-item::before {
  content: counter(quiz-question);
  position: absolute;
  top: 1.08rem;
  left: 1rem;
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #9fb489;
  border-radius: 999px;
  background: var(--field-soft);
  color: var(--field-deep);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

fieldset.quiz-item {
  min-inline-size: 0;
  margin: 0;
  padding: 1rem 1rem 1rem 3.15rem;
  border: 0;
}

.quiz-item:first-of-type {
  box-shadow: none;
}

.quiz-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.8rem 1rem 1rem 3rem;
  border-top: 1px solid var(--line);
  background: var(--soft-bg);
}

.quiz-form__step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quiz-completion {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0.65rem 1rem 0;
  color: var(--muted);
}

.quiz-completion strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
}

.quiz-completion span {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.quiz-empty {
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.typing-game {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.typing-game__label {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
}

.typing-game__hint {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.text-answer--sprint {
  min-height: 3rem;
  border-color: var(--cyan-line);
  font-size: 1.08rem;
  font-weight: 700;
}

.quiz-form--complete .text-answer--sprint {
  border-color: #86efac;
  background: var(--green-soft);
}

.answer-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  padding: 1rem;
}

.answer-slot {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem 0.65rem;
  align-items: start;
  min-height: 3.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
  color: var(--muted);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.answer-slot__number {
  display: inline-flex;
  grid-row: 1 / span 2;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-bg);
  color: var(--soft-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.answer-slot__clue {
  grid-column: 2;
  min-width: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.answer-slot__value {
  grid-column: 2;
  min-width: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.answer-slot--filled {
  border-color: #86efac;
  background: var(--green-soft);
  color: #166534;
}

.answer-slot--filled .answer-slot__number {
  border-color: #86efac;
  background: #fff;
  color: #166534;
}

.answer-slot--filled .answer-slot__clue {
  color: #166534;
}

.answer-slot--filled .answer-slot__value {
  color: var(--ink);
  font-weight: 900;
}

.answer-slot--just-filled {
  border-color: #22c55e;
}

.quiz-form--name-all .quiz-form__actions {
  padding: 0.8rem 1rem 1rem;
}

.quiz-detail-section {
  margin-top: 1rem;
}

.quiz-guide-section,
.quiz-faq-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.quiz-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.quiz-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.quiz-detail-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 0;
  border: 0;
  border-top: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.quiz-guide-card {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.75rem 0;
  border: 0;
  border-top: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.quiz-detail-card h3 {
  font-size: 0.95rem;
  line-height: 1.3;
}

.quiz-guide-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.quiz-detail-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

.quiz-guide-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.quiz-guide-card ul {
  display: grid;
  gap: 0.28rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.quiz-guide-card a {
  display: inline;
  padding: 0;
  color: var(--sky);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.quiz-guide-card a:hover {
  color: var(--sky-hover);
}

.quiz-item__prompt,
.quiz-item label.prompt {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

.clue {
  color: var(--muted);
  font-size: 0.875rem;
}

.choices {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.05rem;
}

.choice {
  position: relative;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--line-strong);
  border-radius: 0.55rem;
  background: #fff !important;
  background-clip: padding-box;
  color: var(--ink);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.35;
  box-shadow: none !important;
  transition: border-color 120ms ease;
}

.choice:hover {
  border-color: #9fb489;
  background: #fff !important;
}

.choice:active {
  background: #fff !important;
}

.choice--selected {
  border-color: var(--sky);
  background: #fff !important;
  color: var(--ink);
}

.quiz-item--just-answered .choice--selected {
  border-color: var(--sky);
  background: #fff !important;
}

.choice:not(.choice--selected) {
  background: #fff !important;
  box-shadow: none !important;
}

.choice--selected:hover {
  border-color: var(--sky-hover);
  background: #fff !important;
}

.choice__text {
  min-width: 0;
}

.choice input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.choice__mark {
  position: relative;
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid #7b8578;
  border-radius: 50%;
  background: #fff;
}

.choice__mark::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: transparent;
}

.choice--selected .choice__mark {
  border-color: var(--sky);
}

.choice--selected .choice__mark::after {
  background: var(--sky);
}

.choice:focus-within {
  border-color: var(--sky);
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

input[type="radio"] {
  accent-color: var(--sky);
}

input[type="text"] {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #94a3b8;
  border-bottom-width: 3px;
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.text-answer {
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.08);
}

input[type="text"]:focus {
  border-color: var(--sky);
  box-shadow: none;
  outline: 2px solid #7dd3fc;
  outline-offset: 1px;
}

input[type="text"]:disabled {
  background: #f1f5f9;
  color: #64748b;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0 1.125rem;
  border: 1px solid var(--cyan-line);
  border-bottom-width: 4px;
  border-radius: 0.6rem;
  background: var(--cyan-bg);
  color: var(--cyan-ink);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.08);
  transition: background-color 150ms ease, border-width 80ms ease, transform 80ms ease, box-shadow 80ms ease;
}

button:hover,
.button:hover {
  background: var(--cyan-bg-hover);
  color: var(--cyan-ink);
}

button:active,
.button:active {
  transform: translateY(1px);
  border-bottom-width: 2px;
  box-shadow: none;
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button--secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: #cbd5e1;
  background: var(--soft-bg);
  color: var(--ink);
}

button:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.35);
  outline-offset: 3px;
}

.result-panel {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
  border-color: #c7d5bc;
  border-bottom-width: 4px;
  background:
    radial-gradient(circle at 100% 0, rgba(47, 111, 62, 0.14), transparent 12rem),
    linear-gradient(180deg, var(--field-soft) 0%, #ffffff 44%);
  box-shadow: var(--surface-shadow);
}

.result-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.result-summary p:not(.score):not(.scoreboard__percent):not(.scoreboard__time) {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.result-action {
  min-height: 2.25rem;
  padding-right: 0.85rem;
  padding-left: 0.85rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.result-action--primary {
  border-color: var(--cyan-line);
  background: var(--cyan-bg);
  color: var(--cyan-ink);
}

.score {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
}

.scoreboard .score {
  color: #fff;
}

.scoreboard {
  display: grid;
  min-width: 8.75rem;
  justify-items: end;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.85);
  border-bottom-width: 4px;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, var(--field-dark), #0b1f15);
}

.scoreboard > span {
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.score-meter {
  overflow: hidden;
  width: 100%;
  max-width: 9rem;
  height: 0.45rem;
  border: 1px solid rgba(220, 236, 207, 0.62);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
}

.score-meter span {
  display: block;
  width: var(--score-value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #74b66a, var(--cyan-line));
}

.scoreboard__percent {
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.scoreboard__time {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.scoreboard__time span {
  color: #dceccf;
  text-transform: uppercase;
}

.scoreboard__time strong {
  color: #fff;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.saved-run-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  padding: 0.65rem 0;
  border-top: 2px solid rgba(95, 111, 52, 0.20);
  border-bottom: 2px solid rgba(95, 111, 52, 0.20);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.saved-run-banner strong {
  color: var(--ink);
  font-weight: 900;
}

.reward-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(6.8rem, 8.8rem) minmax(0, 1fr);
  gap: 0.8rem 1rem;
  align-items: center;
  overflow: hidden;
  padding: 0.85rem;
  border: 1px solid #c7d5bc;
  border-bottom-width: 4px;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 11% 20%, rgba(6, 182, 212, 0.18), transparent 9rem),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #eef6e8 100%);
}

.reward-card::before,
.reward-card::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}

.reward-card::before {
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.88) 48%, transparent 60% 100%);
  transform: translateX(-70%);
}

.reward-card::after {
  inset: -35%;
  opacity: 0;
  background:
    radial-gradient(circle at 26% 34%, rgba(250, 204, 21, 0.28), transparent 13rem),
    radial-gradient(circle at 83% 23%, rgba(6, 182, 212, 0.18), transparent 14rem);
}

.reward-card > * {
  position: relative;
  z-index: 1;
}

.reward-card > :not(.reward-card__confetti) {
  z-index: 2;
}

.reward-card__confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.reward-card__confetti span {
  position: absolute;
  top: -0.55rem;
  left: var(--confetti-left, 50%);
  width: var(--confetti-width, 0.42rem);
  height: var(--confetti-height, 0.72rem);
  border-radius: 0.1rem;
  background: var(--confetti-color, #facc15);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
}

.reward-card__confetti span:nth-child(1) {
  --confetti-left: 8%;
  --confetti-dx: 1.1rem;
  --confetti-dy: 5.8rem;
  --confetti-rotate: 92deg;
  --confetti-color: #facc15;
}

.reward-card__confetti span:nth-child(2) {
  --confetti-left: 16%;
  --confetti-dx: -0.6rem;
  --confetti-dy: 7.4rem;
  --confetti-rotate: -118deg;
  --confetti-color: var(--cyan-line);
  --confetti-height: 0.48rem;
}

.reward-card__confetti span:nth-child(3) {
  --confetti-left: 25%;
  --confetti-dx: 1.6rem;
  --confetti-dy: 4.9rem;
  --confetti-rotate: 144deg;
  --confetti-color: var(--field);
}

.reward-card__confetti span:nth-child(4) {
  --confetti-left: 34%;
  --confetti-dx: -1.2rem;
  --confetti-dy: 6.8rem;
  --confetti-rotate: -84deg;
  --confetti-color: #e4be46;
  --confetti-width: 0.32rem;
}

.reward-card__confetti span:nth-child(5) {
  --confetti-left: 44%;
  --confetti-dx: 0.8rem;
  --confetti-dy: 5.9rem;
  --confetti-rotate: 172deg;
  --confetti-color: #06b6d4;
}

.reward-card__confetti span:nth-child(6) {
  --confetti-left: 53%;
  --confetti-dx: -1rem;
  --confetti-dy: 7.8rem;
  --confetti-rotate: -154deg;
  --confetti-color: #86efac;
  --confetti-height: 0.52rem;
}

.reward-card__confetti span:nth-child(7) {
  --confetti-left: 62%;
  --confetti-dx: 1.35rem;
  --confetti-dy: 6.4rem;
  --confetti-rotate: 106deg;
  --confetti-color: #fef08a;
}

.reward-card__confetti span:nth-child(8) {
  --confetti-left: 70%;
  --confetti-dx: -0.75rem;
  --confetti-dy: 5.2rem;
  --confetti-rotate: -96deg;
  --confetti-color: var(--field-deep);
  --confetti-width: 0.3rem;
}

.reward-card__confetti span:nth-child(9) {
  --confetti-left: 78%;
  --confetti-dx: 1rem;
  --confetti-dy: 7rem;
  --confetti-rotate: 148deg;
  --confetti-color: #38bdf8;
}

.reward-card__confetti span:nth-child(10) {
  --confetti-left: 86%;
  --confetti-dx: -1.4rem;
  --confetti-dy: 5.5rem;
  --confetti-rotate: -136deg;
  --confetti-color: #fde68a;
}

.reward-card__confetti span:nth-child(11) {
  --confetti-left: 93%;
  --confetti-dx: -2rem;
  --confetti-dy: 7.6rem;
  --confetti-rotate: 184deg;
  --confetti-color: #22c55e;
  --confetti-height: 0.46rem;
}

.reward-card__confetti span:nth-child(12) {
  --confetti-left: 50%;
  --confetti-dx: 0.2rem;
  --confetti-dy: 8.2rem;
  --confetti-rotate: -188deg;
  --confetti-color: #facc15;
  --confetti-width: 0.34rem;
}

.reward-card--major {
  border-color: #e4be46;
  box-shadow: 0 14px 28px rgba(95, 111, 52, 0.15);
}

.reward-card--major::after {
  opacity: 1;
}

.reward-card__art {
  position: relative;
  display: grid;
  min-height: 8.2rem;
  place-items: center;
}

.reward-card__burst {
  display: block;
  width: 100%;
  max-width: 8.8rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.16));
}

.reward-card__badge {
  position: absolute;
  top: 56%;
  left: 50%;
  display: inline-flex;
  width: min(5.8rem, 68%);
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.4rem;
  border: 1px solid rgba(234, 179, 8, 0.72);
  border-radius: 0.38rem;
  background: linear-gradient(135deg, #fef3c7, #ffffff 54%, #fde68a);
  color: #422006;
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  overflow-wrap: anywhere;
  box-shadow: 0 6px 12px rgba(66, 32, 6, 0.18);
}

.reward-card--playoff-ready .reward-card__badge {
  border-color: rgba(6, 182, 212, 0.72);
  background: linear-gradient(135deg, #ecfeff, #ffffff 54%, #cffafe);
  color: var(--cyan-ink);
}

.reward-card--in-the-game .reward-card__badge {
  border-color: rgba(34, 197, 94, 0.62);
  background: linear-gradient(135deg, #dcfce7, #ffffff 54%, #bbf7d0);
  color: #14532d;
}

.reward-card--scout-run .reward-card__badge {
  border-color: #cbd5e1;
  background: linear-gradient(135deg, #f8fafc, #ffffff 54%, #e2e8f0);
  color: #334155;
}

.reward-card__copy {
  display: grid;
  min-width: 0;
  gap: 0.24rem;
}

.reward-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.15;
}

.reward-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.reward-card__copy .reward-card__next {
  color: var(--field-deep);
  font-weight: 900;
}

.reward-card__stats {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

.reward-card__stats div {
  display: grid;
  min-width: 5.3rem;
  gap: 0.08rem;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.reward-card__stats dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.reward-card__stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.12;
}

.progress-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #bae6fd;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.82), #fff 54%, rgba(238, 246, 232, 0.72)),
    #fff;
}

.progress-card__copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.progress-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.progress-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.progress-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.progress-card__stats div {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.progress-card__stats dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.progress-card__stats dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.12;
}

.progress-card__meter,
.player-progress__meter {
  overflow: hidden;
  height: 0.45rem;
  border: 1px solid rgba(47, 111, 62, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.progress-card__meter span,
.player-progress__meter span {
  display: block;
  width: var(--progress-value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.progress-card__next {
  margin: 0;
  color: var(--field-deep);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}

.progress-card__link {
  width: fit-content;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.progress-card__link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.level-up-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  overflow: hidden;
  padding: 0.9rem;
  border: 1px solid rgba(250, 204, 21, 0.72);
  border-radius: 0.55rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.94), #fff 50%, rgba(236, 254, 255, 0.72)),
    #fff;
  box-shadow: 0 4px 0 rgba(212, 175, 55, 0.42);
}

.level-up-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -18%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), transparent 68%);
  pointer-events: none;
}

.level-up-card > * {
  position: relative;
}

.level-up-card__mark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid rgba(47, 111, 62, 0.7);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 16%, transparent 17%),
    linear-gradient(135deg, var(--field), var(--cyan-line) 58%, #facc15);
  color: #fff;
  box-shadow: 0 4px 0 rgba(16, 38, 26, 0.2);
}

.level-up-card__mark span {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(16, 38, 26, 0.32);
}

.level-up-card__copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.level-up-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.15;
}

.level-up-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.level-up-card__copy strong {
  color: var(--field-deep);
  font-size: 0.86rem;
  line-height: 1.25;
}

.level-up-card__stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.level-up-card__stats div {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(250, 204, 21, 0.56);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.level-up-card__stats dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.level-up-card__stats dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.12;
}

.level-up-card__link {
  grid-column: 1 / -1;
  width: fit-content;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.level-up-card__link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.daily-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(250, 204, 21, 0.72);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.88), #fff 54%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.daily-result-card__copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.daily-result-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.daily-result-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.daily-result-card__stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.daily-result-card__stats div {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.72);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.daily-result-card__stats dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.daily-result-card__stats dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.12;
}

.daily-result-card__action {
  align-self: start;
}

.achievement-unlock-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(228, 190, 70, 0.72);
  border-bottom-width: 4px;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 100% 0, rgba(250, 204, 21, 0.2), transparent 9rem),
    linear-gradient(135deg, rgba(255, 251, 235, 0.92), #fff 54%, rgba(238, 246, 232, 0.72)),
    #fff;
}

.achievement-unlock-card__copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.achievement-unlock-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.achievement-unlock-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.achievement-unlock-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.achievement-unlock-list li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
}

.achievement-unlock-list li > span:last-child {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.achievement-unlock-list strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.16;
}

.achievement-unlock-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.achievement-mark {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 0.72rem),
    linear-gradient(135deg, #fef3c7, #facc15 58%, #e4be46);
  color: #422006;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(66, 32, 6, 0.13), 0 5px 10px rgba(66, 32, 6, 0.12);
}

.achievement-unlock-card__link {
  width: fit-content;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.achievement-unlock-card__link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.replay-challenge,
.daily-challenge,
.misses-practice-card,
.practice-result-card,
.comeback-result-card,
.stage-reward-card,
.sport-streak-card,
.mistake-result-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #c7d5bc;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(251, 252, 247, 0.96), #fff 58%, rgba(236, 254, 255, 0.54)),
    #fff;
}

.misses-practice-card {
  border-color: rgba(14, 165, 233, 0.34);
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.9), #fff 58%, rgba(238, 246, 232, 0.58)),
    #fff;
}

.practice-result-card {
  border-color: rgba(47, 111, 62, 0.28);
}

.comeback-result-card {
  border-color: rgba(228, 190, 70, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.9), #fff 56%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.comeback-result-card--perfect {
  border-bottom-width: 4px;
  box-shadow: 0 12px 24px rgba(95, 111, 52, 0.12);
}

.comeback-result-card--retry {
  border-color: rgba(14, 165, 233, 0.34);
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.86), #fff 58%, rgba(238, 246, 232, 0.58)),
    #fff;
}

.stage-reward-card {
  border-color: rgba(34, 197, 94, 0.34);
  border-bottom-width: 4px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.9), #fff 56%, rgba(255, 251, 235, 0.58)),
    #fff;
}

.sport-streak-card {
  border-color: rgba(47, 111, 62, 0.34);
  background:
    linear-gradient(135deg, rgba(238, 246, 232, 0.94), #fff 56%, rgba(236, 254, 255, 0.62)),
    #fff;
}

.sport-streak-card--protected {
  border-bottom-width: 4px;
}

.mistake-result-card {
  border-color: rgba(250, 204, 21, 0.64);
  border-bottom-width: 4px;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.92), #fff 56%, rgba(238, 246, 232, 0.64)),
    #fff;
}

.daily-challenge {
  grid-template-columns: 3.6rem minmax(0, 1fr);
  align-items: center;
  margin: 0 0 1.35rem;
  border-color: rgba(250, 204, 21, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.9), #fff 58%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.daily-challenge--complete {
  border-color: rgba(47, 111, 62, 0.28);
  background:
    linear-gradient(135deg, rgba(238, 246, 232, 0.92), #fff 58%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.daily-challenge--locker {
  margin-top: 0;
}

.weekly-quests,
.weekly-result-card {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0.85rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.78), #fff 56%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.weekly-quests--locker {
  margin-top: 1.6rem;
}

.weekly-result-card {
  margin: 0;
  border-color: rgba(14, 165, 233, 0.34);
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.86), #fff 58%, rgba(255, 251, 235, 0.52)),
    #fff;
}

.weekly-result-card--complete {
  border-color: rgba(228, 190, 70, 0.7);
  border-bottom-width: 4px;
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.18), transparent 8rem),
    linear-gradient(135deg, rgba(255, 251, 235, 0.96), #fff 54%, rgba(236, 254, 255, 0.66)),
    #fff;
}

.weekly-quests__head,
.weekly-result-card__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.weekly-quests__head h2,
.weekly-result-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.weekly-quests__head p,
.weekly-result-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.weekly-quests__head strong {
  width: fit-content;
  color: var(--field-deep);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.weekly-result-card__bonus {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.48rem;
  border: 1px solid rgba(228, 190, 70, 0.72);
  border-radius: 999px;
  background: rgba(255, 251, 235, 0.9);
  color: #6f4700;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.weekly-quest-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.weekly-quest-list--result {
  grid-template-columns: 1fr;
}

.weekly-quest-card {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  padding: 0.68rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.82);
}

.weekly-quest-card--complete {
  border-color: rgba(228, 190, 70, 0.64);
  border-bottom-width: 3px;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.92), #fff 58%, rgba(236, 253, 245, 0.72)),
    #fff;
}

.weekly-quest-card--complete .weekly-quest-card__head strong {
  color: #6f4700;
}

.weekly-quest-card--complete .weekly-quest-card__meter {
  background: rgba(254, 243, 199, 0.86);
}

.weekly-quest-card--complete .weekly-quest-card__meter span {
  background: linear-gradient(90deg, #e4be46, #facc15, var(--cyan-line));
}

.weekly-quest-card__head,
.weekly-quest-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.weekly-quest-card__head span,
.weekly-quest-card__meta small {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.weekly-quest-card__head strong {
  color: var(--field-deep);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.weekly-quest-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.16;
}

.weekly-quest-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.32;
}

.weekly-quest-card__meter {
  overflow: hidden;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(223, 232, 216, 0.78);
}

.weekly-quest-card__meter span {
  display: block;
  width: var(--quest-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.weekly-quest-card__meta a,
.weekly-result-card__link {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.weekly-quest-card__meta a:hover,
.weekly-result-card__link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.weekly-result-card__link {
  width: fit-content;
}

.daily-challenge__media,
.daily-challenge__icon {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
}

.daily-challenge__icon {
  object-fit: contain;
  filter: drop-shadow(0 4px 0 rgba(15, 23, 42, 0.08));
}

.daily-challenge__copy,
.replay-challenge__copy,
.misses-practice-card__copy,
.practice-result-card__copy,
.comeback-result-card__copy,
.stage-reward-card__copy,
.sport-streak-card__copy,
.mistake-result-card__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.daily-challenge__copy h2,
.replay-challenge__copy h3,
.misses-practice-card__copy h3,
.practice-result-card__copy h3,
.comeback-result-card__copy h3,
.stage-reward-card__copy h3,
.sport-streak-card__copy h3,
.mistake-result-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.daily-challenge__copy p,
.replay-challenge__copy p,
.misses-practice-card__copy p,
.practice-result-card__copy p,
.comeback-result-card__copy p,
.stage-reward-card__copy p,
.sport-streak-card__copy p,
.mistake-result-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.daily-challenge__copy strong {
  color: var(--field-deep);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.2;
}

.sport-streak-card__copy strong,
.mistake-result-card__copy strong {
  color: var(--field-deep);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.2;
}

.daily-challenge__stats,
.replay-challenge__stats,
.comeback-result-card__stats,
.stage-reward-card__stats,
.sport-streak-card__stats,
.mistake-result-card__stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.sport-streak-card__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mistake-result-card__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.daily-challenge__stats div,
.replay-challenge__stats div,
.comeback-result-card__stats div,
.stage-reward-card__stats div,
.sport-streak-card__stats div,
.mistake-result-card__stats div {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.78);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.daily-challenge__stats dt,
.replay-challenge__stats dt,
.comeback-result-card__stats dt,
.stage-reward-card__stats dt,
.sport-streak-card__stats dt,
.mistake-result-card__stats dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.daily-challenge__stats dd,
.replay-challenge__stats dd,
.comeback-result-card__stats dd,
.stage-reward-card__stats dd,
.sport-streak-card__stats dd,
.mistake-result-card__stats dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.14;
}

.daily-challenge__actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.daily-challenge__action {
  width: fit-content;
}

.replay-challenge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sport-streak-card__link,
.mistake-result-card__link {
  width: fit-content;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.sport-streak-card__link:hover,
.mistake-result-card__link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.misses-practice-card__actions,
.practice-result-card__actions,
.comeback-result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-header--locker {
  justify-items: center;
  text-align: center;
}

.page-header--locker .page-header__copy {
  justify-items: center;
}

.page-header--locker-review {
  justify-items: center;
  text-align: center;
}

.page-header--locker-review .page-header__copy {
  justify-items: center;
}

.locker-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.locker-status-strip div {
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(186, 230, 253, 0.78);
  border-radius: 0.45rem;
  background: rgba(236, 254, 255, 0.58);
}

.locker-status-strip dt {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-status-strip dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.15;
}

.locker-scoreboard,
.locker-empty {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #c7d5bc;
  border-radius: 0.65rem;
  background:
    linear-gradient(135deg, rgba(238, 246, 232, 0.82), #fff 56%, rgba(236, 254, 255, 0.62)),
    #fff;
}

.locker-scoreboard__main {
  display: grid;
  gap: 0.25rem;
}

.locker-scoreboard__level {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.12rem 0.42rem;
  align-items: center;
  justify-self: start;
  width: fit-content;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(250, 204, 21, 0.7);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.9), rgba(236, 254, 255, 0.78)),
    #fff;
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(212, 175, 55, 0.28);
}

.locker-scoreboard__level span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.28rem 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--field), var(--cyan-line));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.locker-scoreboard__level strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
}

.locker-scoreboard__level small {
  grid-column: 2;
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
}

.locker-scoreboard__main h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1;
}

.locker-scoreboard__main p,
.locker-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.locker-scoreboard__meter,
.locker-sport-row__meter {
  overflow: hidden;
  height: 0.5rem;
  border: 1px solid rgba(47, 111, 62, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.locker-scoreboard__meter span,
.locker-sport-row__meter span {
  display: block;
  width: var(--progress-value, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.locker-scoreboard__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.locker-scoreboard__stats div {
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(199, 213, 188, 0.78);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.locker-scoreboard__stats dt {
  color: var(--soft-muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-scoreboard__stats dd {
  margin: 0.12rem 0 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
}

.locker-scoreboard__next {
  margin: 0;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 0.42rem;
  background: rgba(236, 254, 255, 0.74);
  color: var(--field-deep);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.locker-scoreboard__next span {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-empty h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.locker-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 0.25rem 0 1.1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.locker-tabs::-webkit-scrollbar {
  display: none;
}

.locker-tabs a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 2.1rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #fff;
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.locker-tabs a:hover {
  border-color: var(--cyan-line);
  background: var(--cyan-bg);
  color: var(--cyan-ink);
}

.locker-section {
  margin-top: 1.6rem;
}

.locker-section--targets {
  margin-top: 0;
}

.locker-sport-list,
.locker-run-list,
.locker-feed-list,
.locker-target-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locker-target-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}

.locker-target-card--open,
.locker-target-card--unplayed {
  border-color: rgba(250, 204, 21, 0.62);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.78), #fff 58%);
}

.locker-target-card--cleared,
.locker-target-card--perfect {
  border-color: rgba(186, 230, 253, 0.86);
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.72), #fff 58%);
}

.locker-target-card--complete {
  border-color: rgba(47, 111, 62, 0.28);
  background: linear-gradient(135deg, rgba(238, 246, 232, 0.82), #fff 58%);
}

.locker-target-card--trophy {
  border-color: rgba(228, 190, 70, 0.64);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.9), #fff 58%, rgba(238, 246, 232, 0.55));
}

.locker-target-card__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.locker-target-card__copy > span,
.locker-target-card__meta strong {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-target-card__copy h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.locker-target-card__copy p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.locker-target-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.locker-target-card__meta strong {
  color: var(--field-deep);
}

.locker-target-card__meta a {
  color: var(--sky);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.locker-target-card__meta a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.mistake-memory-list {
  display: grid;
  gap: 0.55rem;
}

.mistake-memory-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, rgba(255, 251, 235, 0.72), transparent 70%),
    #fff;
}

.mistake-memory-card--recurring {
  border-color: rgba(250, 204, 21, 0.72);
  background:
    linear-gradient(90deg, rgba(255, 251, 235, 0.88), transparent 72%),
    #fff;
}

.mistake-memory-card__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.mistake-memory-card__copy > span {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.mistake-memory-card__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.18;
}

.mistake-memory-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.mistake-memory-card__meta {
  display: grid;
  gap: 0.18rem;
  justify-items: end;
  min-width: 7rem;
}

.mistake-memory-card__meta strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.15;
}

.mistake-memory-card__meta small {
  color: var(--soft-muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.mistake-memory-card__meta a {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.mistake-memory-card__meta a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.mistake-memory-review-link {
  width: fit-content;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.mistake-memory-review-link:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.mistake-memory-empty {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.5rem;
  background: rgba(238, 246, 232, 0.58);
}

.mistake-memory-empty strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.15;
}

.mistake-memory-empty span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
}

.smart-review-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.6rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.78), #fff 56%, rgba(236, 254, 255, 0.58)),
    #fff;
}

.smart-review-panel__head {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.smart-review-panel__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1.05;
}

.smart-review-panel__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.smart-review-form {
  display: grid;
  gap: 0.85rem;
}

.smart-review-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.smart-review-item {
  min-width: 0;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.86);
}

fieldset.smart-review-item {
  display: grid;
  gap: 0.55rem;
}

.smart-review-item--correct {
  border-color: rgba(34, 197, 94, 0.38);
  background: rgba(236, 253, 245, 0.72);
}

.smart-review-item--incorrect {
  border-color: rgba(250, 204, 21, 0.72);
  background: rgba(255, 251, 235, 0.78);
}

.smart-review-item legend,
.smart-review-item__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.smart-review-item legend strong,
.smart-review-item__head strong {
  color: var(--field-deep);
}

.smart-review-item p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.28;
}

.smart-review-item small {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.smart-review-choices {
  display: grid;
  gap: 0.42rem;
}

.smart-review-choices label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.42rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
}

.smart-review-choices label:has(input:checked) {
  border-color: rgba(6, 182, 212, 0.56);
  background: rgba(236, 254, 255, 0.78);
}

.smart-review-actions,
.smart-review-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.smart-review-result {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(250, 204, 21, 0.64);
  border-bottom-width: 4px;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.92), #fff 56%, rgba(238, 246, 232, 0.64)),
    #fff;
}

.smart-review-result__copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.smart-review-result__copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.18;
}

.smart-review-result__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.smart-review-result__stats,
.smart-review-item__answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.smart-review-item__answers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.55rem;
}

.smart-review-result__stats div,
.smart-review-item__answers div {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.78);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.82);
}

.smart-review-result__stats dt,
.smart-review-item__answers dt {
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.smart-review-result__stats dd,
.smart-review-item__answers dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.14;
}

.smart-review-bank {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid rgba(6, 182, 212, 0.34);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.82), #fff 58%, rgba(255, 251, 235, 0.52)),
    #fff;
}

.smart-review-bank__head {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
}

.smart-review-bank__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.18;
}

.smart-review-bank__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.36;
}

.smart-review-bank__list {
  display: grid;
  gap: 0.48rem;
}

.smart-review-bank-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.86);
}

.smart-review-bank-card div {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.smart-review-bank-card span {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.smart-review-bank-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.16;
}

.smart-review-bank-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.32;
}

.smart-review-bank-card a {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.smart-review-bank-card a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.smart-review-empty {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem;
  border: 1px solid rgba(199, 213, 188, 0.82);
  border-radius: 0.5rem;
  background: rgba(238, 246, 232, 0.58);
}

.smart-review-empty strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.smart-review-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.36;
}

.trophy-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.trophy-card {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  min-width: 0;
  padding: 0.72rem;
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.86)),
    #fff;
}

.trophy-card--unlocked {
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.88), #fff 58%, rgba(238, 246, 232, 0.72)),
    #fff;
}

.trophy-card--locked {
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.9), #fff 64%),
    #fff;
}

.trophy-card--locked .achievement-mark {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.85), transparent 0.72rem),
    linear-gradient(135deg, #e2e8f0, #f8fafc);
  color: #64748b;
  box-shadow: inset 0 -2px 0 rgba(15, 23, 42, 0.06);
}

.trophy-card__copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.trophy-card__copy > span,
.trophy-card > small {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.trophy-card__copy h3 {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.16;
}

.trophy-card__copy p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.trophy-card__meter {
  overflow: hidden;
  grid-column: 1 / -1;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(223, 232, 216, 0.78);
}

.trophy-card__meter span {
  display: block;
  width: var(--trophy-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.trophy-card > small {
  grid-column: 1 / -1;
}

.locker-stage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.locker-stage-card {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}

.locker-stage-card--complete {
  border-color: rgba(34, 197, 94, 0.32);
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.86), #fff 62%, rgba(255, 251, 235, 0.52)),
    #fff;
}

.locker-stage-card--active {
  border-color: rgba(250, 204, 21, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.82), #fff 62%, rgba(236, 254, 255, 0.52)),
    #fff;
}

.locker-stage-card--queued {
  opacity: 0.88;
}

.locker-stage-card__head,
.locker-stage-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  justify-content: space-between;
}

.locker-stage-card__head span,
.locker-stage-card__meta small {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-stage-card__head strong {
  color: var(--field-deep);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-stage-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.18;
}

.locker-stage-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.locker-stage-card__meter {
  overflow: hidden;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(223, 232, 216, 0.78);
}

.locker-stage-card__meter span {
  display: block;
  width: var(--stage-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--field), var(--cyan-line), #facc15);
}

.locker-stage-card__meta a {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.locker-stage-card__meta a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.locker-sport-row {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}

.locker-sport-row__icon,
.locker-sport-row__image {
  display: block;
  width: 2.45rem;
  height: 2.45rem;
}

.locker-sport-row__image {
  object-fit: contain;
}

.locker-sport-row__body {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.locker-sport-row__stage {
  width: fit-content;
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-sport-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
}

.locker-sport-row__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.locker-sport-row__head strong {
  color: var(--field-deep);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.locker-sport-row p,
.locker-sport-row small {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.locker-sport-row small {
  color: var(--field-deep);
  font-weight: 850;
}

.locker-sport-row__streak {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.25rem 0.45rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.76);
  border-radius: 0.42rem;
  background: rgba(238, 246, 232, 0.62);
}

.locker-sport-row__streak--waiting {
  border-color: rgba(250, 204, 21, 0.76);
  background: rgba(255, 251, 235, 0.78);
}

.locker-sport-row__streak--protected {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(236, 253, 245, 0.72);
}

.locker-sport-row__streak span {
  color: var(--soft-muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-sport-row__streak strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.1;
}

.locker-sport-row__streak small {
  color: var(--field-deep);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
}

.locker-sport-row__next {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}

.locker-sport-row__next a {
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.locker-sport-row__next a:hover {
  color: var(--sky-hover);
  text-decoration: underline;
}

.locker-run-list li {
  min-width: 0;
}

.locker-run-list a,
.locker-feed-list a {
  display: grid;
  gap: 0.22rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.locker-run-list a:hover,
.locker-feed-list a:hover {
  border-color: #bac9a9;
  background: var(--field-soft);
}

.locker-feed-list__entry--quest {
  border-color: rgba(228, 190, 70, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.84), #fff 62%, rgba(236, 254, 255, 0.52)),
    #fff;
}

.locker-feed-list__entry--quest:hover {
  border-color: rgba(228, 190, 70, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.94), #fff 62%, rgba(236, 254, 255, 0.64)),
    #fff;
}

a.locker-feed-list__entry--quest span {
  color: #6f4700;
}

.locker-run-list__sport,
.locker-feed-list span {
  color: var(--soft-muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.locker-run-list strong,
.locker-feed-list strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.locker-feed-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.locker-run-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.2;
}

.duration-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.result-next {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #c7d5bc;
  border-radius: 0.5rem;
  background: #fff;
}

.result-next__heading {
  display: grid;
  gap: 0.2rem;
}

.result-next__heading h3,
.answer-review-header h3 {
  font-size: 0.98rem;
  line-height: 1.25;
}

.result-next__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.result-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.result-next__card {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 0.45rem;
  background: var(--soft-bg);
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.result-next__card:hover {
  border-color: #bac9a9;
  background: var(--field-soft);
  color: inherit;
}

.result-next__card > span,
.result-next__meta > span:not(.mastery-badge) {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.result-next__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.result-next__card .mastery-badge {
  font-size: 0.62rem;
}

.result-next__card strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.result-next__card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.answer-review-header {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.25rem;
}

.answer-review {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-review__item {
  display: grid;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: #fff;
}

.answer-review__item--correct {
  border-color: var(--line);
}

.answer-review__item--incorrect {
  border-color: var(--line);
}

.answer-review__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.answer-review__prompt {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.answer-review__answers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0;
}

.answer-review__answer {
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: var(--soft-bg);
}

.answer-review__answer--matched,
.answer-review__answer--correct {
  border-color: #86efac;
  background: var(--green-soft);
}

.answer-review__answer--missed {
  border-color: #fecaca;
  background: var(--red-soft);
}

.answer-review__answers dt {
  color: var(--soft-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.answer-review__answers dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.answer-review__answer--matched dt,
.answer-review__answer--correct dt {
  color: #166534;
}

.answer-review__answer--matched dd,
.answer-review__answer--correct dd {
  color: #14532d;
}

.answer-review__answer--missed dt,
.answer-review__answer--missed dd {
  color: #991b1b;
}

.answer-review__explanation {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.status--correct {
  background: var(--green-soft);
  color: #166534;
}

.status--incorrect {
  background: var(--red-soft);
  color: #991b1b;
}

.sidebar {
  display: grid;
  gap: 0.75rem;
}

.sidebar-panel {
  display: grid;
  gap: 0.7rem;
  border-bottom-width: 1px;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.player-board,
.fan-board,
.leaderboard-panel {
  overflow: hidden;
  border-color: #c7d5bc;
  background:
    linear-gradient(180deg, rgba(238, 246, 232, 0.58), #fff 4rem),
    #fff;
}

.fan-board {
  border-color: #bae6fd;
  background:
    linear-gradient(180deg, rgba(236, 254, 255, 0.58), #fff 4rem),
    #fff;
}

.leaderboard-panel {
  border-color: #e4be46;
  background:
    linear-gradient(180deg, rgba(254, 243, 199, 0.52), #fff 4rem),
    #fff;
}

.sidebar-panel__header {
  --sidebar-header-icon-size: 2.35rem;
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(199, 213, 188, 0.48);
  text-align: center;
}

.fan-board .sidebar-panel__header {
  border-bottom-color: rgba(186, 230, 253, 0.82);
}

.leaderboard-panel .sidebar-panel__header {
  border-bottom-color: rgba(228, 190, 70, 0.58);
}

.sidebar-panel h2 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}

.sidebar-panel .sidebar-panel__header h2 {
  margin-bottom: 0;
}

.sidebar-panel__icon {
  display: block;
  width: var(--sidebar-header-icon-size);
  height: var(--sidebar-header-icon-size);
  object-fit: contain;
  filter: drop-shadow(0 3px 0 rgba(15, 23, 42, 0.10));
}

.sidebar-panel__icon--runs {
  filter: drop-shadow(0 5px 6px rgba(15, 23, 42, 0.12));
}

.sidebar-panel__copy {
  color: var(--muted);
  font-size: 0.875rem;
}

.sidebar-link-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link-list a {
  display: grid;
  gap: 0.25rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sidebar-link-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
}

.sidebar-link-list .mastery-badge {
  font-size: 0.6rem;
}

.sidebar-link-list a:hover {
  border-color: #bac9a9;
  background: var(--field-soft);
  color: var(--sky-hover);
}

.reference-drawer {
  display: grid;
  gap: 0.55rem;
}

.reference-drawer summary {
  width: fit-content;
  color: var(--sky);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.reference-drawer summary:hover {
  color: var(--sky-hover);
}

.reference-drawer[open] summary {
  margin-bottom: 0.55rem;
}

.round-card-panel {
  border-color: #c7d5bc;
}

.round-card-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.round-card-list div {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.65fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  min-width: 0;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.round-card-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.round-card-list div:last-child {
  padding-bottom: 0;
}

.round-card-list dt {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.round-card-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.player-board {
  gap: 0.65rem;
}

.player-board__handle {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--line);
}

.player-board__handle span {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.player-board__handle strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.player-progress {
  display: grid;
  gap: 0.35rem;
  padding: 0.58rem;
  border: 1px solid rgba(199, 213, 188, 0.78);
  border-radius: 0.42rem;
  background:
    linear-gradient(135deg, rgba(238, 246, 232, 0.82), #fff 72%),
    #fff;
}

.player-progress__score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
}

.player-progress__score span {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.player-progress__score strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.player-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}

.player-board__stats {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.player-board__stats div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
  min-width: 0;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(199, 213, 188, 0.72);
  border-radius: 0.42rem;
  background:
    linear-gradient(90deg, rgba(47, 111, 62, 0.08), transparent 72%),
    #fff;
}

.player-board__stats dt {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.player-board__stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1.2;
}

.player-board__next {
  margin: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(199, 213, 188, 0.72);
  border-radius: 0.42rem;
  background: var(--field-soft);
  color: var(--field-deep);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.player-board__next span {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--soft-muted);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.fan-board__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.fan-board__stats div {
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid rgba(186, 230, 253, 0.86);
  border-radius: 0.42rem;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 0.86), #fff 68%),
    #fff;
}

.fan-board__stats dt {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.fan-board__stats dd {
  margin: 0.1rem 0 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.leaderboard-panel {
  gap: 0.75rem;
}

.run-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.run-list li {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.5rem 0.55rem;
  border: 1px solid rgba(199, 213, 188, 0.78);
  border-radius: 0.42rem;
  background:
    linear-gradient(90deg, rgba(244, 247, 239, 0.75), transparent 68%),
    #fff;
}

.run-list--top li:first-child {
  border-color: #e4be46;
  background:
    linear-gradient(90deg, rgba(254, 243, 199, 0.88), transparent 78%),
    #fff;
}

.run-list li.run-list__item--mine {
  border-color: #38bdf8;
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.10), transparent 80%),
    #fff;
}

.run-list--top li.run-list__item--mine:first-child {
  border-color: #38bdf8;
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.12), transparent 80%),
    var(--field-soft);
}

.run-list__rank {
  display: inline-flex;
  width: 1.4rem;
  height: 1.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-bg);
  color: var(--soft-muted);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.run-list--top li:first-child .run-list__rank {
  border-color: #e4be46;
  background: linear-gradient(135deg, #fef3c7, #fff 58%, #fde68a);
  color: #422006;
}

.run-list__score {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
}

.run-list__score strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
}

.run-list__score small {
  color: var(--soft-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.run-list__time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1.2;
  white-space: nowrap;
}

.recent-runs {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.recent-runs h3 {
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.2;
}

.plain-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.note-panel .plain-list {
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.note-panel .plain-list li {
  padding-left: 0.2rem;
}

.source-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.source-list a {
  overflow-wrap: anywhere;
}

.draft-alert {
  margin-bottom: 1rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line-strong);
  border-bottom-width: 4px;
  border-radius: 8px;
  background: var(--field-soft);
  color: var(--field-deep);
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
}

.note-panel h2,
.result-panel h2 {
  margin-bottom: 0.65rem;
}

.note-panel p + p {
  margin-top: 0.8rem;
}

@media (prefers-reduced-motion: no-preference) {
  .reward-card {
    animation: quiz-rise 440ms ease both;
  }

  .sport-streak-card {
    animation: quiz-rise 440ms ease both;
  }

  .mistake-result-card {
    animation: quiz-rise 440ms ease both;
  }

  .reward-card__burst {
    animation: reward-badge-arrive 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .reward-card--major::before {
    animation: reward-shine 980ms 140ms ease both;
  }

  .reward-card--major .reward-card__burst {
    animation: reward-badge-major 760ms cubic-bezier(0.18, 0.9, 0.2, 1.1) both;
  }

  .reward-card__confetti span {
    animation: reward-confetti 820ms ease-out both;
  }

  .reward-card--major .reward-card__confetti span {
    animation-duration: 1280ms;
  }

  .reward-card__confetti span:nth-child(2n) {
    animation-delay: 70ms;
  }

  .reward-card__confetti span:nth-child(3n) {
    animation-delay: 130ms;
  }

  .reward-card__confetti span:nth-child(4n) {
    animation-delay: 190ms;
  }

  .level-up-card {
    animation: level-up-rise 460ms ease both;
  }

  .level-up-card__mark {
    animation: level-up-pop 640ms cubic-bezier(0.18, 0.9, 0.2, 1.1) both;
  }

  .answer-slot--just-filled {
    animation: quiz-pop 520ms ease, reward-slot-hit 680ms ease;
  }

  .quiz-item--just-answered .choice--selected {
    animation: choice-lock 520ms ease;
  }

  .quiz-stat--just-hit {
    animation: streak-hit 520ms ease;
  }
}

@keyframes quiz-pop {
  0% {
    transform: scale(0.985);
  }

  45% {
    transform: scale(1.012);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes reward-badge-arrive {
  0% {
    opacity: 0;
    transform: translateY(0.35rem) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reward-badge-major {
  0% {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.9) rotate(-2deg);
  }

  52% {
    opacity: 1;
    transform: translateY(-0.12rem) scale(1.055) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes level-up-rise {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes level-up-pop {
  0% {
    opacity: 0;
    transform: scale(0.84) rotate(-3deg);
  }

  55% {
    opacity: 1;
    transform: scale(1.08) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes reward-shine {
  0% {
    opacity: 0;
    transform: translateX(-70%);
  }

  35% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translateX(82%);
  }
}

@keyframes reward-slot-hit {
  0% {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }

  45% {
    box-shadow: 0 0 0 0.22rem rgba(34, 197, 94, 0.16);
  }

  100% {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes reward-confetti {
  0% {
    opacity: 0;
    transform: translate3d(0, -0.35rem, 0) rotate(0deg) scale(0.72);
  }

  18% {
    opacity: 0.9;
  }

  74% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-dx), var(--confetti-dy), 0) rotate(var(--confetti-rotate)) scale(1);
  }
}

@keyframes choice-lock {
  0% {
    transform: scale(0.992);
  }

  48% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes streak-hit {
  0% {
    color: inherit;
    transform: scale(1);
  }

  42% {
    color: #facc15;
    transform: scale(1.22);
  }

  100% {
    color: inherit;
    transform: scale(1);
  }
}

@keyframes quiz-rise {
  0% {
    opacity: 0;
    transform: translateY(0.25rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .progress-card__stats,
  .level-up-card__stats,
  .sport-streak-card__stats,
  .mistake-result-card__stats,
  .smart-review-result__stats,
  .smart-review-item__answers,
  .locker-scoreboard__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-header {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .page-header--with-scene {
    gap: 0.75rem;
  }

  .page-header__scene {
    max-width: none;
    border-bottom-width: 3px;
    border-radius: 0.6rem;
  }

  .page-header__icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .site-nav__daily-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.18rem 0.42rem;
    padding-top: 0.4rem;
    padding-bottom: 0.42rem;
  }

  .site-nav__daily-link small {
    grid-column: 1 / 3;
    white-space: normal;
  }

  .site-nav__daily-action {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .reward-card {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .reward-card__art {
    min-height: 7.4rem;
  }

  .reward-card__burst {
    max-width: 8rem;
  }

  .reward-card__badge {
    top: 56%;
    width: min(5.5rem, 64%);
  }

  .reward-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reward-card__stats div {
    min-width: 0;
  }

  .level-up-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .level-up-card__mark {
    width: 3.8rem;
    height: 3.8rem;
  }

  .progress-card__stats,
  .level-up-card__stats {
    grid-template-columns: 1fr;
  }

  .daily-result-card {
    grid-template-columns: 1fr;
  }

  .daily-result-card__stats {
    grid-template-columns: 1fr;
  }

  .daily-result-card__action {
    width: fit-content;
  }

  .locker-status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-challenge {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .daily-challenge__media,
  .daily-challenge__icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .daily-challenge__stats,
  .replay-challenge__stats,
  .comeback-result-card__stats,
  .stage-reward-card__stats,
  .sport-streak-card__stats,
  .mistake-result-card__stats,
  .smart-review-result__stats,
  .smart-review-item__answers {
    grid-template-columns: 1fr;
  }

  .smart-review-bank-card {
    grid-template-columns: 1fr;
  }

  .smart-review-bank-card a {
    white-space: normal;
  }

  .mistake-memory-card {
    grid-template-columns: 1fr;
  }

  .mistake-memory-card__meta {
    justify-items: start;
  }

  .locker-scoreboard__stats {
    grid-template-columns: 1fr;
  }

  .locker-target-card__meta {
    display: grid;
    justify-items: start;
  }

  .trophy-shelf {
    grid-template-columns: 1fr;
  }

  .locker-stage-list {
    grid-template-columns: 1fr;
  }

  .locker-sport-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .locker-sport-row__streak {
    grid-template-columns: 1fr;
  }

  .locker-sport-row__streak small {
    text-align: center;
  }

  .locker-sport-row__head {
    display: grid;
    justify-items: center;
  }

  .locker-sport-row__next {
    justify-content: center;
  }

  .lede {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .quiz-item,
  fieldset.quiz-item {
    padding-right: 0.85rem;
    padding-left: 2.75rem;
  }

  .quiz-playbar {
    gap: 0.4rem;
    padding: 0.65rem 0.8rem;
  }

  .quiz-playbar strong {
    font-size: 0.9rem;
  }

  .quiz-playbar__lead p {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .quiz-playbar__stats {
    gap: 0.25rem;
  }

  .quiz-playbar__stats span {
    min-height: 1.55rem;
    padding: 0.2rem 0.42rem;
    font-size: 0.68rem;
  }

  .quiz-live-status {
    min-height: 0;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .quiz-stepper {
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
  }

  .quiz-stepper__dots {
    gap: 0.25rem;
  }

  .quiz-stepper__dots button {
    width: auto;
    min-height: 1.35rem;
  }

  .quiz-item::before {
    left: 0.85rem;
    width: 1.35rem;
    height: 1.35rem;
  }

  .quiz-form__actions {
    padding-left: 2.75rem;
  }

  .hub-card,
  .card {
    min-height: 0;
  }

  .quiz-card__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .hub-card__icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .result-summary {
    display: grid;
  }

  .scoreboard {
    justify-items: start;
  }
}

@media (min-width: 640px) {
  .page-header--with-scene {
    grid-template-columns: minmax(0, 0.95fr) minmax(17rem, 0.82fr);
    gap: 1.35rem;
    align-items: center;
    justify-items: stretch;
    padding-top: 1.35rem;
  }

  .page-header--with-scene .page-header__copy {
    justify-items: start;
  }

  .page-header--with-scene .page-header__scene {
    justify-self: end;
  }

  .page-header--quiz.page-header--with-scene {
    grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.72fr);
  }

  .page-header--quiz .page-header__scene {
    aspect-ratio: 3 / 2;
  }

  .quiz-form--stepped .quiz-playbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .quiz-form--stepped .quiz-playbar__stats {
    justify-content: end;
  }

  .quiz-form--stepped .quiz-progress {
    grid-column: 1 / -1;
  }

  .quiz-form--stepped .quiz-stepper {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .quiz-form--stepped .quiz-stepper__dots {
    justify-content: end;
  }

  .weekly-quest-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weekly-quest-list--result {
    grid-template-columns: 1fr;
  }

  .site-nav__primary {
    gap: 0.35rem;
  }

  .site-nav__primary a {
    padding-right: 0.65rem;
    padding-left: 0.5rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-directory__head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .category-directory__head a {
    justify-self: end;
    margin-top: 0.2rem;
  }

  .hub-grid,
  .directory-columns,
  .copy-grid,
  .faq-list,
  .guide-list,
  .quick-start-grid,
  .lane-grid,
  .mode-grid,
  .playbook-grid,
  .hub-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-strip,
  .quiz-play-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quiz-play-card {
    padding: 0.25rem 0.8rem;
  }

  .quiz-play-card:first-child {
    padding-left: 0;
  }

  .quiz-play-card + .quiz-play-card {
    margin-top: 0;
    padding-top: 0.25rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .stat-strip div {
    padding: 0.35rem 1rem;
  }

  .stat-strip div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .guide-list {
    gap: 0 1rem;
  }

  .hub-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .answer-review__answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sport-path-progress {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 14rem) auto;
    align-items: center;
  }

  .sport-path-progress > a {
    justify-self: end;
  }

  .sport-path-stage {
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  }

  .sport-path-stage__meta {
    grid-column: auto;
    display: grid;
    justify-items: end;
    text-align: right;
  }

  .answer-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quiz-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-nav__inner {
    padding-right: 0;
    padding-left: 0;
  }

  .breadcrumbs:has(+ .page-header--quiz) {
    width: min(calc(100vw - 2rem), 64rem);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .page-header--quiz {
    width: min(calc(100vw - 2rem), 64rem);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .quiz-layout {
    width: min(calc(100vw - 2rem), 64rem);
    margin-left: 50%;
    transform: translateX(-50%);
    grid-template-columns: minmax(0, 1fr) 18rem;
  }

  .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-masonry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page__container {
    padding-right: 0;
    padding-left: 0;
  }
}
