
/* SpaceDrop home page.
   Page colours are Tines's, measured from its CSS; the window inside is the
   real Mac app in its light appearance (colours from its asset catalog, sizes
   from the window in points × 0.75, the scale the board is drawn at). */

:root {
  --paper: #FCF9F5;
  --purple: #714BD0;
  --purple-deep: #542F9C;
  --pink: #D965E4;

  /* the app */
  --board: #F0F1F3;
  --glass: #E9EAEC;
  --line: rgba(0, 0, 0, 0.08);
  --text: #1C1C1E;
  --muted: #8E8E93;
  --card: #FBFBFB;
  --room-frame: #E4E5E9;
  --room-surface: #FBFBFB;
  --maya: var(--maya);   /* Maya, who shares the space: her pointer, finger, comments, drafts */

  --system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* No bounce past the top or bottom, and so no pull-to-reload: pulling down at
   the top dragged the page, menu and all, under Safari's reload spinner. */
html { background: var(--paper); overscroll-behavior: none; }
/* Smooth scrolling (smooth-scroll.js, Lenis): the page is moved by script, so the browser mustn't ease it again. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--system);
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: center; padding: 8px 16px 0;
  pointer-events: none;
}
/* The top bar, after butter.video's (read from its page, 20 Nov 2026): not one pill but two blocks that float
   apart, each a rounded rectangle (16 px corners): the name and the pages on the left, the button on the right.
   Butter's are solid light grey on its light page; ours are the page's dark glass, with no edge. Over a
   light part of the page (main.js adds .light) the blocks turn white glass with dark words. */
.nav {
  pointer-events: none; display: flex; justify-content: space-between; align-items: stretch; gap: 12px;
  width: 100%; max-width: 1200px; height: 60px;
}
.nav-left, .nav-right { pointer-events: auto; position: relative; display: flex; align-items: center; border-radius: 16px; }
/* the blocks' glass; the left block's is its own layer (::before), so it can pull in to the logo (nav.js) */
.nav-right, .nav-left::before {
  background: rgba(22, 20, 27, 0.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color 0.3s ease;
}
.nav-left::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; right: 0; z-index: -1; border-radius: inherit; transition: right 0.5s cubic-bezier(0.2, 0.715, 0.205, 0.99), background-color 0.3s ease; }
.nav-left { padding: 0 12px 0 20px; isolation: isolate; }
.nav-right { padding: 8px; }
.nav .links { transition: opacity 0.5s cubic-bezier(0.2, 0.715, 0.205, 0.99); }
/* Butter's two dots at the block's end: folded, they slide in beside the logo, so it shows there is more; the
   pointer over the block (or a tap on the dots, nav.js) opens it */
.nav-more { display: grid; place-content: center; gap: 4px; width: 24px; height: 32px; margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform 0.5s cubic-bezier(0.2, 0.715, 0.205, 0.99); }
.nav-more i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #FFFFFF; transition: background-color 0.3s ease; }
.nav.light .nav-more i { background: #222326; }
/* folded (nav.js): the logo and the dots; the pointer over it, or the dots tapped, opens it again */
.nav.compact .nav-left:not(:hover):not(.open)::before { right: var(--fold, 0px); }
.nav.compact .nav-left:not(:hover):not(.open) .links { opacity: 0; pointer-events: none; }
.nav.compact .nav-left:not(:hover):not(.open) .nav-more { transform: translateX(calc(-1 * var(--fold, 0px))); }
.brand {
  display: flex; align-items: center; gap: 9px; margin-right: 28px;
  color: #FFFFFF; font-size: 17px; font-weight: 400; letter-spacing: -0.015em; white-space: nowrap;
}
.brand img { width: 28px; height: 28px; }
.nav .links { display: flex; gap: 2px; }
.nav .links a { padding: 9px 12px; border-radius: 9px; font-size: 15px; font-weight: 400; color: #FFFFFF; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.nav .links a:hover { background: rgba(255, 255, 255, 0.08); color: #F6F2FF; }
.nav .button.small { background: var(--purple); }
.nav .links .short { display: none; }
.nav.light .nav-left::before, .nav.light .nav-right { background: rgba(255, 255, 255, 0.6); }
.nav.light .brand { color: #222326; }
.nav.light .links a { color: rgba(31, 32, 37, 0.6); }
.nav.light .links a:hover { background: rgba(31, 32, 37, 0.06); color: #222326; }
/* Scrolling down, the whole bar slides up out of sight; scrolling up brings it back. */
.nav { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease; }
.nav .brand, .nav .links a { transition: color 0.3s ease, background-color 0.15s ease; }
.nav.away { transform: translateY(calc(-100% - 24px)); opacity: 0; pointer-events: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 49px; padding: 0 26px; border-radius: 999px;
  background: var(--purple-deep); color: var(--paper);
  font-family: var(--system); font-size: 16px; font-weight: 600;
  transition: background-color 0.15s ease;
}
/* The same height as the filled button, its border inside it. */
.button.outline {
  padding: 0 24px; background: transparent; color: var(--purple);
  border: 2px solid var(--purple);
}
.button.small { height: 40px; padding: 0 20px; font-size: 14px; }
/* Download for macOS, after aave.com's Download on iOS: 48 tall, 24 at the sides, 17 px
   medium words, the Apple logo (16 × 20) 8 px before them; pressed, it gives 1%. */
.button.mac { height: 48px; padding: 0 24px; gap: 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; transition: background-color 0.15s ease, transform 0.15s ease; }
.button.mac .apple { flex: none; width: 16px; height: 20px; }
.button.mac:active { transform: scale(0.99); }
/* Under the pointer the filled button lightens a step, and the outlined one fills faintly. */
.button:hover { background: var(--purple); }
.nav .button.small:hover { background: color-mix(in srgb, var(--purple) 84%, #FFFFFF); }
.button.outline:hover { background: rgba(113, 75, 208, 0.14); }
/* The waitlist box (waitlist.js), in the hero and the close: in the top bar's look (its dark glass, 16 px corners,
   its purple button with 10 px corners, no outline), the button inside it; after joining, a thank-you and Share. */
.wl-box { width: min(420px, calc(100vw - 40px)); margin: 0 auto; }
.wl { position: relative; text-align: left; }
.wl[hidden], .wl-done[hidden] { display: none; }
.wl input[type="email"] {
  width: 100%; height: 60px; padding: 0 172px 0 20px; border-radius: 16px;
  border: 0; background: rgba(22, 20, 27, 0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #FFFFFF; font: 400 16px/1 var(--system); letter-spacing: -0.01em; outline: none; -webkit-appearance: none; appearance: none;
  transition: background-color 0.15s ease;
}
.wl input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.wl input[type="email"]:focus { background: rgba(34, 31, 41, 0.85); }   /* focus shows as a lighter glass, not an outline */
.wl-go, .wl-share {
  height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--purple); color: #FFFFFF;
  font: 600 15px/1 var(--system); cursor: pointer; transition: background-color 0.15s ease, transform 0.15s ease;
}
.wl-go { position: absolute; top: 8px; right: 8px; }
.wl-go:hover, .wl-share:hover { background: color-mix(in srgb, var(--purple) 84%, #FFFFFF); }
.wl-go:active, .wl-share:active { transform: scale(0.98); }
.wl-go:disabled { opacity: 0.6; cursor: default; }
.wl-label, .wl-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }
.wl-note { min-height: 18px; margin: 8px 0 0; text-align: center; font: 400 13px/18px var(--system); color: #A79FBF; }
.wl-note:empty { min-height: 0; margin: 0; }
.wl-note.alert { color: #FF8F8F; }
.wl-done { text-align: center; }
.wl-done p { margin: 0; font: 400 17px/1.4 var(--system); color: #F4F0FF; text-wrap: balance; }
.wl-share { margin-top: 14px; }

/* The nav's Download is always there, as bevel.health's is. */
#headerDownload { height: 44px; padding: 0 18px; border-radius: 10px; white-space: nowrap; }   /* Butter's button: a rounded rectangle, not a pill */

/* ---------- The scroll stage ---------- */
/* The hero is one screen, and the page goes straight on to the typing (saves.css).
   (It was two on computers, held for a screen while the table arrived over it;
   the table is parked while the page is rebuilt.) */
.run { position: relative; height: 100vh; height: 100svh; }

.stage { position: absolute; left: 0; right: 0; top: 0; height: 290vh; pointer-events: none; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* Bottom right, where the corner stays clear once the board is up: a see-through
   disc, an arrow, and a ring that fills clockwise as the board's part goes by.
   It comes in with the header's Download, once the board has risen. */
.skip {
  position: absolute; right: 24px; bottom: 24px; z-index: 5;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(113, 75, 208, 0.14); color: var(--purple);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s, background-color 0.15s ease;
}
.skip.shown { opacity: 1; visibility: visible; }
.skip:hover { background: rgba(113, 75, 208, 0.22); }
.board-dark .skip { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.board-dark .skip:hover { background: rgba(255, 255, 255, 0.28); }
.skip svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.skip .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.skip .ring circle { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.skip .arrow { width: 22px; height: 22px; }
/* On a phone, a size smaller and nearer the corner, under the story's bar */
@media (max-width: 759px) { .skip { right: 16px; bottom: 16px; width: 46px; height: 46px; } .skip .arrow { width: 20px; height: 20px; } }
.scene {
  position: absolute; left: 50%; top: 50%;
  width: 1440px; height: 900px;
  transform-origin: 0 0;
}
.scene > * { position: absolute; }
.after { height: 40vh; }

/* ---------- Scroll, under the hero ----------
   The word in the lede's grey, and under it a faint line that a four-pointed star falls down,
   white with a soft violet glow and a fading tail, gathering speed and settling as a page
   glides; the line fades at both ends, so the star comes out of nothing and goes into
   nothing, rests a moment, then falls again. It fades and sinks over the first
   quarter of a screen of scrolling (--cue, main.js). */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 5; translate: -50% 0;
  padding: 8px 14px 0; border: 0; background: none; cursor: pointer;
  font: 500 13px/1 var(--system); letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.6);
  -webkit-tap-highlight-color: transparent;
}
.scroll-cue .cue-in { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: var(--cue, 1); transform: translateY(calc((1 - var(--cue, 1)) * 14px)); }
.scroll-cue .cue-word { transition: color 0.2s ease; }
.scroll-cue:hover .cue-word, .scroll-cue:focus-visible .cue-word { color: #FFFFFF; }
.scroll-cue .cue-fall {
  position: relative; width: 32px; height: 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 62%, transparent);
}
.scroll-cue .cue-fall::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: rgba(255, 255, 255, 0.16); }
/* the star and its tail ride together; the glow is on both */
.scroll-cue .cue-fall i {
  position: absolute; left: 50%; top: 0; width: 12px; height: 40px; margin-left: -6px;
  filter: drop-shadow(0 0 3px rgba(190, 160, 255, 0.95)) drop-shadow(0 0 9px rgba(140, 73, 255, 0.7));
  animation: cue-fall 2.6s linear infinite;
}
.scroll-cue .cue-fall i::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 6px; width: 2px; border-radius: 1px; background: linear-gradient(to bottom, rgba(244, 236, 255, 0), rgba(244, 236, 255, 0.9)); }
.scroll-cue .cue-fall svg { position: absolute; left: 0; bottom: 0; width: 12px; height: 12px; fill: #FFFFFF; }
@keyframes cue-fall {
  0% { transform: translateY(-34px); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.4, 1); }
  58% { opacity: 1; }
  76%, 100% { transform: translateY(30px); opacity: 0; }
}
.scroll-cue.gone { visibility: hidden; }
@media (max-width: 759px) { .scroll-cue { bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 12px; } .scroll-cue .cue-fall { height: 64px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .cue-fall i { animation: none; transform: translateY(8px); } }

/* ---------- Hero words ---------- */
.hero { left: 0; right: 0; top: 169px; z-index: 4; text-align: center; will-change: transform, opacity; pointer-events: none; }
/* Only the words and the buttons take the pointer, so the cards beside them can be picked up. */
.hero h1, .hero .actions > * { pointer-events: auto; }
.hero.gone * { pointer-events: none !important; }
/* The orbit round the words (after anubi.io's): cards placed by main.js in the
   scene's own units, under the words, over the board. */
.orbit { left: 0; top: 0; z-index: 3; pointer-events: none; will-change: opacity; }
.orbit.top { z-index: 8; }
.orbit .card { position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: auto; cursor: grab; }
/* Each card has two sides: the picture, and on its back a light note, as the app's notes
   look, with the handle of whose video it is. A click or a tap turns it over. */
/* (not the board cards' grey behind it, which shows at its corners and as it turns) */
.orbit .card { perspective: 700px; background: none; }
.orbit .card .orbit-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.75s cubic-bezier(0.05, 0.7, 0.1, 1); }
.orbit .card.flipped .orbit-flip { transform: rotateY(180deg); }
.orbit .card .orbit-pic, .orbit .card .orbit-note {
  position: absolute; inset: 0; overflow: hidden; border-radius: 11px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 18px 30px -12px rgba(0, 0, 0, 0.45);
}
.orbit .card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.orbit .card .orbit-note {
  transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; padding: 0 0.8em;
  background: #FFFFFF; color: #1D1D1F; font-family: var(--system); font-size: calc(var(--cw, 120px) * 0.085);
}
.orbit .card .orbit-note::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.orbit .card .orbit-note .orbit-who { line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; text-align: center; }
@media (prefers-reduced-motion: reduce) { .orbit .card .orbit-flip { transition: none; } }
/* The phone's front layer sits in the words, under the buttons. */
.orbit.front { position: absolute; z-index: 1; }
.hero .actions { position: relative; z-index: 2; }
/* On a phone the shadow deepens toward the front, as anubi.io's */
.scene.phone .orbit .card .orbit-pic, .scene.phone .orbit .card .orbit-note { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 calc(24px * var(--d, 0)) calc(38px * var(--d, 0)) -12px rgba(0, 0, 0, calc(0.5 * var(--d, 0))); }
/* The tagline can be selected and copied, unlike the rest of the scene. */
.scene .hero h1, .scene .hero .lede { user-select: text; -webkit-user-select: text; }
.hero .lede { pointer-events: auto; }
h1 {
  position: relative; display: inline-block; vertical-align: top;
  font-family: "Gentium Plus", Georgia, serif; font-weight: 400;
  font-size: 60px; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--purple);
}
h1 .y { letter-spacing: -0.1em; }
/* "space" in the painting's handwriting, in pink. Caveat runs small next to
   the serif, so it is set larger to carry the same weight. */
h1 .space {
  display: inline-block; margin-left: 0.02em;
  font-family: "Caveat", "Bradley Hand", cursive; font-weight: 500; font-size: 80px; line-height: 0.8; letter-spacing: 0;
  color: var(--pink);
}
/* The hero's words, from his Figma (10 Nov): Poppins at 48, tight, white. */
.hero h1 { font-family: "Poppins", system-ui, sans-serif; font-size: 48px; line-height: 0.974; letter-spacing: -0.03em; }
/* The rectangle in the first line: a picture and a pointer, as if just dropped in.
   Sized in ems from the Figma (60.9 × 40.2 at 48 px, 10.9 corners), 13 px after "Your"
   and 11 px before "internet,". Until it arrives it takes no room (.wait). */
/* The squircle between "Your" and "internet" (main.js, slotIn): a superellipse (media/hero/squircle.svg, n = 5,
   close to an app icon's continuous corners), as tall as the slot was, square, his gif inside. */
/* Bigger than the line's letters (his ask): 1.1em square, standing 0.131em out above and below its place in the
   line, so the lines stay where they were. */
.hero .slot { display: inline-block; position: relative; vertical-align: top; width: 1.1em; height: 0.838em; margin: 0.083em 0.2em 0 0.22em; }
.hero .slot .slot-face { position: absolute; left: 50%; width: 1.1em; margin-left: -0.55em; top: -0.131em; bottom: -0.131em; background: var(--slot); will-change: transform, opacity;   /* its own size, centred in the gap: it grows evenly, never stretched by the gap opening */
  -webkit-mask: url("media/hero/squircle.svg") center / 100% 100% no-repeat; mask: url("media/hero/squircle.svg") center / 100% 100% no-repeat; }
.hero .slot .slot-gif { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: url(#slotDuo); }   /* his gif (a cat scrolling its phone), cropped to the cat: media/hero/slot-cat.webp; in purple duotone (index.html, #slotDuo) */
/* under the pointer (main.js, slotHover): his second gif, a cat in a wizard's hat typing, in the same duotone */
.hero .slot .slot-hover { opacity: 0; }
.hero .slot.hovering .slot-hover { opacity: 1; }
.hero .slot { transform-style: preserve-3d; will-change: transform; }
.hero .slot.wait { width: 0; margin-left: 0.13em; margin-right: 0.13em; }
.hero .slot.wait .slot-face { opacity: 0; }
/* The two lines he approved on 11 Nov 2026: what it is, under the headline, and
   what it costs and runs on, under the buttons. */
.hero .lede { position: relative; z-index: 2; margin: 18px 0 0; font-family: var(--system); font-size: 19px; line-height: 1.4; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.74); }
.actions { margin-top: 26px; display: flex; gap: 8px; justify-content: center; align-items: center; }

/* ---------- The SpaceDrop app: a Mac window, or an iPhone ---------- */
.scene { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.scene img { -webkit-user-drag: none; }
.win { left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.screen { position: absolute; overflow: hidden; background: var(--board); }
.win.mac .screen {
  inset: 0; border-radius: 12px;
  box-shadow:
    0 40px 100px rgba(84, 47, 156, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.10);
}
.win.iphone {
  border-radius: 52px; background: #1B1B1D;
  box-shadow: inset 0 0 0 1.5px #3A3A3C, 0 40px 90px rgba(84, 47, 156, 0.18), 0 6px 16px rgba(0, 0, 0, 0.18);
}
.win.iphone .screen { inset: 9px; border-radius: 43px; }
/* The pointer, as the app sets it: an arrow on empty board, the pointing
   hand over anything on it, a closed hand while carrying, a crosshair with a
   tool picked. */
.board { position: absolute; inset: 0; overflow: hidden; cursor: default; touch-action: pan-x pan-y; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
body.carrying, body.carrying * { cursor: grabbing !important; }

/* Every rule for the app's bars lives under .chrome, so a name or a button
   here never styles something on the board by accident. */
.chrome { position: absolute; inset: 0; pointer-events: none; display: none; transition: opacity 0.2s ease; }
.win.mac .chrome.mac, .win.iphone .chrome.iphone { display: block; }
.chrome > * { position: absolute; transition: opacity 0.2s ease; }
.chrome .glass {
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.chrome .hidden { display: none !important; }
.chrome .off { opacity: 0.35; }
/* While searching, the tabs and the top-right bar step aside; while something
   is open full screen, everything but the window's lights does. */
.screen.searching .chrome .strip, .screen.searching .chrome .bar,
.screen.searching .chrome .back, .screen.searching .chrome .name, .screen.searching .chrome .pair { opacity: 0; pointer-events: none; }
.screen.focused .chrome > :not(.lights):not(.status):not(.island):not(.homebar) { opacity: 0; pointer-events: none; }
.screen.focused .chrome > * * { pointer-events: none !important; }

.chrome .lights { left: 14px; top: 14px; display: flex; gap: 6.6px; }
.chrome .lights i { width: 10.5px; height: 10.5px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.chrome .lights i:nth-child(1) { background: #FF5F57; }
.chrome .lights i:nth-child(2) { background: #FEBC2E; }
.chrome .lights i:nth-child(3) { background: #28C840; }
/* Home and the open spaces as tabs (CanvasTitleStrip): 34-point glass
   capsules; the one you're in is tinted with its space's colour; a tab's
   close button shows under the pointer. */
.chrome .strip { left: 69.5px; top: 6.4px; display: flex; gap: 6px; }
.chrome .home { width: 26px; height: 26px; flex: none; }
.chrome .home img { width: 19.5px; }
.chrome .tabs { display: flex; gap: 6px; }
.chrome .tab {
  height: 26px; min-width: 69px; max-width: 142.5px; padding: 0 6px 0 9px; gap: 4.5px;
  pointer-events: auto; cursor: pointer; transition: background-color 0.2s ease;
}
.chrome .tab span { flex: 1; font-size: 9.75px; font-weight: 500; color: rgba(28, 28, 30, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome .tab.current { background: color-mix(in srgb, var(--glass) 72%, var(--tint)); }
.chrome .tab.current span { font-weight: 600; color: var(--text); }
.chrome .tab i { width: 12px; height: 12px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.12s ease-out; }
.chrome .tab i img { width: 12px; }
.chrome .tab:hover i { opacity: 1; }
.chrome .tab i:hover { background: rgba(0, 0, 0, 0.08); }

/* Undo, search and share: in the tabs' row, at the tabs' height. */
.chrome.mac .bar { right: 15.4px; top: 6.4px; height: 26px; padding: 0 7.5px; gap: 3px; }
.chrome.mac .bar img { width: 17px; }
.chrome .share { display: flex; align-items: center; }
.chrome .faces { display: flex; }
.chrome .faces i {
  width: 19.5px; height: 19.5px; border-radius: 50%; margin-left: 3px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 9px; font-weight: 600; color: #fff;
  box-shadow: 0 0 0 1.5px var(--glass);
}
.chrome.mac .faces i { width: 15px; height: 15px; margin-left: 2px; font-size: 7.5px; }
.chrome .limbo { left: 9.4px; top: calc(51.7% - 27.5px); width: 40px; height: 55px; flex-direction: column; gap: 1px; }
.chrome .limbo img { width: 21px; }
.chrome .limbo b { font-size: 11.25px; font-weight: 600; }
/* The dock: the tools, or — with one photo, video or note chosen — that
   thing's own bar (ImageControlBar, NoteControlBar). */
.chrome .dock { left: 50%; bottom: 15.75px; height: 40px; padding: 0 7.5px; transform: translateX(-50%); }
.chrome .dock .face { display: flex; align-items: center; gap: 3px; }
.chrome .dock .face.item { gap: 7.5px; display: none; }
.chrome .dock.item .face.tools { display: none; }
.chrome .dock.item .face.item { display: flex; animation: dockIn 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
@keyframes dockIn { from { opacity: 0; transform: scale(0.9); } }
.chrome .dock img { width: 24px; }
.chrome .dock .face.item img { width: 25.5px; }
.chrome .dock .sep { width: 1px; height: 16.5px; margin: 0 4px; background: rgba(0, 0, 0, 0.12); }
.chrome .dock .swatch { display: block; width: 13.5px; height: 13.5px; border-radius: 50%; background: var(--paper-colour, #fff); box-shadow: inset 0 0 0 1px rgba(28, 28, 30, 0.25); }

/* The iPhone's canvas, from the app's canvas chrome (sizes in points × 0.763,
   the scale the 393-point screen is drawn at). */
.chrome .status { left: 0; right: 0; top: 0; height: 41px; padding: 0 22px 0 30px; display: flex; align-items: center; justify-content: space-between; }
.chrome .status b { font-size: 13px; font-weight: 600; }
.chrome .status span { display: flex; align-items: center; gap: 4px; }
.chrome .status span img { height: 13px; width: auto; }
.chrome .status span img:last-child { height: 16px; }
.chrome .island { left: 50%; top: 8px; width: 96px; height: 28px; border-radius: 14px; background: #000; transform: translateX(-50%); }
.chrome .back { left: 12px; top: 48px; width: 34px; height: 34px; }
.chrome .back img { width: 23px; }
.chrome .name { left: 52px; top: 48px; height: 34px; max-width: 150px; padding: 0 9px 0 4px; gap: 6px; }
.chrome .name .cover { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.chrome .name span { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome .name .down { width: 11px; flex: none; }
.chrome .pair { right: 12px; top: 48px; height: 34px; padding: 0 7px; gap: 6px; }
.chrome .pair img { width: 23px; }
.chrome .round { width: 43px; height: 43px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chrome .round img { width: 23px; }
.chrome .tray { left: 12px; bottom: 26px; }
.chrome .find { right: 63px; bottom: 26px; }
.chrome .add { right: 12px; bottom: 26px; background: var(--purple); }
.chrome .homebar { left: 50%; bottom: 7px; width: 102px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.3); transform: translateX(-50%); }

/* ---------- Things on the board, in world units. Each room carries its
   place as --x --y --w --h; --band, --border and --label turn sizes on
   screen into world units, so room labels keep their size as the app's do,
   and --px is one screen pixel. */
.room { position: absolute; left: 0; top: 0; }
.room-frame, .room-surface, .room-label, .card { position: absolute; }
.room-frame {
  left: calc(var(--x) - var(--border)); top: calc(var(--y) - var(--band));
  width: calc(var(--w) + 2 * var(--border)); height: calc(var(--h) + var(--band) + var(--border));
  border-radius: var(--band-corner) var(--band-corner) calc(var(--corner) + var(--border)) calc(var(--corner) + var(--border));
  background: var(--room-frame); cursor: pointer;
}
.room-surface {
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border-radius: var(--corner); background: var(--room-surface);
}
.room-label {
  left: calc(var(--x) - var(--border)); top: calc(var(--y) - var(--band));
  display: flex; align-items: center; transform-origin: 0 0; cursor: pointer;
}
.room-label .badge { flex: none; position: relative; }
.room-label .badge img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.room-label .name { font-weight: 600; color: var(--text); white-space: nowrap; }
/* Selected, or about to take a card in: outlined in the app colour, and lit
   as a drop target is. */
.room.selected .room-frame, .room.target .room-frame { box-shadow: 0 0 0 var(--sel) var(--purple); }
.room.target .room-surface { background: color-mix(in srgb, var(--room-surface) 90%, var(--purple)); }

/* Things on the board grow and fade through these numbers rather than
   through transform and opacity themselves: animating those hands a card to
   the graphics card as a picture, and its words go soft until it settles. */
@property --grow { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --fade { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --t { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --ai-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* A card's shadow is three layers: its lift, its selection ring, its edge. */
.card {
  --lift: 0 0 0 0 transparent; --ring: 0 0 0 0 transparent; --edge: 0 0 0 0 transparent;
  overflow: hidden; background: var(--card); cursor: pointer;
  box-shadow: var(--lift), var(--ring), var(--edge);
  transform: scale(var(--grow)); opacity: var(--fade);
  transition: --grow 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Under the pointer a card lifts a little (CardLift: 1.5%, a 10% shadow 32
   across and 12 down, in points). */
.card:hover { --grow: 1.015; --lift: 0 calc(9px * var(--px)) calc(24px * var(--px)) rgba(0, 0, 0, 0.10); }
.card.selected { --ring: 0 0 0 var(--sel) var(--purple); }
.card.carrying { --grow: 1.04; --lift: 0 calc(16px * var(--px)) calc(36px * var(--px)) rgba(0, 0, 0, 0.22); }
.card > img { width: 100%; height: 100%; object-fit: cover; }
.card.video .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(0, 0, 0, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.card.note, .card.link { background: var(--paper, #FFFFFF); --edge: 0 0 0 calc(1px * var(--px)) rgba(0, 0, 0, 0.04); }
.card .doc { outline: none; color: var(--text); cursor: inherit; }
.card.note .doc { padding: 32px 36px; }
.card.note .t { font-size: 46px; line-height: 1.15; font-weight: 600; margin-bottom: 10px; }
.card.note .b { font-size: 34px; line-height: 1.3; opacity: 0.75; white-space: pre-wrap; }
.card.note .b:empty { margin-top: -10px; }
.card.link img { width: 100%; object-fit: cover; }
.card.link .words { display: block; padding: 24px 30px 28px; }
.card.link b { display: block; font-size: 36px; line-height: 1.2; font-weight: 600; color: var(--text); }
.card.link span { display: block; font-size: 28px; margin-top: 6px; color: var(--muted); }
/* Words on the board: no card behind them, and they don't lift. */
.card.text { background: none; overflow: visible; }
.card.text:hover { transform: none; --lift: 0 0 0 0 transparent; }
.card.text .t { font-size: 64px; line-height: 1.15; font-weight: 600; white-space: pre; min-width: 1em; }
/* Writing in one: the words can be chosen again, and empty ones say what goes there. */
.card.editing { cursor: text; transform: none; --lift: 0 0 0 0 transparent; user-select: text; -webkit-user-select: text; }
.card.editing .doc { cursor: text; caret-color: var(--purple); }
.card .t:empty::before { content: "Untitled"; color: var(--muted); }
.card.text .t:empty::before { content: "Start writing"; }
/* The app's text options on words (main.js dressCard): a size and weight, its Serif, italic, a softer colour */
.card.text .t { font-size: var(--ts, 64px); font-weight: var(--tw, 600); }
.card.text.serif .t { font-family: Georgia, "Times New Roman", serif; line-height: 0.9; letter-spacing: -0.035em; }
.card.text.serif i { letter-spacing: -0.02em; }
.card.text.slant .t { font-style: italic; letter-spacing: 0.02em; }
.card.text.soft .t { font-weight: var(--tw, 400); opacity: 0.85; }
.card.text.dim .t { font-weight: var(--tw, 400); opacity: 0.6; }
/* A note on a paper colour shows that paper, light or dark, with dark words (the app's sticky notes); no edge round it */
.card.note.paper, .board-dark .card.note.paper { background: var(--paper); --edge: 0 0 0 0 transparent; }
.card.note.paper .doc { color: #1D1D1F; }
.card.note.paper .b { opacity: 0.7; }
/* A note written large (Heading), as the spaces in the story's rows have them */
.card.note.big .doc { padding: 60px 68px 68px; }
.card.note.big .t { font-size: 85px; line-height: 1.15; margin-bottom: 20px; }
.card.note.big .b { font-size: 60px; line-height: 1.3; }

/* A selection box: the app colour at 12%, a hairline round it. */
.marquee { position: absolute; background: rgba(113, 75, 208, 0.12); outline: 1px solid var(--purple); pointer-events: none; }
/* A room being drawn, lit as a room is when something is about to land in it. */
.room-draft { position: absolute; background: rgba(113, 75, 208, 0.10); box-shadow: inset 0 0 0 calc(1.5px * var(--px)) var(--purple); pointer-events: none; }
.board.armed, .board.armed .card, .board.armed .room-frame, .board.armed .room-label { cursor: crosshair; }
.room-draft.maya { background: color-mix(in srgb, var(--maya) 12%, transparent); box-shadow: inset 0 0 0 calc(1.5px * var(--px)) var(--maya); }
.card.maya-pick { --ring: 0 0 0 calc(2px * var(--px)) var(--maya); }

.chrome [data-act], .chrome [data-tool] { pointer-events: auto; cursor: pointer; }
.dock .tool { width: 25.5px; height: 25.5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dock .tool.armed { background: var(--purple); }
.dock .tool.armed img { filter: brightness(0) invert(1); }

/* ---------- Posts from other apps ---------- */
.post {
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(84, 47, 156, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
  transform-origin: 50% 50%;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y;
  will-change: transform;
}
.post.lifted { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24), 0 6px 14px rgba(0, 0, 0, 0.12); z-index: 5; }
.post img { pointer-events: none; -webkit-user-drag: none; }
/* Pinterest stays put; its pins are what you pick up. */
.post.pin { cursor: default; }
.pin .masonry img { pointer-events: auto; cursor: grab; }
.post .logo { flex: none; }

.pin { width: 228px; border-radius: 20px; padding: 10px; }
.pin-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pin-top .logo { width: 24px; height: 24px; }
.search { flex: 1; display: flex; align-items: center; gap: 6px; background: #EFEFEF; border-radius: 999px; padding: 7px 10px; font-size: 11.5px; color: #5F5F5F; }
.search img { width: 14px; }
.masonry { display: flex; gap: 7px; }
.masonry > div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.masonry img { width: 100%; border-radius: 14px; object-fit: cover; }
.masonry p { font-size: 10px; font-weight: 600; color: #111; }

.reddit { width: 244px; border-radius: 16px; padding: 12px; }
.rd-top { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #576F76; margin-bottom: 8px; }
.rd-top .logo { width: 22px; height: 22px; }
.rd-top b { color: #0F1A1C; font-weight: 600; }
.reddit h4 { font-size: 14.5px; line-height: 1.25; font-weight: 600; color: #0F1A1C; margin-bottom: 9px; }
.reddit .pic { width: 100%; height: 132px; object-fit: cover; border-radius: 12px; }
.acts { display: flex; gap: 6px; margin-top: 9px; }
.acts span { display: flex; align-items: center; gap: 4px; background: #E5EBEE; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 600; color: #0F1A1C; }
.acts img { width: 14px; }

.x { width: 254px; border-radius: 16px; padding: 13px; }
.x-top { display: flex; gap: 9px; align-items: flex-start; }
.av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #7A8B99; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.who { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: #0F1419; }
.who b { font-weight: 700; }
.who span { font-size: 12px; color: #536471; }
.x-top .logo { width: 15px; height: 15px; }
.x p { margin: 8px 0 10px; font-size: 13.5px; line-height: 1.38; color: #0F1419; }
.x-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #536471; }
.x-row span { display: flex; align-items: center; gap: 3px; }
.x-row img { width: 15px; }

.vid { width: 180px; height: 320px; border-radius: 20px; overflow: hidden; background: #000; color: #fff; }
.vid .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.30), transparent 22%, transparent 58%, rgba(0,0,0,0.58)); }
.tt-head { position: absolute; top: 13px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; font-size: 12px; font-weight: 600; }
.tt-head .dim { opacity: 0.65; }
.reels-head { position: absolute; top: 11px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; }
.reels-head img { width: 20px; }
.rail { position: absolute; right: 7px; bottom: 58px; display: flex; flex-direction: column; gap: 11px; align-items: center; font-size: 9.5px; font-weight: 600; }
.rail div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rail img { width: 22px; }
.cap { position: absolute; left: 11px; right: 44px; bottom: 12px; font-size: 10.5px; line-height: 1.35; }
.cap b { display: flex; align-items: center; gap: 5px; font-size: 11.5px; margin-bottom: 2px; }
.follow { border: 1px solid rgba(255,255,255,0.85); border-radius: 6px; padding: 0 6px; font-size: 9.5px; }
.snd { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 10px; opacity: 0.9; }
.snd img { width: 11px; }

/* A pin lifted out of Pinterest by Maya */
.carried {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 14px; overflow: hidden; z-index: 6; pointer-events: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24), 0 6px 14px rgba(0, 0, 0, 0.12);
}
.carried > img { width: 100%; height: 100%; object-fit: cover; }
/* A video's play button, as on its card: 30% of the card across. */
.carried .play { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; }
.carried .play img { width: 50%; }

/* Something flying into the board, drawn as the card it will become. It has
   no size until it is drawn, so it can never show at a picture's full size. */
.flyer { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; z-index: 6; pointer-events: none; background: #E9E9EC; }
.flyer > img { width: 100%; height: 100%; object-fit: cover; }
.flyer .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; }
.flyer.words { overflow: visible; background: none; transform-origin: 50% 50%; }
.flyer.words .card { left: 0; top: 0; transition: none; cursor: default; }
.elsewhere .flyer, .elsewhere .post.flying { visibility: hidden; }

/* ---------- Maya's pointer ---------- */
/* Her layer moves exactly as the app's window does (on a phone, straight
   from the scroll, as the iPhone), in the window's own units, so she stays
   on the board while it rises. */
.rides { left: 0; top: 0; z-index: 10; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.pointer { position: absolute; left: 0; top: 0; z-index: 10; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.pointer svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
.pointer span {
  position: absolute; left: 16px; top: 22px;
  background: var(--maya); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: 5px; white-space: nowrap;
}
/* On a phone Maya is a fingertip, drawn as the iPhone app draws another
   person's finger (FingerMark, LivePeople.swift): a 34-point disc of her
   colour at 28% with a 2-point rim and an 8-point white dot at its heart,
   her name off its lower right. --f is the disc in the iPhone's own units
   (her layer scales with it). It stays on screen all along, as her arrow
   does on a computer. */
.pointer .finger { display: none; }
.scene.phone .pointer svg { display: none; }
.scene.phone .pointer .finger {
  display: block; position: absolute; left: calc(2.5px - var(--f) / 2); top: calc(2.5px - var(--f) / 2);
  width: var(--f); height: var(--f); border-radius: 50%;
  background: color-mix(in srgb, var(--maya) 28%, transparent); box-shadow: inset 0 0 0 calc(var(--f) * 2 / 34) var(--maya);
}
.scene.phone .pointer .finger { transition: transform 0.12s ease; }
.scene.phone .pointer.down .finger { transform: scale(0.86); }
.scene.phone .pointer .finger::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--f) * 8 / 34); height: calc(var(--f) * 8 / 34);
  transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.92);
}
.scene.phone .pointer span {
  left: calc(2.5px + var(--f) * 0.3); top: calc(2.5px + var(--f) * 0.35);
  font-size: calc(var(--f) * 11 / 34); line-height: calc(var(--f) * 18 / 34); padding: 0 calc(var(--f) * 6 / 34); border-radius: calc(var(--f) * 5 / 34);
}

.post { left: 0; top: 0; }

/* ---------- Phones: the scene is 390 × 844 ---------- */
.scene.phone h1 { font-size: 30px; }
.scene.phone .actions { margin-top: 20px; }
.scene.phone .lede { margin-top: 12px; font-size: 15px; }
.scene.phone .button { height: 42px; padding: 0 20px; font-size: 15px; }
.scene.phone .button.outline { padding: 0 18px; }

@media (max-width: 759px) {
  .top { padding: 6px 12px 0; }
  .nav { height: 48px; gap: 8px; }
  .nav-left { padding: 0 8px 0 12px; border-radius: 14px; }
  .nav-more { margin-left: 2px; }
  .nav-right { padding: 6px; border-radius: 14px; }
  .brand { font-size: 15px; gap: 7px; margin-right: 8px; }
  .brand img { width: 24px; height: 24px; }
  .nav .links a { padding: 7px 9px; font-size: 13px; }
  .nav .links .long { display: none; }
  .nav .links .short { display: inline; }
  .button.small { height: 36px; font-size: 13px; }
  #headerDownload { height: 36px; padding: 0 14px; border-radius: 9px; }
  .button.small { height: 34px; padding: 0 14px; font-size: 13px; }
}

/* ---------- Posts: save.design's hover. The card tilts towards the pointer,
   grows 8%, rises, and a soft light follows the pointer across it. */
.post .glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 3;
  background: radial-gradient(ellipse 120% 80% at var(--lx, 50%) var(--ly, 0%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 80%);
  opacity: var(--lift, 0);
}
.post { transition: box-shadow 0.2s ease-out; }
.post.hovered { z-index: 4; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08); }

/* ---------- Panels over the app's screen. Sizes are the app's points × 0.75. */
.layer { position: absolute; inset: 0; z-index: 10; }
.glass-panel {
  background: rgba(250, 250, 251, 0.94);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07), 0 14px 40px rgba(0, 0, 0, 0.16);
}

/* Search (CanvasSearchOverlay): the board steps back, the field opens to the
   panel's width, and the panel falls out of it with what you're looking for. */
.search-layer .backdrop { position: absolute; inset: 0; background: rgba(240, 241, 243, 0.94); }
.search-field {
  position: absolute; top: 15px; left: 50%; height: 40.5px; padding: 0 12px; gap: 7.5px;
  display: flex; align-items: center; border-radius: 999px; transform: translateX(-50%);
}
.search-field img.glass-icon { width: 18px; }
.search-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  font: 10.5px var(--system); color: var(--text); caret-color: var(--purple);
}
.search-field input::placeholder { color: var(--muted); }
.search-field .clear { width: 13.5px; cursor: pointer; }
.search-field .clear[hidden] { display: none; }
.search-panel {
  position: absolute; left: 50%; top: 63px; transform: translateX(-50%);
  background: #FFFFFF; border-radius: 16.5px; overflow: hidden;
  box-shadow: inset 0 0 0 0.75px rgba(28, 28, 30, 0.07), 0 10.5px 30px rgba(0, 0, 0, 0.30);
  display: flex; flex-direction: column;
}
.search-panel .head { display: flex; align-items: center; gap: 6px; padding: 10.5px 12px 1.5px; }
.search-panel .head b { flex: 1; font-size: 9px; font-weight: 600; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 3.75px; height: 21px; padding: 0 8.25px;
  border-radius: 999px; background: rgba(28, 28, 30, 0.07);
  font-size: 9px; font-weight: 500; color: var(--text); cursor: pointer; white-space: nowrap;
}
.chip img { width: 9px; }
.search-panel .grid { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; display: flex; gap: 7.5px; align-items: flex-start; }
.search-panel .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7.5px; }
.tile { background: var(--board); border-radius: 7.5px; overflow: hidden; cursor: pointer; transition: transform 0.15s ease; }
.tile:hover { transform: scale(1.02); }
.tile .pic { position: relative; }
.tile .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile .pic .badge { position: absolute; left: 6px; bottom: 6px; width: 16.5px; height: 16.5px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; }
.tile .pic .badge img { width: 16.5px; height: auto; }
.tile p { margin: 0; padding: 6.75px; font-size: 9px; line-height: 1.25; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile p.dim { color: rgba(28, 28, 30, 0.5); }
.tile p mark { background: none; color: var(--text); font-weight: 600; }
.tile .kind { padding: 0 6.75px 6.75px; font-size: 7.5px; color: var(--muted); }
.search-panel .none { margin: auto; padding: 40px 0; text-align: center; color: var(--muted); font-size: 9.75px; }
.search-panel .none img { width: 22px; display: block; margin: 0 auto 6px; opacity: 0.8; }
/* On the phone it is a sheet, from the bottom, field and close at its top. */
.search-layer.sheet .backdrop { background: rgba(0, 0, 0, 0.18); }
.search-layer.sheet .search-sheet { position: absolute; left: 0; right: 0; top: 46px; bottom: 0; background: var(--board); border-radius: 18px 18px 0 0; display: flex; flex-direction: column; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12); }
.search-sheet .grabber { width: 28px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.18); margin: 6px auto 0; }
.search-sheet .row { display: flex; gap: 7.5px; padding: 8px 12px 0; align-items: center; }
.search-sheet .search-field { position: relative; left: auto; top: auto; transform: none; flex: 1; height: 34px; }
.circle-btn { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.circle-btn img { width: 24px; }
.search-sheet .head { display: flex; align-items: center; gap: 6px; padding: 10px 12px 2px; }
.search-sheet .head b { flex: 1; font-size: 9px; font-weight: 600; color: var(--muted); }
.search-sheet .grid { flex: 1; overflow-y: auto; padding: 10px 12px 30px; display: flex; gap: 7.5px; align-items: flex-start; }
.search-sheet .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7.5px; }
.search-sheet .tile { background: #FFFFFF; }

/* Share (SharePanel / InviteSheet). */
.share-panel { position: absolute; width: 270px; border-radius: 16.5px; padding: 12px; }
:is(.share-panel, .share-sheet) h3 { margin: 0 3px; font-size: 11.25px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.share-panel, .share-sheet) .send { display: flex; margin-top: 12px; }
:is(.share-panel, .share-sheet) .send > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4.5px; cursor: pointer; }
:is(.share-panel, .share-sheet) .send .ic { width: 37.5px; height: 37.5px; border-radius: 8.4px; background: rgba(28, 28, 30, 0.12); display: flex; align-items: center; justify-content: center; overflow: hidden; }
:is(.share-panel, .share-sheet) .send .ic img { width: 37.5px; }
:is(.share-panel, .share-sheet) .send .ic img.small { width: 21.75px; }
:is(.share-panel, .share-sheet) .send span { font-size: 8.25px; color: var(--muted); }
:is(.share-panel, .share-sheet) .group { margin-top: 12px; background: rgba(28, 28, 30, 0.06); border-radius: 9px; overflow: hidden; }
:is(.share-panel, .share-sheet) .row { display: flex; align-items: center; gap: 7.5px; min-height: 31.5px; padding: 0 9px 0 6px; font-size: 9.75px; color: var(--text); }
:is(.share-panel, .share-sheet) .row { position: relative; }
:is(.share-panel, .share-sheet) .row + .row::before { content: ""; position: absolute; left: 36px; right: 0; top: 0; height: 0.75px; background: rgba(28, 28, 30, 0.07); }
:is(.share-panel, .share-sheet) .row .sym { width: 22.5px; display: flex; justify-content: center; flex: none; }
:is(.share-panel, .share-sheet) .row .sym img { width: 22.5px; }
:is(.share-panel, .share-sheet) .row .who { flex: 1; min-width: 0; }
:is(.share-panel, .share-sheet) .row .who small { display: block; font-size: 8.25px; color: var(--muted); }
:is(.share-panel, .share-sheet) .row .val { display: flex; align-items: center; gap: 2.25px; font-size: 8.6px; color: var(--muted); cursor: pointer; white-space: nowrap; }
:is(.share-panel, .share-sheet) .row .val img { width: 9px; }
:is(.share-panel, .share-sheet) .row input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 9.75px var(--system); color: var(--text); }
:is(.share-panel, .share-sheet) .people-head { margin: 12px 3px 4.5px; font-size: 9px; font-weight: 600; color: var(--muted); }
:is(.share-panel, .share-sheet) .status { margin: 6px 3px 0; font-size: 8.6px; color: var(--muted); min-height: 0; }
:is(.share-panel, .share-sheet) .welcome { text-align: center; }
:is(.share-panel, .share-sheet) .welcome h2 { margin: 13px 0 0; font-size: 16.5px; font-weight: 700; color: var(--text); }
:is(.share-panel, .share-sheet) .welcome p { margin: 4.5px 9px 0; font-size: 9.75px; line-height: 1.3; color: var(--muted); }
:is(.share-panel, .share-sheet) .email { margin-top: 13px; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 4.5px 0 9px; border-radius: 999px; background: rgba(28, 28, 30, 0.07); }
:is(.share-panel, .share-sheet) .email img { width: 16.5px; }
:is(.share-panel, .share-sheet) .email input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 9.75px var(--system); color: var(--text); }
.brand-btn { height: 19.5px; padding: 0 9px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 9px; font-weight: 600; display: inline-flex; align-items: center; cursor: pointer; flex: none; border: 0; }
.face-dot { width: 22.5px; height: 22.5px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9.75px; font-weight: 600; position: relative; }
.face-dot.here::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 7px; height: 7px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 1.5px #F4F4F5; }
.prints { position: relative; height: 82px; margin-top: 4px; }
.prints img { position: absolute; top: 6px; left: 50%; width: 58px; height: 74px; object-fit: cover; border-radius: 6px; border: 2.5px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
.share-sheet { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; padding: 8px 12px 26px; }
.share-sheet .grabber { width: 28px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.18); margin: 0 auto 8px; }

/* A small menu, as the app's menus are. */
.menu { position: absolute; z-index: 30; min-width: 120px; padding: 4px; border-radius: 9px; }
.menu div { display: flex; align-items: center; gap: 6px; height: 21px; padding: 0 9px 0 6px; border-radius: 5px; font-size: 9.75px; color: var(--text); cursor: pointer; white-space: nowrap; }
.menu div:hover { background: var(--purple); color: #fff; }
.menu div:hover img { filter: brightness(0) invert(1); }
.menu div img { width: 12px; visibility: hidden; }
.menu div.on img { visibility: visible; }
.menu hr { border: 0; height: 0.75px; background: rgba(28, 28, 30, 0.1); margin: 4px 6px; }
.menu .swatches { display: grid; grid-template-columns: repeat(5, 18px); gap: 6px; padding: 6px; height: auto; }
.menu .swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 0.75px rgba(28, 28, 30, 0.15); cursor: pointer; }
.menu .swatches i.on { box-shadow: inset 0 0 0 0.75px rgba(28, 28, 30, 0.15), 0 0 0 2px #fff, 0 0 0 3.9px var(--purple); }

/* The phone's spaces (SpaceSwitcherPill): a popover under the name. */
.switcher { position: absolute; left: 30px; top: 88px; width: 198px; border-radius: 13px; padding: 3px 0; z-index: 30; }
.switcher .sp { display: flex; align-items: center; gap: 7.5px; height: 39.7px; padding: 0 10.7px; cursor: pointer; }
.switcher .sp .tick { width: 10.7px; opacity: 0; }
.switcher .sp.on .tick { opacity: 1; }
.switcher .sp .thumb { width: 23px; height: 23px; border-radius: 50%; object-fit: cover; flex: none; }
.switcher .sp span { font-size: 12.2px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switcher hr { border: 0; height: 0.75px; background: rgba(28, 28, 30, 0.12); margin: 3px 0; }
.switcher .all { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 12.2px; font-size: 12.2px; color: var(--text); cursor: pointer; }
.switcher .all img { width: 16px; }

/* Following someone: their colour round the window, and their name at the top. */
.follow-border { position: absolute; inset: 0; z-index: 9; border-radius: inherit; box-shadow: inset 0 0 0 2.25px var(--maya); pointer-events: none; opacity: 0; transition: opacity 0.25s ease; }
.following {
  position: absolute; top: 24px; left: 50%; z-index: 9; transform: translateX(-50%) scale(0.9); opacity: 0;
  height: 22.5px; padding: 0 4.5px 0 10.5px; gap: 6px; display: flex; align-items: center;
  border-radius: 999px; background: var(--maya); color: #fff; font-size: 9.75px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 1.5px 6px rgba(0, 0, 0, 0.25); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.following i { width: 15px; height: 15px; border-radius: 50%; background: rgba(0, 0, 0, 0.22); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.following i img { width: 15px; }
.screen.following-on .follow-border { opacity: 1; }
.screen.following-on .following { opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }

/* Full screen (FocusedObjectPresentation): an opaque ground, the thing flown
   up from where it sits on the board, a glass panel beside a picture, and a
   close button by the window's lights. */
.focus-layer { position: absolute; inset: 0; z-index: 5; }
.focus-layer .ground { position: absolute; inset: 0; background: var(--board); }
.focus-layer .media { position: absolute; overflow: hidden; background: #fff; }
.focus-layer .media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.focus-layer .media .bigplay { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; }
.focus-layer .media .bigplay img { width: 24px; }
.focus-layer .page { position: absolute; left: 0; top: 0; transform-origin: 0 0; padding: 32px 36px; color: var(--text); outline: none; cursor: text; user-select: text; -webkit-user-select: text; caret-color: var(--purple); }
.focus-layer .page .t { font-size: 46px; line-height: 1.15; font-weight: 600; margin-bottom: 10px; outline: none; }
.focus-layer .page .b { font-size: 34px; line-height: 1.3; opacity: 0.75; white-space: pre-wrap; outline: none; min-height: 1.3em; }
.focus-layer .page .t:empty::before { content: "Untitled"; color: var(--muted); }
.focus-layer .side { position: absolute; border-radius: 16.5px; padding: 16.5px; display: flex; flex-direction: column; gap: 10.5px; }
.focus-layer .side h4 { margin: 0; font-size: 12.75px; font-weight: 600; color: var(--text); }
.focus-layer .side textarea { flex: 1; border: 0; outline: 0; resize: none; background: none; font: 11.25px/1.4 var(--system); color: var(--text); caret-color: var(--purple); }
.focus-layer .side textarea::placeholder { color: var(--muted); }
.focus-layer .close { position: absolute; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.focus-layer .close img { width: 24px; }

/* Maya presses as a hand does: the arrow dips a little while she holds. */
.pointer svg { transition: transform 0.12s ease; transform-origin: 2.5px 2.5px; }
.pointer.down svg { transform: scale(0.86); }
.chrome .tab { justify-content: flex-start; }

/* ---------- A room naming itself (not in the app yet), quietly: sparkles in
   its badge and a soft shimmer where the name will go, then the name settles
   in a letter at a time. Drawn on the page's clock, so nothing goes soft. */
.room.naming .room-label .name:empty::before {
  content: ""; display: inline-block; vertical-align: middle; width: 70px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(60, 60, 67, 0.09) 30%, rgba(60, 60, 67, 0.24) 50%, rgba(60, 60, 67, 0.09) 70%) 0 0 / 300% 100%;
  animation: aiShimmer 1.1s ease-in-out infinite;
}
@keyframes aiShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.room-label .name i {
  font-style: normal; display: inline-block; white-space: pre;
  animation: aiLetter 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--d) * 50ms);
  opacity: var(--t); filter: blur(calc((1 - var(--t)) * 4px)); transform: translateY(calc((1 - var(--t)) * 3px));
  color: color-mix(in srgb, var(--text) calc(var(--t) * 100%), #A35CF0);
}
@keyframes aiLetter { from { --t: 0; } to { --t: 1; } }

/* ---------- Comments (not in the app yet), as Figma has them, in Maya's
   green: the pin is a speech bubble with her initial, its point on the spot;
   pointing at it opens a bubble with her words beside the pin; a click opens
   the thread. In screen pixels, so they keep their size at any zoom. */
.comments { position: absolute; inset: 0; pointer-events: none; }
.cmt { position: absolute; left: 0; top: 0; font-family: var(--system); }
.cmt-pin {
  position: absolute; left: 0; bottom: 0; z-index: 3; width: 28px; height: 28px; box-sizing: border-box;
  border-radius: 14px 14px 14px 3px; background: var(--maya); color: #fff; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.22);
  pointer-events: auto; cursor: pointer; transform-origin: 0 100%; transition: transform 0.15s ease, opacity 0.12s ease;
}
.cmt:hover .cmt-pin, .cmt.open .cmt-pin { transform: scale(1.06); }
.cmt-peek {
  position: absolute; left: 0; bottom: 0; z-index: 2; width: max-content; max-width: 224px; box-sizing: border-box;
  display: flex; align-items: flex-start; gap: 8px; padding: 8px 14px 9px 8px; border-radius: 18px 18px 18px 4px; background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.14);
  opacity: 0; transform: scale(0.4); transform-origin: 0 100%; pointer-events: none;
  transition: opacity 0.16s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}
.cmt-peek > div { min-width: 0; padding-top: 1px; }
/* Pointing at the pin opens it into the bubble: the face moves inside. */
.cmt:not(.open):not(.writing):hover .cmt-peek, .cmt.peek:not(.open) .cmt-peek { opacity: 1; transform: none; }
.cmt:not(.open):not(.writing):hover .cmt-peek { pointer-events: auto; cursor: pointer; }
.cmt:not(.open):not(.writing):hover .cmt-pin, .cmt.peek:not(.open) .cmt-pin { opacity: 0; transform: scale(0.7); }
.cmt-who { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.cmt-who b { font-size: 10.5px; font-weight: 600; color: #1C1C1E; }
.cmt-who span { font-size: 9.5px; color: #8E8E93; }
.cmt-peek p { margin: 1px 0 0; font-size: 10.5px; line-height: 1.35; color: #1C1C1E; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmt-face { width: 24px; height: 24px; flex: none; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.cmt-box {
  position: absolute; width: 240px; border-radius: 14px; background: #fff; overflow: hidden; pointer-events: auto; cursor: default;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08), 0 18px 40px rgba(0, 0, 0, 0.14);
}
.cmt-head { display: flex; justify-content: flex-end; gap: 2px; padding: 6px 6px 0; }
.cmt-head button { width: 24px; height: 24px; border: 0; padding: 0; border-radius: 6px; background: none; color: #8E8E93; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cmt-head button:hover { background: rgba(0, 0, 0, 0.05); color: #1C1C1E; }
.cmt-head [data-resolve]:hover { color: var(--maya); }
.cmt-msgs { padding: 0 14px 4px; max-height: 220px; overflow-y: auto; }
.cmt-msg { display: flex; gap: 9px; padding: 4px 0 9px; }
.cmt-msg > div { min-width: 0; }
.cmt-msg p { margin: 2px 0 0; font-size: 10.5px; line-height: 1.45; color: #1C1C1E; overflow-wrap: anywhere; }
.cmt-reply { display: flex; align-items: center; gap: 8px; padding: 8px 9px 9px 14px; border-top: 0.5px solid rgba(0, 0, 0, 0.08); }
.cmt-reply input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 10.5px var(--system); color: #1C1C1E; }
.cmt-reply input::placeholder { color: #8E8E93; }
.cmt-send { width: 24px; height: 24px; flex: none; border: 0; padding: 0; border-radius: 50%; background: #E5E5EA; display: flex; align-items: center; justify-content: center; transition: background-color 0.15s ease; }
.cmt-send.ready { background: var(--maya); cursor: pointer; }
.cmt-box.compose { width: max-content; min-width: 170px; max-width: 230px; display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 13px; border-radius: 17px; }
.cmt-typing { flex: 1; min-width: 0; font-size: 10.5px; line-height: 1.35; color: #1C1C1E; }
.cmt-typing:empty::before { content: "Add a comment"; color: #8E8E93; }
.cmt-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: var(--maya); animation: cmtCaret 1s steps(1) infinite; }
@keyframes cmtCaret { 50% { opacity: 0; } }

/* ---------- The story's bar: Tines' light timeline, in its colours. Docked
   under the Mac window like a tab; floating under the iPhone. A segment per
   chapter fills as it plays; the chapter's name hangs under the knob. */
.player {
  --bar-bg: color-mix(in srgb, #DBD7FF 62%, #FCF9F5);
  position: absolute; left: 0; top: 0; z-index: 4; width: 500px; font-family: var(--system); color: #542F9C;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease; user-select: none; -webkit-user-select: none;
}
.player.shown { opacity: 1; pointer-events: auto; }
.player .transport { position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 6px; border-radius: 0 0 19px 19px; background: var(--bar-bg); box-shadow: inset 0 7px 8px -7px rgba(84, 47, 156, 0.22); }
.player .play { width: 28px; height: 28px; flex: none; border: 0; padding: 0; border-radius: 50%; background: none; color: #542F9C; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.player .play:hover { background: color-mix(in srgb, #2A1B49 8%, transparent); }
.player .play svg { width: 14px; height: 14px; fill: currentColor; }
.player .track { position: relative; flex: 1; height: 16px; cursor: pointer; touch-action: none; }
.player .seg { position: absolute; top: 0; height: 16px; border: 0; padding: 0; background: none; cursor: pointer; }
.player .seg i { position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, #714BD0 22%, transparent); transition: background-color 0.12s ease; }
.player .seg.hot i { background: color-mix(in srgb, #714BD0 42%, transparent); }
.player .seg b { display: block; height: 100%; width: 0; border-radius: inherit; background: #714BD0; }
.player .seg:focus-visible { outline: 2px solid color-mix(in srgb, #2A1B49 22%, transparent); outline-offset: 2px; border-radius: 4px; }
.player .knob { position: absolute; top: 8px; left: 0; z-index: 3; transform: translate(-50%, -50%); pointer-events: none; }
.player .knob i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #714BD0; transition: transform 0.12s ease; }
.player .track:hover .knob i, .player.scrubbing .knob i { transform: scale(1.4); }
.player .caption {
  position: absolute; top: calc(100% + 11px); left: 0; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  padding: 2px 9px 5px; border-radius: 0 0 8px 8px; background: var(--bar-bg); font-size: 11px; font-weight: 600; letter-spacing: -0.01em;
}
.player .caption::before, .player .caption::after { content: ""; position: absolute; top: 0; width: 8px; height: 8px; }
.player .caption::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent 7.5px, var(--bar-bg) 8px); }
.player .caption::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent 7.5px, var(--bar-bg) 8px); }
.player .time { flex: none; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: #6741BF; white-space: nowrap; }
.player.phone { width: 264px; }
.player.phone .transport { height: 34px; border-radius: 17px; gap: 8px; padding: 0 12px 0 4px; box-shadow: none; }
.player.phone .caption { top: calc(100% + 9px); }
.player.phone .time { font-size: 10px; }

 .run, .place, .after { z-index: 1; background: var(--paper); }
.place, .after { position: relative; }

/* ---------- You remember where you put things. The same things three
   ways: sinking down a feed, lying on a desk, and on the canvas laid out
   just as they lie on the desk. Drawn like the sections after it: the hero's
   Poppins for the heading, three equal columns, each picture in the same
   rounded frame, and a caption like What it does' jobs. */
.place { padding: 104px 24px 112px; text-align: center; }
.place h2 {
  margin: 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 400;
  font-size: 40px; line-height: 1.12; letter-spacing: -0.03em; color: var(--purple); text-wrap: balance;
}
.place .sub { margin: 14px auto 0; font-family: var(--system); font-size: 20px; line-height: 1.4; color: #4A3F66; }
.place .sub em {
  font-style: normal; white-space: nowrap; padding-bottom: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 60 3, 130 3, 197 8' fill='none' stroke='%23EC5C9F' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat;
}
/* Three panels side by side, like a comic strip, in the page's 1232px
   column: a picture in a rounded frame, then its number, title and a line.
   Inside a picture everything is sized in cqw (hundredths of its width).
   A panel's loop runs only while it is on screen (.play). */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1232px; margin: 56px auto 0; text-align: left; }
.panel { margin: 0; }
.panel-pic { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #E9E4F1; container-type: inline-size; }
.panel-pic * { animation-play-state: paused; }
.panel.play .panel-pic * { animation-play-state: running; }
.panel figcaption { margin-top: 20px; font-family: var(--system); }
.panel .ch-no { font-family: "Poppins", system-ui, sans-serif; font-size: 15px; letter-spacing: 0; color: #A98DF2; }
.panel h3 { margin: 6px 0 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; color: #F2EEFB; }
.panel figcaption p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: #B3AACB; }
/* The ring that says "there it is": white, then purple, so it reads on any colour. */
.panel-pic .ring { position: absolute; border-radius: 4cqw; box-shadow: 0 0 0 0.6cqw #FFFFFF, 0 0 0 1.5cqw #714BD0, 0 0 0 3.4cqw rgba(113, 75, 208, 0.25); pointer-events: none; }

/* 01: three apps' saved feeds scrolling past at their own speeds; the meme
   goes by in the middle one, ringed for a moment. */
.p-feeds .cols { position: absolute; inset: 7cqw 5cqw 0; display: flex; gap: 3cqw; }
.p-feeds .col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.p-feeds .col-name { margin-bottom: 2.4cqw; text-align: center; font-family: var(--system); font-size: 3cqw; font-weight: 600; color: #6B6280; }
.p-feeds .col-view { position: relative; flex: 1; overflow: hidden; border-radius: 3.4cqw 3.4cqw 0 0; background: #FFFFFF; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 80%, transparent); }
.p-feeds .col-track { padding: 2.4cqw 2.4cqw 0; animation: feedUp var(--d, 16s) linear infinite; }
.p-feeds .fp { margin-bottom: 2.6cqw; font-family: var(--system); }
.p-feeds .fp b { display: flex; align-items: center; gap: 1cqw; margin-bottom: 1.2cqw; font-size: 2.2cqw; font-weight: 600; color: #1C1C1E; white-space: nowrap; overflow: hidden; }
.p-feeds .fp b i { flex: none; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; }
.p-feeds .fp img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.8cqw; }
.p-feeds .fp p { margin: 0; padding: 1.6cqw; border-radius: 1.8cqw; background: #F2F2F7; font-size: 2.3cqw; line-height: 1.35; color: #3A3A3C; }
.p-feeds .fp.meme img { aspect-ratio: 4 / 3; animation: ringPulse 3.2s ease-in-out infinite; }
@keyframes feedUp { to { transform: translateY(-50%); } }
@keyframes ringPulse { 0%, 35% { box-shadow: 0 0 0 0.5cqw rgba(255, 255, 255, 0), 0 0 0 1.2cqw rgba(113, 75, 208, 0); } 50%, 80% { box-shadow: 0 0 0 0.5cqw #FFFFFF, 0 0 0 1.2cqw #714BD0; } 100% { box-shadow: 0 0 0 0.5cqw rgba(255, 255, 255, 0), 0 0 0 1.2cqw rgba(113, 75, 208, 0); } }

/* 02: the desk, the keys ringed in their dish. */
.p-desk .desk-box { position: absolute; left: 4cqw; right: 4cqw; top: 50%; translate: 0 -50%; aspect-ratio: 900 / 687; }
.p-desk .desk-box img { display: block; width: 100%; height: 100%; }
.p-desk .ring { left: 69%; top: 62%; width: 20%; height: 16%; border-radius: 50%; animation: ringIn 4s ease-in-out infinite; }
@keyframes ringIn { 0%, 20% { opacity: 0; scale: 1.12; } 32%, 82% { opacity: 1; scale: 1; } 94%, 100% { opacity: 0; scale: 1; } }

/* 03: a board with its rooms; the pointer goes straight to the meme in its
   room and it is ringed, the same ring as in 01. (--cx --cy --rx --ry --rw
   --rh are where the meme sits, set by main.js once the board is framed.) */
.p-board { background: var(--board); }
.p-board .mini { position: absolute; inset: 0; text-align: left; }
.mini-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mini .card { cursor: default; }
.p-board .ring { left: var(--rx); top: var(--ry); width: var(--rw); height: var(--rh); border-radius: 2.4cqw; animation: ringIn 5s ease-in-out infinite; animation-delay: inherit; }
.p-board .cur { position: absolute; width: 4.6cqw; height: auto; filter: drop-shadow(0 0.6cqw 0.8cqw rgba(0, 0, 0, 0.3)); animation: curGo 5s cubic-bezier(0.3, 0.7, 0.2, 1) infinite; }
@keyframes curGo { 0%, 8% { left: 18%; top: 96%; opacity: 0; } 12% { opacity: 1; } 34%, 86% { left: var(--cx); top: var(--cy); opacity: 1; } 94%, 100% { left: var(--cx); top: var(--cy); opacity: 0; } }
.p-board .ring { animation-name: ringFound; }
@keyframes ringFound { 0%, 34% { opacity: 0; scale: 1.1; } 42%, 84% { opacity: 1; scale: 1; } 94%, 100% { opacity: 0; scale: 1; } }

@media (max-width: 759px) {
  .place { padding: 72px 0 80px; }
  .place h2 { font-size: 28px; padding: 0 16px; }
  .place .sub { font-size: 17px; padding: 0 16px; }
  /* On a phone the three panels sit in a row to swipe through. */
  .strip { display: flex; gap: 14px; margin-top: 32px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 80%; scroll-snap-align: start; }
  .panel h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel-pic * { animation-play-state: paused !important; animation-delay: -2.6s !important; }
}


/* The handwriting the close signs its note in. */
@font-face { font-family: "Painting Hand"; src: url("painting/fonts/painting-hand.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }

/* Native country flags replace the travel room badge, within its existing bounds. */
.room-label .country-flag { display: inline-flex; align-items: center; justify-content: center; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 22.5px; line-height: 1; background: none; }

/* The loader: the logo animation, small, on black with a soft glow of the icon's darkest colour. The canvas draws the black and
   the light that opens out of the icon; the box's own black covers the page until
   the first frame is drawn. */
/* (its own rules are in the page's head, so it shows before this sheet arrives) */
/* The page builds in under the light: the bar slides down, the headline, the buttons,
   then the board rise, a beat apart, on the same emphasized decelerate curve. */
html.intro-wait .top, html.intro-wait .hero h1, html.intro-wait .hero .lede, html.intro-wait .hero .actions, html.intro-wait .qr-card, html.intro-wait .scroll-cue, html.intro-wait .win { opacity: 0; }
/* the page script sets each card's opacity every frame, so the cards fade by filter */
html.intro-wait .post { filter: opacity(0); }
html.intro-wait .top { translate: 0 -26px; }
html.intro-wait .hero h1, html.intro-wait .hero .lede, html.intro-wait .hero .actions, html.intro-wait .qr-card { translate: 0 22px; }
html.intro-wait .scroll-cue { translate: -50% 22px; }
html.intro-wait .win, html.intro-wait .post { translate: 0 48px; }
html.intro .top, html.intro .hero h1, html.intro .hero .lede, html.intro .hero .actions, html.intro .qr-card, html.intro .scroll-cue { transition: opacity .5s cubic-bezier(.05, .7, .1, 1), translate .5s cubic-bezier(.05, .7, .1, 1); }
html.intro .win { transition: opacity .6s cubic-bezier(.05, .7, .1, 1), translate .6s cubic-bezier(.05, .7, .1, 1); }
html.intro .post { transition: filter .6s cubic-bezier(.05, .7, .1, 1), translate .6s cubic-bezier(.05, .7, .1, 1); }
html.intro .top { transition-delay: .35s; }
html.intro .hero h1 { transition-delay: .4s; }
html.intro .hero .lede { transition-delay: .43s; }
html.intro .hero .actions, html.intro .qr-card { transition-delay: .46s; }
html.intro .scroll-cue { transition-delay: .6s; }
html.intro .win, html.intro .post { transition-delay: .5s; }

/* ---------- The board in a dark appearance (the default; ?board=light for the light one) ----------
   His colours: the board a gradient from #1C1B23 at the top to #13151C at the
   bottom; each room, band and all, a gradient from #292938 to #1E1E2A; Maya in
   the site's purple. Around them (my guesses, to go with it): the window's bars
   a step lighter than the board, their icons turned light, words on the board
   light. Notes and links are dark too, a step lighter than the rooms, with a
   breath of their paper's colour (a yellow note stays a little yellow), their
   words light. */
.board-dark { --maya: var(--purple); --paper: #241F2B; }
.board-dark .scene { --board: #18181F; --glass: #2A2A36; --line: rgba(255, 255, 255, 0.08); --text: #ECECF1; --muted: #8E8E99; --card: #24242E; --room-surface: #24242F; }
.board-dark .screen { color: var(--text); }   /* the page's dark words are inherited as set on the body; the window's must be its own light ones */
.board-dark .screen { background: linear-gradient(180deg, #1C1B23, #13151C); }
.board-dark .room-frame { background: linear-gradient(180deg, #292938, #1E1E2A); }
.board-dark .room-surface { background: transparent; }
.board-dark .room.target .room-surface { background: color-mix(in srgb, #292938 85%, var(--purple)); }
.board-dark .chrome img { filter: invert(0.92); }
.board-dark .chrome .tab span { color: rgba(236, 236, 241, 0.7); }
.board-dark .chrome .dock .sep { background: rgba(255, 255, 255, 0.14); }
.board-dark .card.note, .board-dark .card.link { background: color-mix(in srgb, var(--paper, #FFFFFF) 8%, #2B2B39); --edge: 0 0 0 calc(1px * var(--px)) rgba(255, 255, 255, 0.06); }
/* The apps round the board in their own dark appearances: Pinterest's (its Gestalt
   dark tokens: #111111, white, #A5A5A5, fields #2B2B2B), X's "Lights out" (black,
   #E7E9EA, #71767B), Reddit's (#0E1113, #EEF1F3, #8BA2AD, pills #2A3236: from
   memory, its site wouldn't open). TikTok and Reels are dark already. Their grey
   icons are turned light. */
.board-dark .post.pin { background: #111111; }
.board-dark .pin .search { background: #2B2B2B; color: #A5A5A5; }
.board-dark .masonry p { color: #FFFFFF; }
.board-dark .post.reddit { background: #0E1113; }
.board-dark .rd-top { color: #8BA2AD; }
.board-dark .rd-top b, .board-dark .reddit h4 { color: #EEF1F3; }
.board-dark .acts span { background: #2A3236; color: #EEF1F3; }
.board-dark .post.x { background: #000000; }
.board-dark .who { color: #E7E9EA; }
.board-dark .who span, .board-dark .x-row { color: #71767B; }
.board-dark .x p { color: #E7E9EA; }
.board-dark .x .logo path { fill: #E7E9EA; }
.board-dark .post .search img, .board-dark .acts img, .board-dark .x-row img { filter: invert(1) hue-rotate(180deg); }

/* ---------- The dark site (the default; ?board=light shows the light one): the
   page in plum ink ----------
   His pick from the tries, #241F2B, with no grain over it (the gradients carry their
   own). The story's bar in our purple. And, so nothing
   is lost on the dark, the words that were dark purple or grey made light, the
   feed's posts and the small board dark like the big one. */
.board-dark, .board-dark body, .board-dark .run, .board-dark .place, .board-dark .after { background: #241F2B; }
.board-dark h1 { color: #A98DF2; }
.board-dark .place h2 { color: #F4F0FF; }
.board-dark .hero h1 { color: #FFFFFF; }
.board-dark .button { color: #FFFFFF; }
.board-dark .button.outline { color: #A98DF2; border-color: #A98DF2; }
.board-dark .button.outline:hover { background: rgba(169, 141, 242, 0.14); }
.board-dark .place .sub { color: #C9BCF2; }
.board-dark .ch-no { color: #A98DF2; }
.board-dark .chapter h3 { color: #F2EEFB; }
.board-dark .chapter figcaption p { color: #B3AACB; }
.board-dark .ch-bars i { background: rgba(255, 255, 255, 0.15); }
.board-dark .ch-bars i.on { background: #A98DF2; }
.board-dark .player { --bar-bg: var(--purple); color: #FFFFFF; }
.board-dark .player .transport { box-shadow: inset 0 7px 8px -7px rgba(0, 0, 0, 0.35); }
.board-dark .player .play, .board-dark .player .time { color: #FFFFFF; }
.board-dark .player .play:hover { background: rgba(255, 255, 255, 0.12); }
.board-dark .player .seg i { background: rgba(255, 255, 255, 0.28); }
.board-dark .player .seg.hot i { background: rgba(255, 255, 255, 0.45); }
.board-dark .player .seg b, .board-dark .player .knob i { background: #FFFFFF; }
.board-dark .mini { background: linear-gradient(180deg, #1C1B23, #13151C); --text: #ECECF1; --muted: #8E8E99; color: var(--text); box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* ---------- The hero, dark (his pick from the Figma's three, 10 Nov) ----------
   Near black, from his Figma's dark version (#0F0D12), its rectangle in #5A2EA0. The
   Download is the dots version's purple, #5A2EA0 with lilac writing; the bar stays dark.
   The rest of the page keeps its own background. */
:root { --slot: #5A2EA0; }
.board-dark .run { background: #0F0D12; }
.board-dark .hero .button { background: #5A2EA0; color: #F6F2FF; }
.board-dark .hero .button:hover { background: var(--purple); }
.board-dark .hero .button.outline { background: transparent; color: #FEFEFE; border-color: #FEFEFE; }
.board-dark .hero .button.outline:hover { background: rgba(255, 255, 255, 0.12); }
.hero .button { padding: 0 24.75px; }
.hero .button.outline { padding: 0 22.2px; }
.hero .button.mac { padding: 0 24px; }

/* Whose video a board picture is from: a small dark tooltip by the pointer */
.credit-tip {
  position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; white-space: nowrap;
  padding: 5px 9px; border-radius: 7px; background: rgba(28, 28, 30, 0.92); color: #FFFFFF;
  font: 600 12px/1.2 var(--system); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  opacity: 0; transition: opacity 0.15s ease;
}
.credit-tip.shown { opacity: 1; }

/* A real place's clip, playing over its still under the pointer */
.clip { position: absolute; display: block; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; }
.clip.on { opacity: 1; }
.card.playing .play { opacity: 0; transition: opacity 0.2s ease; }

/* Watch video is hidden until there is a video (13 Nov 2026). */
.button[hidden] { display: none; }

/* ---------- The QR card, bevel.health's, bottom right of the hero ----------
   Measured from Bevel's page (14 Nov 2026): a near-black card 16 px from the corner,
   8 px inside, corners 16; the code 64 px (white dots, rounded eyes, the app icon in
   the middle); 8 px on, the title in 16 px medium white and, 4 px under, the line in
   12 px semibold at 60% white. The code opens spacedrop.now. */
.qr-card {
  position: absolute; right: 16px; bottom: 16px; z-index: 5;
  display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 16px;
  background: #1F2025; font-family: var(--system); opacity: var(--fade, 1);
}
.qr-code { position: relative; flex: none; width: 64px; height: 64px; }
.qr-dots { width: 64px; height: 64px; }
.qr-icon { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.qr-words { display: flex; flex-direction: column; gap: 4px; padding-right: 8px; }
.qr-title { font-size: 16px; font-weight: 500; line-height: 22.4px; color: #FFFFFF; white-space: nowrap; }
.qr-sub { font-size: 12px; font-weight: 600; line-height: 13.2px; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
@media (max-width: 759px) { .qr-card { display: none; } }

/* ---------- The waitlist pill, grail-app.com's ----------
   Its rules as Grail wrote them (14 Nov 2026): fixed 24 px from the bottom left, a
   see-through body with a faint edge, the mark 12 px before a button of its own; it
   rises 16 px into place as it fades in (--pill-in) and travels right with --pillx,
   both scrubbed by the scroll (main.js; Grail's fade-in plays on a timer, ours doesn't).
   Grail's pink is our lilac; its light look is white with our purple; over the
   painting it turns see-through in the painting's plum ink. Under the pointer it
   lifts 3 px and the mark tips. On a phone it sits in the middle and stays there. */
.wait-pill {
  position: fixed; z-index: 30; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  --pill-accent: #CFC2F7; --pill-btn-bg: #ffffff24; --pill-btn-fg: #CFC2F7; --pill-body: #18181899; --pill-border: #ffffff24;
  display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; overflow: hidden;
  border: 1px solid var(--pill-border); border-radius: 84px; background: var(--pill-body);
  font-family: var(--system); cursor: pointer; -webkit-appearance: none; appearance: none;
  opacity: var(--pill-in, 0); pointer-events: none; translate: 0 calc((1 - var(--pill-in, 0)) * 16px);
  transform: translateX(calc(var(--pillx, 0) * (100vw - 100% - 48px)));
  transition: scale 0.2s;
}
.wait-pill.on { pointer-events: auto; }
.wait-pill.light { --pill-accent: #542F9C; --pill-btn-bg: #F1ECFB; --pill-btn-fg: #542F9C; --pill-body: #FFFFFF; --pill-border: #00000024; }
.pill-mark {
  display: block; width: 27px; height: 25px; background: var(--pill-accent);
  -webkit-mask: url("media/brand/mark-final.png") center / contain no-repeat; mask: url("media/brand/mark-final.png") center / contain no-repeat;
  transition: background 0.35s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pill-btn {
  display: block; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  background: var(--pill-btn-bg); color: var(--pill-btn-fg);
  font-size: 16px; font-weight: 600; line-height: 1.24;
  transition: background 0.35s, color 0.35s, filter 0.15s;
}
.wait-pill.on:hover, .wait-pill.on:focus-visible { translate: 0 -3px; transition: scale 0.2s, translate 0.2s; }
.wait-pill.on:active { translate: 0 -1px; scale: 0.99; }
.wait-pill:hover .pill-btn, .wait-pill:focus-visible .pill-btn { filter: brightness(1.08); }
.wait-pill:hover .pill-mark { transform: rotate(-8deg) scale(1.06); }
@media (max-width: 768px) {
  .wait-pill { left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); }
}
.scene.phone .hero .button.mac { padding: 0 20px; gap: 7px; }
.scene.phone .button.mac .apple { width: 14px; height: 17.5px; }

/* On the dark site the board's window, the iPhone and the posts round them cast plain dark
   shadows, not the purple-tinted ones of the light site, which showed as glows. */
.board-dark .win.mac .screen { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.board-dark .win.iphone { box-shadow: inset 0 0 0 1.5px #3A3A3C, 0 6px 16px rgba(0, 0, 0, 0.3); }
.board-dark .post:not(.hovered):not(.lifted) { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
