@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("barlow-condensed-700.woff2") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: #000F1A;
  color: #FFFFFF;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
}
button, input { font-family: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
p { margin: 0; }
img { display: block; max-width: 100%; }
h2, h3, .review-title, .brand, .splash-title, .time, .score, .pts, .tap, .stat b, .scoreline, .pass-card strong {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
}
h2 { margin: 0; font-size: 30px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
h3 { margin: 0; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #007ACC; outline-offset: 2px; }
::selection { background: #007ACC; color: #FFFFFF; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 80; background: #007ACC; color: #FFFFFF; padding: 8px 10px; }
.noscript { padding: 16px; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 28px 16px 40px;
  background: #000F1A url("bg-night.jpg") center/cover no-repeat;
  transition: opacity .4s ease;
}
.splash.is-out { opacity: 0; pointer-events: none; }
.splash-card {
  width: min(460px, 100%);
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 15, 26, .78);
}
.splash-card img { width: 84px; height: 84px; object-fit: contain; }
.splash-kicker { color: #FFB800; letter-spacing: .16em; font-size: 13px; font-weight: 700; }
.splash-title { font-size: clamp(40px, 11vw, 60px); line-height: .88; text-transform: uppercase; }
.splash-copy { max-width: 36ch; color: rgba(255, 255, 255, .88); font-size: 14px; }
.chrome { position: sticky; top: 0; z-index: 25; background: #000F1A; }
.top { display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px; }
.brand { flex: 1; min-width: 0; margin: 0; font-size: clamp(18px, 4.8vw, 28px); line-height: .9; letter-spacing: .03em; text-transform: uppercase; }
.pass-launch { min-height: 36px; padding: 8px 10px; white-space: nowrap; }
.long { display: none; }
.bell {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex: none;
}
.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #FFB800;
  color: #000F1A;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.ticker { overflow: hidden; border-top: 1px solid rgba(0, 122, 204, .5); border-bottom: 1px solid rgba(255, 184, 0, .4); }
.ticker-track { display: flex; width: max-content; animation: tick 18s linear infinite; }
.ticker-track span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: .18em;
  font-size: 13px;
  color: #FFB800;
  padding: 6px 0;
  white-space: nowrap;
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.layout { display: block; }
.trail {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: #000F1A;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.trail::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 16px;
  height: 2px;
  background: #007ACC;
}
.stop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #007ACC;
  background: #000F1A;
  position: relative;
  z-index: 1;
}
.stop.is-on { color: #8BBD35; }
.stop.is-on .dot { background: #8BBD35; border-color: #8BBD35; }
main { width: min(920px, 100%); margin: 0 auto; padding: 12px 12px calc(108px + env(safe-area-inset-bottom)); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #000F1A;
  background-position: center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 26, .08) 8%, rgba(0, 15, 26, .9) 78%);
}
.section-head { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; }
.section-head img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.kicker { color: #FFB800; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dek { margin-top: 4px; max-width: 52ch; color: rgba(255, 255, 255, .84); font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip, .btn {
  border: 0;
  border-radius: 6px;
  background: #007ACC;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13px;
  min-height: 36px;
  padding: 8px 12px;
}
.chip { border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; }
.chip.is-on { background: #007ACC; border-color: #007ACC; }
.btn.lime, .tap { background: #8BBD35; color: #000F1A; }
.btn.ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .2); }
.rail { display: grid; grid-template-columns: repeat(6, minmax(108px, 1fr)); gap: 6px; overflow-x: auto; }
.slot {
  min-height: 72px;
  padding: 6px;
  border-radius: 6px;
  border: 1px dashed rgba(139, 189, 53, .55);
  background: #04121c;
  color: #FFFFFF;
  text-align: left;
  display: grid;
  align-content: space-between;
}
.slot strong { font-size: 12px; font-weight: 600; }
.slot span { color: #8BBD35; font-size: 11px; }
.slot.is-on { border-style: solid; background: #102616; }
.stack { display: grid; gap: 6px; }
.card, .review, .run {
  background: #071a27;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}
.card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; }
.card.is-pinned { border-color: #8BBD35; }
.pin {
  min-width: 58px;
  min-height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pin.is-on { background: #8BBD35; color: #000F1A; border-color: #8BBD35; }
.team { font-size: 14px; font-weight: 600; line-height: 1.2; }
.meta { color: rgba(255, 255, 255, .68); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.when { display: grid; justify-items: end; gap: 2px; }
.time { font-size: 26px; line-height: .9; }
.venue { color: #8BBD35; font-size: 12px; font-weight: 600; text-align: right; }
.group-label { margin: 12px 0 6px; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.review { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; }
.review-open { display: grid; gap: 3px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.review-title { margin: 0; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255, 255, 255, .8); font-size: 13px; }
.panel { margin-top: 12px; padding: 10px; background: #071a27; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 99px; background: #8BBD35; color: #000F1A; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.pip { height: 36px; border-radius: 18px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); font-family: "Barlow Condensed", sans-serif; font-size: 16px; }
.pip.on { background: #8BBD35; border-color: #8BBD35; color: #000F1A; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.heat-col { display: grid; gap: 4px; justify-items: center; }
.bar { width: 100%; height: 28px; border-radius: 4px; background: rgba(139, 189, 53, var(--a)); border: 1px solid rgba(255, 255, 255, .12); }
.bar.is-today { box-shadow: inset 0 0 0 2px #007ACC; }
.lv0 { --a: .12; }
.lv1 { --a: .3; }
.lv2 { --a: .5; }
.lv3 { --a: .75; }
.lv4 { --a: 1; }
.heat-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.pass-card {
  width: 100%;
  margin-top: 12px;
  min-height: 128px;
  padding: 12px;
  display: grid;
  gap: 4px;
  text-align: left;
  color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid rgba(139, 189, 53, .7);
  background: linear-gradient(90deg, rgba(0, 15, 26, .92), rgba(0, 15, 26, .4)), url("bg-pitch.jpg") center/cover;
}
.pass-card strong { font-size: 32px; letter-spacing: .04em; text-transform: uppercase; line-height: .9; }
.pass-card em { font-style: normal; color: #8BBD35; font-size: 13px; }
.mini-checks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-top: 6px; }
.mini-checks span { height: 6px; border-radius: 3px; background: #8BBD35; }
.run { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; }
.kind { color: #FFB800; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.score { font-size: 24px; line-height: 1; }
.jump {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  display: grid;
  gap: 2px;
  text-align: left;
  color: #FFFFFF;
  background: #04121c;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}
.jump strong { font-size: 13px; }
.jump span { color: rgba(255, 255, 255, .75); font-size: 12px; }
.reader { display: grid; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.body { display: grid; gap: 10px; }
.body p { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.strike-row { display: flex; align-items: center; gap: 6px; }
.strike { width: 16px; height: 22px; border: 2px solid #FFB800; border-radius: 2px; display: inline-block; }
.strike.on { background: #FFB800; }
.scoreline { margin: 6px 0; font-size: 18px; }
.scoreline b { font-size: 36px; line-height: .9; }
.board { border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; background: #04121c; }
.board.is-hot { animation: strikeFlash .45s ease; }
@keyframes strikeFlash { from { box-shadow: inset 0 0 0 2px #FFB800; } to { box-shadow: inset 0 0 0 0 #FFB800; } }
.qslot { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 42px; padding: 0 8px; background: #04121c; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.qslot.is-fresh { box-shadow: inset 3px 0 0 #8BBD35; }
.qslot.is-miss { background: rgba(255, 184, 0, .08); }
.rank { font-family: "Barlow Condensed", sans-serif; font-size: 18px; color: rgba(255, 255, 255, .55); }
.blank { height: 8px; border-radius: 4px; background: rgba(0, 122, 204, .45); }
.pts { font-size: 22px; color: #FFB800; min-width: 2ch; text-align: right; }
.missed { color: #FFB800; }
.note { min-height: 1.2em; margin: 8px 0; color: #FFB800; font-size: 13px; font-weight: 600; }
.note.is-good { color: #8BBD35; }
.guess { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
input[type="text"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #04121c;
  color: #FFFFFF;
  font-size: 16px;
}
.quiz-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pass {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #000F1A url("bg-pitch.jpg") center/cover;
  overflow: hidden;
}
.pass::before { content: ""; position: absolute; inset: 0; background: rgba(0, 15, 26, .68); }
.pass > * { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.stat { padding: 6px; background: rgba(0, 15, 26, .55); border-radius: 6px; }
.stat b { display: block; font-size: 26px; line-height: 1; }
.stat span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.stat b.is-hot { color: #8BBD35; }
#pass-best { color: #FFB800; }
.checks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 8px 0; }
.chk { height: 22px; border-radius: 3px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.chk.ok { background: rgba(139, 189, 53, .28); }
.chk.bad { background: rgba(255, 184, 0, .22); box-shadow: inset 0 0 0 1px #FFB800; }
.chk.now { box-shadow: inset 0 0 0 2px #007ACC; }
.chk img { width: 16px; height: 16px; object-fit: contain; }
.track {
  position: relative;
  height: 54px;
  margin: 8px 0;
  border-radius: 27px;
  overflow: hidden;
  background: rgba(0, 15, 26, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  user-select: none;
}
.track.is-hit { box-shadow: inset 0 0 0 2px #8BBD35; }
.track.is-miss { box-shadow: inset 0 0 0 2px #FFB800; }
.zone { position: absolute; top: 0; bottom: 0; background: rgba(139, 189, 53, .45); border-left: 2px solid #8BBD35; border-right: 2px solid #8BBD35; pointer-events: none; }
#ball { position: absolute; top: 7px; left: 0; width: 40px; height: 40px; object-fit: contain; pointer-events: none; }
.tap {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 8px;
  font-size: 28px;
  letter-spacing: .08em;
  text-transform: uppercase;
  user-select: none;
}
button:disabled { opacity: .45; cursor: default; }
.result { display: grid; gap: 6px; margin-top: 10px; padding: 10px; border-radius: 8px; border: 1px solid #8BBD35; background: rgba(0, 15, 26, .82); }
.sheet {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  max-height: min(62vh, 440px);
  overflow: auto;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #071a27;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
.toast {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border-radius: 6px;
  background: #FFB800;
  color: #000F1A;
  font-size: 13px;
  font-weight: 700;
}
@media (min-width: 640px) {
  .short { display: none; }
  .long { display: inline; }
}
@media (min-width: 880px) {
  .layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; min-height: calc(100vh - 84px); }
  .trail {
    position: sticky;
    top: 84px;
    height: calc(100vh - 84px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 16px;
  }
  .trail::before { left: 29px; right: auto; top: 18%; bottom: 18%; width: 2px; height: auto; }
  .stop { grid-template-columns: 18px 1fr; justify-items: start; align-items: center; gap: 12px; padding: 8px; font-size: 18px; }
  main { padding: 16px 16px 32px; }
  .sheet { top: 78px; right: 16px; bottom: auto; left: auto; width: min(380px, calc(100vw - 248px)); }
  .toast { bottom: 24px; }
}
@media (min-width: 1080px) {
  .fixture-list { grid-template-columns: 1fr 1fr; }
}
.fixture-list { display: grid; gap: 6px; }
@media (hover: hover) {
  .card:hover, .review:hover, .run:hover, .slot:hover { border-color: #007ACC; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .splash { transition: none; }
}
