/* Live Game Room sport pages (/game-rooms/{sport}). Loaded after the arena + scheduling-arena styles.
   Design pack 2026-10-23: broadcast feel, neutral charcoal surfaces, lime only on controls and the live dot,
   purple for small labels. Bebas Neue for display, Barlow Condensed for labels, Manrope for body. */
:root {
  --grp-ground: #1f2023; --grp-room: #141416; --grp-surface: #2a2b2f; --grp-raised: #303136; --grp-line: #3d3e44;
  --grp-text: #f4f4f5; --grp-muted: #a1a1aa; --grp-lime: #d7ff2f; --grp-lime-ink: #141a00; --grp-purple: #b98aff;
  --grp-mint: #86efac; --grp-display: 'Bebas Neue', 'Anton', Impact, sans-serif; --grp-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --grp-body: 'Manrope', system-ui, sans-serif;
}

/* ---------- hero ---------- */
.grp-hero { position: relative; padding: 128px 0 64px; background: var(--grp-room); color: var(--grp-text); overflow: hidden; }
.grp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 300' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='12' y='12' width='1376' height='276' rx='4'/%3E%3Cpath d='M700 12v276'/%3E%3Ccircle cx='700' cy='150' r='78'/%3E%3C/svg%3E") center 70% / 120% auto no-repeat; }
.grp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.grp-hero-copy { min-width: 0; }
.grp-crumbs ol { margin-bottom: 18px; }
.grp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--grp-purple); font: 700 13px/1.2 var(--grp-cond); letter-spacing: .24em; text-transform: uppercase; }
.grp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grp-lime); flex: none; animation: grp-pulse 1.8s ease-in-out infinite; }
@keyframes grp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.grp-title { margin: 0 0 18px; max-width: 760px; color: #fff; font-family: var(--grp-display); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: .94; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.grp-lede { max-width: 640px; margin: 0 0 22px; color: #d4d4d8; font: 500 clamp(16px, 1.35vw, 18px)/1.65 var(--grp-body); }
.grp-lede a, .grp-article a:not(.grp-btn) { color: var(--grp-text); text-decoration: underline; text-decoration-color: var(--grp-purple); text-underline-offset: 3px; }
.grp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.grp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--grp-line); border-radius: 14px; background: var(--grp-surface); color: var(--grp-text); font: 700 16px/1 var(--grp-cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.grp-btn:hover { transform: translateY(-2px); border-color: var(--grp-muted); color: var(--grp-text); }
.grp-btn--lime { background: var(--grp-lime); border-color: var(--grp-lime); color: var(--grp-lime-ink); }
.grp-btn--lime:hover { color: var(--grp-lime-ink); border-color: var(--grp-lime); }
.grp-btn:focus-visible, .grp-sport:focus-visible, .grp-related a:focus-visible { outline: 2px solid var(--grp-lime); outline-offset: 3px; }
.grp-free { margin: 14px 0 0; color: var(--grp-muted); font: 600 14px/1.4 var(--grp-body); }
.grp-free i { color: var(--grp-mint); margin-right: 6px; }

/* ---------- example room ---------- */
.grp-room { position: relative; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--grp-line); border-radius: 26px; background: var(--grp-ground); box-shadow: 0 30px 80px -30px rgba(0,0,0,.85); }
.grp-example { position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: 999px; background: var(--grp-raised); border: 1px solid var(--grp-line); color: var(--grp-purple); font: 700 11px/1 var(--grp-cond); letter-spacing: .18em; text-transform: uppercase; }
.grp-plate { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 14px; border-radius: 20px; background: var(--grp-surface); border: 1px solid var(--grp-line); }
.grp-team { display: grid; justify-items: center; gap: 8px; min-width: 0; text-align: center; }
.grp-team b { max-width: 100%; color: var(--grp-text); font: 700 15px/1.15 var(--grp-cond); letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.grp-crest { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #6d28d9; color: #fff; font: 700 17px/1 var(--grp-cond); letter-spacing: .06em; }
.grp-crest--alt { background: #0f766e; }
.grp-score { display: grid; justify-items: center; gap: 6px; }
.grp-digits { color: #fff; font: 400 clamp(46px, 5vw, 64px)/.9 var(--grp-display); font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.grp-digits i { font-style: normal; color: var(--grp-muted); margin: 0 6px; }
.grp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--grp-line); background: var(--grp-raised); color: var(--grp-text); font: 700 12px/1 var(--grp-cond); letter-spacing: .14em; text-transform: uppercase; }
.grp-score small { color: var(--grp-muted); font: 600 12px/1.2 var(--grp-body); white-space: nowrap; }
.grp-feed { display: grid; gap: 10px; margin: 12px 0; }
.grp-moment { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--grp-surface); border: 1px solid var(--grp-line); }
.grp-moment-tag { color: var(--grp-purple); font: 700 12px/1 var(--grp-cond); letter-spacing: .16em; text-transform: uppercase; }
.grp-verified { justify-self: end; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(134,239,172,.12); color: var(--grp-mint); font: 700 11px/1 var(--grp-cond); letter-spacing: .14em; text-transform: uppercase; }
.grp-moment b { grid-column: 1 / -1; color: #fff; font: 400 30px/1 var(--grp-display); letter-spacing: .02em; }
.grp-moment small { grid-column: 1 / -1; color: var(--grp-muted); font: 600 13px/1.3 var(--grp-body); }
.grp-moment--reaction { grid-template-columns: 56px 1fr; }
.grp-moment--reaction .grp-big-reaction { grid-row: span 2; font-size: 40px; line-height: 1; }
.grp-moment--reaction b, .grp-moment--reaction small { grid-column: 2; }
.grp-msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.grp-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grp-raised); color: var(--grp-text); font: 700 12px/1 var(--grp-cond); letter-spacing: .06em; }
.grp-msg p { margin: 0; padding: 10px 14px; border-radius: 6px 18px 18px 18px; background: var(--grp-raised); color: #e4e4e7; font: 500 14px/1.45 var(--grp-body); }
.grp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.grp-chips li { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--grp-line); background: var(--grp-surface); color: #e4e4e7; font: 600 13px/1 var(--grp-body); white-space: nowrap; }
.grp-chips li span { font-size: 16px; }
.grp-room figcaption { margin-top: 12px; color: var(--grp-muted); font: 500 12px/1.4 var(--grp-body); text-align: center; }

/* ---------- article ---------- */
.grp-article h2 { text-wrap: balance; }
.grp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.grp-card { position: relative; min-width: 0; padding: 20px; border: 1px solid var(--grp-line); border-radius: 18px; background: var(--grp-surface); }
.grp-card h3 { margin: 0 0 8px; color: #fff; font: 700 20px/1.2 var(--grp-cond); letter-spacing: .02em; }
.grp-card p { margin: 0; color: #d4d4d8; }
.grp-num { display: block; margin-bottom: 6px; color: var(--grp-purple); font: 400 28px/1 var(--grp-display); letter-spacing: .04em; }
.grp-reactions { margin-top: 22px; padding: 20px; border: 1px solid var(--grp-line); border-radius: 18px; background: var(--grp-ground); }
.grp-reactions h3 { margin: 0 0 12px; color: #fff; font: 700 18px/1.2 var(--grp-cond); letter-spacing: .04em; text-transform: uppercase; }
.grp-reactions ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.grp-reactions li { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 12px; background: var(--grp-surface); color: #e4e4e7; font: 600 14px/1.2 var(--grp-body); }
.grp-reactions li span { font-size: 18px; }
.grp-list li::marker { color: var(--grp-purple); }

/* ---------- sport grid, related, app band ---------- */
.grp-sport-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.grp-sport { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--grp-line); border-radius: 999px; background: var(--grp-surface); color: var(--grp-text); font: 700 15px/1 var(--grp-cond); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
a.grp-sport:hover { border-color: var(--grp-muted); color: var(--grp-text); transform: translateY(-1px); }
.grp-sport.is-current { background: var(--grp-lime); border-color: var(--grp-lime); color: var(--grp-lime-ink); }
.grp-sport--all { border-style: dashed; }
.grp-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.grp-related li { min-width: 0; padding: 18px 20px; border: 1px solid var(--grp-line); border-radius: 16px; background: var(--grp-surface); }
.grp-kicker { margin: 0 0 6px; color: var(--grp-purple); font: 700 12px/1 var(--grp-cond); letter-spacing: .18em; text-transform: uppercase; }
.grp-related a { color: #fff; font: 700 18px/1.25 var(--grp-cond); letter-spacing: .02em; text-decoration: none; overflow-wrap: anywhere; }
.grp-related a i { color: var(--grp-muted); font-size: 13px; margin-left: 4px; }
.grp-related a:hover { text-decoration: underline; text-decoration-color: var(--grp-purple); }
.grp-app { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.grp-app p:not(.eyebrow) { max-width: 640px; color: #d4d4d8; }

@media (max-width: 980px) {
  .grp-hero { padding-top: 112px; }
  .grp-hero-grid, .grp-app { grid-template-columns: 1fr; }
  .grp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grp-hero { padding: 100px 0 40px; }
  .grp-room { padding: 12px; border-radius: 20px; }
  .grp-plate { gap: 6px; padding: 12px 8px; }
  .grp-crest { width: 42px; height: 42px; border-radius: 13px; font-size: 14px; }
  .grp-team b { font-size: 13px; }
  .grp-cards, .grp-related { grid-template-columns: 1fr; }
  .grp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .grp-live-dot { animation: none; }
  .grp-btn, .grp-sport { transition: none; }
}

/* The aside link colour (scheduling arena) must not repaint the lime button's label. */
.ssa-aside-box a.grp-btn { color: var(--grp-text); text-decoration: none; }
.ssa-aside-box a.grp-btn--lime, .ssa-aside-box a.grp-btn--lime:hover { color: var(--grp-lime-ink); }

/* ---------- app mockup in a phone frame ---------- */
.grp-phone { position: relative; justify-self: center; width: min(100%, 360px); margin: 0; padding: 10px; border: 1px solid var(--grp-line); border-radius: 44px; background: #0b0b0d; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.04); }
.grp-phone img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 684 / 1216; border-radius: 34px; }
.grp-phone .grp-example { top: -12px; right: 24px; }
.grp-phone figcaption { margin-top: 12px; color: var(--grp-muted); font: 500 12px/1.4 var(--grp-body); text-align: center; }
@media (max-width: 640px) { .grp-phone { width: min(100%, 320px); border-radius: 38px; } .grp-phone img { border-radius: 29px; } }
