/* ============================================================
   Eggbeater tvOS — animated water-polo screensaver styles
   ============================================================ */
.ss { position: absolute; inset: 0; z-index: 55; overflow: hidden; animation: ssFade .8s var(--ease); }
@keyframes ssFade { from { opacity: 0; } }
.ss-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.ss-top {
  position: absolute; top: var(--safe-y); left: var(--safe-x); right: var(--safe-x); z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
}
.ss-brand { display: flex; align-items: center; gap: 14px; }
.ss-brand img { width: 52px; height: 52px; object-fit: contain; } /* JO: the sun, no tile clip, no shadow */
.ss-brand span { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; color: #fff; text-shadow: 0 2px 14px rgba(0,12,30,0.5); }
.ss-clock { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 14px rgba(0,12,30,0.5); }

.ss-scorecard {
  position: absolute; top: var(--safe-y); left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 30px; border-radius: 26px;
  background: rgba(0,14,32,0.42); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 20px 50px rgba(0,8,24,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  margin-top: 4px;
}
.ss-scorecard.goal { animation: ssPop .5s var(--ease-focus); border-color: rgba(255,212,94,0.6); box-shadow: 0 0 50px rgba(255,212,94,0.4), 0 20px 50px rgba(0,8,24,0.45); }
@keyframes ssPop { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.08); } 100% { transform: translateX(-50%) scale(1); } }
.ss-goal { font-size: 22px; font-weight: 900; letter-spacing: 0.14em; color: var(--gold); text-shadow: 0 0 18px rgba(255,212,94,0.6); }
.ss-live { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; letter-spacing: 0.06em; color: #ff8a8a; }
.ss-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px var(--live); animation: pulse 1.4s ease-in-out infinite; }
.ss-teams { display: flex; align-items: center; gap: 20px; }
.ss-team { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 700; color: rgba(255,255,255,0.78); }
.ss-team b { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.6); letter-spacing: -1px; }
.ss-team b.w { color: #fff; }
.ss-tdot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3); }
.ss-sep { color: rgba(255,255,255,0.35); font-size: 26px; }

.ss-hint {
  position: absolute; bottom: var(--safe-y); left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; color: rgba(255,255,255,0.7);
  text-shadow: 0 2px 12px rgba(0,12,30,0.5);
}
.ss-hint svg { stroke: rgba(255,255,255,0.7); }

/* ── NAVY AND SUN (2026-10-04) ──
   No team colours on the TV: the score card's team dots are muted ink (every
   skin, like native TeamBadge). The card itself is always dark glass, so in the
   standard look its gold text is the SUN, never paper's sun-deep. The top-bar
   wordmark is the lockup (tv.css .ns-lockup, sized there); on the light pool
   its tournament name + clock take the ink instead of white. */
.ss-tdot { background: #98A2B8; }
:root:not([data-skin="jo"]) .ss-scorecard { --gold: #FFD862; }
:root:not([data-skin="jo"]) [data-theme="light"] .ss-brand span,
:root:not([data-skin="jo"]) [data-theme="light"] .ss-clock { color: var(--tx-1); text-shadow: none; }
