:root {
  --tesla: #e31937;
  --tesla-dark: #8a0c18;
  --tesla-light: #ff4d5e;
  --spacex: #f3efe6;
  --spacex-dark: #161616;
  --spacex-gold: #e3b23c;
  --yellow: #ffd000;
  --yellow-dark: #c48400;
  --ink: #fff6e8;
  --muted: #c9b8a4;
  --ring: #1a0c12;
  --ui: "Oswald", Impact, sans-serif;
  --display: "Bungee", Impact, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #09060a;
  color: var(--ink);
  font-family: var(--ui);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, #3a1420 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #1a1028 0%, transparent 50%),
    linear-gradient(#140810, #09060a 40%, #07050c);
}

.grain,
.spots,
.crowd,
.ring-lights {
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
}

.spots { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
.spot {
  position: absolute;
  top: -10%;
  width: 42vw;
  height: 90vh;
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: sweep 7.5s ease-in-out infinite;
}
.tesla-spot {
  left: 4%;
  background: linear-gradient(to bottom, rgba(227,25,55,.28), transparent 70%);
}
.spacex-spot {
  right: 4%;
  animation-delay: -3.4s;
  background: linear-gradient(to bottom, rgba(227,178,60,.22), transparent 70%);
}
@keyframes sweep {
  0%, 100% { transform: translateX(-6%) rotate(-8deg); opacity: .7; }
  50% { transform: translateX(10%) rotate(7deg); opacity: 1; }
}

.jumbo {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: .7rem 1rem 0;
}
.kicker {
  margin: 0;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,208,0,.45);
}
h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin: .35rem 0 .7rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  line-height: .9;
  letter-spacing: .02em;
}
.tesla-side { color: var(--tesla); text-shadow: 0 3px 0 #4a040c, 0 0 24px rgba(227,25,55,.55); }
.spacex-side { color: var(--spacex); text-shadow: 0 3px 0 #000, 0 0 24px rgba(255,255,255,.25); }
.vs-badge {
  display: grid;
  place-items: center;
  width: clamp(2.6rem, 7vw, 4.2rem);
  height: clamp(2.6rem, 7vw, 4.2rem);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1a8, var(--yellow) 42%, var(--yellow-dark));
  color: #3a2200;
  font-size: .42em;
  box-shadow: 0 4px 0 #7a4a00, 0 0 0 4px #1a0c08, 0 10px 24px rgba(0,0,0,.45);
  transform: rotate(-8deg);
}

.board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .7rem 1rem;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: .7rem .9rem;
  background: linear-gradient(#1a1218, #0e0a0e);
  border: 2px solid #3a2a22;
  box-shadow: inset 0 0 0 1px #000, 0 8px 30px rgba(0,0,0,.4);
  border-radius: 6px;
}
.hp { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.tesla-hp { align-items: flex-start; }
.spacex-hp { align-items: flex-end; text-align: right; }
.hp .bar { width: 100%; }
.hp-name {
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.bar {
  height: 12px;
  background: #2a1818;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid #000;
}
.bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.tesla-hp .bar i { background: linear-gradient(90deg, var(--tesla-dark), var(--tesla-light)); }
.spacex-hp .bar i {
  background: linear-gradient(90deg, #888, #fff);
  transform-origin: right center;
}
.hp b {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--yellow);
  width: 100%;
}
.spacex-hp .hp-name,
.spacex-hp b { text-align: right; }
.round-box {
  min-width: 4.6rem;
  padding: .25rem .5rem .4rem;
  background: #000;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--mono);
}
.round-box span { display: block; font-size: .58rem; letter-spacing: .18em; }
.round-box strong { font-size: 1.5rem; line-height: 1; }

.call {
  min-height: 1.4em;
  margin: .55rem 0 0;
  font-size: clamp(.95rem, 2.4vw, 1.2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffe9b0;
  text-shadow: 0 0 16px rgba(255,208,0,.35);
}

.venue {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  min-height: 0;
  padding: 0 .7rem .2rem;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.crowd {
  position: absolute;
  inset: 0 0 12%;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 100%, transparent 28%, rgba(0,0,0,.55) 80%),
    repeating-radial-gradient(circle at 0 120%, #1c1018 0 8px, #120c12 9px 18px);
  opacity: .45;
  mask-image: linear-gradient(to top, transparent 0%, #000 22%, #000 78%, transparent);
}

.stage {
  position: relative;
  width: 100%;
  height: min(460px, 58dvh);
  margin: 0 auto;
  min-height: 340px;
}

.ring-lights {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 78%;
  height: 10px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, #ff3b3b 0 16px, #fff 16px 32px, #2b6cff 32px 48px);
  border-radius: 99px;
  box-shadow: 0 0 22px rgba(255,80,80,.45);
  opacity: .9;
  z-index: 1;
}

.post {
  position: absolute;
  top: 14px;
  width: 16px;
  height: 168px;
  border-radius: 5px 5px 4px 4px;
  background: linear-gradient(180deg, #f3efe6, #8a8074 70%, #3a342e);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.35), 0 10px 16px rgba(0,0,0,.4);
  z-index: 2;
}
.post.left { left: 10%; }
.post.right { right: 10%; }
.post::after {
  content: "";
  position: absolute;
  top: -8px; left: -4px; right: -4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(#fff, #bbb);
}

.ropes {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 36px;
  height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 0;
}
.ropes i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(#fff, #d8d8d8);
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
}
.ropes i:nth-child(2) { background: linear-gradient(#ff4d5e, #b10f22); }

.platform {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(620px, 92%);
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 36%, #ffe96a, var(--yellow) 46%, #e09a00 72%, #9a5a00);
  box-shadow:
    0 28px 40px rgba(0,0,0,.55),
    inset 0 14px 18px rgba(255,255,255,.35),
    inset 0 -22px 28px rgba(120,50,0,.45);
  z-index: 1;
}
.platform .rim {
  position: absolute;
  inset: 8px 14px;
  border-radius: 50%;
  border: 6px solid rgba(150,70,0,.35);
  box-shadow: inset 0 0 0 3px rgba(255,230,120,.25);
}
.mold {
  position: absolute;
  left: 0; right: 0;
  top: 38%;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(120,55,0,.55);
}
.mold.sub { top: 52%; font-size: 1rem; color: rgba(90,40,0,.7); }
.toy-btn {
  position: absolute;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 0 #4a2200, inset 0 4px 6px rgba(255,255,255,.35);
}
.toy-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #4a2200; }
.tesla-btn { left: 22%; background: radial-gradient(circle at 35% 30%, #ff6b78, var(--tesla) 46%, var(--tesla-dark)); }
.spacex-btn { right: 22%; background: radial-gradient(circle at 35% 30%, #fff, #d8d4cc 46%, #777); }

.fighter {
  --dir: 1;
  --skin: var(--tesla);
  --skin-dark: var(--tesla-dark);
  --skin-light: var(--tesla-light);
  --glove: #c81e32;
  position: absolute;
  bottom: 96px;
  width: 168px;
  height: 250px;
  z-index: 3;
  transform-origin: 50% 100%;
  transition: transform .15s;
  cursor: pointer;
}
.tesla { left: 14%; }
.spacex {
  right: 14%;
  --dir: -1;
  --skin: var(--spacex);
  --skin-dark: #b7b0a4;
  --skin-light: #fff;
  --glove: #1a1a1a;
}
.fighter.hit { animation: recoil .28s ease; }
.tesla.hit { animation-name: recoil-right; }
.spacex.hit { animation-name: recoil-left; }
@keyframes recoil-right {
  0%, 100% { transform: none; }
  35% { transform: translateX(18px) rotate(4deg); }
}
@keyframes recoil-left {
  0%, 100% { transform: none; }
  35% { transform: translateX(-18px) rotate(-4deg); }
}
.fighter.punching { z-index: 5; }
.fighter.ko .head {
  transform: translateY(-86px) rotate(calc(var(--dir) * -18deg));
  transition: transform .55s cubic-bezier(.2,1.4,.3,1);
}
.fighter.ko .spring {
  height: 78px;
  opacity: 1;
}
.fighter.win { animation: bounce 0.7s ease infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.torso {
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 102px;
  height: 118px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, var(--skin-light), var(--skin) 38%, var(--skin-dark));
  border-radius: 18px 18px 22px 22px;
  box-shadow:
    inset 0 10px 12px rgba(255,255,255,.28),
    inset 0 -16px 18px rgba(0,0,0,.25),
    0 10px 0 rgba(0,0,0,.18);
}
.spacex .torso {
  background: linear-gradient(180deg, #fff, #ece7dc 40%, #1a1a1a 41%, #111);
}
.chest {
  position: absolute;
  left: 10px; right: 10px; top: 54px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .08em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}
.spacex .chest { background: #000; color: #fff; }

.head {
  position: absolute;
  left: 50%;
  top: -78px;
  width: 96px;
  height: 84px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--skin-light), var(--skin) 50%, var(--skin-dark));
  border-radius: 16px 16px 20px 20px;
  box-shadow:
    inset 0 8px 10px rgba(255,255,255,.3),
    0 8px 0 rgba(0,0,0,.2);
  z-index: 4;
  transition: transform .2s;
}
.spacex .head {
  background: linear-gradient(180deg, #fff, #e8e2d6 60%, #cfc6b8);
}
.visor {
  position: absolute;
  left: 12px; right: 12px; top: 22px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(#1a0508, #3a0a12);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.4), 0 0 12px rgba(227,25,55,.4);
}
.spacex .visor {
  background: linear-gradient(180deg, #f3d67a, #8a5a12);
  box-shadow: inset 0 4px 6px rgba(255,255,255,.4), 0 0 12px rgba(227,178,60,.35);
}
.t-mark, .x-mark {
  position: absolute;
  left: 0; right: 0; top: 20px;
  text-align: center;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--tesla);
  z-index: 1;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(227,25,55,.8);
}
.x-mark { color: #111; top: 21px; text-shadow: none; }
.mouth {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 28px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #2a1010;
}
.spacex .mouth { background: #222; }
.stars {
  display: none;
  position: absolute;
  inset: 24px 0 auto;
  text-align: center;
  color: #ffd000;
  font-size: 1.4rem;
  letter-spacing: .2em;
}
.fighter.ko .stars { display: block; }
.fighter.ko .t-mark,
.fighter.ko .x-mark,
.fighter.ko .visor { opacity: .15; }
.ant {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 8px;
  height: 22px;
  transform: translateX(-50%);
  background: linear-gradient(#ddd, #666);
  border-radius: 4px;
}
.ant::after {
  content: "";
  position: absolute;
  top: -10px; left: -5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--tesla) 45%, var(--tesla-dark));
  box-shadow: 0 0 10px rgba(227,25,55,.6);
}
.spacex .ant::after {
  background: radial-gradient(circle at 35% 30%, #fff, var(--spacex-gold) 50%, #7a4a00);
  box-shadow: 0 0 10px rgba(227,178,60,.55);
}

.spring {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 22px;
  height: 8px;
  transform: translateX(-50%);
  opacity: 0;
  background: repeating-linear-gradient(
    180deg,
    #c9c3b8 0 4px,
    #6e685c 4px 7px
  );
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
  transition: height .55s cubic-bezier(.2,1.4,.3,1), opacity .2s;
}

.arm {
  position: absolute;
  width: 34px;
  height: 92px;
  background: linear-gradient(var(--skin-light), var(--skin-dark));
  border-radius: 18px;
  top: 78px;
  z-index: 2;
  transform-origin: 50% 12px;
  box-shadow: inset 0 6px 8px rgba(255,255,255,.2);
}
.spacex .arm {
  background: linear-gradient(#fff, #d8d2c6);
}
.arm.rear { z-index: 1; }
.tesla .arm.rear { left: 18px; transform: rotate(18deg); }
.tesla .arm.front { right: 4px; transform: rotate(-12deg); }
.spacex .arm.rear { right: 18px; transform: rotate(-18deg); }
.spacex .arm.front { left: 4px; transform: rotate(12deg); }
.glove {
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8, var(--glove) 42%, #111);
  box-shadow: inset 0 -8px 10px rgba(0,0,0,.35), 0 6px 0 rgba(0,0,0,.2);
}
.tesla.punching .arm.front { animation: tesla-punch .42s ease; }
.spacex.punching .arm.front { animation: spacex-punch .42s ease; }
@keyframes tesla-punch {
  0% { transform: rotate(-12deg); }
  40% { transform: rotate(-78deg) translate(18px, -8px); }
  100% { transform: rotate(-12deg); }
}
@keyframes spacex-punch {
  0% { transform: rotate(12deg); }
  40% { transform: rotate(78deg) translate(-18px, -8px); }
  100% { transform: rotate(12deg); }
}

.legs {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
  z-index: 2;
}
.legs span {
  width: 28px;
  height: 44px;
  border-radius: 8px 8px 6px 6px;
  background: linear-gradient(var(--skin), var(--skin-dark));
  box-shadow: 0 6px 0 rgba(0,0,0,.25);
}
.spacex .legs span { background: linear-gradient(#222, #000); }

#fx {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hud {
  position: relative;
  z-index: 7;
  padding: .4rem 1rem 1.2rem;
  text-align: center;
}
.controls {
  display: flex;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .45rem;
}
.big {
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  padding: .7rem 1rem;
  border-radius: 8px;
  color: #fff;
}
.tesla-big {
  background: linear-gradient(#ff4d5e, var(--tesla));
  box-shadow: 0 4px 0 var(--tesla-dark);
}
.spacex-big {
  background: linear-gradient(#3a3a3a, #111);
  box-shadow: 0 4px 0 #000;
}
.auto {
  background: linear-gradient(#ffe14a, var(--yellow-dark));
  color: #3a2200;
  box-shadow: 0 4px 0 #7a4a00;
}
.auto.on { outline: 2px solid #fff; }
.big:active { transform: translateY(3px); box-shadow: none; }
kbd {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .3rem;
  border-radius: 4px;
  background: rgba(0,0,0,.25);
  font-family: var(--mono);
  font-size: .75em;
}
.hint, .fine {
  margin: .2rem auto 0;
  max-width: 42rem;
  color: var(--muted);
}
.hint { font-size: .92rem; letter-spacing: .04em; }
.fine { font-size: .72rem; opacity: .75; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(6,2,8,.72);
  backdrop-filter: blur(4px);
}
.intro-card {
  text-align: center;
  padding: 1.5rem;
}
.intro-kicker {
  margin: 0;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--yellow);
}
.intro-main {
  margin: .4rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 10vw, 6rem);
  line-height: .95;
}

.shake { animation: shake .28s linear; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.disclaimer {
  position: relative;
  z-index: 5;
  padding: 0 1rem 2rem;
  text-align: center;
}

.pit-kicker {
  margin: 0 0 .35rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.lockers {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 4.5rem;
  align-items: flex-start;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 2.4rem auto 3.2rem;
}
.locker {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}
.tesla-locker {
  padding: 0 0 0 .2rem;
  border-left: 4px solid var(--tesla);
  padding-left: 1.6rem;
}
.spacex-locker {
  border-right: 4px solid var(--spacex-gold);
  padding-right: 1.6rem;
}
.locker-head h2 {
  margin: .15rem 0 .35rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: .04em;
  line-height: .95;
}
.tesla-locker .locker-head h2 { color: var(--tesla-light); }
.spacex-locker .locker-head h2 { color: var(--spacex); }
.locker-lede {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 400;
}
.product {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: .2rem 0 2.4rem;
  border-bottom: 1px solid rgba(255,246,232,.08);
}
.product:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.portrait {
  flex: 0 0 220px;
  height: 140px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(255,255,255,.06), transparent 70%),
    #0c080c;
  border: 1px solid #2a2220;
  box-shadow: inset 0 0 0 1px #000, 0 12px 28px rgba(0,0,0,.35);
}
.tesla-locker .portrait { box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(227,25,55,.18), 0 12px 28px rgba(0,0,0,.35); }
.spacex-locker .portrait { box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(227,178,60,.16), 0 12px 28px rgba(0,0,0,.35); }
.portrait svg {
  width: 92%;
  height: 92%;
  display: block;
}
.copy { min-width: 0; }
.copy .tag {
  margin: 0 0 .35rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.copy h3 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: .03em;
  line-height: 1;
}
.copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 400;
}

@media (max-width: 980px) {
  .lockers {
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 1.8rem;
  }
  .tesla-locker, .spacex-locker {
    border-right: 0;
    border-left: 4px solid var(--tesla);
    padding: 0 0 0 1.2rem;
  }
  .spacex-locker { border-left-color: var(--spacex-gold); }
}

@media (max-width: 980px) {
  .stage { height: min(360px, 48dvh); }
}

@media (max-width: 700px) {
  .stage { height: min(340px, 52dvh); }
  .fighter { transform: scale(.86); transform-origin: 50% 100%; }
  .tesla { left: 4%; }
  .spacex { right: 4%; }
  .board { grid-template-columns: 1fr 1fr; }
  .round-box { grid-column: 1 / -1; justify-self: center; }
  kbd { display: none; }
  .kicker { letter-spacing: .12em; font-size: .62rem; }
  .product {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .portrait {
    flex: none;
    width: 100%;
    height: 160px;
  }
}

.scorecard {
  position: relative;
  z-index: 5;
  width: min(760px, calc(100% - 1.4rem));
  margin: .2rem auto 1rem;
  padding: .9rem 1rem 1rem;
  background: linear-gradient(#1a1218, #0e0a0e);
  border: 2px solid #3a2a22;
  box-shadow: inset 0 0 0 1px #000, 0 8px 30px rgba(0,0,0,.4);
  border-radius: 6px;
}
.scorecard h2 {
  margin: .15rem 0 .2rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: .04em;
}
.scorecard .asof { margin: 0; color: var(--muted); font-size: .85rem; }
.series {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .5rem;
  align-items: center;
  margin: .7rem 0 .8rem;
  padding: .45rem .6rem;
  background: #000;
  border: 2px solid var(--yellow);
  font-family: var(--mono);
}
.series-tesla { color: var(--tesla); font-size: 1.15rem; }
.series-spacex { color: var(--spacex); font-size: 1.15rem; text-align: right; }
.series-mid { color: var(--yellow); font-size: .68rem; letter-spacing: .16em; }
.scorecard table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.scorecard th, .scorecard td {
  padding: .45rem .35rem;
  border-bottom: 1px solid #2a2024;
  text-align: right;
}
.scorecard thead th {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scorecard tbody th {
  text-align: left;
  font-weight: 500;
}
.scorecard tbody th b { display: block; letter-spacing: .04em; }
.scorecard tbody th span { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; }
.scorecard .ret { font-family: var(--mono); font-size: 1.05rem; }
.scorecard .ret.up { color: #8dffb0; }
.scorecard .ret.down { color: #ff8a8a; }
.scorecard .who { font-weight: 700; letter-spacing: .08em; }
.scorecard tr.win-tesla .who { color: var(--tesla); }
.scorecard tr.win-spacex .who { color: var(--spacex); }
.scorecard tr.win-tesla td:nth-child(2) { box-shadow: inset 0 -2px 0 var(--tesla); }
.scorecard tr.win-spacex td:nth-child(3) { box-shadow: inset 0 -2px 0 var(--spacex-gold); }
.score-note { margin: .7rem 0 0; }
.score-note a { color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  .spot, .fighter.win { animation: none; }
  .tesla.punching .arm.front,
  .spacex.punching .arm.front { animation: none; }
}
