
:root{
  --ground:#B7A184; --panel:#E8D8BC; --panel-2:#D7C19F;
  --ink:#291D17; --ink-2:#50392B; --muted:#755E4B; --line:#A98C67;
  --leather:#D5A62B; --chalk:#86192A; --bone:#FFF4D8;
  --pos:#2E6B45; --neg:#B3352C;
  --shadow:0 2px 5px rgba(16,35,62,.09),0 12px 30px rgba(16,35,62,.08);
  --banner-h:64px; --side-w:200px;
  --banner-bg:linear-gradient(115deg,#4E1717 0%,#741321 56%,#421C16 100%); --banner-line:#D5A62B;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:16px; line-height:1.6; -webkit-text-size-adjust:100%;
}
a{color:var(--chalk); text-decoration:none;}
a:hover{text-decoration:underline;}
a:focus-visible,button:focus-visible,select:focus-visible{
  outline:2px solid var(--leather); outline-offset:2px; border-radius:3px;}

/* ---- banner ---- */
.banner{background:var(--banner-bg); border-bottom:3px solid var(--banner-line);
        position:sticky; top:0; z-index:40; height:var(--banner-h);
        display:flex; align-items:center; padding:0 16px; gap:14px;}
.banner-brand{display:flex; align-items:center; gap:11px; text-decoration:none; flex:none;}
.banner-brand:hover{text-decoration:none;}
.banner-brand svg{width:42px; height:42px; color:#E3A33A; flex:none; filter:drop-shadow(0 2px 5px rgba(0,0,0,.2));}
.brand-text{display:flex; align-items:baseline; gap:13px; line-height:1; white-space:nowrap;}
.brand-primary{font-family:Oswald,sans-serif; font-weight:600; font-size:32px;
          color:var(--bone); letter-spacing:.005em;}
.brand-primary em{font-style:normal; color:var(--leather);}
.brand-secondary{font-family:Oswald,sans-serif; font-weight:600; font-size:26px;
          letter-spacing:.02em; text-transform:uppercase; color:#EAF4FF;}
.founder-banner{position:absolute;left:58%;transform:translateX(-50%);color:#071B36;background:#FFD05A;
  border:2px solid #FFF0B5;border-radius:999px;padding:10px 20px;font:600 14px/1.15 Oswald,sans-serif;
  letter-spacing:.08em; text-transform:uppercase; text-decoration:none; box-shadow:0 5px 16px rgba(0,0,0,.2)}
.founder-banner:hover{color:#071B36;text-decoration:none;background:#FFD36D}
.banner-right{display:flex; align-items:center; gap:10px; margin-left:auto;}
.credits{font-family:"IBM Plex Mono",monospace; font-size:12.5px; color:var(--bone);
         background:rgba(237,234,227,.1); border:1px solid rgba(237,234,227,.18);
         border-radius:999px; padding:5px 12px; white-space:nowrap; flex:none;}
.credits .n{color:var(--leather); font-weight:500;}
.top-credit-tank{position:relative;width:150px;padding:7px 10px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.28);border-radius:10px;color:white;cursor:help}
.top-credit-line{display:flex;justify-content:space-between;gap:8px;font:600 11px/1.1 "IBM Plex Mono",monospace}.top-credit-tank .tank-track{height:5px;margin-top:6px;background:rgba(255,255,255,.22)}
.credit-popover{display:none;position:absolute;right:0;top:calc(100% + 9px);width:245px;background:white;color:#304866;border:1px solid #AFC2D9;border-radius:9px;padding:10px 12px;box-shadow:var(--shadow);font-size:12px;line-height:1.45;text-align:left;z-index:55}
.top-credit-tank:hover .credit-popover,.top-credit-tank:focus .credit-popover,.top-credit-tank:focus-within .credit-popover{display:block}
.account-btn{background:transparent; border:1px solid rgba(237,234,227,.18);
             border-radius:999px; color:var(--bone); width:34px; height:34px;
             display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;}
.account-btn:hover{background:rgba(237,234,227,.08);}
.acct-menu{position:relative;}
.acct-drop{position:absolute; right:0; top:calc(100% + 8px); min-width:170px;
           background:var(--panel); border:1px solid var(--line); border-radius:9px;
           box-shadow:var(--shadow); padding:6px; display:none; z-index:50;}
.acct-menu.open .acct-drop{display:block;}
.acct-drop a{display:block; padding:8px 11px; border-radius:6px; font-size:14px;
             color:var(--ink-2); text-decoration:none;}
.acct-drop a:hover{background:var(--panel-2); text-decoration:none;}
.hamburger{display:none; background:transparent; border:1px solid rgba(237,234,227,.18);
           border-radius:8px; width:38px; height:34px; cursor:pointer; padding:0;
           flex-direction:column; align-items:center; justify-content:center; gap:4px;}
.hamburger span{display:block; width:18px; height:2px; background:var(--bone);}

/* ---- shell + sidebar ---- */
.shell{display:grid; grid-template-columns:var(--side-w) 1fr; align-items:start;}
.side{background:#3B2B22; border-right:2px solid #D5A62B;
      position:sticky; top:var(--banner-h); padding:10px 0;}
.side-link{display:block; font-family:Oswald,sans-serif; font-size:14px;
      letter-spacing:.03em; color:#F1DFC0; padding:6px 16px;
      border-left:3px solid transparent; text-decoration:none; width:100%;
      text-align:left; background:transparent; border-top:none; border-right:none;
      border-bottom:none; cursor:pointer;}
.side-link:hover{background:#513A2D; text-decoration:none;}
.side-link.on{color:#FFE19A; border-left-color:var(--leather); font-weight:500;
              background:#5C1721;}
.side-section{margin-top:2px;}
.side-section-label{font-family:Oswald,sans-serif; font-size:12px; letter-spacing:.12em;
      text-transform:uppercase; color:#D5A62B; font-weight:600;
      padding:10px 16px 3px;}
.side-link.sub, .side-parent.sub .parent-btn{padding-left:28px; font-size:13.5px;}
.parent-btn{display:flex; align-items:center; justify-content:space-between;}
.caret{width:7px; height:7px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
       transform:rotate(-45deg); margin-left:8px; flex:none;}
.side-parent{position:relative;}
.tray{display:none; background:var(--panel); border:1px solid var(--line); border-radius:10px;
     box-shadow:var(--shadow); padding:8px; z-index:45;}
.tray-link{display:block; padding:6px 11px; border-radius:6px; text-decoration:none;
           font-family:Oswald,sans-serif; font-size:13.5px; color:var(--ink-2);}
.tray-link:hover{background:var(--panel-2); text-decoration:none;}
.tray-link.on{color:var(--leather);}
.tray-link .sub{display:block; font-family:"IBM Plex Sans",sans-serif; font-size:12px;
                font-weight:400; letter-spacing:0; color:var(--muted); margin-top:1px;}

@media(min-width:761px){
  .side-parent:hover .tray, .side-parent:focus-within .tray, .side-parent.js-open .tray{
    display:block; position:absolute; left:100%; top:0; min-width:260px; max-width:320px;}
  .side-parent.open > .parent-btn .caret{transform:rotate(-135deg);}
}

.backdrop{display:none;}

@media(max-width:760px){
  .hamburger{display:flex;}
  .shell{display:block;}
  .side{position:fixed; top:var(--banner-h); left:-100%; width:82vw; max-width:320px;
        height:calc(100vh - var(--banner-h)); overflow-y:auto; z-index:60;
        transition:left .22s ease; box-shadow:var(--shadow);}
  body.drawer-open .side{left:0;}
  body.drawer-open{overflow:hidden;}
  .backdrop{display:none; position:fixed; inset:var(--banner-h) 0 0 0; z-index:55;
            background:rgba(0,0,0,.35);}
  body.drawer-open .backdrop{display:block;}
  .side-link, .parent-btn{padding:13px 16px; font-size:14.5px;}
  .side-parent .tray{display:none !important; position:static; box-shadow:none;
                     border:none; border-radius:0; padding:0 0 0 14px;
                     max-height:0; overflow:hidden;}
  .side-parent.open .tray{display:block !important; max-height:2000px;}
  .tray-link{padding:12px 14px; font-size:13.5px;}
  .brand-secondary{display:none;}
  .banner{padding:0 10px; gap:8px;}
  .banner-brand{gap:8px;}
  .banner-brand svg{width:26px; height:26px;}
  .brand-primary{font-size:16px;}
  .banner-right{gap:6px;}
  .credits .lbl{display:none;}
  .credits{padding:5px 9px;}
}
@media(max-width:400px){
  .banner-brand .brand-text{display:none;}
}

.fresh{background:var(--panel-2); border-bottom:1px solid var(--line);
       font-family:"IBM Plex Mono",monospace; font-size:12.5px; color:var(--muted);}
.fresh-in{max-width:1000px; margin:0 auto; padding:7px 16px;
          display:flex; gap:8px 20px; flex-wrap:wrap;}

.wrap{max-width:1180px; width:100%; margin:0 auto; padding:26px 18px 70px;}
@media(min-width:760px){ .wrap{padding:36px 24px 90px;} }

h1{font-family:Oswald,sans-serif; font-size:clamp(28px,6.4vw,42px); font-weight:600;
   line-height:1.06; margin:0 0 8px; text-wrap:balance;}
h2{font-family:Oswald,sans-serif; font-size:clamp(20px,4.2vw,26px); font-weight:600;
   margin:0; letter-spacing:.01em;}
h3{font-family:Oswald,sans-serif; font-size:15px; letter-spacing:.08em;
   text-transform:uppercase; color:var(--muted); font-weight:600; margin:0;}
p{margin:0 0 14px; color:var(--ink-2);}
.lede{font-size:18px; max-width:60ch;}
.eyebrow{font-family:Oswald,sans-serif; font-size:13px; letter-spacing:.15em;
         text-transform:uppercase; color:var(--muted); margin:0 0 8px; font-weight:500;}
section{margin-top:34px;}
.sec-head{border-bottom:1px solid var(--line); padding-bottom:9px; margin-bottom:16px;
          display:flex; gap:12px; align-items:baseline; flex-wrap:wrap;}
.sec-head .hint{font-size:13.5px; color:var(--muted);}

/* ---- cards & tables ---- */
.card{background:var(--panel); border:1px solid #A8BBD2; border-top-color:#EAF1F9; border-radius:12px;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 0 #8EA5C0,0 8px 22px rgba(16,35,62,.16); overflow:hidden;}
.card > h3{padding:11px 14px; border-bottom:1px solid var(--line);
           background:var(--panel-2);}
.pad{padding:16px 18px;}
.scroll{overflow-x:auto; -webkit-overflow-scrolling:touch;}
table{border-collapse:collapse; width:100%; font-size:14.5px;}
th{font-family:Oswald,sans-serif; font-size:12.5px; letter-spacing:.07em;
   text-transform:uppercase; color:var(--muted); font-weight:600; text-align:right;
   padding:9px 11px; border-bottom:1px solid var(--line); white-space:nowrap;}
th.l,td.l{text-align:left;}
td{padding:8px 11px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap;}
tr:last-child td{border-bottom:0;}
tbody tr:hover{background:var(--panel-2);}
.rk{color:var(--muted); width:36px; text-align:right; font-variant-numeric:tabular-nums;}
.nm{font-weight:500; color:var(--ink);}
.num{font-family:"IBM Plex Mono",monospace; font-variant-numeric:tabular-nums;}
.dim{color:var(--muted);} .pos{color:var(--pos);} .neg{color:var(--neg);}

.grid{display:grid; gap:14px;}
@media(min-width:700px){ .grid.two{grid-template-columns:1fr 1fr;} }
.tiles{display:grid; gap:10px; grid-template-columns:repeat(auto-fill,minmax(126px,1fr));}
.tile{background:var(--panel); border:1px solid var(--line); border-radius:8px;
      padding:11px 12px; box-shadow:var(--shadow);}
.tile a{font-weight:500;}
.tile .sub{font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--muted);}

.note{border-left:3px solid var(--leather); background:var(--panel);
      padding:13px 15px; border-radius:0 8px 8px 0; box-shadow:var(--shadow); margin:0 0 16px;}
.note.blue{border-left-color:var(--chalk);}
.note .lbl{font-family:Oswald,sans-serif; font-size:12.5px; letter-spacing:.1em;
           text-transform:uppercase; color:var(--leather); display:block;
           margin-bottom:4px; font-weight:600;}
.note.blue .lbl{color:var(--chalk);}
.note p:last-child{margin-bottom:0;}

.prompt{font-family:"IBM Plex Mono",monospace; font-size:13px; background:var(--panel-2);
        border:1px dashed var(--line); border-radius:7px; padding:11px 13px;
        color:var(--ink-2); overflow-x:auto; white-space:pre-wrap; word-break:break-word;}
.story-page{max-width:880px;margin:0 auto}.story-page>section{margin-top:22px}.story-page .pad{font-size:17px;line-height:1.72}.story-page .pad p:last-child{margin-bottom:0}

.chips{display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px;}
.chip{font-family:Oswald,sans-serif; font-size:13px; letter-spacing:.05em;
      border:1px solid var(--line); background:var(--panel); color:var(--ink-2);
      padding:5px 11px; border-radius:999px;}
.chip.on{background:var(--leather); border-color:var(--leather); color:#FFF3EA;}
a.chip:hover{border-color:var(--leather); color:var(--leather); text-decoration:none;}
a.chip.on:hover{color:#FFF3EA;}

footer{background:var(--banner-bg); color:#8B939C; margin-top:50px;}
.foot-in{max-width:1000px; margin:0 auto; padding:24px 16px 30px; font-size:13.5px;}
.foot-in a{color:#A6AEB7;}
.foot-in .legal{margin-top:10px; font-size:12.5px; line-height:1.55;}

/* ---- right rail (home page only) ---- */
body.has-rail .shell{width:100%;margin:0;grid-template-columns:200px minmax(0,1fr) 330px;}
body.has-rail .wrap{width:100%;max-width:none;margin:0;padding:0;}
.right-rail{border-left:2px solid #5B3D2C; background:#87694F; padding:0 0 10px; min-height:100%;}
.right-rail h1{font-size:22px; margin-bottom:6px;}
.right-rail .lede{font-size:14.5px;}
.right-rail section{margin-top:22px;}
@media(max-width:1080px){ body.has-rail .shell{width:min(100%,900px);grid-template-columns:200px minmax(0,700px);}
  .right-rail{grid-column:2;width:330px;justify-self:end;border-left:1px solid var(--line);border-top:1px solid var(--line);} }
@media(max-width:760px){ body.has-rail .shell{display:block;width:100%;}.right-rail{width:auto;} }

/* ---- live score ticker ---- */
.ticker{background:#64111D; border-bottom:3px solid #D5A62B; overflow:hidden;
        position:relative; height:44px; box-shadow:0 4px 14px rgba(8,35,70,.18)}
.ticker-track{display:flex; gap:0; white-space:nowrap; position:absolute; will-change:transform;
        animation:ticker-scroll 60s linear infinite;}
.ticker:hover .ticker-track{animation-play-state:paused;}
@keyframes ticker-scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
.ticker-item{display:inline-flex; align-items:center; gap:8px; padding:0 25px; height:44px;
        font-family:"IBM Plex Mono",monospace; font-size:14px; color:var(--bone);
        border-right:1px solid rgba(237,234,227,.15);}
.ticker-item b{color:var(--bone); font-weight:600;}
.ticker-item .tk-live{color:var(--leather); font-weight:600;}

/* ---- home dashboard ---- */
.dash{display:grid; grid-template-columns:44% 56%; gap:0; align-items:start;}
@media(max-width:900px){ .dash{grid-template-columns:1fr;} }
.dash-left{padding-right:22px; border-right:1px solid var(--line); text-align:center;}
.dash-right{padding-left:22px; text-align:center;}
@media(max-width:900px){ .dash-left{border-right:none; padding-right:0; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:20px;} .dash-right{padding-left:0;} }
.dash-panel{margin-bottom:20px;}
.dash-box{border:1px solid var(--line); border-radius:10px; background:var(--panel);
        box-shadow:var(--shadow); padding:14px 16px;}
.dash-pair{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:20px;}
@media(max-width:520px){ .dash-pair{grid-template-columns:1fr;} }
.dash-pair .dash-panel{margin-bottom:0;}
.dash-panel-head{display:flex; align-items:center; justify-content:center; position:relative;
        margin-bottom:8px;}
.dash-panel-head h3{font-size:13px;}
.dash-nav{display:flex; gap:4px; position:absolute; right:0;}
.dash-nav button{width:24px; height:24px; border-radius:6px; border:1px solid var(--line);
        background:var(--panel); color:var(--ink-2); cursor:pointer; font-size:13px; line-height:1;}
.dash-nav button:disabled{opacity:.35; cursor:default;}
.dash-nav button:not(:disabled):hover{background:var(--panel-2);}
.dash-label{font-family:"IBM Plex Mono",monospace; font-size:11.5px; color:var(--muted); margin-right:6px;}
.std-conf-label{font-family:Oswald,sans-serif; font-size:12.5px; letter-spacing:.1em;
        text-transform:uppercase; color:var(--leather); font-weight:600; margin:10px 0 6px;}
.std-grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:8px 14px;}
@media(max-width:640px){ .std-grid-4{grid-template-columns:repeat(2,1fr);} }
.standings-div{margin-bottom:12px;}
.standings-div h4{font-family:Oswald,sans-serif; font-size:11px; letter-spacing:.06em;
        text-transform:uppercase; color:var(--muted); margin:0 0 4px; font-weight:600;}
.standings-row{display:flex; justify-content:space-between; gap:6px; font-size:12.5px; padding:2px 0;
        border-bottom:1px solid var(--line);}
.standings-row .rec{font-family:"IBM Plex Mono",monospace; color:var(--muted);}
.rank-row{display:flex; justify-content:center; gap:10px; font-size:13.5px; padding:4px 0;
        border-bottom:1px solid var(--line);}
.rank-row .rk{color:var(--muted); width:20px; flex:none; text-align:right;}
.rank-row span:nth-child(2){min-width:130px; text-align:left; flex:none;}

/* ---- scoreboards ---- */
.scoreboards-lg{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:18px;}
@media(max-width:700px){ .scoreboards-lg{grid-template-columns:1fr;} }
.sb-card{border:2px solid var(--leather); border-radius:12px; background:var(--panel);
        box-shadow:var(--shadow); overflow:hidden;}
.sb-card-title{background:var(--ink); color:var(--bone); font-family:Oswald,sans-serif;
        font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; padding:8px 14px;
        border-bottom:2px solid var(--leather);}
.sb-meta{font-family:"IBM Plex Mono",monospace; font-size:11.5px; color:var(--muted);
        padding:10px 14px 0;}
.sb-teams{padding:8px 14px 12px;}
.sb-team-row{display:flex; justify-content:center; gap:14px; align-items:center; padding:5px 0;
        font-size:15.5px; font-weight:500;}
.sb-team-row .nm{color:var(--ink); min-width:130px; text-align:right;}
.sb-team-row .sc{font-family:"IBM Plex Mono",monospace; font-weight:700; font-size:18px; min-width:28px; text-align:left;}
.sb-quarters{padding:0 14px 10px; display:flex; justify-content:center;}
.sb-quarters table{font-size:12px;}
.sb-play{margin:0 14px 12px; padding:8px 10px; background:var(--panel-2); border-radius:7px;
        font-size:12.5px; color:var(--ink-2); border-left:3px solid var(--leather);}
.sb-grid-small{display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
@media(max-width:700px){ .sb-grid-small{grid-template-columns:repeat(2,1fr);} }
@media(max-width:420px){ .sb-grid-small{grid-template-columns:1fr;} }
.sb-small{border:1.5px solid var(--line); border-radius:9px; background:var(--panel);
        box-shadow:var(--shadow); padding:9px 11px; font-size:12.5px;}
.sb-small .sb-meta{padding:0 0 6px; font-size:10.5px;}
.sb-small .sb-team-row{font-size:13px; padding:3px 0;}
.sb-small .sb-team-row .sc{font-size:14px;}

/* ---- chat: CTA bar + paywall + chat window ---- */
.chat-cta{display:block; width:100%; background:var(--leather); color:#FFF3EA; border:0;
        border-radius:10px; padding:12px 16px; font-family:Oswald,sans-serif; font-size:14px;
        letter-spacing:.04em; text-transform:uppercase; font-weight:600; cursor:pointer;
        margin-bottom:18px; box-shadow:var(--shadow);}
.chat-cta:hover{filter:brightness(1.06);}
.modal-overlay{position:fixed; inset:0; background:rgba(18,24,31,.6); z-index:200;
        display:flex; align-items:center; justify-content:center; padding:20px;}
.modal-overlay[hidden]{display:none;}
.modal-box{background:#FFFFFF; color:#12181F; border-radius:14px; padding:26px 24px;
        max-width:380px; width:100%; box-shadow:0 10px 40px rgba(0,0,0,.35); position:relative;}
.modal-box h2{font-family:Oswald,sans-serif; font-size:22px; margin:0 0 10px;}
.modal-box p{color:#3A424C; margin:0 0 16px;}
.modal-close{position:absolute; top:12px; right:14px; background:none; border:0;
        font-size:22px; line-height:1; color:#6A727C; cursor:pointer; padding:4px;}
.btn-primary{background:#B4552A; color:#FFF3EA; border:0; border-radius:8px; padding:10px 20px;
        font:inherit; font-weight:600; cursor:pointer;}
.chat-window{background:#FFFFFF; color:#12181F; border-radius:14px; overflow:hidden;
        width:min(420px, 100%); height:min(600px, 85vh); display:flex; flex-direction:column;
        box-shadow:0 10px 40px rgba(0,0,0,.35);}
@media(max-width:480px){ .chat-window{width:100%; height:88vh;} }
.chat-header{background:#12181F; color:#EDEAE3; padding:12px 16px; font-family:Oswald,sans-serif;
        font-size:14px; letter-spacing:.05em; text-transform:uppercase; display:flex;
        align-items:center; justify-content:space-between; flex:none;}
.chat-header .modal-close{position:static; color:#EDEAE3;}
.chat-header small{font:500 10px/1 system-ui,sans-serif; color:#E8A98D; letter-spacing:.03em;
        margin-left:6px; text-transform:none;}
.chat-header-actions{display:flex; align-items:center; gap:10px;}
.chat-new{border:1px solid #6C747C; background:transparent; color:#F5EEE9; border-radius:7px;
        padding:5px 9px; cursor:pointer; font:500 12px/1 system-ui,sans-serif; text-transform:none; letter-spacing:0;}
.chat-new:hover{border-color:#E1B79D; color:#FFF;}
.chat-messages{flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px;}
.chat-msg{max-width:80%; padding:9px 13px; border-radius:12px; font-size:14px; line-height:1.4;}
.chat-msg.bot{background:#F4F3F0; color:#12181F; align-self:flex-start; border-bottom-left-radius:3px;}
.chat-msg.user{background:#B4552A; color:#FFF3EA; align-self:flex-end; border-bottom-right-radius:3px;}
.chat-hear{display:block; margin:7px 0 0; padding:0; background:none; border:0; color:#A44722;
        font:600 11px/1.2 system-ui,sans-serif; cursor:pointer; text-transform:uppercase; letter-spacing:.05em;}
.chat-voice-status{padding:7px 14px; background:#FFF3EA; color:#7C351C; border-top:1px solid #E8C7B8;
        font-size:12px; text-align:center; flex:none;}
.chat-voice-status[data-state="error"]{background:#FFF0F0; color:#8A2525; border-color:#E6BABA;}
.chat-input-row{display:flex; gap:8px; padding:12px; border-top:1px solid #D9D6CF; flex:none;}
.chat-input-row input{flex:1; border:1px solid #D9D6CF; border-radius:20px; padding:10px 14px;
        font:inherit; font-size:14px; color:#12181F;}
.chat-input-row button{background:#B4552A; color:#FFF3EA; border:0; border-radius:20px;
        padding:10px 18px; font:inherit; font-weight:600; cursor:pointer;}
.chat-input-row .chat-mic{width:40px; flex:none; padding:8px; font-size:17px; line-height:1;}
.chat-input-row .chat-mic.listening{background:#A12D28; box-shadow:0 0 0 4px rgba(161,45,40,.18);}
.chat-input-row button:disabled{opacity:.48; cursor:not-allowed;}

/* ---- editorial home ---- */
body.has-rail .wrap{position:relative;isolation:isolate;background:#CDBB9F;overflow:hidden}
body.has-rail .wrap:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 18% 12%,rgba(255,245,225,.5),transparent 32%),repeating-linear-gradient(90deg,rgba(122,39,48,.035) 0,rgba(122,39,48,.035) 1px,transparent 1px,transparent 36px);opacity:1}
.home-editorial-section{height:500px;margin-top:0;overflow:hidden}.news-grid{height:500px;display:grid;grid-template-columns:minmax(300px,36%) minmax(360px,1fr);gap:8px;align-items:stretch}
.hero-story{height:500px;margin:0;border:1px solid #8E6C4A;border-bottom:4px solid #4A2F20;border-radius:0 0 0 10px;overflow:hidden;background:#F0DFC1;box-shadow:0 5px 0 rgba(60,39,27,.32),0 12px 24px rgba(55,35,24,.2);display:flex;flex-direction:column}
.hero-copy{padding:14px 16px 13px;display:flex;min-height:0;flex:1;flex-direction:column;color:#291D17}.hero-copy h1{font-size:clamp(25px,2.1vw,34px);line-height:1.03;max-width:none;margin:0;padding-bottom:9px;border-bottom:3px solid #86192A}.story-meta{margin:6px 0 10px;color:#755E4B;font:600 10px/1 Oswald,sans-serif;letter-spacing:.09em;text-transform:uppercase}.story-layout{display:grid;gap:14px;min-height:0;flex:1;align-items:start}.article-format-title-image-left .story-layout{grid-template-columns:minmax(150px,38%) 1fr}.article-format-title-image-right .story-layout{grid-template-columns:1fr minmax(150px,38%)}.article-format-title-image-right .story-thumbnail{order:2}.article-format-title-image-under .story-layout{grid-template-columns:1fr}.article-format-title-image-under .story-thumbnail{width:100%;max-height:160px}.article-format-title-image-bottom .story-layout{display:flex;flex-direction:column}.article-format-title-image-bottom .story-thumbnail{order:2;width:100%;max-height:130px}.story-thumbnail{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid #8E6C4A;box-shadow:0 3px 0 #6E4A30}.story-body{display:flex;min-height:100%;flex-direction:column;font-size:13px;line-height:1.42}.story-body p{margin:0 0 9px}.story-link{display:inline-block;margin-top:auto;color:#771523;font-size:12px;font-weight:700;text-decoration:none}
.ranking-board{height:500px;margin:0;border-radius:0 0 0 10px;background:#ECDBC2;border-color:#A88968;box-shadow:0 4px 0 #8F6D4D,0 9px 18px rgba(66,42,29,.16);overflow:hidden;display:flex;flex-direction:column}.ranking-board-head{padding:8px 10px 6px;background:#DFC8A7;border-bottom:2px solid #A34131}.ranking-board-head label{display:block;color:#78675B;font:600 9px/1 Oswald,sans-serif;letter-spacing:.1em;text-transform:uppercase}.ranking-board-head select{width:100%;margin-top:4px;border:1px solid #A88968;border-radius:5px;background:#FFF5E5;color:#2C211D;padding:5px 7px;font:600 12px/1 Oswald,sans-serif}.ranking-board-head h3{margin:6px 0 0;font-size:16px}.ranking-list{padding:0 10px;flex:1}.ranking-row{display:grid;grid-template-columns:26px minmax(0,1fr) 42px 34px;gap:6px;align-items:center;min-height:23px;border-top:1px solid #CBB99F;font:600 12px/1.05 Oswald,sans-serif;color:#2C211D}.ranking-row span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranking-row span:nth-child(n+3){font-family:"IBM Plex Mono",monospace;font-size:10px;color:#6E5A4B;text-align:right}.ranking-columns{min-height:25px;border-top:0;border-bottom:2px solid #A34131;color:#78675B;font-size:9px;letter-spacing:.05em;text-transform:uppercase}.ranking-columns b:nth-child(n+3){text-align:right}.ranking-open{margin:5px 10px 10px;border:1px solid #8F332B;border-radius:6px;background:#A34131;color:#FFF5E5;padding:7px;font:600 11px Oswald,sans-serif;letter-spacing:.04em;cursor:pointer}.ranking-open:disabled{opacity:.45;cursor:not-allowed}.ranking-empty{padding:30px 10px;text-align:center;color:#78675B;font-size:13px}
.ranking-dialog{border:0;border-radius:12px;padding:0;width:min(620px,92vw);max-height:88vh;background:#F2E5D0;color:#2C211D;box-shadow:0 24px 70px rgba(44,33,29,.45)}.ranking-dialog::backdrop{background:rgba(44,33,29,.72)}.ranking-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#8F332B;color:#FFF5E5}.ranking-dialog-head h2{margin:0;font-size:22px}.ranking-dialog-head button{border:1px solid rgba(255,245,229,.6);border-radius:6px;background:transparent;color:#FFF5E5;font-size:22px;cursor:pointer}.ranking-dialog-list{padding:12px 18px 20px}.ranking-dialog-list .ranking-row{min-height:30px;font-size:14px;grid-template-columns:34px minmax(0,1fr) 55px 45px}.ranking-dialog-list .ranking-row span:nth-child(n+3){font-size:12px}
.mid-promo-bar{height:49px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:0 18px;background:linear-gradient(90deg,#FFD05A,#F5B335);border-top:2px solid #FFF0B5;border-bottom:3px solid #B87612;color:#071B36;text-decoration:none;font:600 12px Oswald,sans-serif;letter-spacing:.02em}.mid-promo-bar b{font-size:16px;text-transform:uppercase}.mid-promo-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mid-promo-bar strong{white-space:nowrap}.mid-promo-bar:hover{color:#071B36;text-decoration:none;background:#FFD76F}
.home-second{height:500px;display:grid;grid-template-columns:minmax(400px,4fr) minmax(300px,3fr);gap:0;margin:0}.home-second>div:first-child{margin:0 5px 0 0;overflow:hidden}.home-second>.matchup-columns{margin:0 0 0 5px;overflow:hidden}
.secondary-story{background:linear-gradient(145deg,#4E1717,#7A1322);color:#FFF5E5;padding:20px;border:1px solid #B98A2C;border-bottom:4px solid #36140F;border-radius:0 0 12px 0;min-height:220px;box-shadow:0 5px 0 rgba(82,47,31,.3),0 12px 24px rgba(66,42,29,.18)}
.secondary-story p{color:#F8E6D0}.matchup-columns{display:grid;grid-template-columns:1fr;gap:10px}.match-card{padding:10px}.match-list{max-height:230px;overflow:auto}
.match-row{padding:9px 0;border-top:1px solid #D8E2EF}.match-row:first-child{border-top:0}.match-teams{font-weight:600;font-size:13.5px}.match-lines{font:12px "IBM Plex Mono",monospace;color:var(--muted);margin-top:2px}
.ad-slot{border:2px dashed #A88968;border-bottom:4px solid #8F6D4D;background:linear-gradient(135deg,#EBD9BC,#D7BE98);border-radius:12px;min-height:150px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;color:#6E5847;margin-top:18px;box-shadow:0 5px 0 rgba(82,47,31,.22),0 12px 22px rgba(66,42,29,.14)}.ad-slot b{display:block;color:#6F2A2C;font-family:Oswald,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.walbel-rail{height:500px;position:relative;display:flex;flex-direction:column;background:#CDB895;border:1px solid #5B3D2C;border-bottom:4px solid #3C281D;border-radius:0 0 0 12px;box-shadow:0 5px 0 rgba(55,35,24,.35),0 12px 24px rgba(45,29,21,.2);overflow:hidden}.walbel-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;background:#64111D;color:#FFF4D8;padding:8px 12px}.walbel-head h2{font-size:23px}.walbel-window-actions{display:flex;gap:6px}.walbel-window-actions button{width:32px;height:30px;border:1px solid rgba(255,244,216,.55);border-radius:7px;background:rgba(255,244,216,.12);color:#FFF4D8;font-size:17px;cursor:pointer}.walbel-options-panel{display:none;position:absolute;right:12px;top:44px;z-index:3;width:250px;padding:10px;background:#D8C5A4;border:1px solid #76563D;border-radius:9px;box-shadow:var(--shadow)}.walbel-options-panel.open{display:block}
.credit-tank{margin:12px 14px;padding:10px;border:1px solid #BDA98E;border-radius:10px;background:#E7D4B8;cursor:help}.tank-line{display:flex;justify-content:space-between;font-size:12px;font-weight:600}.tank-track{height:8px;background:#CBB99F;border-radius:9px;margin-top:7px;overflow:hidden}.tank-fill{height:100%;width:0;background:linear-gradient(90deg,#A34131,#E3A33A)}.tank-detail{font-size:11px;color:var(--muted);margin-top:7px}.rail-chat-messages{min-height:0;flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#EAD9BE}.rail-chat-controls{padding:10px;border-top:1px solid #BDA98E}.reply-mode{display:flex;gap:6px}.reply-mode button{flex:1;border:1px solid #A88968;background:#F2E5D0;border-radius:7px;padding:7px;font-size:11px;cursor:pointer}.reply-mode button.on{background:#A34131;color:#FFF5E5;border-color:#A34131}.rail-compose{display:grid;grid-template-columns:42px 1fr 46px;gap:7px;align-items:stretch}.rail-compose textarea{resize:none;min-height:100px;max-height:160px;border:1px solid #A88968;border-radius:9px;padding:11px;background:#F7ECD9;font:15px/1.4 inherit}.rail-compose button{border:0;border-radius:9px;background:#A34131;color:#FFF5E5;cursor:pointer}.walbel-rail.expanded{position:fixed;z-index:100;inset:74px 40px 40px 40px;width:auto;height:auto;border-radius:14px}.walbel-rail.expanded .rail-compose textarea{min-height:130px}.walbel-expanded{overflow:hidden}
.walbel-rail .rail-chat-messages{background:#BDA681}.walbel-rail .rail-chat-controls{background:#CDB895;border-color:#806044}.walbel-rail .rail-compose textarea{background:#F0E1C7;border-color:#76563D}.walbel-rail .rail-compose button,.walbel-rail .reply-mode button.on{background:#771523;color:#FFF4D8}
.article-format-editorial-columns .story-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.story-column{display:flex;min-height:100%;flex-direction:column;font-size:12.5px;line-height:1.38}.story-column p{margin:0 0 9px}.article-format-editorial-columns .story-thumbnail{max-height:125px;margin-bottom:10px}.story-fba-mark{margin-top:auto;display:flex;align-items:center;gap:8px;border-top:1px solid #B99E7B;padding-top:8px;color:#604633}.story-fba-mark b{display:grid;place-items:center;width:46px;height:36px;border-radius:50%;background:#64111D;color:#D5A62B;font:600 18px Oswald,sans-serif;border:2px solid #D5A62B}.story-fba-mark span{font:600 9px/1.25 Oswald,sans-serif;letter-spacing:.06em;text-transform:uppercase}.ranking-board{border-radius:0 0 10px 0;background:#D3C09F;border-color:#917150;box-shadow:0 4px 0 #745337,0 9px 18px rgba(66,42,29,.18)}.match-card{background:#E2CDA9}.walbel-rail{height:420px}.right-rail>.ad-slot{margin-top:0;border-radius:0 0 0 12px}
.standings-dialog{border:0;border-radius:16px;padding:0;width:min(900px,92vw);max-height:84vh;box-shadow:0 24px 70px rgba(5,25,52,.35)}.standings-dialog::backdrop{background:rgba(5,25,52,.68)}.standings-modal-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;background:#09264D;color:white;padding:14px 18px;z-index:2}.standings-modal-head button{background:transparent;border:1px solid #8CB9EF;color:white;border-radius:7px;font-size:20px;cursor:pointer}.standings-content{padding:18px;max-height:70vh;overflow-y:auto}.standings-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.standings-group{border:1px solid #B9C9DD;border-radius:10px;padding:12px;background:white}.standings-group h3{color:#1268D3}.standing-team{display:flex;justify-content:space-between;border-top:1px solid #E0E8F2;padding:5px 0;font-size:13px}
@media(max-width:1230px){body.has-rail .shell{width:100%;grid-template-columns:200px minmax(0,700px) 330px}.brand-primary{font-size:30px}.brand-secondary{font-size:23px}.founder-banner{font-size:12px;padding:8px 13px}}
@media(max-width:1080px){body.has-rail .wrap{width:100%;max-width:700px}.home-editorial-section{height:auto}.news-grid,.home-second{height:auto;grid-template-columns:1fr}.hero-story,.ranking-board{height:500px}.mid-promo-bar{width:100%}.walbel-rail{height:420px}}
@media(max-width:620px){.hero-copy h1{font-size:24px}.story-layout,.article-format-title-image-left .story-layout,.article-format-title-image-right .story-layout,.article-format-editorial-columns .story-layout{grid-template-columns:1fr}.story-thumbnail{max-height:150px}.mid-promo-bar span{display:none}}
@media(max-width:760px){.founder-banner{display:none}}
@media(max-width:520px){.top-credit-tank{width:108px}.top-credit-line span{display:none}}
