/* Standings tab: the Golden Ticket regatta. Loaded after the main styles. Everything here starts with .cb- so it cannot leak. */
@font-face{font-family:"Big Shoulders Display";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Big Shoulders Display";font-weight:900;font-style:normal;font-display:swap;src:url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2")}
@font-face{font-family:"Abril Fatface";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/abril-fatface-latin-400-normal.woff2") format("woff2")}

:root{
  --cb-bg:#04212e; --cb-gold:#f4b928; --cb-goldhi:#ffe9a3; --cb-golddk:#a96d08; --cb-cocoa:#3a1d0c;
  --cb-paper:#fff3d6; --cb-paper2:#f3dfb2; --cb-coral:#ff5d73; --cb-teal:#2ee6c4; --cb-sea:#0b5c70;
  --cb-ease:cubic-bezier(.23,1,.32,1);
  --cb-disp:"Abril Fatface","Baskerville",Georgia,serif;
  --cb-num:"Big Shoulders Display","Arial Narrow","Helvetica Neue",Impact,sans-serif;
}

/* the page itself turns to night while this tab is open */
body.cb-on{background:var(--cb-bg)}
body.cb-on::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(110% 46% at 85% -8%,rgba(255,93,115,.30),transparent 62%),radial-gradient(90% 40% at -5% 2%,rgba(244,185,40,.16),transparent 60%),var(--cb-bg)}
body.cb-on main>h3{color:#9fc4cf}
/* the cards under the board (Money, the Golden Rules) follow the phone's light or dark setting (Mike, 16 Oct) */
/* the cards' own text must use that ink too: it otherwise inherits the page colour, which is near-white in dark mode */
body.cb-on main .card{color:var(--ink)}

.cb{color:#eaf3f6}
.cb button{font-family:inherit}
.cb-sec{margin:0 0 26px}
.cb-h{font-family:var(--cb-disp);font-weight:400;font-size:26px;line-height:1.1;margin:0 0 4px;color:var(--cb-paper);letter-spacing:.2px}
.cb-sub{font-size:14px;line-height:1.4;color:#9fc4cf;margin:0 0 12px;max-width:34em}

/* ---- headline ---- */
.cb-top{display:flex;align-items:flex-start;gap:12px;margin:2px 0 12px}
.cb-tt{flex:1;min-width:0}
.cb-share{flex:none;width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,233,163,.4);background:rgba(255,233,163,.08);color:var(--cb-goldhi)}
.cb-share svg{width:20px;height:20px}
.cb-sharemsg{display:block;font-size:13px;color:var(--cb-goldhi)}
.cb-sharemsg:empty{display:none}
.cb-hrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cb-hrow .cb-snd{min-height:36px;font-size:13px}
.cb-s-live .ticket{margin-top:8px}
.cb-dot{display:inline-block;width:10px;height:10px;margin:0 8px 3px 2px;border-radius:50%;background:var(--cb-coral);box-shadow:0 0 0 0 rgba(240,96,93,.6);animation:cb-live 1.8s ease-out infinite;vertical-align:middle}
@keyframes cb-live{0%{box-shadow:0 0 0 0 rgba(240,96,93,.55)}80%,100%{box-shadow:0 0 0 9px rgba(240,96,93,0)}}
.cb-top>div{flex:1;min-width:0}
.cb-title{font-family:var(--cb-disp);font-size:30px;line-height:1.04;margin:0;color:var(--cb-goldhi);text-shadow:0 2px 0 var(--cb-golddk),0 0 22px rgba(244,185,40,.35)}
.cb-status{margin:6px 0 0;font-size:15px;color:#cfe6ec}
.cb-snd{flex:none;min-height:40px;padding:4px 12px;border-radius:999px;border:1px solid rgba(255,233,163,.4);background:rgba(255,233,163,.08);color:var(--cb-goldhi);font-size:14px;transition:transform .16s ease-out,background .16s}
.cb-snd:active{transform:scale(.97)}
.cb-snd[aria-pressed="true"]{background:var(--cb-gold);color:var(--cb-cocoa);border-color:var(--cb-gold)}

/* ---- ticker ---- */
.cb-tick{position:relative;overflow:hidden;margin:0 -16px 16px;padding:9px 0;background:#031a25;border-top:3px solid transparent;border-bottom:3px solid transparent;
  border-image:repeating-linear-gradient(135deg,var(--cb-coral) 0 8px,var(--cb-paper) 8px 16px) 3}
.cb-tick-in{display:flex;width:max-content;animation:cb-scroll var(--dur,70s) linear infinite}
.cb-tick-in>span{display:inline-flex;align-items:center;gap:8px;padding-right:34px;font-size:15px;color:#e9f4f7;white-space:nowrap}
.cb-tick-in svg{flex:none}
@keyframes cb-scroll{to{transform:translateX(-50%)}}

/* ---- chips ---- */
.cb-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;margin:0 -2px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.cb-chips::-webkit-scrollbar{display:none}
.cb-chips button{flex:none;min-height:42px;padding:6px 16px;border-radius:999px;border:1.5px solid rgba(255,233,163,.35);background:transparent;color:#e9f4f7;font-size:15px;transition:transform .16s ease-out,background .2s,color .2s}
.cb-chips button:active{transform:scale(.97)}
.cb-chips button.on{background:var(--cb-goldhi);color:var(--cb-cocoa);border-color:var(--cb-goldhi);font-weight:700}

/* ---- split-flap tiles ---- */
.cb-v{display:inline-flex;align-items:center;gap:2px;perspective:260px;font-family:var(--cb-num);font-weight:900;line-height:1}
.cb-v .t{display:inline-grid;place-items:center;min-width:.66em;height:1.18em;padding:0 .06em;border-radius:.14em;color:#ffe9c4;
  background:linear-gradient(#4a2812 0 49%,#1c0d05 51% 100%);box-shadow:inset 0 0 0 1px rgba(255,233,196,.12);position:relative}
.cb-v .t::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(0,0,0,.55)}
.cb-v .u{font-size:.6em;margin-left:2px;color:var(--cb-cocoa);opacity:.8}
.cb-v .t,.cb-v .u{font-style:normal}

/* ---- the board: a lineup of paper tickets ---- */
.cb-board{display:flex;flex-direction:column;gap:10px}
.cb-row{position:relative}
.cb-tk{--stub:60px;--r:7px;position:relative;display:flex;align-items:stretch;width:100%;min-height:68px;padding:0;text-align:left;cursor:pointer;color:var(--cb-cocoa);border:0;border-radius:6px;overflow:hidden;
  background:linear-gradient(180deg,var(--cb-paper),var(--cb-paper2));
  -webkit-mask:radial-gradient(circle at var(--stub) 0,transparent var(--r),#000 calc(var(--r) + .5px)) top/100% 51% no-repeat,radial-gradient(circle at var(--stub) 100%,transparent var(--r),#000 calc(var(--r) + .5px)) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle at var(--stub) 0,transparent var(--r),#000 calc(var(--r) + .5px)) top/100% 51% no-repeat,radial-gradient(circle at var(--stub) 100%,transparent var(--r),#000 calc(var(--r) + .5px)) bottom/100% 51% no-repeat;
  transition:transform .16s ease-out}
.cb-tk:active{transform:scale(.985)}
.cb-stub{flex:none;width:var(--stub);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:var(--pc);border-right:2px dashed rgba(58,29,12,.4)}
.cb-stub .cb-v{font-size:30px}
.cb-mv{font-family:var(--cb-num);font-weight:700;font-size:14px;color:var(--cb-cocoa);opacity:.85;min-height:14px}
.cb-main{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:8px 12px 12px 10px;position:relative}
.cb-av{flex:none;width:46px;height:46px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px var(--pc),0 0 0 4.5px rgba(58,29,12,.35);background:var(--pc);display:grid;place-items:center;font-family:var(--cb-num);font-weight:900;font-size:20px;color:var(--cb-cocoa)}
.cb-av img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.cb-nm{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.cb-nm b{font-family:"Libre Baskerville",Georgia,serif;font-weight:700;font-size:19px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-nm i{font-style:normal;font-size:13px;line-height:1.25;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-main>.cb-v{font-size:30px;flex:none}
.cb-bar{position:absolute;left:0;right:0;bottom:0;height:5px;background:rgba(58,29,12,.12)}
.cb-bar u{display:block;height:100%;background:var(--pc);transform-origin:0 50%;transition:transform .8s var(--cb-ease)}

/* the leader holds a gold-foil Golden Ticket */
.cb-tk.gold{background:linear-gradient(112deg,#b07610 0%,#f2b62a 26%,#f7c948 52%,#efb02a 76%,#c98a12 100%);box-shadow:0 0 0 1px rgba(255,233,163,.5)}
.cb-tk.gold>*{position:relative;z-index:1}      /* the shine passes under the name, not over it */
.cb-tk.gold::before{content:"";position:absolute;inset:4px;border:1.5px dashed rgba(58,29,12,.5);border-radius:3px;pointer-events:none}
.cb-tk.gold::after{content:"";position:absolute;z-index:0;top:-30%;bottom:-30%;width:34%;left:-40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent);transform:skewX(-18deg);animation:cb-shine 5.5s ease-in-out 1.2s infinite;pointer-events:none}
@keyframes cb-shine{0%{left:-40%}28%,100%{left:130%}}
.cb-tk.gold .cb-stub{background:linear-gradient(180deg,#ffe9a3,#e9a91c)}
.cb-tk.gold .cb-nm i{opacity:.9}
.cb-tag{font-family:var(--cb-disp);font-weight:400;font-size:14px;letter-spacing:.2px;color:var(--cb-cocoa);display:inline-flex;align-items:center;gap:5px}

/* details that open under a ticket */
.cb-more{display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s var(--cb-ease)}
.cb-more>div{overflow:hidden;min-height:0}
.cb-row.open .cb-more{grid-template-rows:1fr}
.cb-pan{margin:6px 6px 4px;padding:12px 12px 14px;border-radius:0 0 12px 12px;background:rgba(255,243,214,.08);border:1px solid rgba(255,233,163,.22);border-top:0}
.cb-rt{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.cb-rt div{padding:8px 4px;border-radius:8px;background:rgba(255,243,214,.1);text-align:center}
.cb-rt b{display:block;font-family:var(--cb-num);font-weight:900;font-size:26px;line-height:1;color:var(--cb-goldhi)}
.cb-rt span{display:block;margin-top:3px;font-size:12px;color:#b9d6de}
.cb-st{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:12px;font-size:14px;color:#dbeaee}
.cb-st b{font-family:var(--cb-num);font-weight:900;font-size:22px;margin-right:4px;color:var(--cb-paper)}
.cb-strip{display:grid;grid-template-columns:repeat(18,1fr);gap:3px;margin-bottom:6px}
.cb-strip i{aspect-ratio:1;border-radius:3px;background:rgba(255,243,214,.12)}
.cb-strip i.e{background:var(--cb-gold)}
.cb-strip i.b{background:var(--cb-teal)}
.cb-strip i.p{background:rgba(255,243,214,.55)}
.cb-strip i.g{background:#ff9e3d}
.cb-strip i.d{background:var(--cb-coral)}
.cb-strip-l{font-size:12px;color:#9fc4cf;margin:0 0 10px}
.cb-badges{display:flex;flex-wrap:wrap;gap:6px}
.cb-badges span{padding:3px 10px;border-radius:999px;background:rgba(244,185,40,.18);border:1px solid rgba(244,185,40,.5);color:var(--cb-goldhi);font-size:13px}
.cb-empty{margin:12px 2px 0;font-size:14px;color:#9fc4cf}
.cb-demo{margin-top:10px;min-height:44px;padding:6px 18px;border-radius:999px;border:0;background:var(--cb-gold);color:var(--cb-cocoa);font-weight:700;font-size:16px;box-shadow:0 2px 0 var(--cb-golddk);transition:transform .16s ease-out}
.cb-demo:active{transform:scale(.97)}

/* one orchestrated moment: the tickets get hung on the board */
.cb-intro .cb-row{animation:cb-hang .5s var(--cb-ease) backwards;animation-delay:calc(var(--i) * 60ms)}
@keyframes cb-hang{from{opacity:0;transform:translateY(-14px) rotate(-1.2deg)}}

/* ---- the race ---- */
.cb-race{position:relative;border-radius:16px;overflow:hidden;padding:8px 0 6px;background:linear-gradient(#0b6178,#07445a 55%,#052f40);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.cb-waves{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.cb-waves::before{content:"";position:absolute;top:0;bottom:0;left:0;width:200%;opacity:.14;
  background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 T60 7 T80 7' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/80px 14px repeat;animation:cb-drift 22s linear infinite}
@keyframes cb-drift{to{transform:translateX(-50%)}}
.cb-lane{position:relative;display:flex;align-items:center;height:46px;border-bottom:1px dashed rgba(255,255,255,.1)}
.cb-lane:last-of-type{border-bottom:0}
.cb-ln{flex:none;width:98px;white-space:nowrap;display:flex;align-items:center;gap:6px;padding-left:10px;font-family:var(--cb-num);font-weight:700;font-size:16px;color:#d8ecf0}
.cb-ln .cb-v{font-size:17px;display:inline-flex;justify-content:flex-end;min-width:2.62em}   /* room for three tiles, so every name starts in line */
.cb-ln .cb-v .t{background:linear-gradient(#0a2f3d 49%,#051b24 51%);color:#d8ecf0}
.cb-tr{position:relative;flex:1;height:100%;margin-right:44px}
.cb-fin{position:absolute;right:-40px;top:50%;margin-top:-12px;width:36px;display:grid;place-items:center}
.cb-fin::before{content:"";position:absolute;left:-6px;top:-24px;bottom:-24px;border-left:2px dashed rgba(255,233,163,.5)}
.cb-boat{position:absolute;left:0;top:50%;width:46px;height:36px;margin-top:-20px;will-change:transform;transition:transform .55s var(--cb-ease)}
.cb-boat svg{display:block;width:46px;height:36px;overflow:visible;animation:cb-bob 2.6s ease-in-out infinite alternate;animation-delay:var(--d,0s);transform-origin:50% 90%}
@keyframes cb-bob{from{transform:translateY(-1px) rotate(-2deg)}to{transform:translateY(2px) rotate(2.2deg)}}
.cb-wake{position:absolute;right:30px;bottom:5px;height:3px;width:26px;border-radius:3px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6))}
.cb-flag{position:absolute;left:41px;top:3px;opacity:0;transform:translateX(-6px) scale(.9);transition:opacity .25s,transform .3s var(--cb-ease)}
.cb-flag svg{width:20px;height:auto;display:block}
.cb-boat.lead .cb-flag{opacity:1;transform:none}
.cb-ctl{display:flex;align-items:center;gap:12px;margin-top:12px}
.cb-play{flex:none;min-width:92px;min-height:44px;padding:4px 16px;border-radius:999px;border:0;background:var(--cb-gold);color:var(--cb-cocoa);font-weight:700;font-size:16px;box-shadow:0 2px 0 var(--cb-golddk);transition:transform .16s ease-out}
.cb-play:active{transform:scale(.97)}
.cb-scr{flex:1;min-width:0}
.cb-scr input{width:100%;margin:0;height:34px;background:transparent;-webkit-appearance:none;appearance:none}
.cb-scr input::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(90deg,var(--cb-gold) var(--fill,100%),rgba(255,243,214,.2) var(--fill,100%))}
.cb-scr input::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-10px;border-radius:50%;background:var(--cb-paper);border:3px solid var(--cb-gold)}
.cb-scr input::-moz-range-track{height:6px;border-radius:6px;background:rgba(255,243,214,.2)}
.cb-scr input::-moz-range-progress{height:6px;border-radius:6px;background:var(--cb-gold)}
.cb-scr input::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--cb-paper);border:3px solid var(--cb-gold)}
.cb-stepl{margin:2px 0 0;font-size:14px;color:#cfe6ec;min-height:20px}

/* ---- rank by round ---- */
.cb-bump{width:100%;height:auto;display:block;overflow:visible}
.cb-bump text{font-family:var(--cb-num);font-weight:700}
.cb-bump .ln{fill:none;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.cb-bump.draw .ln{animation:cb-draw 1.3s var(--cb-ease) backwards;animation-delay:calc(var(--i) * 70ms)}
@keyframes cb-draw{from{stroke-dashoffset:1}}
.cb-bump.draw .dt{animation:cb-pop .3s var(--cb-ease) backwards;animation-delay:calc(1.1s + var(--i) * 70ms)}
@keyframes cb-pop{from{opacity:0;transform:scale(.6)}}
.cb-bump .dt{transform-box:fill-box;transform-origin:center}

/* ---- scorecard ---- */
.cb-card{background:linear-gradient(180deg,var(--cb-paper),var(--cb-paper2));color:var(--cb-cocoa);border-radius:8px;padding:10px 8px 12px;margin-top:4px}
.cb-nine{width:100%;border-collapse:collapse;table-layout:fixed;margin-bottom:8px}
/* Golden Tickets inside Round by round (Mike, 16 Oct): the ticket cards come from index.html (.ticket) */
.cb-tkh{display:flex;align-items:center;gap:10px;margin:18px 0 2px;font-family:var(--cb-disp);font-weight:400;font-size:21px;color:var(--cb-paper)}
.cb-tix{scroll-margin-top:calc(110px + env(safe-area-inset-top))}
.cb-tix .ticket:first-child{margin-top:6px}
/* Round by round, "All": the game-by-game table on the same cream card as the scorecard (dark ink in light and dark mode) */
.cb-rec{padding:4px 10px 10px}
.cb-rec table.rec th,.cb-rec table.rec td{color:var(--cb-cocoa);border-bottom:1px solid rgba(58,29,12,.18)}
.cb-rec table.rec th,.cb-rec table.rec th .gm,.cb-rec table.rec td .pl,.cb-rec .rec-foot{color:rgba(58,29,12,.74)}
.cb-rec table.rec td b{font-family:var(--cb-num);font-size:17px}
.cb-rec table.rec td b svg.tk{width:16px;height:auto;margin-left:4px;vertical-align:-2px}
.cb-rec table.rec td.won{background:rgba(244,185,40,.18)}   /* the cell of a Golden Ticket winner glows a little */
.cb-rec table.rec th .lk svg{width:12px;height:12px;margin-left:3px;vertical-align:-1px}
/* What everyone shot (Mike, 5 Nov): gross and net for every player, every round, on the same cream card */
.cb-shot{margin-top:10px;padding:10px 10px 10px}
.cb-shot h3{margin:2px 2px 6px;font-size:16px;color:var(--cb-cocoa)}
.cb-shot table.shot{width:100%;border-collapse:collapse}
.cb-shot table.shot th,.cb-shot table.shot td{color:var(--cb-cocoa);border-bottom:1px solid rgba(58,29,12,.18);text-align:center;padding:6px 2px;line-height:1.15}
.cb-shot table.shot th{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:rgba(58,29,12,.74)}
.cb-shot table.shot th:first-child,.cb-shot table.shot td.name{text-align:left;padding-left:4px}
.cb-shot table.shot td.name{font-weight:700;font-size:15px;white-space:nowrap}
.cb-shot table.shot td b{font-family:var(--cb-num);font-size:18px}
.cb-shot table.shot td .pl{display:block;font-size:12px;color:rgba(58,29,12,.74)}
.cb-shot table.shot td.tot{background:rgba(244,185,40,.14)}
.cb-shot .shot-foot{margin:8px 2px 0;font-size:12.5px;line-height:1.4;color:rgba(58,29,12,.8)}
.cb-rt .cb-rgn{font-size:11.5px;line-height:1.25;margin-top:4px}
.cb-rec .rec-key{display:flex;align-items:flex-start;gap:8px;margin-top:8px;font-size:13px;line-height:1.4;color:rgba(58,29,12,.8)}
.cb-rec .rec-key>svg{flex:none;margin-top:1px}
.cb-rec .rec-key span svg{width:13px;height:13px;vertical-align:-2px}
/* one round's game (moved here from the old bottom "Round by round"): ordinary tables and rows, in dark ink on the cream card */
.cb-game{margin-top:10px;padding:10px 12px 12px}
.cb-game .cb-gl{font-size:13px;color:rgba(58,29,12,.74);margin-bottom:4px}
.cb-game h3{margin:12px 0 4px;font-size:15px;color:var(--cb-cocoa)}
.cb-game table th,.cb-game table td{color:var(--cb-cocoa);border-bottom:1px solid rgba(58,29,12,.18)}
.cb-game table th{color:rgba(58,29,12,.74)}
.cb-game .small,.cb-game .muted,.cb-game .prow .who span,.cb-game summary{color:rgba(58,29,12,.8)}
.cb-game .prow{border-bottom:1px solid rgba(58,29,12,.18)}
.cb-game .prow .who b{color:var(--cb-cocoa)}
.cb-nine th,.cb-nine td{text-align:center;padding:2px 0;font-family:var(--cb-num);font-weight:700;font-size:15px}
.cb-nine th{font-size:13px;opacity:.75;border-bottom:1.5px solid rgba(58,29,12,.35)}
.cb-nine tr.par td{font-size:13px;opacity:.7;border-bottom:1px solid rgba(58,29,12,.2)}
.cb-nine .nm{width:54px;text-align:left;padding-left:4px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-nine .sub{width:36px;font-weight:900}
.cb-nine td{height:32px}
.cb-sc{display:inline-grid;place-items:center;width:25px;height:25px;font-size:16px;line-height:1;position:relative}
.cb-sc.b{border-radius:50%;box-shadow:0 0 0 1.5px #0f7a6b}
.cb-sc.e{border-radius:50%;background:var(--cb-gold);box-shadow:0 0 0 1.5px var(--cb-golddk),0 0 0 4px var(--cb-paper),0 0 0 5.5px var(--cb-golddk)}
.cb-sc.g{border-radius:2px;box-shadow:0 0 0 1.5px #b3541a}
.cb-sc.d{border-radius:2px;box-shadow:0 0 0 1.5px #c0283e,0 0 0 4px var(--cb-paper),0 0 0 5.5px #c0283e;color:#8c1228}
.cb-wave td .cb-sc{animation:cb-ink .4s var(--cb-ease) backwards;animation-delay:calc(var(--c) * 28ms + var(--r) * 40ms)}
@keyframes cb-ink{from{opacity:0;transform:scale(.7)}}
.cb-key{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 4px 0;font-size:13px;color:#b9d6de}
.cb-key span{display:inline-flex;align-items:center;gap:7px}
.cb-key .cb-sc{width:18px;height:18px;font-size:12px;color:var(--cb-cocoa);background:var(--cb-paper);border-radius:3px}
.cb-key .cb-sc.b,.cb-key .cb-sc.e{border-radius:50%}
.cb-notes{margin:10px 2px 0;font-size:14px;line-height:1.45;color:#cfe6ec}
.cb-notes b{color:var(--cb-goldhi)}

/* ---- awards: ticket stubs you swipe through (a phone shows one and the edge of the next; wider screens show them all) ---- */
.cb-aw{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:4px 16px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.cb-aw::-webkit-scrollbar{display:none}
.cb-ak{flex:none;width:min(calc(100vw - 76px),300px);scroll-snap-align:start;scroll-margin-left:16px;position:relative;padding:12px 14px 14px;color:var(--cb-cocoa);border-radius:6px;
  background:linear-gradient(180deg,var(--cb-paper),var(--cb-paper2));
  -webkit-mask:radial-gradient(circle at 0 62px,transparent 8px,#000 8.5px) left/51% 100% no-repeat,radial-gradient(circle at 100% 62px,transparent 8px,#000 8.5px) right/51% 100% no-repeat;
  mask:radial-gradient(circle at 0 62px,transparent 8px,#000 8.5px) left/51% 100% no-repeat,radial-gradient(circle at 100% 62px,transparent 8px,#000 8.5px) right/51% 100% no-repeat}
.cb-ak h4{margin:0;font-family:var(--cb-disp);font-weight:400;font-size:21px;line-height:1.1;display:flex;align-items:center;gap:8px;min-height:40px}
.cb-ak h4 svg{flex:none;width:30px;height:30px}
.cb-ak .perf{margin:10px -14px 10px;border-top:2px dashed rgba(58,29,12,.4)}
.cb-ak .who{display:flex;align-items:center;gap:10px}
.cb-ak .who .cb-av{width:40px;height:40px;font-size:17px}
.cb-ak .who b{font-family:var(--cb-num);font-weight:900;font-size:22px;line-height:1.05}
.cb-ak .stat{margin:8px 0 4px;font-size:15px;font-weight:700}
.cb-ak .quip{margin:0;font-size:14px;line-height:1.35;opacity:.85}
.cb-ak.tbd{opacity:.55}
@media (min-width:700px){.cb-aw{display:grid;grid-template-columns:repeat(auto-fit,minmax(196px,1fr));overflow:visible}.cb-ak{width:auto}}

/* ---- sprinkles ---- */
.cb-fx{position:fixed;inset:0;z-index:30;pointer-events:none}

/* touch devices should not keep a hover look */
@media (hover:hover) and (pointer:fine){.cb-chips button:not(.on):hover{background:rgba(255,233,163,.12)}}

@media (prefers-reduced-motion:reduce){
  .cb-tick-in{animation:none;overflow-x:auto;width:auto}
  .cb-tk.gold::after,.cb-waves::before,.cb-boat svg,.cb-dot{animation:none}
  .cb-intro .cb-row,.cb-bump.draw .ln,.cb-bump.draw .dt,.cb-wave td .cb-sc{animation:none}
  .cb-more,.cb-bar u,.cb-boat{transition:none}
}

/* ---- recap button ---- */
.cb-rc{display:flex;align-items:center;gap:8px;margin:0 -16px 12px;padding:2px 16px 4px;overflow-x:auto;scrollbar-width:none}   /* one row: this round's recap, then the earlier ones */
.cb-rc::-webkit-scrollbar{display:none}
.cb-rc>button{flex:none}
.cb-recap{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:4px 16px;border-radius:999px;border:0;background:var(--cb-gold);color:var(--cb-cocoa);font-weight:700;font-size:16px;box-shadow:0 3px 0 var(--cb-golddk);transition:transform .16s ease-out}
.cb-recap:active{transform:scale(.97)}
.cb-recap[disabled]{background:transparent;box-shadow:none;border:1.5px dashed rgba(255,233,163,.35);color:#9fc4cf;font-weight:400;font-size:15px}
.cb-rcl{font-size:13px;color:#9fc4cf;margin-left:6px}
.cb-rcc{min-height:38px;padding:4px 14px;border-radius:999px;border:1.5px solid rgba(255,233,163,.35);background:transparent;color:#e9f4f7;font-size:14px}

/* ---- walk the round ---- */
.wk .cb-tr{margin-left:32px}
.cb-gn{position:absolute;left:-30px;top:50%;margin-top:-11px;min-width:26px;padding:1px 6px;border-radius:999px;background:var(--cb-gold);color:var(--cb-cocoa);font:900 14px/19px var(--cb-num);text-align:center;opacity:0;pointer-events:none;box-shadow:0 1px 0 var(--cb-golddk)}
.wk-hud{display:flex;align-items:center;gap:14px;margin-top:12px;min-height:60px}
.wk-hole{flex:none;min-width:84px;padding:6px 12px 7px;border-radius:10px;background:rgba(255,243,214,.1);border:1px solid rgba(255,233,163,.25);font-family:var(--cb-num);font-weight:700;font-size:16px;line-height:1.05;color:#d8ecf0;text-align:center}
.wk-hole b{display:block;font-weight:900;font-size:34px;color:var(--cb-goldhi)}
.wk-hole em{font-style:normal;font-size:14px;opacity:.85}
.wk-say{margin:0;flex:1;min-width:0;font-size:16px;line-height:1.3;color:#cfe6ec}
.wk-say b{color:var(--cb-paper);font-weight:700}
.wk-say span{display:block;font-size:14px;color:#9fc4cf}
.wk-say.big b{color:var(--cb-goldhi);font-family:var(--cb-num);font-weight:900;font-size:24px;letter-spacing:.2px}
.wk-lead{display:grid;grid-template-columns:repeat(var(--n,18),1fr);gap:3px;margin-top:12px}
.wk-lead i{display:block;font-style:normal;text-align:center;opacity:.38;transition:opacity .25s}
.wk-lead u{display:block;text-decoration:none;font:700 12px/16px var(--cb-num);color:#9fc4cf}
.wk-lead s{display:block;height:12px;border-radius:3px;text-decoration:none;background:var(--lc);transform:scaleY(.35);transform-origin:50% 100%;transition:transform .32s var(--cb-ease)}
.wk-lead i.on{opacity:1}
.wk-lead i.on s{transform:none}
.wk-lead i.cur u{color:var(--cb-goldhi)}
.wk-lead i.cur s{box-shadow:0 0 0 2px var(--cb-paper)}
.wk-key{margin:5px 0 0;font-size:12px;color:#9fc4cf}
.wk-sum{margin-top:8px}

/* ---- keyboard and mouse (iPad with a keyboard, laptops) ---- */
.cb button:focus-visible,.cb-tk:focus-visible,.rcv button:focus-visible,.cb-scr input:focus-visible{outline:3px solid var(--cb-goldhi);outline-offset:2px}
@media (hover:hover) and (pointer:fine){
  .cb-tk:hover{transform:translateY(-2px)}
  .cb-recap:hover,.cb-play:hover,.cb-demo:hover{filter:brightness(1.07)}
  .cb-rcc:hover,.cb-snd:hover{background:rgba(255,233,163,.14)}
}

/* ================= the recap overlay: a little TV broadcast ================= */
body.rc-open{overflow:hidden}
.rcv{position:fixed;inset:0;z-index:20;display:flex;align-items:stretch;justify-content:center;background:#02131b;color:#eaf3f6;animation:rc-in .28s var(--cb-ease)}
@keyframes rc-in{from{opacity:0}}
.rc-tv{position:relative;display:flex;flex-direction:column;width:100%;max-width:1180px;overflow:hidden;
  padding:calc(12px + env(safe-area-inset-top)) 16px calc(10px + env(safe-area-inset-bottom));
  background:radial-gradient(120% 60% at 80% -10%,rgba(255,93,115,.28),transparent 60%),radial-gradient(90% 50% at 0% 0%,rgba(244,185,40,.16),transparent 60%),linear-gradient(#073d52,#04212e 55%,#031620)}
.rc-waves{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.rc-waves::before{content:"";position:absolute;inset:0 0 0 0;width:200%;opacity:.07;background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 T60 7 T80 7' fill='none' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") 0 0/80px 14px repeat;animation:cb-drift 30s linear infinite}
.rc-prog{position:relative;display:flex;gap:4px;margin-bottom:10px}
.rc-prog i{flex:1;height:5px;border-radius:3px;background:rgba(255,243,214,.2);overflow:hidden}
.rc-prog u{display:block;height:100%;background:var(--cb-gold);transform-origin:0 50%;transform:scaleX(0)}
.rc-bug{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding-right:96px}
.rc-bugt{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;padding:5px 14px 5px 10px;border-radius:6px;background:var(--cb-gold);color:var(--cb-cocoa);font-family:var(--cb-num);font-weight:900;font-size:20px;line-height:1;box-shadow:0 2px 0 var(--cb-golddk)}
.rc-bug small{font-size:14px;color:#9fc4cf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-x{position:absolute;z-index:4;right:16px;top:calc(27px + env(safe-area-inset-top));min-height:44px;min-width:80px;padding:4px 16px;border-radius:999px;border:1.5px solid rgba(255,233,163,.45);background:rgba(2,19,27,.5);color:var(--cb-goldhi);font-size:15px;font-family:inherit}
.rc-stage{position:relative;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:8px -4px;padding:4px;display:flex;flex-direction:column;-webkit-overflow-scrolling:touch}
.rc-s{margin:auto 0;width:100%;display:flex;flex-direction:column;gap:12px}
.rc-wipe{position:absolute;left:0;top:34%;width:110px;z-index:3;pointer-events:none;transform:translateX(-140px)}
.rc-wipe svg{width:100%;height:auto;display:block}

/* things that arrive on cue */
.rc-b{opacity:0;transform:translateY(14px) scale(.98);transition:opacity .4s var(--cb-ease),transform .5s var(--cb-ease)}
.rcv .rc-b.show,.rcv .show{opacity:1;transform:none}

.rc-intro{align-items:center;text-align:center;justify-content:center}
.rc-bigtk svg{width:150px;height:auto;filter:drop-shadow(0 6px 18px rgba(244,185,40,.4))}
.rc-h1{margin:0;font-family:var(--cb-disp);font-weight:400;font-size:40px;line-height:1.05;color:var(--cb-goldhi);text-shadow:0 2px 0 var(--cb-golddk),0 0 24px rgba(244,185,40,.35)}
.rc-p{margin:0;font-size:18px;color:#cfe6ec}
.rc-lab{font-family:var(--cb-disp);font-size:22px;line-height:1.1;color:var(--cb-goldhi);text-align:center}

.rc-win{align-items:stretch}
.rc-big{min-height:104px;--stub:76px}
.rc-big .cb-av{width:60px;height:60px}
.rc-big .cb-nm b{font-size:32px}
.rc-big .cb-nm i{font-size:15px}
.rc-count{font-size:44px}
.rc-big .cb-stub svg{width:40px;height:auto}
.cb-tk.rc-big{cursor:default}

/* the day and the overall boards */
.rc-rows{gap:8px}
.cb-tk.sm{--stub:50px;--r:6px;min-height:52px;cursor:default}
.cb-tk.sm .cb-stub .cb-v{font-size:26px}
.cb-tk.sm .cb-main{padding:5px 12px 6px 8px;gap:9px}
.cb-tk.sm .cb-av{width:36px;height:36px;font-size:16px;box-shadow:0 0 0 2.5px var(--pc),0 0 0 4px rgba(58,29,12,.35)}
.cb-tk.sm .cb-nm b{font-size:22px}
.cb-tk.sm .cb-main>.cb-v{font-size:26px}
.cb-tk.sm:active{transform:none}
.cb-tk.sm .cb-mv{font-size:13px;min-height:13px}
.rc-ovr{position:relative}
.rc-stage.tight .rc-s{gap:6px}
.rc-stage.tight .cb-tk.sm{min-height:46px}
.rc-stage.tight .cb-tk.sm .cb-av{width:32px;height:32px}

/* highlight plates */
.rc-pl{gap:10px}
.rc-plate{display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-radius:6px;color:var(--cb-cocoa);background:linear-gradient(180deg,var(--cb-paper),var(--cb-paper2));border-left:8px solid var(--cb-gold)}
.rc-plate span{font-size:14px;opacity:.8}
.rc-plate b{font-family:var(--cb-num);font-weight:900;font-size:28px;line-height:1.05}
.rc-plate em{font-style:normal;font-size:15px;opacity:.85}
.rc-plate.big{padding:16px 18px}
.rc-plate.big b{font-size:36px}
.rc-next{align-items:center;text-align:center}

/* walk-the-round scene */
.rc-walk{gap:10px}
.rc-walk .cb-race{padding:10px 0 8px}
.rc-walk .wk-hud{margin-top:10px}
.rc-walk .wk-say{color:#e9f4f7}

/* the lower third */
.rc-cap{position:relative;display:flex;align-items:center;gap:12px;min-height:84px;padding:12px 14px;border-radius:10px;background:rgba(2,19,27,.78);border-top:3px solid transparent;border-image:repeating-linear-gradient(135deg,var(--cb-coral) 0 8px,var(--cb-paper) 8px 16px) 3}
.rc-who{flex:none;min-width:58px;padding:5px 10px;border-radius:6px;font-family:var(--cb-num);font-weight:900;font-size:20px;text-align:center;color:var(--cb-cocoa);background:var(--cb-gold)}
.rc-who.b{background:var(--cb-teal)}
.rc-cap p{margin:0;font-size:18px;line-height:1.3;color:#f4fafc}
.rc-cap p.in{animation:rc-cap .3s var(--cb-ease)}
@keyframes rc-cap{from{opacity:0;transform:translateY(6px)}}
.rc-ctl{position:relative;display:flex;gap:6px;margin-top:10px}
.rc-ctl button{flex:1 1 0;min-width:0;min-height:44px;padding:4px 8px;border-radius:999px;border:1.5px solid rgba(255,233,163,.4);background:transparent;color:#e9f4f7;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:inherit;transition:transform .16s ease-out,background .2s}
.rc-ctl button:active,.rc-x:active{transform:scale(.97)}
.rc-tip{position:relative;margin-top:8px;padding:8px 12px;border-radius:10px;background:rgba(255,212,71,.92);color:#0b2545;font-size:14px;font-weight:600;text-align:center}
.rc-ctl button:disabled{opacity:.5}
@media (hover:hover) and (pointer:fine){.rc-ctl button:hover,.rc-x:hover{background:rgba(255,233,163,.14)}}

/* ================= wide screens: iPad and computers ================= */
@media (min-width:700px){
  .rc-tv{padding-left:28px;padding-right:28px}
  .rc-x{right:28px}
  .rc-ctl button{font-size:15px;padding:4px 14px}
  .rc-h1{font-size:56px}
  .rc-bigtk svg{width:190px}
  .rc-cap p{font-size:22px}
  .rc-lab{font-size:26px}
  .rc-rows,.rc-walk,.rc-pl,.rc-win{max-width:760px;margin-left:auto;margin-right:auto}
  .cb-tk.sm{min-height:60px;--stub:56px}
  .cb-tk.sm .cb-av{width:42px;height:42px}
  .cb-tk.sm .cb-nm b{font-size:26px}
  .cb-tk.sm .cb-main>.cb-v,.cb-tk.sm .cb-stub .cb-v{font-size:30px}
  .rc-stage.tight .cb-tk.sm{min-height:58px}
  .rc-stage.tight .cb-tk.sm .cb-av{width:40px;height:40px}
  .rc-walk .cb-lane{height:50px}
}
@media (min-width:700px) and (min-height:760px){.rc-tv{margin:3vh 0;border-radius:22px;box-shadow:0 0 0 1px rgba(255,233,163,.2),0 30px 80px rgba(0,0,0,.6)}}
@media (min-width:960px){
  .rc-rows:not(.rc-ov){max-width:980px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(4,auto);grid-template-columns:1fr 1fr;gap:10px 16px}
  .rc-pl{max-width:900px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .rc-pl .rc-lab{grid-column:1/-1}
  .rc-walk{max-width:900px}
  .rc-ov{max-width:620px}
}

@media (min-width:700px){
  nav{justify-content:center}
  nav button{flex:0 1 150px}
}
@media (min-width:960px){
  body.cb-on main{max-width:1120px;padding-left:24px;padding-right:24px}
  .cb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px;align-items:start;grid-auto-flow:row dense}   /* dense: Who moved when fills the space beside The race instead of starting below it */
  .cb>.cb-top,.cb>.cb-rc,.cb>.cb-tick{grid-column:1/-1}
  .cb-tick{margin-left:0;margin-right:0;border-radius:4px}
  .cb-s-board{grid-column:1;grid-row:span 2}   /* Walk the round is gone (Mike, 16 Oct): the board runs beside The race and Who moved when */
  .cb-s-race,.cb-s-bump,.cb-s-live{grid-column:2}
  .cb-s-card,.cb-s-aw{grid-column:1/-1}
  .cb-sub{max-width:none}
  .cb-aw{margin:0;padding:4px 0 12px}
  .cb-nine .nm{width:90px}
  .cb-lane{height:50px}
  body.cb-on main>.card,body.cb-on main>h3{max-width:720px;margin-left:auto;margin-right:auto}
}

@media (min-width:700px) and (min-height:900px){
  .rc-plate b{font-size:34px}.rc-plate span{font-size:16px}.rc-plate.big b{font-size:42px}
  .cb-tk.sm{min-height:66px}.cb-tk.sm .cb-av{width:46px;height:46px}.cb-tk.sm .cb-nm b{font-size:28px}
  .rc-stage.tight .cb-tk.sm{min-height:64px}
  .rc-walk .cb-lane{height:56px}
}
@media (min-width:700px) and (max-height:820px){
  .cb-tk.sm,.rc-stage.tight .cb-tk.sm{min-height:46px;--stub:48px}
  .cb-tk.sm .cb-av,.rc-stage.tight .cb-tk.sm .cb-av{width:32px;height:32px}
  .cb-tk.sm .cb-nm b{font-size:22px}
  .cb-tk.sm .cb-main>.cb-v,.cb-tk.sm .cb-stub .cb-v{font-size:26px}
  .rc-walk .cb-lane{height:38px}
  .rc-lab{font-size:22px}
  .rc-h1{font-size:46px}
  .rc-bigtk svg{width:130px}
  .rc-cap{min-height:70px}
}

@media (prefers-reduced-motion:reduce){
  .rcv,.rc-cap p.in{animation:none}
  .rc-waves::before{animation:none}
  .rc-b{transform:none;transition:opacity .2s}
  .wk-lead s,.wk-lead i{transition:none}
}

/* ================= Sun mode on Standings (Mike, 16 Oct: "when you select the sunlight icon on iPad it only changed bar") =================
   The night board turns to plain white with black ink, like the rest of the site in sun mode. Panels with their own colours keep
   them: the water in The race, the ticker band, the split-flap numbers, the cream tickets and scorecards, and the recap player. */
html.sun body.cb-on{background:#fff}
html.sun body.cb-on::before{display:none}
html.sun body.cb-on main>h3{color:#1e293b}
html.sun .cb{color:#000}
html.sun .cb-h,html.sun .cb-tkh{color:#000}
html.sun .cb-title{color:#000;text-shadow:none}
html.sun .cb-sub,html.sun .cb-status,html.sun .cb-empty,html.sun .cb-key,html.sun .cb-notes,html.sun .cb-stepl,html.sun .cb-rcl,html.sun .cb-strip-l,
html.sun .wk-key,html.sun .wk-say,html.sun .wk-say span,html.sun .wk-lead u,html.sun .cb-st,html.sun .cb-rt span{color:#1e293b}
html.sun .cb-notes b,html.sun .wk-say b,html.sun .wk-say.big b,html.sun .wk-lead i.cur u,html.sun .cb-rt b,html.sun .cb-st b,html.sun .wk-hole,html.sun .wk-hole b{color:#000}
html.sun .cb-chips button,html.sun .cb-rcc,html.sun .cb-snd,html.sun .cb-share{color:#000;border:2px solid #000;background:#fff}
html.sun .cb-chips button.on,html.sun .cb-snd[aria-pressed="true"]{background:#000;color:#fff;border-color:#000}
html.sun .cb-recap[disabled]{color:#1e293b;border-color:#000}
html.sun .cb-pan,html.sun .cb-rt div,html.sun .wk-hole{background:#f1f5f9;border-color:#000}
html.sun .cb-badges span{background:#fff;border-color:#000;color:#000}
html.sun .cb-strip i{background:#e2e8f0}
html.sun .cb-strip i.p{background:#94a3b8}
html.sun .wk-lead i.cur s{box-shadow:0 0 0 2px #000}
html.sun .cb-key .cb-sc{box-shadow:inset 0 0 0 1px #000}
html.sun .cb-scr input::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--cb-gold) var(--fill,100%),#cbd5e1 var(--fill,100%))}
html.sun .cb-scr input::-moz-range-track{background:#cbd5e1}
html.sun .cb-scr input::-webkit-slider-thumb{background:#fff;border-color:#000}
html.sun .cb-bump text{fill:#000}
html.sun svg.cb-bump{filter:brightness(.82) saturate(1.25)}   /* the pale lines (yellow, cyan) hold up on white */


/* ================= Standings follows light and dark (Candy Coast, Mike 16 Oct) =================
   Dark keeps the night at the reef; light is the cream beach page with navy ink. The race water, the ticker band, the
   split-flap numbers, the gold leader and the cream scorecards keep their own colours in both. */
@media (prefers-color-scheme:light){
  :root:not(.sun) body.cb-on{background:var(--bg)}
  :root:not(.sun) body.cb-on::before{background:radial-gradient(110% 40% at 90% -6%,rgba(240,96,93,.16),transparent 62%),radial-gradient(90% 36% at -5% 2%,rgba(244,185,40,.14),transparent 60%),var(--bg)}
  :root:not(.sun) body.cb-on main>h3{color:var(--muted)}
  :root:not(.sun) .cb{color:var(--ink)}
  :root:not(.sun) .cb-h,:root:not(.sun) .cb-tkh{color:var(--ink)}
  :root:not(.sun) .cb-title{color:var(--ink);text-shadow:0 3px 0 rgba(244,185,40,.55)}
  :root:not(.sun) .cb-sub,:root:not(.sun) .cb-status,:root:not(.sun) .cb-empty,:root:not(.sun) .cb-key,:root:not(.sun) .cb-notes,:root:not(.sun) .cb-stepl,:root:not(.sun) .cb-rcl,
  :root:not(.sun) .cb-strip-l,:root:not(.sun) .cb-st,:root:not(.sun) .cb-rt span{color:var(--muted)}
  :root:not(.sun) .cb-notes b,:root:not(.sun) .cb-rt b,:root:not(.sun) .cb-st b{color:#8a5a00}
  :root:not(.sun) .cb-chips button,:root:not(.sun) .cb-rcc,:root:not(.sun) .cb-snd,:root:not(.sun) .cb-share{color:var(--ink);border-color:rgba(11,37,69,.28);background:transparent}
  :root:not(.sun) .cb-sharemsg{color:var(--muted)}
  :root:not(.sun) .cb-chips button.on,:root:not(.sun) .cb-snd[aria-pressed="true"]{background:var(--cb-goldhi);color:var(--cb-cocoa);border-color:#d4a43a}
  :root:not(.sun) .cb-recap[disabled]{color:var(--muted);border-color:rgba(11,37,69,.3)}
  :root:not(.sun) .cb-pan{background:rgba(11,37,69,.04);border-color:rgba(11,37,69,.14)}
  :root:not(.sun) .cb-rt div{background:rgba(11,37,69,.06)}
  :root:not(.sun) .cb-badges span{background:rgba(244,185,40,.2);border-color:rgba(169,109,8,.5);color:#6b4a00}
  :root:not(.sun) .cb-strip i{background:rgba(11,37,69,.09)}
  :root:not(.sun) .cb-strip i.p{background:rgba(11,37,69,.32)}
  :root:not(.sun) .cb-tk{box-shadow:0 2px 0 rgba(169,109,8,.22)}
  :root:not(.sun) .cb-ak,:root:not(.sun) .cb-card{box-shadow:0 0 0 1px rgba(169,109,8,.3),0 6px 16px rgba(11,37,69,.08)}
  :root:not(.sun) .cb-bump text{fill:var(--ink)}
  :root:not(.sun) svg.cb-bump{filter:brightness(.84) saturate(1.2)}
  :root:not(.sun) .cb-scr input::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--cb-gold) var(--fill,100%),rgba(11,37,69,.15) var(--fill,100%))}
  :root:not(.sun) .cb-scr input::-moz-range-track{background:rgba(11,37,69,.15)}
}
@media (prefers-color-scheme:dark){
  /* navy tickets with a gold edge, as the approved dark design; the leader stays gold */
  :root:not(.sun) .cb-tk:not(.gold){background:#0e2640;color:#eaf3f6;box-shadow:inset 0 0 0 1.5px rgba(212,164,58,.65)}
  :root:not(.sun) .cb-tk:not(.gold) .cb-nm i{color:#9db5c4;opacity:1}
  :root:not(.sun) .cb-tk:not(.gold) .cb-bar{background:rgba(255,255,255,.08)}
}
