/* Hashmark (phase 3) - Live link in the mockups' look: docs/design/app-a-c-screens.html, screen "Live link".
   Every rule starts with html[data-site] (the look; the website and the app). siteui.css has the frame and the shared tokens.
   The broadcaster's page (?live=TOKEN, livegame.js liveBcOpen): roleapp.js draws the role screen (.ra), livegame.js
   marks it .lv-bc and adds the scoreboard (#lvHero), Plays, Share and the footer. Families read it on phones. */
@media screen {
html[data-site][data-ui="a"] .ra.lv-bc {
  --lv-red: #e5341c; --lv-okbg: #e6f3e8; --lv-oktx: #1f6a2f; --lv-badbg: #fbe7e2; --lv-badtx: #a3260f; --lv-glow: rgba(255,225,77,.16);
  --lv-mono: var(--s-mono, ui-monospace, monospace); --lv-hf: var(--s-hf, 'Big Shoulders Display', sans-serif);
  display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: 'Barlow', system-ui, sans-serif;
}
html[data-site][data-ui="a"][data-theme="dark"] .ra.lv-bc {
  --lv-okbg: #16281a; --lv-oktx: #9be3a6; --lv-badbg: #2e1914; --lv-badtx: #ff9c8a; --lv-glow: rgba(255,225,77,.12);
}
/* one column, 1100 wide like the mockup */
html[data-site][data-ui="a"] .ra.lv-bc > * { flex-shrink: 0; }
html[data-site][data-ui="a"] .ra.lv-bc > .ra-top,
html[data-site][data-ui="a"] .ra.lv-bc > .lv-hero,
html[data-site][data-ui="a"] .ra.lv-bc > .ra-bar,
html[data-site][data-ui="a"] .ra.lv-bc > .ra-main { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; box-sizing: border-box; }

/* ---------- the line on top: mark, the game, the week, LIVE ---------- */
html[data-site][data-ui="a"] .ra.lv-bc .ra-top { background: transparent; color: var(--ink); padding: 28px 24px 0; gap: 12px; flex-wrap: nowrap; min-height: 0; border: 0; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-top .brand { flex: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-top .lm { width: 26px; height: 26px; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-top .lw { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team { display: block; flex: 1 1 auto; min-width: 0; line-height: 1.3; font-size: 15px; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team b { font-weight: 700; color: var(--ink); }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team span { font-size: inherit; color: var(--muted); }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team .lv-vs { color: var(--muted); font-weight: 500; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team .lv-meta { margin-left: 8px; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team .lv-meta::before { content: "· "; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-sp { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status:not(.wait):not(.bad) { text-transform: uppercase; letter-spacing: .06em; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lv-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lv-red) 25%, transparent); flex: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status.wait { color: var(--warn); }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status.wait::before { background: var(--warn); box-shadow: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status.bad { color: var(--err); }
html[data-site][data-ui="a"] .ra.lv-bc .ra-status.fin::before { background: var(--muted); box-shadow: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-top .lang-btn { background: transparent; color: var(--muted); border-color: var(--line); min-height: 34px; padding: 4px 10px; font-size: 13px; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-top .nt-bell { color: var(--muted); }

/* ---------- the scoreboard ---------- */
html[data-site][data-ui="a"] .ra.lv-bc .lv-hero { padding: 22px 24px 0; }
html[data-site][data-ui="a"] .ra.lv-bc .lv-hero:empty { display: none; }
html[data-site][data-ui="a"] .lv-bc .lv-sb { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r, 10px); }
html[data-site][data-ui="a"] .lv-bc .lv-sb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 50% 0, var(--lv-glow), transparent 70%); pointer-events: none; }
html[data-site][data-ui="a"] .lv-bc .lv-sc { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 30px 28px; }
html[data-site][data-ui="a"] .lv-bc .lv-tm { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
html[data-site][data-ui="a"] .lv-bc .lv-tm b { font-weight: 700; font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; }
html[data-site][data-ui="a"] .lv-bc .lv-tm small { display: inline-flex; align-items: center; gap: 6px; min-height: 16px; color: var(--muted); font-size: 13px; font-weight: 500; }
html[data-site][data-ui="a"] .lv-bc .lv-crest { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--s-blue, #2149d6); color: #fff; font: 800 22px/1 var(--lv-hf); letter-spacing: 0; box-shadow: inset 0 0 0 1px rgba(127,127,127,.25); }
html[data-site][data-ui="a"] .lv-bc .lv-crest.them { background: #7a1f1f; color: #fff; }
html[data-site][data-ui="a"] .lv-bc .lv-poss { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hi); }
html[data-site][data-ui="a"] .lv-bc .lv-pts { display: flex; align-items: center; gap: 22px; font: 800 96px/1 var(--lv-hf); letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
html[data-site][data-ui="a"] .lv-bc .lv-pts b { font-weight: 800; }
html[data-site][data-ui="a"] .lv-bc .lv-pts i { font-style: normal; font-size: 30px; color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .lv-sit { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
html[data-site][data-ui="a"] .lv-bc .lv-sit > div { padding: 14px 18px; border-right: 1px solid var(--line); text-align: center; min-width: 0; }
html[data-site][data-ui="a"] .lv-bc .lv-sit > div:last-child { border-right: 0; }
html[data-site][data-ui="a"] .lv-bc .lv-sit small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .lv-sit b { display: block; font: 600 22px/1.25 var(--lv-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { html[data-site][data-ui="a"] .lv-bc .lv-sit b { font-size: 17px; white-space: normal; } }

/* ---------- the tabs and Share ---------- */
html[data-site][data-ui="a"] .ra.lv-bc .ra-bar { background: transparent; border: 0; padding: 20px 24px 14px; gap: 8px; flex-wrap: nowrap; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-bar > label[for="raWk"], html[data-site][data-ui="a"] .ra.lv-bc .ra-bar #raWk { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-bar .ra-sidew:empty { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav { display: inline-flex; gap: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: calc(var(--rb, 10px) + 3px); padding: 3px; min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav::-webkit-scrollbar { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav[hidden] { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav button { border: 0; background: transparent; box-shadow: none; padding: 6px 12px; min-height: 34px; border-radius: var(--rb, 10px); font: 600 13px/1.1 'Barlow', system-ui, sans-serif; color: var(--muted); white-space: nowrap; flex: none; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav button:hover { color: var(--ink); }
html[data-site][data-ui="a"] .ra.lv-bc #raNav button.on { background: #141414; color: var(--hi); }
html[data-site][data-ui="a"][data-theme="dark"] .ra.lv-bc #raNav button.on { background: #141414; box-shadow: inset 0 0 0 1px var(--line); }
html[data-site][data-ui="a"] .ra.lv-bc .lv-share { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--rb, 10px); background: var(--panel); color: var(--ink); font: 600 14px/1 'Barlow', system-ui, sans-serif; box-shadow: none; cursor: pointer; }
html[data-site][data-ui="a"] .ra.lv-bc .lv-share:hover { border-color: var(--line-2); }

/* ---------- the content ---------- */
html[data-site][data-ui="a"] .ra.lv-bc .ra-main { padding: 0 24px 20px; flex: 1 0 auto; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r, 10px); padding: 20px; margin-bottom: 16px; box-shadow: none; }
html[data-site][data-ui="a"] .lv-bc .lv-eyb { font: 700 12px/1.2 'Barlow Condensed', 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html[data-site][data-ui="a"] .lv-bc .lv-g2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
html[data-site][data-ui="a"] .lv-bc .lv-g2 > .ra-card { margin-bottom: 0; }
/* Plays: the drives, newest first */
html[data-site][data-ui="a"] .lv-bc .lv-drive + .lv-drive { margin-top: 22px; }
html[data-site][data-ui="a"] .lv-bc .lv-rw { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
html[data-site][data-ui="a"] .lv-bc .lv-t { flex: none; width: 90px; font: 400 12px/1.3 var(--lv-mono); color: var(--muted); white-space: nowrap; }
html[data-site][data-ui="a"] .lv-bc .lv-what { flex: 1; min-width: 0; }
html[data-site][data-ui="a"] .lv-bc .lv-rw.td .lv-what { font-weight: 700; }
html[data-site][data-ui="a"] .lv-bc .lv-earlier { margin-top: 18px; border-top: 1px solid var(--line); }
html[data-site][data-ui="a"] .lv-bc .lv-earlier > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); list-style: none; }
html[data-site][data-ui="a"] .lv-bc .lv-earlier > summary::-webkit-details-marker { display: none; }
html[data-site][data-ui="a"] .lv-bc .lv-earlier > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin: -4px 0 0 auto; }
html[data-site][data-ui="a"] .lv-bc .lv-earlier[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
html[data-site][data-ui="a"] .lv-bc .lv-earlier > summary span + span { font: 700 11.5px/1 'Barlow', sans-serif; padding: 3px 8px; border-radius: 99px; background: var(--soft-2); color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .lv-earlier > .lv-drive:first-of-type { margin-top: 8px; }
html[data-site][data-ui="a"] .lv-bc .lv-tag { flex: none; margin-left: auto; display: inline-flex; align-items: center; font: 700 11.5px/1 'Barlow', sans-serif; padding: 4px 7px; border-radius: 6px; background: var(--soft-2); color: var(--muted); white-space: nowrap; }
html[data-site][data-ui="a"] .lv-bc .lv-tag.ok { background: var(--lv-okbg); color: var(--lv-oktx); }
html[data-site][data-ui="a"] .lv-bc .lv-tag.bad { background: var(--lv-badbg); color: var(--lv-badtx); }
/* the leaders */
html[data-site][data-ui="a"] .lv-bc .lv-bx { width: 100%; border-collapse: collapse; font-size: 14px; }
html[data-site][data-ui="a"] .lv-bc .lv-bx th, html[data-site][data-ui="a"] .lv-bc .lv-bx td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: right; background: transparent; }
html[data-site][data-ui="a"] .lv-bc .lv-bx th:first-child, html[data-site][data-ui="a"] .lv-bc .lv-bx td:first-child { text-align: left; }
html[data-site][data-ui="a"] .lv-bc .lv-bx th { font: 700 11px/1.2 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .lv-bx td { font: 400 13px/1.2 var(--lv-mono); color: var(--ink); }
html[data-site][data-ui="a"] .lv-bc .lv-bx td:first-child { font: 600 14px/1.25 'Barlow', sans-serif; }
/* Box score: the last play is on Plays now; the box score's own look stays, in a card */
html[data-site][data-ui="a"] .lv-bc .ra-last { display: none; }
html[data-site][data-ui="a"] .lv-bc .ra-card.bs { overflow-x: auto; }
/* Depth charts: the printed pages, scrolled sideways on a phone */
html[data-site][data-ui="a"] .lv-bc .ra-depth .page { border-radius: 6px; zoom: .88; }
@media (max-width: 1099px) { html[data-site][data-ui="a"] .lv-bc .ra-depth .page { zoom: .7; } }
@media (max-width: 899px) { html[data-site][data-ui="a"] .lv-bc .ra-depth .page { zoom: .63; } }
@media (max-width: 807px) { html[data-site][data-ui="a"] .lv-bc .ra-depth .page { zoom: .5; } }
/* Rosters */
html[data-site][data-ui="a"] .lv-bc .ra-two { gap: 16px 28px; }
html[data-site][data-ui="a"] .lv-bc .ra-ros h3 { margin: 0 0 8px; font: 700 12px/1.2 'Barlow Condensed', 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .ra-tbl { font-size: 14px; }
html[data-site][data-ui="a"] .lv-bc .ra-tbl td { border-top: 0; border-bottom: 1px solid var(--line); padding: 9px 8px; }
html[data-site][data-ui="a"] .lv-bc .ra-tbl td:first-child { font: 400 13px/1.2 var(--lv-mono); color: var(--muted); }
html[data-site][data-ui="a"] .lv-bc .ra-tbl td:nth-child(2) { font-weight: 600; }
html[data-site][data-ui="a"] .lv-bc .ra-tbl td:last-child { color: var(--muted); text-align: right; }
html[data-site][data-ui="a"] .lv-bc .ra-empty { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r, 10px); }
/* a link that is off: only the message */
html[data-site][data-ui="a"] .ra.lv-bc.lv-dead .ra-team, html[data-site][data-ui="a"] .ra.lv-bc.lv-dead .ra-status,
html[data-site][data-ui="a"] .ra.lv-bc.lv-dead .ra-bar, html[data-site][data-ui="a"] .ra.lv-bc.lv-dead .lv-hero { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc.lv-dead .ra-main { padding-top: 22px; }
html[data-site][data-ui="a"] .ra.lv-bc #raNav:empty { display: none; }
html[data-site][data-ui="a"] .ra.lv-bc.lv-dead #raLang { margin-left: auto; }
html[data-site][data-ui="a"] .ra.lv-bc .ra-team > span:not([class]) { display: none; }
/* the footer */
html[data-site][data-ui="a"] .lv-bc .lv-foot { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 16px 40px; }

/* ---------- iPad ---------- */
@media (max-width: 900px) {
  html[data-site][data-ui="a"] .lv-bc .lv-pts { font-size: 80px; gap: 16px; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit > div { padding: 14px 10px; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit b { font-size: 17px; }
  html[data-site][data-ui="a"] .lv-bc .lv-g2 { grid-template-columns: 1fr; }
}
/* ---------- phones ---------- */
@media (max-width: 600px) {
  html[data-site][data-ui="a"] .ra.lv-bc .ra-top { padding: 16px 16px 0; align-items: flex-start; flex-wrap: wrap; row-gap: 6px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-top .lm { width: 24px; height: 24px; margin-top: 1px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-team { flex: 1 1 0; font-size: 14.5px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-team .lv-meta { display: block; margin: 2px 0 0; font-size: 13px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-team .lv-meta::before { content: none; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-status { margin-top: 3px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-top .lang-btn { min-height: 30px; padding: 3px 7px; }
  html[data-site][data-ui="a"] .ra.lv-bc .lv-hero { padding: 14px 16px 0; }
  html[data-site][data-ui="a"] .lv-bc .lv-sc { padding: 20px 12px 18px; gap: 8px; }
  html[data-site][data-ui="a"] .lv-bc .lv-crest { width: 42px; height: 42px; border-radius: 11px; font-size: 17px; }
  html[data-site][data-ui="a"] .lv-bc .lv-tm { gap: 6px; }
  html[data-site][data-ui="a"] .lv-bc .lv-tm b { font-size: 14.5px; }
  html[data-site][data-ui="a"] .lv-bc .lv-tm small { font-size: 12px; }
  html[data-site][data-ui="a"] .lv-bc .lv-pts { font-size: 60px; gap: 10px; }
  html[data-site][data-ui="a"] .lv-bc .lv-pts i { font-size: 22px; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit { grid-template-columns: 1fr 1fr; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit > div { padding: 11px 10px; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit > div:nth-child(2) { border-right: 0; }
  html[data-site][data-ui="a"] .lv-bc .lv-sit > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  html[data-site][data-ui="a"] .lv-bc .lv-sit b { font-size: 16px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-bar { padding: 16px 16px 12px; }
  html[data-site][data-ui="a"] .ra.lv-bc #raNav button { padding: 6px 10px; min-height: 36px; }
  html[data-site][data-ui="a"] .ra.lv-bc .lv-share { padding: 0; width: 44px; min-height: 44px; justify-content: center; }
  html[data-site][data-ui="a"] .ra.lv-bc .lv-share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-main { padding: 0 16px 16px; }
  html[data-site][data-ui="a"] .ra.lv-bc .ra-card { padding: 16px; }
  html[data-site][data-ui="a"] .lv-bc .lv-rw { gap: 8px; padding: 11px 0; font-size: 14px; align-items: flex-start; }
  html[data-site][data-ui="a"] .lv-bc .lv-t { width: 74px; font-size: 11.5px; padding-top: 2px; white-space: normal; }
  html[data-site][data-ui="a"] .lv-bc .ra-two { grid-template-columns: 1fr; }
}
}
