/* g99g.com: the app's own tokens (src/lib/theme.ts), day by default, night when the reader's
   device asks for it. Written by scripts/build-site.py; edit there. */
@font-face { font-family: "Reem Kufi"; src: url("ReemKufi-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("ReadexPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("ReadexPro-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("Amiri-Regular-card.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amiri"; src: url("Amiri-Bold-card.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zad Icons"; src: url("icons.woff2") format("woff2"); font-display: block; }

:root {
  --night: #081A2C; --gold: #E8C56E; --gold-deep: #A67C27; --gold-ink: #8A6418; --light: #FFF1C9; --paper: #FFF6DF; --ink: #14283C; --ink-soft: #5B6B7A;
  --field: #24346A; --on-field: #F4EFE4; --on-field-muted: #C4C9DF;
  --card: #F7F3EA; --well: #DFD8C9; --text: #1D2236; --muted: #5A5F72; --primary: #24346A;
  --accent: #A43E2B; --accent-soft: #EDD5CC; --warp: #CFC7B6; --line: #CCC3B0;
  /* The same by day and by night: the names section's blue, its paper cards' indigo, madder and
     hairline, the frame round a screen, the scrollbar's thumb, and words on the accent. */
  --names: #011A44; --indigo: #24346A; --madder: #A43E2B; --paper-line: #D8CDB4; --bezel: #121A3C; --thumb: #3A4A86; --on-accent: #FFF6EE;
  --shadow: 0 12px 28px rgba(6, 10, 32, 0.26);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --field: #27356E; --on-field: #EDE7DA; --on-field-muted: #A3A9C2;
    --card: #1A2140; --well: #252E55; --text: #EDE7DA; --muted: #A3A9C2; --primary: #EDE7DA;
    --accent: #E28A6F; --accent-soft: #4A2A26; --warp: #343F6C; --line: #343F6C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
/* On a phone: no flash of the browser's own over what is tapped (each thing to press shows
   that it is pressed itself), and no wait to see whether a second tap is coming. */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scrollbar-color: var(--thumb) var(--night); }
body { margin: 0; background: var(--night); color: var(--on-field); font: 400 1.0625rem/1.75 "Readex Pro", system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
[dir="ltr"] body { line-height: 1.62; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3 { font-family: "Reem Kufi", "Readex Pro", sans-serif; font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
a, button { touch-action: manipulation; }
a:not(.download):not(.go):active { opacity: 0.6; }
/* The words on a button are not text to select with a long press. */
.download, .go, .deck-toggle { user-select: none; -webkit-user-select: none; }
a:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; border-radius: 6px; }
button:focus-visible { outline: 2px solid var(--light); outline-offset: 4px; }
/* For a keyboard: the first thing it reaches, shown only then, leads past the top bar. */
.skip { position: absolute; inset-inline-start: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); top: 12px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--card); color: var(--text); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
.ico { font-family: "Zad Icons"; font-style: normal; font-weight: 400; line-height: 1; speak: never; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The pages draw to the edges of the screen (viewport-fit=cover), so with a phone held
   sideways the gutters are at least as wide as its notch. */
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }

/* The top of the page is the app's opening: the logo on its own night. */
.top { background: var(--night); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin-inline: auto; padding: 18px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); min-height: 68px; }
.mark { font: 700 1.35rem/1.4 "Reem Kufi", sans-serif; color: var(--on-field); text-decoration: none; }
.bar .mark { display: inline-flex; align-items: center; min-height: 44px; }
.links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.links a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; color: var(--on-field-muted); text-decoration: none; transition: color 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .links a:hover { color: var(--on-field); } }
.hero { display: grid; gap: 8px; align-items: center; padding-top: 8px; padding-bottom: 56px; }
.logo { width: min(78vw, 400px); margin-inline: auto;
  /* The scene's last few pixels are let go, so no edge shows against the night. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.say { text-align: center; }
h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); line-height: 1.32; color: var(--light); }
/* Latin set large reads loose, so the big headings are drawn in a little; Arabic is never
   spaced, which would break its joins. */
[dir="ltr"] h1 { line-height: 1.14; letter-spacing: -0.02em; }
[lang="ar"] { letter-spacing: normal; }
.lead { margin: 18px auto 0; max-width: 34em; color: var(--on-field-muted); font-size: 1.0625rem; }
/* A statement, not a button: there is nothing to press until the app is in the store. */
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--light); font-weight: 600; font-size: 1rem; }
.soon .ico { font-size: 1.2rem; color: var(--gold); }
/* Until then, the one thing to press: the install file itself, in the gift card's gold. */
.get { margin-top: 20px; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 20px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1); }
.download:active { transform: scale(0.97); }
.download .ico { font-size: 1.25rem; }
.get-note { margin: 12px auto 0; max-width: 30em; color: var(--on-field-muted); font-size: 0.875rem; }
@media (min-width: 900px) { .get-note { margin-inline: 0; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; padding-top: 24px; padding-bottom: 88px; }
  .say { text-align: start; order: 0; }
  .lead { margin-inline: 0; }
  .logo { width: min(100%, 460px); order: 1; }
}
@media (max-width: 899px) { .logo { order: -1; } }

/* The body of the page is the app itself: the dyed field, its lattice, and wool cards on it. */
.field { position: relative; background: var(--field); padding-block: 72px 96px; isolation: isolate; }
.field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("lattice.png") 0 0 / 180px 180px; opacity: 0.055; pointer-events: none; }
.field > section + section { margin-top: 96px; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); line-height: 1.4; color: var(--on-field); }
[dir="ltr"] h2 { line-height: 1.2; letter-spacing: -0.015em; }
.sub { margin-top: 10px; max-width: 36em; color: var(--on-field-muted); }
.card { background: var(--card); color: var(--text); border-radius: 24px; box-shadow: var(--shadow); }

/* The day's four sets, as on the app's home screen. */
/* A row that scrolls sideways shows no bar where a finger moves it. Where a mouse does, a thin
   one says that it scrolls. A swipe past its end stays in the row, and is not taken for the
   browser's "back". */
.days, .shots { scrollbar-width: thin; scrollbar-color: rgba(244, 239, 228, 0.32) transparent; overscroll-behavior-x: contain; }
@media (pointer: coarse) {
  .days, .shots { scrollbar-width: none; }
  .days::-webkit-scrollbar, .shots::-webkit-scrollbar { display: none; }
}
.days { list-style: none; margin: 32px -20px 0; padding: 12px 20px 28px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.day { flex: 0 0 min(76vw, 300px); scroll-snap-align: center; background: var(--card); color: var(--text); border-radius: 28px; box-shadow: var(--shadow); padding: 18px 20px 26px; text-align: center; transform: translateY(10px) scale(0.96); transition: transform 420ms var(--ease); }
.day.due { transform: none; }
.tag { text-align: start; font-size: 0.82rem; font-weight: 600; color: var(--muted); min-height: 1.6em; }
.tag .now { display: none; color: var(--accent); }
.day.due .tag .now { display: inline; }
.day.due .tag .next { display: none; }
.sun { position: relative; width: min(100%, 210px); margin: 6px auto 4px; }
.sun svg { display: block; width: 100%; height: auto; }
.sun .ico { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; color: var(--accent); }
.disk { fill: var(--accent-soft); }
.ray { stroke: var(--warp); stroke-width: 4.5; stroke-linecap: round; transition: stroke 260ms var(--ease); }
.day.lit .ray.on { stroke: var(--primary); transition-delay: calc(var(--i) * 55ms + 250ms); }
.day.lit .ray.on.fifth { stroke: var(--accent); }
.day h3 { font-size: 2.05rem; line-height: 1.5; }
[dir="ltr"] .day h3 { line-height: 1.25; margin-top: 6px; }
.count { color: var(--muted); font-size: 0.98rem; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .days { margin-inline: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .day { flex: none; }
}

/* Real screens of the app. */
.shots { margin: 36px -20px 0; padding: 4px 20px 12px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 min(64vw, 250px); margin: 0; scroll-snap-align: center; }
.shot img { width: 100%; border-radius: 30px; box-shadow: var(--shadow), 0 0 0 6px var(--bezel); }
.shot figcaption { margin-top: 20px; color: var(--on-field-muted); font-size: 0.95rem; }
.shot strong { display: block; font: 700 1.25rem/1.6 "Reem Kufi", sans-serif; color: var(--on-field); }
@media (min-width: 900px) {
  .shots { margin-inline: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); justify-content: space-around; align-items: start; row-gap: 56px; }
  .shot { flex: none; }
  .shot:nth-child(3n+2) { margin-top: 56px; }
}

/* The names of Allah: the section's own dark blue and its gold title, as in the app, beside a
   deck of name cards that turn by themselves while they are in view, until the button under
   them is pressed. */
.names-card { background: var(--names); color: var(--light); border-radius: 28px; box-shadow: var(--shadow); padding: 34px 22px 44px; display: grid; gap: 30px; justify-items: center; text-align: center; overflow: hidden; }
.names-say h2 img { display: block; width: min(100%, 330px); height: auto; margin-inline: auto; }
.names-say p { margin: 16px auto 0; max-width: 30em; color: rgba(255, 241, 201, 0.82); }
/* The cards lie in one cell, so the deck is as tall as its tallest card: with larger text
   it grows, and nothing spills out of a card. */
/* A finger moving sideways takes the card in front; moving up or down it scrolls the page,
   and two fingers still zoom it. */
.deck { display: grid; width: min(100%, 320px); min-height: 264px; touch-action: pan-y pinch-zoom; cursor: grab; }
.deck.held { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.nm { grid-area: 1 / 1; position: relative; display: grid; align-content: center; justify-items: center; padding: 20px 22px; background: var(--paper); color: var(--ink); border-radius: 26px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34); opacity: 0; transform: translateY(28px) scale(0.9); transition: transform 640ms var(--ease), opacity 420ms var(--ease); }
.nm.p0 { opacity: 1; transform: none; z-index: 3; }
.nm.p1 { opacity: 0.86; transform: translateY(14px) scale(0.95); z-index: 2; }
.nm.p2 { opacity: 0.56; transform: translateY(28px) scale(0.9); z-index: 1; }
/* The card in front leaves the way a card is swiped on in the app. */
.nm.out { opacity: 0; transform: translateX(-52%) rotate(-7deg); z-index: 4; }
/* On the section's dark blue the cards are the same warm paper by day and by night, like the gift card. */
.nm .num { font-size: 0.8rem; line-height: 1.6; color: var(--ink-soft); border: 1px solid var(--paper-line); border-radius: 99px; padding: 0 12px; font-variant-numeric: tabular-nums; }
.nm h3 { font: 700 2.7rem/1.75 "Reem Kufi", sans-serif; color: var(--indigo); }
.nm i { width: 32px; height: 3px; border-radius: 2px; background: var(--madder); margin: 0 0 12px; }
.nm p { font-size: 0.98rem; line-height: 1.9; }
/* The one control on the page that is not a link: it stops the deck, and starts it again. It
   is shown by the script, only when the deck is turning. */
.deck-wrap { display: grid; justify-items: center; gap: 40px; width: 100%; }
.deck-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(232, 197, 110, 0.4); border-radius: 99px; background: none; color: var(--light); font: 600 0.9rem/1 "Readex Pro", sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 150ms var(--ease), transform 120ms var(--ease); }
.deck-toggle[hidden] { display: none; }
.deck-toggle svg { width: 14px; height: 14px; fill: var(--gold); }
.deck-toggle .i-play, .deck-toggle.paused .i-pause { display: none; }
.deck-toggle.paused .i-play { display: block; }
.deck-toggle:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .deck-toggle:hover { background-color: rgba(255, 241, 201, 0.08); } }
@media (min-width: 900px) {
  .names-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 48px 52px 56px; gap: 40px; }
}

/* The counter's stones: one bead of each, lit one after another as if being counted, once,
   when the card is reached. After that a bead lights under the pointer. */
.stones { margin-top: 48px; padding: 24px 18px 26px; text-align: center; }
.stones h3 { font: 700 1.45rem/1.6 "Reem Kufi", sans-serif; color: var(--primary); }
.stones ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 6px; }
.stones b { display: block; font-weight: 600; font-size: 0.86rem; color: var(--text); }
.bead { position: relative; display: block; width: 64px; height: 64px; margin: 0 auto 6px; }
.bead img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bead .glow { opacity: 0; transition: opacity 260ms var(--ease); }
.js .stones.in .glow { animation: lit 1.5s var(--ease) 1; animation-delay: calc(var(--i) * 0.6s + 0.4s); }
@keyframes lit { 0%, 100% { opacity: 0; } 25%, 60% { opacity: 1; } }
@media (hover: hover) and (pointer: fine) { .bead:hover .glow { opacity: 1; } }
@media (min-width: 700px) { .stones ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Pictures and cards rise into place the first time they are scrolled to. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 620ms var(--ease), transform 760ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* What is inside: one wool card of ruled rows, as the app sets its lists. */
.rows { margin: 28px 0 0; padding: 6px 24px; }
.row { display: grid; gap: 2px; padding-block: 18px; }
.row + .row { border-top: 1px solid var(--line); }
.row dt { font-weight: 600; color: var(--text); }
.row dd { margin: 0; color: var(--muted); }
@media (min-width: 700px) {
  .rows { padding-inline: 32px; }
  .row { grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 28px; align-items: baseline; }
}

/* The gift: back on the opening's night, with the card as it is in the app. */
.gift { background: var(--night); padding-block: 88px; background-image: radial-gradient(60% 60% at 50% 40%, rgba(255, 241, 201, 0.10), rgba(255, 241, 201, 0) 70%); }
.gift-grid { display: grid; gap: 44px; align-items: center; }
.gift h2 { color: var(--light); }
.paper { display: grid; justify-items: center; width: min(100%, 380px); margin-inline: auto; background: var(--paper); color: var(--ink); border-radius: 26px; padding: 34px 26px; position: relative; box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42); text-align: center; font-family: "Amiri", "Readex Pro", serif; }
.paper::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-deep); border-radius: 19px; opacity: 0.38; pointer-events: none; }
.seal { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold-deep); border-radius: 50%; color: var(--gold-deep); font-size: 1.25rem; margin-bottom: 6px; }
/* Small words in gold take the darker one: the card's own gold is too faint at this size. */
.paper .label { font: 600 0.8rem/1.4 "Readex Pro", sans-serif; color: var(--gold-ink); }
.paper .small { font: 400 0.8rem/1.4 "Readex Pro", sans-serif; color: var(--ink-soft); margin-top: 18px; }
.paper .to { font-size: 1.8rem; font-weight: 700; line-height: 1.5; }
.paper .rule { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.paper .rule i { width: 34px; height: 1px; background: var(--gold-deep); opacity: 0.6; }
.paper .rule b { width: 6px; height: 6px; background: var(--gold-deep); transform: rotate(45deg); }
.paper .text { font-size: 1.375rem; line-height: 1.8; white-space: pre-line; }
[dir="ltr"] .paper .text { font: 400 1.1rem/1.6 "Readex Pro", sans-serif; }
[dir="ltr"] .paper .to, [dir="ltr"] .paper .from { font-family: "Reem Kufi", sans-serif; }
.paper .from { font-size: 1.45rem; font-weight: 700; line-height: 1.6; }
.steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 34em; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.1rem 1fr; gap: 12px; align-items: baseline; color: var(--on-field); }
.steps li::before { content: counter(step); font: 700 1.25rem/1 "Reem Kufi", sans-serif; color: var(--gold); text-align: center; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .gift-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; } .gift { padding-block: 112px; } }

.foot { background: var(--night); border-top: 1px solid rgba(255, 241, 201, 0.12); padding-block: 28px 36px; color: var(--on-field-muted); font-size: 0.92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot .mark { font-size: 1.1rem; }
.foot .more { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* For a visitor whose device asks for more contrast: the quieter text takes the full colour
   and hairlines are drawn dark enough to be seen (3:1 at least). Unlit rays keep their colour:
   darker, they would sit too close to the madder ones that are lit. */
@media (prefers-contrast: more) {
  :root { --on-field-muted: var(--on-field); --muted: var(--text); --ink-soft: var(--ink); --gold-deep: var(--gold-ink); --line: #857E6C; }
  .names-say p { color: var(--light); }
  .deck-toggle { border-color: var(--gold); }
  .foot { border-top-color: var(--on-field-muted); }
  .nm.p1, .nm.p2 { opacity: 1; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --line: #7480B4; }
}

/* Motion on the page: the rays of the card that is due light one after another, cards and
   pictures rise once as they are reached, the deck of names turns until it is paused, and
   the beads light in turn, once. All of it is transform and opacity. With reduced motion nothing moves: the rays are
   simply lit, everything is in place, and the deck and the beads stay still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .day, .ray, .links a, .nm, .deck-toggle, .bead .glow { transition: none !important; }
  .day { transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .stones.in .glow { animation: none; }
}

/* A page of plain reading: one wool card on the field. */
.doc-page { padding-block: 40px 96px; }
.doc-page h1 { font-size: clamp(2rem, 5.4vw, 2.9rem); line-height: 1.4; color: var(--on-field); }
.doc-page .date { margin-top: 6px; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.doc { margin-top: 28px; padding: 12px 24px 30px; }
.doc h2 { color: var(--text); font-size: 1.35rem; line-height: 1.5; margin-top: 30px; }
.doc p, .doc ul { margin: 10px 0 0; color: var(--text); max-width: 38em; }
.doc ul { padding-inline-start: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); font-weight: 600; }
.doc a:focus-visible { outline-color: var(--accent); }
@media (min-width: 700px) { .doc { padding: 20px 48px 44px; } }
/* The one filled thing to press on a wool card. */
.go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 16px; background: var(--primary); color: var(--card); font-weight: 600; text-decoration: none; transition: transform 120ms var(--ease); }
.go:active { transform: scale(0.97); }
.go:focus-visible { outline-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .go { transition: none; } }
/* The page for an address that leads nowhere: one wool card, said in both languages, each
   with its own way home. */
.lost { padding: 6px 24px; }
.lost > div { padding-block: 28px; }
.lost > div + div { border-top: 1px solid var(--line); }
.lost h1, .lost h2 { color: var(--text); font-size: 1.5rem; line-height: 1.5; }
.lost p { margin-top: 4px; color: var(--muted); }
.lost .act { margin-top: 18px; }
@media (min-width: 700px) { .lost { padding-inline: 40px; } }

/* Without scripts the first card stands as the one that is due, already lit. */
html:not(.js) .day:first-child { transform: none; }
html:not(.js) .day:first-child .tag .now { display: inline; }
html:not(.js) .day:first-child .tag .next { display: none; }
html:not(.js) .day:first-child .ray.on { stroke: var(--primary); }
html:not(.js) .day:first-child .ray.on.fifth { stroke: var(--accent); }
