/* The Family Unity Protocol: the page's look. The film is pictures on composited layers, moved only by transform and fading only by opacity;
   nothing here animates a filter, a clip, a size or a position. An ink-blue night, moonlight, a lantern's gold, one alert red, a teal for the protocol.
   The lettering (from the font library, chosen for the story): League Gothic for the tall film-poster titles, Antonio for the graphics, Public Sans to read,
   Allerta Stencil for the protocol's stamp, Red Hat Mono for the screens that fail, Shadows Into Light for the store's handwritten sign, Libre Caslon Text and
   Alex Brush for the certificate. */
:root {
  --ink: #060912; --night: #0A1022; --deep: #111A33; --steel: #2B3A5C; --fog: #7D8AA6; --mist: #C9D0DC; --moon: #A9BDE0;
  --lantern: #FFC46B; --lantern-d: #E8902F; --red: #E04A3A; --teal: #46C2B4; --cream: #F6EEDD; --white: #F8F5EE;
  --f-title: 'League Gothic', 'Arial Narrow', Impact, sans-serif; --f-ui: 'Antonio', 'Arial Narrow', sans-serif; --f-body: 'Public Sans', system-ui, sans-serif;
  --f-stamp: 'Allerta Stencil', 'Arial Black', sans-serif; --f-mono: 'Red Hat Mono', ui-monospace, monospace; --f-hand: 'Shadows Into Light', 'Comic Sans MS', cursive;
  --f-cert: 'Libre Caslon Text', Georgia, serif; --f-sign: 'Alex Brush', cursive;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--white); font-family: var(--f-body); -webkit-text-size-adjust: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- the film: scenes, layers, pieces ---------------- */
#stage { position: fixed; inset: 0; overflow: hidden; background: #000; contain: strict; }
.scn { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.scn.on { visibility: visible; }
.ly { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.pc { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; display: block; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.wd { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; display: flex; }
/* the laptop's screen when the connection goes */
.w-lap { flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 6px); background: #0E1424; color: #E8EEF6; text-align: center; }
.w-lap i { width: calc(var(--u) * 34px); height: calc(var(--u) * 24px); border: calc(var(--u) * 3px) solid #E04A3A; border-bottom: 0; border-radius: calc(var(--u) * 34px) calc(var(--u) * 34px) 0 0; }
.w-lap b { font: 700 calc(var(--u) * 17px) / 1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: #FF8A7A; }
.w-lap span { font: 500 calc(var(--u) * 10px) / 1 var(--f-mono); color: #9AA8C0; }
/* the card terminal */
.w-term { align-items: center; justify-content: center; text-align: center; padding: 0 calc(var(--u) * 6px); background: #7FC8A8; color: #0E2A20; border-radius: calc(var(--u) * 4px); }
.w-term b { font: 700 calc(var(--u) * 12px) / 1.15 var(--f-mono); text-transform: uppercase; letter-spacing: .02em; }
.w-term.bad { background: #2A0E0E; color: #FF6A5A; }
.w-term.bad b { font-size: calc(var(--u) * 10.5px); }
/* the store's handwritten sign */
.w-sign { align-items: center; justify-content: center; text-align: center; white-space: normal; font: 400 calc(var(--u) * 30px) / 1.15 var(--f-hand); color: #1A2A6A; transform-origin: 0 0; }

#veil { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 2; will-change: opacity; }

/* ---------------- the graphics over the film (screen-space) ---------------- */
.ov { position: fixed; pointer-events: none; opacity: 0; will-change: opacity, transform; transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.ov.on { opacity: 1; }
.tag { top: calc(14px + var(--safe-t)); left: 12px; z-index: 12; max-width: calc(100vw - 84px); font: 600 12px / 1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; padding: 7px 9px 6px; }
#inspired { color: var(--ink); background: var(--lantern); }
#hypo { color: #fff; background: rgba(224, 74, 58, .92); }
/* the news: the headline and the verified reports */
#news { left: 16px; right: 16px; bottom: calc(26% + var(--safe-b)); z-index: 6; max-width: 720px; transform: translateY(16px); }
#news.on { transform: none; }
#news .nw { background: rgba(248, 245, 238, .96); color: var(--night); padding: 10px 14px 10px; border-left: 6px solid var(--red); }
#news .kick { display: inline-block; font: 600 12px / 1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
#news h1 { margin: 4px 0 2px; font: 400 clamp(30px, 5.4vw, 54px) / .95 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
#news .sub { margin: 0; font: 500 clamp(14px, 1.9vw, 17px) / 1.35 var(--f-body); color: #2A3242; }
#news .src { background: rgba(10, 16, 34, .92); padding: 8px 14px 10px; border-left: 6px solid var(--teal); }
#news .sh { margin: 0 0 4px; font: 600 11px / 1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
#news .it { display: grid; gap: 2px; padding: 5px 0; border-top: 1px solid rgba(201, 208, 220, .14); }
#news .it b { font: 600 clamp(13px, 1.7vw, 15px) / 1.25 var(--f-body); color: var(--white); }
#news .it span { font: 500 12px / 1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--lantern); }
body.nosrc #news .src { display: none; }
/* black, and the cards on it */
#black { inset: 0; z-index: 9; background: #000; transition: opacity .5s ease; }
.card { inset: 0; z-index: 10; display: grid; place-items: center; text-align: center; padding: 0 20px; }
#howlong p { margin: 0; max-width: 1000px; font: 400 clamp(40px, 8.4vw, 104px) / .94 var(--f-title); text-transform: uppercase; letter-spacing: .01em; transform: scale(.97); transition: transform 3.6s ease-out; }
#howlong.on p { transform: none; }
#whatif { align-content: center; gap: 10px; }
#whatif p { margin: 0; font: 600 clamp(16px, 2.6vw, 24px) / 1.3 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
#whatif .lb { font: 400 clamp(44px, 8vw, 96px) / .9 var(--f-title); letter-spacing: .02em; color: var(--lantern); }
/* the titles inside the story */
#crisis { left: 50%; top: 16%; z-index: 8; transform: translate(-50%, -10px) scale(.96); width: max-content; max-width: calc(100vw - 32px); text-align: center; }
#crisis.on { transform: translate(-50%, 0); }
#crisis p { margin: 0; padding: 10px 18px 6px; background: var(--red); color: #fff; border: 3px solid #fff; font: 400 clamp(32px, 6.4vw, 74px) / .95 var(--f-title); text-transform: uppercase; letter-spacing: .02em; }
#stamp { left: 50%; top: 50%; z-index: 8; transform: translate(-50%, -50%) rotate(-6deg) scale(1.5); width: max-content; max-width: calc(100vw - 32px); text-align: center; padding: 14px 22px 12px; border: 5px solid var(--teal); color: var(--teal); background: rgba(6, 9, 18, .55); transition: opacity .15s linear, transform .35s cubic-bezier(.6, 0, .4, 1.4); }
#stamp.on { transform: translate(-50%, -50%) rotate(-6deg); }
#stamp p { margin: 0; font: 400 clamp(22px, 4.4vw, 48px) / 1 var(--f-stamp); text-transform: uppercase; letter-spacing: .06em; }
#stamp b { display: block; margin-top: 6px; font: 400 clamp(30px, 6vw, 66px) / 1 var(--f-stamp); text-transform: uppercase; letter-spacing: .14em; color: var(--white); }
/* the command centre's classification: the subject in mono, the verdict stamped */
#cls { left: 50%; top: calc(58px + var(--safe-t)); z-index: 8; transform: translate(-50%, -8px); width: max-content; max-width: calc(100vw - 32px); display: grid; justify-items: center; gap: 6px; text-align: center; padding: 10px 16px 12px; background: rgba(6, 9, 18, .84); border: 2px solid var(--teal); }
#cls.on { transform: translate(-50%, 0); }
#cls span { font: 700 clamp(12px, 1.7vw, 15px) / 1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
#cls b { font: 400 clamp(26px, 5vw, 52px) / 1 var(--f-stamp); text-transform: uppercase; letter-spacing: .05em; color: var(--white); }
/* a note to read (water and fuel for dry food; grills outdoors only) */
#note { left: 50%; top: calc(170px + var(--safe-t)); z-index: 8; transform: translateX(-50%); width: min(620px, calc(100vw - 32px)); padding: 10px 14px; background: rgba(248, 245, 238, .95); color: var(--night); border-left: 6px solid var(--lantern); font: 600 clamp(14px, 1.9vw, 17px) / 1.4 var(--f-body); }
#t5 { inset: 0; z-index: 7; display: grid; place-items: center; text-align: center; padding: 0 16px; }
#t5 p { margin: 0; font: 400 clamp(54px, 11vw, 140px) / .86 var(--f-title); text-transform: uppercase; letter-spacing: .02em; color: var(--white); transform: scale(.96); transition: transform 3s ease-out; }
#t5.on p { transform: none; }
/* the last words, on black */
#final { inset: 0; z-index: 10; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 0 18px; text-align: center; }
#final p { margin: 0; max-width: 980px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .8s ease; }
#final p.on { opacity: 1; transform: none; }
#final .big { font: 400 clamp(40px, 8vw, 96px) / .92 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
#final .three { font: 600 clamp(17px, 2.6vw, 24px) / 1.3 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--lantern); }
#final .joke { font: italic 500 clamp(17px, 2.4vw, 22px) / 1.4 var(--f-body); color: var(--white); }
#final .love { margin-top: 10px; font: italic 500 clamp(16px, 2.2vw, 20px) / 1.4 var(--f-body); color: var(--mist); }
#final .fam { font: 400 clamp(40px, 6.6vw, 64px) / 1.05 var(--f-sign); color: var(--white); }
#final .fam .snd { display: block; font: 500 15px / 1.3 var(--f-body); color: var(--mist); }
#final .foot { margin-top: 12px; max-width: 560px; font: 400 12px / 1.45 var(--f-body); color: var(--fog); }
/* the words being said */
#sub { left: 50%; bottom: calc(40px + var(--safe-b)); z-index: 13; transform: translateX(-50%); width: max-content; max-width: min(880px, calc(100vw - 32px)); text-align: center; transition: opacity .2s ease; }
#sub p { margin: 0; display: inline; padding: 4px 10px; background: rgba(0, 0, 0, .74); -webkit-box-decoration-break: clone; box-decoration-break: clone; font: 500 clamp(16px, 2.3vw, 22px) / 1.6 var(--f-body); color: #fff; }
#sub b { display: block; width: max-content; margin: 0 auto 4px; padding: 3px 8px 2px; background: var(--lantern); color: var(--ink); font: 700 12px / 1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
#sub.nar b { background: var(--mist); }

/* ---------------- the controls during the film ---------------- */
.pill { position: fixed; z-index: 20; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(248, 245, 238, .35); background: rgba(6, 9, 18, .6); color: var(--white); font: 600 13px / 1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.pill:hover { background: rgba(28, 34, 50, .9); }
.pill:focus-visible { outline: 2px solid var(--lantern); outline-offset: 2px; }
#b-skip { left: 12px; top: calc(50px + var(--safe-t)); }
#b-src { left: 12px; top: calc(102px + var(--safe-t)); }
body[data-s="COVER"] #b-skip, body[data-s="COVER"] #b-src, body[data-s="END"] #b-skip, body[data-s="END"] #b-src, body.nosrc #b-src, body.nosrc #b-src2, body.noprep #b-prep { display: none; }
body:not([data-s="EARTH"]) #b-src { display: none; }
body[data-s="PROTOCOL"] #b-skip { top: calc(110px + var(--safe-t)); }
#snd-hint { position: fixed; top: calc(60px + var(--safe-t)); right: 12px; z-index: 21; margin: 0; padding: 6px 10px; border-radius: 14px; background: rgba(6, 9, 18, .7); font: 600 12px / 1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity .4s ease; }
#snd-hint.gone { opacity: 0; }

/* the cover: the night Earth behind, the title and one button */
#cover { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; text-align: center; padding: 16px; background: radial-gradient(70% 60% at 50% 50%, rgba(6, 9, 18, .2), rgba(6, 9, 18, .78)); }
#cover[hidden] { display: none; }
#cover .go { display: grid; gap: 12px; justify-items: center; max-width: 640px; }
#cover .lab { margin: 0; font: 600 12px / 1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); background: var(--lantern); padding: 7px 9px 6px; }
#cover h1 { margin: 0; font: 400 clamp(52px, 11vw, 120px) / .86 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
#cover .tl { margin: 0 0 8px; font: italic 500 clamp(16px, 2.4vw, 20px) / 1.4 var(--f-body); color: var(--mist); }
#b-on { min-height: 64px; padding: 0 34px 0 26px; border-radius: 34px; border: 2px solid var(--lantern); background: rgba(6, 9, 18, .8); color: var(--white); font: 600 clamp(20px, 3.4vw, 26px) / 1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px; }
#b-on .pl { width: 0; height: 0; border-left: 16px solid var(--lantern); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
#b-on:hover { background: rgba(28, 34, 50, .95); }
#b-quiet { background: none; border: 0; min-height: 44px; padding: 0 12px; color: var(--mist); font: 500 14px / 1 var(--f-body); text-decoration: underline; text-underline-offset: 3px; }
#cover .from { margin: 4px 0 0; font: 500 14px / 1.3 var(--f-body); color: var(--fog); }

/* ---------------- the ending: the role, the name, the certificate ---------------- */
#end { position: fixed; inset: 0; z-index: 40; overflow-y: auto; -webkit-overflow-scrolling: touch; background: radial-gradient(120% 80% at 50% 0%, rgba(42, 32, 20, .96), rgba(6, 9, 18, .98) 70%); opacity: 0; transition: opacity .6s ease; }
#end[hidden] { display: none; }
#end.on { opacity: 1; }
#end .pane { min-height: 100%; display: grid; align-content: center; justify-items: center; gap: 16px; padding: calc(70px + var(--safe-t)) 16px calc(70px + var(--safe-b)); text-align: center; max-width: 760px; margin: 0 auto; }
#end .pane[hidden] { display: none; }
#end h2 { margin: 0; font: 400 clamp(42px, 8vw, 80px) / .9 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
#end .subh { margin: 0; font: italic 500 clamp(15px, 2.2vw, 19px) / 1.4 var(--f-body); color: var(--mist); }
.opts { display: grid; gap: 10px; width: 100%; max-width: 540px; margin-top: 6px; }
.opt { min-height: 64px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(248, 245, 238, .3); background: rgba(17, 26, 51, .85); color: var(--white); font: 500 clamp(15px, 2.1vw, 17px) / 1.3 var(--f-body); text-align: left; display: flex; align-items: center; gap: 14px; }
.opt b { display: block; font: 600 clamp(17px, 2.4vw, 20px) / 1.2 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--lantern); }
.opt:hover { background: rgba(43, 58, 92, .95); border-color: var(--lantern); }
.opt:focus-visible { outline: 2px solid var(--lantern); outline-offset: 2px; }
.opt .k { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--ink); font: 700 17px / 1 var(--f-ui); }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.resp { margin: 0; max-width: 580px; font: 400 clamp(30px, 5.6vw, 52px) / .98 var(--f-title); text-transform: uppercase; color: var(--lantern); }
.namef { display: grid; gap: 6px; width: 100%; max-width: 380px; text-align: left; font: 600 13px / 1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.namef input { min-height: 52px; border-radius: 10px; border: 1px solid rgba(248, 245, 238, .4); background: rgba(6, 9, 18, .7); color: var(--white); padding: 0 14px; font: 500 18px / 1 var(--f-body); letter-spacing: 0; text-transform: none; }
.namef input:focus { outline: 2px solid var(--lantern); outline-offset: 1px; }
.btn { min-height: 52px; padding: 0 24px; border-radius: 26px; border: 0; background: var(--lantern); color: var(--ink); font: 700 17px / 1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.btn:hover { background: #FFD48A; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.btn.ghost { background: none; color: var(--white); border: 1px solid rgba(248, 245, 238, .4); }
.btn.ghost:hover { background: rgba(43, 58, 92, .8); }
.linkish { background: none; border: 0; min-height: 44px; color: var(--mist); text-decoration: underline; text-underline-offset: 3px; font: 500 14px / 1.2 var(--f-body); }
/* the certificate */
.cert { position: relative; width: 100%; max-width: 560px; padding: 32px 26px 24px; background: linear-gradient(160deg, #FBF6E8, #EFE4C8); color: #2A2018; border: 2px solid #2E7A70; outline: 6px double rgba(46, 122, 112, .45); outline-offset: -14px; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transform: translateY(40px) rotate(-1.5deg); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.cert.on { transform: rotate(-1deg); opacity: 1; }
.cert .ck { margin: 0; font: 700 12px / 1.2 var(--f-cert); letter-spacing: .28em; text-transform: uppercase; color: #2E7A70; }
.cert h3 { margin: 10px 0 4px; font: 700 clamp(24px, 4.6vw, 34px) / 1 var(--f-cert); }
.cert .for, .cert .as { margin: 12px 0 2px; font: italic 400 16px / 1.3 var(--f-cert); }
.cert .nm { margin: 0; font: 400 clamp(48px, 9vw, 66px) / 1.1 var(--f-sign); color: #1E2A5A; }
.cert .st { margin: 2px auto 0; font: 700 clamp(20px, 3vw, 26px) / 1.2 var(--f-cert); }
.cert .tt { margin: 4px auto 0; max-width: 440px; font: 700 clamp(14px, 2vw, 16px) / 1.3 var(--f-cert); letter-spacing: .08em; text-transform: uppercase; color: #9A2A22; }
.cert .rl { margin: 10px auto 0; max-width: 430px; font: italic 400 15px / 1.4 var(--f-cert); color: #5A4A30; }
.cert .msg { margin: 12px auto 0; max-width: 430px; font: 400 15px / 1.45 var(--f-cert); color: #2A2018; }
.cert .meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 18px; font: 400 12px / 1.3 var(--f-cert); color: #5A4A30; text-align: left; }
.cert .sig { font: 400 30px / 1 var(--f-sign); color: #1E2A5A; }
.cert .seal { position: absolute; right: 14px; top: -30px; width: 100px; height: 100px; border-radius: 50%; display: grid; place-content: center; gap: 2px; border: 4px solid #2E7A70; background: rgba(251, 246, 232, .94); color: #2E7A70; text-align: center; transform: scale(2.2) rotate(-24deg); opacity: 0; transition: transform .35s cubic-bezier(.6, 0, .4, 1.4), opacity .2s ease; transition-delay: .7s; }
.cert .seal span { font: 400 9px / 1.15 var(--f-stamp); text-transform: uppercase; letter-spacing: .06em; }
.cert .seal b { font: 400 11px / 1 var(--f-stamp); text-transform: uppercase; letter-spacing: .1em; color: #9A2A22; }
.cert.on .seal { transform: scale(1) rotate(-14deg); opacity: 1; }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 560px; }
.acts .btn { font-size: 15px; padding: 0 12px; min-height: 52px; line-height: 1.1; }
.saved { margin: 0; max-width: 520px; font: 600 15px / 1.4 var(--f-body); color: var(--lantern); }
.saved[hidden] { display: none; }
.small { margin: 0; max-width: 560px; font: 400 12px / 1.45 var(--f-body); color: var(--fog); }

/* ---------------- the sheets: the sources, the checklist ---------------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; background: rgba(0, 0, 0, .55); padding: 16px; }
.sheet[hidden] { display: none; }
.sh-in { width: 100%; max-width: 640px; max-height: calc(100% - 40px); overflow-y: auto; background: #101828; border: 1px solid rgba(201, 208, 220, .3); border-radius: 16px; padding: 20px 18px calc(18px + var(--safe-b)); text-align: left; }
@media (min-width: 700px) { .sheet { place-items: center; } }
.sh-in h3 { margin: 0 0 8px; font: 400 32px / .95 var(--f-title); text-transform: uppercase; letter-spacing: .01em; }
.sh-in .note { margin: 0 0 14px; font: 400 14px / 1.5 var(--f-body); color: var(--mist); }
.sh-in .note a { color: #9CC4FF; }
/* the checklist: a box per thing, a count per group, a bar for all of it */
.sh-in .kick2 { margin: -2px 0 12px; font: italic 500 15px / 1.3 var(--f-body); color: var(--lantern); }
.prog { position: sticky; top: -20px; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 0 -18px 10px; padding: 10px 18px; background: #101828; border-bottom: 1px solid rgba(201, 208, 220, .14); }
.prog .bar { flex: 1; height: 10px; border-radius: 5px; background: rgba(201, 208, 220, .18); overflow: hidden; }
.prog .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--lantern)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s ease; }
.prog span { flex: none; font: 700 14px / 1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.ck { margin: 0 0 12px; padding: 0; border: 0; }
.ck legend { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 8px 0 4px; font: 600 15px / 1.2 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.ck legend .ckn { font: 500 13px / 1.2 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--fog); }
.cki { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; border-top: 1px solid rgba(201, 208, 220, .12); font: 500 15px / 1.4 var(--f-body); color: var(--white); cursor: pointer; }
.cki input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.cki input:checked + span { color: var(--mist); }
.cki input:focus-visible { outline: 2px solid var(--lantern); outline-offset: 2px; }
.done { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(70, 194, 180, .16); font: 600 15px / 1.4 var(--f-body); color: var(--white); }
.done[hidden] { display: none; }
.sh-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.story { padding: 12px 0; border-top: 1px solid rgba(201, 208, 220, .18); }
.story h4 { margin: 0 0 4px; font: 600 17px / 1.2 var(--f-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.story p { margin: 0 0 6px; font: 400 14px / 1.45 var(--f-body); color: var(--mist); }
.story .meta { font: 600 12px / 1.3 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--lantern); }
.story a { display: inline-block; margin: 2px 12px 0 0; padding: 8px 0; color: #9CC4FF; font: 500 14px / 1.2 var(--f-body); }

/* the sender, editing: the film sits still on the moment being edited, and the words on it can be typed on */
body.editing #cover { display: none; }
body.editing .ov.on [id^="t-"] { pointer-events: auto; }

@media (max-width: 640px) {
  #news { bottom: auto; top: calc(150px + var(--safe-t)); }
  .acts { grid-template-columns: 1fr; }
  .tag { font-size: 11px; }
  #cls { top: calc(104px + var(--safe-t)); }
  #note { top: calc(208px + var(--safe-t)); }
  body[data-s="PROTOCOL"] #b-skip { top: calc(50px + var(--safe-t)); }
}
@media (max-height: 520px) and (orientation: landscape) {
  #news { bottom: calc(70px + var(--safe-b)); }
  #news .src { display: none; }
  #sub { bottom: calc(18px + var(--safe-b)); }
  #sub p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ov, #final p, .cert, .cert .seal, #howlong p, #t5 p, #stamp, .prog .bar i { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
