:root {
  --ink: #0b0c0d;
  --ink-soft: #111315;
  --panel: #151719;
  --panel-raised: #1b1d20;
  --paper: #f2eee6;
  --paper-muted: #b8b2a7;
  --paper-dim: #8f8a80;
  --line: rgba(242, 238, 230, 0.14);
  --line-strong: rgba(242, 238, 230, 0.26);
  --gold: #b89b64;
  --gold-bright: #d6bd87;
  --danger: #bd6c5d;
  --serif: "Bodoni 72", "Didot", "Songti SC", "STSong", "Times New Roman", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1720px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 8%, rgba(184, 155, 100, 0.09), transparent 30%),
    radial-gradient(circle at 12% 54%, rgba(255, 255, 255, 0.035), transparent 34%),
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 50;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.025;
  pointer-events: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

::selection {
  color: var(--ink);
  background: var(--gold-bright);
}

:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(22px, 4.4vw, 78px);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.wordmark span {
  color: var(--gold);
}

.header-note {
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing {
  padding-bottom: 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 108px);
  min-height: min(710px, calc(100vh - 88px));
  padding: clamp(56px, 7vw, 104px) 0 clamp(58px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  margin: 24px 0 30px;
  font-family: var(--serif);
  font-size: clamp(58px, 7.4vw, 120px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero h1 em {
  color: var(--gold-bright);
  font-style: normal;
}

.hero-lede {
  max-width: 430px;
  margin: 0;
  color: var(--paper-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats span {
  position: relative;
  padding: 15px 26px 15px 0;
  color: var(--paper-dim);
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-stats span + span {
  margin-left: 26px;
}

.hero-stats span + span::before {
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0e0f;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 13, 0.06) 0%, rgba(11, 12, 13, 0.12) 46%, rgba(11, 12, 13, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 12, 13, 0.4), transparent 35%);
  content: "";
}

.hero-visual::after {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 11px;
  height: 11px;
  border-top: 1px solid var(--gold-bright);
  border-right: 1px solid var(--gold-bright);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.42) contrast(1.05) brightness(0.82);
  transform: scale(1.015);
}

.hero-visual-caption {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hero-visual-caption strong {
  display: block;
  max-width: 260px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-visual-caption span {
  color: var(--paper-dim);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.resume-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 62px;
  padding: 15px 18px;
  border: 1px solid rgba(184, 155, 100, 0.42);
  background: rgba(184, 155, 100, 0.055);
}

.resume-strip-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
}

.resume-strip strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.resume-strip small {
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.text-button span {
  font-size: 18px;
  line-height: 1;
  transition: transform 240ms var(--ease-out);
}

.text-button:hover span {
  transform: translateX(4px);
}

.categories {
  padding-top: clamp(18px, 2vw, 32px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p {
  max-width: 280px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  background: rgba(17, 19, 21, 0.6);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.category-media {
  display: block;
  position: relative;
  height: 232px;
  overflow: hidden;
  background: #0e0f10;
}

.category-card--wide {
  grid-column: span 2;
  min-height: 330px;
  flex-direction: row;
}

.category-card--wide .category-media {
  flex: 0 0 54%;
  width: 54%;
  height: auto;
  min-height: 330px;
}

.category-card--wide .category-body {
  width: 46%;
  padding: 24px 22px 20px;
}

.category-card--wide h3 {
  margin-top: 16px;
  font-size: clamp(34px, 3.2vw, 50px);
}

.category-card--wide .category-description {
  max-width: 280px;
}

.category-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.04), rgba(11, 12, 13, 0.15) 55%, rgba(17, 19, 21, 0.98) 100%);
  content: "";
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4) contrast(1.04) brightness(0.78);
  transition: transform 800ms var(--ease-out), filter 500ms ease;
}

.category-card:hover .category-media img {
  filter: saturate(0.5) contrast(1.04) brightness(0.86);
  transform: scale(1.045);
}

.category-roman {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 18px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.category-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 20px;
}

.category-kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-card h3 {
  margin: 13px 0 8px;
  font-family: var(--serif);
  font-size: clamp(23px, 1.9vw, 30px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.category-description {
  margin: 0;
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.65;
}

.category-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: var(--paper-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.category-arrow {
  color: var(--gold-bright);
  font-size: 17px;
  transition: transform 260ms var(--ease-out);
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
}

.category-card--note {
  grid-column: span 2;
  min-height: 330px;
  justify-content: space-between;
  padding: 22px;
  cursor: default;
  background: linear-gradient(145deg, rgba(184, 155, 100, 0.11), rgba(17, 19, 21, 0.4) 46%, #101213);
}

.category-card--note:hover {
  background: linear-gradient(145deg, rgba(184, 155, 100, 0.14), rgba(17, 19, 21, 0.4) 46%, #101213);
}

.note-number {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.category-card--note h3 {
  max-width: 250px;
  margin: auto 0 18px;
  font-size: clamp(28px, 2.4vw, 38px);
}

.category-card--note p {
  max-width: 260px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.8;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.tournament-view,
.champion-view {
  min-height: 100vh;
  padding-bottom: 30px;
}

.tournament-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.tournament-topbar > :last-child {
  justify-self: end;
}

.round-state {
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.round-state strong {
  color: var(--paper);
  font-weight: 500;
}

.tournament-main {
  display: flex;
  min-height: calc(100vh - 154px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vh, 58px) 0 18px;
}

.progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.progress-label {
  color: var(--paper-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-count {
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.progress-track {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold-bright);
  transition: width 500ms var(--ease-out);
}

.duel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.8vw, 30px);
  margin: clamp(22px, 3.4vh, 46px) 0 clamp(20px, 3vh, 36px);
}

.choice-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--panel);
  cursor: pointer;
  opacity: 1;
  overflow: hidden;
  text-align: left;
  transform: translateY(0) scale(1);
  transition:
    opacity 240ms ease,
    transform 420ms var(--ease-out),
    border-color 260ms ease,
    background 260ms ease;
}

.choice-card:hover {
  border-color: rgba(214, 189, 135, 0.58);
  background: var(--panel-raised);
  transform: translateY(-3px);
}

.choice-card.is-selected {
  border-color: var(--gold-bright);
  transform: scale(0.985);
}

.choice-card.is-dimmed {
  opacity: 0.3;
  transform: scale(0.975);
}

.choice-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0b0c;
}

.choice-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 13, 0.1) 0%, transparent 35%, rgba(11, 12, 13, 0.5) 100%),
    linear-gradient(90deg, rgba(11, 12, 13, 0.12), transparent 40%);
  content: "";
  pointer-events: none;
}

.choice-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.04) brightness(0.88);
  transition: transform 850ms var(--ease-out), filter 400ms ease;
}

.choice-card:hover .choice-visual img {
  filter: saturate(0.74) contrast(1.04) brightness(0.93);
  transform: scale(1.018);
}

.choice-index,
.choice-arrow {
  position: absolute;
  z-index: 1;
  top: 17px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(242, 238, 230, 0.32);
  border-radius: 50%;
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.choice-index {
  left: 17px;
  background: rgba(11, 12, 13, 0.2);
  backdrop-filter: blur(8px);
}

.choice-arrow {
  right: 17px;
  color: var(--gold-bright);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.choice-card:hover .choice-arrow,
.choice-card:focus-visible .choice-arrow {
  opacity: 1;
  transform: translateX(0);
}

.choice-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 17px 20px 20px;
  border-top: 1px solid var(--line);
}

.choice-brand {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.choice-model {
  display: block;
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 46px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.choice-trim {
  display: block;
  max-width: 220px;
  margin-top: 8px;
  color: #aaa49a;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: right;
}

.versus {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  justify-self: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--paper-dim);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.tournament-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--paper-dim);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 180ms ease;
}

.action-button:hover:not(:disabled) {
  color: var(--paper);
}

.action-button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.action-button .shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  order: -1;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 11px;
}

.hint-copy {
  margin: 0;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
}

.tournament-footer-note {
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.champion-view {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.champion-view::before {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -8vw;
  width: 52vw;
  height: 52vw;
  max-width: 780px;
  max-height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 100, 0.13), transparent 67%);
  content: "";
  pointer-events: none;
}

.champion-main {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(320px, 0.93fr);
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 50px 0;
}

.champion-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.champion-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(11, 12, 13, 0.55));
  content: "";
  pointer-events: none;
}

.champion-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.03) brightness(0.9);
}

.champion-number {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 14px;
  color: rgba(242, 238, 230, 0.68);
  font-family: var(--serif);
  font-size: clamp(70px, 10vw, 150px);
  line-height: 0.75;
}

.champion-copy {
  position: relative;
}

.champion-copy h1 {
  margin: 22px 0 20px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.8vw, 108px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.champion-brand {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.champion-trim {
  max-width: 400px;
  margin: 0;
  color: var(--paper-muted);
  font-size: 13px;
  letter-spacing: 0.035em;
  line-height: 1.8;
}

.champion-note {
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 13px;
  line-height: 1.8;
}

.champion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button--solid {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.button--solid:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.button--ghost {
  color: var(--paper);
  background: transparent;
}

.button--ghost:hover {
  border-color: var(--paper-muted);
  background: rgba(242, 238, 230, 0.06);
}

.confirm-dialog {
  width: min(92vw, 460px);
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  background: var(--panel);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.65);
}

.confirm-dialog::backdrop {
  background: rgba(4, 5, 6, 0.78);
  backdrop-filter: blur(8px);
}

.confirm-panel {
  padding: 28px;
}

.confirm-panel h2 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.confirm-copy {
  margin: 0;
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.8;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.noscript-note {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--paper);
  background: var(--ink);
  font-size: 16px;
}

@media (max-width: 1180px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .category-card--note {
    min-height: 360px;
  }

  .category-media {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .app-shell {
    padding: 0 22px;
  }

  .header-note {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding-top: 60px;
  }

  .hero h1 {
    font-size: clamp(56px, 13vw, 98px);
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-visual img {
    min-height: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
    text-align: left;
  }

  .tournament-topbar {
    min-height: 74px;
  }

  .duel-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .versus {
    width: 46px;
    height: 46px;
    margin: -4px 0;
  }

  .choice-model {
    font-size: clamp(28px, 7vw, 42px);
  }

  .champion-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0 56px;
  }

  .champion-main .champion-media {
    order: 2;
  }

  .champion-copy {
    order: 1;
  }

  .champion-copy h1 {
    font-size: clamp(58px, 15vw, 100px);
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding: 0 16px;
  }

  .site-header {
    min-height: 70px;
  }

  .hero {
    gap: 30px;
    padding: 48px 0 62px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(50px, 16.6vw, 78px);
  }

  .hero-lede {
    font-size: 14px;
  }

  .hero-stats {
    margin-top: 30px;
  }

  .hero-stats span {
    padding-right: 16px;
  }

  .hero-stats span + span {
    margin-left: 16px;
  }

  .hero-stats span + span::before {
    left: -8px;
  }

  .hero-visual {
    aspect-ratio: 1.15;
  }

  .hero-visual-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hero-visual-caption strong {
    max-width: 180px;
    font-size: 26px;
  }

  .resume-strip {
    display: block;
    margin-bottom: 44px;
  }

  .resume-strip .text-button {
    margin-top: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card--note {
    min-height: 350px;
  }

  .category-media {
    height: 205px;
  }

  .landing-footer {
    display: block;
  }

  .landing-footer span {
    display: block;
    margin-top: 7px;
  }

  .tournament-topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .tournament-topbar .round-state {
    display: none;
  }

  .tournament-main {
    min-height: calc(100vh - 120px);
    padding-top: 22px;
  }

  .duel-grid {
    margin-top: 22px;
    margin-bottom: 20px;
  }

  .choice-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 15px 16px;
  }

  .choice-trim {
    max-width: none;
    margin-top: 0;
    text-align: left;
  }

  .choice-index,
  .choice-arrow {
    top: 12px;
  }

  .choice-index {
    left: 12px;
  }

  .choice-arrow {
    right: 12px;
  }

  .tournament-actions {
    gap: 10px;
  }

  .hint-copy {
    display: none;
  }

  .tournament-footer-note {
    display: none;
  }

  .champion-copy h1 {
    margin-top: 16px;
    font-size: clamp(52px, 17vw, 82px);
  }

  .champion-actions {
    margin-top: 26px;
  }

  .champion-actions .button {
    flex: 1;
    min-width: 145px;
  }

  .confirm-panel {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .category-card--wide,
  .category-card--note {
    grid-column: auto;
    min-height: 350px;
  }

  .category-card--wide {
    flex-direction: column;
  }

  .category-card--wide .category-media {
    flex: none;
    width: 100%;
    height: 205px;
    min-height: 205px;
  }

  .category-card--wide .category-body {
    width: 100%;
    padding: 18px 18px 20px;
  }

  .action-button {
    font-size: 12px;
  }

  .choice-brand {
    font-size: 11px;
  }

  .choice-trim {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .tournament-main {
    min-height: calc(100vh - 84px);
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .duel-grid {
    margin: 16px 0 14px;
  }

  .choice-visual {
    aspect-ratio: 16 / 10;
  }

  .choice-meta {
    padding: 12px 17px 14px;
  }

  .choice-model {
    font-size: clamp(26px, 2.25vw, 38px);
  }

  .choice-trim {
    margin-top: 5px;
    font-size: 11px;
  }

  .tournament-actions {
    padding-top: 12px;
  }
}

/* Legibility pass: interface text is intentionally larger than decorative labels. */
.wordmark {
  font-size: 18px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.header-note {
  font-size: 12px;
}

.hero-stats span {
  font-size: 14px;
}

.hero-visual-caption span {
  font-size: 11px;
}

.resume-strip small {
  font-size: 14px;
  line-height: 1.6;
}

.text-button {
  font-size: 16px;
  font-weight: 500;
}

.category-kicker {
  font-size: 13px;
}

.category-description {
  color: var(--paper-muted);
  font-size: 15px;
}

.category-foot {
  color: var(--paper-muted);
  font-size: 14px;
}

.category-card--note p {
  color: var(--paper-muted);
  font-size: 15px;
}

.landing-footer {
  font-size: 12px;
}

.round-state {
  color: var(--paper-muted);
  font-size: 15px;
}

.progress-label {
  color: var(--paper);
  font-size: 15px;
}

.progress-count {
  color: var(--paper-muted);
  font-size: 15px;
}

.choice-index {
  font-size: 11px;
}

.choice-brand {
  font-size: 13px;
}

.choice-model {
  font-size: clamp(31px, 2.9vw, 50px);
}

.choice-trim {
  color: #c3bdb2;
  font-size: 14px;
}

.action-button {
  padding: 8px 0;
  color: var(--paper-muted);
  font-size: 16px;
  font-weight: 500;
}

.action-button:disabled {
  opacity: 0.5;
}

.action-button .shortcut {
  min-width: 26px;
  height: 24px;
  font-size: 12px;
}

.hint-copy {
  color: var(--paper-muted);
  font-size: 15px;
}

.tournament-footer-note {
  font-size: 13px;
}

.champion-brand {
  font-size: 14px;
}

.champion-trim {
  font-size: 15px;
}

.champion-note {
  color: var(--paper-muted);
  font-size: 15px;
}

.button {
  min-height: 50px;
  font-size: 15px;
  font-weight: 500;
}

.confirm-copy {
  font-size: 16px;
}

@media (max-width: 620px) {
  .eyebrow {
    font-size: 12px;
  }

  .hero-stats span {
    font-size: 13px;
  }

  .category-description,
  .category-foot {
    font-size: 14px;
  }

  .round-state {
    font-size: 14px;
  }

  .progress-label,
  .progress-count {
    font-size: 14px;
  }

  .action-button {
    font-size: 16px;
  }

  .choice-brand {
    font-size: 13px;
  }

  .choice-trim {
    font-size: 14px;
  }

  .hint-copy {
    font-size: 14px;
  }
}
