﻿/* ═══════════════════════════════════════════════════════════════
   Reveal Lab D — GLASS · cinematic.css
   FAITHFUL FORK of grade_walk.css (GNGradeWalk). Edit freely.
   Sibling labs are independent — port / synthesize later.
   Source snapshot from css/screens/grade_walk.css
═══════════════════════════════════════════════════════════════ */



#view-reveal-lab-glass {
  display: none;
  flex-direction: column;
  background: var(--rl-bg-base, var(--bg0, #06080e));
  overflow: hidden;
  position: fixed;
  inset: 0;
  z-index: 110;
}

#view-reveal-lab-glass.view--active {
  display: flex;
}

#view-reveal-lab-glass #rlGlsWrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body:has(#view-reveal-lab-glass.view--active) .gmd-panel, body:has(#view-reveal-lab-glass.view--active) .gmd-modal, body:has(#view-reveal-lab-glass.view--active) .gmd-overlay {
  pointer-events: none !important;
}

body:has(#view-reveal-lab-glass.view--active) .fr-preview-fab, body:has(#view-reveal-lab-glass.view--active) .vp2-preview-fab, body:has(#view-reveal-lab-glass.view--active) .hv2-preview-fab, body:has(#view-reveal-lab-glass.view--active) .fr-style-fab, body:has(#view-reveal-lab-glass.view--active) .fr-reveal-fab, body:has(#view-reveal-lab-glass.view--active) .gmd-gallery-fab, body:has(#view-reveal-lab-glass.view--active) .gw-preview-fab {
  display: none !important;
}

#view-reveal-lab-glass .gw-preview-fab {
  position: fixed;
  right: 14px;
  bottom: 194px;
  z-index: 90;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 196, 64, 0.45);
  background: linear-gradient(145deg, rgba(24, 18, 8, 0.95), rgba(12, 10, 6, 0.98));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 196, 64, 0.12);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffc840;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
body:not(.theme-home) .gw-preview-fab {
  display: none;
}

#view-reveal-lab-glass .gw-sandbox-badge {
  display: none !important;
}

#view-reveal-lab-glass .gw-btn--ghost {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 50;
  width: 36px;
  padding: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
}
#view-reveal-lab-glass #rlGlsWrap.rlg-knowledge-end .gw-btn--ghost {
  display: none;
}

#view-reveal-lab-glass .gw-top-bar {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
}

#view-reveal-lab-glass .gw-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 20, 0.78);
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#view-reveal-lab-glass .gw-btn:active {
  transform: scale(0.94);
}

#view-reveal-lab-glass .gw-cinematic-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 56;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.42s ease;
}
#view-reveal-lab-glass .gw-cinematic-progress[hidden] {
  display: none !important;
}
#view-reveal-lab-glass .gw-cinematic-progress--out {
  opacity: 0;
}
#view-reveal-lab-glass .gw-cinematic-progress__track {
  height: 2.5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}
#view-reveal-lab-glass .gw-cinematic-progress__fill {
  height: 100%;
  width: 100%;
  transform: scaleX(var(--gw-prog, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(110, 186, 255, 0.92), rgba(210, 236, 255, 1));
  box-shadow: 0 0 10px rgba(120, 190, 255, 0.4);
  will-change: transform;
}
#view-reveal-lab-glass .gw-cinematic-progress--complete .gw-cinematic-progress__fill {
  transition: transform 0.34s ease-out;
}

#view-reveal-lab-glass .gw-cinematic-hud {
  position: absolute;
  inset: 0;
  z-index: 54;
  display: grid;
  place-items: center;
  pointer-events: none;
}
#view-reveal-lab-glass .gw-cinematic-hud[hidden] {
  display: none !important;
}
#view-reveal-lab-glass .gw-cinematic-hud__icon {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(236, 244, 255, 0.96);
  background: rgba(8, 14, 22, 0.72);
  border: 1px solid rgba(170, 210, 255, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#view-reveal-lab-glass .gw-cinematic-hud__pause {
  display: none;
  width: 18px;
  height: 22px;
  box-sizing: border-box;
  border-left: 6px solid currentColor;
  border-right: 6px solid currentColor;
}
#view-reveal-lab-glass .gw-cinematic-hud__play {
  display: none;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent currentColor;
}
#view-reveal-lab-glass .gw-cinematic-hud--pause .gw-cinematic-hud__pause,
#view-reveal-lab-glass .gw-cinematic-hud--play .gw-cinematic-hud__play {
  display: block;
}
#view-reveal-lab-glass .gw-cinematic-hud--pause .gw-cinematic-hud__icon {
  animation: gw-hud-pop 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
#view-reveal-lab-glass .gw-cinematic-hud--flash .gw-cinematic-hud__icon {
  animation: gw-hud-flash 0.52s ease-out both;
}

@keyframes gw-hud-pop {
  0% { transform: scale(0.78); opacity: 0; }
  55% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes gw-hud-flash {
  0% { transform: scale(0.86); opacity: 0; }
  22% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}

#view-reveal-lab-glass .gw-pitch-canvas.gw-cinematic--paused::after {
  content: none;
}

/* Pitch atmosphere (Vote Flow 2 style) */
@property --gw-atmos-veil {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}
@property --gw-line-a {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
@property --gw-line-glow-a {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
@property --gw-grass-a {
  syntax: '<number>';
  inherits: true;
  initial-value: 0.2;
}

#view-reveal-lab-glass .gw-pitch-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
  --gw-atmos-ms: 3.2s;
  --gw-atmos-ease: cubic-bezier(0.37, 0.02, 0.2, 1);
  --gw-atmos-veil: 1;
  --gw-atmos-r: 2;
  --gw-atmos-g: 8;
  --gw-atmos-b: 18;
  --gw-atmos-at-r: 38;
  --gw-atmos-at-g: 88;
  --gw-atmos-at-b: 155;
  --gw-atmos-ab-r: 18;
  --gw-atmos-ab-g: 48;
  --gw-atmos-ab-b: 98;
  --gw-atmos-accent-a: 0.05;
  --gw-line-r: 178;
  --gw-line-g: 212;
  --gw-line-b: 252;
  --gw-line-a: 0;
  --gw-line-glow-a: 0;
  --gw-grass-a: 0.14;
  --fp2-layout-dot-size: 32px;
  --fp2-layout-dot-size-sub: 26px;
  --fp-dot-anchor-y: -42%;
  --fp-dot-size: var(--fp2-layout-dot-size);
  --fp-dot-size-sub: var(--fp2-layout-dot-size-sub);
  background:
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, calc(0.02 * var(--gw-grass-a))) 0px,
      rgba(255, 255, 255, calc(0.02 * var(--gw-grass-a))) 22px,
      transparent 22px, transparent 44px),
    linear-gradient(170deg, #020408 0%, #010306 50%, #020408 100%);
  transition:
    background var(--gw-atmos-ms) var(--gw-atmos-ease),
    --gw-grass-a var(--gw-atmos-ms) var(--gw-atmos-ease);
}

#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='welcome'],
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='opening'],
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='match'],
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='lit'],
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='formation'] {
  --gw-grass-a: 0.38;
  background:
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, calc(0.02 * var(--gw-grass-a))) 0px,
      rgba(255, 255, 255, calc(0.02 * var(--gw-grass-a))) 22px,
      transparent 22px, transparent 44px),
    linear-gradient(170deg, #050c16 0%, #030810 50%, #050c16 100%);
}

/* Full open grass only in knowledge mode */
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='interactive'] {
  --gw-grass-a: 0.85;
  background:
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 22px,
      transparent 22px, transparent 44px),
    linear-gradient(170deg, #0a1628 0%, #061020 50%, #0a1628 100%);
}

#view-reveal-lab-glass .gw-entry-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 48% at 50% 0%,
      rgba(var(--gw-atmos-at-r), var(--gw-atmos-at-g), var(--gw-atmos-at-b), var(--gw-atmos-accent-a)) 0%,
      transparent 74%
    ),
    radial-gradient(
      ellipse 72% 48% at 50% 100%,
      rgba(var(--gw-atmos-ab-r), var(--gw-atmos-ab-g), var(--gw-atmos-ab-b), var(--gw-atmos-accent-a)) 0%,
      transparent 74%
    ),
    rgba(var(--gw-atmos-r), var(--gw-atmos-g), var(--gw-atmos-b), 1);
  opacity: var(--gw-atmos-veil);
  transition:
    opacity var(--gw-atmos-ms) var(--gw-atmos-ease),
    background var(--gw-atmos-ms) var(--gw-atmos-ease);
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-pitch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  /* Inline color from GNPitchLines (fixed 0.31α) must NOT win — drive visibility via --gw-line-a */
  color: rgb(var(--gw-line-r), var(--gw-line-g), var(--gw-line-b)) !important;
  opacity: var(--gw-line-a);
  filter:
    drop-shadow(0 0 2px rgba(var(--gw-line-r), var(--gw-line-g), var(--gw-line-b), calc(var(--gw-line-glow-a) * 0.55)))
    drop-shadow(0 0 10px rgba(var(--gw-line-r), var(--gw-line-g), var(--gw-line-b), var(--gw-line-glow-a)));
  transition:
    color var(--gw-atmos-ms) var(--gw-atmos-ease),
    filter var(--gw-atmos-ms) var(--gw-atmos-ease),
    opacity var(--gw-atmos-ms) var(--gw-atmos-ease);
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-pitch-lines-path, #view-reveal-lab-glass .gw-pitch-canvas .fp-pitch-center {
  stroke: currentColor !important;
  transition: stroke var(--gw-atmos-ms) var(--gw-atmos-ease);
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-pitch-spot {
  fill: currentColor !important;
  fill-opacity: 0.9;
  opacity: 1;
}

/* Knowledge tip — brackets legend inside center circle (#3) */
#view-reveal-lab-glass .rg-center-tip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 31%;
  height: 14%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.9s;
}

#view-reveal-lab-glass .gw-pitch-canvas.gw-chapter--knowledge_mode .rg-center-tip,
#view-reveal-lab-glass .gw-pitch-canvas[data-gw-atmos='interactive'] .rg-center-tip {
  opacity: 1;
  visibility: visible;
  animation: rlg_centerTipSettle 5.5s ease forwards;
}

#view-reveal-lab-glass .rg-center-tip__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(140, 210, 160, 0.18) 0%,
    transparent 48%,
    transparent 52%,
    rgba(130, 190, 230, 0.18) 100%
  );
}

#view-reveal-lab-glass .rg-center-tip__wash::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 31%;
  bottom: 31%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.35);
}

#view-reveal-lab-glass .rg-center-tip__labels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 0 10%;
}

#view-reveal-lab-glass .rg-center-tip__you,
#view-reveal-lab-glass .rg-center-tip__crowd {
  flex: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(8px, 1.8vw, 11px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-align: center;
  text-transform: lowercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

#view-reveal-lab-glass .rg-center-tip__you {
  color: rgba(170, 230, 185, 0.88);
  text-align: left;
}

#view-reveal-lab-glass .rg-center-tip__crowd {
  color: rgba(160, 210, 240, 0.88);
  text-align: right;
}

@keyframes rlg_centerTipSettle {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: 1; }
  100% { opacity: 0.55; }
}

@keyframes rlg_gwLinesIgnite {
  0%   { opacity: 0; filter: none; }
  22%  { opacity: 1; }
  42%  { opacity: 0.35; }
  62%  { opacity: 1; }
  80%  { opacity: 0.55; }
  100% {
    opacity: 1;
    filter:
      drop-shadow(0 0 2px rgba(var(--gw-line-r), var(--gw-line-g), var(--gw-line-b), calc(var(--gw-line-glow-a) * 0.55 + 0.1)))
      drop-shadow(0 0 10px rgba(var(--gw-line-r), var(--gw-line-g), var(--gw-line-b), var(--gw-line-glow-a)));
  }
}

#view-reveal-lab-glass .gw-pitch-canvas.gw-lines-ignite .fp-pitch-svg {
  animation: rlg_gwLinesIgnite 0.52s ease forwards;
}

/* Grade bands painted on grass */
#view-reveal-lab-glass .gw-zones {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Ζώνη «Αλλαγές» — ίδια ιδέα με VF2 subs view */
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-hdr {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 72;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  pointer-events: none;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-hdr-top { top: 0; justify-content: flex-end; }
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-hdr-bot { bottom: 0; justify-content: flex-start; }

#view-reveal-lab-glass .gw-pitch-canvas .gw-team-subs-btn,
#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-subs-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: opacity 0.35s ease;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-subs-btn[hidden],
#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-subs-btn[hidden] {
  display: none !important;
}
#view-reveal-lab-glass .gw-pitch-canvas.gw-chapter--knowledge_mode .gw-team-subs-btn:not([hidden]),
#view-reveal-lab-glass .gw-pitch-canvas.gw-chapter--knowledge_mode .fp2-team-subs-btn:not([hidden]) {
  pointer-events: auto;
  opacity: 1;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-hdr-top .fp2-team-brand-text {
  align-items: flex-end;
  text-align: right;
}
#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--gw-subs-color, #9ec9ff);
}
#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-brand-subs {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-team-subs-btn--active .fp2-team-brand-subs,
#view-reveal-lab-glass .gw-pitch-canvas .fp2-team-subs-btn--active .fp2-team-brand-subs {
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

#view-reveal-lab-glass .gw-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: 2;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
#view-reveal-lab-glass .gw-logo-bg--top { top: 0; }
#view-reveal-lab-glass .gw-logo-bg--bottom { bottom: 0; }
#view-reveal-lab-glass .gw-logo-bg--visible { opacity: 1; }

#view-reveal-lab-glass .gw-logo-bg--subs-zone {
  opacity: 1;
  z-index: 3;
}
#view-reveal-lab-glass .gw-logo-bg--subs-zone .gw-subs-zone-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
}
#view-reveal-lab-glass .gw-logo-bg--subs-zone .gw-subs-zone-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.28;
}
#view-reveal-lab-glass .gw-subs-zone-fallback {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 48px;
  letter-spacing: 2px;
  opacity: 0.2;
  line-height: 1;
}
#view-reveal-lab-glass .gw-subs-zone-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

#view-reveal-lab-glass .gw-player.gw-player--sub-on-pitch {
  opacity: 0.88;
  z-index: 7;
}

#view-reveal-lab-glass .gw-zone {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Keep label stack vertically centered in the band (not stuck to the top edge) */
  padding-block: 0;
  border-radius: 0;
  border: 1px solid transparent;
  border-left: none;
  border-right: none;
  opacity: 0;
  transform: scaleY(0.92);
  transform-origin: center center;
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.4s ease, box-shadow 0.55s ease;
}
#view-reveal-lab-glass .gw-zone.gw-zone--visible {
  opacity: 1;
  transform: scaleY(1);
}
#view-reveal-lab-glass .gw-zone.gw-zone--hot {
  border-color: color-mix(in srgb, var(--gw-zone-c) 55%, transparent);
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--gw-zone-c) 18%, transparent);
}

/* Band fill — colored from the start (S3) */
#view-reveal-lab-glass .gw-zone-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--gw-zone-c) 22%, transparent),
    color-mix(in srgb, var(--gw-zone-c) 12%, transparent) 42%,
    color-mix(in srgb, var(--gw-zone-c) 7%, transparent) 72%,
    color-mix(in srgb, var(--gw-zone-c) 4%, transparent) 100%
  );
}

#view-reveal-lab-glass .gw-zone-lbl {
  position: relative;
  z-index: 1;
  margin-left: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: color-mix(in srgb, var(--gw-zone-c) 72%, #fff 10%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  opacity: 0.88;
}
#view-reveal-lab-glass .gw-zone-lbl--state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* Fixed track so every arrow shares the same horizontal width/center */
  width: 5.6em;
  min-width: 5.6em;
  font-size: clamp(14px, 3.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.05;
  /* Center the whole word+arrow block in the band */
  align-self: center;
  margin-block: auto;
}
#view-reveal-lab-glass .gw-zone-lbl__word {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  flex: 0 0 auto;
}
#view-reveal-lab-glass .gw-zone-lbl__line {
  display: block;
  line-height: 1.05;
}
#view-reveal-lab-glass .gw-zone-lbl__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 28px;
  margin-top: 2px;
  line-height: 0;
  color: inherit;
  flex: 0 0 auto;
}
#view-reveal-lab-glass .gw-zone-lbl__svg {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex: 0 0 auto;
  overflow: visible;
}

#view-reveal-lab-glass .gw-zone-sub {
  position: absolute;
  left: 12px;
  bottom: 6px;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

#view-reveal-lab-glass .gw-zone[data-grade="S+"] { --gw-zone-c: #B388FF; top: 5.0%; height: 16.2%; }
#view-reveal-lab-glass .gw-zone[data-grade="S"] { --gw-zone-c: #40C4FF; top: 21.5%; height: 16.2%; }
#view-reveal-lab-glass .gw-zone[data-grade="A"] { --gw-zone-c: #4CAF50; top: 38.0%; height: 16.2%; }
#view-reveal-lab-glass .gw-zone[data-grade="B"] { --gw-zone-c: #FFC107; top: 54.5%; height: 16.2%; }
#view-reveal-lab-glass .gw-zone[data-grade="C"] { --gw-zone-c: #E64A19; top: 71.0%; height: 16.2%; }

#view-reveal-lab-glass .gw-cinematic .gw-phase {
  opacity: 0;
  pointer-events: none;
}

#view-reveal-lab-glass .gw-chapter--personal_eval .gw-you {
  opacity: 0 !important;
  visibility: hidden;
}

#view-reveal-lab-glass .gw-chapter--knowledge_mode .gw-you, #view-reveal-lab-glass .gw-player.gw-player--two-worlds .gw-you, #view-reveal-lab-glass .gw-chapter--knowledge_mode .gw-player--explore .gw-you {
  opacity: 0 !important;
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

#view-reveal-lab-glass .gw-zones.gw-zones--formation-out .gw-zone {
  opacity: 0 !important;
  transition: opacity 0.9s ease;
}

#view-reveal-lab-glass .gw-locked-rail {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 88.5%;
  height: 8%;
  z-index: 2;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding-left: 12px;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
#view-reveal-lab-glass .gw-locked-rail.gw-zone--visible {
  opacity: 1;
}
#view-reveal-lab-glass .gw-locked-rail span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

#view-reveal-lab-glass .gw-players {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

#view-reveal-lab-glass .gw-player {
  position: absolute;
  left: 110%;
  top: 50%;
  min-width: 52px;
  transform: translate(-50%, var(--fp-dot-anchor-y, -42%));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  will-change: left, top, opacity;
  pointer-events: none;
  cursor: default;
}
#view-reveal-lab-glass .gw-player.gw-player--on {
  opacity: 1;
  visibility: visible;
}
#view-reveal-lab-glass .gw-player.gw-player--bridge-out {
  opacity: 0 !important;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
#view-reveal-lab-glass .gw-player.gw-player--formation-in {
  transition: opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#view-reveal-lab-glass .gw-chapter--knowledge_mode .gw-player.gw-player--explore {
  pointer-events: auto;
  cursor: pointer;
}

/* Tap invite — 1 per team, thin breath, soft handoff */
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out {
  z-index: 16;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap {
  position: relative;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap::before,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap::after,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::before,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(186, 214, 240, 0.42);
  box-shadow: none;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0.45;
  pointer-events: none;
  z-index: 8;
  animation: rlg_tapInviteHalo 2.8s ease-out infinite;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap::after {
  border-color: rgba(186, 214, 240, 0.28);
  animation-delay: 1.4s;
}
@keyframes rlg_tapInviteHalo {
  0% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.48; }
  100% { transform: translate(-50%, -50%) scale(1.72); opacity: 0; }
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::before,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::after {
  animation: rlg_tapInviteHaloOut 0.7s ease forwards;
}
@keyframes rlg_tapInviteHaloOut {
  to { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap::before,
  #view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse .fp-player-sun-wrap::after,
  #view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::before,
  #view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--invite-pulse-out .fp-player-sun-wrap::after {
    animation: none !important;
    opacity: 0.35;
  }
}
#view-reveal-lab-glass .gw-player.gw-player--settled {
  z-index: 6;
}
#view-reveal-lab-glass .gw-player.gw-player--settled.gw-player--invite-pulse,
#view-reveal-lab-glass .gw-player.gw-player--settled.gw-player--invite-pulse-out {
  z-index: 12;
}

#view-reveal-lab-glass .gw-player.fp-player--sub {
  z-index: 7;
  transform: translate(-50%, var(--fp-dot-anchor-y, -42%)) scale(0.78);
}
#view-reveal-lab-glass .gw-player.fp-player--sub.gw-player--sub-on-pitch {
  /* Same visual size as starter dots when αλλαγές are on the pitch */
  transform: translate(-50%, var(--fp-dot-anchor-y, -42%)) scale(1);
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-player-sun-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Community baptism ring — behind dot (VF2 score-ring philosophy) */
#view-reveal-lab-glass .gw-pitch-canvas .gw-player-seg-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

/* Two worlds — split ring: left = you · right = crowd */
#view-reveal-lab-glass .gw-pitch-canvas .gw-player-seg-ring--split .gw-seg-ring-crowd {
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--gw-crowd-color, #40C4FF) 55%, transparent));
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player-seg-ring--split .gw-seg-ring-user {
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--gw-user-color, #4CAF50) 55%, transparent));
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player-dot, #view-reveal-lab-glass .gw-pitch-canvas .fp-player-dot {
  width: var(--fp2-layout-dot-size) !important;
  height: var(--fp2-layout-dot-size) !important;
  min-width: var(--fp2-layout-dot-size) !important;
  min-height: var(--fp2-layout-dot-size) !important;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.42);
  transition:
    filter var(--gw-rank-lit-ms, 1.2s) var(--gw-rank-lit-ease, cubic-bezier(0.22, 0.61, 0.36, 1)),
    box-shadow var(--gw-rank-lit-ms, 1.2s) var(--gw-rank-lit-ease, cubic-bezier(0.22, 0.61, 0.36, 1));
}

/* Personal eval — bright team dots until zone paint (no rank color yet).
   No CSS filter on dots: mobile WebKit rasterizes filtered circles as squares. */
#view-reveal-lab-glass .gw-pitch-canvas.gw-chapter--personal_eval .gw-player.gw-player--on:not(.gw-player--rank-ready) .gw-player-dot {
  filter: none;
  -webkit-filter: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.42);
}

/* Rank ready — grade glow via box-shadow only (filter = square bug on iOS) */
#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--rank-ready .gw-player-dot,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player-dot.gw-dot--rank-lit {
  filter: none;
  -webkit-filter: none;
  /* promote circular compositing layer so outer glow stays round */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--gw-rank-color, #fff) 40%, transparent),
    0 0 10px 0 color-mix(in srgb, var(--gw-rank-color, #fff) 55%, transparent),
    0 0 22px 2px color-mix(in srgb, var(--gw-rank-color, #fff) 28%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player.gw-player--has-crowd .gw-player-dot {
  border-color: transparent !important;
  filter: none;
}

/* Two worlds — jersey only (no half-split wash); grade lives on ring + stars */
#view-reveal-lab-glass .gw-pitch-canvas .gw-dot-half {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--gw-two-worlds-ms, 0.65s) cubic-bezier(0.22, 0.61, 0.36, 1);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-dot-half--user,
#view-reveal-lab-glass .gw-pitch-canvas .gw-dot-half--crowd {
  background: none;
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player--two-worlds .fp2-token__bg {
  opacity: 1;
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player--two-worlds .gw-dot-half {
  opacity: 0;
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player--two-worlds .gw-player-dot, #view-reveal-lab-glass .gw-pitch-canvas .gw-player--two-worlds .fp-player-dot {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.42);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player--two-worlds .gw-player-dot::after {
  content: none;
  display: none;
}

@keyframes rlg_gwTwoWorldsSeam {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stars — LEFT = you */
#view-reveal-lab-glass .gw-pitch-canvas .gw-user-stars {
  position: absolute;
  top: 50%;
  right: calc(100% + 2px);
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 12px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(4px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  color: var(--gw-user-color, #4CAF50);
}

/* Stars — RIGHT = crowd (enter from further right toward dot) */
#view-reveal-lab-glass .gw-pitch-canvas .gw-player-stars, #view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars, #view-reveal-lab-glass .gw-pitch-canvas .fp2-player-stars {
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 12px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(12px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  color: var(--gw-crowd-color, var(--fp2-bucket-color, #fff));
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-crowd-stars--enter .gw-player-star-tile {
  opacity: 0;
  transform: translateX(8px);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-player-stars--on .gw-player-star-tile {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-player-stars--on .gw-player-star-tile:nth-child(1) {
  transition-delay: 0ms;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-player-stars--on .gw-player-star-tile:nth-child(2) {
  transition-delay: 110ms;
}
#view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-player-stars--on .gw-player-star-tile:nth-child(3) {
  transition-delay: 220ms;
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-user-stars.gw-player-stars--on {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-user-stars.gw-user-stars--enter {
  opacity: 0;
  visibility: visible;
  transform: translateY(-50%) translateX(-10px);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-user-stars.gw-user-stars--enter.gw-player-stars--on {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player-stars.gw-player-stars--on, #view-reveal-lab-glass .gw-pitch-canvas .gw-crowd-stars.gw-player-stars--on, #view-reveal-lab-glass .gw-pitch-canvas .fp2-player-stars.gw-player-stars--on {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player-star-tile, #view-reveal-lab-glass .gw-pitch-canvas .fp2-player-star-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  /* text-shadow only — filter/drop-shadow squares on mobile WebKit */
  text-shadow: 0 0 6px currentColor, 0 0 2px currentColor;
  filter: none;
  -webkit-filter: none;
}

#view-reveal-lab-glass .gw-pitch-canvas .gw-player-star-glyph, #view-reveal-lab-glass .gw-pitch-canvas .fp2-player-star-glyph {
  font-size: 9px;
  line-height: 1;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub .gw-player-star-glyph, #view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub .fp2-player-star-glyph {
  font-size: 8px;
}
#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub.gw-player--sub-on-pitch .gw-player-star-glyph,
#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub.gw-player--sub-on-pitch .fp2-player-star-glyph {
  font-size: 9px;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp2-token {
  background: transparent;
  border-radius: 50%;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp2-token__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    color-mix(in srgb, var(--fp-dot-c1, #2a2a2a) 88%, #fff),
    color-mix(in srgb, var(--fp-dot-c1, #2a2a2a) 42%, #000)
  );
}

#view-reveal-lab-glass .gw-pitch-canvas .fp2-token__label {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp2-dot-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub .fp2-dot-num {
  font-size: 12px;
  letter-spacing: -0.5px;
}
#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub.gw-player--sub-on-pitch .fp2-dot-num {
  font-size: 15px;
  letter-spacing: -1px;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub .gw-player-dot, #view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub .fp-player-dot {
  width: var(--fp2-layout-dot-size-sub) !important;
  height: var(--fp2-layout-dot-size-sub) !important;
  min-width: var(--fp2-layout-dot-size-sub) !important;
  min-height: var(--fp2-layout-dot-size-sub) !important;
}
#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub.gw-player--sub-on-pitch .gw-player-dot,
#view-reveal-lab-glass .gw-pitch-canvas .fp-player--sub.gw-player--sub-on-pitch .fp-player-dot {
  width: var(--fp2-layout-dot-size) !important;
  height: var(--fp2-layout-dot-size) !important;
  min-width: var(--fp2-layout-dot-size) !important;
  min-height: var(--fp2-layout-dot-size) !important;
}

#view-reveal-lab-glass .gw-pitch-canvas .fp-player-name-flat.gw-name, #view-reveal-lab-glass .gw-pitch-canvas.gw-names-visible .fp-player-name-flat.gw-name, #view-reveal-lab-glass .gw-pitch-canvas.fp-names-visible .fp-player-name-flat.gw-name, #view-reveal-lab-glass .gw-player.gw-player--on .gw-name {
  opacity: 1;
  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: 2px;
  letter-spacing: 0.03em;
  pointer-events: none;
  line-height: 1.2;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#view-reveal-lab-glass .gw-player.gw-player--locked.gw-player--on {
  opacity: 0.72;
}
#view-reveal-lab-glass .gw-player.gw-player--locked .fp2-dot-num {
  color: rgba(255, 255, 255, 0.55);
}
#view-reveal-lab-glass .gw-player.gw-player--locked .gw-name {
  color: rgba(255, 255, 255, 0.42);
}

#view-reveal-lab-glass .gw-player.gw-player--sub .gw-name {
  max-width: 52px;
  font-size: 9px;
}

#view-reveal-lab-glass .gw-sub-min {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
}

#view-reveal-lab-glass .gw-grade-pill {
  position: absolute;
  right: -5px;
  bottom: -4px;
  z-index: 4;
  min-width: 18px;
  height: 16px;
  padding: 0 4px;
  border-radius: 6px;
  background: var(--gw-grade-c, #fff);
  color: #061018;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

#view-reveal-lab-glass .gw-you {
  display: none;
}

#view-reveal-lab-glass .gw-phase {
  position: absolute;
  top: 44px;
  left: 12px;
  z-index: 40;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 18, 0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

/* Hold / countdown overlay */
#view-reveal-lab-glass .gw-hold {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4, 8, 16, 0.55) 0%, rgba(4, 8, 16, 0.22) 55%, transparent 78%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
#view-reveal-lab-glass .gw-hold[hidden] {
  display: none !important;
}
#view-reveal-lab-glass .gw-hold.gw-hold--on {
  opacity: 1;
}
#view-reveal-lab-glass .gw-hold.gw-hold--out {
  opacity: 0;
}

#view-reveal-lab-glass .gw-hold-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 28px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(10, 16, 28, 0.92), rgba(6, 10, 18, 0.88));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
#view-reveal-lab-glass .gw-hold--on .gw-hold-card {
  transform: translateY(0) scale(1);
}

#view-reveal-lab-glass .gw-hold-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #ffc840;
}

#view-reveal-lab-glass .gw-hold-msg {
  max-width: 240px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

#view-reveal-lab-glass .gw-hold-clock {
  width: 72px;
  height: 72px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 200, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 196, 64, 0.08);
  box-shadow: 0 0 28px rgba(255, 196, 64, 0.18);
}
#view-reveal-lab-glass .gw-hold-clock--pulse {
  animation: rlg_gwClockPulse 0.45s ease;
}
#view-reveal-lab-glass .gw-hold-clock--go {
  font-size: 22px;
  letter-spacing: 0.12em;
  border-color: rgba(64, 196, 255, 0.55);
  background: rgba(64, 196, 255, 0.12);
  box-shadow: 0 0 32px rgba(64, 196, 255, 0.25);
  color: #40C4FF;
}

@keyframes rlg_gwClockPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

#view-reveal-lab-glass .gw-hold-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

#view-reveal-lab-glass .gw-footer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

#view-reveal-lab-glass .gw-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#view-reveal-lab-glass .gw-meta em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
}
/* Score line overlaps home αλλαγές at the foot of the pitch — hide while subs are open */
#view-reveal-lab-glass .gw-pitch-canvas.gw-subs-view--home .gw-meta,
#view-reveal-lab-glass .gw-pitch-canvas.gw-subs-view--away .gw-meta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#view-reveal-lab-glass .gw-hint {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  text-align: right;
  transition: color 0.45s ease, opacity 0.45s ease, text-shadow 0.45s ease;
}
#view-reveal-lab-glass .gw-hint[hidden] {
  display: none !important;
}
#view-reveal-lab-glass .gw-done-pill {
  pointer-events: auto;
  flex-shrink: 0;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(170, 210, 255, 0.38);
  background: rgba(10, 16, 26, 0.9);
  color: rgba(235, 245, 255, 0.96);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
}
#view-reveal-lab-glass .gw-done-pill:active {
  transform: scale(0.96);
}
#view-reveal-lab-glass .gw-done-pill[hidden] {
  display: none !important;
}

#view-reveal-lab-glass .gw-player.gw-player--locked .gw-player-dot {
  filter: grayscale(0.85) brightness(0.72);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#view-reveal-lab-glass .gw-zones--faded, #view-reveal-lab-glass .gw-locked-rail.gw-zones--faded {
  opacity: 0.12 !important;
  transition: opacity 0.5s ease;
}

#view-reveal-lab-glass .gw-player--dim {
  opacity: 0.18 !important;
  filter: grayscale(0.7);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}
#view-reveal-lab-glass .gw-player--focus {
  z-index: 14;
  opacity: 1 !important;
  filter: none;
  transform: translate(-50%, var(--fp-dot-anchor-y, -42%)) scale(1.26);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#view-reveal-lab-glass .gw-player--focus .fp-player-sun-wrap {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--gw-crowd-color, #9ec9ff) 55%, transparent));
}
#view-reveal-lab-glass .gw-player--focus .gw-player-dot,
#view-reveal-lab-glass .gw-pitch-canvas .gw-player--focus .fp-player-dot {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 0 14px color-mix(in srgb, var(--gw-crowd-color, #9ec9ff) 45%, transparent),
    0 2px 6px rgba(0, 0, 0, 0.4);
}
#view-reveal-lab-glass .gw-player--teammate {
  z-index: 8;
  opacity: 0.58 !important;
  filter: saturate(0.75) brightness(0.92);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}
#view-reveal-lab-glass .gw-player--opp-ghost {
  opacity: 0.12 !important;
  filter: grayscale(0.6) brightness(0.65);
  transition: opacity 0.4s ease, filter 0.4s ease;
  z-index: 2;
}
#view-reveal-lab-glass .gw-pitch-canvas.gw-explore-focus .gw-player--opp-ghost .gw-you, #view-reveal-lab-glass .gw-pitch-canvas.gw-explore-focus .gw-player--opp-ghost .gw-player-stars {
  opacity: 0 !important;
  visibility: hidden !important;
}
#view-reveal-lab-glass .gw-pitch-canvas.gw-explore-focus .gw-player--opp-ghost .gw-player-seg-ring {
  opacity: 0.2;
}
#view-reveal-lab-glass .gw-player--out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
#view-reveal-lab-glass .gw-player--xi {
  z-index: 8;
}
#view-reveal-lab-glass .gw-player--mvp {
  z-index: 14;
  transform: translate(-50%, -50%) scale(1.28);
}
#view-reveal-lab-glass .gw-player--explore {
  cursor: pointer;
  pointer-events: auto;
}

/* Intro title */
#view-reveal-lab-glass .gw-title {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4, 8, 16, 0.28) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.45s ease, background 0.45s ease;
}
#view-reveal-lab-glass .gw-title.rg-two-worlds-title {
  /* Soft center veil so ΔΥΟ ΜΑΤΙΕΣ reads cleaner over the XI */
  background: radial-gradient(
    ellipse at center,
    rgba(4, 8, 16, 0.46) 0%,
    rgba(4, 8, 16, 0.22) 42%,
    transparent 74%
  );
}
#view-reveal-lab-glass .gw-title[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-title--on { opacity: 1; }
#view-reveal-lab-glass .gw-title--out { opacity: 0; }
#view-reveal-lab-glass .gw-title-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: #ffc840;
}
#view-reveal-lab-glass .gw-title-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
#view-reveal-lab-glass .gw-title-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
#view-reveal-lab-glass .gw-title-sub--prose {
  max-width: 280px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-transform: none;
  text-align: center;
  color: rgba(255, 255, 255, 0.52);
  white-space: pre-line;
}

#view-reveal-lab-glass .gw-footer--hidden {
  opacity: 0;
  visibility: hidden;
}

/* Contribution panel (Chapter 3) */
#view-reveal-lab-glass .gw-contrib {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4, 8, 16, 0.22) 0%, transparent 72%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
#view-reveal-lab-glass .gw-contrib[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-contrib--on { opacity: 1; }
#view-reveal-lab-glass .gw-contrib--out { opacity: 0; }
#view-reveal-lab-glass .gw-contrib-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 200, 64, 0.82);
}
#view-reveal-lab-glass .gw-contrib-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}
#view-reveal-lab-glass .gw-contrib-help {
  max-width: 300px;
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
}

/* Collective match context — VF2 S8 crowd export (Chapter 2) */
#view-reveal-lab-glass .gw-match-ctx {
  position: absolute;
  inset: 0;
  z-index: 28;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px 48px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(4, 8, 16, 0.34) 0%, transparent 74%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
#view-reveal-lab-glass .gw-match-ctx[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-match-ctx--on { opacity: 1; }
#view-reveal-lab-glass .gw-match-ctx--out { opacity: 0; }

#view-reveal-lab-glass .gw-match-ctx-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 200, 64, 0.82);
}

#view-reveal-lab-glass .gw-match-ctx-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 4px;
}

#view-reveal-lab-glass .gw-match-ctx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  margin-top: 4px;
}

#view-reveal-lab-glass .gw-match-ctx-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  opacity: 0;
  transform: translateY(10px);
}

#view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-q {
  max-width: none;
  font-size: clamp(11px, 2.8vw, 14px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

#view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-verdict {
  width: 100%;
  margin-top: 0;
  padding: 10px 8px 9px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gw-match-ctx-accent, #ffc840) 28%, transparent);
  background: rgba(6, 10, 18, 0.55);
  box-shadow: 0 0 18px color-mix(in srgb, var(--gw-match-ctx-accent, #ffc840) 10%, transparent);
}

#view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-answer {
  font-size: clamp(11px, 2.9vw, 15px);
  line-height: 1.2;
}

#view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-pct {
  font-size: clamp(22px, 5.5vw, 30px);
  margin-top: 2px;
}

#view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-agree {
  font-size: 9px;
  letter-spacing: 0.14em;
  margin-top: 2px;
}

#view-reveal-lab-glass .gw-match-ctx--swap .gw-match-ctx-col {
  animation: rlg_gwMatchCtxColIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes rlg_gwMatchCtxColIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {

  #view-reveal-lab-glass .gw-match-ctx-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100%, 300px);
  }
  #view-reveal-lab-glass .gw-match-ctx-col .gw-match-ctx-q {
    font-size: 14px;
  }

}

#view-reveal-lab-glass .gw-match-ctx-q {
  max-width: 320px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 5.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity var(--gw-match-ctx-swap-ms, 0.38s) ease, transform var(--gw-match-ctx-swap-ms, 0.38s) ease;
}

#view-reveal-lab-glass .gw-match-ctx-verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 14px 22px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--gw-match-ctx-accent, #ffc840) 28%, transparent);
  background: rgba(6, 10, 18, 0.55);
  box-shadow: 0 0 24px color-mix(in srgb, var(--gw-match-ctx-accent, #ffc840) 12%, transparent);
  transition: opacity var(--gw-match-ctx-swap-ms, 0.38s) ease, transform var(--gw-match-ctx-swap-ms, 0.38s) ease;
}

#view-reveal-lab-glass .gw-match-ctx-answer {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
}

#view-reveal-lab-glass .gw-match-ctx-pct {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

#view-reveal-lab-glass .gw-match-ctx-agree {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Spotlight card */
#view-reveal-lab-glass .gw-spot {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  z-index: 26;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#view-reveal-lab-glass .gw-spot[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-spot--on { opacity: 1; }
#view-reveal-lab-glass .gw-spot--out { opacity: 0; }
#view-reveal-lab-glass .gw-spot-card {
  min-width: 160px;
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 10, 18, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}
#view-reveal-lab-glass .gw-spot-slot {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}
#view-reveal-lab-glass .gw-spot-grade {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin: 4px 0;
}
#view-reveal-lab-glass .gw-spot-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
#view-reveal-lab-glass .gw-spot-trait {
  margin-top: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffc840;
}
#view-reveal-lab-glass .gw-spot-name {
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

/* Best XI banner */
#view-reveal-lab-glass .gw-banner {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  z-index: 24;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#view-reveal-lab-glass .gw-banner[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-banner--on { opacity: 1; }
#view-reveal-lab-glass .gw-banner-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
#view-reveal-lab-glass .gw-banner-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* MVP climax */
#view-reveal-lab-glass .gw-mvp {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  z-index: 25;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
#view-reveal-lab-glass .gw-mvp[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-mvp--on { opacity: 1; }
#view-reveal-lab-glass .gw-mvp-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ffc840;
}
#view-reveal-lab-glass .gw-mvp-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
#view-reveal-lab-glass .gw-mvp-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #B388FF;
}
#view-reveal-lab-glass .gw-mvp-stars {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: #B388FF;
}

/* Explore — dense player summary card */
#view-reveal-lab-glass .gw-explore {
  --gw-ex-accent: #40C4FF;
  position: absolute;
  left: 3%;
  right: 3%;
  z-index: 45;
  padding: 0;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--gw-ex-accent) 42%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--gw-ex-accent) 16%, transparent),
      rgba(6, 10, 18, 0.96) 48%
    ),
    rgba(4, 8, 14, 0.94);
  box-shadow:
    inset 0 0 28px color-mix(in srgb, var(--gw-ex-accent) 10%, transparent),
    0 14px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.32s ease, transform 0.32s ease;
}
#view-reveal-lab-glass .gw-explore[data-half="top"] {
  top: 2.5%;
  height: 56%;
  max-height: 460px;
  transform: translateY(-10px);
}
#view-reveal-lab-glass .gw-explore[data-half="bot"] {
  bottom: 2.5%;
  height: 56%;
  max-height: 460px;
  top: auto;
  transform: translateY(10px);
}
#view-reveal-lab-glass .gw-explore[hidden] { display: none !important; }
#view-reveal-lab-glass .gw-explore--on {
  opacity: 1;
  transform: translateY(0);
}
#view-reveal-lab-glass .gw-explore--swap {
  animation: rlg_gwExploreSwap 0.28s ease;
}
@keyframes rlg_gwExploreSwap {
  0% { opacity: 0.55; filter: brightness(1.12); }
  100% { opacity: 1; filter: none; }
}

#view-reveal-lab-glass .gw-explore-tools {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
#view-reveal-lab-glass .gw-explore-close,
#view-reveal-lab-glass .gw-explore-style {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
#view-reveal-lab-glass .gw-explore-style {
  width: auto;
  min-width: 34px;
  padding: 0 7px;
  color: rgba(180, 220, 255, 0.9);
}

#view-reveal-lab-glass .gw-explore [id$="ExploreBody"] {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 10px;
  box-sizing: border-box;
}

/* Shared atoms */
#view-reveal-lab-glass .gw-ex {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  font-size: 11px;
  color: rgba(235, 245, 255, 0.9);
}
#view-reveal-lab-glass .gw-ex-num {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 34px;
  line-height: 0.9;
  min-width: 30px;
  flex-shrink: 0;
}
#view-reveal-lab-glass .gw-ex-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
#view-reveal-lab-glass .gw-ex-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-reveal-lab-glass .gw-ex-bio-line {
  font-size: 10px;
  color: rgba(210, 225, 240, 0.55);
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-top: 1px;
}
#view-reveal-lab-glass .gw-ex-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#view-reveal-lab-glass .gw-ex-chip {
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}
#view-reveal-lab-glass .gw-ex-chip--gold { border-color: rgba(255, 193, 7, 0.4); color: #FFC107; }
#view-reveal-lab-glass .gw-ex-chip--mvp { border-color: rgba(179, 136, 255, 0.45); color: #B388FF; }
#view-reveal-lab-glass .gw-ex .is-ok { color: #4CAF50 !important; }
#view-reveal-lab-glass .gw-ex .is-miss { color: #FFC107 !important; }

/* ── Summary card ── */
#view-reveal-lab-glass .gw-ex--summary {
  gap: 8px;
}
#view-reveal-lab-glass .gw-ex-sum-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 36px;
}
#view-reveal-lab-glass .gw-ex-sum-id {
  min-width: 0;
  flex: 1;
}
#view-reveal-lab-glass .gw-ex-rating {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background:
    radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--gw-ex-accent) 28%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.35);
  border: 2px solid color-mix(in srgb, var(--gw-ex-accent) 70%, transparent);
  box-shadow:
    0 0 16px color-mix(in srgb, var(--gw-ex-accent) 35%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--gw-ex-accent) 12%, transparent);
  text-align: center;
  line-height: 1;
}
#view-reveal-lab-glass .gw-ex-rating em {
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}
#view-reveal-lab-glass .gw-ex-rating b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
#view-reveal-lab-glass .gw-ex-rating span {
  font-size: 8px;
  font-weight: 600;
  color: color-mix(in srgb, var(--gw-ex-accent) 85%, #fff);
  margin-top: 2px;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-reveal-lab-glass .gw-ex-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
#view-reveal-lab-glass .gw-ex-pill {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--gw-ex-pill-c, var(--gw-ex-accent)) 12%, rgba(0, 0, 0, 0.35));
  border: 1px solid color-mix(in srgb, var(--gw-ex-pill-c, var(--gw-ex-accent)) 32%, transparent);
}
#view-reveal-lab-glass .gw-ex-pill em {
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
#view-reveal-lab-glass .gw-ex-pill b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: color-mix(in srgb, var(--gw-ex-pill-c, var(--gw-ex-accent)) 80%, #fff);
}
#view-reveal-lab-glass .gw-ex-pill span {
  font-size: 9px;
  color: rgba(230, 240, 255, 0.7);
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 45%;
}

#view-reveal-lab-glass .gw-ex-gnol {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gw-ex-accent) 10%, rgba(0, 0, 0, 0.28));
  border: 1px solid color-mix(in srgb, var(--gw-ex-accent) 26%, transparent);
}
#view-reveal-lab-glass .gw-ex-gnol-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-top: 2px;
}
#view-reveal-lab-glass .gw-ex-gnol-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gw-ex-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--gw-ex-accent) 70%, transparent);
  animation: rlg_gnolPulse 2.2s ease-in-out infinite;
}
@keyframes rlg_gnolPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.2); opacity: 1; }
}
#view-reveal-lab-glass .gw-ex-gnol-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--gw-ex-accent) 75%, #fff);
}
#view-reveal-lab-glass .gw-ex-gnol-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(230, 240, 255, 0.88);
}

#view-reveal-lab-glass .gw-ex-sum-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
  min-height: 0;
  flex: 1;
}
#view-reveal-lab-glass .gw-ex-sum-body:has(.gw-ex-sum-col:only-child) {
  grid-template-columns: 1fr;
}
#view-reveal-lab-glass .gw-ex-sum-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#view-reveal-lab-glass .gw-ex-sum-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

#view-reveal-lab-glass .gw-ex-ms {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#view-reveal-lab-glass .gw-ex-ms-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 6px;
  align-items: center;
}
#view-reveal-lab-glass .gw-ex-ms-row--bar {
  grid-template-columns: 1fr minmax(36px, 42%) auto;
}
#view-reveal-lab-glass .gw-ex-ms-k {
  font-size: 10px;
  color: rgba(220, 232, 245, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-reveal-lab-glass .gw-ex-ms-v {
  font-size: 10px;
  font-weight: 700;
  color: rgba(245, 250, 255, 0.92);
  text-align: right;
  white-space: nowrap;
}
#view-reveal-lab-glass .gw-ex-ms-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
#view-reveal-lab-glass .gw-ex-ms-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
}

#view-reveal-lab-glass .gw-ex-traits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#view-reveal-lab-glass .gw-ex-trait {
  padding: 5px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  border-left: 2px solid color-mix(in srgb, var(--gw-ex-trait-c, var(--gw-ex-accent)) 70%, transparent);
}
#view-reveal-lab-glass .gw-ex-trait-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
#view-reveal-lab-glass .gw-ex-trait-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--gw-ex-trait-c, var(--gw-ex-accent)) 75%, #fff);
}
#view-reveal-lab-glass .gw-ex-trait-dots {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
#view-reveal-lab-glass .gw-ex-trait-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
#view-reveal-lab-glass .gw-ex-trait-dot.is-on {
  background: var(--gw-ex-trait-c, var(--gw-ex-accent));
  box-shadow: 0 0 5px color-mix(in srgb, var(--gw-ex-trait-c, var(--gw-ex-accent)) 55%, transparent);
}
#view-reveal-lab-glass .gw-ex-trait-desc {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(200, 215, 230, 0.62);
}

#view-reveal-lab-glass .gw-ex-sum-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}
#view-reveal-lab-glass .gw-ex-disclaimer {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.32);
  text-align: right;
  line-height: 1.25;
  max-width: 46%;
}

@media (max-height: 700px) {
  #view-reveal-lab-glass .gw-explore[data-half="top"],
  #view-reveal-lab-glass .gw-explore[data-half="bot"] {
    height: 60%;
    max-height: 400px;
  }
  #view-reveal-lab-glass .gw-ex-num { font-size: 28px; }
  #view-reveal-lab-glass .gw-ex-name { font-size: 15px; }
  #view-reveal-lab-glass .gw-ex-rating { width: 56px; height: 56px; }
  #view-reveal-lab-glass .gw-ex-rating b { font-size: 17px; }
  #view-reveal-lab-glass .gw-ex-gnol-text { font-size: 10px; }
}

@media (max-width: 380px) {
  #view-reveal-lab-glass .gw-ex-sum-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #view-reveal-lab-glass .gw-ex-sum-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  #view-reveal-lab-glass .gw-ex-disclaimer {
    max-width: 100%;
    text-align: left;
  }
}

/* Legacy explore variants (unused — kept for safety) */
#view-reveal-lab-glass .gw-ex-meters { display: flex; flex-direction: column; gap: 3px; }
#view-reveal-lab-glass .gw-ex-meter {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 5px;
  align-items: center;
}
#view-reveal-lab-glass .gw-ex-meter-k {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#view-reveal-lab-glass .gw-ex-meter-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
#view-reveal-lab-glass .gw-ex-meter-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
}
#view-reveal-lab-glass .gw-ex-meter-v {
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  color: rgba(255, 255, 255, 0.8);
}

/* 1 — Strip */
#view-reveal-lab-glass .gw-ex--strip .gw-ex-strip-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 64px;
}
#view-reveal-lab-glass .gw-ex--strip .gw-ex-id { min-width: 0; flex: 1; }
#view-reveal-lab-glass .gw-ex--strip .gw-ex-scorebox {
  text-align: right;
  flex-shrink: 0;
}
#view-reveal-lab-glass .gw-ex--strip .gw-ex-score {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
#view-reveal-lab-glass .gw-ex--strip .gw-ex-state {
  font-size: 10px;
  font-weight: 700;
  color: color-mix(in srgb, var(--gw-ex-accent) 80%, #fff);
  text-transform: lowercase;
}
#view-reveal-lab-glass .gw-ex--strip .gw-ex-bio-line {
  font-size: 10px;
  color: rgba(200, 220, 240, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-reveal-lab-glass .gw-ex-compare--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
#view-reveal-lab-glass .gw-ex-compare--row > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
}
#view-reveal-lab-glass .gw-ex-compare--row em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
#view-reveal-lab-glass .gw-ex-compare--row b {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}
#view-reveal-lab-glass .gw-ex-compare--row span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* 2 — Dual */
#view-reveal-lab-glass .gw-ex--dual {
  flex-direction: row;
  gap: 0;
}
#view-reveal-lab-glass .gw-ex-dual-left,
#view-reveal-lab-glass .gw-ex-dual-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 6px;
}
#view-reveal-lab-glass .gw-ex-dual-left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 8px;
}
#view-reveal-lab-glass .gw-ex-dual-right {
  padding-left: 8px;
  padding-right: 56px;
  align-items: flex-start;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gw-ex-accent) 14%, transparent), transparent 70%);
  border-radius: 8px;
}
#view-reveal-lab-glass .gw-ex-dual-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
#view-reveal-lab-glass .gw-ex-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 6px;
}
#view-reveal-lab-glass .gw-ex-dual-grid span {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
}
#view-reveal-lab-glass .gw-ex-dual-grid em,
#view-reveal-lab-glass .gw-ex-hud-matrix em,
#view-reveal-lab-glass .gw-ex-led-row span {
  font-style: normal;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
#view-reveal-lab-glass .gw-ex-dual-score {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 0.9;
  color: #fff;
}
#view-reveal-lab-glass .gw-ex-dual-state {
  font-size: 12px;
  font-weight: 800;
  color: color-mix(in srgb, var(--gw-ex-accent) 75%, #fff);
  margin-top: -2px;
}
#view-reveal-lab-glass .gw-ex-dual-you {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}
#view-reveal-lab-glass .gw-ex-dual-you em {
  font-style: normal;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
#view-reveal-lab-glass .gw-ex-dual-agree {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 3 — HUD */
#view-reveal-lab-glass .gw-ex--hud .gw-ex-hud-band {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 64px 4px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gw-ex-accent) 30%, transparent);
}
#view-reveal-lab-glass .gw-ex-hud-state {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: color-mix(in srgb, var(--gw-ex-accent) 80%, #fff);
}
#view-reveal-lab-glass .gw-ex-hud-score {
  margin-left: auto;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
#view-reveal-lab-glass .gw-ex-hud-stars {
  color: color-mix(in srgb, var(--gw-ex-accent) 90%, #fff);
  letter-spacing: 1px;
  font-size: 11px;
}
#view-reveal-lab-glass .gw-ex-hud-id {
  display: flex;
  align-items: center;
  gap: 8px;
}
#view-reveal-lab-glass .gw-ex-hud-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px 6px;
}
#view-reveal-lab-glass .gw-ex-hud-matrix span {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  min-width: 0;
}

/* 4 — Ledger */
#view-reveal-lab-glass .gw-ex--ledger .gw-ex-led-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 64px;
}
#view-reveal-lab-glass .gw-ex--ledger .gw-ex-name { flex: 1; min-width: 0; }
#view-reveal-lab-glass .gw-ex-led-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--gw-ex-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--gw-ex-accent) 40%, transparent);
}
#view-reveal-lab-glass .gw-ex-led-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  flex: 1;
  min-height: 0;
}
#view-reveal-lab-glass .gw-ex-led-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
}
#view-reveal-lab-glass .gw-ex-led-row b {
  font-weight: 700;
  text-align: right;
  color: rgba(245, 250, 255, 0.92);
}

#view-reveal-lab-glass .gw-fm-card {
  padding: 11px 13px 11px;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#view-reveal-lab-glass .gw-fm-band {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 28px 6px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--gw-ex-accent) 28%, transparent);
}
#view-reveal-lab-glass .gw-fm-band-state {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(20px, 5.5vw, 28px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  color: color-mix(in srgb, var(--gw-ex-accent) 78%, #fff 12%);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
#view-reveal-lab-glass .gw-fm-band-score {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

#view-reveal-lab-glass .gw-fm-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
#view-reveal-lab-glass .gw-fm-num {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 36px;
  line-height: 1;
  min-width: 34px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
#view-reveal-lab-glass .gw-fm-id { min-width: 0; flex: 1; }
#view-reveal-lab-glass .gw-fm-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}
#view-reveal-lab-glass .gw-fm-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

#view-reveal-lab-glass .gw-fm-infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
#view-reveal-lab-glass .gw-fm-info {
  padding: 5px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
#view-reveal-lab-glass .gw-fm-info-k {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
#view-reveal-lab-glass .gw-fm-info-v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-reveal-lab-glass .gw-fm-natline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-top: -2px;
}

#view-reveal-lab-glass .gw-fm-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
#view-reveal-lab-glass .gw-fm-cmp {
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
#view-reveal-lab-glass .gw-fm-cmp-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
#view-reveal-lab-glass .gw-fm-cmp-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-top: 2px;
}
#view-reveal-lab-glass .gw-fm-cmp-val--ok { color: #4CAF50; }
#view-reveal-lab-glass .gw-fm-cmp-val--miss { color: #FFC107; }
#view-reveal-lab-glass .gw-fm-cmp-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1px;
}

#view-reveal-lab-glass .gw-fm-attrs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
#view-reveal-lab-glass .gw-fm-attrs-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}
#view-reveal-lab-glass .gw-fm-row {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  gap: 6px;
}
#view-reveal-lab-glass .gw-fm-row-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#view-reveal-lab-glass .gw-fm-row-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
#view-reveal-lab-glass .gw-fm-row-fill {
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--gw-ex-accent) 75%, #fff 5%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--gw-ex-accent) 35%, transparent);
}
#view-reveal-lab-glass .gw-fm-bar--elite { background: #B388FF; box-shadow: 0 0 8px rgba(179, 136, 255, 0.4); }
#view-reveal-lab-glass .gw-fm-bar--good { background: #40C4FF; box-shadow: 0 0 8px rgba(64, 196, 255, 0.35); }
#view-reveal-lab-glass .gw-fm-bar--ok { background: #4CAF50; }
#view-reveal-lab-glass .gw-fm-bar--low { background: #FFC107; }
#view-reveal-lab-glass .gw-fm-row-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
  white-space: nowrap;
  min-width: 28px;
}

#view-reveal-lab-glass .gw-fm-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 2px;
}
#view-reveal-lab-glass .gw-fm-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
#view-reveal-lab-glass .gw-fm-chip--gold {
  border-color: rgba(255, 193, 7, 0.4);
  color: #FFC107;
}
#view-reveal-lab-glass .gw-fm-chip--mvp {
  border-color: rgba(179, 136, 255, 0.45);
  color: #B388FF;
}
