.arena-ticker {
  display: flex;
  align-items: stretch;
  min-height: 46px;
  border-block: 1px solid #ac865478;
  background: radial-gradient(circle, #ffc16431 1px, transparent 1.5px) 0 0/5px 5px, #101617;
  color: #f8d892;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.arena-ticker[hidden], #arenaTickerToggle[hidden] { display: none; }
.arena-ticker-label {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0 12px;
  border-right: 1px solid #a78257;
  background: #611d2f;
  color: #fff5e4;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
}
.arena-ticker-window {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}
.arena-ticker-track {
  display: flex;
  width: max-content;
  min-height: 100%;
  animation: arena-ticker-scroll var(--ticker-time, 24s) linear infinite;
}
.arena-ticker-lane {
  display: flex;
  flex: none;
  min-width: 100cqi;
  align-items: center;
  justify-content: space-around;
}
.arena-ticker-game {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: 10px;
  padding: 0 clamp(13px, 2.1vw, 24px);
  border-right: 1px solid #e2be7d42;
  white-space: nowrap;
  line-height: 1.1;
}
.arena-ticker-game strong { color: #fff1ce; font-size: clamp(13px, 2.7vw, 16px); font-weight: 800; }
.arena-ticker-game strong b { color: #ffce75; text-shadow: 0 0 8px #f7a6328c; }
.arena-ticker-game i { color: #a79576; font-style: normal; padding-inline: 4px; }
.arena-ticker-status { color: #e9bf78; font-size: 9px; font-weight: 800; }
.arena-ticker-game.is-live .arena-ticker-status { color: #9df5bc; }
#arenaTickerToggle {
  min-width: 45px;
  min-height: 44px;
  padding: 4px;
  border: 0;
  border-left: 1px solid #a78257;
  background: #18262a;
  color: #ffe4ad;
  font: 800 15px/1 ui-monospace, monospace;
}
#arenaTickerToggle:hover { background: #283a3e; }
.arena-ticker.is-paused .arena-ticker-track { animation-play-state: paused; }
.arena-ticker:has(#arenaTickerToggle[hidden]) { display: none; }

.hockey-night #scoreboardHero .night-game-score b.arena-digit-changed {
  display: inline-block;
  animation: arena-score-change .7s ease-out both;
}
.hockey-night #scoreboardHero .night-game-status.is-live i {
  animation: arena-live-light 2.2s ease-in-out infinite;
}
.christmas-trim::after { animation: christmas-light-glow 5s ease-in-out infinite alternate; }

@keyframes arena-ticker-scroll { to { transform: translateX(-50%); } }
@keyframes arena-score-change {
  from { transform: translateY(-.16em); color: #fff8df; text-shadow: 0 0 22px #ffcb79; }
  to { transform: none; }
}
@keyframes arena-live-light { 50% { box-shadow: 0 0 9px #ff9ba7; } }
@keyframes christmas-light-glow { 50% { filter: brightness(1.35); } }

.fan-card.fan-christmas {
  --ice-ink: #142b35;
  --ice-green: #205442;
  --ice-red: #8d263c;
  --ice-line: #b7cdd3;
  --ice-texture: url("/assets/benchboss-ice-texture.webp");
  border: 1px solid var(--ice-line);
  border-top: 3px solid var(--ice-green);
  background: #f6fbfe;
  color: var(--ice-ink);
  box-shadow: 0 4px 14px #10394f26;
  container-type: inline-size;
}
.fan-card.fan-christmas.fan-place-1 { border-color: #a68438; border-top-color: #a68438; }
.fan-card.fan-christmas.fan-place-2 { border-color: #758e9e; border-top-color: #758e9e; }
.fan-card.fan-christmas.fan-place-3 { border-color: #a16f52; border-top-color: #a16f52; }
.fan-card.fan-christmas:hover { border-color: #31745b; box-shadow: 0 7px 17px #10394f40; }
.fan-card.fan-christmas::after { content: none; }
.fan-christmas .fan-cover-art { filter: none; inset-block-end: auto; height: 101px; }
.fan-christmas.fan-default-ice .fan-cover-art {
  height: 100%;
  background:
    radial-gradient(circle at 85% 45%, transparent 0 29px, #385a9a3a 30px 31px, transparent 32px),
    linear-gradient(90deg, transparent 83%, #94253b36 83% 84%, transparent 84%),
    linear-gradient(100deg, #fdfeffe8 0%, #f2fbffd5 50%, #ffffff8a 100%),
    var(--ice-texture) center / 158% auto, #eef7fb;
}
.fan-christmas.fan-default-ice .fan-cover-team { width: 104px; height: 104px; top: 52px; right: 14%; opacity: .17; }
.fan-christmas.fan-default-ice .fan-cover-motion {
  inset: 0 0 -48px;
  background: radial-gradient(circle, #fff 1.5px, #6f9eb143 2px, transparent 3px) 0 0/32px 24px;
  animation: ice-flurries 16s linear infinite;
  opacity: .6;
}
@keyframes ice-flurries { from { transform: translateY(-48px); } to { transform: translateY(0); } }

.fan-card.fan-christmas .fan-card-main {
  grid-template-columns: 28px 52px minmax(0, 1fr) 67px;
  gap: 9px;
  min-height: 84px;
  padding: 11px 10px;
  color: var(--ice-ink);
}
.fan-card.fan-christmas .fan-card-main > .fan-avatar {
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 7px #17384952;
}
.fan-christmas .fan-card-person,
.fan-christmas .fan-rank,
.fan-christmas .fan-card-score {
  background: #f9fdfff2;
  text-shadow: none;
  box-shadow: 0 0 1px #062e46a3;
}
.fan-christmas.fan-default-ice .fan-card-person,
.fan-christmas.fan-default-ice .fan-rank { background: transparent; box-shadow: none; }
.fan-christmas .fan-rank { color: var(--ice-green); }
.fan-christmas.fan-place-1 .fan-rank { color: #785618; }
.fan-christmas.fan-place-3 .fan-rank { color: #864f35; }
.fan-christmas .fan-rank strong { font-size: 25px; }
.fan-christmas .fan-card-person { gap: 2px; margin: 0; padding: 5px; }
.fan-christmas .fan-card-person > strong { font-size: clamp(14px, 3.7cqi, 23px); color: var(--ice-ink); }
.fan-christmas .fan-card-title { color: var(--ice-green); font-size: 8px; letter-spacing: .065em; }
.fan-christmas .fan-card-person em,
.fan-christmas .fan-card-movement { color: #395260; }
.fan-christmas .fan-card-movement.up { color: #16623f; }
.fan-christmas .fan-card-movement.down { color: var(--ice-red); }
.fan-christmas .fan-card-score { padding: 6px 5px; color: var(--ice-ink); }
.fan-christmas .fan-card-score > strong { font-size: clamp(25px, 5.2cqi, 37px); color: var(--ice-red); }
.fan-christmas .fan-card-score > small { color: var(--ice-green); font-size: 8px; letter-spacing: .03em; }
.fan-christmas .fan-season-total { display: none; }

.fan-christmas .fan-card-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 9px 7px;
  border-color: var(--ice-line);
  background: #f9fdfff0;
  box-shadow: none;
}
.fan-christmas .fan-card-stats > div {
  grid-column: auto;
  min-height: 45px;
  gap: 3px;
  padding: 5px 3px;
  border: 0;
  border-right: 1px solid #dae8ed;
}
.fan-christmas .fan-card-stats > div:last-child { border: 0; }
.fan-christmas .fan-card-stats dt {
  color: #345663;
  font-size: 8px;
  line-height: 1.15;
  letter-spacing: 0;
}
.fan-christmas .fan-card-stats dd {
  color: var(--ice-ink);
  font-size: 16px;
  font-weight: 850;
}
.fan-christmas .fan-card-stats :is(.fan-stat-today, .is-hot) { color: var(--ice-green); }
.fan-christmas .fan-card-stats small { margin-left: 3px; color: #435d67; font-size: 8px; white-space: nowrap; }

.fan-christmas .fan-top-pick {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 9px 7px;
  padding: 4px 7px;
  border: 1px solid #e2cfa3;
  border-radius: 6px;
  background: #fffaf0;
  color: #5d451e;
  font-size: 11px;
  line-height: 1.2;
}
.fan-top-pick span { overflow-wrap: anywhere; }
.fan-top-pick b { margin-left: auto; white-space: nowrap; }
.fan-christmas .fan-roster {
  margin: 0 9px 8px;
  border-color: var(--ice-line);
  background: #f7fcff;
  color: var(--ice-ink);
}
.fan-christmas .fan-roster > summary {
  min-height: 43px;
  padding: 5px 9px;
  background: #edf7f3;
  color: var(--ice-green);
}
.fan-christmas .fan-roster summary small { color: var(--ice-green); background: #fff; border-color: #a5c5b9; }
.fan-christmas .fan-roster-chevron { color: var(--ice-green); }
.fan-christmas .fan-roster-player { padding-block: 8px; background: #f7fcff; color: var(--ice-ink); }
.fan-christmas .fan-roster-player:nth-child(even) { background: #eaf4f7; }
.fan-christmas .fan-roster :is(.fan-roster-caption, .fan-roster-key, .fan-roster-name > strong, .fan-roster-name > small, .fan-roster-points small, .fan-roster-empty) { color: #345462; }
.fan-christmas .fan-roster-points strong { color: var(--ice-red); }
.fan-christmas .fan-roster-statline > span { background: #fff; border-color: var(--ice-line); color: #345462; }
.fan-christmas .fan-roster-statline b { color: var(--ice-ink); }
.fan-christmas .fan-card-customize { min-height: 40px; margin: 0 9px 7px auto; background: #18533e; color: #fff; }

.fan-studio-preview .fan-top-pick { display: none; }

@container (max-width: 475px) {
  .fan-christmas .fan-card-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fan-christmas .fan-card-stats > div:nth-child(n+4) { border-top: 1px solid #dae8ed; }
  .fan-christmas .fan-card-stats > div:nth-child(3n) { border-right: 0; }
}
@container (max-width: 325px) {
  .fan-card.fan-christmas .fan-card-main { grid-template-columns: 22px 42px minmax(0, 1fr) 54px; padding-inline: 7px; gap: 6px; }
  .fan-card.fan-christmas .fan-card-main > .fan-avatar { width: 42px; height: 42px; }
}

.fan-motion-off .christmas-trim::after,
.fan-motion-off #scoreboardHero .arena-digit-changed,
.fan-motion-off #scoreboardHero .night-game-status.is-live i {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .arena-ticker-track,
  .christmas-trim::after,
  #scoreboardHero .arena-digit-changed,
  #scoreboardHero .night-game-status.is-live i {
    animation: none !important;
  }
}

.fan-cover-swatch.fan-ice-swatch .fan-cover-art {
  background: url("/assets/benchboss-ice-texture.webp") center / 155% auto, #eef7fb;
}

.fan-card.fan-christmas.fan-default-ice .fan-card-main {
  background: repeating-linear-gradient(130deg, #a23e4c 0 5px, #fff 5px 9px, #23654d 9px 14px, #fff 14px 18px) 0 0/100% 3px no-repeat;
}
