@font-face {
      font-family: "Barlow Condensed";
      src: url("/overrides/arena-v31/barlow-condensed-latin-700-normal.woff2") format("woff2");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    :root {
      --navy: #071423;
      --ink: #e7f3ff;
      --muted: #9eb4c8;
      --orange: #e26a2c;
      --maroon: #7a2438;
      --line: rgba(196, 165, 116, .55);
      --panel: rgba(7, 18, 32, .78);
      --poster: "Barlow Condensed", "Segoe UI", system-ui, sans-serif;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; height: 100%; background: #04080e; color: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; }
    button, select { font: inherit; color: inherit; }
    #app { min-height: 100%; }
    .clutch { min-height: 100%; display: flex; flex-direction: column; position: relative; }
    .crowd { position: fixed; inset: 0; z-index: 0; background: #04080e center/cover no-repeat; }
    .crowd video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .crowd-b { opacity: 0; }
    .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,14,.72), rgba(4,8,14,.55) 40%, rgba(4,8,14,.82)); }
    .board, .stage, .tray, .keys { position: relative; z-index: 1; }
    .board { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px 0; flex-wrap: wrap; }
    .brand { display: flex; flex-direction: column; letter-spacing: .14em; text-transform: uppercase; }
    .brand span { color: var(--muted); font-size: 11px; }
    .brand strong { font-size: 18px; }
    .score { display: flex; gap: 14px; align-items: baseline; font-weight: 800; }
    .score .you { color: var(--orange); }
    .score .opp { color: #e7b3c0; }
    .score .meta { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
    .audio { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .audio button, .ghost, .primary { min-height: 48px; min-width: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 0 14px; }
    .audio label { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; }
    .stage { margin: 10px auto 0; width: min(960px, calc(100% - 20px)); aspect-ratio: 16/9; max-height: 62vh; background: #061018; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; position: relative; }
    .zoom-frame { position: absolute; inset: 0; z-index: 1; }
    .stage.selecting .zoom-frame {
      inset: auto;
      width: calc(var(--zoom) * 100%);
      aspect-ratio: 16 / 9;
      height: auto;
      left: 50%;
      top: 50%;
      transform: translate(calc(var(--fx) * -1%), calc(var(--fy) * -1%));
    }
    .zoom-frame .net-plate, .zoom-frame .targets { position: absolute; inset: 0; width: 100%; height: 100%; }
    .net-plate { object-fit: fill; }
    .net-plate[hidden] { display: none; }
    .targets { z-index: 2; }
    .lane {
      --glow: rgba(226, 106, 44, .9);
      position: absolute;
      transform: translate(-50%, -50%);
      aspect-ratio: 1;
      height: auto;
      min-width: 64px;
      min-height: 64px;
      margin: 0;
      padding: 6px;
      border-radius: 50%;
      border: 2px solid rgba(255, 228, 206, .95);
      background: rgba(168, 62, 18, .84);
      box-shadow: 0 0 18px var(--glow);
      color: #fff;
      display: grid;
      place-items: center;
      text-align: center;
      container-type: inline-size;
      line-height: 1.05;
      text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
    }
    .lane span { font-size: 20cqw; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
    .lane.selected { animation: lane-pulse 1s ease-in-out infinite; }
    .targets.defend .lane { --glow: rgba(176, 64, 96, .95); background: rgba(122, 36, 56, .86); border-color: #f3c6d2; }
    .lane.empty { opacity: .4; box-shadow: none; }
    .stage.commit-flash::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.4); pointer-events: none; animation: wash .3s ease; }
    .chips { display: flex; gap: 8px; flex-wrap: wrap; }
    .chips span { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
    .chips .out { opacity: .4; }
    .gear { min-width: 48px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 20px; }
    .settings { position: absolute; right: 12px; top: calc(100% + 8px); z-index: 8; display: flex; flex-direction: column; gap: 8px; padding: 12px; max-height: min(240px, 46vh); overflow: auto; background: rgba(7,18,32,.95); border: 1px solid var(--line); border-radius: 12px; }
    .settings[hidden] { display: none; }
    .stage .action { width: 100%; height: 100%; object-fit: contain; background: #061018; grid-area: 1/1; position: relative; z-index: 2; }
    .banner { grid-area: 1/1; align-self: start; justify-self: center; margin: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(6,16,28,.82); letter-spacing: .16em; font-weight: 800; font-size: 13px; z-index: 3; }
    .banner.goal { color: #ffd0b0; box-shadow: inset 0 0 0 1px rgba(226,106,44,.7); }
    .banner.save { color: #d7f4ff; box-shadow: inset 0 0 0 1px rgba(170,220,255,.7); }
    .skip, .full { position: absolute; z-index: 4; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6,16,28,.8); }
    .skip { right: 12px; bottom: 12px; }
    .full { left: 12px; bottom: 12px; }
    .video-error { grid-area: 1/1; align-self: center; justify-self: center; background: var(--panel); padding: 12px 16px; border-radius: 12px; z-index: 3; }
    .tray { width: min(960px, calc(100% - 20px)); margin: 12px auto 8px; }
    .menu h1, .poss .who { margin: 0 0 8px; font-size: 28px; line-height: 1.1; }
    .lede, .note, .stats, .pile, .hint { color: var(--muted); }
    .row, .toggles { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.toggles select, select[data-act="difficulty"] {
  background: #102033;
  color: #f4fbff;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
}
    .primary { background: linear-gradient(180deg, #f2f7ff, #c5d7ea); color: #071423; font-weight: 800; }
    a.primary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
    .primary.hot { background: linear-gradient(180deg, #ffb088, var(--orange)); color: #1a0c06; }
    .primary:disabled, .defence:disabled { opacity: .4; }
    .hand, .defence-row { display: flex; gap: 10px; flex-wrap: wrap; }
    .card, .defence { flex: 1 1 140px; min-height: 96px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; }
    .card strong, .defence strong { display: block; font-size: 16px; }
    .card.selected { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(226,106,44,.45); }
    .defence.selected { border-color: #e7b3c0; box-shadow: 0 0 0 2px rgba(122,36,56,.55); }
    .mini { display: block; position: relative; height: 28px; margin-bottom: 6px; border: 1px solid rgba(231,243,255,.35); border-radius: 4px 4px 10px 10px; }
    .dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(231,243,255,.35); }
    .dot.left { left: 18%; top: 46%; }
    .dot.right { right: 18%; top: 46%; }
    .dot.center { left: 50%; bottom: 4px; transform: translateX(-50%); }
    .dot.on { background: var(--orange); }
    .result { font-size: 28px; font-weight: 800; margin: 8px 0; }
    .result.goal { color: var(--orange); }
    .result.save { color: #d7f4ff; }
    .history { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
    .history span { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.06); }
    .history .goal { color: #ffd0b0; }
    .history .save { color: #d7f4ff; }
    .keys { color: var(--muted); font-size: 12px; text-align: center; padding-bottom: 16px; }
    .clock { color: var(--orange); font-variant-numeric: tabular-nums; }
    .clutch[data-reduced="1"] .card.selected,
    .clutch[data-reduced="1"] .lane.selected { animation: none; }
    .lights { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; }
    .lights.red { background: radial-gradient(circle at 50% 30%, rgba(180, 24, 24, .55), transparent 62%); animation: wash .7s ease; }
    .lights.blue { background: radial-gradient(circle at 50% 40%, rgba(210, 236, 255, .5), transparent 58%); animation: wash .45s ease; }
    .lights.still { animation: none; opacity: .35; }
    .clutch.shake { animation: rattle .35s linear; }
    .clutch[data-reduced="1"].shake { animation: none; }
    .clutch.vignette .veil { box-shadow: inset 0 0 180px 50px rgba(0, 0, 0, .78); }
    .intro { position: fixed; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(4, 8, 14, .55); text-align: center; pointer-events: none; }
    .intro[hidden] { display: none; }
    .intro strong, .intro span { display: block; }
    .intro strong { font-size: clamp(28px, 7vw, 56px); letter-spacing: .14em; }
    .intro span { margin-top: 6px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
    @keyframes wash { from { opacity: .9; } to { opacity: 0; } }
    @keyframes lane-pulse { 50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 28px var(--glow); } }
    @keyframes rattle {
      20% { transform: translateX(4px); }
      40% { transform: translateX(-4px); }
      60% { transform: translateX(2px); }
      80% { transform: translateX(-1px); }
    }
    @media (prefers-reduced-motion: reduce) {
      .card, .defence, .lane.selected { transition: none; animation: none; }
    }
    @media (min-width: 900px) {
      .stage { max-height: 64vh; }
      .menu h1 { font-size: 40px; }
    }
    @media (max-width: 720px) {
      .clutch { min-height: 100dvh; }
      .clutch[data-phase="selection"] { height: 100dvh; }
      .clutch[data-phase="selection"] .stage {
        flex: 1 1 auto;
        aspect-ratio: auto;
        max-height: none;
        min-height: 0;
        width: calc(100% - 12px);
        margin-top: 8px;
      }
      .clutch[data-phase="selection"] .tray { margin: 8px auto 0; }
      .clutch[data-phase="selection"] .keys { padding-bottom: 8px; }
      .menu h1, .poss .who { font-size: 22px; }
      .card, .defence { flex-basis: 100%; }
    }

.hub-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.hub-nav button { min-height: 44px; }
.clutch[data-hub="menu"] .stage,
.clutch[data-hub="daily"] .stage,
.clutch[data-hub="tournament"] .stage,
.clutch[data-hub="cosmetics"] .stage,
.clutch[data-hub="friend"] .stage,
.clutch[data-hub="tutorial"] .stage,
.clutch[data-hub="paywall"] .stage { display: none; }
.bracket { display: grid; gap: 8px; }
.bracket .round { display: grid; gap: 6px; }
.bracket article { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.bracket .you { color: var(--orange); }
.cosmetic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.cosmetic-grid button { min-height: 72px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cosmetic-grid .cosmetic-name, .cosmetic-grid .cosmetic-meta { display: block; }
.cosmetic-grid .cosmetic-meta { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.cosmetic-grid .on { border-color: var(--orange); }
.code { font-size: 28px; letter-spacing: .2em; font-weight: 800; }
.lane.ring-gold { border-color: #f0d48a; box-shadow: 0 0 18px rgba(240, 212, 138, .85); }
.paywall .kicker { margin: 0; letter-spacing: .16em; text-transform: uppercase; color: #ffb088; font-size: 12px; font-weight: 800; }
.paywall .price { margin: 8px 0; font-size: 42px; font-weight: 800; color: #fff; }
.paywall .price span { font-size: 16px; color: var(--muted); margin-left: 6px; }
.paywall .idy-hero { position: relative; height: 148px; margin: 0 0 10px; overflow: hidden; border-radius: 16px; }
.paywall .idy-hero-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paywall .idy-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,16,.1), rgba(2,8,16,.78)); }
.paywall .idy-why { position: relative; z-index: 1; margin: 64px 12px 0; font-size: 30px; line-height: .95; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 2px 16px #000; }
.paywall .idy-why-line { position: relative; z-index: 1; margin: 6px 12px 0; color: #f3e2d4; }
.paywall .idy-unlocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 10px; }
.paywall .idy-unlocks span { min-height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(226,106,44,.18); color: #ffd7c2; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.paywall .idy-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px; background: #e26a2c; color: #1a0c06; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.paywall .idy-plan-pro { position: relative; animation: idy-pro-glow 2.6s ease-in-out infinite; }
.idy-upgrade { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffb47a, #e26a2c); color: #1a0c06; box-shadow: 0 0 22px rgba(226,106,44,.8); }
.idy-upgrade:hover::after, .idy-upgrade:active::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(255,244,230,.92), transparent 62%); animation: idy-horn .45s ease; pointer-events: none; }
@keyframes idy-pro-glow { 50% { box-shadow: 0 0 26px rgba(226,106,44,.9); } }
@keyframes idy-horn { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .idy-hero-clip { display: none; }
  .idy-plan-pro, .idy-upgrade::after { animation: none; }
}
.paywall .idy-plans { display: grid; gap: 10px; margin: 0 0 12px; }
@media (min-width: 800px) { .paywall .idy-plans { grid-template-columns: 1fr 1fr; } }
.paywall .idy-plan { padding: 12px; border-radius: 16px; border: 1px solid rgba(161,224,250,.28); background: #071423; text-align: left; }
.paywall .idy-plan-pro { border-color: rgba(226,106,44,.75); }
.paywall .idy-plan h3 { margin: 0; color: #9adfff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.paywall .idy-plan-pro h3 { color: #ffb088; }
.paywall .idy-plan-price { display: block; margin: 4px 0 8px; font-size: 28px; }
.paywall .idy-plan ul { margin: 0; padding: 0 0 4px 18px; color: #d5e4ee; }
.paywall .idy-plan li { margin: 4px 0; }
.lane.ring-maroon { border-color: #f3c6d2; }

/* Phone match: one step on screen, nothing overlapping the net. */
.clutch[data-hub="match"] {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.clutch[data-hub="match"] .keys { display: none; }
.clutch[data-hub="match"] .board {
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  padding: 6px 8px 0;
  overflow: hidden;
}
.clutch[data-hub="match"] .brand { flex: 0 0 auto; min-width: 0; }
.clutch[data-hub="match"] .brand span { display: none; }
.clutch[data-hub="match"] .brand strong { font-size: 11px; letter-spacing: .02em; white-space: nowrap; }
.clutch[data-hub="match"] .score { flex: 1 1 auto; justify-content: center; gap: 6px; min-width: 0; overflow: hidden; font-size: 13px; }
.clutch[data-hub="match"] .gear { flex: 0 0 40px; width: 40px; min-width: 40px; min-height: 40px; padding: 0; }
.clutch[data-hub="match"] .tray {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
}
.clutch[data-hub="match"] .stage {
  width: min(480px, calc(100% - 16px));
  margin: 8px auto 0;
  overflow: hidden;
}
.clutch[data-hub="match"] .stage .action { object-fit: cover; }
.clutch[data-hub="match"][data-step="clip"] .stage,
.clutch[data-hub="match"][data-step="faceoff"] .stage {
  flex: 0 1 auto;
  width: min(960px, calc(100% - 16px));
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(62vh, calc(100% - 140px));
}
.clutch[data-hub="match"][data-step="clip"] .stage .action,
.clutch[data-hub="match"][data-step="faceoff"] .stage .action {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}
.clutch[data-step="cards"] .stage,
.clutch[data-step="flip"] .stage,
.clutch[data-step="over"] .stage { display: none; }
.clutch[data-step="cards"] .tray,
.clutch[data-step="flip"] .tray,
.clutch[data-step="over"] .tray { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.clutch[data-hub="match"][data-step="net"] .stage,
.clutch[data-hub="match"][data-step="clip"] .stage,
.clutch[data-hub="match"][data-step="faceoff"] .stage {
  display: grid;
  min-height: 0;
}
/* Basis 0 on the net only. A clip stays 16:9 so the goalie is not stretched
   into the spare height above and below the film. */
.clutch[data-hub="match"][data-step="net"] .stage {
  flex: 1 1 0%;
  aspect-ratio: auto;
  max-height: none;
}
.clutch[data-hub="match"][data-step="net"] .tray,
.clutch[data-hub="match"][data-step="clip"] .tray,
.clutch[data-hub="match"][data-step="faceoff"] .tray {
  flex: 0 0 auto;
}
.step { width: 100%; }
/* The shipped shell has `.step { display: none }` for an old wizard, and only
   `.step.active` comes back. Clutch steps are not that wizard. A step that
   does not set its own display (the net, with Lock) disappears in production
   and stays visible on clutch.html, which never loads the shell rule. */
.clutch .step { display: flex; flex-direction: column; }
.showdown-root { position: fixed; inset: 0; z-index: 40; overflow: auto; background: #08121c; }
.step.cards, .step.final { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 8px; }
.step.cards { justify-content: flex-end; align-items: center; padding-bottom: 18px; }
.step.final { justify-content: center; }
.step.final h1 { margin: 0; font-size: 34px; }
.prompt { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; }
.clutch[data-hub="match"] .score { white-space: nowrap; }
.hand-row, .cardbar, .lockbar { display: flex; gap: 8px; }
.hand-row {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 22px 0 10px;
}
.shot-card.mini {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #16344c, #0a1a2b);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
}
.shot-card.mini b { font-size: 11px; line-height: 1.05; }
.shot-card.mini em { font-style: normal; font-size: 14px; font-weight: 800; }
.shot-card.mini.on { outline: 2px solid #fff; }
.shot-card.mini:disabled, .shot-card.mini.used { opacity: .4; }
.hand-row.attack .shot-card { width: 94px; height: 128px; }
@media (max-width: 420px) {
  .hand-row.defend .shot-card { width: 96px; height: 128px; }
}
.hand-row.attack .shot-card:nth-child(n + 2) { margin-left: -10px; }
.hand-row .shot-card {
  --tilt: 0deg;
  --glow: rgba(226, 106, 44, .85);
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  height: 150px;
  min-height: 0;
  padding: 0 0 8px;
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #1c3a52, #0c1824) padding-box,
    linear-gradient(145deg, #fff8ea, #f0d48a 18%, #fff 40%, #b9e6ff 58%, #e26a2c 78%, #fff) border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 14px 22px rgba(0, 0, 0, .4), 0 0 16px var(--glow);
  transform: rotate(var(--tilt));
  transform-origin: 50% 60%;
  transition: transform .28s ease, box-shadow .28s ease;
}
.hand-row.defend .shot-card:nth-child(1) { --tilt: -6deg; }
.hand-row.defend .shot-card:nth-child(2) { --tilt: 0deg; margin-bottom: 14px; }
.hand-row.defend .shot-card:nth-child(3) { --tilt: 6deg; }
.clutch[data-step="cards"] .hand-row { margin-bottom: 28px; }
.clutch[data-step="cards"] .tray { overflow: hidden; }
.hand-row.attack .shot-card:nth-child(1) { --tilt: -8deg; }
.hand-row.attack .shot-card:nth-child(2) { --tilt: -3deg; margin-bottom: 12px; }
.hand-row.attack .shot-card:nth-child(3) { --tilt: 3deg; margin-bottom: 12px; }
.hand-row.attack .shot-card:nth-child(4) { --tilt: 8deg; }
@keyframes deal-in {
  from { opacity: 0; transform: translateY(28px) rotate(0deg); }
  to { opacity: 1; transform: rotate(var(--tilt)); }
}
.hand-row .shot-card { animation: deal-in .32s ease both; }
.hand-row .shot-card:nth-child(2) { animation-delay: .04s; }
.hand-row .shot-card:nth-child(3) { animation-delay: .08s; }
.hand-row .shot-card:nth-child(4) { animation-delay: .12s; }
.clutch[data-step="cards"] .tray {
  flex-direction: column;
  padding-left: 6px;
  padding-right: 6px;
}
.hand-row .shot-card.glove { --glow: rgba(243, 198, 210, .9); }
.hand-row .shot-card.five { --glow: rgba(170, 220, 255, .85); }
.shot-card .art, .pcard .art {
  display: block;
  height: 64px;
  margin: 6px 6px 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a4060, #0d2233);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.hand-row.attack .shot-card .art { height: 52px; }
.net-mini {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 16%;
  bottom: 10%;
  border: 2px solid rgba(244, 251, 255, .9);
  border-bottom: 0;
  border-radius: 46% 46% 0 0;
}
.shot-card .spot, .pcard .spot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: 30%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0 30%, rgba(226, 106, 44, .7) 62%, transparent 74%);
  box-shadow: 0 0 10px var(--glow, #e26a2c);
}
.shot-card.five .spot, .pcard.five .spot { left: 50%; top: 74%; }
.shot-card.glove .spot, .pcard.glove .spot { left: 74%; top: 42%; }
.shot-card b, .pcard b {
  margin-top: auto;
  padding: 6px 4px 0;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: .03em;
  text-align: center;
  color: #f4fbff;
}
.shot-card small, .pcard small {
  display: block;
  text-align: center;
  color: #9eb4c8;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shot-card.on {
  box-shadow: 0 0 0 3px #fff, 0 0 18px var(--glow), 0 14px 22px rgba(0, 0, 0, .4);
}
.confirm { min-height: 1.2em; margin: 0; text-align: center; font-weight: 800; letter-spacing: .08em; color: #f4fbff; }
.confirm:empty { display: none; }
.discards { display: flex; gap: 4px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 0 0 8px; min-height: 22px; }
.discards b { color: #f4fbff; font-size: 13px; letter-spacing: .06em; margin-right: 6px; }
.discards i { padding: 2px 5px; border-radius: 4px; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.discards i.you { background: #e26a2c; color: #1a0c06; }
.discards i.opp { background: #7a2438; color: #fff; }
.step.flip {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
}
.pair { display: flex; gap: 10px; justify-content: center; align-items: center; }
.vs { font-size: 22px; letter-spacing: .14em; color: #f4fbff; margin: 0 2px; }
.pcard {
  width: 150px;
  height: 210px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #1c3a52, #0c1824);
  color: #f4fbff;
  overflow: hidden;
}
.pcard .art { height: 118px; }
.pcard.you { box-shadow: 0 0 0 2px #e26a2c, 0 16px 28px rgba(0, 0, 0, .45); }
.pcard.opp { box-shadow: 0 0 0 2px #7a2438, 0 16px 28px rgba(0, 0, 0, .45); }
.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #10283c;
  border: 2px solid #c4a574;
  z-index: 2;
}
.pcard.open::before { display: none; }
.step.flip[data-beat="snap"] .pcard.you { transform: translateY(-16px) scale(1.04); }
.skip-quiet {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  min-height: 32px;
  min-width: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #9eb4c8;
  font-size: 13px;
  letter-spacing: .08em;
}
.call { margin: 0 0 8px; text-align: center; letter-spacing: .16em; font-weight: 800; color: #f4fbff; }
.step.cards.defend .spot {
  background: radial-gradient(circle, #ffe4ec 0 28%, rgba(176, 64, 96, .6) 60%, transparent 72%);
}
.hand-row .shot-card b {
  margin-top: auto;
  padding: 8px 8px 0;
  font-size: 12px;
  line-height: 1.05;
  letter-spacing: .04em;
  text-align: center;
}
.hand-row .shot-card em {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 32px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e26a2c;
  color: #1a0c06;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.hand-row .shot-card.used {
  opacity: .5;
  filter: saturate(.25);
  box-shadow: none;
}
.hand-row .shot-card.used em {
  background: #243246;
  color: #d5e4ee;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hand-row .shot-card.lifting {
  z-index: 3;
  transform: rotate(var(--tilt)) translateY(-28px) scale(1.08);
  box-shadow: 0 22px 32px rgba(0, 0, 0, .5), 0 0 26px var(--glow);
}
@media (min-width: 900px) {
  .hand-row.attack .shot-card { width: 112px; height: 150px; }
  .hand-row.defend .shot-card { width: 140px; height: 188px; }
  .hand-row.attack .shot-card .art { height: 72px; }
  .shot-card b, .pcard b { font-size: 13px; }
  .pcard { width: 168px; height: 236px; }
  .pcard .art { height: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .hand-row .shot-card, .hand-row .shot-card.lifting, .pcard::before { transition: none; animation: none; }
}
.lock-hint, .read-out { margin: 0 0 6px; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.read-out { color: #f4fbff; font-weight: 700; }
.lockbar { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
/* flex:1 is flex-basis 0%. In the match-over column that grew Rematch and
   Menu to fill the screen, and it left Lock with no height when the tray
   was squeezed. Action buttons keep a real height. */
.lock {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  font-size: 20px;
}
.lockbar .lock { flex: 1 1 auto; width: auto; }
.token {
  flex: 0 0 76px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 18, 32, .9);
  font-weight: 800;
}
.lock:disabled { opacity: .45; }
.clip-title {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(4, 8, 14, .78);
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.clutch[data-hub="match"] .banner {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(56px, 16vw, 96px);
  letter-spacing: .04em;
  line-height: 1;
  z-index: 4;
  text-shadow: 0 6px 24px #000;
  pointer-events: none;
}
.coach {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(4, 8, 14, .62);
}
.coach[hidden] { display: none; }
.coach-card {
  width: min(420px, 100%);
  margin: 0 auto 8px;
  padding: 16px;
  border-radius: 18px;
  background: #102033;
  border: 1px solid var(--line);
}
.coach-card h2 { margin: 4px 0 8px; font-size: 28px; }
.coach-card p { margin: 0 0 12px; }
.coach-card .row { margin: 0; }
.coach-card .row button { flex: 1; }
.stage .skip[hidden] { display: none; }
@media (pointer: coarse), (max-width: 899px) {
  .keys { display: none; }
}

/* Feel: fan, tilt, ice, hush, one score pop. Lock size and the net stage stay put. */
@keyframes fan-in {
  0% { opacity: 0; transform: translateY(56px) rotate(0deg) scale(.84); }
  100% { opacity: 1; transform: rotate(var(--tilt)) scale(1); }
}
.hand-row .shot-card {
  animation: fan-in .4s cubic-bezier(.16, .84, .32, 1) both;
}
.hand-row .shot-card:nth-child(1) { animation-delay: 0s; }
.hand-row .shot-card:nth-child(2) { animation-delay: .05s; }
.hand-row .shot-card:nth-child(3) { animation-delay: .1s; }
.hand-row .shot-card:nth-child(4) { animation-delay: .15s; }
.hand-row .shot-card.lifting {
  animation: none;
  z-index: 4;
  transform: rotate(calc(var(--tilt) - 7deg)) translateY(-36px) scale(1.08);
  transition: none;
  box-shadow: 0 28px 36px rgba(0, 0, 0, .55), 0 0 30px var(--glow);
}
.hand-row .shot-card.lifting::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 48%, transparent 64%);
}
.prompt, .confirm, .lock-hint, .score, .brand strong, .banner, .clutch-stamp, .clip-title, .vs, .step.final h1, .shot-card b, .pcard b, .lock, .lane span {
  font-family: var(--poster);
}
.prompt { font-size: 24px; letter-spacing: .03em; text-shadow: 0 2px 10px rgba(0, 0, 0, .75); }
.confirm { font-size: 18px; letter-spacing: .12em; text-shadow: 0 2px 8px #000; }
.lock-hint { font-size: 15px; color: #d5e6f2; }
.clutch[data-hub="match"] .brand strong { font-size: 14px; letter-spacing: .08em; }
.clutch[data-hub="match"] .score { font-size: 17px; letter-spacing: .03em; text-shadow: 0 1px 3px rgba(0, 0, 0, .85); }
.hand-row .shot-card b, .pcard b { font-size: 14px; letter-spacing: .05em; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.shot-card small, .pcard small { font-size: 11px; }
.score .bump { display: inline-block; animation: score-pop .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes score-pop {
  40% { transform: scale(1.55); }
}
.step.flip[data-beat="snap"] .pcard,
.step.flip[data-beat="snap"] .pcard.you {
  transform: translateY(8px) scale(.96);
  filter: brightness(.8) saturate(.85);
  animation: windup .28s ease both;
}
@keyframes windup {
  0% { transform: translateY(28px) scale(.9); filter: brightness(.7); }
  100% { transform: translateY(8px) scale(.96) rotateY(16deg); filter: brightness(.9); }
}
.pcard.open { animation: settle .2s ease both; }
@keyframes settle {
  from { transform: rotateY(16deg) scale(.97); filter: brightness(1.35); }
  to { transform: none; filter: none; }
}
.pcard.open::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), transparent 30%);
}
.vs { font-size: 28px; font-weight: 800; text-shadow: 0 2px 12px #000; }
.spray {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}
.spray i {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 3px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(#fff, rgba(186, 230, 255, .15));
  box-shadow: 0 0 10px rgba(255, 255, 255, .95);
  transform-origin: 50% 100%;
  opacity: 0;
  pointer-events: none;
  animation: ice-burst .42s ease-out both;
  animation-delay: var(--d);
}
.spray::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 300px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, .92), rgba(176, 224, 255, .28) 38%, transparent 72%);
  animation: frost .36s ease-out both;
  pointer-events: none;
}
.step.flip[data-beat="snap"] .pcard {
  box-shadow: 0 0 0 2px #e7f6ff, 0 0 24px rgba(198, 232, 255, .9), 0 16px 28px rgba(0, 0, 0, .45);
}
@keyframes ice-burst {
  0% { opacity: 0; transform: rotate(var(--r)) translateY(0) scaleY(.35); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--r)) translateY(var(--y)) scaleY(1); }
}
@keyframes frost {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}
.clutch.hush .crowd video { filter: brightness(.58) saturate(.78); }
.clutch.hush .veil {
  background: linear-gradient(180deg, rgba(4, 8, 14, .86), rgba(4, 8, 14, .64) 42%, rgba(4, 8, 14, .9));
  animation: heart-dip .78s ease-in-out infinite;
}
@keyframes heart-dip {
  0%, 100% { box-shadow: inset 0 0 70px 16px rgba(0, 0, 0, .28); }
  14% { box-shadow: inset 0 0 130px 36px rgba(110, 16, 28, .42); }
  32% { box-shadow: inset 0 0 80px 18px rgba(0, 0, 0, .24); }
  46% { box-shadow: inset 0 0 150px 42px rgba(110, 16, 28, .38); }
}
.clutch-stamp {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  z-index: 4;
  margin: 0;
  pointer-events: none;
  font-size: clamp(22px, 6vw, 40px);
  letter-spacing: .16em;
  font-weight: 800;
  color: #fff4ea;
  white-space: nowrap;
  text-shadow: 0 4px 18px #000;
}
.clutch-stamp.save { color: #e7f6ff; }
.clutch-stamp[hidden] { display: none; }
.step.final h1 {
  font-size: clamp(40px, 12vw, 64px);
  letter-spacing: .02em;
  line-height: .95;
  text-shadow: 0 3px 18px #000;
}
.step.final .prompt { color: #f4fbff; text-shadow: 0 2px 12px #000; }
.lock.primary.hot {
  background: linear-gradient(180deg, #ffc6a4, #e26a2c 55%, #c6531c);
  letter-spacing: .14em;
}
.clutch[data-reduced="1"] .hand-row .shot-card,
.clutch[data-reduced="1"] .hand-row .shot-card.lifting,
.clutch[data-reduced="1"] .pcard.open,
.clutch[data-reduced="1"] .step.flip[data-beat="snap"] .pcard,
.clutch[data-reduced="1"].hush .veil,
.clutch[data-reduced="1"] .score .bump,
.clutch[data-reduced="1"] .spray,
.clutch[data-reduced="1"] .spray i,
.clutch[data-reduced="1"] .spray::before {
  animation: none;
}
.clutch[data-reduced="1"] .hand-row .shot-card { opacity: 1; transform: rotate(var(--tilt)); }
.clutch[data-reduced="1"] .hand-row .shot-card.lifting { transform: rotate(var(--tilt)) translateY(-16px); }
@media (prefers-reduced-motion: reduce) {
  .hand-row .shot-card,
  .hand-row .shot-card.lifting,
  .pcard.open,
  .step.flip[data-beat="snap"] .pcard,
  .clutch.hush .veil,
  .score .bump,
  .spray,
  .spray i,
  .spray::before { animation: none; }
  .hand-row .shot-card { opacity: 1; }
}
.toggles select, select[data-act="difficulty"] {
  background: #102033;
  color: #f4fbff;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
}
.intro {
  inset: auto;
  top: 68px;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(420px, calc(100% - 24px));
  height: auto;
  transform: translateX(-50%);
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(4, 8, 14, .88);
}
.intro[hidden] { display: none; }
@media (max-width: 720px) {
  .paywall { display: flex; flex-direction: column; }
  .paywall .idy-hero,
  .paywall .idy-why-line,
  .paywall .idy-unlocks,
  .paywall .note:last-child { display: none; }
  .paywall .idy-why { position: static; margin: 4px 0; font-size: 22px; }
  .paywall .idy-plans { gap: 6px; margin-bottom: 8px; }
  .paywall .idy-plan { padding: 8px 10px; }
  .paywall .idy-plan-price { font-size: 22px; margin: 2px 0; }
  .paywall h1 { font-size: 26px; margin: 4px 0; }
  .paywall .row { margin-top: 8px; }
}


/* Account screen: stacked, full-width fields in the game's look. */
.clutch:has([data-screen="account"]) .stage { display: none; }
[data-screen="account"] label.note { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 10px 0 0; color: var(--muted); font-family: var(--poster); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
[data-screen="account"] input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 16px "Segoe UI", system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
[data-screen="account"] input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
[data-screen="account"] .row { margin-top: 16px; }
.clutch { height: 100dvh; max-height: 100dvh; overflow: hidden; }
.clutch > .tray { flex: 1 1 auto; min-height: 0; overflow: auto; }
.clutch:not([data-hub="match"]) [data-act="full"] { display: none; }
.clutch .board { flex-wrap: wrap; max-width: 100%; }
.clutch [data-act="leave"] { flex: 0 0 auto; min-height: 40px; height: 40px; padding: 0 12px; }
.clutch .stats { overflow: visible; }
@media (max-width: 720px) {
  .clutch .intro { top: 132px; }
  .clutch[data-hub="match"] .board { flex-wrap: wrap; overflow: visible; align-items: center; }
  .clutch[data-hub="match"] .brand { order: 1; }
  .clutch[data-hub="match"] .gear,
  .clutch[data-hub="match"] [data-act="leave"] { order: 2; }
  .clutch[data-hub="match"] .score {
    order: 3;
    flex: 1 0 100%;
    overflow: visible;
    justify-content: space-between;
    min-width: 0;
    font-size: 15px;
    white-space: nowrap;
  }
  .clutch[data-hub="menu"] .menu h1 { font-size: 22px; margin-bottom: 4px; }
  .clutch[data-hub="menu"] .lede,
  .clutch[data-hub="menu"] .note { margin: 4px 0; }
  .clutch[data-hub="menu"] .row,
  .clutch[data-hub="menu"] .toggles { margin: 6px 0; }
  .clutch[data-hub="menu"] .stats { font-size: 13px; line-height: 1.35; padding-bottom: 12px; }
  .clutch[data-screen="cosmetics"] .menu,
  .clutch[data-hub="cosmetics"] .menu { padding-bottom: 28px; }
}
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 0; font-size: 13px; }
.legal-links a { color: var(--muted); }
#gate[hidden] { display: none; }
#gate { position: fixed; inset: 0; z-index: 80; overflow: auto; align-items: start; justify-items: center; padding: 24px 16px; background: rgba(2, 6, 12, .94); color: var(--ink); }
#gate .idy-hero, #gate .idy-hero-clip { max-height: 160px; }
#gate .idy-unlocks { display: flex; gap: 14px; margin: 8px 0; }
#gate .idy-hero { overflow: hidden; }
#gate .gate-card { width: min(100%, 440px); margin: 0 auto; padding: 22px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(7, 18, 32, .96); }
#gate .gate-card h1 { margin: 0 0 8px; font-family: var(--poster); letter-spacing: .04em; }
#gate .gate-card p { color: var(--muted); }
#gate .gate-card input, #gate .gate-card button { display: block; width: 100%; min-height: 48px; margin: 8px 0; border-radius: 12px; border: 1px solid var(--line); background: #0c1b2c; color: var(--ink); padding: 0 12px; }
#gate .gate-card button { background: var(--orange); color: #1a0d06; font-weight: 700; }
#gate .gate-card button.secondary { background: transparent; color: var(--ink); }
#gate .idy-legal { display: flex; flex-wrap: wrap; gap: 8px 12px; }
#gate .idy-legal a { color: #d7e7f5; }
