/* ============ Sooners Vegas League — season.css ============
   In-season pieces: home hero (season mode), live standings, Race to the Poo,
   and the whole Game Week page (matchups, pick'em, trash talk). Loaded by
   index.html and week.html on top of styles.css. */

/* ---------- home hero, season mode ---------- */
.hero-live { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-stat {
  background: var(--surface); border: 1px solid var(--edge); border-radius: 12px;
  padding: 12px 18px; min-width: 120px; text-align: center;
}
.hero-stat b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--ink); letter-spacing: 1px; }
.hero-stat span { display: block; font-size: 10.5px; letter-spacing: 1.6px; color: var(--ink-3); margin-top: 5px; text-transform: uppercase; }
.hero-cta { margin-top: 22px; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #0d0c0a; font-weight: 800; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; letter-spacing: .3px; transition: transform .12s, background .12s;
}
.btn-gold:hover { background: #f0c95a; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--ink-2); border: 1px solid var(--edge); font-weight: 700;
  padding: 9px 16px; border-radius: 999px; text-decoration: none; cursor: pointer; font-size: 13.5px; font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-text); margin-right: 6px; animation: pulse 1.4s infinite; vertical-align: middle; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- matchup strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.strip-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px;
  transition: border-color .12s;
}
.strip-card:hover { border-color: var(--gold); }
.strip-row { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; color: var(--ink-2); }
.strip-row b { font-variant-numeric: tabular-nums; color: var(--ink); }
.strip-row.won { color: var(--ink); } .strip-row.won b { color: var(--green-text); }
.strip-row.lost { color: var(--ink-3); } .strip-row.lost b { color: var(--ink-3); }
.strip-status { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

/* ---------- standings ---------- */
.std-div { margin-bottom: 18px; }
.std-div-name { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; }
.std-table tr.cut td { border-bottom: 2px dashed rgba(229,185,60,.45); }
.std-table td.good { color: var(--green-text); } .std-table td.bad { color: #e66767; }
.std-foot { color: var(--ink-3); font-size: 12.5px; margin-top: 8px; }

.pr-list { display: flex; flex-direction: column; gap: 10px; }
.pr-row { display: grid; grid-template-columns: 28px 1fr 2fr 64px; align-items: center; gap: 10px; font-size: 13.5px; }
.pr-rank { text-align: center; color: var(--ink-3); font-weight: 700; }
.pr-name .dim { color: var(--ink-3); font-size: 12px; }
.pr-bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; border: 1px solid var(--edge); }
.pr-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 999px; }
.pr-pts { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

.poo-list { display: flex; flex-direction: column; gap: 8px; }
.poo-list.preview { opacity: .72; }
.poo-row { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--edge); font-size: 13.5px; }
.poo-row.poo-lead { border-color: rgba(138,107,63,.7); background: rgba(138,107,63,.12); }
.poo-rank { font-size: 18px; text-align: center; }
.poo-name .sub { display: block; color: var(--ink-3); font-size: 12px; }
.poo-rec { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Game Week page ---------- */
.gw-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.gw-top .page-sub { margin-bottom: 0; }
.week-nav { display: flex; align-items: center; gap: 8px; }
.week-nav button {
  background: var(--surface); border: 1px solid var(--edge); color: var(--ink); width: 38px; height: 38px; border-radius: 10px;
  font-size: 18px; cursor: pointer; font-family: var(--font-body);
}
.week-nav button:disabled { opacity: .3; cursor: default; }
.week-nav button:not(:disabled):hover { border-color: var(--gold); color: var(--gold); }
.week-nav .wk { font-family: var(--font-display); font-size: 26px; letter-spacing: 2px; min-width: 110px; text-align: center; }
.week-nav .wk small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 1.2px; color: var(--ink-3); text-transform: uppercase; }

.me-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 22px;
}
.me-bar label { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.me-bar .select { min-width: 200px; }
.me-bar .me-rec { color: var(--ink-2); font-size: 13.5px; margin-left: auto; }
.me-bar .me-rec b { color: var(--gold); }
.me-bar.nag { border-color: rgba(229,185,60,.6); }

.gw-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; position: sticky; top: 66px; z-index: 20; background: rgba(13,12,10,.92); backdrop-filter: blur(8px); padding: 8px 0; }
.gw-tab {
  background: var(--surface); border: 1px solid var(--edge); color: var(--ink-2); font-weight: 700; font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font-body);
}
.gw-tab.active { background: var(--gold); color: #0d0c0a; border-color: var(--gold); }
.gw-tab .n { display: inline-block; background: rgba(0,0,0,.25); border-radius: 999px; padding: 0 7px; font-size: 11px; margin-left: 6px; }
.gw-tab:not(.active) .n { background: var(--surface-2); color: var(--ink-3); }
.gw-panel.hidden { display: none; }

/* matchup cards */
.mu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mu {
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 14px 16px 12px; position: relative;
}
.mu.live { border-color: rgba(53,192,106,.45); }
.mu.final { border-color: var(--edge); }
.mu-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.mu-head .lock { color: var(--gold); font-weight: 700; }
.mu-head .lock.locked { color: var(--ink-3); }
.mu-head .lock.soon { color: #e66767; }
.mu-team {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: var(--surface-2);
  margin-bottom: 8px; cursor: pointer; transition: border-color .12s, background .12s; text-align: left; width: 100%; color: var(--ink); font-family: var(--font-body);
}
.mu-team:hover { border-color: rgba(229,185,60,.5); }
.mu-team.nopick { cursor: default; }
.mu-team.nopick:hover { border-color: transparent; }
.mu-team.picked { border-color: var(--gold); background: var(--gold-dim); }
.mu-team.picked .mu-name::before { content: "✓ "; color: var(--gold); font-weight: 800; }
.mu-team.won .mu-score { color: var(--green-text); }
.mu-team.lost { opacity: .6; }
.mu-team.won.picked { border-color: var(--green-text); }
.mu-team.lost.picked { border-color: var(--red); background: rgba(208,59,59,.08); }
.mu-team.lost.picked .mu-name::before { content: "✗ "; color: var(--red); }
.mu-name { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.mu-owner { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.mu-owner .rec { color: var(--ink-2); }
.mu-score { font-family: var(--font-display); font-size: 30px; letter-spacing: 1px; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.mu-proj { display: block; font-family: var(--font-body); font-size: 10.5px; color: var(--ink-3); letter-spacing: .5px; }
.mu-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.consensus { flex: 1 1 160px; display: flex; align-items: center; gap: 8px; }
.consensus .bar { flex: 1; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface-2); display: flex; border: 1px solid var(--edge); }
.consensus .bar i { display: block; height: 100%; }
.consensus .bar .a { background: #6f8fc9; } .consensus .bar .h { background: var(--gold-soft); }
.consensus .pct { font-variant-numeric: tabular-nums; min-width: 32px; }
.tag { display: inline-block; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.tag.upset { background: rgba(208,59,59,.18); color: #ff8c8c; }
.tag.chalk { background: var(--surface-2); color: var(--ink-3); }
.tag.mine { background: var(--gold-dim); color: var(--gold); }
.pick-hint { font-size: 12.5px; color: var(--ink-3); margin: -8px 0 16px; }
.pick-hint b { color: var(--gold); }

/* leaderboard */
.lb-table td.name b { display: block; }
.lb-table td.name .sub { display: block; color: var(--ink-3); font-size: 12px; }
.lb-table .wk-dots { display: inline-flex; gap: 3px; }
.lb-table .wk-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--surface-2); border: 1px solid var(--edge); }
.lb-table .wk-dots i.y { background: var(--green-text); border-color: var(--green-text); }
.lb-table .wk-dots i.n { background: var(--red); border-color: var(--red); }
.lb-table .wk-dots i.p { background: var(--gold-dim); border-color: var(--gold); }
.lb-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.award { background: var(--surface-2); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; }
.award .a-ico { font-size: 22px; }
.award .a-title { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-top: 4px; }
.award .a-who { font-weight: 800; font-size: 15px; margin-top: 2px; }
.award .a-sub { font-size: 12px; color: var(--ink-3); }

/* trash talk */
.talk-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.talk-form textarea {
  width: 100%; min-height: 78px; resize: vertical; background: var(--surface-2); color: var(--ink); border: 1px solid var(--edge);
  border-radius: 12px; padding: 12px 14px; font-family: var(--font-body); font-size: 14.5px; line-height: 1.45;
}
.talk-form textarea:focus { outline: none; border-color: var(--gold); }
.talk-form .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.talk-form .count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.talk-form .count.over { color: #e66767; font-weight: 700; }
.talk-form button.post { background: var(--gold); color: #0d0c0a; border: none; font-weight: 800; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-size: 14px; }
.talk-form button.post:disabled { opacity: .45; cursor: default; }
.talk-list { display: flex; flex-direction: column; gap: 10px; }
.post { background: var(--surface-2); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; }
.post.reply { margin-left: 28px; border-left: 3px solid rgba(229,185,60,.4); }
.post.me { border-color: rgba(229,185,60,.35); }
.post-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.post-head b { color: var(--gold); font-size: 13px; }
.post-head .del { background: none; border: none; color: var(--ink-3); cursor: pointer; font-size: 12px; font-family: var(--font-body); }
.post-head .del:hover { color: #e66767; }
.post-text { font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.post-text .m { color: var(--gold); font-weight: 700; }
.post-foot { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.react {
  background: var(--surface); border: 1px solid var(--edge); color: var(--ink-2); border-radius: 999px; padding: 3px 9px; font-size: 13px; cursor: pointer; font-family: var(--font-body);
}
.react.on { border-color: var(--gold); background: var(--gold-dim); color: var(--ink); }
.react .c { font-size: 11.5px; margin-left: 4px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.react.add { color: var(--ink-3); }
.react-picker { display: inline-flex; gap: 4px; }
.reply-btn { background: none; border: none; color: var(--ink-3); font-size: 12px; cursor: pointer; font-family: var(--font-body); margin-left: auto; }
.reply-btn:hover { color: var(--gold); }
.talk-empty { text-align: center; color: var(--ink-3); padding: 28px 10px; }
.talk-empty b { color: var(--ink-2); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--surface); border: 1px solid var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; opacity: 0; transition: all .2s; z-index: 100; pointer-events: none; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--red); }

.commish-bar { font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.commish-bar button { background: none; border: none; color: var(--ink-3); cursor: pointer; text-decoration: underline dotted; font-family: var(--font-body); font-size: 12px; }
.commish-bar .on { color: var(--gold); font-weight: 700; }

@media (max-width: 640px) {
  .gw-tabs { top: 58px; }
  .mu-grid { grid-template-columns: 1fr; }
  .pr-row { grid-template-columns: 24px 1fr 1.2fr 56px; }
  .hero-stat { min-width: 44%; }
  .me-bar .me-rec { margin-left: 0; }
  .post.reply { margin-left: 14px; }
}
