/* mofu start page (web/index.html): hero island in 3D, then "Ein Tag mit mofu" along a red thread. Tokens: mochi-designbuch/design-tokens.json */
/* Layout: a giant lowercase wordmark in the sky with mofu's floating 3D island in front of it; below, paper sections
   that each show one thing she does. Colours from design-tokens.json ui.colors. One light world on purpose. */
:root {
  --paper: #FBF6F0; --card: #FFFFFF; --glass: rgba(255, 251, 247, .9);
  --ink: #3A3046; --ink-soft: #6B5F70; --line: #EADFD6;
  --coral: #E38B6F; --coral-ink: #9A4A33; --lavender: #C9B8F0; --sage: #86BF6F; --butter: #FFE08A; --blush: #F6B3C0;
  --sky-1: #FFD9C7; --sky-2: #FFF1DA; --sky-3: #FBF6F0; --mark: rgba(255, 255, 255, .92); --hero-ink: #3A3046; --hero-soft: #6B5F70;
  --display: Fredoka, "Nunito", ui-rounded, system-ui, sans-serif;
  --text: Nunito, ui-rounded, system-ui, sans-serif;
  --r-sheet: 30px; --r-card: 26px; --r-btn: 18px; --r-chip: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 600 17px/1.55 var(--text); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--coral-ink); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- hero ---------- */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(251, 246, 240, 0), var(--paper)); pointer-events: none; }
.hero { --eyebrow: #9A4A33; position: relative; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); overflow: hidden; transition: background .8s; }
.hero[data-time="tag"] { --sky-1: #BFE1F4; --sky-2: #E6F3F6; }
.hero[data-time="morgen"] { --sky-1: #FFD3C2; --sky-2: #FFF0DA; }
.hero[data-time="abend"] { --sky-1: #E99A8C; --sky-2: #F6C6BE; --mark: rgba(255, 244, 240, .9); }
.hero[data-time="nacht"] { --sky-1: #1F2044; --sky-2: #3A3466; --sky-3: #5A4A7E; --eyebrow: #FFC9B5; --mark: rgba(255, 255, 255, .1); --hero-ink: #FFFFFF; --hero-soft: #E4DDF2; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; pointer-events: none;
  background-image: radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 28% 8%, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 44% 22%, #FFF3C4 50%, transparent 52%), radial-gradient(1.2px 1.2px at 63% 12%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 78% 26%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 90% 10%, #FFF3C4 50%, transparent 52%), radial-gradient(1.2px 1.2px at 8% 40%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 94% 38%, #fff 50%, transparent 52%); }
.hero[data-time="nacht"] .stars { opacity: .9; }
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font: 600 20px/1 var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(58, 48, 70, .55); }
.pills { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 251, 247, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 800 13px/1 var(--text); color: var(--ink); }
.pill svg { width: 16px; height: 16px; }
.lang button { background: none; border: 0; padding: 4px 3px; font: inherit; opacity: .45; }
.lang button[aria-pressed="true"] { opacity: 1; }

.mark { position: relative; z-index: 1; margin: 0; text-align: center; font: 700 clamp(132px, 31vw, 400px)/.8 var(--display); letter-spacing: -.045em; color: var(--mark); padding-top: clamp(18px, 3vw, 28px); user-select: none; transition: color .8s;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.mark span { display: inline-block; animation: bob 5.5s ease-in-out infinite; }
.mark span:nth-child(2) { animation-delay: -.6s; } .mark span:nth-child(3) { animation-delay: -1.2s; } .mark span:nth-child(4) { animation-delay: -1.8s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.035em); } }
@media (prefers-reduced-motion: reduce) { .mark span { animation: none; } }
.stage { position: relative; z-index: 2; height: clamp(380px, 58vh, 600px); margin-top: calc(-1 * clamp(70px, 15vw, 210px)); touch-action: pan-y; }
canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.live canvas.gl { opacity: 1; }
.poster { position: absolute; left: 50%; bottom: 20%; width: min(240px, 46%); transform: translateX(-50%); transition: opacity .5s; pointer-events: none; }
.poster .isl { position: absolute; left: 50%; bottom: -24%; width: 230%; aspect-ratio: 3.2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #CFE0BC, #C2D7AC 70%, #B2C99C); }
.poster img { position: relative; width: 100%; display: block; }
.live .poster { opacity: 0; }
.hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; white-space: nowrap; font: 800 13px/1 var(--text); color: var(--ink-soft); background: var(--glass); padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 24px -16px rgba(58, 48, 70, .5); transition: opacity .4s; }
.hint.gone { opacity: 0; }
.bubble { position: absolute; z-index: 4; left: 0; top: 0; max-width: 230px; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--ink); font: 700 15px/1.35 var(--text); box-shadow: 0 14px 30px -18px rgba(58, 48, 70, .55); opacity: 0; transform: translateY(6px) scale(.96); transform-origin: 0 100%; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.bubble.on { opacity: 1; transform: none; }
.intro { position: relative; z-index: 3; display: grid; gap: 18px; justify-items: center; text-align: center; padding-block: 8px 112px; }
.eyebrow { font: 800 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); }
.intro .eyebrow { color: var(--eyebrow); }
.intro .h1 { color: var(--hero-ink); transition: color .8s; }
.intro p { transition: color .8s; }
.intro .h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; max-width: 18ch; }
.intro p { color: var(--hero-soft); max-width: 46ch; font-size: 18px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); border: 0; font: 800 16px/1 var(--text); text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn.main { background: var(--coral); color: #fff; box-shadow: 0 14px 26px -14px rgba(154, 74, 51, .8); }
.btn.soft { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn small { font: 700 12px/1 var(--text); opacity: .8; }

/* ---------- the day: one red thread from 7:30 to 23:00 ---------- */
.rise { transition: opacity .7s, transform .9s cubic-bezier(.2, 1.2, .4, 1); }
.rise.pre { opacity: 0; transform: translateY(28px); }
.day { position: relative; }
.thread { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.thread path { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; }
.thread circle { fill: var(--paper); stroke: var(--coral); stroke-width: 3; transition: fill .3s; }
.thread circle.on { fill: var(--coral); }
.dayhead { position: relative; padding-block: 72px 24px; background: linear-gradient(var(--paper), #FDF0E3); }
.dayhead .inner { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.yarn { width: 44px; height: 44px; }
.dayhead h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; }
.dayhead p { color: var(--ink-soft); font-size: 18px; margin-top: 8px; max-width: 52ch; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.who { display: inline-flex; align-items: center; gap: 6px; font: 800 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: #FDE3D9; color: var(--coral-ink); }
.who.pet { background: #ECE5FB; color: #5D4A9A; }
.who.us { background: #E4F1DD; color: #3F6E31; }
.who i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.ch { position: relative; padding-block: 88px; background: linear-gradient(var(--a), var(--b)); }
.chgrid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-left: 60px; }
.chtext { display: grid; gap: 14px; align-content: start; min-width: 0; }
.chtext .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.time { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--card); padding: 8px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.chtext h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.06; }
.chtext p { color: var(--ink-soft); font-size: 17.5px; max-width: 48ch; }
.chtext p b { color: var(--ink); }
.say { display: flex; align-items: flex-end; gap: 10px; }
.say img { width: 72px; height: 72px; flex: none; }
.say .bubble, .card .bubble { position: static; opacity: 1; transform: none; max-width: 280px; }
.card { background: var(--card); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -40px rgba(58, 48, 70, .7); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.card h3 { font: 800 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.wide { grid-column: 1 / -1; }

/* 7:30 post */
.desk { position: relative; height: 400px; border-radius: var(--r-sheet); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pilelabel { position: absolute; z-index: 30; font: 800 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; opacity: .35; transition: opacity .3s; }
.pilelabel.on { opacity: 1; }
.pilelabel i { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; letter-spacing: 0; font-size: 12px; }
.pilelabel[data-k="wichtig"] i { background: var(--coral); }
.letter { position: absolute; left: 0; top: 0; width: 230px; height: 62px; border-radius: 16px; background: var(--card); box-shadow: 0 10px 24px -16px rgba(58, 48, 70, .55), inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 10px; padding: 0 12px; transform-origin: 50% 50%; will-change: transform; }
.letter .dot { width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--c); display: grid; place-items: center; }
.letter .dot svg { width: 16px; height: 16px; }
.letter b { display: block; font: 800 13px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.letter span { display: block; font: 700 12px/1.3 var(--text); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.letter .txt { min-width: 0; }
.letter.ad { transition: opacity .4s; }
.letter.ad.done { opacity: .5; }
.replay { position: absolute; right: 12px; bottom: 12px; z-index: 40; min-height: 36px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 800 13px/1 var(--text); }

/* 8:00 care */
.care { grid-template-columns: minmax(0, 1fr); }
.carestage { position: relative; height: 250px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 100%, #F8E7D6, #FCF4EA); overflow: hidden; }
.carestage .cat { position: absolute; left: 50%; bottom: 6px; width: 210px; transform: translateX(-50%); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.carestage .cat.bump { transform: translateX(-50%) scale(1.04) rotate(-2deg); }
.burr { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #9C7A55 40%, transparent 42%), conic-gradient(from 0deg, #8B6A47 0 10%, transparent 10% 20%, #8B6A47 20% 30%, transparent 30% 40%, #8B6A47 40% 50%, transparent 50% 60%, #8B6A47 60% 70%, transparent 70% 80%, #8B6A47 80% 90%, transparent 90%); transition: transform .5s, opacity .5s; }
.burr.gone { opacity: 0; transform: translate(40px, -60px) rotate(180deg) scale(.5); }
.tin { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; font: 800 13px/1 var(--text); color: var(--ink-soft); background: var(--glass); padding: 8px 10px; border-radius: 12px; }
.tin svg { width: 22px; height: 22px; }
.carestage .bubble { position: absolute; right: 12px; top: 12px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.act { min-height: 44px; padding: 0 16px; border-radius: 14px; border: 0; background: #F3EEFC; color: #4B3A86; font: 800 15px/1 var(--text); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.act:hover { transform: translateY(-2px); }
.act:active { transform: scale(.96); }
.act[disabled] { opacity: .45; cursor: default; transform: none; }
.note { font: 700 14px/1.35 var(--text); color: var(--ink-soft); min-height: 1.35em; }

/* 10:00 today */
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #FBF7F3; font: 700 15px/1.3 var(--text); min-width: 0; }
.row time { font: 800 13px/1 var(--text); color: var(--ink-soft); font-variant-numeric: tabular-nums; flex: none; min-width: 44px; }
.row .t { min-width: 0; flex: 1; }
.row small { display: block; font: 700 13px/1.3 var(--text); color: var(--ink-soft); }
.badge { font: 800 11px/1 var(--text); padding: 5px 8px; border-radius: 8px; background: #E4F1DD; color: #3F6E31; flex: none; }
.propose { border-radius: 18px; padding: 14px; background: #FDEFE9; display: grid; gap: 10px; transition: background .3s; }
.propose .from { font: 800 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.propose p { font: 700 15px/1.35 var(--text); }
.propose .btns { display: flex; gap: 8px; }
.propose .btn { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 14px; }
.propose.done { background: #EEF6E9; }

/* 13:00 play */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game { background: var(--card); border-radius: 22px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.game svg { width: 44px; height: 44px; transform-origin: 50% 90%; }
.game:hover svg { animation: wiggle .8s ease-in-out; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }
.game b { font: 600 19px/1.15 var(--display); }
.game span { font: 700 14px/1.35 var(--text); color: var(--ink-soft); }

/* 16:00 build */
.build { display: grid; gap: 14px; }
.taler { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 14px/1 var(--text); color: var(--ink-soft); }
.taler b { display: inline-flex; align-items: center; gap: 6px; font: 600 20px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.taler svg { width: 22px; height: 22px; }
.isle2 { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1.25; margin: 0 auto; border-radius: 50%; touch-action: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .5) 1.3px, transparent 1.6px) 0 0 / 24px 24px, radial-gradient(closest-side, #9ACB84, #86BF6F 75%, #74A95F 100%);
  box-shadow: 0 18px 0 -2px #C89E7A, 0 30px 40px -24px rgba(58, 48, 70, .55); }
.isle2 .house { position: absolute; left: 50%; top: 4%; width: 26%; transform: translateX(-50%); pointer-events: none; }
.isle2 .mofu { position: absolute; width: 68px; transition: left .9s cubic-bezier(.4, 0, .2, 1), top .9s cubic-bezier(.4, 0, .2, 1); pointer-events: none; z-index: 5; }
.isle2 .bubble { position: absolute; z-index: 6; transition: opacity .25s; }
.piece { position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; cursor: grab; touch-action: none; z-index: 4; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.piece.lift { transform: scale(1.15) translateY(-6px); cursor: grabbing; z-index: 20; filter: drop-shadow(0 10px 8px rgba(58, 48, 70, .3)); transition: none; }
.piece svg { width: 100%; height: 100%; display: block; }
.tray { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tray button { display: grid; justify-items: center; gap: 4px; width: 76px; padding: 8px 4px; border-radius: 16px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 800 12px/1.1 var(--text); touch-action: none; }
.tray button svg { width: 36px; height: 36px; }
.tray button small { display: inline-flex; align-items: center; gap: 3px; font: 800 11px/1 var(--text); color: var(--coral-ink); }
.tray button small svg { width: 12px; height: 12px; }
.rooms { display: flex; flex-wrap: wrap; gap: 8px; }
.room { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 14px/1.1 var(--text); }
.room small { font: 800 11px/1 var(--text); color: var(--ink-soft); }
.room svg { width: 14px; height: 14px; flex: none; }
.room.open { background: #EEF6E9; box-shadow: none; }
.closet { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.closet figure { margin: 0; display: grid; justify-items: center; gap: 2px; }
.closet img { width: 100%; max-width: 110px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.closet figure:hover img { transform: translateY(-6px) rotate(-3deg); }
.closet figcaption { font: 800 12px/1 var(--text); color: var(--ink-soft); }

/* 18:00 home */
.check { width: 100%; border: 0; text-align: left; background: #FBF7F3; }
.check .box { width: 22px; height: 22px; flex: none; border-radius: 8px; box-shadow: inset 0 0 0 2px #CFC3BA; display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.check .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1), opacity .2s; }
.check[aria-pressed="true"] .box { background: var(--sage); box-shadow: none; }
.check[aria-pressed="true"] .box svg { opacity: 1; transform: none; }
.check[aria-pressed="true"] .t { text-decoration: line-through; color: var(--ink-soft); }
.check .by { font: 800 11px/1 var(--text); color: var(--ink-soft); }
.av { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 800 12px/1 var(--text); color: #fff; background: var(--c); }

/* 21:00 visit */
.phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px; background: #2E2838; box-shadow: 0 40px 60px -40px rgba(58, 48, 70, .8); }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; padding: 54px 18px 18px; background: linear-gradient(170deg, #3C3A6E 0%, #6F5A8E 55%, #C98E95 100%); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: min-content; gap: 16px 14px; align-content: start; }
.screen .clock { position: absolute; top: 16px; left: 0; right: 0; text-align: center; color: #fff; font: 700 14px/1 var(--text); font-variant-numeric: tabular-nums; }
.app { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .22); }
.widget { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; border-radius: 22px; background: linear-gradient(180deg, #2C2D57, #4A3F72); position: relative; overflow: hidden; color: #fff; }
.widget img { position: absolute; left: 50%; top: -2px; width: 70%; transform: translateX(-50%); }
.widget .lbl { position: absolute; left: 10px; right: 8px; bottom: 8px; z-index: 1; }
.widget b { display: block; font: 800 11px/1.2 var(--text); }
.widget .lbl span { display: block; font: 700 10px/1.2 var(--text); opacity: .75; }
.widget .pillow { position: absolute; left: 50%; bottom: 40px; width: 58%; height: 13%; transform: translateX(-50%); border-radius: 50%; background: #F6B3C0; }
.dock { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 26px; background: rgba(255, 255, 255, .18); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.points { display: grid; gap: 12px; }
.points div { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }
.points b { color: var(--ink); }
.points i { font-style: normal; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); transform: translateY(1px); }

/* app screenshots: candy-coloured phones on a wobbly blob, stickers around, mofu peeking */
.shot { --ph: #E38B6F; --bl: #FFE3D2; --tilt: -4deg; position: relative; margin: 0; justify-self: center; width: min(280px, 70vw); display: grid; justify-items: center; padding: 18px 0 8px; }
.shot::before { content: ""; position: absolute; z-index: 0; left: -22%; right: -22%; top: 6%; bottom: 2%; background: radial-gradient(circle, rgba(255, 255, 255, .6) 3px, transparent 3.6px) 0 0 / 24px 24px, var(--bl); border-radius: 58% 42% 55% 45% / 46% 52% 48% 54%; animation: blob 14s ease-in-out infinite; }
@keyframes blob { 0%, 100% { border-radius: 58% 42% 55% 45% / 46% 52% 48% 54%; transform: rotate(0); } 33% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; transform: rotate(5deg); } 66% { border-radius: 52% 48% 62% 38% / 42% 60% 40% 58%; transform: rotate(-4deg); } }
.ph { position: relative; z-index: 2; width: 100%; padding: 9px; border-radius: 46px; background: var(--ph); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .12), 0 0 0 5px #fff, 0 34px 50px -30px rgba(58, 48, 70, .55); transform: rotate(var(--tilt)); animation: floaty 6.5s ease-in-out infinite; animation-delay: var(--fd, 0s); cursor: pointer; transition: box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.ph::before { content: ""; position: absolute; left: -9px; top: 22%; width: 5px; height: 38px; border-radius: 3px; background: var(--ph); filter: brightness(.85); box-shadow: 0 52px 0 var(--ph); }
.ph img { display: block; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 37px; background: #fff; }
.ph.boing { animation: boing .55s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes floaty { 0%, 100% { transform: rotate(var(--tilt)) translateY(0); } 50% { transform: rotate(calc(var(--tilt) * .55)) translateY(-10px); } }
@keyframes boing { 0% { transform: rotate(var(--tilt)) scale(1); } 30% { transform: rotate(var(--tilt)) scale(.95, 1.04); } 60% { transform: rotate(var(--tilt)) scale(1.035, .98); } 100% { transform: rotate(var(--tilt)) scale(1); } }
@media (hover: hover) { .ph:hover { animation-play-state: paused; } }
.stk { --k: 1.15; position: absolute; z-index: 3; width: calc(var(--s, 64px) * var(--k)); left: var(--x); top: var(--y); margin: calc(var(--s, 64px) * var(--k) / -2) 0 0 calc(var(--s, 64px) * var(--k) / -2); transform: translateY(calc(var(--p, 0) * var(--d, 1) * -70px)) rotate(var(--r, 0deg)); pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stk.back { z-index: 1; }
.stk svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 6px rgba(58, 48, 70, .22)); animation: stkbob 4.6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.stk.pop svg { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes stkbob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(6deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-10deg); } 100% { transform: scale(1); } }
.peek { position: absolute; z-index: 4; width: var(--s, 120px); left: var(--x); top: var(--y); transform: rotate(var(--r, 0deg)); pointer-events: none; filter: drop-shadow(0 8px 8px rgba(58, 48, 70, .25)); }
.peek.back { z-index: 1; animation: peekab 7s ease-in-out infinite; }
@keyframes peekab { 0%, 20%, 100% { translate: 0 0; } 45%, 80% { translate: var(--px, 34px) 0; } }
.heartfx { position: absolute; z-index: 6; width: 28px; pointer-events: none; animation: hfx 1.1s ease-out forwards; }
@keyframes hfx { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--hx), -130px) scale(1.15) rotate(var(--hr)); } }
.shot figcaption { position: relative; z-index: 4; margin-top: 20px; font: 800 13.5px/1.25 var(--text); color: var(--ink); text-align: center; background: #fff; padding: 8px 13px; border-radius: 14px; transform: rotate(calc(var(--tilt) * -.5)); box-shadow: 0 8px 16px -10px rgba(58, 48, 70, .5); }
.shots3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding-top: 18px; }
.shots3 .shot { width: min(232px, 100%); }
@media (prefers-reduced-motion: reduce) { .shot::before, .ph, .stk svg, .peek.back { animation: none !important; } }
@media (max-width: 820px) { .ch { overflow-x: clip; } .shot { width: min(250px, 66vw); } .stk { --k: .8; } .shots3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 60vw; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 40px 30px 30px; margin: -10px -16px 0 -30px; scrollbar-width: none; } .shots3 .shot { scroll-snap-align: center; width: 100%; } }

/* 23:00 night */
.ch.dark { color: #fff; padding-top: 200px; }
.ch.dark .chtext p { color: #DCD3EE; }
.ch.dark .chtext p b { color: #fff; }
.ch.dark .time { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.nightgrid { display: grid; gap: 12px; }
.ncard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ncard svg { width: 30px; height: 30px; }
.ncard b { display: block; font: 600 19px/1.2 var(--display); color: #fff; }
.ncard span { display: block; margin-top: 4px; font: 700 15px/1.45 var(--text); color: #DCD3EE; }
.sleeper { position: relative; width: 190px; }
.sleeper img { width: 100%; display: block; }
.end { position: relative; z-index: 2; text-align: center; padding-block: 40px 40px; display: grid; justify-items: center; gap: 14px; background: #24234A; color: #fff; }
.end h2 { font-size: clamp(34px, 5vw, 56px); }
.end p { color: #DCD3EE; }
.mail { display: inline-flex; align-items: center; gap: 8px; font: 800 16px/1 var(--text); color: #fff; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 14px; user-select: all; }
.foot { background: #24234A; }
footer { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px 36px; color: #B9AFCF; font: 700 13px/1.6 var(--text); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: #B9AFCF; }

/* phones */
@media (max-width: 820px) {
  .intro p { font-size: 17px; }
  .stage { height: clamp(360px, 54vh, 460px); }
  .ch { padding-block: 64px; }
  .ch.dark { padding-top: 160px; }
  .chgrid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-left: 30px; }
  .dayhead .inner { position: relative; z-index: 2; grid-template-columns: minmax(0, 1fr); }
  .desk { height: 420px; }
  .closet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .games { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .game { padding: 14px; }
  .carestage .cat { width: 180px; }
}

/* chapter colours and phone looks (kept out of the markup for the CSP) */
.ch.c1 { --a:#FDF0E3;--b:#FCEBDD; }
.ch.c2 { --a:#FCEBDD;--b:#F4EFF8; }
.ch.c3 { --a:#F4EFF8;--b:#EEF4F3; }
.ch.c4 { --a:#EEF4F3;--b:#F2F6EC; }
.ch.c5 { --a:#F2F6EC;--b:#FBF3E2; }
.ch.c6 { --a:#FBF3E2;--b:#FBE6DC; }
.ch.c7 { --a:#FBE6DC;--b:#F1D3D0; }
.ch.c8 { --a:#F1D3D0;--b:#D9BCD2; }
.ch.c9 { --a:#D9BCD2;--b:#24234A;background:linear-gradient(#D9BCD2 0, #3A3466 200px, #24234A 100%); }
.shot[data-deco="01-insel"] { --ph:#E38B6F;--bl:#FFCDB2;--tilt:-4deg;--fd:0s; }
.shot[data-deco="02-streicheln"] { --ph:#F09AB0;--bl:#F9C2D2;--tilt:3.5deg;--fd:-1.5s; }
.shot[data-deco="09-buero"] { --ph:#7FB06A;--bl:#C9E4B6;--tilt:-3deg;--fd:-3s; }
.shot[data-deco="03-freigabe"] { --ph:#9C8BD6;--bl:#D6C9F7;--tilt:4deg;--fd:-.8s; }
.shot[data-deco="06-spielen"] { --ph:#F2B94E;--bl:#FFE08A;--tilt:-3.5deg;--fd:-2.2s; }
.shot[data-deco="07-aussehen"] { --ph:#6FA8DC;--bl:#C2DCF4;--tilt:-5deg;--fd:0s; }
.shot[data-deco="04-laden"] { --ph:#E38B6F;--bl:#FFCDB2;--tilt:2deg;--fd:-2s; }
.shot[data-deco="08-haeuschen"] { --ph:#7FB06A;--bl:#C9E4B6;--tilt:5deg;--fd:-4s; }
.shot[data-deco="05-homescreen"] { --ph:#7C78B8;--bl:#CFC6F0;--tilt:-3deg;--fd:-1.2s; }
