@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   VOTE PITCH v2 — Part 1 Flow
   Ένα pitch · 22 παίκτες · team colors · ripple · banner style 7
═══════════════════════════════════════════════════════════════ */

:root {
  --fp-dot-size: 32px;
  --fp-dot-size-sub: 26px;
  --fp-name-size: 7px;
  --fp-def-pos: 15.5%;
  --fp-mid-pos: 26.5%;
  --fp-att-pos: 37.5%;
  --fp-line-opacity: 0.200;
  --fp-line-width: 0.1;
  --fp-area-depth: 10.5;
  --fp-grass-contrast: 0.025;
  --fp-icon-size: 22px;
  --fp-header-h: 28px;
}

/* ── View ── */
#view-pitch {
  display: none;
  flex-direction: column;
  background: var(--bg0, #06080e);
  overflow-x: visible;
  overflow-y: hidden;
  position: fixed;
  inset: 0;
  z-index: 100;
  /* transition controlled per-step by JS (_setScreenColor) */
}

#view-pitch.view--active {
  display: flex;
}

/* ── Progress bar ── */
.fp-prog-wrap {
  height: 2px;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}
.fp-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c853, #00e676);
  transition: width .5s cubic-bezier(0.16,1,0.3,1);
}

/* ── Pitch canvas (full screen) ── */
.fp-pitch-canvas {
  flex: 1;
  width: 100%;
  max-height: none;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  min-height: var(--fp-area-depth);
  /* Extra padding top/bottom so subs outside pitch boundary are visible */
  padding-top: 44px;
  padding-bottom: 44px;
  background:
    repeating-linear-gradient(180deg,
      rgba(255,255,255,var(--fp-grass-contrast)) 0px,
      rgba(255,255,255,var(--fp-grass-contrast)) 22px,
      transparent 22px, transparent 44px),
    linear-gradient(170deg, #0a1628 0%, #061020 50%, #0a1628 100%);
}

.fp-pitch-canvas.fp-canvas--locked {
  pointer-events: none;
}

/* Same node as .fp-pitch-canvas — zone glows clipped via svg, subs must be visible outside */
#fpCanvas {
  overflow: visible;
}

/* ── Zone spot overlays (radial highlights on fpCanvas) ── */
.gn-zone-spot {
  position: absolute;
  left: 0; right: 0;
  top: 0; height: 100%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gn-zone-spot--on { opacity: 1; }

.gn-zone-spot--defense {
  background:
    radial-gradient(ellipse 90% 18% at 50% 12%,
      rgba(79,195,247,0.25) 0%, transparent 100%),
    radial-gradient(ellipse 90% 18% at 50% 88%,
      rgba(79,195,247,0.25) 0%, transparent 100%);
}
.gn-zone-spot--midfield {
  background:
    radial-gradient(ellipse 85% 12% at 50% 28%,
      rgba(0,230,118,0.22) 0%, transparent 100%),
    radial-gradient(ellipse 85% 12% at 50% 72%,
      rgba(0,230,118,0.22) 0%, transparent 100%);
}
.gn-zone-spot--attack {
  background:
    radial-gradient(ellipse 85% 12% at 50% 42%,
      rgba(255,82,82,0.25) 0%, transparent 100%),
    radial-gradient(ellipse 85% 12% at 50% 58%,
      rgba(255,82,82,0.25) 0%, transparent 100%);
}

/* ── Logo fade background (watermark) ── */
.fp-logo-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fp-logo-bg.fp-logo-bg--visible {
  opacity: 1;
}
.fp-logo-away {
  top: 0;
}
.fp-logo-home {
  bottom: 0;
}
.fp-logo-bg-img {
  width: min(72%, 220px);
  height: min(72%, 220px);
  object-fit: contain;
  opacity: 0.1;
}
.fp-logo-bg-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  letter-spacing: 4px;
  opacity: 0.055;
  line-height: 1;
}
.fp-logo-bg .hv2-mark,
.fp-logo-bg-mark {
  width: min(42%, 140px);
  height: min(42%, 140px);
  opacity: 0.22;
}

/* ── Pitch SVG lines ── */
.fp-pitch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.fp-pitch-svg > rect:nth-child(1),
.fp-pitch-svg > rect:nth-child(7),
.fp-pitch-svg > rect:nth-child(12) {
  stroke: rgba(100, 160, 255, var(--fp-line-opacity));
  stroke-width: var(--fp-line-width);
}

.fp-btn-x {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.45);
  cursor: pointer; z-index: 20;
  pointer-events: auto;
}

.fp-bottom-right {
  position: absolute;
  bottom: 4px; right: 10px;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px; z-index: 20;
}
.fp-bottom-left {
  position: absolute;
  bottom: 32px;
  left: 10px;
  z-index: 20;
}
.fp-step-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-align: right;
}
.fp-btn-next {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}

#fpBtnNext {
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.fp-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: fpBtnRipple 0.6s linear forwards;
  pointer-events: none;
}

@keyframes fpBtnRipple {
  to { transform: scale(4); opacity: 0; }
}

@keyframes nextPulse {
  0%, 100% {
    box-shadow: 0 0 28px rgba(255,255,255,0.22);
  }
  50% {
    box-shadow: 0 0 40px rgba(255,255,255,0.38);
  }
}

.fp-btn-back {
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.4);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0.5px solid rgba(255,255,255,0.08);
  cursor: pointer;
  pointer-events: auto;
}

/* ── Team headers ── */
.fp-team-hdr {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--fp-header-h);
  z-index: 5;
  pointer-events: none;
  left: 10px;
  right: 10px;
}
.fp-team-hdr-top { top: 8px; }
.fp-team-hdr-bot { bottom: 8px; }

.fp-team-hdr .fp-btn-x {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex-shrink: 0;
}

.fp-team-hdr-spacer {
  flex: 1;
  min-width: 0;
  pointer-events: none;
}

.fp-team-placeholder {
  flex-shrink: 0;
  box-sizing: border-box;
  pointer-events: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.fp-team-placeholder--mark {
  border: none !important;
  background: transparent !important;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.fp-team-placeholder--mark .hv2-mark {
  width: 22px;
  height: 22px;
}

.fp-team-badge {
  width: 22px; height: 22px;
  border-radius: 4px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8px; letter-spacing: 1px;
  flex-shrink: 0;
}
.fp-team-fullname {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  flex: 1;
  min-width: 0;
}
.fp-team-hdr-top .fp-team-fullname,
.fp-team-hdr-bot .fp-team-fullname {
  flex: 0 1 auto;
}
.fp-team-hdr-top .fp-team-fullname {
  text-align: right;
}
.fp-team-hdr-bot .fp-team-fullname {
  text-align: left;
}

.fp-team-hdr .fp-tray-next {
  pointer-events: auto;
  flex: 0 0 auto;
}
.fp-team-form {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px; letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
}

/* ── Players layer ── */
.fp-players {
  position: absolute;
  inset: 0;
  z-index: 6;
  transform: scaleX(1.06);
  transform-origin: center center;
}

/* ── Player dot ──
   The dot center must land exactly on the left%/top% coordinate.
   We use --fp-dot-anchor-y (set per orientation class below) so that
   translate(-50%, var(--fp-dot-anchor-y)) shifts the container until
   the dot circle center aligns with the anchor point.

   Measurements (container padding-top:8px, gap:1px, dot:29px, name-row≈12px):
     name-below (top side):  dot center from top = 8 + 14.5 = 22.5px  → anchor -22.5px
     name-above (bot side):  padding(8) + name-row(12) + gap(1) + dot-half(14.5) = 35.5px → anchor -35.5px
*/
.fp-player {
  position: absolute;
  --fp-dot-anchor-y: -22.5px;
  transform: translate(-50%, var(--fp-dot-anchor-y));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 64px;
  height: 86px;
  padding: 8px 4px 0 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 6;
  transition: opacity .2s;
  pointer-events: auto;
}

/* Name below the dot (top-half team): padding(8) + dot-half(14.5) = 22.5px from top */
.fp-player.fp-player--name-below {
  --fp-dot-anchor-y: -22.5px;
}

/* Name above the dot (bottom-half team): padding(8) + name-row(12) + gap(1) + dot-half(14.5) = 35.5px */
.fp-player.fp-player--name-above {
  --fp-dot-anchor-y: -35.5px;
}

/* GK-home mirrors name-above anchor */
.fp-player--gk-home {
  --fp-dot-anchor-y: -35.5px;
}

/* GK-away mirrors name-below anchor */
.fp-player--gk-away {
  --fp-dot-anchor-y: -22.5px;
}

.fp-player.fp-player--pitch-reveal-pending:not(.visible) {
  opacity: 0;
  pointer-events: none;
}
.fp-player.fp-player--pitch-reveal-pending.visible:not(.fp-player--dimmed) {
  opacity: 1;
  pointer-events: auto;
}
.fp-player--gk {
  z-index: 8;
  --fp-dot-size: 29px;
}
/* GK-home = bottom side → name above, anchor same as fp-player--name-above (defined above) */
.fp-player--gk-home .fp-player-name-flat {
  margin-top: 0;
  margin-bottom: 2px;
}

/* GK-away = top side → name below, anchor same as fp-player--name-below (defined above) */
.fp-player--gk-away .fp-player-name-flat {
  margin-top: 2px;
  margin-bottom: 0;
}
.fp-player:active { transform: translate(-50%, var(--fp-dot-anchor-y)) scale(0.85); }
.fp-player--sub:active { transform: translate(-50%, var(--fp-dot-anchor-y)) scale(0.76); }
.fp-player--zone-active {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fp-player--blocked {
  opacity: 0.2;
  pointer-events: none;
}
.fp-player--sub {
  min-width: 52px;
  opacity: 0.75;
  z-index: 7;
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(0.78);
}

/* S3 rating: tap spotlight — zoom only, no blur */
.fp-player--s3-active {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1.6);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  z-index: 10;
}
.fp-player--s3-inactive {
  opacity: 0.45;
  transition: opacity 0.25s ease;
}
.fp-player--sub.fp-player--s3-active {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1.188);
}
.fp-player--sub.fp-player--s3-inactive {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(0.7216);
}
.fp-player--gk-home.fp-player--s3-active {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1.35);
}
.fp-player--gk-home.fp-player--s3-inactive {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1);
}
.fp-player--gk-away.fp-player--s3-active {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1.35);
}
.fp-player--gk-away.fp-player--s3-inactive {
  transform: translate(-50%, var(--fp-dot-anchor-y)) scale(1);
}

/* Sun ring + dot stack (tap tier glow) */
.fp-player-sun-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fp-player-sun-ring {
  display: none;
  border: none;
  border-color: transparent;
}

/* No stray ring stroke outside S4–S6 zone highlight (avoids legacy `border: solid` + currentColor) */
.fp-player:not(.fp-player--zone-active) .fp-player-sun-ring {
  border: none;
  border-color: transparent;
}

.fp-player-seg-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

.fp-player-badge {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  width: 12px;
  height: 12px;
  display: none;
}

.fp-player-badge.visible {
  display: block;
}

/* Common — plain ring, no animation */
.fp-player-sun-ring.fp-tier-common {
  animation: none !important;
  box-shadow: 0 0 10px var(--fp-ring);
}

/* Rare — slow pulse glow on ring */
@keyframes fp-pulse-glow-rare {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 12px var(--fp-ring),
      0 0 20px color-mix(in srgb, var(--fp-ring) 50%, transparent);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
      0 0 22px var(--fp-ring),
      0 0 36px color-mix(in srgb, var(--fp-ring) 55%, transparent);
  }
}
.fp-player-sun-ring.fp-tier-rare.fp-pulse-glow {
  animation: fp-pulse-glow-rare 2s ease infinite;
}

/* Epic — rotating gradient ring */
@keyframes fp-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.fp-player-sun-ring.fp-tier-epic {
  border: none;
  background: conic-gradient(
    from 0deg,
    var(--fp-ring),
    rgba(255, 255, 255, 0.12) 22%,
    transparent 42%,
    var(--fp-ring) 62%,
    rgba(255, 255, 255, 0.08) 82%,
    var(--fp-ring)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  box-shadow: none;
  animation: fp-ring-spin 3s linear infinite;
}

/* Legend — soft glow + sparks (sparks layer) */
.fp-player-sun-ring.fp-tier-legend {
  animation: none !important;
  box-shadow:
    0 0 14px var(--fp-ring),
    0 0 28px color-mix(in srgb, var(--fp-ring) 50%, transparent);
}

.fp-player-sparks {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.fp-player--legend .fp-player-sparks {
  opacity: 1;
}
.fp-spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  background: var(--fp-ring);
  box-shadow: 0 0 4px var(--fp-ring);
  animation: fp-spark-fly 1.8s ease-in-out infinite;
}
.fp-player-sparks .fp-spark:nth-child(1) { --fp-spark-a: 0deg;   animation-delay: 0s; }
.fp-player-sparks .fp-spark:nth-child(2) { --fp-spark-a: 45deg;  animation-delay: 0.12s; }
.fp-player-sparks .fp-spark:nth-child(3) { --fp-spark-a: 90deg;  animation-delay: 0.24s; }
.fp-player-sparks .fp-spark:nth-child(4) { --fp-spark-a: 135deg; animation-delay: 0.36s; }
.fp-player-sparks .fp-spark:nth-child(5) { --fp-spark-a: 180deg; animation-delay: 0.48s; }
.fp-player-sparks .fp-spark:nth-child(6) { --fp-spark-a: 225deg; animation-delay: 0.6s; }
.fp-player-sparks .fp-spark:nth-child(7) { --fp-spark-a: 270deg; animation-delay: 0.72s; }
.fp-player-sparks .fp-spark:nth-child(8) { --fp-spark-a: 315deg; animation-delay: 0.84s; }
@keyframes fp-spark-fly {
  0%, 100% {
    opacity: 0.9;
    transform: rotate(var(--fp-spark-a)) translateY(-16px) scale(1);
  }
  50% {
    opacity: 0.3;
    transform: rotate(var(--fp-spark-a)) translateY(-26px) scale(0.55);
  }
}

.fp-player-dot {
  width: var(--fp-dot-size);
  height: var(--fp-dot-size);
  min-width: var(--fp-dot-size);
  min-height: var(--fp-dot-size);
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.fp-player--sub .fp-player-dot {
  width: var(--fp-dot-size-sub);
  height: var(--fp-dot-size-sub);
  min-width: var(--fp-dot-size-sub);
  min-height: var(--fp-dot-size-sub);
  border-width: 1.5px;
}
.fp-dot-score-live {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.fp-dot-score-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
}
.fp-player-name-row {
  display: flex;
  align-items: center;
  gap: 3px;
  justify-content: center;
  position: relative;
}
.fp-player--sub .fp-player-sun-wrap .fp-player-ripple {
  width: 24px;
  height: 24px;
}
.fp-player--sub .fp-player-sun-ring {
  width: 28px;
  height: 28px;
}

/* Player name — flat text below the dot */
.fp-player-name-flat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  white-space: nowrap;
  text-align: center;
  margin-top: 2.5px;
  letter-spacing: 0.03em;
  pointer-events: none;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.3s;
}
.fp-names-visible .fp-player-name-flat { opacity: 1; }
.fp-step-s8 .fp-player-score,
.fp-step-s8 .fp-player-emoji,
.fp-step-s8 .fp-player-ring,
.fp-step-s8 .fp-player-name {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}
.fp-player-tier {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
  min-height: 0;
  text-align: center;
}

.fp-player-slot {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  color: rgba(255,255,255,0.2);
}
.fp-sub-min {
  color: rgba(255,255,255,0.3);
  font-size: 4px;
  margin-left: 2px;
}
.fp-sub-min-ext {
  position: absolute;
  transform: translateY(-50%);
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
  z-index: 20;
  font-family: 'IBM Plex Mono', monospace;
}

/* ── Ripple effect ── */
@keyframes fpRipple {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}
.fp-player-sun-wrap .fp-player-ripple {
  position: absolute;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--rc, #00e676);
  transform: translate(-50%,-50%) scale(1);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.fp-player-ripple.fp-ripple-fire {
  animation: fpRipple .55s cubic-bezier(0.2,0.6,0.4,1) forwards;
}

/* ── Inline banner (S3/S4) — style 7 ── */
@keyframes fpBannerIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fpLineIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes fpBadgeIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.fp-inline-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  height: 34px;
  box-sizing: border-box;
  pointer-events: auto;
}
.fp-inline-banner.fp-banner--hidden {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.fp-inline-banner.fp-banner-in .fp-ib-line {
  animation: fpLineIn .4s cubic-bezier(0.16,1,0.3,1) forwards;
  transform-origin: center;
}
.fp-inline-banner.fp-banner-in .fp-ib-badge,
.fp-inline-banner.fp-banner-in .fp-ib-btn {
  animation: fpBadgeIn .35s .2s cubic-bezier(0.34,1.56,.64,1) both;
}

.fp-ib-line {
  flex: 1;
  height: 1px;
  background: rgba(0,230,118,0.4);
}
.fp-ib-center {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}
.fp-ib-badge {
  background: rgba(6,8,14,0.97);
  border: 1px solid rgba(0,230,118,0.45);
  border-radius: 5px;
  padding: 4px 10px;
  white-space: nowrap;
}
.fp-ib-round {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 6px; letter-spacing: 2px;
  color: rgba(0,230,118,0.55);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fp-ib-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 2px;
  color: rgba(255,255,255,0.95);
  line-height: 1;
}
.fp-ib-btn {
  background: rgba(0,230,118,0.12);
  border: 1px solid rgba(0,230,118,0.38);
  border-radius: 5px;
  padding: 6px 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px; letter-spacing: 2px;
  color: #00e676;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.fp-ib-btn:hover { background: rgba(0,230,118,0.18); }

/* ── Floating card overlay (S1/S2) ── */
/* ── Floating card overlay (S1/S2) ── */
.fp-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-float-card {
  position: relative;
  z-index: 51;
  width: 84%;
  background: #0d1119;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fp-fc-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px; letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fp-fc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 2px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 14px;
  line-height: 1.1;
}

/* Exposure options */
.fp-fc-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; margin-bottom: 6px;
  cursor: pointer; transition: all .15s;
}
.fp-fc-opt:active { transform: scale(.97); }
.fp-fc-opt.sel {
  border-color: rgba(0,230,118,0.4);
  background: rgba(0,230,118,0.05);
}
.fp-fc-ico  { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.fp-fc-lbl  {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  color: rgba(255,255,255,0.7); flex: 1;
}
.fp-fc-opt.sel .fp-fc-lbl { color: rgba(255,255,255,1); }
.fp-fc-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  flex-shrink: 0; transition: all .15s;
}
.fp-fc-opt.sel .fp-fc-check {
  background: #00e676; border-color: #00e676;
  position: relative;
}
.fp-fc-opt.sel .fp-fc-check::after {
  content: '';
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #000;
}

/* Bias options */
.fp-fc-bias-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; margin-bottom: 7px;
  cursor: pointer; transition: all .15s;
}
.fp-fc-bias-opt:active { transform: scale(.97); }
.fp-fc-bias-opt.sel {
  border-color: rgba(0,230,118,0.4);
  background: rgba(0,230,118,0.05);
}
.fp-fc-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.fp-fc-bias-opt.sel .fp-fc-lbl { color: rgba(255,255,255,1); }
.fp-fc-bias-opt .fp-fc-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  flex-shrink: 0; transition: all .15s;
}
.fp-fc-bias-opt.sel .fp-fc-check {
  background: #00e676; border-color: #00e676;
  position: relative;
}
.fp-fc-bias-opt.sel .fp-fc-check::after {
  content: '';
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #000;
}

/* Actions row */
.fp-fc-actions {
  display: flex; gap: 8px;
  margin-top: 14px;
}
.fp-fc-btn-s {
  flex: 1; padding: 11px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.07);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px; letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  border-radius: 6px; cursor: pointer;
  text-transform: uppercase; text-align: center;
  transition: all .15s;
}
.fp-fc-btn-p {
  flex: 1; padding: 11px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.28);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; letter-spacing: 3px;
  color: #00e676;
  border-radius: 6px; cursor: pointer;
  text-align: center;
  transition: all .15s;
}
.fp-fc-btn-p:hover { background: rgba(0,230,118,0.16); }

/* Dim layer */
.gn-entry-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0,165,80,0.08) 0%, transparent 72%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(227,6,19,0.06) 0%, transparent 72%),
    rgba(2,12,6,0.82);
  z-index: 38;
  transition: opacity 0.5s;
}

/* Overlay — centered on pitch */
.gn-entry-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  font-family: 'Manrope', sans-serif;
  padding: 18px 14px;
}

/* Phrase — μικρό · πάνω από ερώτηση */
.gn-entry-phrase {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
  opacity: 0;
  animation: gnFadeUp 0.7s 0.2s both;
}

/* Question — μεγάλο · πάνω στο γρασίδι */
.gn-entry-question {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.97);
  text-align: center;
  line-height: 1.05;
  padding: 0 20px;
  text-shadow: 0 0 60px rgba(0,255,136,0.12);
  opacity: 0;
  animation: gnFadeUp 0.7s 0.35s both;
}
.gn-entry-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 1px;
  background: rgba(0,255,136,0.82);
  animation: gnEntryBlink 1s step-end infinite;
}

/* Pills — horizontal · κάτω από ερώτηση */
.gn-entry-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 392px);
  padding: 0 2px;
  pointer-events: auto;
  opacity: 0;
  animation: gnFadeUp 0.7s 0.5s both;
}

.gn-entry-pill {
  position: relative;
  min-height: 96px;
  padding: 0 18px;
  background: rgba(17,17,17,0.95);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.12s;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  white-space: normal;
  -webkit-tap-highlight-color: transparent;
}
.gn-entry-pill:active { transform: scale(0.94); }
.gn-entry-pill.sel {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.gn-entry-pill.sel-home {
  /* χρώμα από homeC — set inline */
}
.gn-entry-pill.sel-away {
  /* χρώμα από awayC — set inline */
}

.gn-entry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.gn-entry-card--home::before { background: linear-gradient(135deg, rgba(0,165,80,0.22) 0%, transparent 70%); }
.gn-entry-card--away::before { background: linear-gradient(135deg, rgba(227,6,19,0.22) 0%, transparent 70%); }
.gn-entry-card--none::before { background: linear-gradient(135deg, rgba(120,120,120,0.2) 0%, transparent 70%); }
.gn-entry-card--high::before { background: linear-gradient(135deg, rgba(0,255,136,0.15) 0%, transparent 70%); }
.gn-entry-card--medium::before { background: linear-gradient(135deg, rgba(255,200,0,0.14) 0%, transparent 70%); }
.gn-entry-card--low::before { background: linear-gradient(135deg, rgba(255,100,50,0.13) 0%, transparent 70%); }
.gn-entry-pill.sel::before { opacity: 1; }

.gn-entry-card-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.gn-entry-card-logo--mark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
}
.gn-entry-card-logo--mark .hv2-mark {
  width: 40px;
  height: 40px;
}
.gn-entry-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gn-entry-card-logo-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  font-weight: 700;
}
.gn-entry-card--high .gn-entry-card-logo {
  color: #00ff88;
  background: rgba(0,255,136,0.15);
  border-color: rgba(0,255,136,0.36);
}
.gn-entry-card--medium .gn-entry-card-logo {
  color: #ffc800;
  background: rgba(255,200,0,0.15);
  border-color: rgba(255,200,0,0.32);
}
.gn-entry-card--low .gn-entry-card-logo {
  color: #ff6432;
  background: rgba(255,100,50,0.16);
  border-color: rgba(255,100,50,0.34);
}
.gn-entry-card--home .gn-entry-card-logo {
  color: #00a550;
  background: rgba(0,165,80,0.2);
  border-color: rgba(0,165,80,0.34);
}
.gn-entry-card--away .gn-entry-card-logo {
  color: #e30613;
  background: rgba(227,6,19,0.22);
  border-color: rgba(227,6,19,0.34);
}
.gn-entry-card--home .gn-entry-card-logo.gn-entry-card-logo--img,
.gn-entry-card--away .gn-entry-card-logo.gn-entry-card-logo--img {
  background: transparent;
  border-color: transparent;
}
.gn-entry-card--none .gn-entry-card-logo {
  color: rgba(255,255,255,0.7);
  background: rgba(140,140,140,0.22);
  border-color: rgba(140,140,140,0.35);
}

.gn-entry-card-text {
  flex: 1;
  position: relative;
  z-index: 1;
}
.gn-entry-card-name {
  display: block;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
}

.gn-entry-card-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s;
}
.gn-entry-card-check-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}
.gn-entry-pill.sel .gn-entry-card-check {
  background: #00ff88;
  border-color: #00ff88;
}
.gn-entry-pill.sel .gn-entry-card-check-inner {
  background: #000;
}

.gn-entry-pill.flashing {
  animation: gnCardFlash 0.5s ease;
}

/* FAB — κάτω δεξιά */
.gn-entry-fab {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: min(92vw, 390px);
  text-align: center;
  background: #00ff88;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 16px 22px;
  border-radius: 14px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s, filter 0.2s;
  z-index: 41;
}
.gn-entry-fab.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.gn-entry-fab.disabled {
  opacity: 0.25;
  filter: grayscale(0.2);
  pointer-events: none;
}

/* Animation */
@keyframes gnFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gnEntryBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes gnCardFlash {
  0% { opacity: 1; }
  25% { opacity: 0.45; }
  50% { opacity: 1; }
  75% { opacity: 0.45; }
  100% { opacity: 1; }
}

/* Players dimmed κατά την είσοδο */
.fp-players.entry-dimmed .fp-player {
  opacity: 0.6;
  filter: grayscale(0.2);
}

/* Transition S1 → S2 */
.gn-entry-overlay.fading {
  animation: gnFade 0.3s ease forwards;
}
@keyframes gnFade {
  to { opacity: 0; }
}

/* ── S5 Conviction overlay ── */
.fp-conv-layer {
  position: absolute;
  inset: 0;
  background: rgba(6,8,14,0.93);
  z-index: 18;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.fp-conv-header { margin-bottom: 12px; }
.fp-conv-round {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px; letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase; margin-bottom: 4px;
}
.fp-conv-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 2px;
  color: rgba(255,255,255,0.95);
  line-height: 1.1;
}
.fp-conv-list {
  flex: 1;
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
  margin-bottom: 12px;
}
.fp-conv-player {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px; cursor: pointer;
  transition: all .15s;
}
.fp-conv-player:active { transform: scale(.97); }
.fp-conv-player.fp-conv-starred {
  border-color: rgba(255,213,0,0.2);
}
.fp-conv-player.sel {
  border-color: rgba(255,213,0,0.5);
  background: rgba(255,213,0,0.05);
}
.fp-conv-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.fp-conv-init {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; width: 28px; flex-shrink: 0;
}
.fp-conv-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  color: rgba(255,255,255,0.7); flex: 1;
}
.fp-conv-player.sel .fp-conv-name { color: rgba(255,255,255,.95); }
.fp-conv-star { font-size: 10px; flex-shrink: 0; }
.fp-conv-actions { flex-shrink: 0; }

/* ── S8 Context fullscreen ── */
.fp-ctx-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(79,195,247,0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6,8,14,0.25) 0%, rgba(6,8,14,0.30) 100%);
  z-index: 18;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fp-ctx-layer--visible {
  opacity: 1;
}

.fp-ctx-fullscreen {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fp-ctx-fullscreen--visible {
  opacity: 1;
}

/* Bridge: μόνο κείμενο πάνω στο ανοιχτό pitch — χωρίς dim/fade */
.fp-ctx-layer--bridge {
  background: transparent;
}
.fp-ctx-layer--bridge .fp-ctx-fade {
  opacity: 0;
}

/* Αργό μαύρισμα γηπέδου μετά την 1η ερώτηση S8 */
.fp-ctx-night {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 7.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-ctx-night--on {
  opacity: 1;
}

.fp-ctx-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 75%;
  background: linear-gradient(
    to top,
    rgba(6,6,14,0.96) 0%,
    rgba(6,6,14,0.85) 25%,
    rgba(6,6,14,0.60) 50%,
    transparent       100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s ease;
}

.fp-ctx-screens {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fp-ctx-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 22px;
  transform: translateY(0%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.32s ease;
  pointer-events: none;
}
.fp-ctx-screen:not(.fp-ctx-gone):not(.fp-ctx-waiting) {
  pointer-events: auto;
  z-index: 4;
}

.fp-ctx-bridge {
  cursor: pointer;
  z-index: 3;
  pointer-events: auto;
}

.fp-ctx-bridge-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.9);
  max-width: 18em;
  animation: fpCtxBridgeIn 0.55s ease both;
}

@keyframes fpCtxBridgeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fp-ctx-gone {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.fp-ctx-waiting {
  transform: translateY(100%);
  pointer-events: none;
}

.fp-ctx-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(79,195,247,0.88), rgba(64,196,255,0.98));
  box-shadow: 0 0 10px rgba(79,195,247,0.35);
  transition: width .4s cubic-bezier(0.16,1,0.3,1);
}

.fp-ctx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
}
.fp-ctx-segs {
  display: flex;
  gap: 4px;
  width: min(220px, 70%);
}
.fp-ctx-seg {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  display: block;
}
.fp-ctx-seg.is-on {
  background: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.45);
}
.fp-ctx-frac {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}
.fp-ctx-frac b {
  color: #fff;
  font-weight: 600;
}

.fp-ctx-match-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-bottom: 8px;
  width: 100%;
}

.fp-ctx-q-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.9);
  margin-bottom: 14px;
  width: 100%;
  position: static;
  transform: none;
}

.fp-ctx-divider {
  width: 40px;
  height: 1.5px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 14px;
}

.fp-ctx-opts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
  position: static;
  bottom: auto;
}

.fp-ctx-btn {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  margin: 0;
  border-radius: 12px;
  padding: 10px 6px;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: inherit;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 0.2s, background 0.2s, transform 0.12s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.fp-ctx-btn:active { transform: scale(0.94); }
.fp-ctx-btn.selected { border-color: rgba(255,255,255,0.35); }
.fp-ctx-btn.flashing { animation: ctxBtnFlash 0.5s ease; }
@keyframes ctxBtnFlash {
  0%   { opacity: 1; }
  25%  { opacity: 0.35; }
  50%  { opacity: 1; }
  75%  { opacity: 0.35; }
  100% { opacity: 1; }
}
.fp-ctx-btn-badge {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: contain;
}
.fp-ctx-btn-badge--mark {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}
.fp-ctx-btn-badge--mark .hv2-mark {
  width: 32px;
  height: 32px;
}
.fp-ctx-btn-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: inherit;
}
.fp-ctx-btn:first-child .fp-ctx-btn-circle {
  background: rgba(0,80,0,0.5);
  border-color: rgba(125,234,125,0.45);
}
.fp-ctx-btn:last-child .fp-ctx-btn-circle {
  background: rgba(100,0,0,0.5);
  border-color: rgba(255,100,100,0.45);
}
.fp-ctx-btn-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: .06em;
  opacity: 0.6;
  color: inherit;
}
.fp-ctx-btn-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,0.85);
}
.fp-ctx-btn:first-child .fp-ctx-btn-label,
.fp-ctx-btn:first-child .fp-ctx-btn-name { color: #7dea7d; }
.fp-ctx-btn:last-child .fp-ctx-btn-label,
.fp-ctx-btn:last-child .fp-ctx-btn-name { color: #ff9090; }

.fp-ctx-btn-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  flex-shrink: 0;
}
.fp-ctx-btn-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}
.fp-ctx-btn-ico--scale {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.35);
  color: #ffe082;
}
.fp-ctx-btn-ico--check {
  background: rgba(0, 230, 118, 0.10);
  border-color: rgba(0, 230, 118, 0.32);
  color: #7dea7d;
}

.fp-ctx-q--tiles .fp-ctx-btn {
  padding: 14px 8px;
  min-height: 124px;
  gap: 8px;
  background: rgba(8, 10, 16, 0.55);
}
.fp-ctx-q--tiles .fp-ctx-btn--home {
  background: linear-gradient(180deg, color-mix(in srgb, var(--fp-ctx-home, #7dea7d) 16%, transparent), rgba(255, 255, 255, 0.04));
}
.fp-ctx-q--tiles .fp-ctx-btn--away {
  background: linear-gradient(180deg, color-mix(in srgb, var(--fp-ctx-away, #ff6b6b) 16%, transparent), rgba(255, 255, 255, 0.04));
}
.fp-ctx-q--tiles .fp-ctx-btn--mid {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.10), rgba(255, 255, 255, 0.04));
}
.fp-ctx-q--tiles .fp-ctx-btn--home .fp-ctx-btn-label,
.fp-ctx-q--tiles .fp-ctx-btn--home .fp-ctx-btn-name {
  color: var(--fp-ctx-home, #7dea7d);
}
.fp-ctx-q--tiles .fp-ctx-btn--away .fp-ctx-btn-label,
.fp-ctx-q--tiles .fp-ctx-btn--away .fp-ctx-btn-name {
  color: var(--fp-ctx-away, #ff6b6b);
}
.fp-ctx-q--tiles .fp-ctx-btn-badge,
.fp-ctx-q--tiles .fp-ctx-btn-circle,
.fp-ctx-q--tiles .fp-ctx-btn-ico {
  width: 46px;
  height: 46px;
}
.fp-ctx-q--tiles .fp-ctx-btn-ico svg {
  width: 22px;
  height: 22px;
}
.fp-ctx-q--tiles .fp-ctx-btn-name {
  font-size: 13px;
}

/* ── S8 drivers (match mechanisms) ── */
.fp-ctx-q--drivers {
  justify-content: center;
  padding: 12px 14px 18px;
  gap: 0;
}

.fp-ctx-layer:has(.fp-ctx-q--drivers:not(.fp-ctx-waiting):not(.fp-ctx-gone)) .fp-ctx-fade {
  opacity: 0.72;
}

.fp-ctx-q--drivers .fp-ctx-q-text {
  margin-bottom: 6px;
  font-size: 19px;
}

.fp-ctx-drivers-hint {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-bottom: 8px;
}

.fp-ctx-drivers-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 22px;
  padding: 0 10px;
  margin: 0 auto 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 20, 0.72);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.fp-ctx-drivers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 360px;
}

.fp-ctx-driver-folder {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--drv, #fff) 22%, rgba(255, 255, 255, 0.08));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--drv, #fff) 10%, transparent), transparent 55%),
    rgba(8, 10, 16, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s, background 0.2s;
}

.fp-ctx-driver-folder.is-hot {
  border-color: color-mix(in srgb, var(--drv, #fff) 55%, rgba(255, 255, 255, 0.12));
  box-shadow:
    0 0 16px color-mix(in srgb, var(--drv, #fff) 28%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--drv, #fff) 18%, transparent);
}

.fp-ctx-driver-folder.is-dim {
  opacity: 0.55;
}

.fp-ctx-driver-folder-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
}

.fp-ctx-driver-folder-ico {
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.fp-ctx-driver-folder-ico svg {
  width: 14px;
  height: 14px;
  display: block;
}

.fp-ctx-driver-folder-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--drv, #fff) 75%, #fff);
}

.fp-ctx-driver-folder-opts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-ctx-driver-chip,
.fp-ctx-drivers-next {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.fp-ctx-driver-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 0.18s, background 0.18s, opacity 0.18s, transform 0.12s;
  touch-action: manipulation;
}

.fp-ctx-driver-chip:active {
  transform: scale(0.97);
}

.fp-ctx-driver-chip.is-muted {
  opacity: 0.42;
}

.fp-ctx-driver-chip.is-on {
  opacity: 1;
  border-color: color-mix(in srgb, var(--drv, #fff) 65%, rgba(255, 255, 255, 0.2));
  background: color-mix(in srgb, var(--drv, #fff) 18%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 0 12px color-mix(in srgb, var(--drv, #fff) 22%, transparent);
}

.fp-ctx-driver-chip-ico {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.fp-ctx-driver-chip-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.fp-ctx-driver-chip-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.fp-ctx-drivers-next {
  margin-top: 12px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: manipulation;
}

.fp-ctx-drivers-next:active {
  transform: scale(0.97);
}

.fp-ctx-drivers-foot {
  margin-top: 12px;
  max-width: 22em;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.38);
}

#view-pitch .gn-nav,
#view-pitch ~ .gn-nav,
#view-pitch + .gn-nav {
  display: none;
}

.post-sheet.expanding {
  transform: translateY(0) !important;
  height: 100vh !important;
  border-radius: 0 !important;
  transition: all 400ms cubic-bezier(0.16,1,0.3,1);
}

.post-sheet.launching {
  transform: translateY(-100%);
  transition: transform 500ms cubic-bezier(0.16,1,0.3,1);
}

/* ── vote_pitch v3 additions (S4/S5/S6 drag, S7 ranking, summary) ── */

/* 1) Icon Tray — fp-icon-tray (same slot as .fp-inline-banner) */
.fp-pitch-canvas:has(#fpIconTray.fp-icon-tray--visible) .fp-inline-banner {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.fp-icon-tray {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  box-sizing: border-box;
  pointer-events: auto;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fp-icon-tray::-webkit-scrollbar {
  display: none;
}

#fpIconTray {
  position: relative;
  width: 100%;
  background: rgba(0,0,0,0.45);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  height: 75px;
  min-height: 75px;
  overflow: hidden;
}

.fp-tray-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  height: 100%;
}

.fp-tray-wrapper--zone {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 0;
}

.fp-tray-zone-row {
  width: 100%;
  display: flex;
  align-items: center;
}

/* DOM: top = icons, bottom = meta — order swaps so meta is visually row 1, icons row 2 */
.fp-tray-wrapper--zone .fp-tray-zone-row--bottom {
  order: 1;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--top {
  order: 2;
}

.fp-tray-zone-row--top {
  flex: 1;
  min-height: 0;
}

.fp-tray-zone-row--bottom {
  position: relative;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  flex-shrink: 0;
  border-top: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

/* Meta strip: ★N | ZONE_LABEL | NEXT→ */
.fp-tray-zone-row--bottom .fp-tray-zone-cell--left {
  order: 1;
  justify-content: flex-start;
  padding-left: 2px;
}

.fp-tray-zone-row--bottom .fp-tray-zone-cell--center {
  order: 2;
}

.fp-tray-zone-row--bottom .fp-tray-zone-cell--right {
  order: 3;
  margin-left: auto;
  justify-content: flex-end;
  padding-right: 8px;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--bottom .fp-tray-zone-cell--right {
  width: auto;
  min-width: 56px;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding-right: 8px;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--bottom .fp-tray-zone-cell--right .fp-tray-next {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  padding: 0 4px;
  gap: 2px;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--bottom .fp-tray-zone-cell--right .fp-tray-next-progress,
.fp-tray-wrapper--zone .fp-tray-zone-row--bottom .fp-tray-zone-cell--right .fp-tray-next-step {
  display: none;
}

.fp-tray-zone-cell {
  display: flex;
  align-items: center;
  min-height: 0;
}

.fp-tray-zone-cell--left,
.fp-tray-zone-cell--right {
  width: 56px;
  min-width: 56px;
  justify-content: center;
}

.fp-tray-zone-cell--center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.fp-icon-tray-icons--zone {
  flex: 0 1 auto;
  padding: 0 4px;
  width: 100%;
  max-width: 248px;
  justify-content: space-between;
  gap: 2px;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--top .fp-tray-zone-cell--left,
.fp-tray-wrapper--zone .fp-tray-zone-row--top .fp-tray-zone-cell--right {
  display: none;
  width: 0;
  min-width: 0;
  overflow: hidden;
}

.fp-tray-wrapper--zone .fp-tray-zone-row--top .fp-tray-zone-cell--center {
  position: static;
  left: auto;
  transform: none;
  pointer-events: auto;
  flex: 1;
  width: 100%;
  min-width: 0;
  justify-content: stretch;
}

.fp-tray-wrapper--zone .fp-tray-zone-cell--icons-row {
  width: 100%;
}

.fp-tray-wrapper--zone .fp-icon-tray-icons--zone {
  flex: 1;
  align-self: stretch;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 2px;
  gap: 1px;
  justify-content: stretch;
  align-items: center;
}

/* Μία σειρά: Group 1 universal (αριστερά) + Group 2 zone-specific (δεξιά) */
.fp-icon-tray-icons--zone-split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  padding: 0;
  box-sizing: border-box;
}

.fp-tray-icon-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1 1 0;
  min-width: 0;
  gap: 2px;
  padding: 4px;
  border-radius: 8px;
  box-sizing: border-box;
}

.fp-tray-icon-group--universal {
  flex: 4 1 0;
  background: transparent;
}

.fp-tray-icon-group--zone {
  flex: 3 1 0;
}

.fp-tray-icon-group--defense {
  background: rgba(0, 68, 204, 0.25);
}

.fp-tray-icon-group--midfield {
  background: rgba(0, 170, 51, 0.25);
}

.fp-tray-icon-group--attack {
  background: rgba(204, 0, 0, 0.25);
}

.fp-tray-icon-group .fp-tray-icon--zone {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.06);
}

.fp-icon-tray-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 4px 8px;
}

.fp-icon-tray-icons {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  flex: 2;
}
.fp-icon-tray-scroll::-webkit-scrollbar {
  display: none;
}

.fp-icon-tray-icons .fp-tray-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  animation: hint-blink 2.5s ease-in-out infinite;
}

@keyframes hint-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.fp-tray-next {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  flex: 1;
  cursor: pointer;
  background: transparent;
  border: none;
}
.fp-tray-next-label,
.fp-tray-next-arrow {
  flex: 0 0 auto;
}
.fp-tray-next:hover {
  background: rgba(0,230,118,0.18);
}

.fp-tray-icon {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: grab;
  padding: 6px;
  border-radius: 6px;
  border: none;
  background: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  transition: background 0.15s, transform 0.15s;
  user-select: none;
  touch-action: none;
  pointer-events: auto;
}
.fp-tray-svg {
  width: 44px;
  height: 44px;
}
.fp-tray-icon:active { transform: scale(0.92); }

.fp-tray-icon--dragging {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fp-tray-ico {
  font-size: var(--fp-icon-size);
  line-height: 1;
}

.fp-tray-ico,
.fp-player-tier,
.fp-player-power-pill {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji',
               'Noto Color Emoji', sans-serif;
}

.fp-tray-lbl {
  display: none;
  font-size: 8px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
}

/* Respawn flash */
@keyframes traySpawn {
  0%   { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1);   opacity: 1;   }
}
.fp-tray-spawn {
  animation: traySpawn 0.25s ease forwards;
}

/* 2) Player zone states */
/* Dimmed — ζώνη εκτός ενεργής */
.fp-player--dimmed {
  opacity: 0.32;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* Active zone — δέχεται drop */
.fp-player--zone-active {
  opacity: 1;
  pointer-events: auto;
}

@keyframes gnPlayerEntrance {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.5);
         box-shadow: 0 0 20px var(--gn-zc); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1.1); }
}

.fp-player--zone-active .fp-player-dot {
  animation: gnPlayerEntrance 0.6s
    cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* Χρώμα ανά ζώνη */
.gn-zone-defense .fp-player--zone-active .fp-player-dot {
  --gn-zc: rgba(79,195,247,0.8);
}
.gn-zone-midfield .fp-player--zone-active .fp-player-dot {
  --gn-zc: rgba(0,230,118,0.8);
}
.gn-zone-attack .fp-player--zone-active .fp-player-dot {
  --gn-zc: rgba(255,82,82,0.8);
}

@keyframes gnRippleRing {
  0%   { transform: translate(-50%,-50%) scale(0.9);
         opacity: 0.35; }
  100% { transform: translate(-50%,-50%) scale(1.6);
         opacity: 0; }
}

/* S4/S5/S6 μόνο — ΟΧΙ S3 */
.fp-player--zone-active .fp-player-ripple,
.fp-player--zone-active .fp-player-sun-ring {
  animation: none; /* default off */
}

.gn-zone-defense .fp-player--zone-active .fp-player-ripple,
.gn-zone-midfield .fp-player--zone-active .fp-player-ripple,
.gn-zone-attack .fp-player--zone-active .fp-player-ripple {
  animation: gnRippleRing 1.4s ease-out infinite;
  border-width: 1px;
}

.gn-zone-defense .fp-player--zone-active .fp-player-sun-ring,
.gn-zone-midfield .fp-player--zone-active .fp-player-sun-ring,
.gn-zone-attack .fp-player--zone-active .fp-player-sun-ring {
  animation: gnRippleRing 1.4s ease-out infinite 0.7s;
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid;
  opacity: 0;
}

/* Χρώματα */
.gn-zone-defense .fp-player--zone-active .fp-player-ripple,
.gn-zone-defense .fp-player--zone-active .fp-player-sun-ring {
  border-color: rgba(79,195,247,0.5);
}
.gn-zone-midfield .fp-player--zone-active .fp-player-ripple,
.gn-zone-midfield .fp-player--zone-active .fp-player-sun-ring {
  border-color: rgba(0,230,118,0.5);
}
.gn-zone-attack .fp-player--zone-active .fp-player-ripple,
.gn-zone-attack .fp-player--zone-active .fp-player-sun-ring {
  border-color: rgba(255,82,82,0.5);
}

/* Off για dimmed */
.fp-player--dimmed .fp-player-ripple,
.fp-player--dimmed .fp-player-sun-ring {
  animation: none !important;
  opacity: 0 !important;
}

/* Drag-over highlight */
.fp-player--drag-over .fp-player-dot {
  transform: scale(1.25) !important;
  filter: brightness(1.4);
}
.fp-player--halo .fp-player-dot {
  box-shadow: 0 0 0 10px rgba(255,255,255,0.10), 0 0 30px 15px rgba(255,255,255,0.15) !important;
  transition: box-shadow 0.15s ease;
}

/* 4) Player power icons (emoji on pitch, S4–S6) */
.fp-player-icons {
  position: absolute;
  left: calc(100% + 2px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: auto;
  min-width: 12px;
  pointer-events: none;
}
.fp-player-icon-counter {
  font-family: 'Rajdhani', sans-serif;
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-bottom: 1px;
}
.fp-player-icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}
.fp-player-power-pill {
  width: auto;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 9px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* Red flash on dot when player is full (3/3) */
.fp-player-dot--full-flash {
  animation: fpDotRedFlash 0.4s ease-out forwards;
}
@keyframes fpDotRedFlash {
  0%   { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
  30%  { box-shadow: 0 0 0 8px rgba(229,57,53,0.7), 0 0 18px 6px rgba(229,57,53,0.5); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}

/* 5) S7 Ranking layer */
.fp-rank-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(6, 8, 14, 0.82);
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  overflow-y: auto;
}

.fp-rank-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  margin-bottom: 12px;
}

.fp-rank-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.fp-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: background 0.15s, opacity 0.15s;
}
.fp-rank-item.fp-rank-dragging {
  opacity: 0.4;
  background: rgba(255,255,255,0.1);
}

.fp-rank-pos {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}

.fp-rank-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fp-rank-info {
  flex: 1;
  min-width: 0;
}
.fp-rank-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-rank-meta {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

.fp-rank-handle {
  font-size: 16px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  cursor: grab;
}

.fp-rank-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* S7 — tier board (Gnosi Premium) */
.fp-s7-layer.fp-rank-layer {
  overflow: hidden;
}

.fp-s7-layer {
  padding-top: 14px;
}

.fp-s7-head {
  flex-shrink: 0;
  margin-bottom: 8px;
}

.fp-s7-head .fp-conv-title {
  margin-top: 2px;
}

.fp-s7-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.fp-s7-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 20px;
  padding: 0 4px;
}

.fp-s7-podium-slot {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fp-s7-podium--1 {
  order: 2;
}
.fp-s7-podium--2 {
  order: 1;
}
.fp-s7-podium--3 {
  order: 3;
}

.fp-s7-podium-plate {
  width: 100%;
  height: var(--pod-h, 64px);
  margin-top: 8px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.fp-s7-podium--2 .fp-s7-podium-plate {
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.1), rgba(255, 255, 255, 0.03));
  border-color: rgba(179, 136, 255, 0.22);
}

.fp-s7-podium--3 .fp-s7-podium-plate {
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(79, 195, 247, 0.18);
}

.fp-s7-podium-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.fp-s7-podium-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  margin-top: 4px;
  min-height: 18px;
}

.fp-s7-podium-av-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fp-s7-av-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.fp-s7-av {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.82);
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.fp-s7-av:active {
  transform: scale(0.94);
}

.fp-s7-av--S {
  width: 42px;
  height: 42px;
  border: 2px solid #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

.fp-s7-av--A {
  width: 38px;
  height: 38px;
  border: 2px solid #b388ff;
  box-shadow: 0 0 8px rgba(179, 136, 255, 0.25);
}

.fp-s7-av--B {
  width: 34px;
  height: 34px;
  border: 2px solid #4fc3f7;
  opacity: 0.8;
}

.fp-s7-av--C {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  opacity: 0.45;
}

.fp-s7-av--unrated {
  width: 30px;
  height: 30px;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  opacity: 0.65;
  box-shadow: none;
}

.fp-s7-pos-under {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}

.fp-s7-tier-block {
  margin-bottom: 16px;
}

.fp-s7-tier-hdr {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-s7-tier-hdr--unrated {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.fp-s7-tier-letter {
  font-size: 18px;
  font-weight: 800;
  width: 28px;
  color: rgba(255, 255, 255, 0.92);
}

.fp-s7-tier-label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.fp-s7-tier-count {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}

.fp-s7-tier-players {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.fp-s7-tier-empty {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
  padding: 4px 0;
}

.fp-s7-player-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 160px;
}

.fp-s7-player-card--unrated {
  max-width: 200px;
}

.fp-s7-player-info {
  min-width: 0;
  flex: 1;
}

.fp-s7-player-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-s7-player-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}

.fp-s7-power-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fp-s7-unrated-hint {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.fp-s7-unrated-block {
  margin-top: 8px;
  margin-bottom: 8px;
}

.fp-s7-actions {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 10px;
}

/* S7 — Podium + Tier system (fp-tier-* / fp-podium-*) */
.fp-tier-layer.fp-rank-layer {
  overflow: hidden;
  padding-top: 12px;
}

.fp-tier-head {
  flex-shrink: 0;
  margin-bottom: 6px;
}

.fp-tier-head .fp-conv-title {
  margin-top: 2px;
}

.fp-tier-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.fp-podium-stage {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 18px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fp-podium-slot {
  flex: 1;
  max-width: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.fp-podium-slot--2nd {
  order: 1;
}

.fp-podium-slot--1st {
  order: 2;
}

.fp-podium-slot--3rd {
  order: 3;
}

.fp-podium-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.82);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  border: 2px solid #ffd700;
  box-shadow:
    0 0 18px rgba(255, 215, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.12s ease;
}

.fp-podium-avatar:active {
  transform: scale(0.94);
}

.fp-podium-avatar--empty {
  cursor: default;
  background: rgba(255, 255, 255, 0.04) !important;
  border-style: dashed;
  border-color: rgba(255, 215, 0, 0.32);
  box-shadow: none;
}

.fp-podium-meta {
  width: 100%;
  min-height: 0;
}

.fp-podium-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-podium-name--empty {
  color: rgba(255, 255, 255, 0.22);
}

.fp-podium-role {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.62);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.fp-tier-icons--podium {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
  margin-top: 5px;
  min-height: 16px;
}

.fp-podium-block {
  width: 100%;
  margin-top: 2px;
  padding: 9px 0 11px;
  border-radius: 10px 10px 6px 6px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 215, 0, 0.95);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 215, 0, 0.24);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fp-podium-slot--2nd .fp-podium-block {
  background: linear-gradient(180deg, rgba(179, 136, 255, 0.12), rgba(255, 255, 255, 0.02));
  border-color: rgba(179, 136, 255, 0.22);
  color: rgba(210, 190, 255, 0.95);
}

.fp-podium-slot--3rd .fp-podium-block {
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.1), rgba(255, 255, 255, 0.02));
  border-color: rgba(79, 195, 247, 0.2);
  color: rgba(140, 220, 255, 0.92);
}

.fp-tier-wrap {
  border-radius: 14px;
  padding: 6px 4px 10px;
  background: rgba(10, 12, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fp-tier-row {
  margin-bottom: 14px;
}

.fp-tier-row:last-child {
  margin-bottom: 0;
}

.fp-tier-hdr {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-tier-letter {
  font-size: 18px;
  font-weight: 800;
  width: 26px;
  color: rgba(255, 255, 255, 0.92);
}

.fp-tier-label {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.02em;
}

.fp-tier-count {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.34);
}

.fp-tier-players {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 4px 6px 6px;
}

.fp-tier-unit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 152px;
}

.fp-tier-unit-avcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.fp-tier-avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.82);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.fp-tier-avatar:active {
  transform: scale(0.94);
}

.fp-tier-avatar--S {
  width: 42px;
  height: 42px;
  border: 2px solid #ffd700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}

.fp-tier-avatar--A {
  width: 38px;
  height: 38px;
  border: 2px solid #b388ff;
  box-shadow: 0 0 10px rgba(179, 136, 255, 0.35);
}

.fp-tier-avatar--B {
  width: 34px;
  height: 34px;
  border: 2px solid #4fc3f7;
  opacity: 0.8;
}

.fp-tier-avatar--C {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  opacity: 0.45;
}

.fp-tier-avatar--unrated {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.35);
  opacity: 0.72;
  box-shadow: none;
}

.fp-tier-pos {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}

.fp-tier-unit-body {
  min-width: 0;
  flex: 1;
}

.fp-tier-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7ch;
}

.fp-tier-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}

.fp-tier-power-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.fp-tier-wrap--unrated {
  margin-top: 12px;
  padding-top: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: rgba(6, 8, 16, 0.58);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.2);
}

.fp-tier-row--unrated .fp-tier-hdr {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.fp-tier-unrated-hint {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.36);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.fp-tier-actions {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 10px;
}

.fp-tier-empty {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
  padding: 4px 8px;
}

/* S7 v2 — stadium ranked board */
.fp-s7v2-layer.fp-rank-layer {
  padding: 0;
  overflow: hidden;
  background: #06080e;
}

.fp-s7v2-stadium-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 40% at 50% 68%, rgba(15, 60, 15, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse 35% 70% at 12% 28%, rgba(255, 235, 160, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 35% 70% at 88% 28%, rgba(255, 235, 160, 0.13) 0%, transparent 55%),
    linear-gradient(180deg, rgba(1, 2, 6, 0.98) 0%, rgba(3, 6, 14, 0.82) 18%, rgba(5, 10, 8, 0.55) 45%, rgba(8, 18, 8, 0.75) 70%, rgba(2, 4, 10, 0.97) 100%);
}

.fp-s7v2-stadium-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 2px 1px at 15% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
    radial-gradient(ellipse 2px 1px at 28% 16%, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(ellipse 2px 1px at 58% 17%, rgba(255, 255, 255, 0.16) 0%, transparent 100%),
    radial-gradient(ellipse 2px 1px at 73% 21%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
    radial-gradient(ellipse 3px 2px at 8% 30%, rgba(255, 210, 80, 0.28) 0%, transparent 100%),
    radial-gradient(ellipse 3px 2px at 92% 27%, rgba(255, 210, 80, 0.25) 0%, transparent 100%),
    radial-gradient(ellipse 55% 2% at 50% 72%, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
}

.fp-s7v2-layout {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fp-s7v2-fixed-hdr {
  flex-shrink: 0;
  padding: 12px 16px 4px;
}

.fp-s7v2-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.fp-s7v2-step {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.35);
}

.fp-s7v2-match-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 3px 8px;
}

.fp-s7v2-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
}

.fp-s7v2-main-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.fp-s7v2-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.fp-s7v2-scroll-area::-webkit-scrollbar {
  display: none;
}

.fp-s7v2-scroll-area > #fpS7PodiumContainer {
  background: none;
}

.fp-s7v2-podium-wrap {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  padding: 6px 0 2px;
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fp-s7v2-podium-wrap.shrunk {
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

.fp-s7v2-podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  transform-origin: top center;
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), opacity .3s ease;
  will-change: transform, opacity;
}

.fp-s7v2-podium-wrap.shrunk .fp-s7v2-podium-stage {
  transform: scale(0.5) translateY(-50%);
  transform-origin: top center;
  opacity: 0.85;
}

.fp-s7v2-p-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fp-s7v2-p-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px 6px;
  border-radius: 10px;
  border: 1px solid;
  text-align: center;
}

.fp-s7v2-p1 .fp-s7v2-p-card {
  min-width: 104px;
  background: rgba(255, 215, 0, 0.07);
  border-color: rgba(255, 215, 0, 0.38);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.fp-s7v2-p2 .fp-s7v2-p-card {
  min-width: 90px;
  background: rgba(179, 136, 255, 0.06);
  border-color: rgba(179, 136, 255, 0.26);
}

.fp-s7v2-p3 .fp-s7v2-p-card {
  min-width: 82px;
  background: rgba(79, 195, 247, 0.05);
  border-color: rgba(79, 195, 247, 0.2);
}

.fp-s7v2-p-crown {
  font-size: 11px;
  line-height: 1;
  transition: opacity .2s ease;
}

.fp-s7v2-podium-wrap.shrunk .fp-s7v2-p-crown {
  opacity: 0;
}

#fpS7MiniPodium {
  transition: opacity 0.25s ease;
}

.fp-s7v2-p-avatar {
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
}

.fp-s7v2-p1 .fp-s7v2-p-avatar {
  width: 36px;
  height: 36px;
  font-size: 8px;
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.14);
  color: #FFD700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.fp-s7v2-p2 .fp-s7v2-p-avatar {
  width: 32px;
  height: 32px;
  font-size: 7px;
  border-color: #b388ff;
  background: rgba(179, 136, 255, 0.1);
  color: #b388ff;
}

.fp-s7v2-p3 .fp-s7v2-p-avatar {
  width: 28px;
  height: 28px;
  font-size: 7px;
  border-color: #4fc3f7;
  background: rgba(79, 195, 247, 0.1);
  color: #4fc3f7;
}

.fp-s7v2-p-name {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  line-height: 1;
}

.fp-s7v2-p1 .fp-s7v2-p-name {
  color: #FFD700;
  font-size: 13px;
}

.fp-s7v2-p2 .fp-s7v2-p-name {
  color: #b388ff;
  font-size: 11px;
}

.fp-s7v2-p3 .fp-s7v2-p-name {
  color: #4fc3f7;
  font-size: 10px;
}

.fp-s7v2-p-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 6px;
  color: rgba(255, 255, 255, 0.35);
  transition: opacity .2s ease;
}

.fp-s7v2-p-icons {
  font-size: 9px;
  transition: opacity .2s ease;
}

.fp-s7v2-podium-wrap.shrunk .fp-s7v2-p-meta,
.fp-s7v2-podium-wrap.shrunk .fp-s7v2-p-icons {
  opacity: 0;
}

.fp-s7v2-p-block {
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
}

.fp-s7v2-p1 .fp-s7v2-p-block {
  width: 104px;
  height: 56px;
  font-size: 24px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: none;
  color: rgba(255, 215, 0, 0.3);
}

.fp-s7v2-p2 .fp-s7v2-p-block {
  width: 90px;
  height: 42px;
  font-size: 22px;
  background: rgba(179, 136, 255, 0.06);
  border: 1px solid rgba(179, 136, 255, 0.16);
  border-bottom: none;
  color: rgba(179, 136, 255, 0.28);
}

.fp-s7v2-p3 .fp-s7v2-p-block {
  width: 82px;
  height: 30px;
  font-size: 20px;
  background: rgba(79, 195, 247, 0.05);
  border: 1px solid rgba(79, 195, 247, 0.14);
  border-bottom: none;
  color: rgba(79, 195, 247, 0.22);
}

.fp-s7v2-zone-div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 6px;
}

.fp-s7v2-zone-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.fp-s7v2-zone-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.fp-s7v2-rank-list {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-s7v2-rank-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2,14,6,0.88);
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s, opacity 0.2s;
}

.fp-s7v2-rank-item.dragging {
  opacity: 0.2;
}

.fp-s7v2-rank-item.drag-over {
  border-color: rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.04);
}

.fp-s7v2-rank-item.is-inactive {
  border-color: rgba(160, 160, 160, 0.2);
  background: rgba(80, 80, 80, 0.14);
  filter: grayscale(0.75);
}

.fp-s7v2-rank-item:not(.is-inactive) {
  filter: none !important;
  background: '';
  border-color: '';
}

.fp-s7v2-rank-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px 10px;
}

.fp-s7v2-rank-pos {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.25s;
}

.fp-s7v2-rank-avatar {
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  width: 30px;
  height: 30px;
}

.fp-s7v2-rank-info {
  flex: 1;
  min-width: 0;
}

.fp-s7v2-rank-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-s7v2-rank-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.fp-s7v2-rank-slot {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid transparent;
}

.fp-s7v2-rank-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fp-s7v2-rank-icons {
  font-size: 10px;
}

.fp-s7v2-rank-shirt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.22);
}

.fp-s7v2-rank-handle {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  cursor: grab;
  flex-shrink: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.012);
  touch-action: none;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.18);
  transition: background 0.15s;
}

.fp-s7v2-rank-handle:active {
  cursor: grabbing;
  background: rgba(255, 255, 255, 0.04);
}

.fp-s7v2-drag-ghost {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  border-radius: 8px;
  border: 1px solid rgba(0, 230, 118, 0.5);
  background: rgba(6, 8, 14, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.fp-s7v2-footer {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding: 10px 12px 18px;
  background: rgba(6, 8, 14, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-s7v2-btn-skip {
  flex: 1;
  padding: 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
}

.fp-s7v2-btn-next {
  flex: 2;
  padding: 11px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #00e676;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
}

.fp-s7v2-scroll-pad {
  height: 12px;
}

/* 6) Summary Card */
.fp-summary-card {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(6, 8, 14, 0.97);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  overflow-y: auto;
}

.fp-sum-header {
  margin-bottom: 20px;
}
.fp-sum-title {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.fp-sum-match {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.fp-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fp-sum-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.fp-sum-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.fp-sum-breakdown {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fp-sum-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.fp-sum-chip span {
  opacity: 0.7;
}
.fp-sum-chip.legend { background: rgba(255,215,0,0.15);  color: #FFD700; border: 1px solid #FFD70040; }
.fp-sum-chip.epic   { background: rgba(179,136,255,0.15); color: #b388ff; border: 1px solid #b388ff40; }
.fp-sum-chip.rare   { background: rgba(79,195,247,0.15);  color: #4fc3f7; border: 1px solid #4fc3f740; }
.fp-sum-chip.common { background: rgba(255,68,68,0.15);   color: #ff4444; border: 1px solid #ff444440; }

.fp-sum-cta {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--green, #00e676);
  cursor: pointer;
  padding-bottom: 8px;
}
.ecg-anim { animation: ecg-move 1.2s linear infinite; }
@keyframes ecg-move { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }

.needle-anim { transform-origin: 32px 40px; animation: needle-sweep 3s ease-in-out infinite alternate; }
@keyframes needle-sweep { from { transform: rotate(-60deg); } to { transform: rotate(0deg); } }

.bar-1 { transform-origin: 20px 52px; animation: eq-bar 1.2s ease-in-out infinite; }
.bar-2 { transform-origin: 32px 52px; animation: eq-bar 1.2s ease-in-out infinite 0.2s; }
.bar-3 { transform-origin: 44px 52px; animation: eq-bar 1.2s ease-in-out infinite 0.4s; }
@keyframes eq-bar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }

.vortex-spin { transform-origin: 32px 32px; animation: vortex-rotate 0.8s linear infinite; }
@keyframes vortex-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.vortex-core { animation: vortex-pulse 0.4s ease-in-out infinite; }
@keyframes vortex-pulse { 0%,100% { opacity:0.8; } 50% { opacity:1; } }

.fp-tray-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  height: 100%;
}

.fp-tray-hint-row {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5px 0 2px;
  background: rgba(0,0,0,0.45);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px 14px 0 0;
  border-bottom: none;
}

.fp-tray-bar {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-top: none;
  border-radius: 0;
  width: 100%;
}

.fp-tray-hint {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
  animation: hint-blink 2.5s ease-in-out infinite;
}

.fp-tray-plus {
  font-size: 13px;
  color: #1D9E75;
  font-weight: 500;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 0;
}

.fp-drop-plus {
  position: fixed;
  font-size: 16px;
  font-weight: 500;
  color: #1D9E75;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, 0);
  animation: plus-float 0.9s ease-out forwards;
}

@keyframes plus-float {
  0%   { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -16px); }
}

.fp-tray-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  flex: 1;
  position: relative;
}

.fp-tray-x {
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin-left: 6px;
  opacity: 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.fp-emoji-counter {
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin-left: 2px;
  opacity: 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}

#fpZoneCount {
  margin-left: 2px;
}

#fpZoneTrayCounter {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

#fpZoneTrayCounter svg {
  filter: drop-shadow(0 0 4px currentColor);
}

.fp-tray-divider {
  width: 0.5px;
  background: rgba(255,255,255,0.08);
  align-self: stretch;
}

.fp-tray-next-label {
  font-size: 16px;
  font-weight: 700;
  color: #00e676;
  letter-spacing: 2px;
  font-family: 'Bebas Neue', sans-serif;
}

.fp-tray-next-arrow {
  font-size: 16px;
  color: #00e676;
  font-family: 'Bebas Neue', sans-serif;
}

.fp-tray-next-progress {
  flex: 0 0 100%;
  width: 100%;
  max-width: 40px;
  margin-left: auto;
  margin-right: auto;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
}

.fp-tray-next-fill {
  height: 100%;
  background: #1D9E75;
  border-radius: 1px;
  width: 33%;
}

.fp-tray-next-step {
  flex: 0 0 100%;
  text-align: center;
  font-size: 8px;
  color: rgba(255,255,255,0.2);
  font-family: monospace;
}

/* S4/S5/S6 icons inherit shared tray container size */
.fp-tray-icon--zone {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 8px;
  border: 0.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  box-shadow: none;
  filter: none;
}

.fp-tray-icon--zone .fp-tray-ico {
  font-size: 16px;
  line-height: 1;
}

.fp-icon-tray--zones-visible .fp-tray-icon--zone,
#fpIconTray.fp-icon-tray--visible .fp-tray-icon--zone {
  padding: 0;
}

.fp-icon-tray--zones-visible .fp-tray-icon--zone .fp-tray-ico,
#fpIconTray.fp-icon-tray--visible .fp-tray-icon--zone .fp-tray-ico {
  font-size: 28px;
}

.fp-tray-wrapper--zone .fp-tray-icon--zone {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 48px;
  max-height: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 2px 1px;
}

.fp-tray-wrapper--zone .fp-tray-icon--zone .fp-tray-ico {
  font-size: 32px;
  flex-shrink: 0;
}

/* Κάτω από emoji (.fp-tray-lbl): πάντα ημίτονο — όχι χρώμα ζώνης */
.fp-tray-icon--zone .fp-tray-lbl {
  display: none;
}

.fp-tray-wrapper--zone .fp-tray-icon-group .fp-tray-icon--zone .fp-tray-lbl {
  display: block;
  font-size: 7px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.4);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-tray-zone-label {
  display: block;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  line-height: 1;
}

.fp-tray-zone-row--bottom .fp-tray-zone-label,
#fpZoneTrayLabel {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

#fpIconTray.fp-tray--defense #fpZoneTrayLabel {
  color: #60a5fa;
}

#fpIconTray.fp-tray--midfield #fpZoneTrayLabel {
  color: #4ade80;
}

#fpIconTray.fp-tray--attack #fpZoneTrayLabel {
  color: #f87171;
}

.fp-tray-next--inline {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 0;
  min-width: 0;
  white-space: nowrap;
}

.fp-tray-zone-row--bottom .fp-tray-next--inline {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.gn-drag-ghost {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 28px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: none;
  will-change: left, top;
}

@keyframes gnNameFlash {
  0%   { opacity: 0.45; transform: scale(1); }
  30%  { opacity: 1; transform: scale(1.15); color: var(--flash-color, #fff); }
  100% { opacity: 0.45; transform: scale(1); }
}

.fp-player-name-flat.gn-name-flash {
  animation: gnNameFlash 0.5s ease forwards;
}

.gn-zone-reveal {
  position: absolute;
  left: 0;
  right: 0;
  /* Να καλύπτει ακριβώς το tray — 2 rows */
  top: calc(50% - 56px);
  height: 112px;
  pointer-events: none;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}

.gn-zone-reveal--go {
  animation: gnRevealWipe 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gn-zone-reveal-bg {
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.gn-zone-reveal-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 10px;
  color: #000;
  position: relative;
  z-index: 1;
  text-shadow: none;
}

@keyframes gnRevealWipe {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  35% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
  65% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0% 0 100%);
    opacity: 0;
  }
}

.gn-flick-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  animation: gnTrailFade 0.4s ease-out forwards;
}

@keyframes gnTrailFade {
  to {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.3);
  }
}

.gn-drop-lock {
  animation: gnDropLock 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gn-drop-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 13px;
  transform: translate(-50%, -50%);
  animation: gnBurstFly 0.6s ease-out forwards;
}

@keyframes gnBurstFly {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) rotate(var(--angle))
               translateY(0px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle))
               translateY(-32px) scale(0.3);
  }
}

@keyframes gnDropLock {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.65);
  }
  70% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.fp-reveal-countdown {
  position: absolute;
  inset: 0;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.fp-reveal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  width: 100%;
}

.fp-rc-check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0,230,118,0.08);
  border: 1.5px solid rgba(0,230,118,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fp-reveal-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,230,118,0.45);
  margin-bottom: 8px;
}

.fp-reveal-title {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.fp-reveal-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}

.fp-rc-timer-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  margin-bottom: 28px;
}

.fp-rc-timer-wrap svg {
  position: absolute;
  top: 0; left: 0;
}

.fp-rc-timer-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fp-reveal-timer {
  font-size: 26px;
  font-weight: 500;
  color: #00e676;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

.fp-rc-timer-lbl {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 4px;
}

.fp-reveal-note {
  font-size: 11px;
  color: #1a3a5a;
  margin-bottom: 24px;
  font-family: 'Barlow Condensed', sans-serif;
}

.fp-reveal-summary-btn {
  background: rgba(10,30,70,0.8);
  border: 0.5px solid rgba(80,140,220,0.4);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: rgba(140,180,230,0.9);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.15s;
}

.fp-reveal-summary-btn:active {
  background: rgba(15,40,90,0.9);
  color: #ddeeff;
}

/* ═══════════════════════════════════════════════════════════════
   MINI REVEAL — .fp-mr-* classes
   Carousel of 2–3 snap cards rendered by _showMiniReveal()
═══════════════════════════════════════════════════════════════ */

/* ── Outer wrapper ── */
.fp-mr-wrap {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: row;
  background: transparent;
  overflow: hidden;
}

/* ── Bottom horizontal dots ── */
.fp-mr-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

.fp-mr-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.25s, width 0.25s, box-shadow 0.25s;
}

.fp-mr-dot--active {
  width: 18px;
  background: #00e676;
  box-shadow: 0 0 8px rgba(0,230,118,0.7);
}

@keyframes fp-mr-pulse-dot {
  0%   { box-shadow: 0 0 6px rgba(0,230,118,0.5); }
  50%  { box-shadow: 0 0 16px rgba(0,230,118,1); }
  100% { box-shadow: 0 0 6px rgba(0,230,118,0.5); }
}

.fp-mr-dot--pulse {
  animation: fp-mr-pulse-dot 0.8s ease;
}

/* ── Carousel ── */
.fp-mr-carousel {
  flex: 1;
  position: relative;
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* ── Individual card ── */
.fp-mr-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fp-mr-card:nth-child(1) { left: 0%; }
.fp-mr-card:nth-child(2) { left: 100%; }
.fp-mr-card:nth-child(3) { left: 200%; }

/* ── Pitch SVG background ── */
.fp-mr-pitch-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Card inner layout ── */
.fp-mr-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Fixed header ── */
.fp-mr-fixed-hdr {
  flex-shrink: 0;
  padding: 16px 20px 10px;
}

.fp-mr-match-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fp-mr-team-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
}

.fp-mr-score-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px;
  padding: 2px 7px;
}

.fp-mr-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 3px;
  color: rgba(0,230,118,0.55);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fp-mr-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.96);
  line-height: 1.1;
}

/* ── Scrollable body ── */
.fp-mr-body {
  flex: 1;
  min-height: 0;
  padding: 8px 20px 12px;
  overflow-y: hidden;
}

.fp-mr-body--scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fp-mr-body--scroll::-webkit-scrollbar {
  display: none;
}

/* ── Empty state ── */
.fp-mr-empty {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  padding: 20px 0;
  text-align: center;
}

/* ── Tier block ── */
.fp-mr-tier-block {
  margin-bottom: 14px;
}

.fp-mr-tier-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.8;
}

/* ── Player row ── */
.fp-mr-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fp-mr-player-row:last-child {
  border-bottom: none;
}

.fp-mr-ring-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.fp-mr-ring-svg {
  display: block;
  overflow: visible;
}

.fp-mr-player-info {
  flex: 1;
  min-width: 0;
}

.fp-mr-player-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.fp-mr-player-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.fp-mr-pos-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 3px;
}

.fp-mr-team-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fp-mr-emojis {
  font-size: 11px;
}

.fp-mr-team-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.5px;
}

.fp-mr-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  flex-shrink: 0;
  min-width: 28px;
  text-align: right;
}

/* ── Fixed footer ── */
.fp-mr-fixed-ftr {
  flex-shrink: 0;
  padding: 8px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.fp-mr-ftr-crowd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}

.fp-mr-ftr-timer {
  color: #4fc3f7;
  margin-left: 4px;
}

.fp-mr-swipe-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: rgba(0,230,118,0.5);
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

/* ── Card 2: Crowd ── */
.fp-mr-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fp-mr-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 4px 10px;
}

.fp-mr-q-block {
  margin-bottom: 16px;
}


.fp-mr-bias-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.fp-mr-bias-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  width: 84px;
  flex-shrink: 0;
  white-space: nowrap;
}

.fp-mr-bias-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.fp-mr-bias-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.fp-mr-bias-pct {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* ── Card 3: Pre-match ── */
.fp-mr-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fp-mr-outcomes-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.fp-mr-outcome-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fp-mr-outcome-row:last-child {
  border-bottom: none;
}

.fp-mr-outcome-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  flex: 1;
}

.fp-mr-outcome-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: #00e676;
}

.fp-mr-result-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fp-mr-result-badge--yes {
  background: rgba(0,230,118,0.12);
  border: 1px solid rgba(0,230,118,0.35);
  color: #00e676;
}

.fp-mr-result-badge--no {
  background: rgba(198,40,40,0.12);
  border: 1px solid rgba(198,40,40,0.35);
  color: #C62828;
}

.fp-mr-back-btn {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9999;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
}

.fp-mr-back-btn:active {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

/* ── Reveal Loading Screen (.fp-rc-*) ── */
.fp-rc-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #06080e;
  gap: 20px;
  z-index: 26;
}

.fp-rc-ring {
  width: 64px;
  height: 64px;
  animation: fp-rc-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes fp-rc-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.fp-rc-text {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 32px;
}

.fp-rc-countdown {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  white-space: nowrap;
  z-index: 27;
}

.fp-rc-countdown-label {
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fp-rc-loading {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.fp-rc-loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c853, #00e676);
  border-radius: 2px;
  transition: width 5.5s cubic-bezier(0.4,0,0.6,1);
}

.fp-rc-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.fp-rc-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fp-rc-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fp-rc-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.fp-rc-logo-fallback {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  display: none;
  align-items: center;
  justify-content: center;
}
.fp-rc-logo-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.fp-rc-vs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fp-rc-vs-text {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2px;
}
.fp-rc-vs-score {
  font-size: 28px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
}
.fp-rc-anticipation {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 8px 0 16px;
  line-height: 1.6;
  font-style: italic;
}
.fp-rc-reveal-time {
  text-align: center;
  padding: 10px 20px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  margin-bottom: 16px;
  width: 100%;
}
.fp-rc-reveal-time-label {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fp-rc-reveal-time-val {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.fp-rc-reveal-time-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 3px;
}
.fp-rc-stats {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 10px 0;
  margin-bottom: 16px;
}
.fp-rc-stat {
  flex: 1;
  text-align: center;
  position: relative;
}
.fp-rc-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%;
  width: 0.5px;
  background: rgba(255,255,255,0.08);
}
.fp-rc-stat-val {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.fp-rc-stat-lbl {
  font-size: 9px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
@keyframes fp-rc-spin {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }
}
.fp-rc-comet {
  transform-origin: 85px 85px;
  animation: fp-rc-spin 1.8s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* ── Mini Reveal — new match header, stories & home button ── */
.fp-mr-match-header {
  flex-shrink: 0;
  margin: 12px 16px 0;
  position: relative;
  z-index: 1;
}
.fp-mr-match-inner {
  background: linear-gradient(135deg,
    rgba(0,200,83,0.08) 0%,
    rgba(14,16,22,0.97) 50%,
    rgba(229,57,53,0.08) 100%);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
}
.fp-mr-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.fp-mr-competition {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.fp-mr-final-badge {
  font-size: 10px;
  color: #00e676;
  border: 0.5px solid rgba(0,230,118,0.4);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 1px;
}
.fp-mr-match-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fp-mr-team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 110px;
}
.fp-mr-team-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.fp-mr-team-full {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
.fp-mr-match-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-mr-score-big {
  font-size: 28px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 6px;
}
.fp-mr-stories {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  flex-shrink: 0;
}
.fp-mr-story-bar {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
.fp-mr-story-fill {
  height: 100%;
  border-radius: 2px;
  background: #00e676;
  transition: width 0.3s ease;
}
.fp-mr-home-btn {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
}

/* ── _mrCrowdCard v2 additions ── */
.fp-mr-q-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fp-mr-q-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  flex: 1;
  line-height: 1.4;
}
.fp-mr-u-ans {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(0,230,118,0.08);
  color: #00e676;
  border: 0.5px solid rgba(0,230,118,0.2);
  white-space: nowrap;
  margin-left: 8px;
  flex-shrink: 0;
}
.fp-mr-insight {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 10px;
  background: rgba(0,230,118,0.05);
  border-radius: 8px;
  border-left: 2px solid rgba(0,230,118,0.3);
}
.fp-mr-insight--warn {
  background: rgba(249,168,37,0.05);
  border-left-color: rgba(249,168,37,0.3);
}
.fp-mr-ins-icon {
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.fp-mr-ins-txt {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.fp-mr-ins-txt strong {
  color: rgba(0,230,118,0.8);
  font-weight: 500;
}
.fp-mr-ins-warn strong {
  color: rgba(249,168,37,0.8);
}
.fp-mr-match-header-card {
  background: linear-gradient(135deg,
    rgba(0,200,83,0.08) 0%,
    rgba(14,16,22,0.97) 50%,
    rgba(229,57,53,0.08) 100%);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.fp-mr-match-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════
   MINI REVEAL v3 — NEW TAB-BASED LAYOUT
   MR-0 (lock/countdown) + MR-1/MR-2 (tabs)
══════════════════════════════════════════════════════════════ */

/* ── MR-0: Lock screen ── */
.mr0-wrap {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  background: #06080a;
  overflow: hidden;
}
.mr0-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(0,200,83,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(211,47,47,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(0,212,255,0.06) 0%, transparent 50%);
}
.mr0-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 0; position: relative; z-index: 2;
}
.mr0-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: rgba(240,244,248,0.22); text-transform: uppercase;
}
.mr0-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  color: #00d4ff; padding: 3px 10px;
  border: 1px solid rgba(0,212,255,0.3); border-radius: 8px;
  background: rgba(0,212,255,0.06); text-transform: uppercase;
}
.mr0-matchday {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; color: rgba(240,244,248,0.22); letter-spacing: 1px;
}
.mr0-match-strip {
  margin: 20px 16px 0;
  background: #0c1014; border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2; overflow: hidden;
}
.mr0-match-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,200,83,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(211,47,47,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.mr0-teams-score { display: flex; align-items: center; gap: 12px; flex: 1; }
.mr0-emblem {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 2px; flex-shrink: 0;
}
.mr0-emblem .hv2-mark { width: 36px; height: 36px; }
.mr0-emblem-home { background: rgba(0,200,83,0.15); border: 1.5px solid rgba(0,200,83,0.4); }
.mr0-emblem-away { background: rgba(211,47,47,0.15); border: 1.5px solid rgba(211,47,47,0.4); }
.mr0-score-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mr0-score { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 4px; color: #f5c518; line-height: 1; }
.mr0-final-pill {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 2px; color: #ff5252; background: rgba(255,82,82,0.08);
  border: 1px solid rgba(255,82,82,0.25); border-radius: 8px; padding: 3px 10px; text-transform: uppercase;
}
.mr0-date { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; color: rgba(240,244,248,0.22); letter-spacing: 1px; }
.mr0-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0; padding: 0 20px; position: relative; z-index: 2;
}
.mr0-lock { font-size: 52px; margin-bottom: 20px; animation: mr0LockPulse 2.5s 1s ease-in-out infinite; }
@keyframes mr0LockPulse {
  0%,100% { filter: drop-shadow(0 0 0px rgba(0,212,255,0)); transform: scale(1); }
  50%     { filter: drop-shadow(0 0 18px rgba(0,212,255,0.5)); transform: scale(1.06); }
}
.mr0-lock-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 38px; letter-spacing: 3px;
  text-align: center; line-height: 1.05; margin-bottom: 10px; color: #f0f4f8;
  animation: mr0FadeUp .45s .2s ease both;
}
.mr0-lock-sub {
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 1px; color: rgba(240,244,248,0.50); text-align: center; margin-bottom: 36px;
  animation: mr0FadeUp .45s .35s ease both;
}
.mr0-countdown { display: flex; align-items: flex-start; gap: 6px; margin-bottom: 12px; animation: mr0FadeUp .45s .5s ease both; }
.flip-unit { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.flip-digits { display: flex; gap: 4px; }
.flip-digit {
  width: 40px; height: 58px; background: #0c1014; border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: #f0f4f8; position: relative; overflow: hidden;
}
.flip-digit::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,0.06); }
.flip-sep { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: rgba(240,244,248,0.22); line-height: 58px; margin-bottom: 20px; animation: mr0SepBlink 1s step-end infinite; }
@keyframes mr0SepBlink { 0%,100%{opacity:1} 50%{opacity:.15} }
.flip-label { font-family: 'Barlow Condensed', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 2px; color: rgba(240,244,248,0.22); text-transform: uppercase; }
.mr0-cd-caption { font-size: 11px; color: rgba(240,244,248,0.22); letter-spacing: 1px; text-transform: uppercase; font-family: 'Barlow Condensed', sans-serif; animation: mr0FadeUp .45s .65s ease both; }
.mr0-footer { padding: 0 16px 40px; position: relative; z-index: 2; animation: mr0FadeUp .45s .9s ease both; }
.mr0-footer-hint {
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 1px; color: rgba(240,244,248,0.50); text-align: center; margin-bottom: 12px; text-transform: uppercase;
}
.mr0-cta {
  width: 100%; padding: 16px; background: #00d4ff; color: #000; border: none;
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px;
  cursor: pointer; border-radius: 12px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  animation: mr0Breathe 2.8s 2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
@keyframes mr0Breathe {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50%     { box-shadow: 0 0 0 10px rgba(0,212,255,0.12); }
}
@keyframes mr0FadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

/* ── MR-1/2: Tab-based container ── */
.mr12-wrap {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  background: #06080a;
  overflow: hidden;
}
.mr12-header {
  position: relative;
  flex-shrink: 0;
  background: #0c1014;
  z-index: 2;
}
.mr12-match-hero { background: #0c1014; position: relative; overflow: hidden; }
.mr12-match-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,200,83,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(211,47,47,0.12) 0%, transparent 55%);
}
.mr12-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 0; position: relative; z-index: 2;
}
.mr12-back-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.11);
  color: rgba(240,244,248,0.50); font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  padding: 5px 12px; border-radius: 8px; cursor: pointer; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.mr12-reveal-badge {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; color: #00d4ff; text-transform: uppercase;
  padding: 3px 10px; border: 1px solid rgba(0,212,255,0.3);
  border-radius: 8px; background: rgba(0,212,255,0.06);
}
.mr12-matchday { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; color: rgba(240,244,248,0.22); letter-spacing: 1px; }
.mr12-teams-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 10px 8px; position: relative; z-index: 2;
}
.mr12-team-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.mr12-team-emblem {
  width: 62px; height: 62px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px;
}
.mr12-team-emblem .hv2-mark { width: 38px; height: 38px; }
.mr12-team-name-full { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(240,244,248,0.22); text-transform: uppercase; text-align: center; }
.mr12-center-col { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 8px; flex-shrink: 0; }
.mr12-score-big { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 4px; color: #f5c518; line-height: 1; }
.mr12-status-chip {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 2px; color: #00e676; background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2); padding: 2px 8px; border-radius: 8px; text-transform: uppercase;
}
.mr12-match-date { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; color: rgba(240,244,248,0.22); letter-spacing: 1px; }
.mr12-meta-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 7px 14px; border-top: 1px solid rgba(255,255,255,0.06); position: relative; z-index: 2;
}
.mr12-ms-item { display: flex; align-items: center; gap: 4px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; color: rgba(240,244,248,0.50); letter-spacing: .3px; }
.mr12-ms-icon { font-size: 12px; }
.mr12-ms-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.mr12-timer-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-top: 1px solid rgba(255,255,255,0.06); background: #0c1014;
}
.mr12-timer-left { display: flex; align-items: center; gap: 7px; }
.mr12-timer-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #00d4ff; flex-shrink: 0;
  animation: mr12LivePulse 1.5s ease-in-out infinite;
}
@keyframes mr12LivePulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,212,255,.4)} 50%{box-shadow:0 0 0 5px rgba(0,212,255,0)} }
.mr12-timer-lbl { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: rgba(240,244,248,0.50); text-transform: uppercase; }
.mr12-timer-val { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: #00d4ff; }
.mr12-tabs { display: flex; background: #06080a; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mr12-tab {
  flex: 1; padding: 12px 0; text-align: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 2px;
  color: rgba(240,244,248,0.22); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s; text-transform: uppercase; -webkit-tap-highlight-color: transparent;
}
.mr12-tab.active { color: #00d4ff; border-bottom-color: #00d4ff; }

/* ── MR-1/2: Slides ── */
.mr12-slides-wrap { flex: 1; overflow: hidden; min-height: 0; }
.mr12-slides { display: flex; transition: transform 0.35s cubic-bezier(.4,0,.2,1); width: 200%; height: 100%; }
.mr12-slide { flex-shrink: 0; width: 50%; min-width: 50%; overflow-y: auto; padding-bottom: 48px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mr12-slide::-webkit-scrollbar { display: none; }

/* ── Summary dot row ── */
.mr12-summary-row {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; margin: 12px 14px 0;
  background: #0c1014; border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px;
}
.mr12-s3-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.mr12-s3-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; color: rgba(240,244,248,0.50); letter-spacing: .5px; }
.mr12-s3-sep { color: rgba(240,244,248,0.22); font-size: 11px; padding: 0 2px; }

/* ── Section divider ── */
.mr12-s-header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 8px; }
.mr12-s-line { flex: 1; height: 1px; background: rgba(255,255,255,0.11); }
.mr12-s-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: rgba(240,244,248,0.22); text-transform: uppercase; white-space: nowrap; }

/* ── Player cards ── */
.mr12-player-card {
  margin: 0 14px 6px;
  background: #0c1014; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  position: relative; overflow: hidden;
  transform: translateX(110%); opacity: 0;
  transition: transform .44s cubic-bezier(.2,.8,.3,1), opacity .32s ease;
}
.mr12-player-card.revealed { transform: translateX(0); opacity: 1; }
.mr12-player-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.mr12-player-card.c-cyan::before   { background: #00d4ff; }
.mr12-player-card.c-green::before  { background: #00e676; }
.mr12-player-card.c-yellow::before { background: #f5c518; }
.mr12-player-card.c-orange::before { background: #ff8c00; }
.mr12-player-card.c-red::before    { background: #ff3030; }
.mr12-player-card.excellent::before { background: #00d4ff; }
.mr12-player-card.good::before      { background: #00e676; }
.mr12-player-card.mid::before       { background: #ffb300; }
.mr12-player-card.bad::before       { background: #ff5252; }
.mr12-card-rank { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: rgba(240,244,248,0.22); width: 20px; text-align: center; flex-shrink: 0; line-height: 1; }
.mr12-card-ring { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.mr12-card-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.mr12-card-ring-score { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .5px; }
.mr12-card-info { flex: 1; min-width: 0; }
.mr12-card-name { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #f0f4f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr12-card-meta { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.mr12-card-pos { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; padding: 2px 7px; border-radius: 5px; text-transform: uppercase; }
.mr12-pos-gk  { background: rgba(245,197,24,.18); color: #f5c518; border: 1px solid rgba(245,197,24,.35); }
.mr12-pos-def { background: rgba(41,121,255,.18); color: #5b9fff; border: 1px solid rgba(41,121,255,.35); }
.mr12-pos-mid { background: rgba(0,200,83,.18);   color: #00e676; border: 1px solid rgba(0,200,83,.35); }
.mr12-pos-att { background: rgba(255,23,68,.18);  color: #ff5f7e; border: 1px solid rgba(255,23,68,.35); }
.mr12-card-team-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.mr12-card-team { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; color: rgba(240,244,248,0.22); letter-spacing: 1px; text-transform: uppercase; }
.mr12-card-score { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; flex-shrink: 0; line-height: 1; }

/* ── Collapsed toggle ── */
.mr12-collapsed {
  margin: 0 14px 6px; padding: 9px 12px;
  border: 1px dashed rgba(255,255,255,0.11); border-radius: 12px;
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  transform: translateX(110%); opacity: 0;
  transition: transform .44s cubic-bezier(.2,.8,.3,1), opacity .32s ease;
  -webkit-tap-highlight-color: transparent;
}
.mr12-collapsed.revealed { transform: translateX(0); opacity: 1; }
.mr12-collapsed-text { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: rgba(240,244,248,0.22); text-transform: uppercase; }
.mr12-collapsed-arrow { margin-left: auto; font-size: 14px; color: rgba(240,244,248,0.22); transition: transform .3s; }
.mr12-collapsed.open .mr12-collapsed-arrow { transform: rotate(180deg); }
.mr12-extra-cards { overflow: hidden; max-height: 0; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.mr12-extra-cards.open { max-height: 800px; }
.mr12-extra-cards .mr12-player-card { transform: translateX(0); opacity: 1; }

/* ── Low divider ── */
.mr12-low-divider {
  display: flex; align-items: center; gap: 10px; margin: 4px 14px 6px;
  opacity: 0; transition: opacity .3s;
}
.mr12-low-divider.revealed { opacity: 1; }
.mr12-low-divider span { font-size: 11px; color: rgba(240,244,248,0.22); white-space: nowrap; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .1em; }
.mr12-low-divider::before,.mr12-low-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.06); }

/* ── Slide CTA ── */
.mr12-slide-cta {
  margin: 16px 14px 0; width: calc(100% - 28px); padding: 14px;
  background: transparent; border: 1px solid rgba(0,212,255,0.4); color: #00d4ff;
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 3px;
  cursor: pointer; border-radius: 12px; text-transform: uppercase; transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.mr12-slide-cta:hover { background: rgba(0,212,255,0.06); }

/* ── Slide 2: Bias/Exposure card ── */
.mr12-bias-card {
  margin: 12px 14px 0; background: #0c1014; border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px; overflow: hidden;
}
.mr12-bias-top {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
}
.mr12-bias-icon { font-size: 32px; flex-shrink: 0; }
.mr12-bias-info { flex: 1; }
.mr12-bias-sub-label { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 3px; color: rgba(240,244,248,0.22); text-transform: uppercase; margin-bottom: 3px; }
.mr12-bias-val { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; color: #00d4ff; line-height: 1; }
.mr12-bias-desc { font-size: 12px; color: rgba(240,244,248,0.50); margin-top: 2px; }
.mr12-exposure-col { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.mr12-exposure-label { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 2px; color: rgba(240,244,248,0.22); text-transform: uppercase; }
.mr12-exposure-val { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 2px; color: #f0f4f8; line-height: 1; }
.mr12-exposure-sub { font-size: 11px; color: rgba(240,244,248,0.50); }
.mr12-bias-bar-wrap { padding: 0 16px 14px; }
.mr12-bias-bar-track {
  height: 8px; background: rgba(255,255,255,.06); border-radius: 4px;
  position: relative; overflow: visible; margin-bottom: 6px;
}
.mr12-bias-bar-fill { height: 100%; border-radius: 4px; }
.mr12-bias-bar-thumb {
  position: absolute; top: 50%; transform: translate(-50%,-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: #00d4ff; border: 2px solid #06080a;
  box-shadow: 0 0 8px rgba(0,212,255,.6);
}
.mr12-bias-bar-labels {
  display: flex; justify-content: space-between;
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}

/* ── Slide 2: S8 columns ── */
.mr12-s8-cols { display: flex; gap: 6px; padding: 0 14px; }
.mr12-s8-col {
  flex: 1; background: #0c1014; border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px; padding: 12px 8px; text-align: center;
  position: relative; overflow: hidden;
}
.mr12-s8-col-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.mr12-s8-col-icon { font-size: 20px; margin-bottom: 5px; }
.mr12-s8-col-topic { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: rgba(240,244,248,0.22); text-transform: uppercase; margin-bottom: 5px; line-height: 1.3; }
.mr12-s8-col-answer { font-family: 'Bebas Neue', sans-serif; font-size: 13px; letter-spacing: 1px; color: #f0f4f8; margin-bottom: 5px; line-height: 1.15; }
.mr12-s8-col-pct { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; line-height: 1; }
.mr12-s8-col-agree { font-family: 'Barlow Condensed', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* ── Slide 2: Insight cards ── */
.mr12-insight-main {
  margin: 0 14px 8px; background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.15); border-left: 3px solid #00d4ff;
  border-radius: 12px; padding: 14px;
}
.mr12-insight-row { display: flex; align-items: flex-start; gap: 10px; }
.mr12-insight-icon { font-size: 20px; flex-shrink: 0; }
.mr12-insight-content { flex: 1; }
.mr12-insight-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 2px; color: #00d4ff; text-transform: uppercase; margin-bottom: 5px; }
.mr12-insight-text { font-size: 13px; color: rgba(240,244,248,0.50); line-height: 1.55; }
.mr12-insight-text strong { color: #f0f4f8; font-weight: 600; }
.mr12-insight-tag {
  display: inline-block; margin-top: 8px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: rgba(240,244,248,0.22); background: #111820; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 2px 9px; text-transform: uppercase;
}
.mr12-obs-label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; color: rgba(240,244,248,0.22); text-transform: uppercase; padding: 8px 14px 6px; }
.mr12-obs-list { display: flex; flex-direction: column; gap: 6px; margin: 0 14px; }
.mr12-obs-item {
  background: #0c1014; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.mr12-obs-icon { font-size: 16px; flex-shrink: 0; }
.mr12-obs-text { font-size: 13px; color: rgba(240,244,248,0.50); line-height: 1.4; flex: 1; }
.mr12-obs-text strong { color: #f0f4f8; font-weight: 600; }

/* ── Slide 2: AI Profile ── */
.mr12-ai-card {
  margin: 0 14px 8px; background: rgba(245,197,24,.04);
  border: 1px solid rgba(245,197,24,.15); border-radius: 12px; padding: 16px; position: relative; overflow: hidden;
}
.mr12-ai-card::before { content: '✨'; position: absolute; right: 14px; top: 14px; font-size: 24px; opacity: .1; }
.mr12-ai-header {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 2px; color: #f5c518; text-transform: uppercase; margin-bottom: 8px;
}
.mr12-ai-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #f5c518;
  animation: mr12LivePulse 2s ease-in-out infinite;
}
.mr12-ai-text { font-size: 13px; color: rgba(240,244,248,0.50); line-height: 1.65; }
.mr12-ai-regen {
  display: none; width: calc(100% - 28px); margin: 0 14px 0; padding: 10px;
  background: transparent; border: 1px solid rgba(245,197,24,.25); border-radius: 12px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: rgba(245,197,24,.6); cursor: pointer; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
@keyframes mr12DotFade { 0%,80%,100%{opacity:.2} 40%{opacity:1} }
@keyframes mr12Blink { 0%,100%{opacity:1} 50%{opacity:0} }
