/* SOMETHING BUZZY — THE LIGHT FACE (2026-12-05).
   White page, white card fronts; the yellow, the pictures and the flips stay as they are.
   Every rule is scoped to html.light, which index.html sets from ?theme=light (or the saved choice), so this file
   changes nothing on the dark page. The deck's geometry is untouched: colours only. */

/* ---------- the page: a pale yellow, so the white cards stand off it ---------- */
html.light,html.light body{background:#fdf6dc}
html.light body{color:#0a0a0a}
html.light .sx-by{color:var(--body)}

/* arrows and dots over the white page: ink buttons, grey dots, the yellow stays on the current one */
html.light .arr{background:#0a0a0a;color:#fff}
html.light .dot{background:rgba(10,10,10,.18)}
html.light .dot.on{background:var(--accent)}
html.light .dcount{color:var(--head)}
html.light .sbline{color:#0a0a0a}

/* the rails and the top bar: grey icons that darken on touch, as the dark page lightens them */
/* the rail buttons are white discs with an ink line (Sean 2026-12-05), so they stand off the ghosted cards behind them */
html.light .rail .rbtn{width:40px;height:40px;margin:2px auto;background:#fff;border:1px solid #0a0a0a;border-radius:50%;transition:background 120ms ease,color 120ms ease}
@media (max-height:820px){ html.light .rail .rbtn{width:36px;height:36px;margin:1px auto} }
html.light .rbtn img{filter:brightness(0)}
html.light .mbtn img{filter:brightness(0) opacity(.55)}
html.light .rbtn:hover,html.light .rbtn.on,html.light .rbtn.open{background:#0a0a0a}
html.light .rbtn:hover img,html.light .rbtn.on img,html.light .rbtn.open img{filter:brightness(0) invert(1)}
html.light .mbtn.on img{filter:brightness(0)}
html.light .rsep,html.light .rails .rail.tools:not([hidden]):not(:empty)::before{background:rgba(10,10,10,.12)}
html.light .egtopbar .cta{color:#0a0a0a;border-color:rgba(10,10,10,.35);background:rgba(255,255,255,.7)}
html.light .egtopbar .cta:hover,html.light .egtopbar .cta:focus-visible{background:#0a0a0a;color:#fff}
html.light .egtopbar .cta.solid{background:#0a0a0a;color:#fff;border-color:#0a0a0a}
html.light .egtopbar .cta.solid:hover{background:#2a2a2a}

/* ---------- the card front: white, ink words, a soft shadow instead of the dark one ---------- */
html.light .face{box-shadow:0 14px 38px rgba(10,10,10,.14)}
html.light .front{background:#fff;color:#0a0a0a;border-color:var(--line)}
/* the centre card gets an ink line; the ghosted side cards keep the soft grey one */
html.light .slot.is-active .front{border-color:#0a0a0a}
html.light .hk{color:var(--body)}
html.light .name{color:#0a0a0a}
html.light .sub{color:var(--head)}
html.light .plate .word{color:#0a0a0a}
html.light .contact .who{color:#0a0a0a}
html.light .contact .who span{color:var(--body)}
html.light .chip{color:#0a0a0a;border-color:rgba(10,10,10,.4)}
html.light .chip:hover{border-color:#0a0a0a}
html.light .chip.on{background:#0a0a0a;color:#fff;border-color:#0a0a0a}
html.light .kind.kdate,html.light .kev .kind.ktype{color:#0a0a0a;box-shadow:inset 0 0 0 1px rgba(10,10,10,.85)}
html.light .kind.tm,html.light .kind.cc{background:#0a0a0a;color:#fff}

/* the lower block: the eyebrow and the inline link turn from yellow to the deep amber the white faces already use,
   because the yellow does not read on white */
html.light .eyebrow{color:#9a4310}
html.light .headline{color:#0a0a0a}
html.light .sentence{color:var(--head)}
html.light .sentence b{color:#0a0a0a}
html.light .lower .sentence a{color:#9a4310!important}
html.light .rot{border-top-color:var(--line)}

/* the tiles: ink lines on white, the second keeps its yellow line */
html.light .tile{border-color:#0a0a0a;background:#fff;color:#0a0a0a}
html.light .tile:nth-child(2){border-color:var(--accent)}
html.light .tile small{color:var(--body)}
html.light .tile.go:hover{background:rgba(10,10,10,.05)}

/* the second button: an ink outline where the dark face had a white one */
html.light .flip.alt{color:#0a0a0a;border-color:rgba(10,10,10,.55)}
html.light .flip.hdemo{box-shadow:inset 0 0 0 1px rgba(10,10,10,.55)}

/* the checklist on a signed-in home card */
html.light .ptest .pthead{color:var(--body)}
html.light .ptest .pthead b{color:#0a0a0a}
html.light .ptest li{border-top-color:var(--line)}
html.light .ptest li i{border-color:rgba(10,10,10,.45);color:var(--head)}
html.light .ptest li.next i,html.light .ptest li.done i{border-color:#0a0a0a;background:#0a0a0a;color:#fff}
html.light .ptest li.done i::after{border-color:#fff}
html.light .ptest li b{color:#0a0a0a}
html.light .ptest li small{color:var(--body)}
html.light .ptest li.done b{color:var(--body)}

/* the action row on an event card */
html.light .abtn{background:#0a0a0a;color:#fff;border-color:#0a0a0a}
html.light .abtn.ghost{background:#fff;color:#0a0a0a;border-color:#0a0a0a}
html.light .astat{border-color:rgba(10,10,10,.4);color:var(--head)}
html.light .aslot .ainc{color:#0a0a0a;background:#fff;border-color:#0a0a0a}
html.light .aslot .ainc small{color:var(--body)}
html.light .aslot .ainc:has(input:checked){background:#0a0a0a;color:#fff;border-color:#0a0a0a}
html.light .aslot .ainc:has(input:checked) small{color:rgba(255,255,255,.75)}

/* ---------- phones: the menu goes white too ---------- */
html.light .burger i{background:#0a0a0a}
html.light .mnav{background:rgba(255,255,255,.97)}
html.light .mbtn{color:var(--head);border-bottom-color:rgba(10,10,10,.1)}
html.light .mbtn.on{color:#0a0a0a}
html.light .mnav .cta{color:#0a0a0a;border-color:rgba(10,10,10,.35);background:#fff}
html.light .egbar button,html.light .egbar select,html.light .egbar input{background:#fff;color:#0a0a0a;border-color:rgba(10,10,10,.4)}
html.light .egbar button.who{background:#0a0a0a;color:#fff;border-color:#0a0a0a}
html.light .egbar button.ic img{filter:brightness(0)}
html.light .egbar button.ic.who img{filter:brightness(0) invert(1)}
html.light .egbar input::placeholder{color:var(--body)}
html.light .egbar select{background-image:linear-gradient(45deg,transparent 50%,#0a0a0a 50%),linear-gradient(135deg,#0a0a0a 50%,transparent 50%)}

/* the Buzzy button, bottom right: a white disc with an ink line, so it sits on the page the way the dark one did */
html.light .ebtn{background:rgba(255,255,255,.9);border-color:rgba(10,10,10,.35)}
html.light .ebtn:hover,html.light .ebtn:focus-visible{border-color:#0a0a0a;background:#fff}

/* the wings on the light face: white, ink line, ink words, amber price */
html.light .sx-wing{background:#fff;color:#0a0a0a;border-color:#0a0a0a;box-shadow:0 14px 38px rgba(10,10,10,.14)}
html.light .sx-wing.pick{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent),0 14px 38px rgba(10,10,10,.14)}
html.light .sx-lanehead{border-bottom-color:var(--line)}
html.light .sx-lanehead i{color:#9a4310}
html.light .sx-lanehead span{color:var(--body)}
html.light .sx-cmp li{border-bottom-color:var(--line)}
html.light .sx-cmp li span{color:var(--head)}
html.light .sx-cmp li em{color:#9a4310}
