/* DBS OUTLINES + CORNERS SYSTEM — ADOPTED 2026-11-28 (was the 2026-11-21
   outlines test; Brian adopted it as the permanent system, extended to
   tables/cards, and paired with the bigger-type restyle). The BSDB flyer
   edition's border + hard-shadow treatment ONLY, drawn in DBS's own ink
   color. No colors, no fonts, no graphics change: panels get the 3px
   outline + 8px hard shadow, game tiles 2.5px + 5px, buttons/chips/tabs
   2px + 3px, table containers and cards 2px + 5px, notes 2px + 4px.
   Loaded after styles.css; deleting this file and its <link> in
   index.html removes the system completely. Selectors carry the
   html.dbs-host prefix because the shared skin scopes its own panel
   rules html.bsdb (a class DBS also carries), which outranks
   unprefixed rules.
   CORNERS SWITCH (2026-11-28 mockup): every radius in this file reads
   a --crn-* variable. Default (no class) is SHARP: all 0, square
   corners with thick rules — the newspaper look. Add class="rounded"
   to <html> to compare the ROUNDED scale (panels/containers 14px,
   tiles/buttons/tabs/chips 10px, small bits 6px). Circular faces,
   dots and discs (border-radius:50%) are deliberately untouched by
   the switch — a headshot stays round. */
:root{--olsh:rgba(28,26,21,.82);--crn-lg:0;--crn-md:0;--crn-sm:0}
:root[data-theme="dark"]{--olsh:rgba(0,0,0,.55)}
html.dbs-host.rounded{--crn-lg:14px;--crn-md:10px;--crn-sm:6px}

/* ---- generated radius sweep (2026-11-28): every border-radius in
   styles.css, grouped by size class, so the switch above flips the
   whole site at once. 50% circles are excluded (stay round); BSDB-only
   rules are excluded. Hand rules below win ties (same values, except
   .gtile/.gchip, which are chips/tiles = --crn-md). ---- */
  html.dbs-host #frontSearchSlot .searchbox, html.dbs-host #milbDoor, html.dbs-host .appoll-wrap,
  html.dbs-host .awd-card, html.dbs-host .board, html.dbs-host .btree-page .rseries,
  html.dbs-host .cbacks, html.dbs-host .champ, html.dbs-host .custedit, html.dbs-host .drvsec,
  html.dbs-host .empty, html.dbs-host .fbb, html.dbs-host .flowsec, html.dbs-host .fpanel,
  html.dbs-host .gchip, html.dbs-host .gtile, html.dbs-host .hmboard, html.dbs-host .hmsec,
  html.dbs-host .hscard, html.dbs-host .ldctl, html.dbs-host .loading, html.dbs-host .milb-card,
  html.dbs-host .milb-ladder, html.dbs-host .milb-teamcard, html.dbs-host .nogames,
  html.dbs-host .panel, html.dbs-host .pvp, html.dbs-host .rcard, html.dbs-host .recappanel,
  html.dbs-host .rext, html.dbs-host .rhero, html.dbs-host .seasonover, html.dbs-host .skel-board,
  html.dbs-host .skel-chip, html.dbs-host .skel-gtile, html.dbs-host .szsec,
  html.dbs-host .tn-index-grid, html.dbs-host .tp-card, html.dbs-host .tp-sched,
  html.dbs-host .tp-stat, html.dbs-host .tp-tl-empty, html.dbs-host .tp-wcard, html.dbs-host .tsgap,
  html.dbs-host .twrap, html.dbs-host .ufc-bout, html.dbs-host .ufc-evrow, html.dbs-host .ufc-fact,
  html.dbs-host .ufc-fhead, html.dbs-host .ufc-hl-card, html.dbs-host .ufc-hrow,
  html.dbs-host .ufc-next-card, html.dbs-host .ufc-ob, html.dbs-host .ufc-rail-card,
  html.dbs-host .ufc-rrow, html.dbs-host .ufc-segstarts, html.dbs-host .ufc-tape,
  html.dbs-host .wssec, html.dbs-host section.hi-page section.hi-group,
  html.dbs-host section.hi-page section.streaks, html.dbs-host section.recap-wrap .rboard,
  html.dbs-host section.recap-wrap .rchart-wrap, html.dbs-host section.recap-wrap .rspot,
  html.dbs-host section.team .tp-head, html.dbs-host section.team .tp-tlwrap,
  html.dbs-host table.lines, html.dbs-host table.tstats,
  html.dbs-host.rscheme:not([data-theme="dark"]) .tn-index{border-radius:var(--crn-lg)}
  html.dbs-host #milbDoor a, html.dbs-host .alm-replay, html.dbs-host .bignum-chip,
  html.dbs-host .btn, html.dbs-host .bx2chip, html.dbs-host .bxteamtabs, html.dbs-host .bxvtabs,
  html.dbs-host .cats button, html.dbs-host .confsel select, html.dbs-host .crk-caps-more,
  html.dbs-host .crk-stepbtn, html.dbs-host .crk-tgl,
  html.dbs-host .cust-colorlab input[type="color"], html.dbs-host .cust-swatch,
  html.dbs-host .cust-team, html.dbs-host .defmorebtn, html.dbs-host .drvplaysbtn,
  html.dbs-host .drvqs, html.dbs-host .dw button, html.dbs-host .fbnote,
  html.dbs-host .fcust button, html.dbs-host .fjchip, html.dbs-host .flowtabs,
  html.dbs-host .fpresets button, html.dbs-host .fsin input, html.dbs-host .glf-colbtn,
  html.dbs-host .glf-match-controls select, html.dbs-host .glf-rbtn, html.dbs-host .glf-refresh,
  html.dbs-host .glf-tgl, html.dbs-host .gnav-btn, html.dbs-host .heatkey, html.dbs-host .hmpill,
  html.dbs-host .jchip, html.dbs-host .ldctl select, html.dbs-host .lp-toggle,
  html.dbs-host .lscopebtn, html.dbs-host .mast-hi a, html.dbs-host .milb-chips a,
  html.dbs-host .milb-more, html.dbs-host .milb-sel select, html.dbs-host .milb-t100,
  html.dbs-host .milb-tab, html.dbs-host .minib-box, html.dbs-host .minib-ws, html.dbs-host .mvb,
  html.dbs-host .p-chip, html.dbs-host .p-fb, html.dbs-host .p-stale,
  html.dbs-host .panel .confsel select, html.dbs-host .panel .pcat,
  html.dbs-host .panel.mob-collapsed .sec-toggle, html.dbs-host .panel.sec-collapsed .sec-toggle,
  html.dbs-host .pcat, html.dbs-host .pperiod, html.dbs-host .pstep-btn, html.dbs-host .ptodaybtn,
  html.dbs-host .pviewbtn, html.dbs-host .pvp-cell, html.dbs-host .recap-navb,
  html.dbs-host .recapbtn, html.dbs-host .retrybtn, html.dbs-host .rgame, html.dbs-host .rseg,
  html.dbs-host .rx-sport, html.dbs-host .searchbox, html.dbs-host .sec-toggle,
  html.dbs-host .sharebtn, html.dbs-host .sharebtn.sharemini, html.dbs-host .showallbtn,
  html.dbs-host .showmore, html.dbs-host .skel-cat, html.dbs-host .skel-more,
  html.dbs-host .skel-scope, html.dbs-host .smcover, html.dbs-host .smfullbtn, html.dbs-host .sztab,
  html.dbs-host .themebtn, html.dbs-host .tn-alldoor, html.dbs-host .tn-custom button,
  html.dbs-host .tn-date button, html.dbs-host .tn-date input[type="date"],
  html.dbs-host .tn-links a.tn-hof, html.dbs-host .topnav .tn-date, html.dbs-host .tp-echip,
  html.dbs-host .tp-hat, html.dbs-host .tp-jersey, html.dbs-host .tp-mode button,
  html.dbs-host .tp-morebtn, html.dbs-host .tp-presets button, html.dbs-host .ufc-chip,
  html.dbs-host .ufc-detbtn, html.dbs-host .ufc-ev-tag, html.dbs-host .ufc-interim,
  html.dbs-host .ufc-jump select, html.dbs-host .ufc-ob-clear, html.dbs-host .ufc-rankchip,
  html.dbs-host .ufc-rankmatch, html.dbs-host .ufc-sil, html.dbs-host .ufc-tab,
  html.dbs-host .ufc-winlab, html.dbs-host .wsallbtn, html.dbs-host .wsperiods,
  html.dbs-host .wsteambtn, html.dbs-host section.team .bsdb-formchip{border-radius:var(--crn-md)}
  html.dbs-host .awd-when, html.dbs-host .boxhead .driveline .dlrz, html.dbs-host .champ-mvp-tag,
  html.dbs-host .crk-chip, html.dbs-host .cust-swatch i, html.dbs-host .drvfur,
  html.dbs-host .drvleg i, html.dbs-host .drvseg, html.dbs-host .fbb-bar, html.dbs-host .flowleg i,
  html.dbs-host .gtag, html.dbs-host .minib-win, html.dbs-host .nhlbar-track,
  html.dbs-host .nhlbar-track i, html.dbs-host .nhlg-tag, html.dbs-host .pvp-sw,
  html.dbs-host .rseries-lg, html.dbs-host .rseries-win, html.dbs-host .sdot,
  html.dbs-host .smbar-lab i, html.dbs-host .smbar-track, html.dbs-host .smhandle::after,
  html.dbs-host .smwin-inner::before, html.dbs-host .smwin-range, html.dbs-host .sport-dot,
  html.dbs-host .stmark, html.dbs-host .tbar i, html.dbs-host .tmchip, html.dbs-host .tp-legend .sw,
  html.dbs-host .ts-pbar, html.dbs-host .ts-pbar i, html.dbs-host .tsg-bar, html.dbs-host .tsg-tick,
  html.dbs-host .tvlg, html.dbs-host .ufc-bs-fill, html.dbs-host .ufc-bs-track,
  html.dbs-host .ufc-cell, html.dbs-host .ufc-debut, html.dbs-host .ufc-fchip,
  html.dbs-host .ufc-hres, html.dbs-host .ufc-obar, html.dbs-host .ufc-sh-track,
  html.dbs-host .ufc-sh-track .ufc-bs-fill, html.dbs-host .ufc-tl, html.dbs-host .ufc-wbar,
  html.dbs-host section.hi-page section .sport-dot{border-radius:var(--crn-sm)}

/* ---- cap extension (NBA/MLB/NFL salary-cap pages; restyle gate Nov 28) ----
   The cap pages were not in the first gate: cap.css loads after this file and
   carries no box-shadow at all, so cap cards/chips rendered flat while the
   rest of the site carries hard shadows. These rules bring cap elements into
   the same system. Radii follow the same --crn-* vars (sharp when the switch
   is off, rounded when html.rounded is on); bars/tracks/rows (.cap-bar,
   .cap-g-track, .cap-ov-track, .cap-ov-row, .cap-pick) intentionally get NO
   shadow — the system does not shadow bars or rows. Badges get shadow +
   radius only: their variant border colors (green/brick/blue) must survive,
   so border width/color is never touched here. */

html.dbs-host .cap-pick-year, html.dbs-host .mcap-pick-year, html.dbs-host .ncap-pick-yearset,
html.dbs-host .cap-figs, html.dbs-host .mcap-figs, html.dbs-host .ncap-figs,
html.dbs-host .cap-tscroll, html.dbs-host .mcap-tscroll, html.dbs-host .ncap-tscroll{
  border:2px solid var(--ink); border-radius:var(--crn-lg); box-shadow:5px 5px 0 var(--olsh); }
html.dbs-host .cap-team-chip, html.dbs-host .mcap-team-chip, html.dbs-host .ncap-team-chip,
html.dbs-host .cap-sport-link, html.dbs-host .mcap-sport-link, html.dbs-host .ncap-tp-link{
  border:2px solid var(--ink); border-radius:var(--crn-md); box-shadow:3px 3px 0 var(--olsh); }
html.dbs-host .cap-badge, html.dbs-host .mcap-badge, html.dbs-host .ncap-badge{
  border-radius:var(--crn-sm); box-shadow:3px 3px 0 var(--olsh); }

/* panels */
html.dbs-host .sec,html.dbs-host .panel,html.dbs-host .homestrip,
html.dbs-host .fpanel,html.dbs-host .szsec,html.dbs-host .hmsec,
html.dbs-host .hmboard,html.dbs-host .flowsec,html.dbs-host .gamecapsule{
  border:3px solid var(--ink);border-radius:var(--crn-lg);box-shadow:8px 8px 0 var(--olsh)}
html.dbs-host .boxhead{box-shadow:inset 0 5px 0 var(--sorted),8px 8px 0 var(--olsh);
  border-radius:var(--crn-lg) var(--crn-lg) 0 0}

/* game tiles + strip chips */
html.dbs-host .gtile{border:2.5px solid var(--ink);border-radius:var(--crn-md);box-shadow:5px 5px 0 var(--olsh)}
html.dbs-host .gchip{border:2px solid var(--ink);border-radius:var(--crn-md);box-shadow:3px 3px 0 var(--olsh)}

/* buttons, chips, tabs */
html.dbs-host .pviewbtn,html.dbs-host .ptodaybtn,html.dbs-host .sharebtn,
html.dbs-host .freshbtn,html.dbs-host .sec-toggle,html.dbs-host .fbtn,
html.dbs-host .pstep-btn,html.dbs-host .lscope-btn,html.dbs-host .showmore,
html.dbs-host .custombtn,html.dbs-host .sztab{
  border:2px solid var(--ink);border-radius:var(--crn-md);box-shadow:3px 3px 0 var(--olsh)}
html.dbs-host .tn-date button{border:2px solid var(--ink);border-radius:var(--crn-md)}
html.dbs-host #tnDate{border:2px solid var(--ink);border-radius:var(--crn-md)}
html.dbs-host #customizeBtn{border-radius:var(--crn-md);box-shadow:3px 3px 0 var(--olsh)}
html.dbs-host select{border:2px solid var(--ink);border-radius:var(--crn-md)}
html.dbs-host .searchbox{border:2.5px solid var(--ink);border-radius:var(--crn-md)}
html.dbs-host .bxvtab{border:2px solid var(--ink);border-radius:var(--crn-md)}

/* notes */
html.dbs-host .fbnote{border:2px solid var(--ink);border-radius:var(--crn-md);box-shadow:4px 4px 0 var(--olsh)}

/* the tape rule under the nav */
html.dbs-host .topnav{border-bottom:3px solid var(--ink)}

/* ---- extension (2026-11-28): the same treatment on the table
   containers and cards the test missed — 2px ink border + 5px hard
   shadow. Radius comes from the sweep above (containers/cards are
   --crn-lg). No modals exist on the site (share uses an inline
   fallback panel, not a modal), so there is nothing modal to extend
   to. ---- */
  html.dbs-host .twrap, html.dbs-host table.lines, html.dbs-host table.tstats, html.dbs-host .tsgap,
  html.dbs-host .pvp, html.dbs-host .fbb, html.dbs-host .ldctl, html.dbs-host .hscard,
  html.dbs-host .champ, html.dbs-host .awd-card, html.dbs-host .minib-box, html.dbs-host .rgame,
  html.dbs-host .rcard, html.dbs-host .rext, html.dbs-host .rhero, html.dbs-host .milb-card,
  html.dbs-host .milb-teamcard, html.dbs-host .milb-ladder, html.dbs-host .ufc-evrow,
  html.dbs-host .ufc-rail-card, html.dbs-host .ufc-ob, html.dbs-host .ufc-bout,
  html.dbs-host .ufc-fhead, html.dbs-host .ufc-fact, html.dbs-host .ufc-next-card,
  html.dbs-host .ufc-hl-card, html.dbs-host .ufc-rrow, html.dbs-host .ufc-segstarts,
  html.dbs-host .ufc-hrow, html.dbs-host .tp-card, html.dbs-host .tp-wcard, html.dbs-host .tp-sched,
  html.dbs-host .tp-stat, html.dbs-host .tp-tl-empty, html.dbs-host .cbacks,
  html.dbs-host .custedit, html.dbs-host .drvsec, html.dbs-host .wssec, html.dbs-host .recappanel,
  html.dbs-host .seasonover, html.dbs-host .loading, html.dbs-host .empty, html.dbs-host .nogames,
  html.dbs-host .board{border:2px solid var(--ink);box-shadow:5px 5px 0 var(--olsh)}

/* ---- counter-block (2026-11-28): the shared skin also zeroes radii on
   DBS through html.bsdb rules (DBS html carries .bsdb too), and those
   rules outrank the sweep above wherever they are more specific. Each
   selector below restates the matching skin rule with the html.dbs-host
   prefix at the same specificity, so this file (loaded last) wins the
   tie and the switch reaches those elements too. ---- */
html.dbs-host:not([data-theme="dark"]) .sport.panel,
html.dbs-host:not([data-theme="dark"]) #frontSearchSlot .searchbox,
html.dbs-host section.hi-page section .board,
html.dbs-host section.hi-page section.cbacks,
html.dbs-host section.recap-wrap .rhero,
html.dbs-host section.recap-wrap .rcard,
html.dbs-host section.recap-wrap .rext,
html.dbs-host section.recap-wrap .btree-page .rseries,
html.dbs-host section.recap-wrap .rboard,
html.dbs-host section.recap-wrap .rchart-wrap,
html.dbs-host section.recap-wrap .rspot,
html.dbs-host section.team .tp-head,
html.dbs-host section.team .tp-sched,
html.dbs-host section.team .tp-stat,
html.dbs-host section.appoll:not(.appoll-compact),
html.dbs-host section.teams .tp-card,
html.dbs-host section.milb-sec .milb-card,
html.dbs-host section.milb-sec .milb-teamcard,
html.dbs-host section.milb-sec .milb-ladder{border-radius:var(--crn-lg)}
html.dbs-host:not([data-theme="dark"]) .panel .pcat,
html.dbs-host:not([data-theme="dark"]) .panel .pperiod,
html.dbs-host section.hi-page .fbnote,
html.dbs-host section.recap-wrap .recap-navb,
html.dbs-host section.appoll:not(.appoll-compact) .appoll-minbtn,
html.dbs-host section.teams .searchbox,
html.dbs-host section.milb-sec .milb-tab,
html.dbs-host section.milb-sec .milb-chips a,
html.dbs-host section.milb-sec .milb-more,
html.dbs-host section.milb-sec .milb-sel select{border-radius:var(--crn-md)}
