/* Schedule style: After Dark (2026-11-11). Dark, bold, with picture events
   standing out, "On now" highlighted (schedule-styles.js) and a tab bar
   at the bottom (body.sched-afterdark). */
body.sched-afterdark{
  --bg:#0b1020; --card:#121a2e; --card-border:#1f2940; --text:#e5e7eb; --text-dim:#94a3b8;
  font-family:var(--style-font,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif); background:#0b1020; color:#e5e7eb;
  padding-bottom:110px;
}
body.sched-afterdark .topbar{background:#0b1020;}
body.sched-afterdark .topbar .brand{font-family:var(--style-head,inherit); text-transform:none; font-size:14px; font-weight:600; color:#94a3b8;}
body.sched-afterdark #scanUpdateBtn{background:var(--gold) !important; color:#0b1020 !important; border-radius:14px !important; padding:9px 12px !important;}

body.sched-afterdark .day-nav{background:rgba(11,16,32,.95); border-bottom:1px solid #1f2940; padding:6px 0 0;}
body.sched-afterdark .day-scroll{gap:20px; padding:0 20px;}
body.sched-afterdark .day-pill{min-width:0; padding:8px 0 10px; background:none; border:none; border-bottom:3px solid transparent; border-radius:0;}
body.sched-afterdark .day-pill .d{color:#64748b; font-size:10px;}
body.sched-afterdark .day-pill .n{font-family:inherit; color:#94a3b8; font-size:15px;}
body.sched-afterdark .day-pill.active{background:none; border-bottom-color:var(--gold);}
body.sched-afterdark .day-pill.active .d, body.sched-afterdark .day-pill.active .n{color:var(--gold);}
body.sched-afterdark .filters{padding:12px 16px 10px;}
body.sched-afterdark .chip{background:transparent; border:1px solid #2a3552; color:#cbd5e1; padding:8px 14px; font-size:13px;}
body.sched-afterdark .chip.active{background:#e5e7eb; border-color:#e5e7eb; color:#0b1020;}

body.sched-afterdark .day-heading{padding:22px 20px 8px; display:flex; flex-direction:column;}
body.sched-afterdark .day-heading h2{order:2; font-family:inherit; text-transform:none; font-size:14px; font-weight:600; color:#94a3b8; margin-top:6px;}
body.sched-afterdark .day-heading .loc{order:1; font-family:var(--style-head,inherit); text-transform:none; letter-spacing:-1px; font-size:38px; font-weight:800; line-height:1; color:#f8fafc;}
body.sched-afterdark .day-heading .date{order:3; color:#94a3b8;}

body.sched-afterdark .events{gap:8px;}
body.sched-afterdark .card{display:grid; grid-template-columns:60px minmax(0,1fr); column-gap:12px; border-radius:18px; padding:14px 12px 14px 16px; box-shadow:none;}
/* The category bar sits beside the time and title only, so it doesn't run
   down through the details when a card is opened. */
body.sched-afterdark .card::before{display:none;}
body.sched-afterdark .card > .card-banner, body.sched-afterdark .card > .detail, body.sched-afterdark .card > .updated-badge{grid-column:1 / -1;}
body.sched-afterdark .card-banner{margin:-14px -12px 12px -16px;}
body.sched-afterdark .card:has(.card-banner){background:#1a1033; border-color:#2e1d55;}
body.sched-afterdark .card:has(.card-banner) h3{font-size:20px;}
body.sched-afterdark .card-start{display:block; grid-column:1; font-size:16px; font-weight:800; color:#f8fafc; line-height:1.15;}
body.sched-afterdark .card-start span{display:block; font-size:11px; font-weight:600; color:#94a3b8;}
body.sched-afterdark .card-top{grid-column:2; padding-left:12px; border-left:4px solid var(--card-cat-color, #64748b); border-radius:2px;}
body.sched-afterdark .card-time{color:#94a3b8; font-weight:600;}
body.sched-afterdark .card h3{font-family:inherit; color:#f8fafc; font-size:15.5px; margin:3px 0;}
body.sched-afterdark .card .loc{color:#94a3b8;}
body.sched-afterdark .card .host{color:#e5e7eb;}
body.sched-afterdark .card .attire{background:rgba(251,191,36,.15); color:#fcd34d;}
body.sched-afterdark .card.is-now{background:#10233a; border-color:#1d4d5c;}
body.sched-afterdark .card.is-now h3::before{background:color-mix(in oklab,var(--teal),#000 55%); color:color-mix(in oklab,var(--teal),#fff 55%);}
body.sched-afterdark .remind-btn{width:40px; height:40px; border-radius:12px; background:#1a2238; color:#64748b; align-items:center; justify-content:center; margin:0;}
body.sched-afterdark .remind-btn.active{background:var(--gold); color:#0b1020;}
body.sched-afterdark .chev{display:none;}
body.sched-afterdark .milestone{background:rgba(45,212,191,.08); border-color:#2dd4bf; color:#5eead4;}
body.sched-afterdark .cal-link{color:var(--gold);}
body.sched-afterdark .hotel-card{background:#121a2e; color:#e5e7eb;}
body.sched-afterdark .hotel-deal, body.sched-afterdark .hotel-more summary, body.sched-afterdark .hotel-body h3{color:#f8fafc;}
body.sched-afterdark .hotel-btn, body.sched-afterdark .hotel-code-btn{border-color:#94a3b8; color:#e5e7eb;}
body.sched-afterdark footer{color:#94a3b8;}

/* The install hint gives way to the tab bar. */
body.sched-afterdark .bottom-bar{display:none;}
.tab-bar{position:fixed; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); z-index:30; height:64px; border-radius:22px; background:#121a2e; border:1px solid #1f2940; display:flex; align-items:center; justify-content:space-around; box-shadow:0 10px 30px rgba(0,0,0,.4);}
.tab-bar .tab{display:flex; flex-direction:column; align-items:center; gap:3px; min-width:60px; padding:6px 0; color:#94a3b8; font-size:11px; font-weight:600; text-decoration:none;}
.tab-bar .tab .icon{width:20px; height:20px;}
.tab-bar .tab.active{color:var(--gold); font-weight:800;}

/* Category colors are chosen for a light page; a dark one (Shows & Games is
   navy) disappears here, so lighten them all a little, chips and bars alike. */
body.sched-afterdark .chip.chip-cat{border-color:color-mix(in oklab, var(--chip-color), #fff 40%) !important;}
body.sched-afterdark .card-top{border-left-color:color-mix(in oklab, var(--card-cat-color, #64748b), #fff 40%);}
