/* ═══════════════════════════════════════════════════════════════
   FULL REVEAL — photo + IA style gallery
═══════════════════════════════════════════════════════════════ */

/* ── Gallery ── */
#view-full-reveal.fr-gallery-active { overflow: hidden; }
#frViewWrap.fr-gallery-mode {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #06080e;
}
.fr-gallery-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.fr-gallery {
  padding: 0 14px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.fr-gallery-head { padding: 12px 0 16px; text-align: center; }
.fr-gallery-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}
.fr-gallery-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 6px;
  line-height: 1.5;
}
.fr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
}
@media (min-width: 400px) {
  .fr-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.fr-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.fr-gallery-item--picked {
  border-color: rgba(64, 196, 255, 0.65);
  background: rgba(64, 196, 255, 0.06);
}
.fr-gallery-item-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.28);
}
.fr-gallery-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.fr-gallery-item-desc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.35;
  min-height: 18px;
}
.fr-gallery-sample { width: 64px; pointer-events: none; }
.fr-gallery-sample--photo { width: 72px; min-height: 88px; }
.fr-gallery-sample--ia { width: 56px; min-height: 76px; }
.fr-gallery-sample .fr-card-flip-wrap { width: 100%; }
.fr-gallery-sample .fr-verdict-chip--revealed::after { opacity: 1 !important; }
.fr-gallery-actions {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 8, 14, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fr-gallery-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.fr-gallery-btn--primary {
  border-color: rgba(64, 196, 255, 0.45);
  background: rgba(64, 196, 255, 0.12);
  color: #7dd3fc;
}
.fr-style-fab {
  position: fixed;
  right: 14px;
  bottom: 134px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(179, 136, 255, 0.45);
  background: linear-gradient(145deg, rgba(18, 10, 32, 0.95), rgba(10, 8, 22, 0.98));
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: rgba(220, 190, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body:not(.theme-home) .fr-style-fab { display: none; }

.fr-reveal-fab {
  position: fixed;
  right: 14px;
  bottom: 190px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(64, 196, 255, 0.45);
  background: linear-gradient(145deg, rgba(8, 18, 32, 0.95), rgba(8, 12, 22, 0.98));
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: rgba(125, 211, 252, 0.95);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body:not(.theme-home) .fr-reveal-fab { display: none; }

/* ══════════════════════════════════════════════════════════════
   IA CARD — shared tier structure (all 9 new styles)
══════════════════════════════════════════════════════════════ */
#view-full-reveal.fr-cardstyle-match-hero,
#view-full-reveal.fr-cardstyle-stack,
#view-full-reveal.fr-cardstyle-cascade,
#view-full-reveal.fr-cardstyle-photo-first,
#view-full-reveal.fr-cardstyle-glow-ring,
#view-full-reveal.fr-cardstyle-accuracy,
#view-full-reveal.fr-cardstyle-dark-glass {
  --fr-chip-w: 56px;
  --fr-chip-h: 76px;
}
#view-full-reveal.fr-cardstyle-compact,
#view-full-reveal.fr-cardstyle-minimal {
  --fr-chip-w: 52px;
  --fr-chip-h: 68px;
}

#frViewWrap .fr-ia-verdict {
  position: relative;
  width: 100%;
  height: var(--fr-chip-h);
  min-height: var(--fr-chip-h);
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#frViewWrap .fr-ia-verdict::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 150%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--fr-perf, transparent) 70%, transparent), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#frViewWrap .fr-ia-verdict.fr-verdict-chip--revealed::after { opacity: 1; }
#frViewWrap .fr-ia-verdict.fr-verdict-chip--scores-locked::after { opacity: 0.12; }

.fr-ia-card-inner { width: 100%; height: 100%; }
.fr-ia-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--fr-chip-h);
  min-height: var(--fr-chip-h);
  padding: 0;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(4, 8, 14, 0.98));
  border: 1.5px solid color-mix(in srgb, var(--fr-team, #888) 38%, rgba(255,255,255,0.15));
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

/* Photo layer — full card background */
.fr-ia-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fr-ia-card__bg .fr-photo-card__img,
.fr-ia-card__bg .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-ia-card__bg .fr-photo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #4a6a4a, #1a2a1a);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.3);
}

.fr-ia-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.97) 0%,
    rgba(0, 0, 0, 0.82) 38%,
    rgba(0, 0, 0, 0.35) 62%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.fr-ia-card__overlay--locked {
  background: rgba(0, 0, 0, var(--fr-locked-overlay, 0.82));
}
.fr-ia-card__overlay--pending {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.38) 50%,
    rgba(0, 0, 0, 0.14) 100%
  );
}

.fr-ia-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  flex: 1;
  min-height: 0;
  padding: 3px 4px 4px;
  gap: 0;
  box-sizing: border-box;
}

/* Match % pinned top — photo fills card behind */
.fr-ia-card--revealed .fr-ia-tier1 {
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  z-index: 3;
  margin-top: 0;
  padding: 0;
}
.fr-ia-card--revealed .fr-ia-card__content {
  padding-top: 17px;
}

.fr-ia-card--pending .fr-ia-card__content,
.fr-ia-card--locked .fr-ia-card__content {
  justify-content: center;
  align-items: center;
  gap: 2px;
}

/* Minimal — no bg photo, micro avatar only */
.fr-style-minimal .fr-ia-card--revealed,
.fr-style-minimal .fr-ia-card--pending,
.fr-style-minimal .fr-ia-card--locked {
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.96), rgba(4, 8, 14, 0.98));
}
.fr-ia-photo-block {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 auto 1px;
}
.fr-ia-photo-block--micro {
  width: 20px;
  height: 20px;
}
.fr-ia-photo-block .fr-photo-card__img,
.fr-ia-photo-block .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-ia-photo-block .fr-photo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #4a6a4a, #1a2a1a);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

/* Tier 1 — MATCH % */
.fr-ia-tier1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.fr-ia-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  color: var(--fr-match-color, #4ade80);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.fr-ia-pct-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0;
}

/* Tier 3 — name (photo is bg) */
.fr-ia-tier3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.fr-ia-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
.fr-ia-name--dim { color: rgba(255, 255, 255, 0.35); }

/* Tier 2 — 12 vs 10 */
.fr-ia-tier2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  padding: 0;
}
.fr-ia-you {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}
.fr-ia-vs {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: lowercase;
}
.fr-ia-crowd {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* Tier 4 — identity */
.fr-ia-tier4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tier 5 — emojis */
.fr-ia-tier5 {
  display: flex;
  justify-content: center;
  gap: 1px;
  font-size: 8px;
  line-height: 1;
}

/* Tier 6 — delta */
.fr-ia-tier6 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
}

.fr-ia-locked-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 4.5px;
  color: rgba(255, 183, 77, 0.8);
  text-align: center;
  line-height: 1.3;
  padding: 0 2px;
}

/* ── Style: match-hero (canonical) ── */
.fr-style-match-hero .fr-ia-card--revealed {
  border-color: color-mix(in srgb, var(--fr-match-color, #4ade80) 45%, white);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--fr-match-color) 25%, transparent);
}
.fr-style-match-hero .fr-ia-pct { font-size: 19px; }

/* ── Style: stack ── */
.fr-style-stack .fr-ia-card--revealed { border-radius: 6px; }
.fr-style-stack .fr-ia-card__content { gap: 1px; padding: 3px 4px 4px; }
.fr-style-stack .fr-ia-tier1 { border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 2px; margin-bottom: 1px; }
.fr-style-stack .fr-ia-tier2 { border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 1px; margin-bottom: 1px; }

/* ── Style: cascade (sequential reveal) ── */
.fr-style-cascade .fr-ia-tier1,
.fr-style-cascade .fr-ia-tier2,
.fr-style-cascade .fr-ia-tier3,
.fr-style-cascade .fr-ia-tier4,
.fr-style-cascade .fr-ia-tier5,
.fr-style-cascade .fr-ia-tier6 {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.fr-style-cascade.fr-ia-step-2 .fr-ia-tier2,
.fr-style-cascade.fr-ia-step-3 .fr-ia-tier2,
.fr-style-cascade.fr-ia-step-3 .fr-ia-tier1,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier2,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier1,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier3,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier4,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier5,
.fr-style-cascade.fr-ia-step-4 .fr-ia-tier6 {
  opacity: 1;
  transform: translateY(0);
}

/* ── Style: photo-first — name up top, match at bottom ── */
.fr-style-photo-first .fr-ia-card--revealed .fr-ia-tier1 {
  position: static;
  order: 6;
}
.fr-style-photo-first .fr-ia-card--revealed .fr-ia-card__content { padding-top: 3px; padding-bottom: 3px; }

.fr-style-photo-first .fr-ia-tier3 { order: 1; }
.fr-style-photo-first .fr-ia-tier3 .fr-ia-name { font-size: 8px; }
.fr-style-photo-first .fr-ia-tier2 { order: 2; }
.fr-style-photo-first .fr-ia-tier4 { order: 3; }
.fr-style-photo-first .fr-ia-tier5 { order: 4; }
.fr-style-photo-first .fr-ia-tier6 { order: 5; }

/* ── Style: compact ── */
.fr-style-compact .fr-ia-card__content { padding: 2px 3px 3px; }
.fr-style-compact .fr-ia-pct { font-size: 15px; }
.fr-style-compact .fr-ia-you { font-size: 11px; }
.fr-style-compact .fr-ia-crowd { font-size: 9px; }
.fr-style-compact .fr-ia-tier4,
.fr-style-compact .fr-ia-tier5 { display: none; }

/* ── Style: glow-ring — match % ring over photo bg ── */
.fr-style-glow-ring .fr-ia-card--revealed { overflow: hidden; }
.fr-style-glow-ring .fr-ia-card__content { padding-top: 2px; }
.fr-style-glow-ring .fr-ia-card--revealed .fr-ia-tier1 {
  top: 3px;
  width: 34px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--fr-match-color, #4ade80);
  box-shadow: 0 0 10px color-mix(in srgb, var(--fr-match-color) 45%, transparent);
  background: rgba(0, 0, 0, 0.65);
  justify-content: center;
}
.fr-style-glow-ring .fr-ia-pct { font-size: 11px; line-height: 1; }
.fr-style-glow-ring .fr-ia-pct-lbl {
  display: block;
  font-size: 3.5px;
  margin-top: 0;
}

/* ── Style: accuracy ── */
.fr-style-accuracy .fr-ia-pct-lbl { color: rgba(64, 196, 255, 0.55); letter-spacing: 0.1em; }

/* ── Style: dark-glass ── */
.fr-style-dark-glass .fr-ia-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.fr-style-dark-glass .fr-ia-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(255, 255, 255, 0.04) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* ── Style: minimal — no bg photo ── */
.fr-style-minimal .fr-ia-card--revealed .fr-ia-tier3 .fr-ia-photo-block { display: none; }
.fr-style-minimal .fr-ia-card--revealed .fr-ia-tier4,
.fr-style-minimal .fr-ia-card--revealed .fr-ia-tier5,
.fr-style-minimal .fr-ia-card--revealed .fr-ia-tier6 { display: none; }
.fr-style-minimal .fr-ia-card--revealed .fr-ia-tier1 { position: static; }
.fr-style-minimal .fr-ia-card--revealed .fr-ia-card__content { padding-top: 3px; justify-content: center; gap: 2px; }
.fr-style-minimal .fr-ia-pct { font-size: 20px; }

.fr-player--active .fr-ia-verdict::after {
  opacity: 1 !important;
  transform: translateX(-50%) scale(1.3);
}

/* ══════════════════════════════════════════════════════════════
   CINEMATIC + PHOTO BAR (EA variants — kept as-is)
══════════════════════════════════════════════════════════════ */
#view-full-reveal.fr-cardstyle-cinematic { --fr-chip-w: 58px; --fr-chip-h: 76px; }
#view-full-reveal.fr-cardstyle-photobar  { --fr-chip-w: 56px; --fr-chip-h: 80px; }
#view-full-reveal.fr-cardstyle-diagonal  { --fr-chip-w: 58px; --fr-chip-h: 76px; }
#view-full-reveal.fr-cardstyle-stamp     { --fr-chip-w: 56px; --fr-chip-h: 80px; }
#view-full-reveal.fr-cardstyle-neon      { --fr-chip-w: 52px; --fr-chip-h: 74px; }
#view-full-reveal.fr-cardstyle-jersey    { --fr-chip-w: 54px; --fr-chip-h: 78px; }
#view-full-reveal.fr-cardstyle-face      { --fr-chip-w: 52px; --fr-chip-h: 72px; }

#frViewWrap .fr-photo-verdict {
  min-height: var(--fr-chip-h);
  height: var(--fr-chip-h);
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#frViewWrap .fr-photo-verdict::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 150%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--fr-perf, transparent) 70%, transparent), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#frViewWrap .fr-photo-verdict.fr-verdict-chip--revealed::after { opacity: 0.75; }

.fr-photo-card-inner { width: 100%; height: 100%; }
.fr-photo-card {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fr-photo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #4a6a4a, #1a2a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.3);
}
.fr-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.65) 38%, rgba(0,0,0,0.15) 68%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.fr-photo-card__overlay--locked {
  background: rgba(0, 0, 0, var(--fr-locked-overlay, 0.82));
}

/* Μη ψηφισμένος — ρυθμίζεται από ⚙ (όλες οι φάσεις) */
.fr-photo-card__media--locked,
.fr-ia-card__bg .fr-photo-card__media--locked {
  opacity: var(--fr-locked-opacity, 0.44);
  filter:
    grayscale(var(--fr-locked-grayscale, 48%))
    saturate(var(--fr-locked-saturate, 0.52))
    brightness(var(--fr-locked-brightness, 0.86));
}

/* Photo Bar · μη ψηφισμένος — ξεχωριστό stack (δεν κληρονομεί ψηφισμένο) */
.fr-verdict-chip--unrated .fr-photo-card--photobar::before {
  background: rgba(0, 0, 0, var(--fr-locked-veil, 0.32));
}
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__overlay,
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__overlay--locked,
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__overlay--pending {
  background: rgba(0, 0, 0, var(--fr-locked-overlay, 0.82));
}
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__img,
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__fallback,
.fr-player--pending .fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__img,
.fr-player--pending .fr-verdict-chip--unrated .fr-photo-card--photobar .fr-photo-card__fallback {
  opacity: var(--fr-locked-opacity, 0.44);
  filter:
    grayscale(var(--fr-locked-grayscale, 48%))
    saturate(var(--fr-locked-saturate, 0.52))
    brightness(var(--fr-locked-brightness, 0.86));
}
.fr-verdict-chip--unrated .fr-photo-card--photobar .fr-pbar-side {
  opacity: 0.35;
}
.fr-verdict-chip--unrated .fr-pbar-pct,
.fr-verdict-chip--unrated .fr-pbar-sv,
.fr-verdict-chip--unrated .fr-pbar-name {
  color: rgba(255, 255, 255, 0.28) !important;
}
.fr-photo-card__overlay--pending {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.12) 100%);
}

/* Pending reveal — ελαφρύ χρώμα στη φωτό, όχι ασπρόμαυρη */
.fr-player--pending .fr-photo-card__img,
.fr-photo-card--pending .fr-photo-card__img,
.fr-ia-card--pending .fr-ia-card__bg .fr-photo-card__img,
.fr-player--pending .fr-ia-photo-block .fr-photo-card__img {
  filter: saturate(0.62) brightness(0.9) contrast(1.04);
}
.fr-player--pending .fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar .fr-photo-card__img,
.fr-player--pending .fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar .fr-photo-card__fallback {
  filter: brightness(var(--fr-pbar-brightness, 0.66)) saturate(var(--fr-pbar-saturate, 0.82));
}
.fr-player--pending .fr-photo-card--neon .fr-photo-card__img,
.fr-player--pending .fr-photo-card--neon .fr-photo-card__fallback {
  filter: saturate(0.58) brightness(0.88) contrast(1.03);
}
.fr-cine-match-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  text-align: right;
}
.fr-cine-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.fr-cine-plbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fr-cine-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 5px 6px;
  z-index: 2;
}
.fr-cine-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-cine-bar-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 3px;
}
.fr-cine-bar-fill { height: 100%; border-radius: 2px; }
.fr-cine-scores { display: flex; justify-content: space-between; }
.fr-cine-sc { display: flex; flex-direction: column; gap: 1px; }
.fr-cine-sv {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.fr-cine-sv--muted { color: rgba(255, 255, 255, 0.5) !important; }
.fr-cine-sl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}
/* Photo Bar — full φωτό, απαλό mute, μαύρο μόνο κάτω για τα scores */
.fr-photo-card--photobar {
  background: #0a0e12;
}
.fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, var(--fr-pbar-veil, 0.18));
}
.fr-photo-card--photobar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.fr-photo-card--photobar .fr-photo-card__img:not(.fr-photo-card__media--locked),
.fr-photo-card--photobar .fr-photo-card__fallback:not(.fr-photo-card__media--locked),
.fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar .fr-photo-card__img,
.fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar .fr-photo-card__fallback {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transform: none;
  opacity: 1;
  object-fit: cover;
  object-position: top center;
  filter: brightness(var(--fr-pbar-brightness, 0.8)) saturate(var(--fr-pbar-saturate, 0.9));
}
.fr-verdict-chip:not(.fr-verdict-chip--unrated) .fr-photo-card--photobar .fr-photo-card__overlay {
  background:
    linear-gradient(
      to left,
      rgba(0, 0, 0, var(--fr-pbar-right-dark, 0.88)) 0%,
      rgba(0, 0, 0, calc(var(--fr-pbar-right-dark, 0.88) * 0.66)) 20%,
      rgba(0, 0, 0, calc(var(--fr-pbar-right-dark, 0.88) * 0.23)) 38%,
      rgba(0, 0, 0, calc(var(--fr-pbar-right-dark, 0.88) * 0.06)) 52%,
      transparent var(--fr-pbar-right-grad-fade, 58%)
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, var(--fr-pbar-bottom-dark, 0.94)) 0%,
      rgba(0, 0, 0, calc(var(--fr-pbar-bottom-dark, 0.94) * 0.66)) 22%,
      rgba(0, 0, 0, calc(var(--fr-pbar-bottom-dark, 0.94) * 0.23)) 42%,
      rgba(0, 0, 0, calc(var(--fr-pbar-bottom-dark, 0.94) * 0.06)) 58%,
      transparent var(--fr-pbar-grad-fade, 78%)
    );
}
.fr-pbar-side {
  position: absolute;
  left: 4px;
  top: 5px;
  bottom: 5px;
  width: var(--fr-pbar-bar-width, 4px);
  background: color-mix(in srgb, var(--fr-team2, #4fc3f7) 18%, rgba(255,255,255,0.06));
  border-radius: 2px;
  overflow: hidden;
  z-index: 2;
}
.fr-pbar-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.fr-pbar-right-col {
  position: absolute;
  top: var(--fr-pbar-match-top, 5px);
  right: var(--fr-pbar-match-right, 5px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--fr-pbar-right-gap, 4px);
  max-width: calc(100% - var(--fr-pbar-content-pad-l, 12px) - 8px);
}
.fr-pbar-match-badge {
  text-align: right;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.fr-pbar-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fr-pbar-name-size, 7px);
  font-weight: 700;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fr-team, #00e676) 32%, white 68%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}
.fr-pbar-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 5px 6px var(--fr-pbar-content-pad-l, 12px);
  z-index: 2;
}
.fr-pbar-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fr-pbar-lbl-size, 5px);
  color: color-mix(in srgb, var(--fr-team2, #4fc3f7) 44%, rgba(255,255,255,0.38));
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}
.fr-pbar-pct {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--fr-pbar-match-size, 17px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}
.fr-pbar-scores { display: flex; justify-content: space-between; }
.fr-pbar-scores--stack {
  flex-direction: column;
  align-items: flex-end;
  gap: var(--fr-pbar-score-gap, 3px);
  width: 100%;
}
.fr-pbar-scores--stack .fr-pbar-sc { align-items: flex-end; text-align: right; }
.fr-pbar-sc { display: flex; flex-direction: column; gap: 1px; }
.fr-pbar-sv {
  font-family: 'Rajdhani', sans-serif;
  font-size: var(--fr-pbar-score-size, 10px);
  font-weight: 600;
  line-height: 1;
  color: color-mix(in srgb, var(--fr-team, #00e676) 18%, white 82%) !important;
}
.fr-pbar-sv--muted { color: color-mix(in srgb, var(--fr-team2, #4fc3f7) 28%, rgba(255,255,255,0.5)) !important; }
.fr-pbar-sl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fr-pbar-lbl-size, 5px);
  color: color-mix(in srgb, var(--fr-team2, #4fc3f7) 40%, rgba(255,255,255,0.3));
  text-transform: uppercase;
}

/* ── Style: diagonal ── */
.fr-photo-card--diagonal img,
.fr-photo-card--diagonal .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-diag-slice {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 47%, rgba(0,0,0,0.97) 53%, rgba(0,0,0,0.97) 100%);
}
.fr-diag-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.38) 0%, transparent 52%);
}
.fr-diag-num {
  position: absolute;
  top: 5px;
  left: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}
.fr-diag-name {
  position: absolute;
  bottom: 42px;
  left: 6px;
  right: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 6.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.fr-diag-data {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  padding: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  z-index: 2;
}
.fr-diag-pct { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 800; line-height: 1; }
.fr-diag-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 5px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; }
.fr-diag-scores { display: flex; gap: 6px; }
.fr-diag-sc { display: flex; flex-direction: column; align-items: center; }
.fr-diag-sv { font-family: 'Rajdhani', sans-serif; font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1; }
.fr-diag-sv--muted { color: rgba(255,255,255,0.45); }
.fr-diag-sl { font-family: 'IBM Plex Mono', monospace; font-size: 4.5px; color: rgba(255,255,255,0.3); text-transform: uppercase; }

/* ── Style: stamp ── */
.fr-photo-card--stamp {
  background: #f5f0e8;
  border-radius: 3px;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 3px 12px rgba(0,0,0,0.55);
}
.fr-stamp-photo {
  height: 38px;
  margin: 4px 4px 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.fr-stamp-photo img,
.fr-stamp-photo .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-stamp-perf {
  height: 4px;
  margin: 0 4px;
  background: repeating-linear-gradient(90deg, #f5f0e8 0px, #f5f0e8 2px, transparent 2px, transparent 5px);
}
.fr-stamp-body {
  padding: 4px 5px 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fr-stamp-name { font-family: 'Rajdhani', sans-serif; font-size: 7px; font-weight: 800; color: #1a1a1a; text-transform: uppercase; }
.fr-stamp-pct-row { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.fr-stamp-pct { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 800; line-height: 1; }
.fr-stamp-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 5px; color: #888; text-transform: uppercase; letter-spacing: 0.06em; }
.fr-stamp-bar-track { height: 3px; background: rgba(0,0,0,0.08); border-radius: 2px; overflow: hidden; }
.fr-stamp-bar-fill { height: 100%; border-radius: 2px; }
.fr-stamp-scores { display: flex; justify-content: space-between; gap: 6px; }
.fr-stamp-sc { display: flex; flex-direction: column; }
.fr-stamp-sv { font-family: 'Rajdhani', sans-serif; font-size: 8px; font-weight: 700; color: #1a1a1a; line-height: 1; }
.fr-stamp-sv--muted { color: #888; }
.fr-stamp-sl { font-family: 'IBM Plex Mono', monospace; font-size: 4.5px; color: #aaa; text-transform: uppercase; }

/* ── Style: neon ── */
.fr-photo-card--neon img,
.fr-photo-card--neon .fr-photo-card__fallback {
  opacity: 0.24;
  filter: grayscale(30%);
}
.fr-neon-border {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.fr-neon-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 5px 6px;
}
.fr-neon-pct { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 800; line-height: 1; }
.fr-neon-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 5px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; }
.fr-neon-bottom { display: flex; flex-direction: column; gap: 2px; }
.fr-neon-row { display: flex; justify-content: space-between; }
.fr-neon-rl { font-family: 'IBM Plex Mono', monospace; font-size: 5px; color: rgba(255,255,255,0.32); }
.fr-neon-rv { font-family: 'Rajdhani', sans-serif; font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.82); line-height: 1; }
.fr-neon-rv--muted { color: rgba(255,255,255,0.45); }
.fr-neon-name { font-family: 'Rajdhani', sans-serif; font-size: 7px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Style: jersey ── */
.fr-photo-card--jersey {
  background: #0d1a0d;
  border-color: rgba(255,255,255,0.08);
}
.fr-jersey-num {
  position: absolute;
  bottom: -6px;
  right: -3px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 58px;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  user-select: none;
}
.fr-jersey-photo {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.14);
}
.fr-jersey-photo img,
.fr-jersey-photo .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-jersey-name {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 6.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.56);
  text-transform: uppercase;
}
.fr-jersey-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px 6px;
}
.fr-jersey-pct { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 800; line-height: 1; }
.fr-jersey-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 5px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.fr-jersey-bar-track { height: 2px; background: rgba(255,255,255,0.08); border-radius: 1px; overflow: hidden; margin-bottom: 3px; }
.fr-jersey-bar-fill { height: 100%; border-radius: 1px; }
.fr-jersey-scores { display: flex; justify-content: space-between; gap: 6px; }
.fr-jersey-sc { display: flex; flex-direction: column; }
.fr-jersey-sv { font-family: 'Rajdhani', sans-serif; font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.82); line-height: 1; }
.fr-jersey-sv--muted { color: rgba(255,255,255,0.45); }
.fr-jersey-sl { font-family: 'IBM Plex Mono', monospace; font-size: 4.5px; color: rgba(255,255,255,0.25); text-transform: uppercase; }

/* ── Style: face ── */
.fr-photo-card--face img,
.fr-photo-card--face .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-face-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.02) 35%, rgba(0,0,0,0.02) 55%, rgba(0,0,0,0.9) 100%);
}
.fr-face-fade--locked { background: rgba(0, 0, 0, var(--fr-locked-overlay, 0.82)); }
.fr-face-pct {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}
.fr-face-lbl {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}
.fr-face-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 5px 5px;
  z-index: 2;
}
.fr-face-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.84);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.fr-face-line { display: flex; justify-content: space-between; gap: 4px; }
.fr-face-s { font-family: 'Rajdhani', sans-serif; font-size: 7px; font-weight: 600; color: rgba(255,255,255,0.62); }
.fr-face-s--muted { color: rgba(255,255,255,0.52); }
.fr-face-s span { font-family: 'IBM Plex Mono', monospace; font-size: 4.5px; color: rgba(255,255,255,0.32); margin-right: 1px; text-transform: uppercase; }
.fr-player--active .fr-photo-verdict::after {
  opacity: 1 !important;
  transform: translateX(-50%) scale(1.25);
}

/* ══════════════════════════════════════════════════════════════
   GEN-2 PLAYER CARD PROTOTYPES (122×73 · scale 0.78 · locked)
══════════════════════════════════════════════════════════════ */
#view-full-reveal.fr-cardstyle-proto-a,
#view-full-reveal.fr-cardstyle-proto-b,
#view-full-reveal.fr-cardstyle-proto-c,
#view-full-reveal.fr-cardstyle-proto-d,
#view-full-reveal.fr-cardstyle-proto-e,
#view-full-reveal.fr-cardstyle-proto-f,
#view-full-reveal.fr-cardstyle-proto-g,
#view-full-reveal.fr-cardstyle-proto-h {
  --fr-chip-w: 122px;
  --fr-chip-h: 73px;
  --fr-unit-w: 122px;
  --fr-card-scale: 0.78;
}

@media (max-width: 430px) {
  #view-full-reveal.fr-cardstyle-proto-a,
  #view-full-reveal.fr-cardstyle-proto-b,
  #view-full-reveal.fr-cardstyle-proto-c,
  #view-full-reveal.fr-cardstyle-proto-d,
  #view-full-reveal.fr-cardstyle-proto-e,
  #view-full-reveal.fr-cardstyle-proto-f,
  #view-full-reveal.fr-cardstyle-proto-g,
  #view-full-reveal.fr-cardstyle-proto-h {
    --fr-chip-w: 122px;
    --fr-chip-h: 73px;
    --fr-unit-w: 122px;
    --fr-card-scale: 0.78;
    --fr-players-scale: 1;
  }
}

.fr-gallery-sample--proto {
  width: 122px;
  height: 73px;
  min-height: 73px;
  overflow: hidden;
}
.fr-gallery-sample--proto .fr-card-flip-wrap,
.fr-gallery-sample--proto .fr-proto-verdict,
.fr-gallery-sample--proto .fr-proto-card-inner {
  width: 122px;
  height: 73px;
}

#frViewWrap .fr-proto-verdict {
  width: 122px;
  height: 73px;
  min-height: 73px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#frViewWrap .fr-proto-verdict::after {
  display: none;
}
.fr-proto-card-inner {
  width: 122px;
  height: 73px;
}

.fr-proto-card {
  width: 122px;
  height: 73px;
  box-sizing: border-box;
  background: #0e1218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Barlow Condensed', sans-serif;
  position: relative;
}

.fr-proto-photo {
  position: relative;
  overflow: hidden;
  background: #1a2030;
  flex-shrink: 0;
}
.fr-proto-photo .fr-photo-card__img,
.fr-proto-photo .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-proto-photo .fr-photo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.28);
}
.fr-proto-photo--dim .fr-photo-card__img,
.fr-proto-photo--dim .fr-photo-card__fallback {
  opacity: 0.35;
  filter: grayscale(1);
}

.fr-proto-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-proto-name--dim { color: rgba(255, 255, 255, 0.45); }
.fr-proto-name--hero { font-size: 13px; text-align: center; }

.fr-proto-collective {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr-proto-personal {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr-proto-insight {
  font-size: 6.5px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fr-proto-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1;
}

.fr-proto-locked {
  font-size: 6px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 2px;
}

/* A — collective top · photo left · stack right */
.fr-proto-card--a {
  display: flex;
  flex-direction: column;
  padding: 4px 5px 4px;
  gap: 3px;
}
.fr-proto-card--a .fr-proto-collective { flex-shrink: 0; }
.fr-proto-body-a {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 5px;
  align-items: stretch;
}
.fr-proto-card--a .fr-proto-photo {
  width: 34px;
  height: 100%;
  min-height: 44px;
  border-radius: 4px;
}
.fr-proto-card--a .fr-proto-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

/* B — photo top · name · collective · personal */
.fr-proto-card--b {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}
.fr-proto-card--b .fr-proto-photo--top {
  width: 100%;
  height: 28px;
  border-radius: 0;
}
.fr-proto-card--b .fr-proto-name,
.fr-proto-card--b .fr-proto-collective,
.fr-proto-card--b .fr-proto-personal,
.fr-proto-card--b .fr-proto-insight {
  padding: 0 6px;
}
.fr-proto-card--b .fr-proto-name { margin-top: 3px; }
.fr-proto-card--b .fr-proto-collective { margin-top: 1px; }
.fr-proto-card--b .fr-proto-personal { margin-top: 1px; }
.fr-proto-card--b .fr-proto-insight { margin-top: 1px; padding-bottom: 3px; }

/* C — badge verdict */
.fr-proto-card--c {
  display: flex;
  flex-direction: column;
  padding: 5px 6px 4px;
  gap: 3px;
}
.fr-proto-row-c {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 4px;
  align-items: center;
  min-height: 30px;
}
.fr-proto-card--c .fr-proto-photo--sm {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.fr-proto-badge {
  max-width: 52px;
  font-size: 6.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}

/* D — split */
.fr-proto-card--d {
  display: grid;
  grid-template-columns: 48px 1fr;
  height: 73px;
  padding: 0;
  gap: 0;
}
.fr-proto-split-photo {
  position: relative;
  overflow: hidden;
  background: #1a2030;
  height: 100%;
}
.fr-proto-split-photo .fr-photo-card__img,
.fr-proto-split-photo .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.fr-proto-split-photo .fr-photo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.28);
}
.fr-proto-split-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 5px 6px 5px 5px;
  min-width: 0;
}

/* E — identity first */
.fr-proto-card--e {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 6px 3px;
  gap: 2px;
  text-align: center;
}
.fr-proto-card--e .fr-proto-photo--center {
  width: 32px;
  height: 22px;
  border-radius: 4px;
}
.fr-proto-card--e .fr-proto-collective,
.fr-proto-card--e .fr-proto-personal,
.fr-proto-card--e .fr-proto-insight {
  width: 100%;
  text-align: center;
}

/* F — minimal rows */
.fr-proto-card--f {
  display: flex;
  flex-direction: column;
  padding: 5px 6px 4px;
  gap: 2px;
}
.fr-proto-row-f {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
}
.fr-proto-card--f .fr-proto-photo--xs {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}
.fr-proto-card--f .fr-proto-name { flex: 1; min-width: 0; }

/* G — editorial labels */
.fr-proto-card--g {
  display: flex;
  flex-direction: column;
  padding: 4px 6px 3px;
  gap: 1px;
}
.fr-proto-row-g {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0;
}
.fr-proto-card--g .fr-proto-photo--sm {
  width: 24px;
  height: 24px;
  border-radius: 3px;
}
.fr-proto-card--g .fr-proto-name { flex: 1; min-width: 0; }

/* H — compact dense */
.fr-proto-card--h {
  display: flex;
  flex-direction: column;
  padding: 4px 5px 3px;
  gap: 2px;
}
.fr-proto-row-h1 {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
}
.fr-proto-card--h .fr-proto-collective {
  flex: 1;
  min-width: 0;
  font-size: 7px;
}
.fr-proto-card--h .fr-proto-photo--xs {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
}
.fr-proto-card--h .fr-proto-name {
  max-width: 42px;
  font-size: 9px;
}

/* Pending / locked shell */
.fr-proto-card--pending,
.fr-proto-card--locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  gap: 4px;
}
.fr-proto-card--pending .fr-proto-photo,
.fr-proto-card--locked .fr-proto-photo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════
   PLAYER CARD v1 — CANONICAL CANDIDATE (122×73 · scale 0.78)
══════════════════════════════════════════════════════════════ */
#view-full-reveal.fr-cardstyle-card-v1 {
  --fr-chip-w: 122px;
  --fr-chip-h: 73px;
  --fr-unit-w: 122px;
  --fr-card-scale: 0.78;
  /* v1 tuner vars (defaults) */
  --fr-v1-strip-h: 14px;
  --fr-v1-collective-size: 10.5px;
  --fr-v1-collective-stars-size: 13px;
  --fr-v1-collective-gap: 2px;
  --fr-v1-photo-w: 45px;
  --fr-v1-photo-pos-x: 56%;
  --fr-v1-photo-pos-y: 0%;
  --fr-v1-photo-scale: 1.07;
  --fr-v1-identity-pad-t: 5px;
  --fr-v1-identity-pad-r: 4px;
  --fr-v1-identity-pad-b: 0px;
  --fr-v1-identity-pad-l: 4px;
  --fr-v1-identity-gap: 2px;
  --fr-v1-name-size: 11.5px;
  --fr-v1-name-mt: -2px;
  --fr-v1-personal-mt: 4px;
  --fr-v1-personal-label-size: 8px;
  --fr-v1-personal-label-mt: -2px;
  --fr-v1-personal-verdict-size: 9.5px;
  --fr-v1-personal-stars-size: 11px;
  --fr-v1-personal-gap: 1px;
  --fr-v1-personal-verdict-mt: 4px;
  --fr-v1-personal-stars-mt: 0px;
}

@media (max-width: 430px) {
  #view-full-reveal.fr-cardstyle-card-v1 {
    --fr-chip-w: 122px;
    --fr-chip-h: 73px;
    --fr-unit-w: 122px;
    --fr-card-scale: 0.78;
    --fr-players-scale: 1;
  }
}

#frViewWrap .fr-v1-verdict {
  width: 122px;
  height: 73px;
  min-height: 73px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#frViewWrap .fr-v1-verdict::after {
  display: none;
}
.fr-v1-card-inner {
  width: 122px;
  height: 73px;
}

.fr-v1-card {
  width: 122px;
  height: 73px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #0c1018;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
}

/* ── Top strip — collective verdict (centered) ── */
.fr-v1-strip {
  flex: 0 0 var(--fr-v1-strip-h, 14px);
  height: var(--fr-v1-strip-h, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-sizing: border-box;
  min-width: 0;
}
.fr-v1-strip__content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--fr-v1-collective-gap, 2px);
  max-width: 100%;
  min-width: 0;
}
.fr-v1-strip__label {
  flex: 0 1 auto;
  min-width: 0;
  font-size: var(--fr-v1-collective-size, 10.5px);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-v1-strip__stars {
  flex: 0 0 auto;
  font-size: var(--fr-v1-collective-stars-size, 13px);
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 0.95;
}

/* Semantic placeholder colors — Vote Pitch v2 buckets */
.fr-v1-strip--apaisios {
  background: #3a2020;
  color: #f0a0a0;
}
.fr-v1-strip--kakos {
  background: #4a2828;
  color: #e8b0b0;
}
.fr-v1-strip--metrios {
  background: #4a4028;
  color: #e8d8a8;
}
.fr-v1-strip--kalos {
  background: #284a38;
  color: #b0e8c8;
}
.fr-v1-strip--exairetikos {
  background: #38284a;
  color: #d0b0e8;
}
.fr-v1-strip--unknown {
  background: #1e2430;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Lower body — photo left · identity right ── */
.fr-v1-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--fr-v1-photo-w, 45px) 1fr;
  height: calc(73px - var(--fr-v1-strip-h, 14px));
}

.fr-v1-photo {
  position: relative;
  overflow: hidden;
  background: #1a2030;
  height: 100%;
  min-height: 0;
}
.fr-v1-photo .fr-photo-card__img,
.fr-v1-photo .fr-photo-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--fr-v1-photo-pos-x, 56%) var(--fr-v1-photo-pos-y, 0%);
  transform: scale(var(--fr-v1-photo-scale, 1.07));
  transform-origin: top center;
}
.fr-v1-photo .fr-photo-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.28);
}
.fr-v1-photo--dim .fr-photo-card__img,
.fr-v1-photo--dim .fr-photo-card__fallback {
  opacity: 0.32;
  filter: grayscale(1);
}

/* ── Identity column — name hero · personal secondary (centered) ── */
.fr-v1-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--fr-v1-identity-gap, 2px);
  min-width: 0;
  width: 100%;
  text-align: center;
  padding: var(--fr-v1-identity-pad-t, 5px) var(--fr-v1-identity-pad-r, 4px) var(--fr-v1-identity-pad-b, 0px) var(--fr-v1-identity-pad-l, 4px);
  box-sizing: border-box;
}

.fr-v1-name {
  width: 100%;
  font-size: var(--fr-v1-name-size, 11.5px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin-top: var(--fr-v1-name-mt, -2px);
}
.fr-v1-name--dim {
  color: rgba(255, 255, 255, 0.4);
}

.fr-v1-personal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fr-v1-personal-gap, 1px);
  width: 100%;
  min-width: 0;
  text-align: center;
  margin-top: var(--fr-v1-personal-mt, 4px);
}
.fr-v1-personal__label {
  width: 100%;
  font-size: var(--fr-v1-personal-label-size, 8px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  margin-top: var(--fr-v1-personal-label-mt, -2px);
}
.fr-v1-personal__verdict-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: var(--fr-v1-personal-stars-mt, 0px);
  min-width: 0;
  line-height: 1.05;
  margin-top: var(--fr-v1-personal-verdict-mt, 4px);
}
.fr-v1-personal__verdict {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: var(--fr-v1-personal-verdict-size, 9.5px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-v1-personal__stars {
  flex: 0 0 auto;
  font-size: var(--fr-v1-personal-stars-size, 11px);
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.48);
}

/* Personal verdict tier colors — matches collective strip palette */
.fr-v1-personal__verdict-row.fr-v1-personal--apaisios .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--apaisios .fr-v1-personal__stars {
  color: #f0a0a0;
}
.fr-v1-personal__verdict-row.fr-v1-personal--kakos .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--kakos .fr-v1-personal__stars {
  color: #e8b0b0;
}
.fr-v1-personal__verdict-row.fr-v1-personal--metrios .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--metrios .fr-v1-personal__stars {
  color: #e8d8a8;
}
.fr-v1-personal__verdict-row.fr-v1-personal--kalos .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--kalos .fr-v1-personal__stars {
  color: #b0e8c8;
}
.fr-v1-personal__verdict-row.fr-v1-personal--exairetikos .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--exairetikos .fr-v1-personal__stars {
  color: #d0b0e8;
}
.fr-v1-personal__verdict-row.fr-v1-personal--unknown .fr-v1-personal__verdict,
.fr-v1-personal__verdict-row.fr-v1-personal--unknown .fr-v1-personal__stars {
  color: rgba(255, 255, 255, 0.35);
}

.fr-v1-locked {
  width: 100%;
  font-size: 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.1;
}

/* ── Revealed + rated: restore full photo & strip color (clears pending/spotlight bleed · mobile WebKit) ── */
#frViewWrap .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-v1-photo .fr-photo-card__img,
#frViewWrap .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-v1-photo .fr-photo-card__fallback,
#frViewWrap .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-proto-photo:not(.fr-proto-photo--dim) .fr-photo-card__img,
#frViewWrap .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-proto-photo:not(.fr-proto-photo--dim) .fr-photo-card__fallback,
#frViewWrap .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-ia-card__bg .fr-photo-card__img:not(.fr-photo-card__media--locked) {
  opacity: 1;
  filter: none;
  -webkit-filter: none;
}

#view-full-reveal .fp-player.fr-player--done .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated),
#view-full-reveal .fr-player-unit.fr-player--done .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated),
#view-full-reveal .fp-player.fr-player--done .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-v1-card,
#view-full-reveal .fp-player.fr-player--done .fr-verdict-chip--revealed:not(.fr-verdict-chip--unrated) .fr-v1-strip {
  opacity: 1;
  filter: none;
  -webkit-filter: none;
}
