@font-face{font-family:"Barlow Condensed";src:url("/assets/barlow-condensed-600.cc79a1e8.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* interdemandpro.com — task 0123, built from the task 0120 v3 prototype.
   Palette "Felt & brass", the prototype's declared default; glass 45%, blur
   40px, border 14%, shadow 80%, radius 22px, ambient 20% — its other declared
   defaults. Every value below is the one the prototype computes from them.
   Sizes are rem so browser zoom and 200% text work (spec §2). */

/* ───────────────────────────── tokens ───────────────────────────── */
:root {
  --g: #123128; --s2: #1a4335; --sheet: #183d31;
  --ink: #eef0f2; --mut: rgba(238,240,242,.74); --line: rgba(255,255,255,.18);
  --acc: #e8ddb6; --accInk: #123128; --gold: #c9a227; --goldTx: #e8ddb6;
  --scrim: rgba(0,0,0,.55);
  --plate: radial-gradient(ellipse at 50% 35%,#1f4a3b 0%,#0d251d 80%);
  --amb:
    radial-gradient(780px 560px at 88% -6%,rgba(201,162,39,.068),transparent 62%),
    radial-gradient(700px 640px at -10% 26%,rgba(76,194,122,.060),transparent 60%),
    radial-gradient(820px 640px at 65% 104%,rgba(156,194,230,.052),transparent 62%),
    radial-gradient(520px 420px at 40% 52%,rgba(224,86,79,.020),transparent 70%),
    #0c241d;
  --heroBg: radial-gradient(ellipse at 68% 42%,#1f4a3b 0%,#0d251d 82%);
  --play: #c9a227; --playInk: #231a03;
  --playSh: inset 0 1px 0 rgba(255,255,255,.35),0 2px 10px rgba(0,0,0,.2);
  --chip: #c9a227; --chipInk: #231a03; --chipSoft: rgba(201,162,39,.140);
  --ring: #c9a227; --mark: #1a4335; --markInk: #9c7d17;
  --glass: rgba(255,255,255,.169); --glassStrong: rgba(14,40,32,.77);
  --hdr: rgba(14,40,32,.55); --glassLine: rgba(255,255,255,.126);
  --glassSh: 0 8px 32px rgba(0,0,0,.80);
  --panel: rgba(14,40,32,.9);
  --card: rgba(255,255,255,.045); --cardLine: rgba(255,255,255,.18);
  --cardSh: inset 0 1px 0 rgba(255,255,255,.04),0 10px 30px rgba(0,0,0,.18);
  --link: #ece6d7; --linkUl: #c9a227;
  --blur: 40px; --blurHi: 72px;
  --r: 22px; --rm: 16px; --rs: 12px;
  --maxw: 1200px;
  --font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: 1rem; --secPad: 1.75rem var(--pad); --pagePad: 1.75rem var(--pad) 2.5rem;
  --h1: 2.875rem; --h1p: 2.5rem; --h1l: 1.875rem; --h2: 1.875rem; --lede: 1.125rem;
  --plateH: 220px; --fanW: 100px; --mini: 56px; --cardW: 62px; --boxPad: 1.25rem;
  color-scheme: dark;
}

/* The light ground. Follows the visitor (the media query); the toggle's choice
   wins over it (the attribute). Dark when there is no preference — the game's
   own theme (spec §1). The two blocks are kept identical on purpose: one light
   palette, declared twice, rather than two that drift. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --g: #f2f2f3; --s2: #e7e7ea; --sheet: #fff;
    --ink: #1d1f20; --mut: rgba(29,31,32,.8); --line: rgba(29,31,32,.17);
    --acc: #7a6110; --accInk: #fff; --gold: #c9a227; --goldTx: #6b540c;
    --scrim: rgba(20,20,24,.38);
    --plate: radial-gradient(ellipse at 50% 35%,#21503f 0%,#123128 80%);
    --amb:
      radial-gradient(780px 560px at 88% -6%,rgba(201,162,39,.084),transparent 62%),
      radial-gradient(700px 640px at -10% 26%,rgba(46,125,79,.064),transparent 60%),
      radial-gradient(820px 640px at 65% 104%,rgba(89,128,166,.076),transparent 62%),
      radial-gradient(520px 420px at 40% 52%,rgba(182,43,52,.020),transparent 70%),
      #e9ece6;
    --heroBg: radial-gradient(ellipse at 68% 42%,#fff 0%,#e9ece6 92%);
    --play: #c39c22;
    --glass: rgba(255,255,255,.588); --glassStrong: rgba(255,255,255,.87);
    --hdr: rgba(250,249,245,.75); --glassLine: rgba(255,255,255,.525);
    --glassSh: 0 8px 32px rgba(156,125,23,.360),inset 0 0 0 1px rgba(0,0,0,.05);
    --panel: rgba(255,255,255,.94);
    --card: #fff; --cardLine: rgba(29,31,32,.17);
    --cardSh: 0 1px 2px rgba(0,0,0,.05),0 10px 30px rgba(0,0,0,.06);
    --link: #1d1f20;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --g: #f2f2f3; --s2: #e7e7ea; --sheet: #fff;
  --ink: #1d1f20; --mut: rgba(29,31,32,.8); --line: rgba(29,31,32,.17);
  --acc: #7a6110; --accInk: #fff; --gold: #c9a227; --goldTx: #6b540c;
  --scrim: rgba(20,20,24,.38);
  --plate: radial-gradient(ellipse at 50% 35%,#21503f 0%,#123128 80%);
  --amb:
    radial-gradient(780px 560px at 88% -6%,rgba(201,162,39,.084),transparent 62%),
    radial-gradient(700px 640px at -10% 26%,rgba(46,125,79,.064),transparent 60%),
    radial-gradient(820px 640px at 65% 104%,rgba(89,128,166,.076),transparent 62%),
    radial-gradient(520px 420px at 40% 52%,rgba(182,43,52,.020),transparent 70%),
    #e9ece6;
  --heroBg: radial-gradient(ellipse at 68% 42%,#fff 0%,#e9ece6 92%);
  --play: #c39c22;
  --glass: rgba(255,255,255,.588); --glassStrong: rgba(255,255,255,.87);
  --hdr: rgba(250,249,245,.75); --glassLine: rgba(255,255,255,.525);
  --glassSh: 0 8px 32px rgba(156,125,23,.360),inset 0 0 0 1px rgba(0,0,0,.05);
  --panel: rgba(255,255,255,.94);
  --card: #fff; --cardLine: rgba(29,31,32,.17);
  --cardSh: 0 1px 2px rgba(0,0,0,.05),0 10px 30px rgba(0,0,0,.06);
  --link: #1d1f20;
  color-scheme: light;
}

/* tablet 700–1023 */
@media (min-width: 700px) {
  :root {
    --pad: 2rem; --secPad: 2.25rem var(--pad); --pagePad: 2.75rem var(--pad) 3.5rem;
    --h1: 4.25rem; --h1p: 3.125rem; --h1l: 2.25rem; --h2: 2.25rem; --lede: 1.25rem;
    --plateH: 400px; --fanW: 156px; --mini: 60px; --cardW: 58px; --boxPad: 1.75rem;
  }
}
/* desktop ≥1024 */
@media (min-width: 1024px) {
  :root {
    --pad: 2.5rem; --secPad: 2.75rem var(--pad); --pagePad: 3.5rem var(--pad) 4.5rem;
    --h1: 5.25rem; --h1p: 3.5rem; --h1l: 2.5rem; --h2: 2.5rem; --lede: 1.3125rem;
    --plateH: 500px; --fanW: 180px; --mini: 68px; --cardW: 66px; --boxPad: 2.25rem;
  }
}

/* ───────────────────────────── base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--amb) fixed;
  color: var(--ink);
  font: 1rem/1.55 var(--font-body);
  overflow-x: hidden;
  /* At 200% text `contact@interdemandpro.com` is about 420 px of unbreakable
     string on a 360 px phone, and it appears in the footer of every page.
     Long words break rather than pushing the page sideways. */
  overflow-wrap: break-word;
}
.ft-brand .ml, a[href^="mailto:"], .doc code { overflow-wrap: anywhere; }
h1, h2, h3, .hd { font-family: var(--font-heading); font-weight: 600; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-decoration-color: var(--linkUl);
    text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(201,162,39,.35); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
      overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 40; padding: .75rem 1rem;
        background: var(--play); color: var(--playInk); font-weight: 600;
        text-decoration: none; border-radius: 0 0 var(--rs) 0; }
.skip:focus { left: 0; }

/* ───────────────────────────── header ───────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 8;
  background: var(--hdr); border-bottom: 1px solid var(--glassLine);
}
@supports (backdrop-filter: blur(1px)) {
  .hdr { backdrop-filter: blur(var(--blurHi)) saturate(160%);
         -webkit-backdrop-filter: blur(var(--blurHi)) saturate(160%); }
}
.hdr-in {
  max-width: var(--maxw); margin: 0 auto; min-height: 60px;
  display: flex; align-items: center; gap: .5rem; padding-inline: var(--pad);
  flex-wrap: nowrap; padding-block: .25rem;
}
/* At 360 px the row is brand · theme · Play · menu and there is not much
   room: the wordmark is what gives way, down to an ellipsis, so the row
   never wraps and the controls never leave the screen. At 200% text it
   disappears and the mark alone carries the brand. */
.brand { display: flex; align-items: center; gap: .625rem; min-height: 44px;
         color: var(--ink); text-decoration: none; min-width: 0;
         flex: 0 1 auto; overflow: hidden; }
.mark { width: 30px; height: 30px; flex: none; border-radius: 9px; display: block; } /* task 0131: the app icon */
.wordmark { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem;
            line-height: 1; white-space: nowrap; overflow: hidden;
            text-overflow: ellipsis; min-width: 0; }
.hdr-nav { display: none; gap: .25rem; margin-left: 1.25rem; }
@media (min-width: 1024px) { .hdr-nav { display: flex; } }
.hdr-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 .875rem;
             border-radius: 999px; font-size: .9375rem; font-weight: 600;
             text-decoration: none; color: var(--ink); }
.hdr-nav a[aria-current="page"] { background: var(--glass); }
.hdr-spacer { flex: 1 1 0; min-width: 0; }

.gbtn {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  gap: .25rem; padding: 0 .625rem; background: var(--glass);
  border: 1px solid var(--glassLine); border-radius: var(--rs);
  box-shadow: 0 4px 16px rgba(0,0,0,.08); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
@supports (backdrop-filter: blur(1px)) {
  .gbtn { backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); }
}
.gbtn.sq { width: 44px; padding: 0; flex: none; }
.gbtn:hover { background: var(--glassStrong); }

.play {
  flex: none; min-height: 44px; display: inline-flex; align-items: center;
  justify-content: center; padding: 0 .875rem; background: var(--play);
  color: var(--playInk); border: 0; border-radius: 999px; box-shadow: var(--playSh);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem;
  letter-spacing: .01em; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.play:hover { filter: brightness(1.06); transform: translateY(-1px); }
@media (min-width: 700px) { .play { padding: 0 1.125rem; } }
@media (min-width: 1024px) { .play { padding: 0 1.375rem; } }
.play-hero { min-height: 52px; min-width: 100%; padding: 0 2.25rem; font-size: 1.375rem; }
@media (min-width: 700px) { .play-hero { min-width: 220px; } }
.play-wide { min-height: 52px; width: 100%; font-size: 1.375rem; }

/* the language and page menus: <details> so they work with no script */
.pop { position: relative; }
.pop > summary { list-style: none; }
.pop > summary::-webkit-details-marker { display: none; }
.pop > summary::marker { content: ""; }
.pop[open] > summary .chev { transform: rotate(180deg); }
.chev { transition: transform .15s ease; }
.pop-panel {
  /* `min(…, 100vw − gutters)`: at 200% text a 13rem panel is 416 px, which is
     wider than a 360 px phone, and a closed <details> still contributes its
     box to the page's scroll width. Capping it is what keeps "text to 200%,
     no horizontal scroll" true. */
  position: absolute; top: calc(100% + .375rem); right: 0;
  min-width: min(11rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem);
  background: var(--glassStrong); border: 1px solid var(--glassLine);
  border-radius: 14px; overflow: hidden; padding: .25rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); display: flex; flex-direction: column;
  z-index: 12;
}
@supports (backdrop-filter: blur(1px)) {
  .pop-panel { backdrop-filter: blur(var(--blurHi)); -webkit-backdrop-filter: blur(var(--blurHi)); }
}
.pop-panel a {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 0 .875rem; border-radius: 10px; color: var(--ink);
  text-decoration: none; font-weight: 400;
}
.pop-panel a[aria-current="true"] { background: var(--glass); font-weight: 700; }
.pop-panel a:hover { background: var(--glass); }
.pop-panel .sub { opacity: .6; font-size: .75rem; }
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.lang-btn { display: none; }
@media (min-width: 700px) { .lang-btn { display: inline-flex; } }
.menu-panel { min-width: min(13rem, calc(100vw - 2rem)); }
.menu-panel a {
  min-height: 52px; border-radius: 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.375rem;
}
.menu-panel a:last-child { border-bottom: 0; }

/* ───────────────────────────── home ───────────────────────────── */
.hero { background: var(--heroBg); }
.hero-in {
  max-width: var(--maxw); margin: 0 auto; padding: .5rem var(--pad) 2.5rem;
  display: grid; grid-template-columns: minmax(0,1fr); gap: 1.75rem; align-items: center;
}
@media (min-width: 700px) { .hero-in { padding: 1.25rem var(--pad) 3.5rem; gap: 2.25rem; } }
@media (min-width: 1024px) {
  .hero-in { padding: 4.5rem var(--pad) 5rem;
             grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 3.5rem; }
  .hero-text { order: 0; } .hero-plate { order: 1; }
}
.kicker { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
          color: var(--mut); margin: 0 0 .5rem; }
.hero h1 { font-size: var(--h1); line-height: 1; margin: 0 0 .75rem; letter-spacing: -.01em; }
.lede { font-size: var(--lede); line-height: 1.4; margin: 0 0 .75rem; max-width: 36ch; }
.facts { color: var(--mut); margin: 0 0 1rem; max-width: 42ch; }
.free { color: var(--mut); font-size: .875rem; margin: .75rem 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.learn { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }

.plate {
  position: relative; height: var(--plateH); background: var(--plate);
  border: 1px solid var(--glassLine); border-radius: var(--r);
  box-shadow: var(--glassSh); overflow: hidden;
}
/* Five cards, centres at 18/34/50/66/82% of the plate and each pulled back by
   half its own width, so the fan fits inside the felt at 360 px as well as at
   1280 and no card is sliced by the plate's edge. The prototype spaces them in
   pixels (0.74 × the card width on a phone) and lets the outer two bleed off;
   at 360 px that cuts the king in half, which reads as a bug rather than as a
   bleed. The rotation and the ring on the 8 are the prototype's. */
.plate img { position: absolute; width: var(--fanW); height: auto;
             top: calc((var(--plateH) - var(--fanW) * 1.397) / 2);
             border-radius: 5px; box-shadow: 0 14px 30px rgba(0,0,0,.5);
             transform-origin: 50% 90%; }
.fan-0 { left: 18%; margin-top: 20px; transform: translateX(-50%) rotate(-18deg); z-index: 1; }
.fan-1 { left: 34%; margin-top: 10px; transform: translateX(-50%) rotate(-9deg); z-index: 2; }
.fan-2 { left: 50%; margin-top: -14px; transform: translateX(-50%);
         z-index: 9; box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 3px var(--ring); }
.fan-3 { left: 66%; margin-top: 10px; transform: translateX(-50%) rotate(9deg); z-index: 4; }
.fan-4 { left: 82%; margin-top: 20px; transform: translateX(-50%) rotate(18deg); z-index: 5; }
/* The two chips sit over the felt *and* over a card, so they use the opaque
   glass rather than the translucent one: the prototype's --glass is 17% white
   in dark, which turns "Flick!" into white-on-ivory the moment it lands on the
   king. --glassStrong keeps the material and the contrast. */
.pchip {
  position: absolute; z-index: 20; padding: .5625rem 1rem; border-radius: 999px;
  background: var(--glassStrong); border: 1px solid var(--glassLine);
  box-shadow: var(--glassSh); color: var(--ink);
  font-family: var(--font-heading); font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
@supports (backdrop-filter: blur(1px)) {
  .pchip { backdrop-filter: blur(var(--blur)) saturate(160%);
           -webkit-backdrop-filter: blur(var(--blur)) saturate(160%); }
}
.pchip-a { left: 2%; top: 6%; }
.pchip-b { right: 3%; bottom: 6%; }
@media (min-width: 700px) {
  .pchip { font-size: 1.125rem; }
  .pchip-a { left: 0; top: 10%; } .pchip-b { right: 2%; bottom: 12%; }
}

.sec { padding: var(--secPad); max-width: var(--maxw); margin: 0 auto; }
.sec > h2 { font-size: var(--h2); line-height: 1.1; margin: 0 0 1rem; }
.cardbox {
  background: var(--card); border: 1px solid var(--cardLine); border-radius: var(--r);
  box-shadow: var(--cardSh); padding: 1.25rem;
}
.grid3 { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
@media (min-width: 700px) { .grid3 { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.125rem; } }
@media (min-width: 1024px) { .grid3 { gap: 1.5rem; } }
.three h3 { font-size: 1.375rem; margin: 0 0 .5rem; line-height: 1.15; }
.three p { margin: 0; color: var(--mut); }
.minis { display: flex; align-items: flex-end; min-height: 84px; margin-bottom: .75rem; }
@media (min-width: 1024px) { .minis { min-height: 104px; } }
.minis img { width: var(--mini); border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.chipTag { align-self: flex-start; padding: .25rem .75rem; border-radius: 999px;
           background: var(--chip); color: var(--chipInk); font-family: var(--font-heading);
           font-weight: 600; font-size: 1rem; margin-bottom: .375rem; display: inline-block; }

.shots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem;
         max-width: 860px; }
.shot { position: relative; aspect-ratio: 9/16; background: var(--card);
        border: 1px solid var(--cardLine); border-radius: 24px; padding: 6px;
        box-shadow: var(--cardSh); }
.shot-empty { display: flex; align-items: center; justify-content: center;
              text-align: center; color: var(--mut); font-size: .8125rem;
              padding: .5rem; line-height: 1.3; }
.shot img { position: absolute; inset: 6px; width: calc(100% - 12px);
            height: calc(100% - 12px); object-fit: cover; border-radius: 18px; }

.friends { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.75rem;
           align-items: center; padding: var(--boxPad); }
@media (min-width: 1024px) { .friends { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); } }
.ways { display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
        border: 1px solid var(--cardLine); border-radius: var(--rm);
        overflow: hidden; background: var(--card); }
.ways > div { display: flex; flex-direction: column; gap: .375rem; align-items: flex-start;
              padding: .75rem; min-width: 0; font-size: .875rem; }
.ways > div + div { border-left: 1px solid var(--line); }
.avatars { display: flex; gap: .5rem; justify-content: flex-start; flex-wrap: wrap; }
@media (min-width: 1024px) { .avatars { justify-content: flex-end; } }
.avatars img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
               object-position: 50% 24%; background: #1a4335;
               box-shadow: 0 0 0 2px var(--g), 0 0 0 3px var(--line); }
@media (min-width: 700px) { .avatars img { width: 64px; height: 64px; } }
.rules-link {
  background: var(--card); border: 1px solid var(--cardLine); border-radius: var(--rm);
  box-shadow: var(--cardSh); display: flex; align-items: center; gap: .875rem;
  padding: 1rem 1.125rem; color: var(--ink); text-decoration: none; min-height: 56px;
}
.rules-link:hover { background: var(--s2); }
.rules-link b { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; }
.rules-link span { color: var(--mut); font-size: .875rem; }

/* ───────────────────────────── inner pages ───────────────────────────── */
.page { max-width: var(--maxw); margin: 0 auto; padding: var(--pagePad); }
.page > h1 { font-size: var(--h1p); line-height: 1.05; margin: 0 0 .5rem; }
.page .sub { color: var(--mut); margin: 0 0 2rem; max-width: 60ch; font-size: var(--lede); }
.narrow { max-width: 46rem; }

.steps { display: flex; flex-direction: column; gap: 2rem; }
.step { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
@media (min-width: 700px) { .step { grid-template-columns: minmax(0,1fr) 300px; gap: 1.5rem; } }
@media (min-width: 1024px) { .step { grid-template-columns: minmax(0,1fr) 360px; } }
.step-n { font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
          color: var(--chip); letter-spacing: .08em; }
.step h2 { font-size: 1.625rem; margin: .25rem 0 .625rem; line-height: 1.15; }
.step ul { margin: 0; padding-left: 1.25rem; }
.step li { margin: 0 0 .5rem; }
.tag { align-self: flex-start; display: inline-block; font-size: .75rem;
       padding: .1875rem .625rem; border: 1px solid var(--glassLine);
       background: var(--glass); border-radius: 999px; color: var(--mut); }
.step-vis { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vis-card { position: relative; display: flex; flex-direction: column;
            align-items: center; gap: .375rem; }
.vis-card img { width: var(--cardW); border-radius: 4px;
                box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.vis-card .cap { font-size: .75rem; color: var(--mut); text-align: center; }
.vis-card .flag { position: absolute; top: -10px; right: -8px; z-index: 2;
                  padding: .0625rem .5rem; border-radius: 999px; background: var(--chip);
                  color: var(--chipInk); font-family: var(--font-heading);
                  font-weight: 600; font-size: .8125rem; }
.vis-ring img { box-shadow: 0 0 0 2px var(--chip), 0 4px 10px rgba(0,0,0,.35); }
.arrow { color: var(--mut); flex: none; }
.flickbtn { align-self: center; padding: .5rem 1rem; border-radius: 999px;
            border: 1.5px solid var(--chip); color: var(--chip);
            font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem;
            text-transform: uppercase; letter-spacing: .04em; }

table.t { border-collapse: collapse; width: 100%; max-width: 22rem; font-size: .9375rem; }
table.t th, table.t td { text-align: left; padding: .5rem .625rem;
                         border-bottom: 1px solid var(--line); }
table.t th { font-family: var(--font-heading); font-weight: 600; color: var(--mut);
             font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }

details.q { border-bottom: 1px solid var(--line); }
details.q > summary { min-height: 56px; display: flex; align-items: center;
                      justify-content: space-between; gap: 1rem; cursor: pointer;
                      font-family: var(--font-heading); font-weight: 600;
                      font-size: 1.1875rem; padding: .75rem 0; list-style: none; }
details.q > summary::-webkit-details-marker { display: none; }
details.q > summary::marker { content: ""; }
details.q > summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1;
                             color: var(--mut); }
details.q[open] > summary::after { content: "–"; }
details.q .a { padding: 0 0 1rem; color: var(--mut); max-width: 62ch; }
details.q .a p { margin: 0 0 .75rem; }

.addr { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.addr code { user-select: all; -webkit-user-select: all; font-family: ui-monospace, Menlo, monospace;
             font-size: 1rem; background: var(--s2); padding: .5rem .75rem;
             border-radius: var(--rs); word-break: break-all; }
.panel { background: var(--panel); border: 1px solid var(--glassLine);
         border-radius: var(--r); box-shadow: var(--glassSh); padding: 1.25rem; }
.note { padding: .75rem .875rem; border-radius: var(--rs); border: 1px dashed var(--gold);
        color: var(--goldTx); font-size: .875rem; margin: 0 0 1.5rem; }
.std { display: flex; flex-direction: column; gap: 1.75rem; }
.std-n { font-family: var(--font-heading); font-weight: 600; color: var(--chip);
         font-size: .875rem; letter-spacing: .08em; }
.std h2 { font-size: 1.5rem; margin: .25rem 0 .5rem; }
.std p { margin: 0 0 .75rem; color: var(--mut); max-width: 62ch; }
.reasons { margin: 0; padding: 0; list-style: none; display: flex;
           flex-wrap: wrap; gap: .5rem; }
.reasons li { padding: .375rem .75rem; border: 1px solid var(--glassLine);
              background: var(--glass); border-radius: 999px; font-size: .875rem; }

/* profile /p/<handle> */
.profile { max-width: 34rem; margin: 0 auto; padding: var(--pagePad); text-align: center; }
.handle { font-size: 2.5rem; line-height: 1.05; margin: 1rem 0 .5rem;
          word-break: break-all; }
@media (min-width: 1024px) { .handle { font-size: 3.25rem; } }
.profile .wants { font-size: var(--lede); color: var(--ink); margin: 0 0 1.5rem; }
.profile .plate-sm { border: 1px solid var(--glassLine); border-radius: var(--r);
                     box-shadow: var(--glassSh); background: var(--plate);
                     padding: 2rem 1.25rem 1.75rem; display: flex; flex-direction: column;
                     align-items: center; gap: .875rem; color: #ece6d7; }
.profile .plate-sm img { width: 64px; border-radius: 3px; transform: rotate(-6deg);
                         box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.profile .about { color: var(--mut); font-size: .9375rem; margin: 1.5rem 0 0; }
.profile .have { color: var(--mut); font-size: .875rem; margin: 1rem 0 0; }

/* legal and rules — long text */
.doc { max-width: 46rem; margin: 0 auto; padding: var(--pagePad); }
.doc > h1 { font-size: var(--h1l); line-height: 1.15; margin: 0 0 .25rem; }
.doc .updated { color: var(--mut); font-size: .875rem; margin: 0 0 2rem; }
.doc h2 { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem;
          line-height: 1.15; margin: 2.25rem 0 .625rem; scroll-margin-top: 5rem; }
.doc h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.1875rem;
          margin: 1.5rem 0 .5rem; scroll-margin-top: 5rem; }
.doc h4 { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem;
          margin: 1.25rem 0 .5rem; color: var(--mut); scroll-margin-top: 5rem; }
.doc p { margin: 0 0 .875rem; }
.doc ul, .doc ol { margin: 0 0 .875rem; padding-left: 1.375rem; }
.doc li { margin: 0 0 .5rem; }
.doc code { font-family: ui-monospace, Menlo, monospace; font-size: .88em;
            background: var(--s2); padding: 1px 4px; border-radius: 3px;
            overflow-wrap: anywhere; }
.doc blockquote { margin: 0 0 .875rem; padding: .5rem 0 .5rem 1rem;
                  border-left: 3px solid var(--chip); color: var(--mut); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: .9375rem;
             margin: 0 0 1.25rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: .5rem .625rem;
                   border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; color: var(--mut); }
.doc .short { background: var(--panel); border: 1px solid var(--glassLine);
              border-radius: var(--r); box-shadow: var(--glassSh);
              padding: 1rem 1.125rem; margin: 0 0 1.75rem; }
.doc .short > :last-child { margin-bottom: 0; }
.toc { background: var(--card); border: 1px solid var(--cardLine);
       border-radius: var(--rm); padding: 1rem 1.125rem; margin: 0 0 2rem; }
.toc > b { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem;
           display: block; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: .25rem 0; }
.toc ol ol { padding-left: 1rem; margin: .25rem 0; }
.toc a { text-decoration-color: var(--line); }

/* ─── classes that exist so no page needs a style attribute ───
   The CSP carries `style-src 'self'` with no 'unsafe-inline': an inline style
   attribute would need that exception, so there are none. */
.minis img + img { margin-left: -37px; }
.minis-4 img:nth-child(1) { transform: rotate(-9deg); }
.minis-4 img:nth-child(2) { transform: rotate(-3deg); }
.minis-4 img:nth-child(3) { transform: rotate(3deg); }
.minis-4 img:nth-child(4) { transform: rotate(9deg); }
/* A section heading directly on a page — Support's "Common questions". The
   direct-child selector matters: `.page h2` would also out-specify `.step h2`
   and `.std h2` and flatten the headings inside them. */
.page > h2 { font-size: var(--h2); line-height: 1.15; margin: 2.5rem 0 .5rem; }
.friends-lead { margin: 0 0 1rem; }
.avatars-lead { margin: 0 0 .75rem; color: var(--mut); font-size: .875rem; }
.after-steps { margin-top: 2.5rem; }
.std-contact { margin-top: 2rem; }
.open-home { margin-top: .5rem; }
.brandline { display: flex; align-items: center; gap: .625rem; }
.nf-fr { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }

/* ───────────────────────────── chooser ───────────────────────────── */
dialog.chooser { padding: 0; border: 0; background: transparent; color: var(--ink);
                 max-width: none; max-height: none; width: auto; }
dialog.chooser::backdrop { background: var(--scrim); }
.chooser-panel {
  background: var(--glassStrong); border: 1px solid var(--glassLine);
  color: var(--ink); box-sizing: border-box; box-shadow: 0 24px 60px rgba(0,0,0,.30);
}
@supports (backdrop-filter: blur(1px)) {
  .chooser-panel { backdrop-filter: blur(var(--blurHi)) saturate(160%);
                   -webkit-backdrop-filter: blur(var(--blurHi)) saturate(160%); }
}
/* sheet below 1024 */
dialog.chooser { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; }
.chooser-panel { border-bottom: 0; border-radius: 26px 26px 0 0;
                 max-height: 92vh; overflow: auto; padding: .625rem 1rem 1.25rem; }
.grabber { width: 36px; height: 4px; border-radius: 2px; background: var(--line);
           margin: .25rem auto .75rem; }
@media (min-width: 1024px) {
  dialog.chooser { position: fixed; inset: 68px 0 auto auto; width: auto;
                   margin-right: max(1rem, calc((100vw - var(--maxw)) / 2 + var(--pad))); }
  .chooser-panel { width: 400px; max-width: calc(100vw - 2rem); border-radius: var(--r);
                   border-bottom: 1px solid var(--glassLine); padding: 1.25rem;
                   max-height: 80vh; }
  .grabber { display: none; }
}
.chooser-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: .875rem; }
.chooser-head h2 { font-size: 1.375rem; margin: 0 0 .125rem; line-height: 1.15; }
.chooser-head p { margin: 0; color: var(--mut); font-size: .875rem; }
.chooser-opts { display: flex; flex-direction: column; gap: .625rem; }
.opt {
  width: 100%; min-height: 68px; display: flex; align-items: center; gap: .75rem;
  padding: .75rem .875rem; background: var(--glass); border: 1px solid var(--glassLine);
  border-radius: var(--rm); color: var(--ink); font: inherit; text-align: left;
  text-decoration: none; cursor: pointer;
}
.opt:hover { background: var(--glassStrong); }
.opt-body { min-width: 0; flex: 1; }
.opt .t { font-family: var(--font-heading); font-weight: 600; font-size: 1.1875rem;
          display: block; line-height: 1.2; }
.opt .s { color: var(--mut); font-size: .8125rem; display: block; }
.opt .dev { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
            color: var(--mut); display: block; }
.opt-first { background: var(--chipSoft); border-color: var(--chip); }
.yours { flex: none; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
         color: var(--chipInk); background: var(--chip); border-radius: 999px;
         padding: .1875rem .5rem; font-weight: 600; }
.opt-soon { background: transparent; border-style: dashed; border-color: var(--line);
            cursor: default; color: var(--mut); }
.opt-soon:hover { background: transparent; }
.opt-soon .t { color: var(--ink); }
.opt .badge { flex: none; }
.opt .badge img { display: block; height: 40px; width: auto; }
.handle-note { margin: .875rem 0 0; color: var(--mut); font-size: .8125rem; }
.chooser-close { flex: none; }

/* the no-script /play page uses the same rows, no dialog */
.playpage .chooser-panel { position: static; border-radius: var(--r); max-height: none;
                           width: auto; max-width: 30rem; margin: 0 auto; padding: 1.25rem; }

/* ───────────────────────────── sticky bar, footer ───────────────────────────── */
.stickybar {
  position: sticky; bottom: 0; z-index: 7; background: var(--hdr);
  border-top: 1px solid var(--glassLine); padding: .625rem 1rem .875rem;
}
@supports (backdrop-filter: blur(1px)) {
  .stickybar { backdrop-filter: blur(var(--blurHi)) saturate(160%);
               -webkit-backdrop-filter: blur(var(--blurHi)) saturate(160%); }
}
.stickybar[hidden] { display: none; }
@media (min-width: 700px) { .stickybar { display: none; } }

footer.ft { border-top: 1px solid var(--line); margin-top: 2.5rem; font-size: .875rem; }
.ft-in { max-width: var(--maxw); margin: 0 auto; padding: 1.75rem var(--pad) 2.25rem;
         display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
@media (min-width: 700px) {
  .ft-in { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); }
}
.ft-in nav { display: flex; flex-direction: column; }
.ft-in nav a { min-height: 36px; display: inline-flex; align-items: center;
               text-decoration-color: var(--line); }
.ft-brand { display: flex; flex-direction: column; gap: .5rem; }
.ft-brand .nm { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; }
.ft-brand .ml { user-select: all; -webkit-user-select: all; }
.ft-brand .by { color: var(--mut); }
.ft-lang { display: flex; flex-direction: column; gap: .125rem; }
.ft-lang .lbl { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
                color: var(--mut); margin-bottom: .25rem; }
.ft-lang a { min-height: 36px; display: inline-flex; align-items: center; }
.ft-lang a[aria-current="true"] { font-weight: 700; text-decoration: none; }

/* ───────────────────────────── 404, open-in-app ───────────────────────────── */
.mid { min-height: 60vh; display: flex; flex-direction: column; align-items: center;
       justify-content: center; gap: 1rem; padding: 3rem var(--pad); text-align: center; }
.mid h1 { font-size: var(--h1l); line-height: 1.05; margin: 0; }
.mid p { margin: 0; max-width: 34ch; color: var(--mut); }
.mid img.back { width: 84px; border-radius: 4px; transform: rotate(-8deg);
                box-shadow: 0 8px 18px rgba(0,0,0,.3); margin-bottom: .75rem; }

/* ───────────────────────────── /j/<CODE>, an invitation (0209) ───────────────────────────── */
.mid.join h2 { font-size: var(--h3, 1.25rem); margin: 1rem 0 0; }
.mid .join-label { margin-top: .5rem; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; }
.mid .join-code { font-family: "Barlow Condensed", system-ui, sans-serif; font-weight: 600; font-size: 2.5rem;
                  letter-spacing: .3em; color: var(--ink); max-width: none; padding-left: .3em; }
.mid .join-note { font-size: .875rem; }
.join-get { width: 100%; max-width: 28rem; text-align: left; }

/* ───────────────────────────── motion, print ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
                           transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, footer.ft, .stickybar, dialog.chooser, .toc, .skip, .gbtn, .play { display: none !important; }
  :root { --ink: #000; --mut: #333; --line: #bbb; }
  body { background: #fff !important; color: #000; font-size: 11pt; }
  .doc { max-width: none; padding: 0; }
  .doc h2, .doc h3, .doc h4 { break-after: avoid; page-break-after: avoid; }
  .doc table, .doc blockquote, .doc li { break-inside: avoid; page-break-inside: avoid; }
  .doc a { color: #000; text-decoration: underline; }
  .doc a[href^="#"]::after { content: ""; }
}

/* Task 0203 — /delete-account/request: the self-service deletion flow.
   Long-text layout from .doc; the controls here are the site's only form.
   Everything is rem and wraps, so 320 px at 200% text still has no horizontal
   scroll; the danger colour is the one thing not in the tokens, because
   nothing else on the site destroys anything. */
.delreq .lede { font-size: var(--lede); color: var(--mut); margin: 0 0 1.25rem; }
.delreq h3 { margin-top: 1.75rem; }
.dstatus { padding: .75rem .875rem; border-radius: var(--rs); border: 1px solid #c9463d;
           background: rgba(201,70,61,.12); color: var(--ink); margin: 0 0 1.25rem; }
.dstatus.ok { border-color: var(--gold); background: var(--chipSoft); }
.dbtns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 .5rem; }
.dbtn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
        padding: 0 1rem; border-radius: var(--rs); font: inherit; font-weight: 600;
        cursor: pointer; text-decoration: none; max-width: 100%; text-align: center; }
.dbtn.plain { background: var(--glass); border: 1px solid var(--glassLine); color: var(--ink); }
.dbtn.plain:hover { background: var(--glassStrong); }
.dbtn.danger { background: #b3261e; border: 1px solid #b3261e; color: #fff; }
.dbtn.danger:hover { filter: brightness(1.08); }
.dbtn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.dactions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.dlinks { color: var(--mut); margin: 1.25rem 0 0; }
.dfield { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; margin: 0 0 1rem; }
.dfield-in { flex: 1 1 14rem; min-width: 0; }
.dfield label { display: block; font-size: .875rem; color: var(--mut); margin: 0 0 .25rem; }
.dfield input { width: 100%; min-height: 44px; padding: 0 .75rem; border-radius: var(--rs);
                border: 1px solid var(--line); background: var(--sheet); color: var(--ink);
                font: inherit; }
.dfield input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.dcheck { display: flex; gap: .625rem; align-items: flex-start; margin: 1rem 0; cursor: pointer; }
.dcheck input { flex: none; width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--gold); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link);
           text-decoration: underline; text-decoration-color: var(--linkUl); cursor: pointer; }
.delreq .note label { margin-bottom: 0; color: var(--ink); }

/* Task 0131 — How to play: the house-rules intro and the variants table. */
.intro { margin: 0 0 2rem; max-width: 65ch; }
.intro h2, .variants h2 { font-size: var(--h2); line-height: 1.15; margin: 0 0 .75rem; }
.intro p { margin: 0 0 1rem; }
.standard-lead { margin: 0 0 1.5rem; color: var(--mut); font-weight: 600; }
.variants { margin-top: 3rem; }
.variants h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.t-wrap { overflow-x: auto; }
.variants table.t { max-width: 52rem; }
.variants table.t tbody th { font-family: inherit; text-transform: none; letter-spacing: 0;
                             font-size: .9375rem; color: inherit; font-weight: 600; min-width: 9rem; }
.variants table.t td:nth-child(2) { white-space: nowrap; color: var(--mut); }
.presets { margin: 0 0 1rem; padding-left: 1.25rem; }
.presets li { margin: 0 0 .375rem; }
/* On a phone the three columns are too narrow: each variant becomes a block —
   name and default on one line, what it changes underneath. */
@media (max-width: 599px) {
  .variants table.t, .variants table.t tbody, .variants table.t tr { display: block; }
  .variants table.t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .variants table.t tr { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .variants table.t th, .variants table.t td { display: inline; border: 0; padding: 0; }
  .variants table.t td:nth-child(2) { white-space: normal; margin-left: .5rem; font-size: .8125rem; }
  .variants table.t td:nth-child(2)::before { content: "· "; }
  .variants table.t td:nth-child(3) { display: block; margin-top: .25rem; }
}
