.bb-prediction-card,.bb-leaderboard{padding:clamp(22px,4vw,36px);margin:28px 0 34px;border:3px solid var(--brick-dark);border-radius:20px;background:linear-gradient(115deg,#521511,var(--brick));color:var(--brand-cream);box-shadow:6px 7px 0 var(--gold);font-family:var(--font-interface)}
.bb-eyebrow{font-size:13px;font-weight:900;letter-spacing:.12em;color:#93e5eb}
.bb-prediction-card h2,.bb-leaderboard h2{font-family:var(--font-display);font-size:clamp(27px,5vw,44px);margin:9px 0;font-weight:950;line-height:1;letter-spacing:-.055em;text-transform:uppercase}
.bb-prediction-card p,.bb-leaderboard p{font-size:17px;line-height:1.35}
.bb-deadline{color:#ffe3a0;font-weight:700}
.bb-primary,.bb-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:2px solid var(--gold-dark);border-radius:8px;padding:12px 20px;font-family:var(--font-interface);font-size:17px;font-weight:900;cursor:pointer;margin:6px 8px 6px 0;text-decoration:none;box-shadow:3px 4px 0 #0002}
.bb-primary{background:var(--gold);color:var(--brand-ink)}
.bb-secondary{background:var(--brand-cream);border-color:var(--brand-line);color:var(--brand-ink)}
.bb-primary:disabled{opacity:.5;cursor:not-allowed}
.bb-account-link{display:block;color:#ffe3a0;font-size:15px;margin-top:14px;font-weight:700;text-underline-offset:3px}
.bb-record strong{font-family:var(--font-display);font-size:38px;color:var(--gold)}
.bb-notice{padding:12px;background:#ffffff18;border:1px solid #ffffff35;border-radius:8px}
.bb-feed-status{font-size:14px;line-height:1.4;margin:24px 0;color:inherit;opacity:.85}
.bb-feed-status strong{color:var(--brick)}
.bb-view-switcher{margin:30px 0 0}
.bb-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:590px;margin:0 auto 22px;padding:6px;background:#d9ceb8;border:2px solid #b4a587;border-radius:12px;box-shadow:3px 4px 0 #0002}
.bb-view-tabs button{min-height:50px;padding:10px 18px;color:#4c4037;background:transparent;border:0;border-radius:8px;font-family:var(--font-display);font-size:clamp(17px,2.4vw,22px);font-weight:950;letter-spacing:-.02em;cursor:pointer;transition:background .15s,color .15s,transform .15s,box-shadow .15s}
.bb-view-tabs button[aria-selected=true]{color:#fffaf0;background:var(--brick);box-shadow:2px 3px 0 var(--gold-dark);transform:translateY(-1px)}
.bb-view-tabs button:focus-visible{outline:3px solid var(--basketball-turquoise,#0096b3);outline-offset:3px}
.bb-view-panel{min-width:0}
.bb-view-panel>.bb-prediction-card,.bb-view-panel>.bb-leaderboard{margin-top:0}
.bb-tab-empty{margin:28px 0;padding:24px;color:var(--muted);background:#fffaf0;border:2px solid #b4a587;border-radius:12px;font-weight:800;text-align:center}
.bb-leaderboard ol{list-style:none;padding:0;margin:20px 0 0}
.bb-leaderboard li{display:grid;grid-template-columns:32px minmax(0,1fr) 65px 65px;gap:8px;align-items:center;padding:14px 0;border-top:1px solid #ffffff35}
.bb-leaderboard li button{background:none;border:none;color:inherit;text-align:left;cursor:pointer;padding:0;overflow-wrap:anywhere;font-size:17px}
.bb-leaderboard li button strong{text-decoration:underline;text-underline-offset:4px}
.bb-leaderboard small{display:block;font-size:12px;color:#ffe4bf;margin-top:5px}
.bb-rank{color:var(--gold);font-weight:900}

/* Reuse the schedule cards and NoleGIFs typography throughout the ballot. */
.bb-dialog{--basketball-turquoise:#0096b3;--basketball-turquoise-dark:#006e86;position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 24px));max-width:none;max-height:94dvh;padding:0;background:var(--wall);color:var(--ink);border:3px solid var(--brick-dark);border-radius:20px;font-family:var(--font-interface);box-shadow:8px 9px 0 var(--gold),0 22px 90px #0008;overflow:auto;overscroll-behavior:contain}
.bb-dialog--ballot{width:min(1140px,calc(100% - 36px))}
.bb-dialog::backdrop{background:#21100cce;backdrop-filter:blur(3px)}
.bb-dialog-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:25px 30px 28px;color:var(--brand-cream);background:linear-gradient(115deg,#521511,var(--brick));border-bottom:5px solid var(--gold)}
.bb-dialog-brand{display:flex;align-items:center;gap:8px;font-family:var(--font-interface);font-size:14px;font-weight:900;letter-spacing:.08em}
.bb-dialog-brand>.brand-mark{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:5px;font-size:14px;border:2px solid var(--gold);background:var(--gold);color:var(--brand-ink)}
.bb-dialog-brand>span:last-child{color:#93e5eb}
.bb-dialog-header h2{font-family:var(--font-display);font-size:clamp(25px,5vw,49px);font-weight:950;line-height:1;margin:17px 0 0;letter-spacing:-.06em;text-transform:uppercase}
.bb-dialog-header h2 em{color:var(--gold);font-style:normal}
.bb-dialog-header>button{display:grid;place-items:center;flex-shrink:0;border:2px solid #ffffff60;background:#ffffff14;color:var(--brand-cream);border-radius:8px;min-width:44px;height:44px;font-size:22px;cursor:pointer}
.bb-dialog>p,.bb-dialog>.bb-saved-picks{margin:24px 26px}
.bb-dialog form{padding:0 26px}
.bb-ballot-summary{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto;gap:6px 24px;align-items:center;padding:16px 0 0;background:var(--wall);border-bottom:1px solid var(--line)}
.bb-ballot-summary>div{display:flex;flex-direction:column;gap:3px}
.bb-ballot-summary span{font-size:12px;font-weight:900;letter-spacing:.09em;color:var(--muted)}
.bb-ballot-summary strong{font-family:var(--font-display);font-size:clamp(29px,4vw,42px);font-weight:950;line-height:1;color:var(--brick-dark);letter-spacing:-.06em}
.bb-ballot-summary strong small{font-family:var(--font-interface);font-size:17px;font-weight:900;letter-spacing:0}
.bb-ballot-summary strong i{font-style:normal;color:var(--gold-dark)}
.bb-ballot-progress{align-items:flex-end}
.bb-ballot-progress strong{color:var(--ink)}
.bb-ballot-summary progress{grid-column:1/-1;width:100%;height:6px;appearance:none;border:0;background:var(--line);margin-top:8px;accent-color:var(--brick)}
.bb-ballot-summary progress::-webkit-progress-bar{background:var(--line)}
.bb-ballot-summary progress::-webkit-progress-value{background:var(--brick);transition:width .2s}
.bb-ballot-summary progress::-moz-progress-bar{background:var(--brick)}
.bb-ballot-instructions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px 20px;margin:16px 0 22px}
.bb-ballot-instructions p{margin:0;font-size:17px;font-weight:600}
.bb-venue-key{display:flex;gap:12px;font-size:13px;font-weight:800}
.bb-venue-key span{display:flex;align-items:center;gap:5px}
.bb-venue-key span::before{content:"";width:10px;height:10px;border:1px solid #5e150f;border-radius:2px;background:#861d17}
.bb-venue-key span:nth-child(2)::before{background:#e4ad22;border-color:#a6730d}
.bb-venue-key span:nth-child(3)::before{background:#fffaf0;border-color:var(--basketball-turquoise)}
.bb-ballot-calendar .basketball-month{margin:26px 0 34px}
.bb-ballot-calendar .basketball-month-heading h3{font-size:clamp(25px,4vw,35px)}
.bb-ballot-game{grid-template-columns:67px 28px 68px minmax(0,1fr) 115px 150px;gap:10px;padding:11px}
.bb-ballot-game .basketball-opponent-logo{width:64px;height:64px}
.bb-ballot-game .basketball-date{min-height:65px}
.bb-ballot-game .basketball-place{font-size:14px}
.bb-ballot-game .basketball-game-right strong{font-size:21px}
.bb-game-choice{min-width:0;padding-left:10px;border-left:1px solid currentColor}
.bb-choice-fieldset{border:0;padding:0;margin:0;min-width:0}
.bb-choice-slider{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;padding:3px;background:var(--brand-cream);border:2px solid #32231b;border-radius:30px;box-shadow:inset 0 2px 4px #0002;touch-action:pan-y}
.bb-choice-slider label{position:relative;display:grid;place-items:center;min-height:40px;cursor:pointer;border-radius:24px;color:var(--brand-ink);font-size:17px;font-weight:900;z-index:1}
.bb-choice-slider input{position:absolute;width:1px;height:1px;opacity:0}
.bb-choice-slider input:focus-visible+span{outline:3px solid var(--basketball-turquoise);outline-offset:5px;border-radius:3px}
.bb-choice-thumb{position:absolute;z-index:0;top:3px;left:3px;width:calc((100% - 6px)/2);height:calc(100% - 6px);border:1px solid var(--gold-dark);background:var(--gold);border-radius:24px;box-shadow:1px 2px 3px #0003;transition:transform .2s ease,opacity .15s}
.bb-choice--l .bb-choice-thumb{transform:translateX(100%)}
.bb-choice--empty .bb-choice-thumb{opacity:0}
.bb-choice--empty label{color:#776752}
.bb-choice-caption{display:block;margin-top:5px;text-align:center;font-size:11px;font-weight:800;letter-spacing:.03em}
.bb-choice-fieldset:disabled{opacity:.6}
.bb-choice-fieldset:disabled label{cursor:not-allowed}
.bb-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bb-ballot-footer{position:sticky;bottom:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;background:var(--wall);border-top:3px solid var(--brick);box-shadow:0 -8px 20px var(--wall)}
.bb-ballot-footer p{font-size:14px;line-height:1.2;font-weight:700;max-width:430px;margin:0}
.bb-ballot-footer .bb-primary{flex-shrink:0;margin:0}
.bb-saved-picks>div{display:grid;grid-template-columns:1fr 35px 20px;gap:10px;padding:10px 0;border-top:1px solid #a68b5650;font-size:15px}
.bb-correct{color:#42a86a;font-weight:900}.bb-incorrect{color:#de5a61;font-weight:900}
.bb-prediction-card a:focus-visible,.bb-prediction-card button:focus-visible,.bb-dialog button:focus-visible{outline:3px solid var(--basketball-turquoise,#0096b3);outline-offset:3px}
.basketball-game-right small{display:block;font-size:10px;white-space:normal}
.basketball-game-right strong{white-space:normal;overflow-wrap:anywhere}
html[data-theme=dark] .bb-ballot-calendar .basketball-month-heading h3,html[data-theme=dark] .bb-ballot-summary strong{color:#f3a497}
@media(max-width:950px){
  .bb-ballot-game{grid-template-columns:64px 25px 62px minmax(0,1fr) 105px}
  .bb-game-choice{grid-column:4/6;padding-left:0;border-left:0;max-width:230px;margin-top:5px}
}
@media(max-width:650px){
  .bb-view-switcher{margin-top:24px}
  .bb-view-tabs{gap:5px;margin-bottom:18px;padding:5px}
  .bb-view-tabs button{min-height:44px;padding:8px 7px;font-size:16px}
  .bb-dialog--ballot{width:calc(100% - 16px);max-height:96dvh;border-radius:15px;box-shadow:3px 4px 0 var(--gold)}
  .bb-dialog-header{padding:20px 15px 22px;gap:10px}
  .bb-dialog-header h2{font-size:clamp(26px,7vw,39px)}
  .bb-dialog-brand{font-size:12px;gap:6px}
  .bb-dialog form{padding:0 12px}
  .bb-ballot-summary{padding-top:13px;gap:6px 14px}
  .bb-ballot-summary span{font-size:10px}
  .bb-ballot-game{grid-template-columns:52px 20px 50px minmax(0,1fr);gap:6px;padding:10px 8px}
  .bb-ballot-game .basketball-opponent-logo{width:49px;height:49px}
  .bb-ballot-game .basketball-date{min-height:53px}
  .bb-ballot-game .basketball-place{font-size:12px}
  .bb-ballot-game .basketball-game-right{grid-column:4}
  .bb-ballot-game .basketball-game-right strong{font-size:17px}
  .bb-game-choice{grid-column:1/-1;max-width:none;border-left:0;border-top:1px solid #ffffff50;padding-top:9px;margin-top:4px;display:grid;grid-template-columns:1fr}
  .bb-choice-fieldset{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
  .bb-choice-caption{width:72px;margin:0;font-size:11px}
  .bb-choice-slider label{min-height:43px}
  .bb-ballot-footer{flex-direction:column;align-items:stretch;gap:8px;padding:10px 0}
  .bb-ballot-footer p{font-size:12px;text-align:center;max-width:none}
  .bb-ballot-footer .bb-primary{width:100%;min-height:47px}
}
@media(max-width:480px){
  .bb-leaderboard li{grid-template-columns:26px minmax(0,1fr) 55px 57px;font-size:14px}
  .bb-primary,.bb-secondary{width:100%}
  .bb-account-link{padding:8px 0}
  .bb-prediction-card,.bb-leaderboard{box-shadow:4px 5px 0 var(--gold)}
}
@media(prefers-reduced-motion:reduce){.bb-choice-thumb,.bb-ballot-summary progress::-webkit-progress-value{transition:none}}
