/* Sky Collector's theme (rebuild, 2026-11-16): Space Collector restyled, nothing else. Loaded after Space Collector's own
   stylesheets, on the game (body.sky-only) and the Collection (html.sky-cards).
   1. The accent: Space Collector's --gold, re-pointed to red (Sevaan, 2026-11-16: "replace all oranges with reds"). Every
      orange in Space Collector's CSS reads this variable, so nothing else needs touching for it.
   2. The daylight look (canvas row D): sky-blue pages, cream paper, navy ink, for every page except Explore at night, where
      the dark header and tabs belong to the sky.
   Sky's own components (the plane card face, Today, stamps) are styled in css/sky-cards.css. */

:root, body.sky-only, html.sky-cards:not(.sky-night) { --gold:#d7362b; }
body.sky-only, html.sky-cards { --sc-ink:#0d2238; --sc-muted:#4a6178; --sc-paper:#fffdf6; --sc-rule:#c9b98a; --sc-line:#c9d9e6;
  --sc-orange:var(--gold); --sc-orange-ink:#b42a20; --sky-red:var(--gold); --sky-red-hi:#e8493c; --sky-red-edge:#8c1c14; --sky-red-ink:#b42a20;
  --sc-gold:linear-gradient(160deg,#ffe28a,#f2b632 40%,#ffd86a 70%,#c98f1c); }

/* ---- Loading screen and welcome (2026-11-15): light sky like the rest of Sky Collector ---- */
#start { background:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 55%,#eef5fb 100%); color:var(--sc-ink); }
#start > .starfield { display:none; }
#start .wc-loader .ld-word { color:#0d2238; } /* written out: on the loading screen Sky's variables aren't set yet, so it showed Space's pale yellow (2026-11-18, Sevaan) */
#start .wc-loader .ld-sub { color:#23405c; }
#start .wc-swipe { color:var(--sc-orange-ink); }
#start #btn-start.text-button { color:var(--sc-ink); }
#start .wc-hint, #start #start-note { color:#23405c; }

/* The mission card in cream with navy ink (2026-11-15, canvas row D) */
#wc-holder .card.wc-mission .card__face { background:#fffdf6 !important; }
#wc-holder .card.wc-mission .card__shine, #wc-holder .card.wc-mission .card__glare { opacity:.35; }
#wc-holder .wc-a, #wc-holder .wc-a-title, #wc-holder .wc-a-steps b { color:var(--sc-ink); }
#wc-holder .wc-a-top .hot { color:var(--sc-orange-ink); }
#wc-holder .wc-a-text { color:#1b3047; }
#wc-holder .wc-a-text b { color:var(--sc-ink); }
#wc-holder .wc-a-pic { background:linear-gradient(180deg,#8cc2ec,#e4f1fa); }
#wc-holder .wc-a-pic i { background:var(--sc-orange); color:var(--sc-ink); }
#wc-holder .wc-a-foot { border-top-color:var(--sc-rule); }
#wc-holder .wc-a-foot > span:first-child { color:var(--sc-orange-ink); }
html:not(.native-app) #ob-pips i:nth-child(3) { display:none; } /* Sky Collector on the web: two steps, then the first catch (the apps have When to look up too) */

/* Tour cards in cream with navy ink (2026-11-15, canvas row D). The art keeps its drawings; their cream strokes and
   fills turn navy so they read on a daylight panel. */
.tc { background:#fffdf6; border-color:#b8c6d2; box-shadow:inset 0 0 0 5px #fffdf6, inset 0 0 0 6px #c9b98a88, 0 -14px 50px rgba(13,34,56,.35); }
.tc.gold { border-color:#f2b632; box-shadow:inset 0 0 0 5px #fffdf6, inset 0 0 0 6px #f2b63266, 0 -14px 50px rgba(13,34,56,.35); }
.tc.under { filter:brightness(.9); } .tc.under2 { filter:brightness(.8); }
.tc .bar { color:var(--sc-ink); border-bottom-color:#c9b98a; }
.tc .bar .tier { color:var(--sc-orange-ink); }
.tc h3 { color:var(--sc-ink); }
.tc .sub { color:var(--sc-muted); border-bottom-color:#c9b98a66; }
.tc .art { border-color:var(--sc-line); background:linear-gradient(180deg,#8cc2ec,#e4f1fa); }
.tc .art [stroke="#fff2b3"] { stroke:#0d2238; }
.tc .art [fill="#fff2b3"] { fill:#0d2238; }
.tc .art [fill="#0c1725"] { fill:#fffdf6; }
.tc .art [stroke="#627a8b"] { stroke:#23405c; }
.tc p { color:#1b3047; }
.tc .acts .yes { background:var(--sc-orange); color:var(--sc-ink); }
.tc .acts .no { background:#eef3f8; color:var(--sc-ink); }
.tc.stack .acts .no { background:none; color:var(--sc-orange-ink); }


/* ---- Packs in the light look (2026-11-15, Sevaan: "dark looks too much like the space app"). The opener, gift and
   daily packs share #gift (css/gift.css). Since 2026-11-16 (Sevaan: "navy foil on cream … not a night sky … realistic
   moving clouds"): Space Collector's pack exactly, with Flight Plan's linework (back-flight-plan-mask.webp, cut by
   scripts/art/back-mask.py) in navy foil on cream, opened over a daylight sky where Space Collector has its starry night:
   a sky gradient and Tonight's drifting noise clouds in white (js/gift-pack.js), no painting. ---- */
html body #gift { background:linear-gradient(180deg,#5d97cf 0%,#86b6e0 40%,#b9d5ee 75%,#dbe9f5 100%); color:var(--sc-ink); }
html body #gift.bare::before { background:linear-gradient(180deg,#5d97cf 0%,#86b6e0 40%,#b9d5ee 75%,#dbe9f5 100%); } /* the first-run opener: the same sky, fading to the app as there */
html body #gift .gp-stars { display:block; position:absolute; inset:0; overflow:hidden; pointer-events:none; }
html body #gift .gp-cl { position:absolute; left:0; right:0; }
html body #gift .gp-cl.hi { top:-2%; height:44%; }
html body #gift .gp-cl.mid { top:28%; height:44%; opacity:.55; -webkit-mask:linear-gradient(transparent, #000 35%, #000 65%, transparent); mask:linear-gradient(transparent, #000 35%, #000 65%, transparent); } /* soft on both edges: no line where it starts */
html body #gift .gp-cl.lo { bottom:-2%; height:46%; transform:scaleY(-1); } /* the noise fades downward, so the low deck is the same layer upside down, fading upward */
html body #gift .gp-cl .wx-clouds { top:0; height:100%; -webkit-mask:linear-gradient(#000 30%, transparent 95%); mask:linear-gradient(#000 30%, transparent 95%); }

html body #gift .gp-head .k { color:var(--sc-orange-ink); }
html body #gift .gp-head h1 { color:var(--sc-ink); }
html body #gift .gp-head p, #gift .gp-hint .sub { color:#23405c; }
html body #gift .gp-hint { color:var(--sc-ink); }
html body #gift .gp-hint b { color:var(--sc-orange-ink); }
html body #gift .gp-hint button { border-color:var(--sc-line); background:#ffffffcc; color:var(--sc-ink); }
html body #gift .gp-x { color:var(--sc-ink); }
/* The pack: Sky Blue (2026-11-18, Sevaan picked it from seven options): Flight Plan's linework (back-flight-plan-mask.webp)
   in white foil on a deep sky-blue pack. The shimmer follows the tilt (--mx) as in Space Collector. Its colours are these
   variables, shared by the big pack (#gift), the share sheet's small pack (.sv-pk) and the sides. */
:root { --pk-base:radial-gradient(ellipse at 50% 35%,#4f93d4,#1f5a99 85%);
  --pk-foil:linear-gradient(120deg,#ffffff,#d8e7f5 30%,#ffffff 45%,#a9c7e3 55%,#ffffff 70%,#e3eef8);
  --pk-mask:url('../assets/art/backs/back-flight-plan-mask.webp'); --pk-foil-op:1;
  --pk-side:#3f7fc0; --pk-side2:#164577; --pk-mid:#1b4f87; --pk-count-bg:#0d22384d; --pk-count-ink:#fff; }
html body #gift .gp-base, html body .sv-pk-base { background:var(--pk-base); }
html body #gift .gp-art { background:var(--pk-foil) calc(var(--mx, 50) * 1%) 0 / 260% 100%;
  -webkit-mask:var(--pk-mask) 50% 52% / 118% auto no-repeat; mask:var(--pk-mask) 50% 52% / 118% auto no-repeat; opacity:var(--pk-foil-op); }
html body .sv-pk-art { background:var(--pk-foil) 0 0 / 260% 100%;
  -webkit-mask:var(--pk-mask) 50% 52% / 118% auto no-repeat; mask:var(--pk-mask) 50% 52% / 118% auto no-repeat; opacity:var(--pk-foil-op); }
html body .sv-pk-crimp { background:repeating-linear-gradient(90deg,#0d223822 0 1.5px,#ffffff55 1.5px 4px); }
/* the small pack on the night-pack ticket and toasts: the same Sky Blue pack, white linework on blue */
html body .tn-pack { background:var(--pk-base); box-shadow:inset 0 0 0 1px #ffffff55; }
html body .tn-pack::after { content:''; position:absolute; inset:0; background:#fff;
  -webkit-mask:var(--pk-mask) 50% 45% / 150% auto no-repeat; mask:var(--pk-mask) 50% 45% / 150% auto no-repeat; }
html body #toasts .ticket .tn-pack::after { -webkit-mask-size:170% auto; mask-size:170% auto; }
html body .tn-pack::before { border-top-color:#ffffffbb; z-index:1; }
html body #toasts .tn-ic.art:has(.tn-pack) { background:#1f5a99; }
html:not(.sky-night) body.sky-only #toasts .tn-ic.art:has(.patch), html.sky-cards:not(.sky-night) #toasts .tn-ic.art:has(.patch) { background:#dce8f2; } /* by day a patch sits on pale sky, not night navy, so its navy edge shows (QA round 4); the second selector is the Collection frame (cards.html has no body.sky-only), where the Member and Ambassador toasts show (QA round 5) */
html body #toasts .ticket .tn-ic.art:has(.tn-pack) { background:none; }
html body #toasts .ticket .tn-pack { box-shadow:inset 0 0 0 1px #ffffff55, 0 4px 10px #0d223855; }
html body #gift .gp-lines { background:repeating-linear-gradient(0deg,#0d223806 0 1px,transparent 1px 3px); }
html body #gift .gp-glow { background:radial-gradient(circle at calc(var(--mx, 50) * 1%) calc(var(--my, 40) * 1%),#ffffffaa,transparent 45%); mix-blend-mode:soft-light; }
html body #gift .gp-seam { background:repeating-linear-gradient(90deg,#0d223866 0 6px,transparent 6px 11px); }
html body #gift .gp-shade { background:linear-gradient(90deg,#0d223830,transparent 14%,transparent 86%,#0d223830),linear-gradient(#0000 80%,#0d223822); }
html body #gift .gp-count { background:radial-gradient(ellipse 45% 60% at 50% 60%,var(--pk-count-bg),transparent 75%); }
html body #gift .gp-count b { background:linear-gradient(120deg,#ffffff,#dfeaf5 40%,#ffb3a8 60%,#ffffff) calc(var(--mx, 50) * 1%) 0 / 240% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; }
html body #gift .gp-count span { color:var(--pk-count-ink); }
/* The pack's depth and shadow in daylight (2026-11-18, Sevaan: "anytime a pack tilts to the side you can see a blob behind
   it"): Space Collector's pack has a flat back panel half a pack-depth behind the front, and a blurred shadow that tilts
   with it. On the night sky both were lost in the dark; on a light sky the panel's corners poke out past the bag's edges
   and the shadow shows as a blob beside it. Here neither is drawn: the curved side walls give the depth, and the only
   shadow is the soft one on the ground under the pack (.gp-contact), which doesn't tilt. The extra drop-shadow filter on
   the pieces goes too (a filter on the masked pieces re-renders every frame: gift.css jank pass). */
html body #gift .gp-piece { filter:none; }
html body #gift .gp-back, html body #gift .gp-shadow { display:none; }
/* (2026-11-18, Sevaan: "tilt the pack all the way to the right or left and you'll see it") at full tilt the side showed as a
   dark navy half-moon past the bag's edge, read as a shadow: the bag is half as deep, and its side is the bag's own blue,
   only a shade darker, so it reads as the bag curving round */
html body #gift .gp-pk { --pd:calc(var(--pw) * .085); }
html body #gift .gp-wall.l { background:linear-gradient(90deg,#ffffff8c 0 1.5px,#4f93d4 2px,#3f80c2 50%,#336fae); }
html body #gift .gp-wall.r { background:linear-gradient(270deg,#ffffff8c 0 1.5px,#4f93d4 2px,#3f80c2 50%,#336fae); }
/* the light leaking from the top of the sealed pack: white daylight, not the best card's colour as a coloured smudge */
html body #gift .gp-leak { background:radial-gradient(ellipse 50% 40% at 50% 34%,#ffffffb3,transparent 70%); }
html body #gift .gp-contact { background:radial-gradient(ellipse at 50% 50%,rgba(13,34,56,.45),transparent 70%); opacity:.7; }
html body #gift .gp-edges { background:linear-gradient(90deg,#ffffff80 0 1px,#ffffff20 1px 3px,transparent 3px calc(100% - 3px),#0d22381f calc(100% - 3px) calc(100% - 1px),#ffffff40 calc(100% - 1px)); }
/* The bag's shading (pillow, seals, the stack pressing through) was tuned for black foil: near-black at the edges and seals,
   which on cream reads as a dirty band down each side and across the bottom. The same shapes in navy, much lighter. */
html body #gift .gp-pillow { background:
    radial-gradient(ellipse 52% 44% at 50% 54%,#ffffff30,transparent 70%),
    linear-gradient(90deg,#0d223838,#0d22381a 5%,#0d223808 9%,transparent 13%,transparent 87%,#0d223808 91%,#0d22381a 95%,#0d223838),
    linear-gradient(#0d22382e,#0d223810 10%,transparent 16%,transparent 84%,#0d223810 90%,#0d223833); }
html body #gift .gp-seal { background:linear-gradient(#ffffff59,#ffffff14 55%,#0d22381a 92%,#0d223833), repeating-linear-gradient(90deg,#ffffff66 0 .8px,#ffffff14 .8px 2.2px,#0d223826 2.2px 3.6px,#0000 3.6px 4px); }
html body #gift .gp-seal.b { background:linear-gradient(#0d223833,#0d22381a 8%,#ffffff14 45%,#ffffff59), repeating-linear-gradient(90deg,#ffffff66 0 .8px,#ffffff14 .8px 2.2px,#0d223826 2.2px 3.6px,#0000 3.6px 4px); }
html body #gift .gp-pinch { background:repeating-linear-gradient(90deg,#ffffff26 0 2px,#0d223814 2px 7px,#ffffff14 7px 9px,#0d22380d 9px 15px); }
html body #gift .gp-cards { box-shadow:inset 0 3px 0 #ffffff99, inset 0 4px 6px #ffffff33, inset 2px 0 0 #ffffff4d, inset 0 -4px 0 #0d223833, inset -2px 0 0 #0d223826, 0 2px 0 #0d223829, 0 -2px 0 #ffffff33, 0 0 30px #0d22381f; }
html body #gift .gp-cards::after { background:repeating-linear-gradient(#ffffff40 0 1px,#0d22381f 1px 2.5px); }
html body #gift .gp-ribbon { box-shadow:0 4px 10px rgba(13,34,56,.25); }
/* Dealt cards: a soft navy shadow under each back, not black */
html body #gift .gp-dc .gp-bk { box-shadow:0 0 0 1px #0d22381f, 0 12px 26px rgba(13,34,56,.3); }
html body #gift .gp-dc.aura .gp-bk { box-shadow:0 0 0 2px var(--t), 0 0 22px var(--t), 0 0 60px color-mix(in srgb, var(--t) 60%, transparent), 0 12px 26px rgba(13,34,56,.3); }
html body #gift .gp-tags .up { background:#ffffffd9; color:var(--sc-ink); border-color:var(--sc-line); }
html body #gift .gp-tags .tease { background:#fffdf6e6; }
html body #gift .gp-count2 { color:#23405c; } html body #gift .gp-count2 b { color:var(--sc-ink); }
html body #gift .gp-share { color:var(--sc-ink); }
html body #gift .gp-sharemsg { background:#fffdf6; border-color:var(--sc-rule); color:var(--sc-ink); box-shadow:0 6px 16px rgba(13,34,56,.18); }
/* The summary card at the end of a pack (2026-11-18): was Space Collector's navy card under a black shadow; now cream
   paper with navy ink, like the cards and the Collection. */
html body #gift .gp-haul .gp-sum { background:#fffdf6; border-color:var(--sc-rule); box-shadow:0 0 0 5px #fffdf6, 0 0 0 6.5px #c9b98a88, 0 18px 40px rgba(13,34,56,.25); color:var(--sc-ink); }
html body #gift .gp-haul .gp-sbar { color:var(--sc-muted); border-bottom-color:#0d22381a; }
html body #gift .gp-haul .gp-sbar span:first-child { color:var(--sc-orange-ink); }
html body #gift .gp-haul .gp-sum > h2 { color:var(--sc-ink); }
html body #gift .gp-haul .gp-sum > p, html body #gift .gp-haul p:not(:where(.mini-face *, .card *, .sct-face *)) { color:var(--sc-muted); }
html body #gift .gp-haul p:not(:where(.mini-face *, .card *, .sct-face *)) b { color:var(--sc-ink); }
html body #gift .gp-haul .gp-stats { border-color:#0d22381a; }
html body #gift .gp-haul .gp-stats b { color:var(--sc-ink); }
html body #gift .gp-haul .gp-stats small, html body #gift .gp-haul .gp-patch small { color:var(--sc-muted); }
html body #gift .gp-haul .gp-sfoot { color:#7d8fa1; }
html body #gift .gp-haul .xp { background:#fffdf6; border-color:var(--sc-line); border-left-color:var(--gold); color:var(--sc-ink); }
html body #gift .gp-haul .gp-row { color:var(--sc-ink); background:#ffffffb3; }
html body #gift .gp-haul .gp-row span { color:var(--sc-muted); }
html body #gift .gp-haul .later { color:var(--sc-ink); }
html body #gift .gp-haul .go, html body #gift .gp-msg button, html body #gift .gp-haul .gp-fan .t.n::after, html body #gift .gp-grid .t.n::after, html body #gift .gp-tags .new { color:#fff; }
html body #gift .gp-haul .gp-fan .t { background-color:#eef3f8; box-shadow:0 0 14px color-mix(in srgb, var(--c) 30%, transparent), 0 12px 24px rgba(13,34,56,.25); }
html body #gift .gp-haul .gp-fan .t.mini { box-shadow:0 0 16px color-mix(in srgb, var(--c) 25%, transparent), 0 12px 24px rgba(13,34,56,.25); }
html body #gift .gp-grid .t { background-color:#eef3f8; }
html body #gift .gp-grid .t.more { background:#eef3f8; color:var(--sc-orange-ink); }
html body #gift .gp-haul .gp-more { background:#fffdf6; border-color:var(--sc-line); color:var(--sc-ink); }
/* the share chooser */
html body #gift .gp-sheet { background:#0d223840; }
html body #gift .gp-sheet-card { background:#fffdf6; border-top-color:var(--sc-rule); box-shadow:0 -10px 30px rgba(13,34,56,.18); }
html body #gift .gp-sheet .k { color:var(--sc-muted); }
html body #gift .gp-opt { background:#ffffff; border-color:var(--sc-line); color:var(--sc-ink); }
html body #gift .gp-opt-vis { background:radial-gradient(ellipse at 50% 30%,#cfe5f6,#9cc4e6 80%); }
html body #gift .gp-cancel { border-color:var(--sc-line); color:var(--sc-ink); }
html body #gift .gp-count b { filter:drop-shadow(0 1px 2px rgba(13,34,56,.18)); }
/* the small card on the Collect panel: a soft navy shadow on the cream panel, not Space Collector's black one */
html:not(.sky-night) body.sky-only:not(.night) #discover .d-ticket.has-mini .d-mini { filter:drop-shadow(0 4px 8px rgba(13,34,56,.28)); }
html body #gift.bare { background:none; } html body #gift.bare::before { background:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 55%,#eef5fb 100%); }


/* Lighter inner shadows on the welcome card's step pictures and the tour cards' pictures (2026-11-15, Sevaan: "less dark");
   Space Collector's were tuned for a night sky. */
html body .wc-a-pic::after { box-shadow:inset 0 .3em .6em rgba(13,34,56,.22), inset 0 -1px 0 #ffffff55; }
html body .tc .art::after { box-shadow:inset 0 .3em .6em rgba(13,34,56,.22), inset 0 -1px 0 #ffffff55; }


/* The catch reveal in daylight (2026-11-15, task 8): Space Collector's reveal, the same rush, flash, flip and glow, over the
   Sky Collector sky instead of the night (the pack and welcome card already are). Text and chips switch to navy ink. */
body.sky-only #reveal, body.sky-only.night #reveal { background:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 55%,#eef5fb 100%); }
body.sky-only #reveal #rv-top, body.sky-only #reveal #rv-top .icon-button, body.sky-only #reveal-eyebrow { color:var(--sc-ink); }
body.sky-only #reveal .rv-xp, body.sky-only #reveal-eyebrow b { color:var(--sc-orange-ink); }
body.sky-only #reveal .rv-chip { background:#ffffffd9; border-color:var(--sc-line); color:var(--sc-ink); box-shadow:0 2px 8px rgba(13,34,56,.12); }
body.sky-only #reveal .rv-chip b { color:var(--sc-orange-ink); }
body.sky-only #reveal .rv-rank-row { color:#23405c; }
body.sky-only #reveal .rv-bar { background:#c9dcec; }
body.sky-only #reveal #reveal-view { color:var(--sc-ink); }
body.sky-only #reveal #rv-glow { filter:hue-rotate(0deg) opacity(.55); }
body.sky-only.night #reveal-eyebrow { color:var(--sc-ink) !important; }
body.sky-only #reveal #rv-top .x-close, body.sky-only.night #reveal #rv-top .x-close { color:var(--sc-ink) !important; }
body.sky-only #reveal a#reveal-view, body.sky-only.night #reveal a#reveal-view { color:#23405c !important; }


/* ============================================================================================================
   Sky Collection, daylight (2026-11-15, design "Light Touch, daylight" row D).
   The Collection page is Space Collector's cards.html (js/cards-page.js adds html.sky-cards in Sky mode). Same layout,
   sizes and spacing as the night page; only colours, backgrounds, borders, shadows and text colours change here:
   sky-blue page, cream card-paper panels (#fffdf6, #c9b98a / #e7dcbd), navy ink (#0d2238, muted #4a6178),
   orange accent (var(--gold); text uses the darker #b42a20 so it passes AA on paper). The cards (.card--sky / .fc) are untouched.
   ============================================================================================================ */
html.sky-cards:not(.sky-night):root { color-scheme:light; --bg:#eef5fb; --panel:#fffdf6; --text:#0d2238; --muted:#4a6178; --line:#c9d9e6; --accent:#b42a20;
  --ink:#0d2238; --gold:#b42a20; --cream:#0d2238; --cyan:#2b6a99; --edge:#c9b98a; --glass-strong:#fffdf6;
  --h-text:#0d2238; --h-muted:#23405c; --h-edge:#7fa6c6; --h-glass:#ffffffd9;
  --ui-ink:#0d2238; --ui-muted:#4a6178; --ui-link-ink:#23405c; --ui-gold:#b42a20; --ui-edge:#c9b98a; --ui-edge-soft:#c9d9e6; --ui-glass:#ffffffd9; --ui-bar:#fffdf6;
  --day-sky:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 55%,#eef5fb 100%); }
html.sky-cards:not(.sky-night), html.sky-cards:not(.sky-night) body, html.sky-cards:not(.sky-night) body.sky-tone { background:#eef5fb !important; color:#0d2238; }
html.sky-cards:not(.sky-night) body, html.sky-cards:not(.sky-night) body.sky-tone { background:linear-gradient(180deg,#8cc2ec 0,#cfe5f6 220px,#eef5fb 400px) #eef5fb !important; }
html.sky-cards:not(.sky-night).embedded body, html.sky-cards:not(.sky-night).embedded body.sky-tone { background:#eef5fb !important; }

/* header */
html.sky-cards:not(.sky-night) .collection-header .wordmark { color:#0d2238; }
html.sky-cards:not(.sky-night) .collection-header .wordmark span { color:#23405c; }
html.sky-cards:not(.sky-night) .collection-header::after { border-block-color:#5c86a8; opacity:.5; }
html.sky-cards:not(.sky-night) .collection-header .icon-button, html.sky-cards:not(.sky-night) .collection-header .icon-button .ico { color:#0d2238; }
html.sky-cards:not(.sky-night) .icon-button[aria-pressed="true"] { color:#b42a20; }
html.sky-cards:not(.sky-night) .collection-intro h1 { color:#0d2238; }
html.sky-cards:not(.sky-night) .eyebrow, html.sky-cards:not(.sky-night) .collection-intro .eyebrow { color:#b42a20; }
html.sky-cards:not(.sky-night) #count { color:#23405c; }
html.sky-cards:not(.sky-night) .stats-link, html.sky-cards:not(.sky-night) .ui-link { color:#23405c !important; }

/* rank card (#logbook): same layout, a light sky panel for the ladder, orange progress */
html.sky-cards:not(.sky-night) .logbook, html.sky-cards:not(.sky-night) .lb-rot { background:#fffdf6; border-color:#c9b98a; color:#0d2238;
  box-shadow:inset 0 0 0 1px #e7dcbd, 0 6px 18px rgba(13,34,56,.12); }
html.sky-cards:not(.sky-night) #logbook .lb-rot { box-shadow:inset 0 0 0 1px #e7dcbd, 0 6px 18px rgba(13,34,56,.12); }
html.sky-cards:not(.sky-night) .lb-top { color:#0d2238; border-bottom-color:#c9b98a; }
html.sky-cards:not(.sky-night) .lb-top .lb-streak, html.sky-cards:not(.sky-night) .lb-streak { color:#b42a20; }
html.sky-cards:not(.sky-night) .lb-pic { background:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 70%,#e4f1fa 100%); border-bottom-color:#c9b98a; }
html.sky-cards:not(.sky-night) .lb-ladder .lb-tw { fill:#ffffff; }
html.sky-cards:not(.sky-night) .lb-ladder path[stroke="#344654"] { stroke:#5c86a8; }
html.sky-cards:not(.sky-night) .lb-ladder text[fill="#fff2b3"] { fill:#0d2238; }
html.sky-cards:not(.sky-night) .lb-ladder text[fill="#bdbea9"] { fill:#23405c; }
html.sky-cards:not(.sky-night) .lb-ladder text[fill="var(--gold)"] { fill:#b42a20; }
html.sky-cards:not(.sky-night) .lb-ladder circle[fill="#0b1626"] { fill:#fffdf6; }
html.sky-cards:not(.sky-night) .lb-ladder circle[stroke="#fff2b3"] { stroke:#0d2238; }
html.sky-cards:not(.sky-night) .lb-more, html.sky-cards:not(.sky-night) .lbd-more, html.sky-cards:not(.sky-night) .logbook .lb-pic .lb-more { color:#b42a20; }
html.sky-cards:not(.sky-night) .lb-prog, html.sky-cards:not(.sky-night) .lb-foot { border-color:#c9b98a; }
html.sky-cards:not(.sky-night) .lb-name, html.sky-cards:not(.sky-night) .lbd-name { color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-rankrow .lb-name, html.sky-cards:not(.sky-night) .lb-dial .lb-name, html.sky-cards:not(.sky-night) .st-rank .lb-name { background:none; color:#0d2238; -webkit-text-fill-color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-xp, html.sky-cards:not(.sky-night) .lb-rankrow .lb-xp { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-xp b, html.sky-cards:not(.sky-night) .lb-rankrow .lb-xp b { color:#b42a20; }
html.sky-cards:not(.sky-night) .lb-bar { background:#dce8f2; }
html.sky-cards:not(.sky-night) .lb-bar i { background:linear-gradient(90deg,var(--gold),#ffb35c); }
html.sky-cards:not(.sky-night) .lb-prog .lb-bar em { background:#0d2238; }
html.sky-cards:not(.sky-night) .lb-to, html.sky-cards:not(.sky-night) .lb-sub, html.sky-cards:not(.sky-night) .lb-prog .lb-sub, html.sky-cards:not(.sky-night) .lbd-to, html.sky-cards:not(.sky-night) .lb-label { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-to b, html.sky-cards:not(.sky-night) .lbd-to b, html.sky-cards:not(.sky-night) .lb-prog .lb-sub span:last-child { color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-prog .lb-sub b { color:#b42a20; }
html.sky-cards:not(.sky-night) .lbd-ring circle[stroke="#24344a"] { stroke:#dce8f2; }
html.sky-cards:not(.sky-night) .lbd-ring g[stroke] { stroke:#0d223855; }
html.sky-cards:not(.sky-night) .lbd-ring b { color:#0d2238; } html.sky-cards:not(.sky-night) .lbd-ring b small { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-head, html.sky-cards:not(.sky-night) .logbook .lb-head { color:#b42a20; } html.sky-cards:not(.sky-night) .lb-head span { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-mission { border-bottom-color:#e7dcbd; color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-mission i { border-color:#8a7a4a; }
html.sky-cards:not(.sky-night) .lb-mission.done { color:#4a6178; text-decoration-color:var(--gold); }
html.sky-cards:not(.sky-night) .lb-mission.done i { background:var(--gold); border-color:var(--gold); }
html.sky-cards:not(.sky-night) .lb-mission small { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-badge span { border-color:#c9b98a; color:#4a6178; } html.sky-cards:not(.sky-night) .lb-badge small { color:#4a6178; }
html.sky-cards:not(.sky-night) .lb-badge.done span { color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-remind { color:#b42a20; border-color:#b42a20; }
html.sky-cards:not(.sky-night) .lb-since { background:var(--gold)1f; color:#b42a20; }
html.sky-cards:not(.sky-night) .lb-glare { mix-blend-mode:soft-light; }
html.sky-cards:not(.sky-night) .ui-chip { background:#fffdf6 !important; border-color:#c9b98a !important; color:#0d2238; }
html.sky-cards:not(.sky-night) .ui-chip b { color:#b42a20; } html.sky-cards .ui-chip--earned b { color:#b42a20; } html.sky-cards:not(.sky-night) .ui-chip__k { color:#4a6178; }
html.sky-cards:not(.sky-night) .ui-eyebrow { color:#23405c; }

/* slim rank bar (folds in on scroll) and the live "objects" card */
html.sky-cards:not(.sky-night) .lb-slim { background:#eef5fb; border-bottom-color:#c9d9e6; }
html.sky-cards:not(.sky-night) .lbs-name { color:#0d2238; } html.sky-cards:not(.sky-night) .lbs-main small { color:#4a6178; }
html.sky-cards:not(.sky-night) .lbs-bar { background:#dce8f2; } html.sky-cards .lbs-m { color:#b42a20; }
html.sky-cards:not(.sky-night) .sg-pic { background:linear-gradient(180deg,#8cc2ec,#e4f1fa); border-bottom-color:#c9b98a; }
html.sky-cards:not(.sky-night) .sg-live, html.sky-cards:not(.sky-night) .sg-live i { color:#1d7a46; } html.sky-cards .sg-live i { background:#1d7a46; box-shadow:none; }

/* tabs, search, filters, results */
html.sky-cards:not(.sky-night) .collection-tabs, html.sky-cards:not(.sky-night) .collection-tabs::before { background:#eef5fb; }
html.sky-cards:not(.sky-night) .collection-tabs { box-shadow:0 0 0 100vmax #eef5fb; border-bottom-color:#c9d9e6; }
html.sky-cards:not(.sky-night) .collection-tabs button { color:#4a6178; }
html.sky-cards:not(.sky-night) .collection-tabs button[aria-pressed="true"] { color:#0d2238; }
html.sky-cards:not(.sky-night) .collection-tabs .tab-ink { background:var(--gold); }
html.sky-cards:not(.sky-night) #owned-count, html.sky-cards:not(.sky-night) .send-view .tab-count { background:#fffdf6; color:#b42a20; box-shadow:inset 0 0 0 1px #e7dcbd; }
html.sky-cards:not(.sky-night) .collection-tools, html.sky-cards:not(.sky-night) .collection-tools::before { background:#eef5fb; }
html.sky-cards:not(.sky-night) .collection-tools { box-shadow:0 10px 14px -10px rgba(13,34,56,.18); }
html.sky-cards:not(.sky-night) .search, html.sky-cards:not(.sky-night) .collection-tools .search { background:#fffdf6; border-color:#c9b98a; color:#4a6178; }
html.sky-cards:not(.sky-night) .search input { color:#0d2238; }
html.sky-cards:not(.sky-night) .search input::placeholder { color:#4a6178; }
html.sky-cards:not(.sky-night) .filters-btn { background:#fffdf6; border-color:#c9b98a; color:#0d2238; }
html.sky-cards:not(.sky-night) .filters-btn[aria-expanded="true"] { border-color:#b42a20; color:#b42a20; }
html.sky-cards:not(.sky-night) .filters-btn.active::after { background:var(--gold); }
html.sky-cards:not(.sky-night) .filter select { background:#fffdf6; border-color:#c9b98a; color:#0d2238; }
html.sky-cards:not(.sky-night) .filter select option { background:#fffdf6; color:#0d2238; }
html.sky-cards:not(.sky-night) .result-row, html.sky-cards:not(.sky-night) #results, html.sky-cards:not(.sky-night) .sv-results { color:#23405c; }
html.sky-cards:not(.sky-night) #reset-filters { color:#b42a20; }
html.sky-cards:not(.sky-night) .collection-notice { background:#fffdf6; border-color:#c9b98a; color:#23405c; }
html.sky-cards:not(.sky-night) .grid .tile-slot:empty { background:#dbe9f5; background-clip:content-box; } html.sky-cards .tile-slot:not(:empty) { background:transparent; }
html.sky-cards:not(.sky-night) .grid-head.up-next-head { border-top-color:#c9d9e6; }
html.sky-cards:not(.sky-night) .up-next-head b { color:#b42a20; } html.sky-cards:not(.sky-night) .up-next-head span { color:#4a6178; }
html.sky-cards:not(.sky-night) .loading { color:#4a6178; }

/* empty states */
html.sky-cards:not(.sky-night) .empty:not(.album) { border-color:#9bb8d0; background:#ffffff66; }
html.sky-cards:not(.sky-night) .empty h2 { color:#0d2238; } html.sky-cards:not(.sky-night) .empty p { color:#4a6178; }
html.sky-cards:not(.sky-night) .empty__orbit { color:#b42a20; }
html.sky-cards:not(.sky-night) .empty a, html.sky-cards:not(.sky-night) .empty button { background:var(--gold); color:#0d2238; }
html.sky-cards:not(.sky-night) .empty .secondary { background:none; color:#b42a20; }
html.sky-cards:not(.sky-night) .pw-empty { border-color:#9bb8d0; color:#4a6178; } html.sky-cards .pw-empty .empty__orbit { color:#b42a20; }
html.sky-cards:not(.sky-night) .storage-note { color:#4a6178; }

/* albums header strip (if reachable) */
html.sky-cards:not(.sky-night) .album-head { background:#fffdf6; border-color:#c9b98a; border-left-color:var(--set); color:#0d2238; }
html.sky-cards:not(.sky-night) .album { background:#fffdf6; border-color:#c9b98a; box-shadow:inset 0 0 0 1px #e7dcbd; color:#0d2238; }
html.sky-cards:not(.sky-night) .album__count, html.sky-cards:not(.sky-night) .album__sub { color:#4a6178; } html.sky-cards:not(.sky-night) .album__count b { color:#0d2238; }
html.sky-cards:not(.sky-night) .album__next { color:#b42a20; } html.sky-cards .album-bar { background:#dce8f2; } html.sky-cards .album-bar b { background:#9bb8d0; }

/* Patches wall and patch detail */
html.sky-cards:not(.sky-night) .pw-chip.on { border-color:#b42a20; background:var(--gold)1f; }
html.sky-cards:not(.sky-night) .pw-chip:not(.on) b { color:#0d2238; }
html.sky-cards:not(.sky-night) .pw-item span { color:#23405c; } html.sky-cards .pw-item.locked span { color:#566c81; } html.sky-cards.sky-night .pw-item.locked span { color:#8aa0b4; } /* locked captions (QA round 4: #6a8196 was 3.68:1 by day, 4.49:1 at night): 4.95:1 and 6.7:1, still quieter than earned (js/sky-patch-colours.js SKY_LOCKED_CAPTION) */
html.sky-cards:not(.sky-night) .pw-start > span { color:#b42a20; } html.sky-cards:not(.sky-night) .pw-start .pw-grid .pw-item span { color:#0d2238; }
html.sky-cards:not(.sky-night) .pw-start .pw-item small { color:#4a6178; }
html.sky-cards:not(.sky-night) .pw-item.new::after { background:#b42a20; color:#fffdf6; box-shadow:0 1px 2px rgba(13,34,56,.25); } /* cream on text red, 6.4:1 (navy on #d7362b was 3.6:1) */
html.sky-cards.sky-night .pw-item.new::after { background:#ff6b5e; color:#0b1626; }
/* Sky's pale patches (design/patch-colours B, 2026-11-20): the NEW ring a clean red line, not a pink haze; and no sepia
   "gold" filter (css/ui.css), which turned the light twill mustard: gold patches get a gold edge instead (js/patches.js) */
html.sky-cards .pw-item.new .patch::before { box-shadow:0 0 0 2px rgba(215,54,43,.7), 0 0 14px rgba(215,54,43,.2); }
html.sky-cards.sky-night .pw-item.new .patch::before { box-shadow:0 0 0 2px rgba(255,107,94,.8), 0 0 14px rgba(255,107,94,.25); }
:is(html.sky-cards, body.sky-only) .patch--gold .patch-svg { filter:none; }
html.sky-cards:not(.sky-night) #patch-view { background:var(--day-sky); background-color:#eef5fb; color:#0d2238; }
html.sky-cards:not(.sky-night) #patch-view::backdrop { background:rgba(13,34,56,.55); }
html.sky-cards:not(.sky-night) .pv-patch { filter:drop-shadow(0 14px 22px rgba(13,34,56,.3)); }
html.sky-cards:not(.sky-night) .pv-body h2 { color:#0d2238; } html.sky-cards:not(.sky-night) .pv-body p { color:#23405c; }
/* the patch on its card (playtest 2026-11-18: navy words on Space's dark card, 1.1:1): Sky's cream card paper, like the plane cards */
html.sky-cards:not(.sky-night) .pv-card { background:#fffdf6; border-color:#c9b98a; box-shadow:inset 0 0 0 1px #e8dfc4, 0 24px 50px rgba(13,34,56,.35); }
html.sky-cards .pv-card > .starfield { display:none; }
html.sky-cards:not(.sky-night) :is(.pv-bar, .pv-foot) { color:#23405c; border-color:#c9b98a; }
html.sky-cards:not(.sky-night) .pv-bar span:last-child { color:#b42a20; }
html.sky-cards:not(.sky-night) .pv-foot b { color:#0d2238; }
html.sky-cards:not(.sky-night) .pv-card.locked .pv-foot span { color:#4a6178; }
html.sky-cards:not(.sky-night) .pv-hint { color:#4a6178; }
html.sky-cards:not(.sky-night) .pv-prog { color:#23405c; } html.sky-cards .pv-prog b { color:#b42a20; } html.sky-cards .pv-prog__bar { background:#dbe5ee; }
html.sky-cards:not(.sky-night) .pv-card .pv-tell { color:#fffdf6; }
html.sky-cards:not(.sky-night) .pv-card .ui-chip { color:#23405c; border-color:#c9b98a; background:#f4ecd6; } html.sky-cards:not(.sky-night) .pv-card .ui-chip b { color:#0d2238; }
/* The display case (css/collection.css .pv-case, Space's, 2026-11-30) keeps its own wood, felt, glass and brass: Sky's cream
   card paper, drop shadow and navy words above are for the plain patch card, and would paint over it. */
html.sky-cards .pv-card.pv-case { background:#2a1a0c; border:0; box-shadow:0 2px 0 #0d223888, 0 26px 50px rgba(13,34,56,.45), 0 8px 16px rgba(13,34,56,.35); }
html.sky-cards .pv-case .pc-box .pv-patch { filter:drop-shadow(0 3px 2px #000c) drop-shadow(0 14px 18px #0009); }
html.sky-cards .pv-body .pv-case .pc-plaque h2 { color:#3a2506; } html.sky-cards .pv-body .pv-case .pc-plaque p { color:#4a3210; } html.sky-cards .pv-body .pv-case .pc-plaque .pv-ev { color:#7a3a0a; }
html.sky-cards .pv-case .pv-prog { color:#4a3210; } html.sky-cards .pv-case .pv-prog b { color:#8a3a06; } html.sky-cards .pv-case .pv-prog__bar { background:#5a3e1255; }

/* card viewer (#viewer) */
html.sky-cards:not(.sky-night) #viewer, html.sky-cards:not(.sky-night) body.sky-tone #viewer { background:transparent; color:#0d2238; }
html.sky-cards:not(.sky-night) #stats-view::backdrop, html.sky-cards:not(.sky-night) dialog::backdrop { background:rgba(13,34,56,.55); }
/* (2026-11-18, Sevaan: the swipe-away was janky) the viewer's sky is a layer of its own, faded by opacity (js/cards-page.js
   fadeViewer animates it with the backdrop): on the viewer itself the gradient never faded (only the colour under it did),
   then vanished in one frame when the card flew off. A layer, not the ::backdrop, because the viewer is briefly modeless
   while it closes, and a modeless dialog has no backdrop. */
html.sky-cards #viewer:not(.docked)::before { content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--day-sky); background-color:#eef5fb; }
html.sky-cards:not(.sky-night) #viewer.docked, html.sky-cards:not(.sky-night) #viewer.docked .viewer-scroll { background:#eef5fb !important; }
html.sky-cards:not(.sky-night) #v-position, html.sky-cards:not(.sky-night) .viewer-header .ui-eyebrow { color:#23405c; }
html.sky-cards:not(.sky-night) #viewer .close, html.sky-cards:not(.sky-night) .x-close, html.sky-cards:not(.sky-night) #viewer .v-share { color:#0d2238; }
html.sky-cards:not(.sky-night) #viewer .close:focus-visible, html.sky-cards:not(.sky-night) #stats-view .close:focus-visible { border-color:#0d2238; }
html.sky-cards:not(.sky-night) #viewer button:not(.ui-btn):not(.x-close):not(.ui-link):not(.v-up__remind):not(.v-up__show) { background:#fffdf6; border-color:#c9b98a; color:#0d2238; }
html.sky-cards:not(.sky-night) #viewer .close, html.sky-cards:not(.sky-night) #viewer .v-share { background:transparent !important; }
html.sky-cards:not(.sky-night) .viewer-status, html.sky-cards:not(.sky-night) .viewer-hint { color:#23405c; }
html.sky-cards:not(.sky-night) .v-where { color:#0d2238; } html.sky-cards .v-where::before { color:#b42a20; }
html.sky-cards:not(.sky-night) .viewer-history { border-top-color:#9bb8d0; }
html.sky-cards:not(.sky-night) .viewer-history h2 { color:#b42a20; }
html.sky-cards:not(.sky-night) .viewer-history p { color:#23405c; } html.sky-cards:not(.sky-night) .viewer-history p span:first-child, html.sky-cards:not(.sky-night) .viewer-history p.with-launch .h-main span:first-child { color:#0d2238; }
html.sky-cards:not(.sky-night) .viewer-history p.with-launch .h-launch { color:#b42a20; }
html.sky-cards:not(.sky-night) #viewer .history-delete { color:#4a6178; }
html.sky-cards:not(.sky-night) .v-up { background:#fffdf6; border-color:#c9b98a; }
html.sky-cards:not(.sky-night) .v-up__when, html.sky-cards:not(.sky-night) .v-up__cloud { color:#23405c; } html.sky-cards .v-up__when b, html.sky-cards .v-up__soon { color:#b42a20; }
html.sky-cards:not(.sky-night) #viewer .v-up .v-up__remind { background:var(--gold); color:#0d2238; }
html.sky-cards:not(.sky-night) #viewer .v-up .v-up__remind.on { background:#fffdf6; color:#0d2238; box-shadow:inset 0 0 0 1.5px #b42a20; }
html.sky-cards:not(.sky-night) #viewer .v-up .v-up__show { background:#eaf3fa; color:#0d2238; }
html.sky-cards:not(.sky-night) .v-next { background:#fffdf6; border-color:#c9b98a; }
html.sky-cards:not(.sky-night) .fd-pass, html.sky-cards:not(.sky-night) .fd-pass .fd-when { color:#4a6178; } html.sky-cards:not(.sky-night) .fd-pass .fd-when b { color:#0d2238; } html.sky-cards .fd-pass .fd-when .soon, html.sky-cards .fd-pill.new { color:#b42a20; }
html.sky-cards:not(.sky-night) .fd-pill { background:#0d223812; color:#0d2238; } html.sky-cards:not(.sky-night) .fd-pill.own { color:#4a6178; }
/* Find's names, times and empty line were Space's cream #fff2b3 and #bdbea9, about 1:1 on the day page (Sky Build playtest
   v0.1.1809: "Flown over you, not caught yet" names near unreadable); Sky's ink and muted here (tests/playtest-1809.test.mjs, "Find by day") */
html.sky-cards:not(.sky-night) .fd-main b, html.sky-cards:not(.sky-night) .fd-pass b { color:#0d2238; }
html.sky-cards:not(.sky-night) :is(.find-none, .fd-main small, .fd-wait) { color:#4a6178; }
html.sky-cards:not(.sky-night) :is(.fd-pass .fd-w em, .fd-main small em) { color:color-mix(in srgb, var(--c) 45%, #0d2238); } /* tier word ("★ Legendary" was #ffc545, 1.6:1): every tier 4.7:1 or better */
/* at night the New card pill was day red #b42a20 on navy (2.9:1): the night red of Find's heading */
html.sky-cards.sky-night .fd-pill.new { color:#ff6a5c; }
html.sky-cards:not(.sky-night) .ui-btn { background:#fffdf6; border-color:#0d2238; color:#0d2238; }
html.sky-cards:not(.sky-night) .ui-btn--primary { background:var(--gold); border-color:var(--gold); color:#0d2238; box-shadow:0 3px 0 #b42a20; }
html.sky-cards:not(.sky-night) .ui-btn--accent { border-color:#b42a20; color:#b42a20; }
/* swipe hints / peeks / dock */
html.sky-cards:not(.sky-night) .peek { background:rgba(13,34,56,.3); }
html.sky-cards:not(.sky-night) #dock-empty { color:#4a6178; } html.sky-cards #dock-empty .de-card { border-color:#9bb8d0; color:#6a8196; }
/* share sheet */
html.sky-cards:not(.sky-night) #viewer .v-sheet-scrim { background:rgba(13,34,56,.5); }
html.sky-cards:not(.sky-night) #viewer .v-sheet-card { background:#fffdf6; border-color:#c9b98a; }
html.sky-cards:not(.sky-night) #viewer .v-sheet-title, html.sky-cards:not(.sky-night) #viewer .v-sheet-cancel, html.sky-cards:not(.sky-night) #viewer .v-opt > small { color:#4a6178; }
html.sky-cards:not(.sky-night) #viewer .v-opt { background:#f6f1e2; border-color:#e7dcbd; color:#0d2238; }
html.sky-cards:not(.sky-night) #viewer .v-opt-vis { background:linear-gradient(180deg,#cfe5f6,#eef5fb); }
html.sky-cards:not(.sky-night) #viewer .v-opt-badge { background:var(--gold); color:#0d2238; }

/* toasts */
html.sky-cards:not(.sky-night) .ticket { background:#fffdf6; color:#0d2238; border-color:#c9b98a; border-left-color:#c9b98a; box-shadow:0 8px 24px rgba(13,34,56,.22); }
html.sky-cards:not(.sky-night) .ticket__eyebrow, html.sky-cards:not(.sky-night) .ticket__xp small { color:#4a6178; }
html.sky-cards:not(.sky-night) .ticket--mission, html.sky-cards:not(.sky-night) .ticket--achievement, html.sky-cards:not(.sky-night) .ticket--rank { border-left-color:var(--gold); }
html.sky-cards:not(.sky-night) .ticket--mission .ticket__eyebrow, html.sky-cards:not(.sky-night) .ticket--achievement .ticket__eyebrow, html.sky-cards:not(.sky-night) .ticket--rank .ticket__eyebrow, html.sky-cards:not(.sky-night) .ticket__xp { color:#b42a20; }
html.sky-cards:not(.sky-night) .ticket--xp .ticket__eyebrow, html.sky-cards:not(.sky-night) .ticket--xp .ticket__xp, html.sky-cards:not(.sky-night) .ticket__go { color:#2b6a99; }

/* observer stats view */
html.sky-cards:not(.sky-night) #stats-view, html.sky-cards:not(.sky-night) #send-view { background:#eef5fb; color:#0d2238; }
html.sky-cards:not(.sky-night) #stats-view .st-rank { background:#fffdf6; border-color:#c9b98a; box-shadow:inset 0 0 0 1px #e7dcbd; }
html.sky-cards:not(.sky-night) #stats-view .st-sec { background:#fffdf6; border-color:#c9b98a; }
html.sky-cards:not(.sky-night) #stats-view .st-head { color:#b42a20; } html.sky-cards:not(.sky-night) #stats-view .st-head .st-since, html.sky-cards:not(.sky-night) #stats-view .st-head .st-big { color:#4a6178; }
html.sky-cards:not(.sky-night) #stats-view :is(.st-goal, .st-tile) { background:#f6f1e2; border-color:#e7dcbd; }
html.sky-cards:not(.sky-night) #stats-view .st-tb { background:#dce8f2; } html.sky-cards #stats-view .st-bar span { background:#bcd2e4; }
html.sky-cards:not(.sky-night) #stats-view .st-hls > * + *, html.sky-cards:not(.sky-night) #stats-view .st-rare > * + * { border-top-color:#e7dcbd; }
html.sky-cards:not(.sky-night) #stats-view .st-rank small, html.sky-cards:not(.sky-night) #stats-view .st-rank .lb-xp, html.sky-cards:not(.sky-night) #stats-view .st-rank .lbd-ring b small { color:#4a6178; }
html.sky-cards:not(.sky-night) #stats-view .st-rank b, html.sky-cards:not(.sky-night) #stats-view .st-rank .lbd-to b, html.sky-cards:not(.sky-night) #stats-view .st-rank .lbd-ring b { color:#0d2238; }
html.sky-cards:not(.sky-night) #stats-view .st-rank .lb-xp b { color:#b42a20; }
html.sky-cards:not(.sky-night) .week-lock b { color:#0d2238; } html.sky-cards:not(.sky-night) .week-lock p { color:#4a6178; }

/* bottom switcher (Explore | Collection) */
html.sky-cards:not(.sky-night) .sc-switch { background-color:#fffdf6 !important; box-shadow:0 0 0 1px #c9b98a, 0 10px 24px rgba(13,34,56,.2) !important; }
html.sky-cards:not(.sky-night) .sc-switch__item { color:#4a6178 !important; }
html.sky-cards:not(.sky-night) .sc-switch[data-side='left'] .sc-switch__item:first-child, html.sky-cards:not(.sky-night) .sc-switch[data-side='right'] .sc-switch__item:last-child { color:#b42a20 !important; }
/* stats view: cream numbers and labels to navy, coloured tier labels darkened to stay readable on paper */
html.sky-cards:not(.sky-night) #stats-view :is(.st-head .st-big b, .st-tn, .st-goal b, .st-hl b, .st-tile b, .st-rare b, .st-bar em) { color:#0d2238; }
html.sky-cards:not(.sky-night) #stats-view :is(.st-goal span, .st-goal em, .st-goal small, .st-hl small, .st-hl span, .st-tile small, .st-bar small, .st-rare small, .st-tn small) { color:#4a6178; }
html.sky-cards:not(.sky-night) #stats-view .st-bar.now small { color:#b42a20; }
html.sky-cards:not(.sky-night) #stats-view :is(.st-tl, .st-rt, .st-hl em[style], .st-rare em[style]) { filter:brightness(.55) saturate(1.3); }


/* Tour card titles match the welcome card's (2026-11-15, Sevaan: "your card titles are gold and hard to see. Match the card
   titles colouring and effect"): navy ink under the card's own gloss, not Space Collector's gold foil on cream. */
body.sky-only .tc h3, body.sky-only .tc.gold h3 { background:none !important; -webkit-text-fill-color:var(--sc-ink) !important; color:var(--sc-ink) !important; text-shadow:none !important; }

/* ===== Buttons and chrome (2026-11-15, Sevaan: "the orange buttons in Sky Collector don't match the buttons in Space
   Collector. Also instead of orange make them red. And make the rest of the app light mode (the header and stuff) but make
   the header dark on Explore at night so it matches the sky.") ===== */
body.sky-only, html.sky-cards:not(.sky-night) { --sky-red:#d7362b; --sky-red-hi:#e8493c; --sky-red-edge:#8c1c14; --sky-red-ink:#b42a20; }

/* Space Collector's primary button (the tour's Yes: a solid fill with a gloss, a darker edge underneath and a drop
   shadow, pressed down on tap), in red. */
body.sky-only .tc .acts .yes {
  background:var(--sky-red) linear-gradient(#ffffff2e, #ffffff00 55%, #00000022) !important; color:#fff !important; border:0 !important;
  box-shadow:inset 0 1px 0 #ffffff59, 0 3px 0 var(--sky-red-edge), 0 8px 16px rgba(13,34,56,.28) !important; text-shadow:0 1px 0 #0000002e;
  transition:transform .08s ease-out, box-shadow .08s ease-out; }
body.sky-only .tc .acts .yes:active { transform:translateY(3px); box-shadow:inset 0 1px 0 #ffffff40, inset 0 2px 6px #0000004d, 0 0 0 var(--sky-red-edge), 0 3px 6px rgba(13,34,56,.3) !important; }
body.sky-only .tc .acts .no, body.sky-only .tc .acts .later { color:var(--sky-red-ink) !important; }
/* Collect under the circle: Space Collector's pill, in red */
body.sky-only #discover:not(.owned) #d-cta { color:#ff6a5c; background:rgba(215,54,43,.16); box-shadow:inset 0 0 0 1px rgba(215,54,43,.55); }
body.sky-only #discover:not(.owned) #d-cta:active, body.sky-only #discover:not(.owned) #d-cta.tapped { background:var(--sky-red); color:#fff; box-shadow:0 0 0 1px var(--sky-red), 0 0 22px rgba(215,54,43,.55); }
body.sky-only.day #discover:not(.owned) #d-cta { color:var(--sky-red-ink); background:rgba(215,54,43,.12); }

/* Light header and tabs everywhere, except Explore at night, where the dark header belongs to the sky. The header itself
   is light only by day (2026-11-18, Sevaan: at night "it stays light against the dark night sky and looks bad"). */
body.sky-only.day #sky-header { --bg:#eef5fb; --text:#0d2238; --ink:#0d2238; --muted:#4a6178; --edge:#b8c6d2; color:#0d2238; }
body.sky-only.day #sky-header .wordmark { color:#0d2238; background:none; -webkit-text-fill-color:currentColor; }
body.sky-only.day #sky-header .wordmark span { color:#4a6178; -webkit-text-fill-color:currentColor; }
body.sky-only.day #sky-header :is(button, .icon-button) { color:#0d2238; }
html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day) #nav.sc-switch { background-color:#fffdf6 !important; box-shadow:0 0 0 1px #c9b98a, 0 10px 24px rgba(13,34,56,.2) !important; }
html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day) #nav .sc-switch__item { color:#4a6178 !important; }


/* ---- Settings and every bottom sheet in light mode, at any hour (2026-11-16, Sevaan: "settings need to be light mode
   too"). Space Collector colours these through its variables, so they're re-pointed here inside the panels; the places it
   hard-codes a dark colour follow, one rule each. Red night-vision mode (body.night) keeps Space Collector's own. ---- */
html:not(.sky-night) body.sky-only:not(.night) :is(#debug, .set-sheet, #recap) {
  --bg:#eef5fb; --text:#0d2238; --muted:#4a6178; --glass:#fffffff2; --glass-strong:#ffffff; --edge:#9fb3c6; --edge-soft:#d5e2ee; --rule:#c9d9e6;
  --ui-ink:#0d2238; --ui-muted:#4a6178; --ui-link-ink:#23405c; --ui-edge:#9fb3c6; --ui-edge-soft:#d5e2ee; --ui-glass:#fffffff2; --ui-bar:#ffffffd9; --ink:#0d2238; --ink-on-gold:#fff;
  color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) #debug { background:#eef5fb; }
html:not(.sky-night) body.sky-only:not(.night) #debug .panel-head { background:#eef5fb; }
html:not(.sky-night) body.sky-only:not(.night) #debug .panel-head :is(h2, .x-close, .sub, small), html:not(.sky-night) body.sky-only:not(.night) .set-sheet :is(h2, h3, .x-close) { color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) .loc-denied { color:#b42a20; } /* Space's peach was for a navy sheet: on Sky's white one it was too faint to read (Android playtest 2026-11-20) */
html:not(.sky-night) body.sky-only:not(.night) #debug .set-card { background:#ffffff !important; border:1px solid #c9d9e6 !important; outline:none; box-shadow:0 1px 2px rgba(13,34,56,.06) !important; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-bar { background:#f6f9fc; border-bottom-color:#d5e2ee; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-bar :is(h3, b) { color:var(--sc-orange-ink); }
html:not(.sky-night) body.sky-only:not(.night) #debug :is(.set-card .set-row, .set-card .set-slider--row, .set-card > .set-row:first-of-type), html:not(.sky-night) body.sky-only:not(.night) #test-tools .set-test > .set-row { border-top-color:#e3ecf4 !important; }
html:not(.sky-night) body.sky-only:not(.night) :is(.set-group) { background:#ffffff; border-color:#c9d9e6; }
html:not(.sky-night) body.sky-only:not(.night) .set-row { border-top-color:#e3ecf4; color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-ic { color:#23405c; }
html:not(.sky-night) body.sky-only:not(.night) :is(.set-chev, .set-sl-note, .set-version, #set-version) { color:#6a7f93 !important; }
html:not(.sky-night) body.sky-only:not(.night) .set-ok { color:#18693f; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-tog { background:#cfdbe6 !important; box-shadow:inset 0 1px 2px rgba(13,34,56,.18) !important; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-tog:checked { background:var(--gold) !important; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-tog::before, html:not(.sky-night) body.sky-only:not(.night) #debug .set-tog:checked::before { background:#ffffff !important; box-shadow:0 1px 3px rgba(13,34,56,.3); }
html:not(.sky-night) body.sky-only:not(.night) #debug :is(.set-seg, .set-select, #retry-motion), html:not(.sky-night) body.sky-only:not(.night) #debug .set-seg button { box-shadow:inset 0 0 0 1px #9fb3c6; }
html:not(.sky-night) body.sky-only:not(.night) #debug .set-seg button + button { box-shadow:inset 1px 0 0 #9fb3c6; }
html:not(.sky-night) body.sky-only:not(.night) #debug :is(.set-range, .set-sl-thin)::-webkit-slider-runnable-track { background:linear-gradient(90deg, var(--gold) var(--p, 50%), #cfdbe6 var(--p, 50%)); }
html:not(.sky-night) body.sky-only:not(.night) #debug :is(.set-range, .set-sl-thin)::-webkit-slider-thumb { background:#ffffff; box-shadow:0 0 0 1px #9fb3c6, 0 1px 3px rgba(13,34,56,.3); }
html:not(.sky-night) body.sky-only:not(.night) .set-step, html:not(.sky-night) body.sky-only:not(.night) .set-chip span { border-color:#9fb3c6; }
html:not(.sky-night) body.sky-only:not(.night) .set-sheet.in { background:rgba(13,34,56,.35); }
html:not(.sky-night) body.sky-only:not(.night) .set-sheet-card, html:not(.sky-night) body.sky-only:not(.night) :is(#set-plus-sheet, #set-credits-sheet) .set-sheet-card { background:#f6f9fc; border-top-color:#c9d9e6; color:#0d2238; }
html.android:not(.sky-night) body.sky-only:not(.night) #set-plus-sheet::after { background:#f6f9fc; } /* the 3-button bar's cover (app.css) in the Plus page's day colour */
html:not(.sky-night) body.sky-only:not(.night) .set-grab { background:#c9d9e6; }
html:not(.sky-night) body.sky-only:not(.night) .set-prev { background:linear-gradient(180deg,#8cc2ec,#e4f1fa); }
html:not(.sky-night) body.sky-only:not(.night) .set-ix { border-color:#d5e2ee; }
html:not(.sky-night) body.sky-only:not(.night) .set-ix > b { border-color:#c9d9e6; color:var(--sc-orange-ink); }
html:not(.sky-night) body.sky-only:not(.night) #set-acct-sheet :is(input[type="email"], input[type="url"]) { border-color:#9fb3c6; background:#ffffff; color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) .set-back-thumb { box-shadow:0 0 0 1px #9fb3c6, 0 2px 6px rgba(13,34,56,.2); }
/* Plus */
html:not(.sky-night) body.sky-only:not(.night) :is(.plus-pr, .plus-price) { background:#ffffff; border-color:#c9d9e6; }
html:not(.sky-night) body.sky-only:not(.night) :is(.plus-pr.on, .plus-price.o) { background:color-mix(in srgb, var(--gold) 10%, #ffffff); border-color:var(--gold); }
html:not(.sky-night) body.sky-only:not(.night) :is(.plus-pr b, .plus-price b) { color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) .plus-host .member-patch { filter:drop-shadow(0 .2em .4em rgba(13,34,56,.35)); }
html:not(.sky-night) body.sky-only:not(.night) .plus-cta { color:#ffffff; }
/* Card backs */
html:not(.sky-night) body.sky-only:not(.night) .back-art { box-shadow:0 0 0 1px #9fb3c6; }
html:not(.sky-night) body.sky-only:not(.night) .back-lock { background:#ffffffd9; border-color:#9fb3c6; color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) .back-rand i { border-color:#9fb3c6 !important; }
html:not(.sky-night) body.sky-only:not(.night) .back-fan { background:rgba(13,34,56,.35); }
/* How to play */
html:not(.sky-night) body.sky-only:not(.night) .ht-pic { border-color:#c9d9e6; box-shadow:inset 0 0 0 3px #f6f9fc, inset 0 0 0 4px #c9d9e6; background:linear-gradient(180deg,#8cc2ec,#e4f1fa); }
html:not(.sky-night) body.sky-only:not(.night) .ht-dots i { background:#c9d9e6; }
html:not(.sky-night) body.sky-only:not(.night) .ht-dots i.on { background:var(--gold); }
/* The weekly recap: a light page and the card in cream with navy ink, like the tour cards */
html:not(.sky-night) body.sky-only:not(.night) #recap { background:linear-gradient(180deg,#8cc2ec 0%,#cfe5f6 55%,#eef5fb 100%); }
html:not(.sky-night) body.sky-only:not(.night) #recap .rc-card { background:#fffdf6; color:#0d2238; border-color:#b8c6d2; box-shadow:0 18px 40px rgba(13,34,56,.25); }
html:not(.sky-night) body.sky-only:not(.night) #recap .rc-card::before { box-shadow:inset 0 0 0 1.5px #c9b98a88, inset 0 0 0 3px #fffdf6; }
html:not(.sky-night) body.sky-only:not(.night) :is(.rc-bar, .rc-foot) { border-color:#c9b98a; }
html:not(.sky-night) body.sky-only:not(.night) :is(.rc-stats, .rc-stats div + div) { border-color:#c9b98a88; }
html:not(.sky-night) body.sky-only:not(.night) :is(.rc-big b, .rc-stats b, .rc-foot b) { color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) :is(.rc-big span, .rc-stats span, .rc-best small, .rc-foot) { color:#4a6178; }
html:not(.sky-night) body.sky-only:not(.night) .rc-plus { color:var(--sc-orange-ink); }
html:not(.sky-night) body.sky-only:not(.night) .rc-go { background:#ffffff; color:#0d2238; box-shadow:inset 0 0 0 1px #9fb3c6; }
html:not(.sky-night) body.sky-only:not(.night) #recap .rc-rate { color:var(--sc-orange-ink); }
/* Plus ("Join the crew"): its header band, kit tiles and words */
html:not(.sky-night) body.sky-only:not(.night) .crew-top { background:#f6f9fc; box-shadow:0 8px 12px #f6f9fc; }
html:not(.sky-night) body.sky-only:not(.night) :is(.crew-top b, .crew-big, .crew-kit b) { color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) .crew-body { color:#23405c; }
html:not(.sky-night) body.sky-only:not(.night) .crew-why { background:color-mix(in srgb, var(--gold) 8%, #ffffff); border-color:color-mix(in srgb, var(--gold) 30%, #ffffff); color:var(--sc-orange-ink); }
html:not(.sky-night) body.sky-only:not(.night) .crew-sec::after { background:#d5e2ee; }
html:not(.sky-night) body.sky-only:not(.night) .crew-kit .kt { background:#ffffff; border-color:#c9d9e6; box-shadow:0 1px 2px rgba(13,34,56,.06); }
html:not(.sky-night) body.sky-only:not(.night) .crew-kit .kt-i { color:var(--gold); }
html:not(.sky-night) body.sky-only:not(.night) .crew-kit small { color:#4a6178; }
html:not(.sky-night) body.sky-only:not(.night) :is(.crew-patch, .kt-patch) { filter:drop-shadow(0 8px 16px rgba(13,34,56,.2)); }
/* the patch art's own hard, offset shadow disc (js/patches.js patchSvg) read as a grey crescent on the light page
   (2026-11-19, Sevaan: "The shadow of this patch doesn't look good"): only the soft drop shadow above on light pages */
html:not(.sky-night) body.sky-only:not(.night) :is(.crew-patch, .kt-patch) .patch-svg > circle:first-of-type { display:none; }
html:not(.sky-night) body.sky-only:not(.night) .kt-fan img { border-color:#ffffff; box-shadow:0 3px 8px rgba(13,34,56,.3); }
html:not(.sky-night) body.sky-only:not(.night) #set-plus-sheet :is(.starfield, .crew-meteor) { display:none; } /* stars and a shooting star belong to the night page */
html:not(.sky-night) body.sky-only:not(.night) #recap .starfield { display:none; } /* night stars on the daylight recap page */
body.sky-only .binder-plus { background:#b42a20; color:#fffdf6; } /* the Collection tab's +1 in Sky's colours: it was near-black on red (review 2026-11-30) */
body:has(#gift.bare:not(.clear)) #wc-holder * { animation-play-state:paused; } /* the welcome card waits unseen behind the sealed opener pack: its ten endless animations rest until the pack is torn (.clear, js/gift-pack.js) (review 2026-11-30) */
html:not(.sky-night) body.sky-only:not(.night) :is(#reveal > .starfield, .tc .art > .starfield) { display:none; } /* and behind the catch reveal (70) and the gold tour card (26): they twinkled, each on its own layer, in daylight (review 2026-11-30) */
/* Notification tickets follow the header (2026-11-16): light wherever the header is light, Space Collector's dark ticket
   only over Explore at night. Its background is set with heavy specificity in css/ui.css, hence the repeated id.
   The Collection frame (html.sky-cards, no body.sky-only) too: its Member and Ambassador toasts were Space's navy by day (QA round 5). */
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts {
  --text:#0d2238; --muted:#4a6178; --ink:#0d2238; --ui-ink:#0d2238; --ui-muted:#4a6178; --edge:#9fb3c6; --k:#9fb3c6; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts#toasts#toasts#toasts .ticket:not(.tone-shiny) {
  background-color:#fff /* solid (was #fffffff5): its blur is off, below (review 2026-11-30) */ !important; background-image:repeating-linear-gradient(0deg, #0d223805 0 1px, transparent 1px 3px) !important; color:#0d2238;
  box-shadow:0 10px 28px rgba(13,34,56,.22), 0 0 0 1px #c9d9e6 !important; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket :is(.ticket__line, b) { color:#0d2238 !important; }
/* The icon tiles in the colours of a light ticket (2026-11-19, Sevaan: the info icon was pale cream on white): each tone
   deepened so its icon reads, info in the airmail stripe's blue. */
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket.tone-info { --k:#24508c; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket.tone-orange { --k:#b42a20; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket.tone-gold { --k:#a8780f; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket.tone-steel { --k:#2f5f8a; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket.tone-red { --k:#b42a20; }
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket :is(.ticket__sub, .ticket__x, .ticket__xp small) { color:#4a6178 !important; }
/* Rank card leftovers from the screen check (2026-11-17): the "Last week" link and the XP line were pale yellow or grey
   on the light panel; on a 320 px phone "5,530 XP to Air Traffic Controller" ran off the card. */
html.sky-cards:not(.sky-night) .logbook .lb-pic .lb-week { color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-to { color:#4a6178; flex-wrap:wrap; row-gap:2px; }
html.sky-cards .lb-to > :first-child { min-width:0; flex:1 1 auto; overflow-wrap:anywhere; }
html.sky-cards:not(.sky-night) .lb-to b { color:#0d2238; }
html.sky-cards:not(.sky-night) .lb-bar { background:#dfe8f0; }
html.sky-cards:not(.sky-night) .lb-bar i { background:linear-gradient(90deg, var(--gold), #e8493c); }
html.sky-cards .lb-dial > :last-child, html.sky-cards .lbd-m { min-width:0; flex:1 1 0; }
html.sky-cards .lbd-to { white-space:normal; overflow:visible; text-wrap:balance; } /* Sky's rank names are longer ("Air Traffic Controller"): wrap, don't clip, on a 320 px phone */
html.sky-cards .lbd-m { grid-template-columns:minmax(0, 1fr); } /* the one column was as wide as its longest line, so XP and Missions ran off a 320 px card */
html.sky-cards .lbd-l { min-width:0; flex-wrap:wrap; row-gap:2px; }
/* QA 2026-11-17 */
html:not(.sky-night) body.sky-only:not(.night) .set-grab { background:none; background-color:#c9d9e6; background-clip:content-box; } /* the shorthand had reset the clip: the handle drew as a block */
/* the card back picker holds 20 backs: it scrolls inside the screen (it was taller than the phone with its top out of reach) */
body.sky-only #set-back-sheet .set-sheet-card { max-height:calc(100dvh - var(--safe-top, 0px) - 24px); overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y; -webkit-overflow-scrolling:touch; }
/* By day the target ticket and the guide ticket are light like the rest of the daytime chrome (QA 2026-11-17: near-black
   panels on a daylight sky); at night on Explore they keep Space Collector's dark ticket. Space Collector's own variable
   (--tk-bg) and the few colours it hard-codes on the ticket. */
body.sky-only.day:not(.night) :is(#discover, #guidance) { --tk-bg:#fffdf6f2; }
/* Blurs nobody can see (review 2026-11-30, measured at 4x CPU throttle): Space's dark glass blurs the sky behind it, and on
   Sky's day paper that blur was worked out again on every frame of the live sky for nothing. Off on the switcher (solid
   cream), the catch ticket (solid now, was 95%), Collect (solid red), toasts (solid white, above) and the card's set pill. */
body.sky-only.day:not(.night) #discover { --tk-bg:#fffdf6; }
body.sky-only :is(#nav.sc-switch, #discover .d-ticket, #discover#discover #d-cta, .fc-set), html body.sky-only #toasts#toasts#toasts .ticket { -webkit-backdrop-filter:none; backdrop-filter:none; }
body.sky-only.day:not(.night) :is(.tk-card, #guidance:not(.first)) { background-image:repeating-linear-gradient(0deg, #0d223805 0 1px, transparent 1px 3px) !important; box-shadow:0 10px 26px rgba(13,34,56,.22), 0 0 0 1px #c9d9e6 !important; }
body.sky-only.day:not(.night) #discover .d-ticket #d-name, body.sky-only.day:not(.night) #guidance:not(.first), body.sky-only.day:not(.night) #guidance:not(.first) :is(b, strong) { color:#0d2238 !important; text-shadow:none !important; }
body.sky-only.day:not(.night) #discover .d-ticket :is(#d-sub, #d-switch, #d-dist), body.sky-only.day:not(.night) #guidance:not(.first) small { color:#4a6178 !important; }
body.sky-only.day:not(.night) #guidance:not(.first) span { color:#3d5368 !important; } /* "On screen now · put it in the circle": pale #bdbea9 on paper was about 1.9:1 (playtest 2026-11-27) */
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket { --tkc:#b42a20; } /* the ticket's small label was pale yellow on white */
:is(html:not(.sky-night) body.sky-only:is(:not([data-page="explore"]), .day):not(.night), html.sky-cards:not(.sky-night)) #toasts .ticket .ticket__eyebrow { color:#b42a20 !important; }

/* The small pack on the share sheet in daylight (2026-11-18): soft navy shadows, a cream count, the gold glow as a pale one */
html body .sv-bag { filter:drop-shadow(0 10px 18px rgba(13,34,56,.28)); }
html body .sv-peek { filter:drop-shadow(0 5px 10px rgba(13,34,56,.25)); }
html body .sv-ribbon { box-shadow:0 4px 10px rgba(13,34,56,.25); color:#fff; }
html body .sv-glow { background:radial-gradient(ellipse at 50% 100%,rgba(255,255,255,.6),transparent 70%); }
html body .sv-pk-count { background:radial-gradient(ellipse 45% 60% at 50% 60%,var(--pk-count-bg),transparent 75%); color:var(--pk-count-ink); }
html body .sv-pk-count b { background:linear-gradient(120deg,#ffffff,#dfeaf5 40%,#ffb3a8 60%,#ffffff); -webkit-background-clip:text; background-clip:text; }

/* Settings that only mean anything for stars and satellites (2026-11-18, the age playtest): how dark your sky is (light
   pollution for stars), snapping onto targets (satellites; planes lock on their own), the Milky Way and constellation lines.
   Hidden in Sky Collector; their switches keep working underneath. The compass stays: it aims at planes too. */
body.sky-only #debug :is(.set-row:has(#chk-snap), .set-row:has(#chk-milky), .set-row:has(#chk-lines), .set-slider:has(#set-sky-range)) { display:none !important; }

/* ---- The plane pictures on the welcome card and the "Catch a plane" tour card, animated like Space Collector's
   (2026-11-18, Sevaan). One 6 s cycle: the plane flies its route, slides into the circle, the circle pulses as it locks
   on, the card floats with a sheen. Transforms and opacity only; still under Reduce Motion. ---- */
@media (prefers-reduced-motion: no-preference) {
  .wsk-fly { animation:wskFly 6s ease-in-out infinite; }
  @keyframes wskFly { 0% { transform:translate(-58px, 16px); opacity:0; } 10% { opacity:1; } 62% { transform:translate(0, 0); opacity:1; } 82%, 100% { transform:translate(16px, -2px); opacity:0; } }
  .wsk-in { animation:wskIn 6s cubic-bezier(.3, .1, .3, 1) infinite; }
  @keyframes wskIn { 0%, 12% { transform:translate(-40px, 34px); opacity:0; } 20% { opacity:1; } 46%, 86% { transform:none; opacity:1; } 96%, 100% { transform:none; opacity:0; } }
  .wsk-ring { transform-box:fill-box; transform-origin:center; animation:wskRing 6s ease-out infinite; }
  @keyframes wskRing { 0%, 44% { transform:scale(1); } 50% { transform:scale(.88); } 58%, 100% { transform:scale(1); } }
  .wsk-float { transform-box:view-box; transform-origin:50px 60px; animation:wskFloat 6s ease-in-out infinite; }
  @keyframes wskFloat { 0%, 46% { transform:rotate(4deg); } 64% { transform:rotate(1deg) translateY(-4px) scale(1.04); } 84%, 100% { transform:rotate(4deg); } }
  .wsk-sheen { animation:wskSheen 6s ease-in-out infinite; }
  @keyframes wskSheen { 0%, 54% { transform:skewX(-18deg) translateX(-60px); } 76%, 100% { transform:skewX(-18deg) translateX(90px); } }
  .wsk-blink { animation:waLens 6s ease-in-out infinite; }
  .wsk-dot { transform-box:fill-box; transform-origin:center; animation:wskDot 6s ease-out infinite; }
  @keyframes wskDot { 0%, 60% { transform:scale(1); } 66% { transform:scale(1.8); } 74%, 100% { transform:scale(1); } }
  /* the tour's Catch a plane card */
  .ob-fly { animation:obFly 5s cubic-bezier(.3, .1, .3, 1) infinite; }
  @keyframes obFly { 0%, 8% { transform:translate(-96px, 39px); opacity:0; } 16% { opacity:1; } 46%, 84% { transform:none; opacity:1; } 94%, 100% { transform:translate(30px, -12px); opacity:0; } }
  .ob-ring { transform-box:fill-box; transform-origin:center; animation:obRing 5s ease-out infinite; }
  @keyframes obRing { 0%, 44% { transform:scale(1); } 50% { transform:scale(.88); } 58%, 100% { transform:scale(1); } }
  .ob-route { animation:waDash 1.6s linear infinite; }
}
/* The welcome card's pictures at Space Collector's height (2026-11-19, Sevaan: "too high/long", was 14.5em) and smooth
   on iPhone ("animations on this card are janky"): each picture is its own layer, so its moving parts repaint just the
   picture and not the glossy, tilting card around it, and the plane tracks stand still (a stroke-dashoffset animation
   repaints the whole SVG every frame); the plane moving along them is the motion. The phone's red beam still runs. */
#wc-holder .wc-mission .wc-a-pic { height:11.5em; transform:translateZ(0); contain:paint; }
#wc-holder .wc-mission .wc-a-pic .wa-path { animation:none; }

/* Tell a friend sheet (Space Collector's, 2026-11-18): its cream and gold text was written for a dark sheet; on Sky's
   light one the paragraph and the reward line were unreadable. Navy ink and a deeper gold. */
body.sky-only .tell-text { color:#23405c; }
body.sky-only { --tell-ribbon-ink:#fffdf6; } /* option B's Earn this ribbon: cream on Sky's red */
body.sky-only .tell-card .tell-go { color:#fffdf6; } /* cream on red 4.6:1 (navy was 3.4:1) */
/* Credits and sources (playtest 2026-11-18: three paragraphs were pale cream on white) */
html:not(.sky-night) body.sky-only:not(.night) :is(.cr-row, .cr-pic) { color:#23405c; border-top-color:#dbe5ee; }
html:not(.sky-night) body.sky-only:not(.night) :is(.cr-row, .cr-pic) b { color:#0d2238; }
html:not(.sky-night) body.sky-only:not(.night) :is(.cr-row a, .cr-pic a, .cr-pics summary) { color:#b42a20; }
/* Airmail on every notification (2026-11-18, Sevaan: "make the edges of the notifications be like airmail stripes";
   2026-11-19: "I just want it at the top, like how Space Collector has a coloured bar... same height and everything but
   just with the airmail stripes"): Space Collector's 3 px bar along the top, curving into the corners as its border-top
   does, filled with the red, cream and blue airmail stripes. A layer masked to that top band, so it sits on the light day
   ticket and the dark night one alike. The patch coin's "Patch earned" tag on Explore too. */
:is(body.sky-only, html.sky-cards body) :is(#toasts .ticket, .pc-tag) { position:relative; border-top:0 !important; }
:is(body.sky-only, html.sky-cards body) :is(#toasts .ticket, .pc-tag)::after { content:''; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:3px 0 0; pointer-events:none;
  background:repeating-linear-gradient(-45deg, #c8312a 0 6px, #fffdf6 6px 9px, #24508c 9px 15px, #fffdf6 15px 18px);
  -webkit-mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; }
/* All around you at night (2026-11-18, Sevaan: "In night time this page should be dark mode too"): when Explore is dark
   (no .day: the sun more than 2° down), the panel is too, in Sky's night navy rather than Space Collector's. */
body.sky-only:not(.day):not(.night) #around {
  --bg:#0b1626; --panel:#11223a; --text:#e6eef7; --muted:#9fb3c6; --line:#24384f; --accent:#ff6a5c;
  --ink:#e6eef7; --gold:#ff6a5c; --cream:#e6eef7; --cyan:#8fb3cf; --edge:#2b4058; --edge-soft:#24384f; --rule:#24384f; --glass:#11223af2; --glass-strong:#11223a;
  --ui-ink:#e6eef7; --ui-muted:#9fb3c6; --ui-link-ink:#c9d9e6; --ui-gold:#ff6a5c; --ui-edge:#2b4058; --ui-edge-soft:#24384f; --ui-glass:#11223ad9; --ui-bar:#11223a;
  --h-text:#e6eef7; --h-muted:#9fb3c6; --h-edge:#2b4058; --h-glass:#11223ad9;
  background:#0b1626; color:#e6eef7; color-scheme:dark; }
/* While a pack is open (#gift exists only then), the weather clouds hold still and aren't their own layers (Android app
   2026-11-19: the pack's layers plus six drifting cloud layers passed Android WebView's tile memory, about 314 MB at
   2.6x, and the sealed pack drew as a strip; with the clouds still it's 232 MB and draws whole). */
body.sky-only:has(#gift) .wx-layer { animation: none; will-change: auto; }
/* The welcome card's footer ("↑ Swipe up to begin · Sky Collector") sits in the middle of its band (2026-11-19, Sevaan):
   Sky's longer text pushed the card's content 4 px past the face, so the footer touched the bottom edge. A little less
   space between the sections, and the footer's room shared above and below its words. */
#wc-holder .wc-a { gap: 1.25em; padding-bottom: .55em; } /* Space's gap again: the shorter pictures left room */
#wc-holder .wc-a-foot { padding: .72em 0 0; }
@media (max-width: 340px) { #wc-holder .wc-a { gap: .75em; padding-top: 1.1em; } } /* 320 px: one more line of text */
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) #toasts .ticket .tn-go { color:#b42a20; } /* "Show me ›" was pale cream on the day ticket */

/* The Plus page's plane fly-by (2026-11-19, Sevaan: "Make a plane fly by instead of a shooting star"): a small jet crosses
   behind the member patch from the left, climbing a little, its contrail fading behind it; once every 7 s, day and night.
   Moves only transform and opacity (smooth on phones). None under Reduce Motion. */
.crew-plane { position:absolute; left:50%; top:40%; z-index:0; width:26px; height:26px; margin:-13px 0 0 -13px; pointer-events:none; opacity:0;
  animation:crewPlane 7s 1.2s cubic-bezier(.35,.1,.65,.9) infinite; will-change:transform, opacity; }
.crew-plane > svg { position:relative; display:block; width:100%; height:100%; transform:rotate(80deg); fill:#0d2238; }
.crew-trail { position:absolute; right:60%; top:50%; width:120px; height:2px; margin-top:-1px; border-radius:2px; transform:rotate(-10deg); transform-origin:100% 50%;
  background:linear-gradient(90deg, #0d223800, #0d22384d); } /* by day a faint navy line: a white contrail vanished on the pale page */
@keyframes crewPlane {
  0% { transform:translate(calc(var(--fly, 190px) * -1), 26px); opacity:0; }
  4% { opacity:1; }
  30% { opacity:1; }
  36% { transform:translate(var(--fly, 190px), -40px); opacity:0; }
  100% { transform:translate(var(--fly, 190px), -40px); opacity:0; }
}
html.sky-night body.sky-only .crew-plane > svg, body.sky-only.night .crew-plane > svg { fill:#fff2b3; }
html.sky-night body.sky-only .crew-trail { background:linear-gradient(90deg, #fff2b300, #fff2b399); filter:none; }
body.sky-only.night .crew-trail { background:linear-gradient(90deg, #ff6a5500, #ff6a55aa); filter:none; }
body.sky-only.night .crew-plane > svg { fill:#ff6a55; }
@media (prefers-reduced-motion: reduce) { .crew-plane { display:none; } }
/* The member patch as the Plus page's hero (2026-11-30, Sevaan: "Plus member patch could be way bigger"): most of the
   sheet's width, in the art's own wide shape (js/main.js heroPatch), the plane flying by behind it. Capped by the screen's
   height too, so a small phone still shows the headline and the first kit row. */
body.sky-only .crew-patch:has(.patch--hero) { width:min(92%, 420px, calc((100dvh - 330px) * 1.95)); min-width:200px; margin:14px auto 18px !important; }
body.sky-only .crew-patch .patch--hero { aspect-ratio:1752 / 897; }
body.sky-only .crew-patch .patch--hero::after, body.sky-only .crew-patch .patch--hero::before { inset:0; }
body.sky-only .crew-patch:has(.patch--hero) .crew-plane { top:30%; width:30px; height:30px; margin:-15px 0 0 -15px; }
body.sky-only .crew-patch:has(.patch--hero) { --fly:min(52vw, 260px); }
/* Its own flight over the hero (review 2026-11-30: on the old path the plane was behind the wide patch for half its crossing,
   and it eased to a stop as it faded): along the top edge of the art, at a steady speed. The review's own path (-8px to -50px
   from 30% down) still put it behind the arch for the middle third at 390x844, so it flies higher and flatter: from the
   patch's top edge, its belly just tucked behind the arch as it passes the middle, clear of the header's rule above. */
@keyframes crewPlaneHero { 0% { transform:translate(calc(var(--fly) * -1), 2px); opacity:0; } 4%, 31% { opacity:1; } 36%, 100% { transform:translate(var(--fly), -14px); opacity:0; } }
body.sky-only .crew-patch:has(.patch--hero) .crew-plane { top:0; width:24px; height:24px; margin:-12px 0 0 -12px; animation-name:crewPlaneHero; animation-timing-function:linear; animation-delay:.7s; }
body.sky-only .crew-patch:has(.patch--hero) .crew-plane > svg { transform:rotate(88deg); }
body.sky-only .crew-patch:has(.patch--hero) .crew-trail { transform:rotate(-2deg); }


/* The strip behind the status bar over an open page (css/app.css body::before) took the body's night colour, so light
   pages had a dark band fading at the top (2026-11-19, Sevaan: "Weird fade at the top here too"): the light pages' own
   colour, solid. */
html:not(.sky-night) body.sky-only:has(.overlay.panel:not([hidden]))::before { background:#eef5fb; }

/* Explore's header in the sky's own colour (2026-11-19, Sevaan: "Not a fan of this fade into the white header. What if the
   header was the same colour as the sky"): js/main.js sets --sky-top to the colour the sky is painted at the top of the
   screen (js/sky.js tone), so the header and the status bar are the sky, with a short blend into it, by day and at night.
   Light lettering on it. Only on Explore itself, not under a page that has its own header colour. */
body.sky-only[data-page="explore"]:not(.col-open):not(.set-open):not(.sky-open):not(.plus-open):not(.credits-open):not(.around-open):not(:has(.overlay.panel:not([hidden]))) #sky-header::before {
  background:linear-gradient(var(--sky-top, #3f7fbf) calc(100% - 24px), color-mix(in srgb, var(--sky-top, #3f7fbf) 0%, transparent)); height:calc(var(--safe-top) + 90px); } /* fade moved up 16px so it ends above the radar (2026-11-20, Sevaan) */
body.sky-only.day[data-page="explore"]:not(.col-open):not(.set-open):not(.sky-open):not(.plus-open):not(.credits-open):not(.around-open):not(:has(.overlay.panel:not([hidden]))) #sky-header {
  --text:#fff; --ink:#fff; --muted:#e6f0fa; --edge:#ffffff80; color:#fff; text-shadow:0 1px 2px rgba(13,34,56,.25); }
body.sky-only.day[data-page="explore"]:not(.col-open):not(.set-open):not(.sky-open):not(.plus-open):not(.credits-open):not(.around-open):not(:has(.overlay.panel:not([hidden]))) #sky-header :is(.wordmark, .wordmark span, button, .icon-button) { color:#fff !important; -webkit-text-fill-color:currentColor; }
body.sky-only.day[data-page="explore"]:not(.col-open):not(.set-open):not(.sky-open):not(.plus-open):not(.credits-open):not(.around-open):not(:has(.overlay.panel:not([hidden]))) #sky-header .wordmark span { color:#e6f0fa !important; }

/* How to play's picture frame drawn over the picture (2026-11-19, Sevaan: "These animated images are breaking the border"):
   the pictures were painted over the frame's inset lines, which css/app.css draws as the box's own inset shadow. */
body.sky-only .ht-pic { position:relative; }
body.sky-only .ht-pic::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow:inherit; z-index:2; }
body.sky-only .ht-pic > svg { -webkit-mask-image:none; mask-image:none; }
/* How to play's real pieces (js/main.js htFlight, htLevels, htPatches, htUpNow): sized to the 190px frame, soft light-page
   shadows. The flight card on its own is larger; three in a row are smaller. */
body.sky-only .ht-pic .ht-real .mini-face { --mini-s:.33; filter:drop-shadow(0 6px 12px rgba(13,34,56,.3)); }
body.sky-only .ht-pic .ht-lv .ht-real .mini-face { --mini-s:.27; }
body.sky-only .ht-pic .ht-real.lvl-b .mini-face { box-shadow:0 0 0 3px #b8793e; }
body.sky-only .ht-pic .ht-real.lvl-s .mini-face { box-shadow:0 0 0 3px #c9d1da, 0 0 12px rgba(201,209,218,.8); }
body.sky-only .ht-pic .ht-real.lvl-g .mini-face { box-shadow:0 0 0 3px #e2b53c, 0 0 16px rgba(226,181,60,.7); }
body.sky-only .ht-pic .ht-lv { gap:10px; }
body.sky-only .ht-patches { gap:10px; } body.sky-only .ht-patch { width:76px; display:block; filter:drop-shadow(0 6px 10px rgba(13,34,56,.28)); }
body.sky-only .ht-patch .patch, body.sky-only .ht-patch svg { display:block; width:100%; height:auto; }
body.sky-only .ht-patch .patch-svg > circle:first-of-type { display:none; }
body.sky-only .ht-upnow { display:block; width:330px; transform:scale(.56); transform-origin:50% 50%; margin:-90px 0; pointer-events:none; text-align:left; } /* Today's own hero (heroHtml), shrunk into the frame */
body.sky-only .ht-upnow .now-hero { margin:0; }
/* the How to play button's label white (2026-11-19, Sevaan) */
body.sky-only #ht-next, body.sky-only #ht-next * { color:#fff !important; }
/* Today's mission cards (Space Collector's .mc deck, js/main.js skyMissionCards) dressed as Sky's cards (2026-11-19, Sevaan:
   "look like real cards"): a cream face in a gold frame, the photo in a thin keyline, navy title, red MISSION line, the
   COMPLETE stamp on the photo (never over the title). Dark night mode keeps Space's own. */
html:not(.sky-night) body.sky-only #sky-missions .mc { background:linear-gradient(#fffdf6, #f7f0dd); color:#0d2238;
  box-shadow:0 0 0 2px #d9b65a, inset 0 0 0 3px #fffdf6, inset 0 0 0 4px #d9b65a88, 0 8px 18px rgba(13,34,56,.18); }
html:not(.sky-night) body.sky-only #sky-missions .mc .top span:first-child { color:#b42a20; }
html:not(.sky-night) body.sky-only #sky-missions .mc .top span:last-child { color:#8a6420; }
html:not(.sky-night) body.sky-only #sky-missions .mc .art { background-color:#cfe5f6; box-shadow:0 0 0 1px #0d22381f; }
html:not(.sky-night) body.sky-only #sky-missions .mc b { color:#0d2238; background:none; -webkit-text-fill-color:#0d2238; text-shadow:none; filter:none; }
html:not(.sky-night) body.sky-only #sky-missions .mc small { color:#b42a20; }
body.sky-only #sky-missions .mc b { text-wrap:wrap; } /* plain wrapping: the page's text-wrap:pretty left "Catch" alone on the first line and cut a four-line goal (2026-11-20, missions round 2 at 360 px) */
html:not(.sky-night) body.sky-only #sky-missions .mc.done small { color:#1f7a45; }
html:not(.sky-night) body.sky-only #sky-missions .mc.done { box-shadow:0 0 0 2px #e2b53c, 0 0 14px rgba(226,181,60,.55), inset 0 0 0 3px #fffdf6, 0 8px 18px rgba(13,34,56,.18); }
body.sky-only #sky-missions .mc.done::after { top:calc(8px + 22px + (100% - 16px) * .375 * .5); }
html:not(.sky-night) body.sky-only #sky-missions .mc.done::after { color:#1f7a45; border-color:#1f7a45; background:#fffdf6e6; }
html:not(.sky-night) body.sky-only #sky-missions .mc.sealed { box-shadow:0 0 0 2px #d9b65a88, 0 8px 18px rgba(13,34,56,.18); }

/* ---- Visual playtest fixes, 2026-11-19 (Space's dark design on Sky's light pages) ---- */
/* Explore's COLLECT: white on red, like every red button (css/app.css #discover .d-ticket #d-cta set a black label) */
body.sky-only #discover:not(.owned) .d-ticket #d-cta { color:#fff !important; }
/* Send cards, by day: navy tabs, a cream bar, red NEXT with a white label (css/gift.css was cream-on-navy) */
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-tabs button { border-color:#c9d6e3; color:#4a6178; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-tabs button[aria-selected="true"] { background:#0d2238; border-color:#0d2238; color:#fff; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) :is(.sv-back, .sv-link, .sv-sa) { color:#b42a20; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-selrow { color:#4a6178; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-gap button { border-color:#c9d6e3; color:#4a6178; } :is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-gap button.o { background:#0d2238; border-color:#0d2238; color:#fff; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-bar { background:linear-gradient(transparent, #eef5fb 22%); }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-bar .sv-n { background:#fffdf6; border-color:#d9b65a; color:#0d2238; box-shadow:0 6px 16px rgba(13,34,56,.12); }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-bar .sv-n small { color:#4a6178; }
:is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-bar .sv-btn { background:linear-gradient(#e8493c, #c42d22); color:#fff; } :is(html:not(.sky-night) body.sky-only, html.sky-cards:not(.sky-night)) .sv-bar .sv-btn:disabled { background:#d9a19b; color:#fffdf6; }
html.sky-cards .send-view, body.sky-only .send-view { --sv-tick-ink:#fff; } /* the picked card's tick: white on Sky's red (2026-11-20) */
/* The tour before a place is chosen: the page's light colour behind it, not Space's night navy; Skip as a light pill */
html:not(.sky-night) body.sky-only.day { background-color:#eef5fb; }
html:not(.sky-night) body.sky-only.day #ob-skip.ob-exit { background:#fffdf6e6 !important; color:#0d2238 !important; border-color:#c9d6e3 !important; }
/* A sheet over a page: the strip behind the status bar takes the sheet's grey scrim too (it stayed light above it) */
html:not(.sky-night) body.sky-only:has(.set-sheet.in)::before { background:transparent; }
/* Location sheet: the search field like the coordinates fields under it */
html:not(.sky-night) body.sky-only #loc-q { background:#fffdf6; color:#0d2238; border:1px solid #c9d6e3; }
html:not(.sky-night) body.sky-only #loc-q::placeholder { color:#4a6178; }
/* Albums: the Silver level readable on cream */
html:not(.sky-night) body.sky-only .album__level.l2, html.sky-cards:not(.sky-night) .album__level.l2 { color:#6d7f92; }
/* The catch panel's tier line ("◆ RARE · NEW PLANE"): the tier colours were made for navy; deepened on the light panel */
html:not(.sky-night) body.sky-only:not(.night) #discover #d-tier { filter:brightness(.62) saturate(1.35); }
/* Every red .d-cta.o button (Use my location, How to play's Next…) with a white label by day: Space's was gold with a dark label */
html:not(.sky-night) body.sky-only:not(.night) .d-cta.o, html:not(.sky-night) body.sky-only:not(.night) .d-cta.o * { color:#fff !important; }

/* Today on Space's Tonight pieces (2026-11-19, review Part 1): the hero (.now-hero), the Up now tiles (.tn-chip.tile), the
   run (.tn-r) and the section heads (.tn-sec), in Sky's light colours by day. Space's own dark look at night. */
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero { background:linear-gradient(160deg, #fffdf6, #f6efdd); border:1px solid color-mix(in srgb, var(--c) 55%, #d9b65a); box-shadow:0 8px 20px rgba(13,34,56,.12); --text:#0d2238; --ink:#0d2238; --muted:#4a6178; --gold:#d7362b; color:#0d2238; }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-k { color:#b42a20; }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-tier { color:color-mix(in srgb, var(--c) 60%, #0d2238); }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .pill-o { background:linear-gradient(#e8493c, #c42d22); border:0; color:#fff; box-shadow:0 3px 0 #8c1c14; }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-card { box-shadow:0 10px 18px rgba(13,34,56,.25); }
html:not(.sky-night) body.sky-only #sky-today .tn-chip.tile { background:#fffdf6; border-color:#d6e0ea; box-shadow:0 4px 12px rgba(13,34,56,.08); --text:#0d2238; --muted:#4a6178; color:#0d2238; }
html:not(.sky-night) body.sky-only #sky-today .tn-chip.tile.seen { border-color:#c9d6e3; opacity:.85; }
html:not(.sky-night) body.sky-only #sky-today .tn-chip.tile .gm { background:none; color:color-mix(in srgb, var(--c) 60%, #0d2238); }
html:not(.sky-night) body.sky-only #sky-today .tn-r { --text:#0d2238; --ink:#0d2238; --muted:#4a6178; color:#0d2238; }
html:not(.sky-night) body.sky-only #sky-today .tn-sec .k { color:#b42a20; } html:not(.sky-night) body.sky-only #sky-today .tn-sec > span:last-child { color:#4a6178; }
html.sky-night body.sky-only #sky-today .tn-sec .k, body.sky-only.night #sky-today .tn-sec .k { color:#ff7f70; }
html.sky-night body.sky-only #sky-today .tn-sec > span:last-child { color:#9fb3c8; }

/* Send cards' pack page by day (it lives in the Collection frame, html.sky-cards): the manifest and the note in Sky's colours */
html.sky-cards:not(.sky-night) .sv-manifest { background:#fffdf6; border:1px solid #d9b65a; color:#0d2238; box-shadow:0 8px 18px rgba(13,34,56,.12); }
html.sky-cards:not(.sky-night) .sv-manifest :is(.hd, small, .more) { color:#4a6178; }
html.sky-cards:not(.sky-night) .sv-manifest .lbl { color:#0d2238; }
html.sky-cards:not(.sky-night) .sv-plain { color:#4a6178; }
html.sky-cards:not(.sky-night) .sv-night .sv-box { border-color:#9fb3c6; }
html.sky-cards:not(.sky-night) .sv-btn.o { background:linear-gradient(#e8493c, #c42d22); color:#fff; } /* Share N cards: white on red */

/* App icon row (2026-11-19): the thumbnail's outline in Sky's paper tones by day (the design's #c9b98a), Space's at night */
html:not(.sky-night) body.sky-only .set-icon-thumb { box-shadow: 0 0 0 1px #c9b98a; }

/* The Plus page's widget picture (2026-11-19): paper by day like the real widget (SCWidgets), and its label kept its own
   colour (the kit tiles' title colour was turning "NEXT REGULAR" navy on navy) */
#plus-kit .kt .kt-widget b { color:#f3ead0; }
html:not(.sky-night) body.sky-only #plus-kit .kt .kt-widget { background:#fffdf6; box-shadow:0 0 0 1px #d9cfb4, 0 6px 14px rgba(13,34,56,.18); color:#4a6178; }
html:not(.sky-night) body.sky-only #plus-kit .kt .kt-widget b { color:#0d2238; }
html:not(.sky-night) body.sky-only #plus-kit .kt .kt-widget i { color:#b42a20; }
html:not(.sky-night) body.sky-only #plus-kit .kt .kt-widget small { color:#4a6178; }

/* By day the secret's and the UFO's ticket (#tk) and the patch coin's tag are paper like Explore's other tickets
   (2026-11-19, Sevaan: "These dark ui pieces should be light here"); night keeps them dark */
body.sky-only.day:not(.night) #tk { --tk-bg:#fffdf6f2; box-shadow:0 8px 24px rgba(13,34,56,.22); }
body.sky-only.day:not(.night) #tk #tk-n { color:#0d2238 !important; text-shadow:none !important; }
body.sky-only.day:not(.night) #tk[data-ink="secret"] { --tk:#b07a12; } /* the gold label, dark enough to read on paper */
body.sky-only.day:not(.night) #tk[data-ink="ufo"] { --tk:#1f8a3a; }
body.sky-only.day:not(.night) #tk[data-ink="fossil"] { --tk:#8a5a2b; } body.sky-only.day:not(.night) #tk[data-ink="fossil"] #tk-m { color:#4a6178 !important; opacity:1; } /* "Hold it in the circle" was pale grey on the paper ticket */ /* the buried fossil's label (2026-11-30): earth brown on the paper ticket; Space's pale bone colour was for its dark ticket */
html:not(.sky-night) body.sky-only .pc-tag { background:#fffdf6 !important; box-shadow:0 8px 18px rgba(13,34,56,.2) !important; }
html:not(.sky-night) body.sky-only .pc-tag small { color:#b42a20 !important; }
html:not(.sky-night) body.sky-only .pc-tag b { color:#0d2238 !important; }

/* Sky's rank card, the climb profile (design/rank-card/rank-options.html B, 2026-11-20, Sevaan): a cream paper card like
   the boarding pass and spec sheet, day and night (at night the paper is dimmed and warmed so it doesn't glare). The
   picture is js/rank-climb.js: every rank a flight level, your plane climbing. Scoped to #logbook.lb-climb, which only
   Sky's Collection sets, so Space Collector's navy card is untouched. */
html.sky-cards #logbook.lb-climb { --rc-paper:#fffdf6; --rc-paper2:#f6f0e0; --rc-rule:#e2d8bd; --rc-ink:#0d2238; --rc-muted:#55697d; --rc-red:#d7362b; --rc-redink:#b42a20;
  --rc-sky:linear-gradient(180deg,#dcecf8,#f4f8f6 75%,var(--rc-paper)); --rc-cloud:#ffffffd9; --rc-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 8px 22px rgba(13,34,56,.18),0 0 0 1px rgba(13,34,56,.08); }
html.sky-cards.sky-night #logbook.lb-climb { --rc-paper:#ece2cb; --rc-paper2:#e1d5b8; --rc-rule:#cdbf9d; --rc-ink:#13263a; --rc-muted:#5b6672; --rc-red:#c8392d; --rc-redink:#a8291f;
  --rc-sky:linear-gradient(180deg,#cfd8da,#e2dcc8 75%,var(--rc-paper)); --rc-cloud:#ffffff59; --rc-shadow:0 10px 26px rgba(0,0,0,.5),0 0 0 1px rgba(255,240,210,.12); }
html.sky-cards #logbook.lb-climb .lb-rot { position:relative; border:0; border-radius:16px; background:var(--rc-paper); color:var(--rc-ink); box-shadow:var(--rc-shadow); }
html.sky-cards #logbook.lb-climb .lb-rot::after { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; opacity:.5; mix-blend-mode:multiply; border-radius:inherit;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .13 0 0 0 0 .22 0 0 0 .22 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); } /* paper grain */
html.sky-cards #logbook.lb-climb .lb-top { padding:12px 16px 10px; border-bottom:1px solid var(--rc-rule); color:var(--rc-ink); font:500 13px/1 'SC Label','Barlow Condensed','Arial Narrow',sans-serif; letter-spacing:.22em; align-items:center; }
html.sky-cards #logbook.lb-climb .lb-streak { color:var(--rc-redink); }
html.sky-cards #logbook.lb-climb .lb-remind { color:var(--rc-redink); border-color:var(--rc-redink); }
/* the climb picture */
html.sky-cards #logbook.lb-climb .lb-pic { position:relative; height:auto; min-height:0; background:var(--rc-sky); border-bottom:1px solid var(--rc-rule); overflow:hidden; }
html.sky-cards #logbook.lb-climb .lbc { display:block; width:100%; filter:none; font-family:'SC Label','Barlow Condensed','Arial Narrow',sans-serif; }
#logbook.lb-climb .lbc-clouds { fill:none; } /* real cumulus (js/rank-climb.js clouds) */
#logbook.lb-climb { --rc-cloud-top:#ffffff; --rc-cloud-base:#c3d3e4; --rc-cloud-shade:rgba(64,98,140,.14); }
html.sky-cards.sky-night #logbook.lb-climb { --rc-cloud-top:#f3ecdc; --rc-cloud-base:#b9b6ad; --rc-cloud-shade:rgba(0,0,0,.18); }
#logbook.lb-climb .lbc-cloud-sh { fill:var(--rc-cloud-shade); }
#logbook.lb-climb .lbc-wisp { fill:none; stroke:var(--rc-cloud-top); stroke-width:2.2; stroke-linecap:round; opacity:.7; filter:blur(.6px); }
#logbook.lb-climb .lbc-line { stroke:var(--rc-ink); stroke-opacity:.1; stroke-width:1; }
#logbook.lb-climb .lbc-next .lbc-line { stroke-opacity:.35; stroke-dasharray:4 3; }
#logbook.lb-climb .lbc-fl { font:500 8px 'IBM Plex Mono',ui-monospace,monospace; fill:var(--rc-ink); }
#logbook.lb-climb .lbc-nm { font-size:9.5px; letter-spacing:1.2px; fill:var(--rc-ink); }
#logbook.lb-climb .lbc-past :is(.lbc-fl, .lbc-nm) { opacity:.6; }
#logbook.lb-climb .lbc-fut :is(.lbc-fl, .lbc-nm) { opacity:.45; }
#logbook.lb-climb .lbc-cur :is(.lbc-fl, .lbc-nm) { fill:var(--rc-red); }
#logbook.lb-climb .lbc-cur .lbc-nm { font-size:11px; }
#logbook.lb-climb .lbc-dot { fill:var(--rc-red); stroke:var(--rc-red); stroke-width:1.3; } /* passed and current: filled */
#logbook.lb-climb :is(.lbc-next, .lbc-fut) .lbc-dot { fill:var(--rc-paper); stroke:var(--rc-ink); stroke-opacity:.5; }
#logbook.lb-climb .lbc-fut .lbc-dot { stroke-opacity:.4; } /* ranks still to come: hollow, on the dashed climb ahead */
#logbook.lb-climb .lbc-rwy { fill:var(--rc-ink); opacity:.8; }
#logbook.lb-climb .lbc-rwy-c { stroke:var(--rc-paper); stroke-dasharray:4 4; fill:none; }
#logbook.lb-climb .lbc-ahead { fill:none; stroke:var(--rc-ink); stroke-width:1.5; stroke-dasharray:4 4; opacity:.4; }
#logbook.lb-climb .lbc-trail { fill:none; stroke:var(--rc-red); stroke-width:2.6; stroke-linecap:round; }
#logbook.lb-climb .lbc-plane path { fill:var(--rc-red); stroke:var(--rc-paper); stroke-width:1.2; paint-order:stroke; }
#logbook.lb-climb .lbc-tag { font-size:9.5px; letter-spacing:1.3px; fill:var(--rc-red); }
html.sky-cards #logbook.lb-climb .lb-pic .lb-more { position:absolute; right:12px; bottom:2px; top:auto !important; color:var(--rc-redink); }
html.sky-cards #logbook.lb-climb .lb-pic .lb-week { top:0; bottom:auto; color:var(--rc-ink); }
html.sky-cards #logbook.lb-climb .lb-since { top:34px; background:var(--rc-paper); color:var(--rc-redink); box-shadow:0 0 0 1px var(--rc-rule); }
/* rank, XP and the bar */
html.sky-cards #logbook.lb-climb .lb-rankrow { margin:0; padding:12px 16px 0; gap:8px; }
html.sky-cards #logbook.lb-climb .lb-rankrow .lb-name { margin:0; font:400 25px/1 'SC Display','Russo One',Impact,sans-serif; letter-spacing:.01em; text-transform:none; background:none; color:var(--rc-ink); -webkit-text-fill-color:var(--rc-ink); animation:none; }
html.sky-cards #logbook.lb-climb .lb-xp { color:var(--rc-muted); font:500 14px/1 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.12em; white-space:nowrap; }
html.sky-cards #logbook.lb-climb .lb-rankrow .lb-xp b { font:400 25px/1 'SC Display','Russo One',Impact,sans-serif; color:var(--rc-redink); margin-right:3px; letter-spacing:0; }
html.sky-cards #logbook.lb-climb .lb-bar { height:6px; margin:10px 16px 6px; border-radius:3px; background:var(--rc-paper2); box-shadow:inset 0 0 0 1px var(--rc-rule); }
html.sky-cards #logbook.lb-climb .lb-bar i { min-width:6px; border-radius:3px; background:var(--rc-red); }
html.sky-cards #logbook.lb-climb .lb-to { margin:0 16px 8px; font:500 15px/1.2 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.03em; color:var(--rc-muted); }
html.sky-cards #logbook.lb-climb .lb-to b { color:var(--rc-ink); font-weight:500; }
/* missions, the Sky challenge */
html.sky-cards #logbook.lb-climb .lb-face > .lb-mission { margin:0 16px; }
html.sky-cards #logbook.lb-climb .lb-mission { gap:10px; padding:9px 0; border-bottom:1px solid var(--rc-rule); color:var(--rc-ink); font:500 16px/1.15 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.02em; }
html.sky-cards #logbook.lb-climb .lb-mission i { width:12px; height:12px; border:1.6px solid var(--rc-ink); opacity:.75; background:none; }
html.sky-cards #logbook.lb-climb .lb-mission.done { color:var(--rc-muted); text-decoration-color:var(--rc-red); }
html.sky-cards #logbook.lb-climb .lb-mission.done i { background:var(--rc-red); border-color:var(--rc-red); opacity:1; }
html.sky-cards #logbook.lb-climb .lb-challenge i { border-radius:50%; transform:none; border-color:var(--rc-red); opacity:1; }
html.sky-cards #logbook.lb-climb .lb-challenge small { color:var(--rc-redink); font:500 12px/1 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.14em; }
/* Events at the foot, on one line: EVENTS (badges) at the left, what's next at the right */
html.sky-cards #logbook.lb-climb .lb-face > .lb-foot { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:6px 12px; margin-top:auto; padding:11px 16px 13px; border:0; }
html.sky-cards #logbook.lb-climb.compact .lb-foot { display:none; } /* folded: Missions › opens missions and events */
html.sky-cards #logbook.lb-climb .lb-foot .lb-head { margin:0 !important; color:var(--rc-redink); font:500 14px/1 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.22em; text-transform:uppercase; }
html.sky-cards #logbook.lb-climb .lb-foot .lb-head span { color:var(--rc-muted); letter-spacing:.12em; font-size:13px; }
html.sky-cards #logbook.lb-climb .lb-foot .lb-events { gap:4px 10px; justify-content:flex-end; padding:0; }
html.sky-cards #logbook.lb-climb .lb-foot .ui-chip { padding:0; border:0; background:none; box-shadow:none; color:var(--rc-muted); font:500 13px/1 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
html.sky-cards #logbook.lb-climb .lb-foot .ui-chip :is(b, .ui-chip__k) { color:inherit; font:inherit; letter-spacing:inherit; }
html.sky-cards #logbook.lb-climb .lb-foot .ui-chip--earned { color:var(--rc-redink); }
html.sky-cards #logbook.lb-climb .lb-face > .lb-mission:last-child { border-bottom:0; margin-bottom:6px; } /* no EVENTS foot in Sky (playtest v0.1.1809): the last mission ends the card, no rule against its edge */
/* the slim day-one card (few cards, short phones): the dial on paper */
html.sky-cards #logbook.lb-climb .lbd-name { font:400 23px/1 'SC Display','Russo One',Impact,sans-serif; text-transform:none; background:none; color:var(--rc-ink); -webkit-text-fill-color:var(--rc-ink); animation:none; }
html.sky-cards #logbook.lb-climb .lb-dial .lb-xp b { color:var(--rc-redink); }
html.sky-cards #logbook.lb-climb .lbd-to { color:var(--rc-muted); } html.sky-cards #logbook.lb-climb .lbd-to b { color:var(--rc-ink); }
html.sky-cards #logbook.lb-climb .lbd-more, html.sky-cards #logbook.lb-climb .lb-more { color:var(--rc-redink); }
html.sky-cards #logbook.lb-climb .lbd-ring circle[stroke="#24344a"] { stroke:var(--rc-paper2); }
html.sky-cards #logbook.lb-climb .lbd-ring circle[stroke="var(--gold)"] { stroke:var(--rc-red); }
html.sky-cards #logbook.lb-climb .lbd-ring g[stroke] { stroke:var(--rc-rule); }
html.sky-cards #logbook.lb-climb .lbd-ring b { color:var(--rc-ink); } html.sky-cards #logbook.lb-climb .lbd-ring b small { color:var(--rc-muted); }

/* Today's note by day (2026-11-20, Sevaan picked option C, design/bubbles/): white bubbles with Sky's blue hairline and
   navy ink, the welcome line in soft sky blue, the link in Sky's text red. Lighter than the cream hero so the hero stays
   the star. The tail (css/app.css) takes the bubble's fill on ::before and its hairline on ::after. Night: css/sky-night.css */
body.sky-only .n2-chat { margin-bottom:14px; }
body.sky-only .n2-b { background:#ffffff; color:#0d2238; box-shadow:inset 0 0 0 1px #c9d9e6, 0 1px 3px rgba(13,34,56,.06); }
body.sky-only .n2-b.big { background:#d9eaf8; box-shadow:inset 0 0 0 1px #b9d3ea; font:400 17px/1.2 'SC Display', sans-serif; color:#0d2238; padding:9px 14px 10px; }
body.sky-only .n2-b em { color:#b42a20; }
body.sky-only .n2-b.dim { color:#4a6178; }
body.sky-only .n2-stack > .n2-b:last-child::before { background:#ffffff; }
body.sky-only .n2-stack > .n2-b:last-child::after { background:#c9d9e6; }
body.sky-only .n2-stack > .n2-b.big:last-child::before { background:#d9eaf8; }
body.sky-only .n2-stack > .n2-b.big:last-child::after { background:#b9d3ea; }
/* The note's attached card (a rare plane, a regular, a card one step from Silver or Gold) in the same white: Sky's
   hairline, navy name, slate line, red time, a darker green for XP. Its photo stays as it is. */
body.sky-only .n2-att { background:#ffffff; box-shadow:inset 0 0 0 1px #c9d9e6, 0 1px 3px rgba(13,34,56,.06); color:#0d2238; }
body.sky-only .n2-att .tx small { color:#4a6178; }
body.sky-only .n2-att .tm { color:#b42a20; }
body.sky-only .n2-att .tm small { color:#1f7a45; }
body.sky-only .n2-pips i:not(.on, .now) { background:#c9d9e6; }

/* The welcome card's three pictures take turns (2026-11-21, Sevaan: all three starting together was distracting). Each
   plays its 6 s animation, then rests 3 s, on a 9 s loop; picture 2 starts halfway through picture 1, picture 3 halfway
   through picture 2, and picture 1 again halfway through picture 3. These are the .wsk-* and .wa-* keyframes above, played
   in the first two thirds of the loop and holding their resting pose after. */
@media (prefers-reduced-motion: no-preference) {
  #wc-holder .wc-mission .wc-step :is(.wsk-fly, .wa-phone, .wsk-blink, .wsk-in, .wsk-ring, .wsk-float, .wsk-sheen, .wsk-dot) { animation-duration:9s; animation-fill-mode:backwards; }
  #wc-holder .wc-mission .wc-step:nth-child(2) :is(.wsk-in, .wsk-ring) { animation-delay:3s; }
  #wc-holder .wc-mission .wc-step:nth-child(3) :is(.wsk-float, .wsk-sheen, .wsk-dot) { animation-delay:6s; }
  #wc-holder .wc-mission .wsk-fly { animation-name:wskFly9; }
  @keyframes wskFly9 { 0% { transform:translate(-58px, 16px); opacity:0; } 6.67% { opacity:1; } 41.33% { transform:translate(0, 0); opacity:1; } 54.67%, 100% { transform:translate(16px, -2px); opacity:0; } }
  #wc-holder .wc-mission .wa-phone { animation-name:waPhone9; }
  @keyframes waPhone9 { 0%, 66.67%, 100% { transform:rotate(-4deg); } 14.67% { transform:rotate(5deg); } 30% { transform:rotate(-1deg); } }
  #wc-holder .wc-mission .wsk-blink { animation-name:waLens9; }
  @keyframes waLens9 { 0%, 8%, 20%, 100% { opacity:1; } 13.33% { opacity:.35; } }
  #wc-holder .wc-mission .wsk-in { animation-name:wskIn9; }
  @keyframes wskIn9 { 0%, 8% { transform:translate(-40px, 34px); opacity:0; } 13.33% { opacity:1; } 30.67%, 57.33% { transform:none; opacity:1; } 64%, 100% { transform:none; opacity:0; } }
  #wc-holder .wc-mission .wsk-ring { animation-name:wskRing9; }
  @keyframes wskRing9 { 0%, 29.33% { transform:scale(1); } 33.33% { transform:scale(.88); } 38.67%, 100% { transform:scale(1); } }
  #wc-holder .wc-mission .wsk-float { animation-name:wskFloat9; }
  @keyframes wskFloat9 { 0%, 30.67% { transform:rotate(4deg); } 42.67% { transform:rotate(1deg) translateY(-4px) scale(1.04); } 56%, 100% { transform:rotate(4deg); } }
  #wc-holder .wc-mission .wsk-sheen { animation-name:wskSheen9; }
  @keyframes wskSheen9 { 0%, 36% { transform:skewX(-18deg) translateX(-60px); } 50.67%, 100% { transform:skewX(-18deg) translateX(90px); } }
  #wc-holder .wc-mission .wsk-dot { animation-name:wskDot9; }
  @keyframes wskDot9 { 0%, 40% { transform:scale(1); } 44% { transform:scale(1.8); } 49.33%, 100% { transform:scale(1); } }
}

/* ---- Sky's route map (js/route-map.js, 2026-11-21, Sevaan picked take 2 of design/collection-panel/): the second card at the
   top of the Collection, on the same paper as the rank card (#logbook.lb-climb above), in the satellite globe's slot. ---- */
html.sky-cards #sat-card.rm-card { --rc-paper:#fffdf6; --rc-rule:#e2d8bd; --rc-ink:#0d2238; --rc-muted:#55697d; --rc-redink:#b42a20; --rc-accent:#c8513f; --rc-gold:#b8892a;
  --rc-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 8px 22px rgba(13,34,56,.18),0 0 0 1px rgba(13,34,56,.08); }
html.sky-cards.sky-night #sat-card.rm-card { --rc-paper:#ece2cb; --rc-rule:#cdbf9d; --rc-ink:#13263a; --rc-muted:#5b6672; --rc-redink:#a8291f; --rc-shadow:0 10px 26px rgba(0,0,0,.5),0 0 0 1px rgba(255,240,210,.12); }
html.sky-cards #sat-card.rm-card .lb-rot { position:relative; border:0; border-radius:16px; background:var(--rc-paper); color:var(--rc-ink); box-shadow:var(--rc-shadow); }
html.sky-cards #sat-card.rm-card .sg-face { cursor:pointer; }
html.sky-cards #sat-card.rm-card .lb-top { padding:12px 16px 10px; border-bottom:1px solid var(--rc-rule); color:var(--rc-ink); font:500 13px/1 'SC Label','Barlow Condensed','Arial Narrow',sans-serif; letter-spacing:.22em; align-items:center; }
html.sky-cards #sat-card.rm-card .rm-count { color:var(--rc-redink); text-align:right; }
html.sky-cards #sat-card.rm-card .rm-pic { flex:none; height:196px; min-height:0; border-bottom:1px solid var(--rc-rule); background:radial-gradient(ellipse at 50% 40%, #eef5fb, #dcecf8 70%, #cfe5f6); }
html.sky-cards.sky-night #sat-card.rm-card .rm-pic { background:radial-gradient(ellipse at 50% 40%, #dfe3dd, #cfd6d6 70%, #c4cccd); }
:is(#sat-card, .td2-map) .rm-svg { position:absolute; inset:0; width:100%; height:100%; display:block; }
:is(#sat-card, .td2-map) .rm-land { fill:var(--rc-paper); stroke:#a9c3da; stroke-width:.7; stroke-linejoin:round; }
:is(#sat-card, .td2-map) .rm-arc { fill:none; stroke:var(--rc-accent); stroke-width:1.4; stroke-linecap:round; opacity:.75; }
:is(#sat-card, .td2-map) .rm-arc.gold { stroke:var(--rc-gold); stroke-width:2; opacity:.95; }
:is(#sat-card, .td2-map) .rm-arc.rm-top { stroke:var(--rc-redink); stroke-width:2.4; opacity:1; }
:is(#sat-card, .td2-map) .rm-arc.rm-rep { stroke-width:2; opacity:.9; }
:is(#sat-card, .td2-map) .rm-busy .rm-arc:not(.rm-top) { stroke-width:.8; opacity:.4; }
:is(#sat-card, .td2-map) .rm-busy .rm-arc.rm-rep:not(.rm-top) { stroke-width:1.3; opacity:.65; }
:is(#sat-card, .td2-map) .rm-draw .rm-arc:not(.rm-still) { animation:rmDraw 1.1s cubic-bezier(.4,.1,.3,1) forwards; } /* js/cards-page.js sets each arc's dash to its length */
@keyframes rmDraw { to { stroke-dashoffset:0; } }
:is(#sat-card, .td2-map) .rm-apt { fill:var(--rc-ink); stroke:var(--rc-paper); stroke-width:1; }
:is(#sat-card, .td2-map) .rm-apt.rm-hub { fill:var(--rc-paper); stroke:var(--rc-ink); stroke-width:1.6; }
:is(#sat-card, .td2-map) .rm-lab { font:500 8.5px 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.8px; fill:var(--rc-ink); paint-order:stroke; stroke:var(--rc-paper); stroke-width:2.4px; stroke-linejoin:round; }
:is(#sat-card, .td2-map) .rm-lab--top { fill:var(--rc-redink); font-size:9.5px; }
:is(#sat-card, .td2-map) .rm-jet path { fill:var(--rc-redink); stroke:var(--rc-paper); stroke-width:1; paint-order:stroke; }
html.sky-cards #sat-card.rm-card .rm-row { display:flex; justify-content:space-between; align-items:baseline; margin:0; padding:12px 16px 0; gap:8px; }
html.sky-cards #sat-card.rm-card .rm-km { margin:0; font:400 25px/1 'SC Display','Russo One',Impact,sans-serif; letter-spacing:.01em; text-transform:none; background:none; color:var(--rc-ink); -webkit-text-fill-color:var(--rc-ink); animation:none; white-space:nowrap; }
html.sky-cards #sat-card.rm-card .rm-km b { font-weight:400; color:var(--rc-redink); -webkit-text-fill-color:var(--rc-redink); }
html.sky-cards #sat-card.rm-card .rm-k { color:var(--rc-muted); font:500 14px/1 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
html.sky-cards #sat-card.rm-card .rm-sub { padding:9px 16px 14px; font:500 15px/1.2 'SC Label','Barlow Condensed',sans-serif; letter-spacing:.03em; color:var(--rc-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html.sky-cards #sat-card.rm-card .rm-sub b { color:var(--rc-ink); font-weight:500; }
.turning #sat-card .rm-jet, .lb-back .rm-jet { display:none; } /* the jet rests while the card is behind */
@media (prefers-reduced-motion: reduce) { #sat-card .rm-draw .rm-arc:not(.rm-still) { animation:none; stroke-dashoffset:0 !important; } :is(#sat-card, .td2-map) .rm-jet { display:none; } }
/* With the route map beside it, the rank card keeps its climbing-plane picture even on day one (2026-11-21, Sevaan: "where'd
   our plane ascending rank card go?"). Under 5 cards the rank card slims to a dial (body.few-cards); alone that was right,
   but in the two-card deck both share one height, so the slim card was stretched to the map's height with an empty middle.
   Short screens too (Sevaan's iPhone with Display Zoom is 693 tall, where Space's rule slims the rank card on any phone under
   700): with the map beside it, the rank card is always the full climb card. */
html.sky-cards .lb-deck.two #logbook.lb-climb .lb-dial { display:none !important; }
html.sky-cards .lb-deck.two #logbook.lb-climb .lb-pic { display:block !important; height:auto !important; background:var(--rc-sky); border-bottom:1px solid var(--rc-rule); } /* not the 44px day-one strip */
html.sky-cards .lb-deck.two #logbook.lb-climb :is(.lb-rankrow, .lb-to) { display:flex !important; }
html.sky-cards .lb-deck.two #logbook.lb-climb .lb-bar { display:block !important; }
}
html.sky-cards #sat-card.rm-card .sg-face { min-height:100%; }
html.sky-cards #sat-card.rm-card .rm-pic { flex:1 0 196px; height:auto; }
/* The deck at the top of Sky's Collection (2026-11-21, Sevaan: "The shadow under the cards is cut off and … the background
   card needs to look better"): room under it for the paper's shadow (the tabs bar below has its own background, which cut
   it off), and the card behind is a lighter, slightly greyed paper instead of Space's 55% dim, which turned cream to mud.
   Its strip (ROUTE MAP · 3 PASSES or YOUR RANK) stays readable as the tease. */
html.sky-cards .lb-deck { margin-bottom:34px; }
html.sky-cards .lb-track > .lb-back { filter:brightness(.94) saturate(.8) contrast(.96); }
html.sky-cards .lb-track > .lb-back > .lb-rot { box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 3px 10px rgba(13,34,56,.12), 0 0 0 1px rgba(13,34,56,.1); }

/* ===== Night paper (2026-11-22, Sevaan picked A of design/night-cards/night-cards-2026-11-21.html): after dark the rank card
   and the route map are deep navy paper with cream ink. The climb picture is a night sky (Milky Way, a moon, twinkling stars,
   runway lights, the plane and its trail glowing); the map a dark ocean with lit airports and glowing amber routes. ===== */
html.sky-cards.sky-night #logbook.lb-climb, html.sky-cards.sky-night #sat-card.rm-card {
  --rc-paper:#13233a; --rc-paper2:#1d314e; --rc-rule:#2a4061; --rc-ink:#efe6d2; --rc-muted:#a7b3c3; --rc-red:#ff7457; --rc-redink:#ff9277;
  --rc-accent:#f0aa5c; --rc-gold:#ffd37c; --rc-ocean:#0b182b;
  --rc-sky:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='196' viewBox='0 0 400 196'%3E%3Cfilter id='b' x='-50%' y='-50%' width='200%' height='200%'%3E%3CfeGaussianBlur stdDeviation='8.8'/%3E%3C/filter%3E%3Cellipse cx='270' cy='70' rx='170' ry='16' transform='rotate(28 270 70)' fill='%23a9bbea' opacity='0.1' filter='url(%23b)'/%3E%3Cellipse cx='280' cy='67' rx='113.33333333333333' ry='7.2' transform='rotate(28 270 70)' fill='%23c8d4f4' opacity='0.08000000000000002' filter='url(%23b)'/%3E%3Ccircle cx='271.9' cy='74.8' r='0.38' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='278.9' cy='75.4' r='0.35' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='330.5' cy='87.7' r='0.34' fill='%23e4ecff' opacity='0.32'/%3E%3Ccircle cx='157.5' cy='11.7' r='0.45' fill='%23e4ecff' opacity='0.38'/%3E%3Ccircle cx='219.1' cy='33.7' r='0.49' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='162.9' cy='15.4' r='0.46' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='376.8' cy='122.4' r='0.46' fill='%23e4ecff' opacity='0.30'/%3E%3Ccircle cx='277.8' cy='74.3' r='0.41' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='249.6' cy='68.1' r='0.34' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='340.2' cy='107.0' r='0.34' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='168.8' cy='14.1' r='0.34' fill='%23e4ecff' opacity='0.26'/%3E%3Ccircle cx='398.6' cy='144.8' r='0.40' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='213.0' cy='38.1' r='0.35' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='141.8' cy='6.8' r='0.39' fill='%23e4ecff' opacity='0.34'/%3E%3Ccircle cx='380.9' cy='139.8' r='0.37' fill='%23e4ecff' opacity='0.18'/%3E%3Ccircle cx='309.8' cy='105.1' r='0.28' fill='%23e4ecff' opacity='0.34'/%3E%3Ccircle cx='410.7' cy='147.2' r='0.41' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='204.0' cy='39.6' r='0.43' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='150.1' cy='-0.0' r='0.48' fill='%23e4ecff' opacity='0.38'/%3E%3Ccircle cx='312.1' cy='84.0' r='0.45' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='397.7' cy='133.0' r='0.35' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='286.1' cy='63.5' r='0.35' fill='%23e4ecff' opacity='0.37'/%3E%3Ccircle cx='245.5' cy='53.7' r='0.32' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='193.1' cy='30.1' r='0.25' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='167.5' cy='20.0' r='0.41' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='345.1' cy='101.8' r='0.30' fill='%23e4ecff' opacity='0.18'/%3E%3Ccircle cx='222.0' cy='46.4' r='0.39' fill='%23e4ecff' opacity='0.38'/%3E%3Ccircle cx='332.9' cy='101.4' r='0.28' fill='%23e4ecff' opacity='0.34'/%3E%3Ccircle cx='383.9' cy='128.2' r='0.50' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='376.6' cy='141.2' r='0.37' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='157.2' cy='-8.4' r='0.39' fill='%23e4ecff' opacity='0.32'/%3E%3Ccircle cx='187.1' cy='31.6' r='0.27' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='240.2' cy='40.2' r='0.39' fill='%23e4ecff' opacity='0.29'/%3E%3Ccircle cx='418.3' cy='148.2' r='0.38' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='213.8' cy='32.1' r='0.41' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='150.2' cy='0.0' r='0.45' fill='%23e4ecff' opacity='0.33'/%3E%3Ccircle cx='299.5' cy='90.8' r='0.33' fill='%23e4ecff' opacity='0.36'/%3E%3Ccircle cx='146.5' cy='1.6' r='0.48' fill='%23e4ecff' opacity='0.42'/%3E%3Ccircle cx='156.7' cy='17.8' r='0.45' fill='%23e4ecff' opacity='0.44'/%3E%3Ccircle cx='254.7' cy='58.0' r='0.26' fill='%23e4ecff' opacity='0.37'/%3E%3Ccircle cx='155.9' cy='11.2' r='0.44' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='151.0' cy='0.7' r='0.41' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='212.9' cy='49.1' r='0.39' fill='%23e4ecff' opacity='0.39'/%3E%3Ccircle cx='283.9' cy='78.7' r='0.39' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='322.3' cy='96.0' r='0.33' fill='%23e4ecff' opacity='0.18'/%3E%3Ccircle cx='389.1' cy='126.3' r='0.30' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='226.7' cy='38.2' r='0.39' fill='%23e4ecff' opacity='0.39'/%3E%3Ccircle cx='327.7' cy='112.2' r='0.27' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='187.7' cy='20.3' r='0.46' fill='%23e4ecff' opacity='0.37'/%3E%3Ccircle cx='271.2' cy='47.5' r='0.38' fill='%23e4ecff' opacity='0.15'/%3E%3Ccircle cx='380.3' cy='128.7' r='0.29' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='241.6' cy='61.8' r='0.37' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='304.7' cy='91.9' r='0.37' fill='%23e4ecff' opacity='0.27'/%3E%3Ccircle cx='243.7' cy='62.6' r='0.41' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='307.3' cy='94.1' r='0.49' fill='%23e4ecff' opacity='0.27'/%3E%3Ccircle cx='229.8' cy='42.2' r='0.38' fill='%23e4ecff' opacity='0.41'/%3E%3Ccircle cx='385.2' cy='130.5' r='0.34' fill='%23e4ecff' opacity='0.26'/%3E%3Ccircle cx='156.4' cy='-9.1' r='0.40' fill='%23e4ecff' opacity='0.29'/%3E%3Ccircle cx='191.3' cy='34.8' r='0.30' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='157.5' cy='4.8' r='0.32' fill='%23e4ecff' opacity='0.20'/%3E%3Ccircle cx='323.3' cy='84.8' r='0.27' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='214.8' cy='45.8' r='0.43' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='319.4' cy='99.6' r='0.29' fill='%23e4ecff' opacity='0.22'/%3E%3Ccircle cx='401.6' cy='135.4' r='0.31' fill='%23e4ecff' opacity='0.15'/%3E%3Ccircle cx='166.5' cy='10.2' r='0.42' fill='%23e4ecff' opacity='0.31'/%3E%3Ccircle cx='175.9' cy='37.1' r='0.33' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='269.8' cy='75.0' r='0.35' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='300.9' cy='82.5' r='0.35' fill='%23e4ecff' opacity='0.42'/%3E%3Ccircle cx='260.2' cy='62.1' r='0.45' fill='%23e4ecff' opacity='0.25'/%3E%3Ccircle cx='204.1' cy='30.5' r='0.32' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='250.7' cy='60.3' r='0.33' fill='%23e4ecff' opacity='0.22'/%3E%3Ccircle cx='410.8' cy='132.6' r='0.25' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='331.9' cy='93.3' r='0.30' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='302.9' cy='80.6' r='0.28' fill='%23e4ecff' opacity='0.23'/%3E%3Ccircle cx='243.9' cy='52.5' r='0.47' fill='%23e4ecff' opacity='0.37'/%3E%3Ccircle cx='164.6' cy='9.1' r='0.43' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='234.6' cy='47.8' r='0.49' fill='%23e4ecff' opacity='0.21'/%3E%3Ccircle cx='145.4' cy='-2.4' r='0.49' fill='%23e4ecff' opacity='0.28'/%3E%3Ccircle cx='232.0' cy='45.7' r='0.28' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='291.4' cy='76.0' r='0.46' fill='%23e4ecff' opacity='0.18'/%3E%3Ccircle cx='231.5' cy='38.6' r='0.30' fill='%23e4ecff' opacity='0.32'/%3E%3Ccircle cx='144.1' cy='8.8' r='0.37' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='159.3' cy='17.7' r='0.44' fill='%23e4ecff' opacity='0.30'/%3E%3Ccircle cx='332.9' cy='91.0' r='0.35' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='293.2' cy='82.1' r='0.44' fill='%23e4ecff' opacity='0.32'/%3E%3Ccircle cx='298.7' cy='75.1' r='0.36' fill='%23e4ecff' opacity='0.27'/%3E%3Ccircle cx='183.0' cy='18.7' r='0.46' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='168.0' cy='16.9' r='0.30' fill='%23e4ecff' opacity='0.25'/%3E%3Ccircle cx='261.8' cy='65.3' r='0.36' fill='%23e4ecff' opacity='0.17'/%3E%3Ccircle cx='313.0' cy='98.1' r='0.48' fill='%23e4ecff' opacity='0.31'/%3E%3Ccircle cx='192.1' cy='21.5' r='0.49' fill='%23e4ecff' opacity='0.21'/%3E%3Ccircle cx='289.8' cy='93.3' r='0.46' fill='%23e4ecff' opacity='0.25'/%3E%3Ccircle cx='138.3' cy='3.4' r='0.28' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='324.7' cy='101.2' r='0.42' fill='%23e4ecff' opacity='0.27'/%3E%3Ccircle cx='144.7' cy='3.6' r='0.47' fill='%23e4ecff' opacity='0.45'/%3E%3Ccircle cx='248.9' cy='67.2' r='0.47' fill='%23e4ecff' opacity='0.20'/%3E%3Ccircle cx='200.3' cy='31.4' r='0.39' fill='%23e4ecff' opacity='0.42'/%3E%3Ccircle cx='181.4' cy='20.4' r='0.49' fill='%23e4ecff' opacity='0.21'/%3E%3Ccircle cx='160.5' cy='18.3' r='0.43' fill='%23e4ecff' opacity='0.36'/%3E%3Ccircle cx='410.6' cy='132.3' r='0.40' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='352.5' cy='119.3' r='0.42' fill='%23e4ecff' opacity='0.45'/%3E%3Ccircle cx='349.8' cy='99.7' r='0.43' fill='%23e4ecff' opacity='0.15'/%3E%3Ccircle cx='276.7' cy='74.7' r='0.49' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='366.5' cy='127.0' r='0.44' fill='%23e4ecff' opacity='0.33'/%3E%3Ccircle cx='380.2' cy='113.0' r='0.40' fill='%23e4ecff' opacity='0.45'/%3E%3Ccircle cx='220.8' cy='43.5' r='0.41' fill='%23e4ecff' opacity='0.42'/%3E%3Ccircle cx='292.3' cy='69.5' r='0.38' fill='%23e4ecff' opacity='0.34'/%3E%3Ccircle cx='263.0' cy='49.8' r='0.40' fill='%23e4ecff' opacity='0.38'/%3E%3Ccircle cx='301.2' cy='75.1' r='0.31' fill='%23e4ecff' opacity='0.29'/%3E%3Ccircle cx='171.0' cy='12.4' r='0.48' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='152.2' cy='6.2' r='0.43' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='353.8' cy='131.5' r='0.35' fill='%23e4ecff' opacity='0.25'/%3E%3Ccircle cx='379.1' cy='118.9' r='0.31' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='264.1' cy='69.1' r='0.27' fill='%23e4ecff' opacity='0.24'/%3E%3Ccircle cx='165.5' cy='17.0' r='0.45' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='190.3' cy='25.3' r='0.39' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='218.4' cy='56.2' r='0.45' fill='%23e4ecff' opacity='0.44'/%3E%3Ccircle cx='163.3' cy='4.4' r='0.40' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='292.1' cy='93.2' r='0.49' fill='%23e4ecff' opacity='0.16'/%3E%3Ccircle cx='140.3' cy='-2.6' r='0.31' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='317.0' cy='107.0' r='0.48' fill='%23e4ecff' opacity='0.20'/%3E%3Ccircle cx='186.0' cy='35.0' r='0.45' fill='%23e4ecff' opacity='0.32'/%3E%3Ccircle cx='369.3' cy='129.0' r='0.35' fill='%23e4ecff' opacity='0.36'/%3E%3Ccircle cx='330.2' cy='108.2' r='0.41' fill='%23e4ecff' opacity='0.22'/%3E%3Ccircle cx='368.0' cy='119.0' r='0.38' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='313.4' cy='109.5' r='0.46' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='331.2' cy='104.8' r='0.37' fill='%23e4ecff' opacity='0.35'/%3E%3Ccircle cx='349.6' cy='106.2' r='0.36' fill='%23e4ecff' opacity='0.40'/%3E%3Ccircle cx='199.0' cy='38.0' r='0.28' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='158.9' cy='14.1' r='0.32' fill='%23e4ecff' opacity='0.31'/%3E%3Ccircle cx='384.8' cy='131.7' r='0.34' fill='%23e4ecff' opacity='0.20'/%3E%3Ccircle cx='257.4' cy='69.2' r='0.34' fill='%23e4ecff' opacity='0.41'/%3E%3Ccircle cx='325.1' cy='92.4' r='0.46' fill='%23e4ecff' opacity='0.29'/%3E%3Ccircle cx='221.0' cy='35.0' r='0.27' fill='%23e4ecff' opacity='0.18'/%3E%3Ccircle cx='283.5' cy='75.1' r='0.47' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='392.8' cy='144.4' r='0.34' fill='%23e4ecff' opacity='0.15'/%3E%3Ccircle cx='306.1' cy='93.4' r='0.37' fill='%23e4ecff' opacity='0.29'/%3E%3Ccircle cx='122.8' cy='-4.2' r='0.36' fill='%23e4ecff' opacity='0.39'/%3E%3Ccircle cx='252.8' cy='63.8' r='0.36' fill='%23e4ecff' opacity='0.21'/%3E%3Ccircle cx='161.7' cy='-5.3' r='0.29' fill='%23e4ecff' opacity='0.42'/%3E%3Ccircle cx='130.0' cy='-9.1' r='0.47' fill='%23e4ecff' opacity='0.23'/%3E%3Ccircle cx='289.2' cy='79.1' r='0.48' fill='%23e4ecff' opacity='0.22'/%3E%3Ccircle cx='405.5' cy='142.3' r='0.25' fill='%23e4ecff' opacity='0.15'/%3E%3Ccircle cx='378.8' cy='127.6' r='0.48' fill='%23e4ecff' opacity='0.20'/%3E%3Ccircle cx='414.8' cy='149.6' r='0.47' fill='%23e4ecff' opacity='0.44'/%3E%3Ccircle cx='223.8' cy='53.8' r='0.43' fill='%23e4ecff' opacity='0.27'/%3E%3Ccircle cx='363.9' cy='124.6' r='0.42' fill='%23e4ecff' opacity='0.25'/%3E%3Ccircle cx='356.4' cy='118.2' r='0.35' fill='%23e4ecff' opacity='0.19'/%3E%3Ccircle cx='270.5' cy='63.4' r='0.26' fill='%23e4ecff' opacity='0.41'/%3E%3Ccircle cx='122.4' cy='-12.9' r='0.26' fill='%23e4ecff' opacity='0.34'/%3E%3Ccircle cx='348.1' cy='111.3' r='0.28' fill='%23e4ecff' opacity='0.43'/%3E%3Ccircle cx='311.6' cy='88.9' r='0.36' fill='%23e4ecff' opacity='0.44'/%3E%3Ccircle cx='200.8' cy='92.7' r='0.45' fill='%23ffffff' opacity='0.46'/%3E%3Ccircle cx='164.4' cy='37.5' r='0.45' fill='%23fff2dc' opacity='0.75'/%3E%3Ccircle cx='270.1' cy='117.9' r='0.62' fill='%23ffffff' opacity='0.58'/%3E%3Ccircle cx='369.4' cy='75.2' r='0.51' fill='%23dfe9ff' opacity='0.62'/%3E%3Ccircle cx='292.7' cy='132.5' r='0.42' fill='%23ffffff' opacity='0.64'/%3E%3Ccircle cx='294.8' cy='101.2' r='0.57' fill='%23fff2dc' opacity='0.59'/%3E%3Ccircle cx='280.5' cy='169.5' r='0.59' fill='%23ffffff' opacity='0.37'/%3E%3Ccircle cx='197.4' cy='116.2' r='0.38' fill='%23ffffff' opacity='0.52'/%3E%3Ccircle cx='237.7' cy='122.8' r='0.60' fill='%23dfe9ff' opacity='0.58'/%3E%3Ccircle cx='210.4' cy='127.3' r='0.45' fill='%23fff2dc' opacity='0.65'/%3E%3Ccircle cx='271.6' cy='111.2' r='0.39' fill='%23fff2dc' opacity='0.33'/%3E%3Ccircle cx='131.2' cy='29.9' r='0.56' fill='%23fff2dc' opacity='0.44'/%3E%3Ccircle cx='230.1' cy='134.7' r='0.45' fill='%23dfe9ff' opacity='0.31'/%3E%3Ccircle cx='249.8' cy='9.6' r='0.86' fill='%23dfe9ff' opacity='0.70'/%3E%3Ccircle cx='311.9' cy='178.7' r='0.79' fill='%23ffffff' opacity='0.70'/%3E%3Ccircle cx='209.2' cy='104.0' r='0.41' fill='%23fff2dc' opacity='0.55'/%3E%3Ccircle cx='294.6' cy='112.9' r='0.47' fill='%23ffffff' opacity='0.38'/%3E%3Ccircle cx='386.9' cy='133.9' r='0.44' fill='%23ffffff' opacity='0.61'/%3E%3Ccircle cx='206.5' cy='124.3' r='0.50' fill='%23dfe9ff' opacity='0.46'/%3E%3Ccircle cx='369.3' cy='41.0' r='0.53' fill='%23fff2dc' opacity='0.55'/%3E%3Ccircle cx='170.0' cy='26.6' r='0.94' fill='%23dfe9ff' opacity='0.70'/%3E%3Ccircle cx='7.3' cy='62.1' r='0.59' fill='%23fff2dc' opacity='0.72'/%3E%3Ccircle cx='273.3' cy='23.3' r='0.39' fill='%23ffffff' opacity='0.69'/%3E%3Ccircle cx='371.9' cy='54.5' r='0.62' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='315.6' cy='52.5' r='0.48' fill='%23ffffff' opacity='0.53'/%3E%3Ccircle cx='392.4' cy='118.9' r='0.43' fill='%23ffffff' opacity='0.54'/%3E%3Ccircle cx='127.6' cy='9.7' r='0.47' fill='%23fff2dc' opacity='0.52'/%3E%3Ccircle cx='72.3' cy='107.3' r='0.40' fill='%23fff2dc' opacity='0.50'/%3E%3Ccircle cx='301.0' cy='138.8' r='0.54' fill='%23fff2dc' opacity='0.68'/%3E%3Ccircle cx='373.1' cy='102.7' r='0.82' fill='%23dfe9ff' opacity='0.70'/%3E%3Ccircle cx='298.2' cy='39.4' r='0.41' fill='%23dfe9ff' opacity='0.35'/%3E%3Ccircle cx='382.7' cy='64.5' r='0.56' fill='%23ffffff' opacity='0.35'/%3E%3Ccircle cx='386.7' cy='165.6' r='0.60' fill='%23ffffff' opacity='0.57'/%3E%3Ccircle cx='229.2' cy='108.6' r='0.63' fill='%23fff2dc' opacity='0.38'/%3E%3Ccircle cx='246.5' cy='175.2' r='0.56' fill='%23ffffff' opacity='0.73'/%3E%3Ccircle cx='220.2' cy='180.5' r='0.49' fill='%23ffffff' opacity='0.31'/%3E%3Ccircle cx='393.4' cy='10.4' r='0.50' fill='%23ffffff' opacity='0.57'/%3E%3Ccircle cx='342.3' cy='135.5' r='0.58' fill='%23fff2dc' opacity='0.45'/%3E%3Ccircle cx='397.1' cy='28.1' r='0.48' fill='%23ffffff' opacity='0.66'/%3E%3Ccircle cx='344.3' cy='54.4' r='0.62' fill='%23fff2dc' opacity='0.32'/%3E%3Ccircle cx='274.1' cy='120.6' r='0.45' fill='%23fff2dc' opacity='0.47'/%3E%3Ccircle cx='328.0' cy='139.2' r='0.44' fill='%23fff2dc' opacity='0.62'/%3E%3Ccircle cx='234.1' cy='95.8' r='0.77' fill='%23dfe9ff' opacity='0.70'/%3E%3Ccircle cx='196.7' cy='151.3' r='0.48' fill='%23dfe9ff' opacity='0.31'/%3E%3Ccircle cx='277.6' cy='16.0' r='0.52' fill='%23ffffff' opacity='0.75'/%3E%3Ccircle cx='213.4' cy='32.3' r='0.60' fill='%23fff2dc' opacity='0.70'/%3E%3Ccircle cx='289.7' cy='70.4' r='0.55' fill='%23ffffff' opacity='0.54'/%3E%3Ccircle cx='287.6' cy='123.2' r='0.59' fill='%23dfe9ff' opacity='0.69'/%3E%3Ccircle cx='268.8' cy='89.9' r='0.56' fill='%23ffffff' opacity='0.41'/%3E%3Ccircle cx='229.5' cy='147.2' r='0.44' fill='%23ffffff' opacity='0.62'/%3E%3Ccircle cx='296.4' cy='125.5' r='0.49' fill='%23dfe9ff' opacity='0.53'/%3E%3Ccircle cx='286.2' cy='103.1' r='0.43' fill='%23ffffff' opacity='0.36'/%3E%3Ccircle cx='202.8' cy='50.1' r='0.62' fill='%23ffffff' opacity='0.62'/%3E%3Ccircle cx='261.5' cy='81.4' r='0.48' fill='%23dfe9ff' opacity='0.75'/%3E%3Ccircle cx='10.9' cy='108.6' r='0.49' fill='%23dfe9ff' opacity='0.42'/%3E%3Ccircle cx='347.6' cy='66.1' r='0.42' fill='%23dfe9ff' opacity='0.37'/%3E%3Ccircle cx='223.1' cy='143.5' r='0.46' fill='%23dfe9ff' opacity='0.31'/%3E%3Ccircle cx='325.3' cy='85.0' r='0.61' fill='%23ffffff' opacity='0.75'/%3E%3Ccircle cx='214.6' cy='132.2' r='0.84' fill='%23ffffff' opacity='0.70'/%3E%3Ccircle cx='217.9' cy='91.2' r='0.61' fill='%23ffffff' opacity='0.59'/%3E%3Ccircle cx='349.5' cy='8.2' r='0.57' fill='%23dfe9ff' opacity='0.52'/%3E%3Ccircle cx='319.3' cy='20.2' r='0.62' fill='%23dfe9ff' opacity='0.33'/%3E%3Ccircle cx='135.5' cy='79.4' r='0.38' fill='%23ffffff' opacity='0.42'/%3E%3Ccircle cx='272.2' cy='90.4' r='0.47' fill='%23fff2dc' opacity='0.58'/%3E%3Ccircle cx='197.8' cy='87.9' r='0.62' fill='%23dfe9ff' opacity='0.73'/%3E%3Ccircle cx='261.4' cy='92.8' r='0.82' fill='%23fff2dc' opacity='0.70'/%3E%3Ccircle cx='331.3' cy='6.3' r='0.57' fill='%23fff2dc' opacity='0.30'/%3E%3Ccircle cx='315.4' cy='12.9' r='0.59' fill='%23fff2dc' opacity='0.44'/%3E%3Ccircle cx='268.1' cy='140.3' r='0.40' fill='%23ffffff' opacity='0.58'/%3E%3Ccircle cx='220.6' cy='13.6' r='0.52' fill='%23dfe9ff' opacity='0.47'/%3E%3Ccircle cx='293.5' cy='116.4' r='0.44' fill='%23fff2dc' opacity='0.55'/%3E%3Ccircle cx='205.9' cy='88.8' r='0.58' fill='%23dfe9ff' opacity='0.67'/%3E%3Ccircle cx='282.7' cy='61.2' r='0.49' fill='%23dfe9ff' opacity='0.38'/%3E%3Ccircle cx='170.9' cy='151.8' r='0.45' fill='%23ffffff' opacity='0.67'/%3E%3Ccircle cx='195.5' cy='68.1' r='0.44' fill='%23dfe9ff' opacity='0.35'/%3E%3Ccircle cx='213.4' cy='41.5' r='0.41' fill='%23dfe9ff' opacity='0.63'/%3E%3Ccircle cx='285.7' cy='37.3' r='0.57' fill='%23ffffff' opacity='0.56'/%3E%3Ccircle cx='209.6' cy='55.0' r='1.04' fill='%23fff2dc' opacity='0.70'/%3E%3Ccircle cx='113.9' cy='85.6' r='0.60' fill='%23fff2dc' opacity='0.41'/%3E%3Ccircle cx='290.0' cy='8.5' r='0.59' fill='%23dfe9ff' opacity='0.47'/%3E%3Ccircle cx='389.2' cy='45.2' r='0.58' fill='%23ffffff' opacity='0.35'/%3E%3Ccircle cx='332.4' cy='149.6' r='0.47' fill='%23fff2dc' opacity='0.35'/%3E%3Ccircle cx='355.3' cy='11.3' r='0.45' fill='%23ffffff' opacity='0.68'/%3E%3Ccircle cx='369.2' cy='23.8' r='0.53' fill='%23dfe9ff' opacity='0.55'/%3E%3Ccircle cx='78.3' cy='76.7' r='0.43' fill='%23dfe9ff' opacity='0.45'/%3E%3Ccircle cx='238.8' cy='150.6' r='0.56' fill='%23fff2dc' opacity='0.69'/%3E%3Ccircle cx='284.6' cy='30.3' r='1.04' fill='%23fff2dc' opacity='0.70'/%3E%3Ccircle cx='373.6' cy='114.1' r='0.45' fill='%23dfe9ff' opacity='0.32'/%3E%3Ccircle cx='154.3' cy='85.9' r='0.39' fill='%23ffffff' opacity='0.61'/%3E%3Ccircle cx='224.2' cy='137.4' r='0.59' fill='%23ffffff' opacity='0.69'/%3E%3Ccircle cx='204.3' cy='88.5' r='0.50' fill='%23dfe9ff' opacity='0.44'/%3E%3Ccircle cx='165.1' cy='79.6' r='0.48' fill='%23dfe9ff' opacity='0.44'/%3E%3Ccircle cx='229.3' cy='79.0' r='0.59' fill='%23fff2dc' opacity='0.56'/%3E%3Ccircle cx='200.5' cy='116.0' r='0.52' fill='%23dfe9ff' opacity='0.55'/%3E%3Ccircle cx='221.0' cy='131.7' r='0.42' fill='%23dfe9ff' opacity='0.47'/%3E%3Ccircle cx='354.2' cy='118.3' r='0.39' fill='%23fff2dc' opacity='0.42'/%3E%3Ccircle cx='179.3' cy='92.6' r='4' fill='%23dfe8ff' opacity='.12'/%3E%3Cpath d='M175.3 92.6h8M179.3 88.6v8' stroke='%23eef3ff' stroke-width='.35' opacity='.55'/%3E%3Ccircle cx='179.3' cy='92.6' r='1.15' fill='%23fff'/%3E%3Ccircle cx='340.3' cy='91.2' r='4' fill='%23dfe8ff' opacity='.12'/%3E%3Cpath d='M336.3 91.2h8M340.3 87.2v8' stroke='%23eef3ff' stroke-width='.35' opacity='.55'/%3E%3Ccircle cx='340.3' cy='91.2' r='1.15' fill='%23fff'/%3E%3C/svg%3E"), radial-gradient(circle at 63% 17%, #f6eedb 0 4.5px, rgba(246,238,219,.28) 5.5px, rgba(246,238,219,.07) 13px, transparent 30px), linear-gradient(180deg,#07101f 0%,#0d1b33 62%,#172a48 100%);
  --rc-cloud:rgba(170,192,224,.11);
  --rc-shadow:0 1px 0 rgba(255,255,255,.06) inset, 0 10px 26px rgba(0,0,0,.55), 0 0 0 1px rgba(150,180,220,.16); }
html.sky-cards.sky-night :is(#logbook.lb-climb, #sat-card.rm-card) .lb-rot::after { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; border-radius:inherit; mix-blend-mode:screen; opacity:.22; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .86 0 0 0 0 .9 0 0 0 0 1 0 0 0 .32 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.sky-cards.sky-night #logbook.lb-climb .lb-pic { background-size:cover, auto, auto; background-position:center; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-line { stroke-opacity:.09; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-next .lbc-line { stroke-opacity:.32; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-rwy { fill:#2a3d57; opacity:1; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-rwy-c { stroke:#ffd58a; stroke-width:1.6; stroke-linecap:round; stroke-dasharray:.1 5; filter:drop-shadow(0 0 2px #ffcf7a); }
html.sky-cards.sky-night #logbook.lb-climb .lbc-ahead { stroke:var(--rc-ink); opacity:.42; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-trail { filter:drop-shadow(0 0 3px rgba(255,116,87,.75)); }
html.sky-cards.sky-night #logbook.lb-climb .lbc-plane path { stroke:#0b1626; filter:drop-shadow(0 0 4px rgba(255,130,90,.85)); }
html.sky-cards.sky-night #logbook.lb-climb .lbc-dot { filter:drop-shadow(0 0 2px rgba(255,116,87,.6)); }
html.sky-cards.sky-night #logbook.lb-climb :is(.lbc-next, .lbc-fut) .lbc-dot { fill:#0d1b33; stroke-opacity:.55; filter:none; }
html.sky-cards.sky-night #logbook.lb-climb .lb-bar i { box-shadow:0 0 8px rgba(255,116,87,.55); }

html.sky-cards.sky-night #logbook.lb-climb .lbc { position:relative; z-index:1; }
html.sky-cards.sky-night #logbook.lb-climb .lb-pic::before, html.sky-cards.sky-night #logbook.lb-climb .lb-pic::after { content:""; position:absolute; left:0; top:0; z-index:0; width:1.6px; height:1.6px; border-radius:50%; pointer-events:none; animation:ncTwinkle 4.4s ease-in-out infinite; }
html.sky-cards.sky-night #logbook.lb-climb .lb-pic::before { box-shadow:270px 122px 1px 0px #fffaf0,182px 142px 1px 0px #fffaf0,289px 105px 1px 0px #fffaf0,122px 140px 1px 0px #fffaf0,283px 44px 1px 0px #fffaf0,187px 155px 1px 0.6px #fffaf0,330px 54px 1px 0px #fffaf0,338px 114px 1px 0px #fffaf0; }
html.sky-cards.sky-night #logbook.lb-climb .lb-pic::after { box-shadow:208px 6px 1.5px 0.6px #e6eeff,214px 17px 1.5px 0px #e6eeff,377px 38px 1.5px 0px #e6eeff,306px 101px 1.5px 0px #e6eeff,382px 111px 1.5px 0px #e6eeff,367px 39px 1.5px 0.6px #e6eeff,162px 93px 1.5px 0px #e6eeff; animation-duration:6.2s; animation-delay:-2.7s; }
html.sky-cards.sky-night #logbook.lb-climb.lb-back .lb-pic::before, html.sky-cards.sky-night #logbook.lb-climb.lb-back .lb-pic::after { animation:none; opacity:.6; }
html.sky-cards.sky-night #sat-card.rm-card .rm-pic { background:radial-gradient(ellipse at 50% 40%, #11233c, #0b182b 70%, #08121f); }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-land { fill:#1b2f4c; stroke:#3d5a80; stroke-width:.6; }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-arc.rm-top { filter:drop-shadow(0 0 2.5px rgba(255,180,90,.5)); } /* glow on the longest route only, not every arc (perf scan 2026-11-22) */
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-arc.rm-top { stroke:var(--rc-red); stroke-width:2.6; }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-apt { fill:#fff1cc; stroke:rgba(255,206,120,.35); stroke-width:3.4; }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-apt.rm-hub { fill:var(--rc-ocean); stroke:#ffe2a8; stroke-width:1.6; }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-lab { fill:var(--rc-ink); stroke:var(--rc-ocean); }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-lab--top { fill:var(--rc-redink); }
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-jet path { fill:var(--rc-red); stroke:var(--rc-ocean); filter:drop-shadow(0 0 3px rgba(255,130,90,.8)); }
html.sky-cards.sky-night .lb-track > .lb-back { filter:brightness(.8) saturate(.9); }
html.sky-cards.sky-night .lb-track > .lb-back > .lb-rot { box-shadow:0 3px 10px rgba(0,0,0,.4), 0 0 0 1px rgba(150,180,220,.14); }
html.sky-cards.sky-night #logbook.lb-climb { --rc-cloud-top:rgba(176,196,228,.26); --rc-cloud-base:rgba(120,142,180,.1); } /* the cumulus as faint moonlit cloud */
:is(html.sky-cards.sky-night #sat-card, html.sky-night .td2-map) .rm-busy > g { filter:none; } /* no glow filter on a map with dozens of routes */
/* the card behind's strip sits in the 14px that peeks above the front card (it sat 12px down, so only the tops of the
   letters showed), day and night */
html.sky-cards .lb-track > :is(#logbook, #sat-card).lb-back .lb-top { padding-top:3px; padding-bottom:19px; }
@keyframes ncTwinkle { 0%, 100% { opacity:.2; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { html.sky-cards.sky-night #logbook.lb-climb .lb-pic::before, html.sky-cards.sky-night #logbook.lb-climb .lb-pic::after { animation:none; opacity:.7; } }
html.sky-cards .lb-track > #logbook.lb-back .lb-remind { display:none; } /* behind, the strip shows its title, not the Remind me button that pushed it down */
/* the rank card's noise clouds (js/cloud-pic.js): by day a soft white with lit tops; at night faint and moonlit */
html.sky-cards.sky-night #logbook.lb-climb .lbc-cloud-img { opacity:.2; }
html.sky-cards.sky-night #logbook.lb-climb .lbc-cloud-lit { display:none; }
/* Tap to turn on motion (#wake, 2026-11-22, Sevaan: "should be light mode like notifications and have the airmail strip
   across the top instead of the colour strip"): the notification ticket's light paper by day, and the same airmail band
   along the top day and night (as #toasts .ticket above), in place of the gold or red border. */
body.sky-only #wake span { position:absolute; border-top:0 !important; }
body.sky-only #wake span::after { content:''; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:3px 0 0; pointer-events:none;
  background:repeating-linear-gradient(-45deg, #c8312a 0 6px, #fffdf6 6px 9px, #24508c 9px 15px, #fffdf6 15px 18px);
  -webkit-mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); -webkit-mask-composite:xor; }
body.sky-only.day:not(.night) #wake span { background-color:#fffffff5; background-image:repeating-linear-gradient(0deg, #0d223805 0 1px, transparent 1px 3px); color:#0d2238 !important;
  box-shadow:0 10px 28px rgba(13,34,56,.22), 0 0 0 1px #c9d9e6; -webkit-backdrop-filter:none; backdrop-filter:none; }
body.sky-only.day:not(.night) #wake span::before { color:#b42a20; }
body.sky-only.day:not(.night) #wake small { color:#4a6178 !important; }
/* Hard-to-see check (2026-11-22, Sevaan; scratchpad contrast.mjs: each text's colour against the pixels behind it, day and
   night). The pack screen is light day and night, so its words get dark ink; Today's hero line and timer label are deepened. */
body.sky-only #gift .gp-tags .tease { color:color-mix(in srgb, var(--t, #b42a20) 55%, #0d2238) !important; border-color:color-mix(in srgb, var(--t, #b42a20) 70%, #0d2238) !important; }
body.sky-only #gift .gp-count2 b { color:#0d2238 !important; }
body.sky-only #gift .gp-count2 button { color:#b42a20 !important; }
body.sky-only #gift .gp-haul .gp-patch.more { color:#8a5a00 !important; }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-t small { color:#4a6178; }
html:not(.sky-night) body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-tier { color:color-mix(in srgb, var(--c) 40%, #0d2238); }
html.sky-night body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-t small { color:#b8c8d8; }
html.sky-night body.sky-only :is(#sky-today, .ht-upnow) .now-hero .nh-tier { color:color-mix(in srgb, var(--c) 55%, #ffffff); }
html:not(.sky-night) body.sky-only .now-hero small.nh-u { color:#3d5368 !important; }
html.sky-night body.sky-only .now-hero small.nh-u { color:#c6d4e2 !important; }
body.sky-only #gift .gp-sfoot span { color:#4a6178 !important; }
body.sky-only #gift .gp-haul .go { background-color:#b42a20 !important; }
/* How to play's pictures fill their frame at night too (2026-11-24, Sevaan: "Art needs to fill this space"): the pictures
   are tall daylight skies shown whole in a wide frame, so the frame is the same sky gradient day and night and the
   picture's sky runs edge to edge instead of sitting in a strip between dark bands. */
html.sky-night body.sky-only .ht-pic, body.sky-only.night .ht-pic { border-color:#c9d9e6; box-shadow:inset 0 0 0 3px #f6f9fc, inset 0 0 0 4px #c9d9e6; background:linear-gradient(180deg,#8cc2ec,#e4f1fa); }
/* Today's holder while the plane feed answers (js/main.js renderSkyToday): fills the page so nothing appears and then jumps */
body.sky-only #sky-today .td-hold { min-height:calc(100vh - 220px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; color:var(--muted, #9fb3c8); }
body.sky-only #sky-today .td-hold b { font:600 15px/1.2 var(--label); letter-spacing:.16em; text-transform:uppercase; color:var(--ink, #e6ecf5); }
body.sky-only #sky-today .td-hold small { font:15px/1.3 var(--body, inherit); }
body.sky-only #sky-today .td-hold-dot { width:10px; height:10px; border-radius:50%; background:#e0573f; margin-bottom:6px; animation:tdHold 1.1s ease-in-out infinite; }
@keyframes tdHold { 50% { transform:scale(1.6); opacity:.35; } }
@media (prefers-reduced-motion: reduce) { body.sky-only #sky-today .td-hold-dot { animation:none; } }
/* less air above the day's note (2026-11-24, Sevaan: "too much of a gap above the top speech bubble") */
body.sky-only #sky-today > .n2-chat:first-child { margin-top:0; }

/* Today's "Where they're going" (2026-11-24, Sevaan: "should use the same map style as the route map on the collection
   page"): js/route-map.js draws it, arcs from you to where the planes up now are going; the route card's paper and inks. */
body.sky-only .td2-map { --rc-paper:#fffdf6; --rc-ink:#0d2238; --rc-muted:#55697d; --rc-redink:#b42a20; --rc-accent:#c8513f; --rc-gold:#b8892a;
  background:radial-gradient(ellipse at 50% 40%, #eef5fb, #dcecf8 70%, #cfe5f6); border-color:#c9d9e6; }
html.sky-night body.sky-only .td2-map { --rc-paper:#13233a; --rc-ink:#efe6d2; --rc-muted:#a7b3c3; --rc-red:#ff7457; --rc-redink:#ff9277; --rc-accent:#f0aa5c; --rc-gold:#ffd37c; --rc-ocean:#0b182b;
  background:radial-gradient(ellipse at 50% 40%, #11233c, #0b182b 70%, #08121f); border-color:#24384f; }
body.sky-only .td2-map .td2-rm { position:relative; height:210px; }
body.sky-only .td2-map .td2-rm .rm-svg { position:absolute; inset:0; width:100%; height:100%; display:block; margin:0; }
body.sky-only .td2-map .td2-cap { position:static; padding:10px 12px 12px; border-top:1px solid color-mix(in srgb, var(--rc-ink) 14%, transparent); color:var(--rc-ink); }
html.sky-night body.sky-only .td2-map .td2-cap { color:var(--rc-ink); }
/* the weather or time-of-day line under the top card's "where" (js/main.js skyHeroLine) */
body.sky-only .now-hero .nh-line { display:block; margin-top:5px; font:500 14px/1.3 var(--label); color:var(--muted, #55697d); text-wrap:pretty; }
html.sky-night body.sky-only .now-hero .nh-line { color:#a7b8ca; }

/* The demo scene's filming mode (js/demo-boot.js, store filming 2026-11-25): what never belongs in a store shot. The version
   footer and Settings' version line, the testing tools, the rating prompts, and the desktop's drag hint and catch tips.
   Notices stay (they're the game); window.__demo.clearNotices() clears them for a clean frame. */
html.sky-film :is(#version, #set-version, #test-tools, #set-rate, .rc-rate, #ar-hint, #fade-tip) { display: none !important; }

/* Book sizes (iPad, the Duo; js/cards-page.js deckBook, 2026-11-25): the route map shows, not hidden as Space's globe is.
   Upright (iPad): the full climb card and the map side by side above the tabs. On its side (iPad, the Duo): the map fills
   the empty right-hand page until a card opens there, above the tab bar's backdrop. The book layout hides every logbook
   card's header (css/collection.css); the map keeps its own. The map keeps its drawing's shape at any width. */
@media (min-width: 820px) and (min-height: 560px) and (orientation: landscape), (min-width: 600px) and (min-height: 900px) and (orientation: portrait) {
  html.sky-cards .lb-deck.book #sat-card.rm-card .lb-top { display:flex !important; }
  html.sky-cards .lb-deck.book #sat-card.rm-card .rm-pic { flex:none; height:auto; aspect-ratio:440 / 196; }
}
@media (min-width: 600px) and (min-height: 900px) and (orientation: portrait) {
  html.sky-cards body:not([data-view="albums"]):not([data-view="patches"]) .lb-deck.book .lb-track { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:stretch; margin:4px 0 14px; }
  html.sky-cards body:not([data-view="albums"]):not([data-view="patches"]) .lb-deck.book .lb-track > .logbook { grid-area:auto; margin:0; transform:none !important; filter:none !important; }
  html.sky-cards body:not([data-view="albums"]):not([data-view="patches"]) .lb-deck.book .lb-track > #logbook { order:1; padding:0; }
  html.sky-cards body:not([data-view="albums"]):not([data-view="patches"]) .lb-deck.book .lb-track > #sat-card.rm-card:not([hidden]) { display:block !important; order:2; }
  /* the rank card whole beside it, as in the phone's deck (its header, the climb picture, the rank rows) */
  html.sky-cards .lb-deck.book #logbook.lb-climb :is(.lb-top, .lb-rankrow, .lb-to) { display:flex !important; }
  html.sky-cards .lb-deck.book #logbook.lb-climb .lb-pic { display:block !important; height:auto !important; background:var(--rc-sky); border-bottom:1px solid var(--rc-rule); }
  html.sky-cards .lb-deck.book #logbook.lb-climb .lb-bar { display:block !important; }
  html.sky-cards .lb-deck.book #logbook.lb-climb .lb-dial { display:none !important; }
}
@media (min-width: 820px) and (min-height: 560px) and (orientation: landscape) {
  html.sky-cards body:not([data-view="albums"]):not([data-view="patches"]):not(:has(#viewer[open])) .lb-deck.book #sat-card.rm-card:not([hidden]) {
    display:block !important; position:fixed; z-index:26; top:calc(var(--col-top) + 24px); left:calc(50vw + 20px); right:calc(24px + var(--safe-r, 0px)); max-width:560px; margin:0 auto; transform:none !important; filter:none !important; }
  html.sky-cards body:has(.lb-deck.book #sat-card.rm-card:not([hidden])) #dock-empty { display:none !important; }
}
/* The tour's pale, sleeping sky (2026-11-28, Sky Build's playtest: "11 OVERHEAD" under the radar was white on pale cloud):
   navy with a light halo while the tour cards are up */
body.sky-only.ob-tour #radar-up, body.sky-only.ob-tour #radar-up b { color:#0d2238 !important; text-shadow:0 0 3px #ffffffd9, 0 1px 2px #ffffffb3 !important; }
