/* ============================================================
   Sharp Ticker — homepage (Tonight's Board)
   All classes prefixed hb- to stay clear of main.css.
   Relies on the terminal skin tokens (dark-mode.css).
   ============================================================ */

.hb-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ── pitch ─────────────────────────────────────────────────── */
.hb-pitch { padding: 42px 0 24px; text-align: center; }
.hb-pitch h1 {
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-dark);
}
.hb-pitch h1 .hb-u { color: var(--primary-orange); }
.hb-pitch p {
  color: var(--text-muted);
  margin: 12px auto 0;
  font-size: 16px;
  max-width: 60ch;
}

/* ── board ─────────────────────────────────────────────────── */
.hb-board { padding: 12px 0 56px; }
.hb-tabs { display: flex; gap: 5px; margin-bottom: 14px; overflow-x: auto; }
.hb-stab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-muted); padding: 7px 13px;
  border: 1px solid var(--border-color); border-radius: 8px;
  background: var(--bg-white); white-space: nowrap; text-decoration: none;
}
.hb-stab:hover { color: var(--text-dark); border-color: var(--text-muted); }
.hb-stab--on {
  color: #000 !important; background: var(--primary-orange);
  border-color: var(--primary-orange); font-weight: 700;
}
.hb-tabs__note {
  margin-left: auto; align-self: center; font-family: var(--font-mono);
  font-size: 11px; color: var(--text-light); white-space: nowrap;
}
.hb-board__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px; flex-wrap: wrap;
}
.hb-board__head h2 {
  font-size: 20px; margin: 0; display: flex; align-items: center; gap: 12px;
  color: var(--text-dark);
}
.hb-livechip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; color: var(--primary-orange);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hb-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-orange);
  animation: hb-pulse 1.8s ease-in-out infinite;
}
@keyframes hb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .hb-pulse { animation: none; } }
.hb-stamp { font-family: var(--font-mono); font-size: 12px; color: var(--text-light); }

/* pinned read */
.hb-read {
  display: none; gap: 16px; align-items: center;
  background: linear-gradient(90deg, rgba(47,224,106,0.10), transparent 70%);
  border: 1px solid rgba(47,224,106,0.35); border-radius: 12px;
  padding: 14px 18px; margin: 16px 0 4px;
  text-decoration: none; transition: transform 150ms ease;
}
.hb-read:hover { transform: translateY(-1px); }
.hb-read__k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  color: #000 !important; background: var(--primary-orange);
  padding: 3px 8px; border-radius: 5px; font-weight: 700; white-space: nowrap;
  text-transform: uppercase; flex: none;
}
.hb-read__title { font-size: 15px; font-weight: 700; color: var(--text-dark); display: block; }
.hb-read__ex { color: var(--text-muted); font-size: 14px; display: block; margin-top: 2px; }
.hb-read__go {
  margin-left: auto; color: var(--primary-orange);
  font-family: var(--font-mono); font-size: 13px; white-space: nowrap; flex: none;
}

/* game rows */
.hb-g {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px;
  align-items: center; padding: 15px 6px;
  border-bottom: 1px solid var(--border-color); transition: background 120ms ease;
}
.hb-g:hover { background: var(--bg-white); }
.hb-g__time {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-light); line-height: 1.5;
}
.hb-g__match { min-width: 0; }
.hb-g__teams { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.hb-rec { color: var(--text-light); font-weight: 500; font-family: var(--font-mono); font-size: 12px; }
.hb-score { font-family: var(--font-mono); color: var(--text-dark); }
.hb-g__sig {
  color: var(--text-muted); font-size: 13px; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-g__sig .hb-sp { color: var(--text-dark); }
.hb-g__prices { display: flex; gap: 10px; }
.hb-chip {
  background: var(--bg-gray); border: 1px solid var(--border-color);
  border-radius: 9px; padding: 7px 12px; text-align: center; min-width: 98px;
}
.hb-chip__lab {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-light); text-transform: uppercase;
}
.hb-chip__val { font-family: var(--font-mono); font-size: 14px; font-weight: 600; margin-top: 2px; color: var(--text-dark); }
.hb-chip__bk { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.hb-chip--best { border-color: rgba(47,224,106,0.4); background: rgba(47,224,106,0.10); }
.hb-chip--best .hb-chip__val { color: var(--primary-orange); }
.hb-live-tag, .hb-final-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hb-live-tag { color: var(--primary-orange); }
.hb-final-tag { color: var(--text-light); }
.hb-board__foot { display: flex; justify-content: center; padding: 20px 0 0; }
.hb-fallback { display: none; text-align: center; padding: 26px 0; color: var(--text-muted); }
.hb-loading {
  padding: 30px 0; text-align: center;
  color: var(--text-light); font-family: var(--font-mono); font-size: 13px;
}

/* ── shared section shell ──────────────────────────────────── */
.hb-blk { padding: 58px 0; border-top: 1px solid var(--border-color); }
.hb-blk__head { text-align: center; }
.hb-blk__head h2 {
  font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 8px; color: var(--text-dark);
}
.hb-blk__head p { color: var(--text-muted); margin: 0 0 28px; font-size: 15px; }

/* ── browser tabs visual ───────────────────────────────────── */
.hb-balabel {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-light); text-transform: uppercase; text-align: center;
  margin: 22px 0 10px;
}
.hb-browser {
  max-width: 880px; margin: 0 auto; border: 1px solid var(--border-color);
  border-radius: 12px; background: #0d141d; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hb-browser__top {
  display: flex; align-items: center; gap: 6px; padding: 9px 13px;
  border-bottom: 1px solid var(--border-color);
}
.hb-browser__top i { width: 10px; height: 10px; border-radius: 50%; background: #26323f; display: block; }
.hb-tabrow { display: flex; gap: 3px; padding: 7px 8px 0; background: #0b1119; }
.hb-btab {
  display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1;
  background: #131c27; border: 1px solid var(--border-color); border-bottom: none;
  border-radius: 8px 8px 0 0; padding: 8px 11px; font-size: 12px; color: var(--text-light);
}
.hb-btab__fav { width: 8px; height: 8px; border-radius: 50%; flex: none; opacity: 0.55; }
.hb-btab__lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-btab__x { margin-left: auto; color: #39485c; flex: none; }
.hb-browser__page { height: 16px; background: #0d141d; }
.hb-browser--after .hb-btab {
  flex: none; min-width: 280px; background: #12251a;
  border-color: rgba(47,224,106,0.35); color: var(--text-dark);
  font-weight: 600; font-size: 13px;
}
.hb-browser--after .hb-btab__fav {
  background: var(--primary-orange); opacity: 1;
  box-shadow: 0 0 8px rgba(47,224,106,0.35);
}
.hb-browser--after .hb-browser__page {
  background: linear-gradient(180deg, rgba(47,224,106,0.06), #0d141d);
}
.hb-inside {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 880px; margin: 30px auto 0;
}
.hb-inside__item {
  display: flex; gap: 10px; align-items: center;
  background: var(--bg-white); border: 1px solid var(--border-color);
  border-radius: 10px; padding: 13px 15px; font-size: 15px; color: var(--text-dark);
}
.hb-inside__ck { color: var(--primary-orange); font-family: var(--font-mono); flex: none; }
.hb-tabfoot { color: var(--text-muted); font-size: 15px; margin: 26px 0 0; text-align: center; }

/* ── extension section ─────────────────────────────────────── */
.hb-ext { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hb-ext h2 { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 14px; color: var(--text-dark); }
.hb-ext p { color: var(--text-muted); font-size: 16px; margin: 0 0 18px; }
.hb-checks { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.hb-checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-dark); }
.hb-checks .hb-inside__ck { flex: none; }
.hb-extbrowser { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; background: #0b1119; box-shadow: var(--shadow-lg); }
.hb-extbrowser__url {
  margin-left: 10px; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light); background: #0a0e14;
  border: 1px solid var(--border-color); border-radius: 6px; padding: 4px 10px; flex: 1;
}
.hb-extticker {
  display: flex; gap: 20px; padding: 8px 13px; background: #0a0e14;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap; overflow: hidden;
}
.hb-extticker span { color: var(--text-muted); }
.hb-extticker b { color: var(--text-dark); }
.hb-extticker .hb-up { color: var(--primary-orange); }
.hb-extbrowser__body { padding: 28px 16px; color: var(--text-light); font-size: 13px; text-align: center; }

/* ── final CTA ─────────────────────────────────────────────── */
.hb-final { text-align: center; padding: 64px 0; }
.hb-final h2 { font-size: clamp(26px, 3.8vw, 38px); margin: 0; color: var(--text-dark); }
.hb-final p { color: var(--text-muted); font-size: 16px; margin: 14px auto 24px; max-width: 44ch; }
.hb-final__fine { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text-light); }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hb-ext { grid-template-columns: 1fr; gap: 32px; }
  .hb-inside { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hb-g { grid-template-columns: 1fr; gap: 8px; }
  .hb-g__time { order: 3; }
  .hb-g__prices { overflow-x: auto; }
  .hb-tabs__note { display: none; }
  .hb-btab__lbl { display: none; }
  .hb-btab { justify-content: center; }
  .hb-btab__x { margin-left: 0; }
  .hb-browser--after .hb-btab { min-width: 0; flex: 1; }
  .hb-browser--after .hb-btab__lbl { display: block; }
  .hb-read { flex-wrap: wrap; }
  .hb-read__go { margin-left: 0; }
}
