/* fizbot.xyz — the same "sticker sheet" look as Fiz's top.gg page: cream paper, coral ink,
   tilted white stickers, round display type. Dark mode follows the visitor's device. */
:root {
  --paper: #FFF6F1;
  --paper-2: #FFE9E3;
  --card: #FFFFFF;
  --coral: #F4968C;
  --rose: #D9475A;
  --rose-deep: #A92F41;
  --ink: #4A2C33;
  --muted: #8E6B71;
  --lav: #E7E4FA;
  --line: #F2D2CB;
  --chip: #FFE3DC;
  --grass: #CDEBC0;
  --spicy-bg: #2A1820;
  --spicy-ink: #FCE7EA;
  --spicy-muted: #D5AEB6;
  --spicy-glow: #FF6F86;
  --display: 'Mochiy Pop One', 'M PLUS Rounded 1c', 'Arial Rounded MT Bold', sans-serif;
  --body: 'M PLUS Rounded 1c', 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --mono: 'DM Mono', 'Consolas', ui-monospace, monospace;
  --shadow: 0 2px 0 var(--line), 0 12px 26px rgba(74, 44, 51, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B1317;
    --paper-2: #24181E;
    --card: #2A1E24;
    --coral: #F4968C;
    --rose: #FF7A8C;
    --rose-deep: #B73A4F;
    --ink: #FBE9EC;
    --muted: #C7A6AD;
    --lav: #2B2440;
    --line: #3A2A31;
    --chip: #3A252C;
    --grass: #2C4430;
    --spicy-bg: #120B0E;
    --shadow: 0 2px 0 #120C0F, 0 12px 26px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }  /* the 18+ gate depends on this */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, var(--paper-2) 0, transparent 32%),
    radial-gradient(circle at 96% 12%, var(--lav) 0, transparent 30%),
    var(--paper);
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: var(--rose); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 12px;
}
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; line-height: 1.15; }
code, .mono { font-family: var(--mono); font-size: .88em; }
code {
  background: var(--chip); color: var(--rose); padding: 1px 7px; border-radius: 999px; white-space: nowrap;
}
.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { color: var(--muted); max-width: 60ch; }
.section { padding-block: 56px; display: flex; flex-direction: column; gap: 24px; }
.section > header { display: flex; flex-direction: column; gap: 8px; }
.section h2 { font-size: clamp(28px, 4.4vw, 40px); color: var(--rose); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper);   /* solid: a live blur repaints on every scroll */
  border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-size: 22px; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 3px 10px rgba(217, 71, 90, .25); }
.brand span { color: var(--coral); }
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.nav-links a:hover { background: var(--chip); text-decoration: none; }
.nav-links a[aria-current="page"] { background: var(--chip); color: var(--rose); }
@media (max-width: 760px) { .nav-links .hide-sm, .nav-links .nav-ext { display: none; } .nav .wrap { gap: 10px; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.2; border: 0; cursor: pointer;
  background: var(--rose); color: #FFF6F1; box-shadow: 0 4px 0 var(--rose-deep);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 5px 0 var(--rose-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rose-deep); }
.btn.alt { background: var(--card); color: var(--rose); box-shadow: 0 4px 0 var(--line); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn img { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: 48px 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-art { order: -1; } }
.hero-text { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: clamp(64px, 12vw, 120px); line-height: .95; color: var(--rose); letter-spacing: -.02em; }
.hero h1 span { color: var(--coral); }
.tagline { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; max-width: 26ch; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.avatar-ring { position: relative; width: min(280px, 70vw); aspect-ratio: 1; }
.avatar-ring::before {
  content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 3px dashed var(--coral); opacity: .75;
}
.avatar-ring img.avatar {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
  border: 8px solid var(--card); box-shadow: 0 16px 34px rgba(217, 71, 90, .25);
}
.bubble {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%) rotate(-1.5deg);
  background: var(--card); color: var(--ink); border-radius: 18px; padding: 10px 16px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; width: max-content; max-width: min(320px, 86vw); text-align: center;
}
.bubble::before {
  content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; background: var(--card);
  transform: translateX(-50%) rotate(45deg); border-radius: 3px;
}
.bubble .who { font-family: var(--mono); font-size: 11px; color: var(--muted); display: block; letter-spacing: .1em; }


/* ---------------------------------------------------------------- facts */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; border-radius: 24px;
  background: var(--card); box-shadow: var(--shadow);
}
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px; }
.fact b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 34px); color: var(--rose); font-variant-numeric: tabular-nums; line-height: 1.2; }
.fact span { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- chat preview */
.preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .preview { grid-template-columns: 1fr; } }
.discord {
  background: #313338; color: #DBDEE1; border-radius: 20px; padding: 18px 16px; display: flex; flex-direction: column; gap: 16px;
  font-family: 'gg sans', 'Noto Sans', 'Segoe UI', system-ui, sans-serif; font-size: 15px; line-height: 1.4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25); transform: rotate(.6deg);
}
.msg { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.msg > img { width: 40px; height: 40px; border-radius: 50%; }
.msg .meta { display: flex; align-items: baseline; gap: 6px; }
.msg .name { color: #F2F3F5; font-weight: 600; }
.msg .name.fiz { color: #F9A8C0; }
.msg .app { background: #5865F2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.msg .time { color: #949BA4; font-size: 12px; }
.msg .text code { background: #2B2D31; color: #DBDEE1; border-radius: 4px; padding: 1px 4px; }
.card {
  margin-top: 6px; background: #2B2D31; border-left: 4px solid #F7A8C4; border-radius: 8px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px; max-width: 420px;
}
.card h4 { margin: 0; color: #F2F3F5; font-size: 16px; }
.card .gif { border-radius: 8px; width: 100%; max-height: 220px; object-fit: cover; display: block; background: #1E1F22; }
.card .sub { color: #B5BAC1; font-size: 13px; }
.card .fizline { color: #DBDEE1; font-style: italic; font-size: 14px; }
.dbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.dbtn { background: #4E5058; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.dbtn.green { background: #248046; }
.roll { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: start; }
.roll img { width: 96px; height: 130px; object-fit: cover; border-radius: 8px; }

/* ---------------------------------------------------------------- stickers */
.stickers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.sticker {
  background: var(--card); border-radius: 26px; padding: 22px 22px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.sticker .head { display: flex; align-items: center; gap: 12px; }
.icon { width: 48px; height: 48px; border-radius: 15px; background: var(--coral); display: grid; place-items: center; flex: 0 0 auto; }
.icon img { width: 32px; height: 32px; }
.icon .glyph { font-size: 25px; line-height: 1; }
.sticker h3 { font-size: 20px; color: var(--ink); }
.note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.sticker p { color: var(--ink); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.sticker.wide { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- bento: a tour of the burrow
   Each tile shows a little piece of the game (a roll, an encounter, a zoom, cards…) instead of a paragraph.
   Static on purpose: nothing animates except a small lift on hover. */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .bt.wide { grid-column: auto; } }
.bt {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink); transition: transform .15s ease;
}
.bt:hover { transform: translateY(-3px); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .bt { transition: none; } .bt:hover { transform: none; } }
.bt.wide { grid-column: span 2; }
.bt-art {
  position: relative; min-height: 150px; display: grid; place-items: center; overflow: hidden;
  background: var(--paper-2);
}
.bt-art.dark { background: #313338; color: #DBDEE1; padding: 16px; place-items: stretch; align-content: center; gap: 10px; }
.bt-copy { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bt-copy h3 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.bt-copy p { margin: 0; font-size: 14.5px; flex: 1; }
.bt .dbtn { padding: 4px 10px; font-size: 12px; }
.bt .dim { color: #B5BAC1; font-size: 12.5px; }
.new { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: #FFFFFF; background: #E3350D;
  border-radius: 999px; padding: 2px 8px; }
img.pixel { image-rendering: pixelated; }

/* Fizdae: a roll and a wild Pokémon */
.mini-roll { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; }
.mini-roll img { width: 62px; height: 84px; object-fit: cover; border-radius: 8px; }
.mini-roll > div { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.mini-roll b { color: #F2F3F5; }
.mini-wild { display: flex; align-items: center; gap: 8px; background: #2B2D31; border-left: 3px solid #7BC67B;
  border-radius: 8px; padding: 6px 10px; font-size: 12.5px; }
.mini-wild img { width: 22px; height: 22px; }
.mini-wild span:nth-of-type(1) { flex: 1; }

/* Fizmon: an encounter on a Poké Ball */
.bt.fizmon { border-color: #E3350D; }
.fizmon .bt-art.dark { background: linear-gradient(180deg, #E3350D 0 47%, #1E1F22 47% 53%, #F2EEEC 53% 100%);
  place-items: center; }
.mini-enc { background: #313338; border-left: 4px solid #7BC67B; border-radius: 12px; padding: 12px 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.mini-enc .enc-title { margin: 0; color: #F9A8C0; font-weight: 800; font-size: 14px; }
.mini-enc .enc-title b { color: #F2F3F5; }
.mini-enc .sprite { height: 84px; width: auto; }
.mini-enc p { margin: 0; }

/* Who's this? a zoomed crop */
.bt-art.zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 28%; transform: scale(2.4); }
.bt-art.zoom .q { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--rose); color: #FFF6F1; display: grid; place-items: center; font-family: var(--display); font-size: 24px; }

/* Games: two cards and higher/lower */
.bt-art.cards { display: flex; align-items: center; justify-content: center; gap: 0; }
.pc { width: 54px; height: 76px; border-radius: 8px; background: #FFFFFF; color: #2A1E24; border: 1px solid #E5D6D2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display);
  font-size: 22px; line-height: 1; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.pc i { font-style: normal; font-size: 18px; color: #D9475A; }
.pc.tilt { transform: rotate(9deg); margin-left: -12px; }
.pc.tilt i { color: #2A1E24; }
.bt-art.cards .hl { margin-left: 18px; color: var(--rose); font-size: 20px; line-height: 1.2; font-weight: 800; }

/* the meadow */
.bt-art.meadow { display: flex; align-items: flex-end; justify-content: center; gap: 8px; font-size: 30px;
  padding-bottom: 18px; background: linear-gradient(180deg, var(--paper-2) 62%, var(--grass) 62%); }

/* emotes */
.bt-art.bubble-art .say { margin: 0 14px; background: var(--card); border-radius: 18px; padding: 10px 14px;
  font-size: 14px; box-shadow: var(--shadow); }

/* levels: the road to 100 */
.bt-art.road { padding: 0 22px; }
.road-line { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.road-line::before { content: ""; position: absolute; left: 12%; right: 12%; top: 15px; height: 4px; border-radius: 4px;
  background: var(--line); }
.road-line .rs { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); text-align: center; }
.road-line .rs b { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #FFF6F1;
  display: grid; place-items: center; font-family: var(--display); font-size: 12px; font-weight: 400; }
.road-line .rs.goal b { background: var(--rose); }

/* profiles: theme swatches */
.bt-art.swatches { display: flex; gap: 8px; justify-content: center; }
.bt-art.swatches i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--line); }

/* the last tile: everything else */
.bt.more { background: var(--rose); border-color: var(--rose); color: #FFF6F1; justify-content: center; }
.bt.more h3 { color: #FFF6F1; }
.bt.more p { color: #FFE9E3; }
.bt.more .arrow { font-size: 30px; line-height: 1; }

/* ---------------------------------------------------------------- level path */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
@media (max-width: 640px) { .path { grid-template-columns: repeat(2, 1fr); } }
.stop { background: var(--paper-2); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stop .lv { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.stop b { font-size: 14px; }
.stop.goal { background: var(--rose); color: #FFF6F1; }
.stop.goal .lv { color: #FFD9DE; }

/* ---------------------------------------------------------------- spicy */
.spicy {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 111, 134, .22) 0, transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(155, 120, 255, .16) 0, transparent 40%),
    var(--spicy-bg);
  color: var(--spicy-ink); border-radius: 36px; padding: clamp(26px, 5vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
@media (max-width: 860px) { .spicy { grid-template-columns: 1fr; } }
.spicy h2 { color: var(--spicy-ink); font-size: clamp(30px, 5vw, 46px); }
.spicy h2 em { color: var(--spicy-glow); font-style: normal; text-shadow: 0 0 22px rgba(255, 111, 134, .55); }
.spicy .eyebrow { color: var(--spicy-muted); }
.spicy p { color: var(--spicy-muted); }
.spicy p b { color: var(--spicy-ink); }
.badge18 {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 111, 134, .55); color: var(--spicy-glow); font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  box-shadow: 0 0 18px rgba(255, 111, 134, .25);
}
.spicy .col { display: flex; flex-direction: column; gap: 16px; }
.gate {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.gate h3 { font-size: 22px; color: var(--spicy-ink); }
.gate .btn { background: var(--spicy-glow); box-shadow: 0 4px 0 #A92F41; color: #2A1820; }
.gate .fine { font-size: 12.5px; color: var(--spicy-muted); }
.spicy code, .lewd code { background: rgba(255, 111, 134, .14); color: #FFB3BF; }
.lewd { display: flex; flex-direction: column; gap: 14px; }
.lewd h3 { font-size: 20px; color: var(--spicy-ink); }
.lewd .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.lewd .tagcloud code { font-size: 13px; padding: 3px 10px; border: 1px solid rgba(255, 111, 134, .35); }
.lewd ul { margin: 0; padding-left: 18px; color: var(--spicy-muted); display: flex; flex-direction: column; gap: 4px; }
.lewd li b { color: var(--spicy-ink); }

/* ---------------------------------------------------------------- safety, steps, faq */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.panel h3 { font-size: 20px; color: var(--rose); }
.panel ul, .panel ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border-radius: 20px; padding: 14px 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-top: 8px; color: var(--muted); }

/* ---------------------------------------------------------------- commands page */
.cmd-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cmd-tools input {
  flex: 1 1 260px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--card);
  color: var(--ink); font: inherit;
}
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tabs button {
  border: 0; background: var(--card); color: var(--ink); padding: 7px 14px; border-radius: 999px; font: inherit; font-weight: 700;
  font-size: 14px; cursor: pointer; box-shadow: 0 2px 0 var(--line);
}
.cat-tabs button[aria-pressed="true"] { background: var(--rose); color: #FFF6F1; box-shadow: 0 2px 0 var(--rose-deep); }
.cmd-group { display: flex; flex-direction: column; gap: 12px; }
.cmd-group h2 { font-size: 26px; color: var(--rose); display: flex; align-items: center; gap: 10px; }
.cmd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cmd { background: var(--card); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.cmd h3 { font-family: var(--mono); font-size: 16px; color: var(--ink); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cmd h3 .t { font-family: var(--body); font-weight: 800; color: var(--muted); font-size: 14px; }
.cmd p { font-size: 14.5px; }
.cmd .extra { font-size: 13px; color: var(--muted); }
.tag18 { font-family: var(--mono); font-size: 11px; color: #fff; background: var(--rose); border-radius: 999px; padding: 1px 8px; }
.empty { color: var(--muted); }


/* ---------------------------------------------------------------- legal pages */
.doc { max-width: 760px; padding-block: 48px 72px; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: clamp(36px, 6vw, 54px); color: var(--rose); }
.doc h2 { font-size: 24px; color: var(--ink); padding-top: 18px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .tldr { background: var(--card); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.doc .tldr b { font-family: var(--display); font-weight: 400; color: var(--rose); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 6px 8px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); margin-top: 32px; padding-block: 32px 40px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--ink); }
.foot .disclaimer { font-size: 13px; color: var(--muted); }
.foot .brand { margin-bottom: 8px; }
.skip:focus { left: 12px !important; top: 12px; z-index: 50; background: var(--card); padding: 8px 14px; border-radius: 999px; }

/* ---------------------------------------------------------------- one card style everywhere (matches the bento) */
.facts, .panel, .faq details, .sticker { border: 1px solid var(--line); box-shadow: none; border-radius: 24px; }
.sticker { padding: 18px; }
.sticker .icon { width: 40px; height: 40px; border-radius: 12px; }
.sticker h3 { font-size: 18px; }

/* ---------------------------------------------------------------- motion (light on purpose)
   Only transform animates (cheap for the browser): a few slow floats, and little hover tricks that only run
   while hovered. Below-the-fold sections skip rendering until they're scrolled near. */
.section { content-visibility: auto; contain-intrinsic-size: auto 700px; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
                    50% { transform: translateY(-9px) rotate(var(--r, 0deg)); } }
@keyframes sway { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

.avatar-ring img.avatar { animation: floaty 6s ease-in-out infinite; will-change: transform; }
.floaty { position: absolute; width: 52px; height: 52px; animation: floaty 5s ease-in-out infinite; will-change: transform; }
.floaty.f1 { top: 4%; left: -2%; --r: -10deg; animation-duration: 5.5s; }
.floaty.f2 { top: 44%; right: -6%; width: 40px; height: 40px; --r: 8deg; animation-delay: -1.8s; }
.floaty.f3 { bottom: 10%; left: 2%; width: 46px; height: 46px; --r: 6deg; animation-delay: -3.1s; animation-duration: 6.5s; }
.mini-enc .sprite { animation: floaty 3.2s ease-in-out infinite; }

.bt { transition: transform .2s ease; }
.bt:hover { transform: translateY(-5px) rotate(-.5deg); }
.bt:nth-child(even):hover { transform: translateY(-5px) rotate(.5deg); }
.bt-art.zoom img { transition: transform .7s ease; }
.bt:hover .bt-art.zoom img { transform: scale(1.35); }                 /* Who's this? zooms out on hover */
.pc { transition: transform .25s ease; }
.bt:hover .pc { transform: rotate(-12deg) translateX(-8px); }
.bt:hover .pc.tilt { transform: rotate(18deg) translateX(10px); }
.bt-art.meadow span { display: inline-block; transform-origin: 50% 100%; }
.bt:hover .bt-art.meadow span { animation: sway .7s ease-in-out infinite alternate; }
.bt:hover .bt-art.meadow span:nth-child(2) { animation-delay: -.2s; }
.bt:hover .bt-art.meadow span:nth-child(3) { animation-delay: -.4s; }
.bt:hover .bt-art.meadow span:nth-child(4) { animation-delay: -.1s; }
.bt:hover .bt-art.meadow span:nth-child(5) { animation-delay: -.5s; }
.bt-art.bubble-art .say { transition: transform .25s ease; }
.bt:hover .bt-art.bubble-art .say { transform: scale(1.05) rotate(-1deg); }
.road-line .rs b { transition: transform .25s ease; }
.bt:hover .road-line .rs b { transform: translateY(-6px); }
.bt:hover .road-line .rs:nth-child(2) b { transition-delay: .06s; }
.bt:hover .road-line .rs:nth-child(3) b { transition-delay: .12s; }
.bt:hover .road-line .rs:nth-child(4) b { transition-delay: .18s; }
.bt-art.swatches i { transition: transform .25s ease; }
.bt:hover .bt-art.swatches i { transform: translateY(-7px) scale(1.1); }
.bt:hover .bt-art.swatches i:nth-child(2) { transition-delay: .05s; }
.bt:hover .bt-art.swatches i:nth-child(3) { transition-delay: .1s; }
.bt:hover .bt-art.swatches i:nth-child(4) { transition-delay: .15s; }
.bt:hover .bt-art.swatches i:nth-child(5) { transition-delay: .2s; }
.bt.more .arrow { display: inline-block; transition: transform .25s ease; }
.bt.more:hover .arrow { transform: translateX(10px); }

/* ---------------------------------------------------------------- pinky promises */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease; }
.promise:hover { transform: translateY(-4px); }
.promise .pi { font-size: 30px; line-height: 1; display: inline-block; width: max-content; }
.promise:hover .pi { animation: wiggle .5s ease-in-out; }
.promise h3 { font-size: 17px; }
.promise p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- three hops */
.hops { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.hops .paws { align-self: center; }
@media (max-width: 760px) { .hops { grid-template-columns: 1fr; } .hops .paws { transform: rotate(90deg); justify-self: center; } }
.hop { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: transform .2s ease; }
.hop:hover { transform: translateY(-4px) rotate(-.6deg); }
.hop .num { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #FFF6F1;
  display: grid; place-items: center; font-family: var(--display); }
.hop h3 { font-size: 18px; }
.hop p { margin: 0; font-size: 14px; }
.hops .paws { font-size: 22px; opacity: .7; }

/* ---------------------------------------------------------------- FAQ as a chat with Fiz */
.faq.chat details { background: transparent; border: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.faq.chat summary { list-style: none; cursor: pointer; align-self: flex-end; max-width: 80%; background: var(--rose);
  color: #FFF6F1; border-radius: 18px 18px 4px 18px; padding: 10px 16px; font-weight: 700; transition: transform .2s ease; }
.faq.chat summary::-webkit-details-marker { display: none; }
.faq.chat summary:hover { transform: translateY(-2px); }
.faq.chat details > p { align-self: flex-start; max-width: 80%; margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px 18px 18px 4px; padding: 10px 16px 10px 52px; position: relative; }
.faq.chat details > p::before { content: ""; position: absolute; left: 12px; top: 10px; width: 30px; height: 30px;
  border-radius: 50%; background: url("/assets/img/avatar-64.png") center / cover; }
.faq.chat { gap: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.section.preview { align-items: start; }
@media (min-width: 861px) { .section.preview > header { position: sticky; top: 90px; } }

/* ---------------------------------------------------------------- 18+ blur: always blurred, every visit */
.veil { position: relative; }
.veil > .veil-body { filter: blur(7px); user-select: none; pointer-events: none; }
.veil.open > .veil-body { filter: none; user-select: auto; pointer-events: auto; }
.veil > .veil-cover { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; padding: 12px; }
.veil.open > .veil-cover { display: none; }
.veil-card { background: rgba(20, 12, 16, .82); color: #FCE7EA; border: 1px solid rgba(255, 111, 134, .45);
  border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: center;
  text-align: center; max-width: 300px; }
.veil-card b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.veil-card p { margin: 0; font-size: 13.5px; color: #D5AEB6; }
.veil-chip { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; background: rgba(20, 12, 16, .85);
  color: #FFB3BF; border: 1px solid rgba(255, 111, 134, .5); border-radius: 999px; padding: 5px 12px; }
.veil-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--card); border: 1px dashed var(--coral); border-radius: 18px; padding: 12px 16px; font-size: 14px; }

/* ---------------------------------------------------------------- nav: ↓ scrolls · → a page · ↗ leaves the site */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#features, #spicy, #faq { scroll-margin-top: 80px; }
.nav-links { align-items: center; }
.nav-links a i, .nav-cta i { font-style: normal; font-size: 12px; margin-left: 4px; opacity: .55; display: inline-block;
  transition: transform .2s ease; }
.nav-scroll { display: flex; gap: 2px; padding-right: 8px; margin-right: 4px; border-right: 1px solid var(--line); }
.nav-scroll a:hover i { transform: translateY(3px); opacity: .9; }
.nav-scroll a[aria-current] { background: var(--chip); color: var(--rose); }
.nav-page { border: 1px solid var(--line); }
.nav-page:hover i, .nav-page[aria-current] i { transform: translateX(3px); opacity: .9; }
.nav-page[aria-current] { background: var(--chip); color: var(--rose); }
.nav-ext:hover i, .nav-cta:hover i { transform: translate(2px, -2px); opacity: .9; }
.nav-cta i { opacity: .8; }

/* ---------------------------------------------------------------- hero: the animated stickers float again */
.floaty.f1 { width: 50px; height: 50px; }
.floaty.f3 { width: 50px; height: 48px; }

/* ---------------------------------------------------------------- commands page, bento style */
.cmd-hero { display: flex; flex-direction: column; gap: 10px; }
.cmd-count { align-self: flex-start; font-family: var(--mono); font-size: 13px; background: var(--chip);
  color: var(--rose); border-radius: 999px; padding: 6px 14px; }
.cmd-count b { font-family: var(--display); font-weight: 400; font-size: 15px; }
.cmd-tools .search { display: flex; align-items: center; gap: 10px; width: min(520px, 100%); background: var(--card);
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: border-color .2s ease; }
.cmd-tools .search:focus-within { border-color: var(--coral); }
.cmd-tools .search input { border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit;
  font-size: 15px; width: 100%; padding: 0; box-shadow: none; }
.cat-tabs button { transition: transform .15s ease; }
.cat-tabs button:hover { transform: translateY(-2px); }
.cmd-group h2 { font-size: 24px; }
.cmd-group h2 .ge { width: 40px; height: 40px; border-radius: 12px; background: var(--coral); display: grid;
  place-items: center; font-size: 21px; }
.cmd-group h2 .gc { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--chip);
  border-radius: 999px; padding: 3px 10px; }
.cmd-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cmd { border: 1px solid var(--line); box-shadow: none; border-radius: 22px; transition: transform .2s ease; }
.cmd:hover { transform: translateY(-4px) rotate(-.4deg); }
.cmd-list .cmd:nth-child(even):hover { transform: translateY(-4px) rotate(.4deg); }
.cmd h3 { align-items: center; }
.cmd h3 .ce { font-size: 20px; }
.cmd h3 .cn { font-family: var(--mono); font-size: 14.5px; background: var(--chip); color: var(--rose);
  border-radius: 10px; padding: 3px 9px; }
.cmd.veil > .veil-body { display: flex; flex-direction: column; gap: 8px; }
