/* =====================================================================
   20 · Cotas de patrocínio (p21–p22) — abertura do Ato V
   Cartão de ato (limbo de planeta com aurora) + cena fixada com o
   foguete de cotas em SVG. Base = layout em fluxo (sem JS);
   .is-live = composição fixada de três colunas; .is-static = movimento
   reduzido, um bloco por tela (as paradas centralizam cada bloco).
   ===================================================================== */

#cotas {
  /* rampa das cotas: ciano → violeta → magenta (o violeta faz a ponte); o 21 declara os mesmos */
  --t-co: #00d8f8;
  --t-pat: #4f8dff;
  --t-nam: #a855ff;
  --t-apr: #f000f0;
}

/* ---------------- Cartão de ato ---------------- */
#cotas .cot-act {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center; overflow: clip; isolation: isolate;
}
#cotas .cot-act__sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
#cotas .cot-act__stars {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 40%, rgba(120, 0, 240, .10), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 40%, transparent 60%);
}
/* limbo do planeta: um círculo enorme cujo topo aparece embaixo */
#cotas .cot-limb { position: absolute; left: 50%; top: 78%; width: 320vmax; height: 320vmax; margin-left: -160vmax; will-change: transform; }
#cotas .cot-limb > i { position: absolute; border-radius: 50%; }
#cotas .cot-limb__glow {
  inset: -7vmax;
  background: linear-gradient(90deg, rgba(0, 216, 248, .85) 42%, rgba(120, 0, 240, .9) 50%, rgba(240, 0, 240, .85) 58%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 95.2%, #000 95.9%, rgba(0, 0, 0, .35) 97.4%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 95.2%, #000 95.9%, rgba(0, 0, 0, .35) 97.4%, transparent 100%);
  opacity: .75;
}
#cotas .cot-limb__rim { inset: -.28vmax; background: linear-gradient(90deg, #7ff0ff 40%, #b98cff 50%, #ff8cff 60%); }
#cotas .cot-limb__body {
  inset: 0;
  background:
    radial-gradient(closest-side, transparent 97.6%, rgba(120, 0, 240, .35) 99.4%, rgba(200, 160, 255, .5) 100%),
    radial-gradient(closest-side, #020106 90%, #0a0420 100%);
}
/* aurora: cortinas de faixas verticais acima do limbo */
#cotas .cot-aurora { position: absolute; left: -12%; right: -12%; top: 26%; height: 56%; mix-blend-mode: screen; }
#cotas .cot-aurora__c {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(90deg, transparent 4%, rgba(0, 216, 248, .9) 22%, rgba(120, 0, 240, .95) 50%, rgba(240, 0, 240, .9) 78%, transparent 96%);
  -webkit-mask-image:
    linear-gradient(0deg, transparent 0%, #000 16%, rgba(0, 0, 0, .55) 46%, transparent 92%),
    repeating-linear-gradient(90deg, #000 0 2px, rgba(0, 0, 0, .18) 4px 9px, #000 11px 12px, rgba(0, 0, 0, .3) 14px 21px);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(0deg, transparent 0%, #000 16%, rgba(0, 0, 0, .55) 46%, transparent 92%),
    repeating-linear-gradient(90deg, #000 0 2px, rgba(0, 0, 0, .18) 4px 9px, #000 11px 12px, rgba(0, 0, 0, .3) 14px 21px);
  mask-composite: intersect;
  filter: blur(2.5px);
  transform-origin: 50% 100%;
  opacity: .42;
  will-change: transform;
}
#cotas .cot-aurora__c--1 { transform: translateX(-8%) scaleY(.78) skewX(-12deg); opacity: .36; }
#cotas .cot-aurora__c--2 { transform: translateX(6%) scaleY(1) skewX(10deg); opacity: .3; height: 86%; }
#cotas .cot-aurora__c--3 { transform: translateX(0%) scaleY(.55) skewX(-4deg); opacity: .5; filter: blur(8px); }
#cotas .cot-act__roman {
  position: absolute; right: 5vw; top: 0; bottom: 8%; display: grid; align-items: center; transform: skewX(-8deg);
  font-family: var(--f-mega); font-size: min(74vh, 46vw); line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(168, 85, 255, .28);
  filter: drop-shadow(0 0 24px rgba(120, 0, 240, .25));
}

#cotas .cot-act__in { position: relative; z-index: 1; padding-block: calc(var(--hud-h) + 4vh) 26vh; }
#cotas .cot-act__num {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(12px, .9vw + 4px, 16px); letter-spacing: .42em; text-transform: uppercase; color: var(--magenta);
}
#cotas .cot-act__num::before { content: ''; width: 56px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
#cotas .cot-act__num b { color: #fff; font-weight: 700; letter-spacing: .3em; }
#cotas .cot-act__title { position: relative; margin-top: clamp(4px, 1vh, 14px); }
#cotas .cot-act__name { font-size: clamp(84px, 14.5vw, 260px); line-height: 1.12; padding-top: .08em; letter-spacing: -.01em; }
#cotas .cot-act__glow {
  position: absolute; left: -4%; top: 10%; width: 80%; height: 86%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(168, 85, 255, .36), rgba(120, 0, 240, .16) 55%, transparent);
  filter: blur(10px);
}
#cotas .cot-act__set { display: grid; gap: 2px; margin-top: clamp(10px, 2.2vh, 26px); width: min(460px, 100%); }
#cotas .cot-act__set a {
  display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; gap: 10px; padding: 7px 0; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(17px, 1.1vw + 6px, 23px); line-height: 1.15; color: #dcd6f2;
  text-shadow: 0 1px 12px rgba(2, 1, 8, .85);
  transition: color .25s, transform .35s var(--ease-out);
}
#cotas .cot-act__set small { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--magenta); }
#cotas .cot-act__set li:first-child a { color: #fff; }
#cotas .cot-act__set li:first-child small { color: var(--cyan); }
#cotas .cot-act__set a:hover { color: #fff; transform: translateX(6px); }

/* ---------------- Cena (base = fluxo, sem pin) ---------------- */
#cotas .cot-stage { height: auto; overflow: visible; padding-block: clamp(72px, 12vh, 140px); }
#cotas .cot-stage > .wrap { height: auto; }
#cotas .cot-stage__bg { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
#cotas .cot-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 0, 240, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 0, 240, .13) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center center;
  -webkit-mask-image: radial-gradient(52% 66% at 50% 52%, #000 20%, transparent 78%);
  mask-image: radial-gradient(52% 66% at 50% 52%, #000 20%, transparent 78%);
}
#cotas .cot-streaks {
  position: absolute; left: 34%; width: 32%; top: 0; bottom: 0; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(0deg, transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect;
}
#cotas .cot-streaks i {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 70px, rgba(0, 216, 248, .8) 70px 170px, transparent 170px 300px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 31px);
  mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 31px);
}
#cotas .cot-streaks i + i {
  background: repeating-linear-gradient(180deg, transparent 0 130px, rgba(168, 85, 255, .75) 130px 190px, transparent 190px 410px);
  -webkit-mask-image: repeating-linear-gradient(90deg, transparent 0 14px, #000 14px 15px, transparent 15px 47px);
  mask-image: repeating-linear-gradient(90deg, transparent 0 14px, #000 14px 15px, transparent 15px 47px);
}
#cotas .cot-halo {
  position: absolute; inset: 0; margin: auto; width: min(70vh, 640px); height: min(90vh, 900px);
  background: radial-gradient(closest-side, rgba(120, 0, 240, .30), rgba(32, 0, 88, .18) 55%, transparent);
}

#cotas .cot-layout {
  position: relative; display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  grid-template-areas: "copy rocket" "panels panels";
  align-items: center;
}
#cotas .cot-copy { grid-area: copy; display: grid; gap: clamp(12px, 1.8vh, 22px); justify-items: start; }
#cotas .cot-title { font-size: clamp(44px, 5.1vw, 88px); line-height: 1.12; }
#cotas .cot-lede { max-width: 40ch; font-size: clamp(15px, .5vw + 11px, 18px); text-wrap: pretty; }

/* manifesto: quatro barras 21 · 21 · 16 · 10 */
#cotas .cot-manifest { display: grid; gap: 4px; width: 100%; max-width: 460px; margin-top: 4px; }
#cotas .cot-mrow button {
  position: relative; isolation: isolate; width: 100%; display: grid; align-items: center; text-align: left;
  grid-template-columns: 9.6em minmax(0, 1fr) 2.2em; grid-template-rows: auto auto; column-gap: 14px;
  padding: 8px 12px 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s;
}
#cotas .cot-mrow button::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--t) 24%, transparent), color-mix(in srgb, var(--t) 4%, transparent) 70%, transparent);
  box-shadow: inset 3px 0 0 var(--t);
  opacity: var(--on, 0);
}
#cotas .cot-mrow button:hover { background: rgba(255, 255, 255, .04); }
#cotas .cot-mrow__k { grid-column: 1; grid-row: 1; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); line-height: 1.3; }
#cotas .cot-mrow__nm { grid-column: 1; grid-row: 2; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, .7vw + 10px, 22px); line-height: 1.15; color: #fff; white-space: nowrap; }
#cotas .cot-mrow__bar { grid-column: 2; grid-row: 1 / span 2; height: 6px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
#cotas .cot-mrow__bar i {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--v));
  background: linear-gradient(90deg, color-mix(in srgb, var(--t) 45%, transparent), var(--t));
  box-shadow: 0 0 10px var(--t);
}
#cotas .cot-mrow__n { grid-column: 3; grid-row: 1 / span 2; font-family: var(--f-mega); font-weight: 400; font-size: clamp(24px, 1vw + 14px, 32px); line-height: 1.1; color: var(--t); text-align: right; transform: skewX(-8deg); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--t) 60%, transparent)); }

/* foguete */
#cotas .cot-rocket { grid-area: rocket; justify-self: center; height: min(82vh, 780px); aspect-ratio: 320 / 1080; max-width: 100%; position: relative; }
#cotas .cot-frame { position: relative; width: 100%; height: 100%; }
#cotas .rk { width: 100%; height: 100%; overflow: visible; }
#cotas .rk-part { cursor: pointer; outline: none; }
#cotas .rk-aura { fill: none; stroke: var(--t); stroke-width: 10; stroke-linejoin: round; filter: url(#cot-blur); opacity: 0; }
#cotas .rk-hover { fill: color-mix(in srgb, var(--t) 14%, transparent); stroke: var(--t); stroke-width: 1.5; opacity: 0; transition: opacity .25s; }
#cotas .rk-part:hover .rk-hover { opacity: .8; }
#cotas .rk-asm { transition: filter .25s; }
#cotas .rk-part:hover .rk-asm, #cotas .rk-part:focus-visible .rk-asm { filter: brightness(1.18) saturate(1.1); }
#cotas .rk-part:focus-visible .rk-hover { opacity: 1; stroke: #fff; stroke-width: 2.5; }
#cotas .rk-line { fill: none; stroke: var(--t); stroke-width: 1.6; stroke-linejoin: round; opacity: .5; vector-effect: non-scaling-stroke; }
#cotas .rk-band { fill: var(--t); }
#cotas .rk-band--thin { opacity: .7; }
#cotas .rk-seam { fill: none; stroke: rgba(10, 8, 22, .55); stroke-width: 1.4; }
#cotas .rk-truss { fill: none; stroke: #7c8196; stroke-width: 2; stroke-linecap: round; }
#cotas .rk-strut { fill: none; stroke: #9aa0b3; stroke-width: 4; stroke-linecap: round; }
#cotas .rk-bell-rim { fill: none; stroke: #6d7288; stroke-width: 2; }
#cotas .rk-dots { opacity: .55; }
#cotas .rk-paint { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 21px; letter-spacing: .06em; text-transform: uppercase; fill: rgba(12, 10, 26, .62); }
#cotas .rk-paint--s { font-size: 13.5px; letter-spacing: .04em; }
#cotas .rk-paint--cap { font-size: 9.5px; letter-spacing: .14em; fill: rgba(5, 1, 15, .85); }
#cotas .rk-flame { opacity: 0; }
#cotas .rk-fl { transform-box: fill-box; transform-origin: 50% 0%; }
#cotas.is-anim.is-burn .rk-fl { animation: cot-flick .09s steps(2) infinite alternate; }
#cotas.is-anim.is-burn .rk-fl--core { animation-duration: .07s; }
#cotas .rk-flare { mix-blend-mode: screen; }
@keyframes cot-flick { from { transform: scaleY(.92) scaleX(1.03); } to { transform: scaleY(1.06) scaleX(.97); } }
#cotas .rk-sep { fill: none; stroke: #fff; stroke-width: 3; opacity: 0; filter: url(#cot-blur-s); }

/* fichas */
#cotas .cot-panels { grid-area: panels; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
#cotas .cot-group { display: contents; }
#cotas .cot-panel--intro { grid-column: 1 / -1; }
#cotas .cot-panel {
  --t: var(--violet); --bv: 16px;
  position: relative; isolation: isolate; padding: clamp(20px, 2.4vh, 30px) clamp(20px, 2vw, 32px) clamp(22px, 2.6vh, 32px);
  clip-path: polygon(var(--bv) 0, calc(100% - var(--bv)) 0, 100% var(--bv), 100% calc(100% - var(--bv)), calc(100% - var(--bv)) 100%, var(--bv) 100%, 0 calc(100% - var(--bv)), 0 var(--bv));
  background: linear-gradient(135deg, var(--t), color-mix(in srgb, var(--t) 30%, var(--violet)) 55%, color-mix(in srgb, var(--t) 20%, transparent));
}
#cotas .cot-panel::before {
  content: ''; position: absolute; inset: 1.5px; z-index: -1; pointer-events: none;
  --bi: calc(var(--bv) - .6px);
  clip-path: polygon(var(--bi) 0, calc(100% - var(--bi)) 0, 100% var(--bi), 100% calc(100% - var(--bi)), calc(100% - var(--bi)) 100%, var(--bi) 100%, 0 calc(100% - var(--bi)), 0 var(--bi));
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--t) 16%, transparent), transparent 70%),
    linear-gradient(170deg, rgba(22, 16, 44, .94), rgba(5, 1, 15, .96) 60%);
}
#cotas .cot-panel--intro { --t: var(--violet); }
#cotas .cot-panel__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); display: flex; gap: 12px; align-items: center; }
#cotas .cot-panel__k b { color: var(--t); font-weight: 700; }
#cotas .cot-panel__name {
  margin-top: 6px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 2.9vw, 54px); line-height: 1.12; padding-top: .06em; color: #fff; white-space: nowrap;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--t) 55%, transparent));
}
#cotas .cot-panel__count { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
#cotas .cot-panel__n { font-family: var(--f-mega); font-size: clamp(52px, 5.2vw, 96px); line-height: 1.04; color: var(--t); display: inline-flex; transform: skewX(-8deg); padding-top: .04em; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--t) 60%, transparent)); }
#cotas .cot-panel__count > span:last-child { font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.2vw + 6px, 26px); letter-spacing: .04em; color: #e9e6f7; }
#cotas .cot-panel__lead { margin-top: clamp(8px, 1.2vh, 14px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--t) 55%, #fff); }
#cotas .cot-list { margin-top: 10px; display: grid; gap: clamp(6px, .9vh, 10px); }
#cotas .cot-list li { position: relative; padding-left: 22px; font-size: clamp(14px, .35vw + 11px, 17px); line-height: 1.38; color: #dcd7ee; text-wrap: pretty; }
#cotas .cot-list li::before {
  content: ''; position: absolute; left: 2px; top: .52em; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--t) 55%);
  box-shadow: 0 0 8px var(--t), 0 0 2px #fff;
}
#cotas .cot-list b { font-family: var(--f-mono); font-weight: 700; font-size: .9em; color: var(--t); letter-spacing: .04em; }
#cotas .cot-nw { white-space: nowrap; }
#cotas .cot-list sup, #cotas .cot-panel sup { font-size: .7em; line-height: 0; }
#cotas .cot-go {
  margin-top: clamp(12px, 1.8vh, 20px); display: inline-flex; align-items: center; gap: .5em; min-height: 42px; padding: 0 18px;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 70%, transparent);
  background: color-mix(in srgb, var(--t) 10%, transparent);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .25s, transform .25s var(--ease-out);
}
#cotas .cot-go:hover { background: color-mix(in srgb, var(--t) 26%, transparent); transform: translateY(-2px); }
/* o clip-path corta o outline global: o foco vira um contorno interno */
#cotas .cot-go:focus-visible { outline: none; background: color-mix(in srgb, var(--t) 26%, transparent); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--t); }
#cotas .cot-intro__big { display: flex; align-items: flex-end; gap: 16px; margin-top: 6px; }
#cotas .cot-intro__n { font-family: var(--f-mega); font-size: clamp(72px, 7.6vw, 136px); line-height: 1.04; display: inline-flex; transform: skewX(-8deg); padding-top: .04em; color: #fff; filter: drop-shadow(-2px 0 0 rgba(0, 216, 248, .7)) drop-shadow(2px 0 0 rgba(240, 0, 240, .65)) drop-shadow(0 0 18px rgba(168, 85, 255, .45)); }
#cotas .cot-intro__l { font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 1.3vw + 6px, 28px); line-height: 1.12; color: #ece8fa; max-width: 11ch; padding-bottom: .5em; }
#cotas .cot-fronts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: clamp(12px, 1.6vh, 18px); }
#cotas .cot-fronts li {
  padding: 6px 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #e6f9ff;
  border: 1px solid rgba(168, 85, 255, .45); background: rgba(120, 0, 240, .1);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
#cotas .cot-hint { display: none; }

/* ---------------- Composição fixada (.is-live) ---------------- */
#cotas.is-live .cot-stage { height: 100vh; height: 100svh; overflow: clip; padding: 0; }
#cotas.is-live .cot-stage > .wrap { height: 100%; }
#cotas.is-live .cot-layout {
  height: 100%;
  grid-template-columns: minmax(0, 34fr) minmax(0, 22fr) minmax(0, 38fr);
  grid-template-areas: "copy rocket panels";
  column-gap: clamp(20px, 3vw, 48px);
  padding-top: calc(var(--hud-h) + 1.5vh); padding-bottom: 2.5vh;
}
#cotas.is-live .cot-rocket {
  container-type: size; width: 100%; aspect-ratio: auto; max-width: none;
  height: calc(100svh - var(--hud-h) - 6vh); max-height: 900px;
  display: grid; place-items: center;
}
#cotas.is-live .cot-frame { width: auto; height: min(100cqh, 337.5cqw); aspect-ratio: 320 / 1080; }
#cotas.is-live .cot-panels { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; scale: var(--fit, 1); transform-origin: 50% 50%; }
#cotas.is-live .cot-panel { grid-area: 1 / 1; }
#cotas.is-live .cot-hint { display: flex; align-items: center; gap: 10px; margin-top: clamp(14px, 2vh, 22px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
#cotas.is-live .cot-hint i { width: 10px; height: 16px; border: 1.5px solid currentColor; border-radius: 6px; position: relative; flex: none; }
#cotas.is-live .cot-hint i::after { content: ''; position: absolute; left: 50%; top: 3px; width: 2px; height: 4px; margin-left: -1px; background: var(--cyan); border-radius: 1px; }
#cotas.is-anim .cot-hint i::after { animation: cot-wheel 1.6s var(--ease-out) infinite; }
@keyframes cot-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(6px); opacity: 0; } 100% { opacity: 0; } }

/* telas baixas (projetor 1280×720) */
@media (min-width: 821px) and (max-height: 760px) {
  #cotas.is-live .cot-title { font-size: clamp(40px, 4.6vw, 70px); }
  #cotas.is-live .cot-lede { font-size: 14.5px; line-height: 1.45; }
  #cotas.is-live .cot-copy { gap: 10px; }
  #cotas.is-live .cot-mrow button { padding-block: 5px 6px; }
  #cotas.is-live .cot-mrow__nm { font-size: 18px; }
  #cotas.is-live .cot-panel__n { font-size: clamp(48px, 4.4vw, 72px); }
  #cotas.is-live .cot-panel__name { font-size: clamp(28px, 2.6vw, 42px); }
  #cotas.is-live .cot-list li { font-size: 14.5px; }
  #cotas.is-live .cot-intro__n { font-size: clamp(64px, 6.4vw, 104px); }
}

/* celular deitado e janelas muito baixas: sem o parágrafo, manifesto 2×2, fichas compactas */
@media (min-width: 821px) and (max-height: 520px) {
  #cotas.is-live .cot-layout { padding-top: calc(var(--hud-h) + 6px); padding-bottom: 8px; }
  #cotas.is-live .cot-copy { gap: 8px; }
  #cotas.is-live .cot-kicker { font-size: 10px; }
  #cotas.is-live .cot-title { font-size: clamp(26px, 3.6vw, 36px); }
  #cotas.is-live .cot-lede { display: none; }
  #cotas.is-live .cot-manifest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 6px; }
  #cotas.is-live .cot-mrow button { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 6px; padding: 4px 8px 5px; }
  #cotas.is-live .cot-mrow__k { display: none; }
  #cotas.is-live .cot-mrow__nm { grid-row: 1; font-size: 14px; }
  #cotas.is-live .cot-mrow__n { grid-column: 2; grid-row: 1; font-size: 18px; }
  #cotas.is-live .cot-mrow__bar { grid-column: 1 / -1; grid-row: 2; height: 3px; margin-top: 3px; }
  #cotas.is-live .cot-rocket { height: calc(100svh - var(--hud-h) - 20px); }
  #cotas.is-live .cot-panel { --bv: 12px; padding: 12px 16px 14px; }
  #cotas.is-live .cot-panel__name { margin-top: 2px; font-size: 22px; }
  #cotas.is-live .cot-panel__n { font-size: 36px; }
  #cotas.is-live .cot-panel__count > span:last-child { font-size: 15px; }
  #cotas.is-live .cot-panel__lead { margin-top: 2px; font-size: 10px; }
  #cotas.is-live .cot-list { gap: 3px; margin-top: 4px; }
  #cotas.is-live .cot-list li { font-size: 12.5px; line-height: 1.26; padding-left: 16px; }
  #cotas.is-live .cot-list li::before { width: 6px; height: 6px; left: 1px; }
  #cotas.is-live .cot-go { min-height: 32px; margin-top: 8px; font-size: 13px; }
  #cotas.is-live .cot-intro__n { font-size: 56px; }
  #cotas.is-live .cot-intro__l { font-size: 16px; }
  #cotas.is-live .cot-hint { margin-top: 8px; }
}

/* ---------------- Celular ---------------- */
@media (max-width: 820px) {
  #cotas .cot-act__in { padding-block: calc(var(--hud-h) + 6vh) 34vh; align-self: start; }
  #cotas .cot-act__name { font-size: clamp(64px, 19vw, 120px); }
  #cotas .cot-act__roman { display: none; }
  #cotas .cot-limb { top: 76%; }
  #cotas .cot-aurora { top: 38%; height: 40%; }
  #cotas .cot-act__set a { font-size: 18px; padding: 6px 0; }

  #cotas .cot-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "rocket" "panels"; }
  #cotas .cot-rocket { height: min(70vh, 560px); }
  #cotas .cot-panels { grid-template-columns: minmax(0, 1fr); }
  #cotas .cot-mrow button { grid-template-columns: 8.4em minmax(0, 1fr) 2em; column-gap: 10px; padding-inline: 10px; }

  #cotas.is-live .cot-layout {
    grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "kick kick" "title title" "rocket panels" "man man";
    column-gap: 12px; row-gap: 8px;
    padding-top: calc(var(--hud-h) + 12px); padding-bottom: 14px;
  }
  #cotas.is-live .cot-copy { display: contents; }
  #cotas.is-live .cot-kicker { grid-area: kick; }
  #cotas.is-live .cot-title { grid-area: title; font-size: clamp(34px, 10.4vw, 52px); }
  #cotas.is-live .cot-lede { display: none; }
  #cotas.is-live .cot-manifest { grid-area: man; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 6px; margin: 0; }
  #cotas.is-live .cot-mrow button { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 6px; padding: 5px 8px 6px; }
  #cotas.is-live .cot-mrow__k { display: none; }
  #cotas.is-live .cot-mrow__nm { grid-row: 1; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
  #cotas.is-live .cot-mrow__n { grid-column: 2; grid-row: 1; font-size: 20px; }
  #cotas.is-live .cot-mrow__bar { grid-column: 1 / -1; grid-row: 2; height: 3px; margin-top: 3px; }
  #cotas.is-live .cot-rocket { grid-area: rocket; height: 100%; max-height: none; align-self: stretch; }
  #cotas.is-live .cot-panels { grid-area: panels; align-self: center; }
  #cotas.is-live .cot-panel { --bv: 12px; padding: 14px 14px 16px; }
  #cotas.is-live .cot-panel__k { font-size: 10px; letter-spacing: .12em; gap: 8px; }
  #cotas.is-live .cot-panel__name { font-size: clamp(22px, 7vw, 30px); white-space: normal; }
  #cotas.is-live .cot-panel__n { font-size: clamp(40px, 12vw, 56px); }
  #cotas.is-live .cot-panel__count > span:last-child { font-size: 17px; }
  #cotas.is-live .cot-panel__lead { font-size: 10px; letter-spacing: .1em; }
  #cotas.is-live .cot-list { gap: 6px; margin-top: 8px; }
  #cotas.is-live .cot-list li { font-size: 13.5px; line-height: 1.32; padding-left: 16px; }
  #cotas.is-live .cot-list li::before { width: 6px; height: 6px; left: 1px; }
  #cotas.is-live .cot-go { min-height: 38px; font-size: 14px; padding: 0 14px; margin-top: 12px; }
  #cotas.is-live .cot-intro__big { flex-direction: column; align-items: flex-start; gap: 0; }
  #cotas.is-live .cot-intro__n { font-size: clamp(64px, 20vw, 96px); }
  #cotas.is-live .cot-intro__l { font-size: 18px; max-width: none; padding-bottom: 0; }
  #cotas.is-live .cot-fronts li { font-size: 10px; padding: 5px 7px; }
  #cotas .cot-streaks { left: 0; width: 38%; }
  #cotas .cot-halo { right: auto; left: -14vw; width: 64vw; height: 70vh; }
}

/* celular baixo (375×667, 360×640): a ficha mais alta cabe entre o título e o manifesto */
@media (max-width: 820px) and (max-height: 760px) {
  #cotas.is-live .cot-title { font-size: clamp(30px, 9.4vw, 44px); }
  #cotas.is-live .cot-panel { padding: 12px 12px 14px; }
  #cotas.is-live .cot-panel__name { margin-top: 4px; font-size: clamp(20px, 6.2vw, 26px); }
  #cotas.is-live .cot-panel__n { font-size: clamp(36px, 10.6vw, 48px); }
  #cotas.is-live .cot-panel__count > span:last-child { font-size: 15px; }
  #cotas.is-live .cot-panel__lead { margin-top: 4px; }
  #cotas.is-live .cot-list { gap: 4px; margin-top: 6px; }
  #cotas.is-live .cot-list li { font-size: 13px; line-height: 1.26; }
  #cotas.is-live .cot-go { min-height: 34px; margin-top: 8px; }
  #cotas.is-live .cot-intro__n { font-size: clamp(56px, 17vw, 80px); }
}

/* ---------------- Movimento reduzido / sem JS ---------------- */
#cotas:not(.is-live) .cot-panel--intro { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(20px, 3vw, 48px); row-gap: 8px; }
#cotas:not(.is-live) .cot-panel--intro .cot-panel__k { flex-basis: 100%; }
#cotas:not(.is-live) .cot-panel--intro .cot-fronts { margin-top: 0; }
#cotas.is-static .rk-line { opacity: .9; }
#cotas.is-static .rk-aura { opacity: .35; }

/* Movimento reduzido: cada bloco ocupa a tela abaixo do HUD (--slide) e a parada o centraliza.
   Desktop: [título + foguete] · [carga + 2 fichas] · [2 fichas]. */
#cotas.is-static { --slide: calc(100svh - var(--hud-h) - 32px); }
#cotas.is-static .cot-stage { padding-block: 0 clamp(24px, 4vh, 48px); }
#cotas.is-static .cot-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: minmax(var(--slide), auto) auto; row-gap: 32px; }
#cotas.is-static .cot-rocket { height: min(calc(var(--slide) - 32px), 780px); }
#cotas.is-static .cot-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
#cotas.is-static .cot-group {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  align-content: center; min-height: var(--slide);
}
@media (min-width: 821px) and (max-height: 760px) {
  #cotas.is-static .cot-panel { padding: 16px 22px 18px; }
  #cotas.is-static .cot-panel__name { font-size: clamp(26px, 2.4vw, 38px); }
  #cotas.is-static .cot-panel__n { font-size: clamp(44px, 4vw, 64px); }
  #cotas.is-static .cot-intro__n { font-size: clamp(52px, 4.8vw, 80px); }
  #cotas.is-static .cot-panel__lead { margin-top: 6px; }
  #cotas.is-static .cot-list { gap: 4px; margin-top: 6px; }
  #cotas.is-static .cot-list li { font-size: 14.5px; line-height: 1.32; }
  #cotas.is-static .cot-go { margin-top: 10px; min-height: 36px; }
}
/* Celular: [título + manifesto] · [foguete + carga] · uma ficha por tela. */
@media (max-width: 820px) {
  #cotas.is-static .cot-layout {
    grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
    grid-template-areas: "copy copy" "rocket intro" "p1 p1" "p2 p2" "p3 p3" "p4 p4";
    grid-template-rows: repeat(6, minmax(var(--slide), auto));
    column-gap: 12px; row-gap: 32px;
  }
  #cotas.is-static .cot-panels, #cotas.is-static .cot-group { display: contents; }
  #cotas.is-static .cot-rocket { grid-area: rocket; width: 100%; height: auto; max-height: var(--slide); }
  #cotas.is-static .cot-panel--intro { grid-area: intro; padding: 14px 14px 16px; --bv: 12px; }
  #cotas.is-static .cot-panel--intro .cot-intro__big { flex-direction: column; align-items: flex-start; gap: 0; }
  #cotas.is-static .cot-intro__n { font-size: clamp(64px, 20vw, 96px); }
  #cotas.is-static .cot-intro__l { font-size: 18px; max-width: none; padding-bottom: 0; }
  #cotas.is-static .cot-fronts li { font-size: 10px; padding: 5px 7px; }
  #cotas.is-static .cot-panel[data-step="1"] { grid-area: p1; }
  #cotas.is-static .cot-panel[data-step="2"] { grid-area: p2; }
  #cotas.is-static .cot-panel[data-step="3"] { grid-area: p3; }
  #cotas.is-static .cot-panel[data-step="4"] { grid-area: p4; }
}
