/* ══════════════════════════════════════════════════════════════
   TMT — Stage Ruleset
   Step 1: static layout. Hooks for step 2 (dock hover / ban)
   are marked with "STEP 2" comments.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Gold ramp */
  --gold-100: #fff3c8;
  --gold-200: #ffe191;
  --gold-300: #f5c73f;
  --gold-400: #e0a91b;
  --gold-500: #b87f10;
  --gold-600: #7c530a;

  /* Surfaces */
  --ink-900: #050508;
  --ink-800: #0a0a10;
  --ink-700: #101018;
  --ink-600: #16161f;

  --text:      #f2efe6;
  --text-dim:  #b9b2a2;

  --edge:       var(--gold-400);
  --edge-soft:  rgba(224, 169, 27, .38);

  --gold-sheen: linear-gradient(180deg, var(--gold-100) 0%, var(--gold-300) 38%, var(--gold-400) 62%, var(--gold-200) 100%);

  --r-sm: 4px;
  --r-md: 7px;
  --r-lg: 10px;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gap: clamp(12px, 1.4vw, 20px);
  --corner: clamp(70px, 10vw, 150px);
  --ban-red: #ff4d4d;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* max() con los safe-area: en pantalla completa el contenido no se mete
     debajo del notch ni de la barra de gestos. */
  padding-top: max(clamp(16px, 3vw, 40px), env(safe-area-inset-top));
  padding-bottom: max(clamp(16px, 3vw, 40px), env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(224, 169, 27, .10), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(224, 169, 27, .05), transparent 65%),
    linear-gradient(180deg, #08080c 0%, #05050a 55%, #08080c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  /* Safety net: the dock scales cards past the panel edge; never let that
     turn into a horizontal scrollbar. */
  overflow-x: clip;

  /* Se comporta como app, no como documento: arrastrar una imagen o
     seleccionar texto cancelaba el clic sobre las tarjetas. */
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Instalada, el pull-to-refresh no debería recargar la app. */
  overscroll-behavior-y: contain;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

button { touch-action: manipulation; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.page {
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.4vw, 34px);
}

/* ══ Header ═══════════════════════════════════════════════════ */

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 4.4vw, 72px);
  padding: clamp(14px, 2vw, 26px) clamp(18px, 3.5vw, 52px);
  background:
    linear-gradient(180deg, #14141c 0%, #0a0a11 100%);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-lg);
}

/* Left corner flash, like the printed ruleset. The right one is the ban
   control — see .ban-corner. */
.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--corner);
  aspect-ratio: 1;
  background: var(--gold-sheen);
  border-top-left-radius: var(--r-lg);
  opacity: .55;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.topbar__logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.topbar__logo--smash {
  height: clamp(48px, 6.4vw, 88px);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7));
}

/* TMT lockup. El wordmark viene dentro del PNG, con las letras en negro y un
   contorno marrón-dorado: sobre el panel oscuro se pierden. El halo claro de
   los dos primeros drop-shadow les dibuja un borde luminoso y las despega del
   fondo sin tocar la imagen; el tercero es la sombra de apoyo. */
.brand__mark {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: clamp(62px, 7.8vw, 106px);
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 242, 205, .95))
    drop-shadow(0 0 4px rgba(245, 199, 63, .55))
    drop-shadow(0 2px 7px rgba(0, 0, 0, .75));
}

.topbar__rule {
  width: 1px;
  align-self: stretch;
  min-height: 56px;
  background: linear-gradient(180deg, transparent, var(--gold-400) 18%, var(--gold-200) 50%, var(--gold-400) 82%, transparent);
  position: relative;
  z-index: 1;
}

.topbar__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.topbar__title-a {
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.55);
}
.topbar__title-b {
  background: var(--gold-sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.5));
}

/* ══ Panels + ribbon headings ═════════════════════════════════ */

.panel {
  position: relative;
  border: 2px solid var(--edge);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20,20,28,.92), rgba(8,8,13,.92));
  padding: clamp(32px, 3.4vw, 44px) clamp(14px, 1.8vw, 24px) clamp(16px, 2vw, 24px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 18px 40px -26px #000;
}

.ribbon {
  position: absolute;
  top: clamp(-20px, -1.6vw, -14px);
  left: -2px;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  height: clamp(34px, 3.6vw, 46px);
  padding: 0 clamp(26px, 3vw, 44px) 0 clamp(10px, 1.2vw, 16px);
  background: var(--gold-sheen);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.9);
}

.ribbon__mark {
  width: clamp(20px, 2.1vw, 27px);
  height: clamp(20px, 2.1vw, 27px);
  fill: var(--ink-900);
  flex: none;
}

.ribbon__text {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.1vw, 1.85rem);
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: var(--ink-900);
  white-space: nowrap;
}

/* ══ Stage cards ══════════════════════════════════════════════ */

.stage-grid {
  /* offsetParent for the cards, so the dock can read their layout position
     without transforms feeding back into the measurement. */
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
}
.stage-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stage-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stage {
  /* STEP 2: dock magnification will animate transform / z-index here */
  position: relative;
}

.stage__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 3px;
  border: 2px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--ink-900);
  font: inherit;
  color: inherit;
  cursor: default;
  /* Compone con el transform del dock, que va en .stage (el <li>). */
  transform: scale(var(--state-scale, 1));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.8), 0 10px 24px -18px #000;
  transition: border-color .22s ease, box-shadow .22s ease,
              transform .3s cubic-bezier(.2, .9, .3, 1.1);
}

.stage__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #0b0b12;
  transition: filter .25s ease;
}

.stage-grid--3 .stage__img { aspect-ratio: 12 / 5; }

.stage__name {
  display: block;
  padding: clamp(6px, .8vw, 10px) 6px calc(clamp(6px, .8vw, 10px) - 2px);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(.78rem, 1.05vw, 1.02rem);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gold-100);
  text-wrap: balance;
}

/* ══ Ban mode: corner control, menu, status bar ═══════════════ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The top-right gold corner doubles as the ban-mode trigger. */
.ban-corner {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: var(--corner);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-top-right-radius: var(--r-lg);
  background: var(--gold-sheen);
  opacity: .55;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease;
}

.ban-corner:hover,
.ban-corner:focus-visible,
.ban-corner.is-open,
.ban-corner.is-active {
  opacity: 1;
  filter: brightness(1.12) drop-shadow(0 0 16px rgba(245, 199, 63, .6));
}
.ban-corner:focus { outline: none; }

.ban-corner__hint {
  position: absolute;
  top: clamp(12px, 1.6vw, 20px);
  right: calc(var(--corner) * .98);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--gold-300);
  border-radius: 999px;
  background: rgba(6, 6, 10, .94);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(.7rem, .95vw, .84rem);
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-100);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ban-corner:hover ~ .ban-corner__hint,
.ban-corner:focus-visible ~ .ban-corner__hint,
.ban-corner.is-open ~ .ban-corner__hint {
  opacity: 1;
  transform: none;
}

.ban-menu {
  position: absolute;
  top: calc(var(--corner) * .56);
  right: clamp(10px, 1.4vw, 18px);
  z-index: 5;
  display: grid;
  gap: 6px;
  min-width: 200px;
  padding: 10px;
  border: 1px solid var(--gold-400);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #191921, #0a0a10);
  box-shadow: 0 24px 54px -20px #000;
}
.ban-menu[hidden] { display: none; }

.ban-menu__title {
  margin: 2px 4px 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.ban-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.ban-menu__item i { font-size: 1.05rem; color: var(--gold-200); }
.ban-menu__item:hover,
.ban-menu__item:focus-visible {
  background: rgba(245, 199, 63, .14);
  border-color: var(--gold-300);
}
.ban-menu__item[aria-checked="true"] {
  background: var(--gold-sheen);
  border-color: var(--gold-200);
  color: var(--ink-900);
}
.ban-menu__item[aria-checked="true"] i { color: var(--ink-900); }

.banbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(8px, 1.1vw, 14px);
  margin-top: calc(clamp(22px, 2.4vw, 34px) * -.5);
}
.banbar[hidden] { display: none; }

.banbar__mark { width: 18px; height: 18px; fill: var(--gold-300); }

.banbar__mode {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(.88rem, 1.2vw, 1.05rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-100);
}

.banbar__count {
  font-size: clamp(.76rem, 1vw, .88rem);
  color: var(--text-dim);
}
.banbar__count b { color: var(--ban-red); font-weight: 700; }
.banbar__count.is-pick { color: var(--gold-100); }
.banbar__count.is-pick b { color: var(--gold-100); }

.banbar__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--gold-400);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(.76rem, 1vw, .9rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-100);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.banbar__reset:hover,
.banbar__reset:focus-visible {
  background: var(--gold-sheen);
  color: var(--ink-900);
}

/* ══ Stage states: dock, locked, banned ═══════════════════════ */

.stage-grid.is-settling .stage {
  transition: transform .26s cubic-bezier(.2, .8, .3, 1);
}

.is-banmode .stage__btn[aria-disabled="false"] { cursor: pointer; }
.is-banmode .stage__btn:focus-visible {
  outline: 2px solid var(--gold-100);
  outline-offset: 3px;
}

.stage__veil {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--r-md) - 2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.stage__x {
  /* An <svg> with only a viewBox is a replaced element: `inset` alone leaves it
     at its intrinsic size and the cross gets clipped. Size it explicitly. */
  position: absolute;
  top: 5px;
  left: 5px;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  pointer-events: none;
}

/* La X se dibuja: cada diagonal se revela con stroke-dashoffset.
   pathLength="100" normaliza el largo real del trazo, así que un
   stroke-dasharray de 100 cubre la diagonal completa sea cual sea el tamaño
   de la tarjeta. Clave: nada de vector-effect: non-scaling-stroke acá — mide
   las rayas en píxeles de pantalla y rompe la normalización de pathLength. */
.stage__x line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .32s cubic-bezier(.65, 0, .35, 1);
}

.stage.is-locked .stage__x line,
.stage.is-banned .stage__x line { stroke-dashoffset: 0; }

/* La segunda diagonal entra apenas después: se lee como un trazo y luego el otro. */
.stage.is-locked .stage__x line:nth-of-type(2),
.stage.is-banned .stage__x line:nth-of-type(2) { transition-delay: .13s; }

/* Out of play for this mode — counterpicks under "Starters only" */
.stage.is-locked .stage__veil { opacity: 1; background: rgba(6, 6, 10, .66); }
.stage.is-locked .stage__x line { stroke: rgba(226, 222, 212, .5); }
.stage.is-locked .stage__img { filter: grayscale(1) brightness(.5); }
.stage.is-locked .stage__btn { border-color: rgba(224, 169, 27, .3); }
.stage.is-locked .stage__name { color: var(--text-dim); }

/* Banned */
.stage.is-banned .stage__veil { opacity: 1; background: rgba(178, 22, 22, .42); }
.stage.is-banned .stage__x line {
  stroke: var(--ban-red);
  filter: drop-shadow(0 0 6px rgba(255, 50, 50, .65));
}
.stage.is-banned .stage__img { filter: grayscale(.45) brightness(.58); }
.stage.is-banned .stage__btn {
  border-color: var(--ban-red);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8), 0 0 22px -5px rgba(255, 60, 60, .65);
}
.stage.is-banned .stage__name {
  color: #ffd6d6;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 90, 90, .9);
  text-decoration-thickness: 2px;
}

/* Con los 3 bans hechos, lo que queda es a dónde se puede ir: borde brillante
   y un punto más grande, nunca apagado. */
.stage.is-candidate .stage__btn {
  --state-scale: 1.045;
  border-color: var(--gold-100);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8), 0 0 22px -4px rgba(245, 199, 63, .55);
}
.stage.is-candidate .stage__img { filter: brightness(1.06) saturate(1.06); }
.stage.is-candidate .stage__name { color: #fff; }

/* El escenario elegido: más grande, resplandor propio y un brillo que
   recorre el borde en ciclo. */
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.stage.is-picked {
  /* Por encima de los paneles vecinos: a esta escala los invade. */
  z-index: 20;
}

.stage.is-picked .stage__btn {
  --state-scale: 1.65;
  border-color: var(--gold-100);
  animation: pick-glow 2.2s ease-in-out infinite;
}
.stage.is-picked .stage__img { filter: brightness(1.12) saturate(1.12); }
.stage.is-picked .stage__name { color: var(--gold-100); }

.stage__btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  padding: 2px;                       /* grosor del aro */
  border-radius: calc(var(--r-md) + 5px);
  background: conic-gradient(from var(--spin),
      transparent 0turn .70turn,
      rgba(255, 243, 200, .3) .80turn,
      #fff8dc .92turn,
      #fff .96turn,
      rgba(255, 243, 200, .3) .99turn,
      transparent 1turn);
  /* Vacía el centro: queda sólo el aro. */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.stage.is-picked .stage__btn::after {
  opacity: 1;
  animation: ring-spin 2.4s linear infinite;
}

@keyframes ring-spin { to { --spin: 360deg; } }

@keyframes pick-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8), 0 0 24px -6px rgba(245, 199, 63, .65); }
  50%      { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8), 0 0 40px -4px rgba(255, 243, 200, .95); }
}

/* ══ Procedure panels ═════════════════════════════════════════ */

.procedures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.panel--procedure { display: flex; }

.flow {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
}

.flow__steps {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1vw, 14px);
  flex: 1 1 58%;
  min-width: 0;
}

.flow__arrow {
  flex: none;
  align-self: center;
  color: var(--gold-300);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(245,199,63,.35));
}

.step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px) clamp(8px, 1vw, 14px) clamp(12px, 1.4vw, 16px);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(28,28,38,.9), rgba(10,10,16,.9));
}

.step__num {
  position: absolute;
  top: clamp(-11px, -1vw, -9px);
  left: clamp(8px, 1vw, 12px);
  display: grid;
  place-items: center;
  width: clamp(22px, 2.3vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-sheen);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.85rem, 1.2vw, 1.05rem);
  line-height: 1;
  box-shadow: 0 0 0 2px var(--ink-900);
}

.step__icon {
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1;
  color: var(--gold-200);
}

.step__title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(.86rem, 1.25vw, 1.12rem);
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}

.step__body,
.step__note {
  margin: 0;
  font-size: clamp(.72rem, .95vw, .86rem);
  line-height: 1.32;
  color: var(--text-dim);
  text-wrap: pretty;
}
.step__body strong { color: var(--gold-100); font-weight: 700; }

.step__note {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--edge-soft);
  width: 100%;
  font-style: italic;
  font-size: clamp(.68rem, .88vw, .8rem);
}

/* ══ Outcomes ═════════════════════════════════════════════════ */

.outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 42%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(7px, .9vw, 11px);
}

.outcome {
  display: flex;
  align-items: center;
  gap: clamp(7px, .9vw, 11px);
  padding: clamp(8px, 1vw, 12px) clamp(9px, 1.1vw, 13px);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(28,28,38,.9), rgba(10,10,16,.9));
}

.outcome p {
  margin: 0;
  font-size: clamp(.72rem, .95vw, .86rem);
  line-height: 1.3;
  color: var(--text-dim);
  text-wrap: pretty;
}
.outcome strong { display: block; color: var(--gold-100); font-weight: 700; }

.outcome__icon {
  flex: none;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1;
}
.outcome--ban  .outcome__icon { color: var(--gold-200); }
.outcome--pick .outcome__icon { color: var(--gold-300); }

/* ══ Responsive ═══════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .procedures { grid-template-columns: 1fr; }
  .flow { flex-wrap: wrap; }
  .flow__steps { flex: 1 1 100%; }
  .outcomes { flex: 1 1 100%; }
  .flow__arrow--branch { display: none; }
}

@media (max-width: 860px) {
  .stage-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar { gap: 18px; }
  .topbar__rule { display: none; }
  .ban-corner__hint { display: none; }   /* chocaría con los logos */
  .topbar__title { align-items: center; text-align: center; width: 100%; }
}

@media (max-width: 620px) {
  /* Las grillas se quedan en 3 columnas hasta el móvil más angosto: los
     5 starters caen en 2 filas y los 3 counterpicks en 1, así que los ocho
     escenarios entran juntos en pantalla. Colapsar a 2 y después a 1 columna
     apilaba ocho tarjetas altas y obligaba a scrollear para compararlas, que
     es justo lo que hay que decidir de un vistazo.
     El banner 12/5 sólo funciona con la tarjeta ancha: a un tercio de un
     móvil quedaba una franja de ~30px, ilegible. Los counterpicks pasan al
     16/9 de los starters. */
  .stage-grid--3 .stage__img { aspect-ratio: 16 / 9; }
  .flow__steps { flex-direction: column; }
  .flow__steps .flow__arrow { transform: rotate(90deg); align-self: center; }
  .brand__mark { height: 78px; }
  .topbar__logo--smash { height: 46px; }
}

@media (max-width: 420px) {
  .ribbon { padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .page { gap: 12px; }
}
