/* ==========================================================================
   Link-in-bio page — styles
   Themes:  aurora | midnight | cloud | paper | sunset | glass | neon | forest
   Buttons: fill | outline | soft | hard | glass
   Shapes:  pill | rounded | square
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[hidden] { display: none !important; }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 30px;

  /* Theme tokens (aurora is the default) */
  --bg: linear-gradient(125deg, #6a5cff, #b84dff, #ff5e9a, #ffb35c, #6a5cff);
  --bg-size: 400% 400%;
  --bg-anim: drift 22s ease-in-out infinite;
  --card-bg: var(--bg);
  --text: #fff;
  --muted: rgba(255, 255, 255, .85);
  --accent: #fff;
  --accent-text: #1d1534;
  --line: #fff;
  --hard: #1d1534;
  --glass-bg: rgba(255, 255, 255, .16);
  --glass-border: rgba(255, 255, 255, .35);
  --surface: #ffffff;
  --surface-text: #16151c;
  --surface-muted: #6b6a75;
  --surface-line: rgba(20, 20, 30, .08);
  --theme-color: #7b5cff;
}

/* ---------- Themes ---------- */
[data-theme="midnight"] {
  --bg: radial-gradient(1100px 700px at 50% -15%, #26355a 0%, #101626 45%, #080b13 100%);
  --bg-size: cover; --bg-anim: none;
  --text: #f2f5fc; --muted: #a8b1c7;
  --accent: #19213a; --accent-text: #eef2ff;
  --line: #7c9cff; --hard: #7c9cff;
  --glass-bg: rgba(255, 255, 255, .06); --glass-border: rgba(255, 255, 255, .12);
  --surface: #141a2a; --surface-text: #f2f5fc; --surface-muted: #97a0b8; --surface-line: rgba(255, 255, 255, .09);
  --theme-color: #0b0f1a;
}
[data-theme="cloud"] {
  --bg: #eef0ec; --bg-size: cover; --bg-anim: none;
  --text: #121212; --muted: #55575c;
  --accent: #fff; --accent-text: #121212;
  --line: #121212; --hard: #121212;
  --glass-bg: rgba(255, 255, 255, .6); --glass-border: rgba(0, 0, 0, .08);
  --theme-color: #eef0ec;
}
[data-theme="paper"] {
  --bg: radial-gradient(circle at 1px 1px, rgba(0,0,0,.09) 1px, transparent 0) 0 0 / 22px 22px, #f6f1e7;
  --bg-size: auto; --bg-anim: none;
  --card-bg: #f6f1e7;
  --text: #1b1b1b; --muted: #59544b;
  --accent: #fffdf8; --accent-text: #1b1b1b;
  --line: #1b1b1b; --hard: #1b1b1b;
  --glass-bg: rgba(255, 255, 255, .55); --glass-border: rgba(0, 0, 0, .12);
  --theme-color: #f6f1e7;
}
[data-theme="sunset"] {
  --bg: linear-gradient(175deg, #ffb06b 0%, #ff6a6a 38%, #c13f8f 70%, #5b2a86 100%);
  --bg-size: cover; --bg-anim: none;
  --text: #fff; --muted: rgba(255, 255, 255, .88);
  --accent: #fff; --accent-text: #45163f;
  --line: #fff; --hard: #3a1236;
  --theme-color: #ff8a65;
}
[data-theme="glass"] {
  --bg: #15161c; --bg-size: cover; --bg-anim: none;
  --card-bg: linear-gradient(160deg, #353a4a, #14161d);
  --text: #fff; --muted: rgba(255, 255, 255, .8);
  --accent: rgba(255, 255, 255, .92); --accent-text: #15161c;
  --line: rgba(255, 255, 255, .75); --hard: #000;
  --glass-bg: rgba(255, 255, 255, .13); --glass-border: rgba(255, 255, 255, .25);
  --surface: #1c1e26; --surface-text: #f5f6fa; --surface-muted: #a0a4b3; --surface-line: rgba(255, 255, 255, .09);
  --theme-color: #15161c;
}
[data-theme="neon"] {
  --bg:
    radial-gradient(600px 420px at 10% 0%, rgba(255, 0, 170, .35), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(0, 220, 255, .28), transparent 70%),
    #07060d;
  --bg-size: cover; --bg-anim: none;
  --card-bg: linear-gradient(135deg, #2a0b3d, #07060d 60%, #003845);
  --text: #fff; --muted: #c3bfd9;
  --accent: #00e5ff; --accent-text: #07060d;
  --line: #00e5ff; --hard: #ff2bd6;
  --glass-bg: rgba(255, 255, 255, .06); --glass-border: rgba(0, 229, 255, .45);
  --surface: #120f1f; --surface-text: #f4f2ff; --surface-muted: #a49fc0; --surface-line: rgba(255, 255, 255, .09);
  --theme-color: #07060d;
}
[data-theme="forest"] {
  --bg: linear-gradient(165deg, #0e3b2c 0%, #1d6b48 55%, #9cc36a 100%);
  --bg-size: cover; --bg-anim: none;
  --text: #f4fbef; --muted: rgba(244, 251, 239, .85);
  --accent: #f4fbef; --accent-text: #0e3b2c;
  --line: #f4fbef; --hard: #082419;
  --theme-color: #0e3b2c;
}

[data-theme="winesnow"] {
  --bg: none; --bg-size: cover; --bg-anim: none;
  --page-bg: linear-gradient(180deg, #fff 0, #fdf4f5 90px, #f3cfd4 330px, #e9bcc0 52%, #d9aea9 78%, #c6a08c 100%);
  --card-bg: linear-gradient(180deg, #fbe9eb, #e6b4b9);
  --text: #121212; --muted: #4d3a3d;
  --accent: #fff; --accent-text: #121212;
  --line: #121212; --hard: #121212;
  --glass-bg: rgba(255, 255, 255, .16); --glass-border: rgba(255, 255, 255, .42);
  --label-weight: 500; --label-size: 16px;
  --theme-color: #f6dade;
}
[data-theme="winesnow"] body { background: var(--page-bg); }
[data-theme="winesnow"] .bg { display: none; }
[data-theme="winesnow"] .icon-btn { background: rgba(40, 30, 32, .38); color: #fff; }
[data-theme="winesnow"] .icon-btn:hover { background: rgba(40, 30, 32, .55); }
[data-theme="winesnow"] .topbar.is-scrolled .icon-btn { color: var(--surface-text); }
[data-theme="winesnow"] .social svg { width: 30px; height: 30px; }
[data-theme="winesnow"] .socials { gap: 12px; margin-top: 4px; }
[data-theme="winesnow"][data-button="glass"] .card { box-shadow: 0 6px 22px -14px rgba(90, 40, 50, .45); }
/* bright white text + icons on the buttons, on a wine-tinted glass so white stays readable over light pink */
[data-theme="winesnow"][data-button="glass"] {
  --btn-text: #fff;
  --glass-bg: rgba(122, 30, 68, .34);
  --glass-border: rgba(255, 255, 255, .38);
}
[data-theme="winesnow"][data-button="glass"] .card .label { text-shadow: 0 1px 2px rgba(60, 10, 30, .35); }
[data-theme="winesnow"][data-button="glass"] .card .thumb--icon { filter: drop-shadow(0 1px 2px rgba(60, 10, 30, .35)); }
[data-theme="winesnow"][data-button="glass"] .card:hover { background: rgba(122, 30, 68, .46); }

/* ---------- Shapes ---------- */
[data-shape="pill"]    { --radius: 30px; }
[data-shape="rounded"] { --radius: 14px; }
[data-shape="subtle"]  { --radius: 8px; }
[data-shape="square"]  { --radius: 4px; }

/* ---------- Button styles ---------- */
[data-button="fill"] {
  --btn-bg: var(--accent); --btn-text: var(--accent-text);
  --btn-border: 2px solid transparent; --btn-shadow: none;
}
[data-button="outline"] {
  --btn-bg: transparent; --btn-text: var(--text);
  --btn-border: 2px solid var(--line); --btn-shadow: none;
}
[data-button="soft"] {
  --btn-bg: var(--accent); --btn-text: var(--accent-text);
  --btn-border: 2px solid transparent;
  --btn-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45), 0 2px 6px -2px rgba(0, 0, 0, .18);
}
[data-button="hard"] {
  --btn-bg: var(--accent); --btn-text: var(--accent-text);
  --btn-border: 2px solid var(--hard); --btn-shadow: 5px 5px 0 var(--hard);
}
[data-button="glass"] {
  --btn-bg: var(--glass-bg); --btn-text: var(--text);
  --btn-border: 1px solid var(--glass-border);
  --btn-shadow: 0 8px 30px -12px rgba(0, 0, 0, .35);
}

/* ---------- Base ---------- */
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }

.bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: var(--bg);
  background-size: var(--bg-size);
  animation: var(--bg-anim);
}
[data-theme="glass"] .bg::before {
  content: ""; position: absolute; inset: -80px;
  background: var(--avatar-bg) center / cover no-repeat;
  filter: blur(60px) saturate(1.5);
  transform: scale(1.15);
}
[data-theme="glass"] .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
}
@keyframes drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.noscript { text-align: center; padding: 40px 20px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; z-index: 20;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 656px); height: 56px;
  padding: 0 8px; border-radius: 999px;
  display: grid; grid-template-columns: 40px 1fr 40px; align-items: center;
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.topbar.is-scrolled {
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, .25);
}
.topbar__mini {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0;
  color: var(--surface-text); font-weight: 700; font-size: 15px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.topbar__mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar.is-scrolled .topbar__mini { opacity: 1; transform: none; pointer-events: auto; }
.topbar__mini .avatar { width: 32px; height: 32px; font-size: 13px; border-width: 0; box-shadow: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  color: var(--surface-text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .15s, background-color .2s;
}
.icon-btn:hover { transform: scale(1.06); background: var(--surface); }
.icon-btn:active { transform: scale(.95); }
.icon-btn svg { width: 20px; height: 20px; }
.topbar.is-scrolled .icon-btn { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar.is-scrolled .icon-btn:hover { background: var(--surface-line); }

/* ---------- Page ---------- */
.page {
  width: 100%; max-width: 680px; margin: 0 auto;
  padding: 84px 16px calc(24px + env(safe-area-inset-bottom));
}

.profile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; flex: none;
  object-fit: cover; display: grid; place-items: center;
  font-weight: 800; font-size: 34px; color: #fff; letter-spacing: -.02em;
  background: var(--avatar-bg, #888) center / cover;
  border: 3px solid color-mix(in srgb, var(--text) 25%, transparent);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
  user-select: none;
}
.name {
  margin: 16px 0 0; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 6px;
}
.avatar--hero { background: #fff var(--avatar-bg) 50% 7% / 300% auto no-repeat; }

/* Hero header (big artwork + text logo) */
.page.has-hero { padding-top: 0; }
:root { --hero-h: 448px; }
.hero { position: relative; width: calc(100% + 32px); margin: 0 -16px; height: var(--hero-h); overflow: hidden; }
.hero__img {
  /* centred with `translate` (recomputed when the image finishes loading);
     the entrance animation only moves it vertically, so it can't freeze it off-centre */
  position: absolute; top: -8px; left: 50%; translate: -50% 0;
  height: 700px; width: auto; max-width: none;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 38%, transparent 62%);
  mask-image: linear-gradient(to bottom, #000 38%, transparent 62%);
  user-select: none; pointer-events: none;
}
.name--logo { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0; display: flex; justify-content: center; }
.name--logo img {
  width: min(94%, 520px); height: auto;
  filter: drop-shadow(0 2px 10px rgba(110, 40, 55, .28));
}
.has-hero .profile { animation: none; }
.has-hero .hero__img { animation: hero-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.has-hero .name--logo { animation: rise .6s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (min-width: 600px) {
  :root { --hero-h: 540px; }
  .hero__img { height: 840px; }
}

.verified { display: inline-grid; width: 20px; height: 20px; flex: none; }
.verified svg { width: 100%; height: 100%; }
.handle { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.bio {
  margin: 8px 0 0; max-width: 520px;
  font-size: 15px; line-height: 1.5; color: var(--muted); white-space: pre-line;
}

/* ---------- Social icons ---------- */
.socials {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.socials--bottom { margin-top: 32px; }
.social {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .2s;
}
.social svg { width: 26px; height: 26px; }
.social:hover { transform: translateY(-2px) scale(1.08); background: color-mix(in srgb, var(--text) 12%, transparent); }
.social:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* ---------- Links ---------- */
.links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.item { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
.profile { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.section-title {
  margin: 14px 0 0; text-align: center;
  font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: .01em;
}
.item:first-child .section-title { margin-top: 0; }

.card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-text);
  border: var(--btn-border); box-shadow: var(--btn-shadow);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s, background-color .2s;
}
[data-button="glass"] .card { -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.card:not(.is-open):hover { transform: scale(1.02); }
.card:not(.is-open):active { transform: scale(.985); }
[data-button="outline"] .card:hover { background: color-mix(in srgb, var(--line) 16%, transparent); }
[data-button="glass"] .card:hover { background: color-mix(in srgb, var(--glass-bg) 100%, rgba(255, 255, 255, .08)); }
[data-button="hard"] .card:not(.is-open):hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--hard); }
[data-button="hard"] .card:not(.is-open):active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--hard); }
[data-theme="neon"][data-button="outline"] .card,
[data-theme="neon"][data-button="glass"] .card { box-shadow: 0 0 22px -6px var(--line), inset 0 0 22px -14px var(--line); }
[data-theme="neon"][data-button="fill"] .card { box-shadow: 0 0 26px -6px var(--accent); }

.link {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 6px;
  color: inherit; text-decoration: none; text-align: center;
  background: none; border: 0; font: inherit; cursor: pointer;
  border-radius: inherit; -webkit-tap-highlight-color: transparent;
}
.link:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
.text { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 8px 0; }
.label { font-size: var(--label-size, 15.5px); font-weight: var(--label-weight, 600); line-height: 1.3; overflow-wrap: anywhere; }

/* Picture card (link with `image`) */
.card--feature .link { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 16px 6px; }
.feature__img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: max(calc(var(--radius) - 8px), 4px); background: rgba(255, 255, 255, .3);
}
.feature__row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; margin: 8px -10px 0; }
.card--feature .more { top: auto; bottom: 6px; right: 6px; }
.sub { font-size: 13px; font-weight: 500; opacity: .7; line-height: 1.3; }

.thumb {
  width: 44px; height: 44px; display: grid; place-items: center; position: relative;
  border-radius: max(calc(var(--radius) - 8px), 4px); overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 24px; height: 24px; }
.thumb--emoji { font-size: 24px; line-height: 1; }
.thumb__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0, 0, 0, .28); color: #fff;
}
.thumb__play svg { width: 18px; height: 18px; }

.more {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; color: inherit;
  opacity: 0; transition: opacity .2s, background-color .2s;
}
.more svg { width: 20px; height: 20px; }
.card:hover .more, .more:focus-visible { opacity: .8; }
.more:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.more:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
@media (hover: none) { .more { opacity: .6; } }

/* Embed (video / music) */
.embed { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1); }
.card.is-open .embed { grid-template-rows: 1fr; }
.embed__inner { overflow: hidden; min-height: 0; }
.card.is-open .embed__inner { padding: 0 8px 8px; }
.embed__frame {
  width: 100%; overflow: hidden; background: #000;
  border-radius: max(calc(var(--radius) - 12px), 4px);
}
.embed__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.embed__open {
  display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 4px;
  font-size: 13px; font-weight: 600; color: inherit; opacity: .75; text-decoration: none;
}
.embed__open:hover { opacity: 1; text-decoration: underline; }
.embed__open svg { width: 14px; height: 14px; }

/* Featured animations */
.anim-wobble { animation: wobble 5s ease-in-out infinite; }
.anim-pulse  { animation: pulse 2.4s ease-in-out infinite; }
.anim-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, currentColor 14%, transparent) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes wobble {
  0%, 82%, 100% { transform: none; }
  85% { transform: rotate(-2deg) scale(1.02); }
  88% { transform: rotate(2deg) scale(1.02); }
  91% { transform: rotate(-1.5deg) scale(1.02); }
  94% { transform: rotate(1deg); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* Attention jiggles — a short burst, then rest, repeating every few seconds */
.anim-tilt   { animation: jig-tilt 4s ease-in-out infinite; }
.anim-buzz   { animation: jig-buzz 3.5s linear infinite; }
.anim-hop    { animation: jig-hop 4s ease-out infinite; transform-origin: 50% 100%; }
.anim-jelly  { animation: jig-jelly 4.5s ease-in-out infinite; }
.card[class*="anim-"]:hover { animation-play-state: paused; }
@keyframes jig-tilt {          /* gentle side-to-side rock */
  0%, 22%, 100% { transform: none; }
  4%  { transform: rotate(-1.4deg); }
  8%  { transform: rotate(1.2deg); }
  12% { transform: rotate(-.9deg); }
  16% { transform: rotate(.5deg); }
  19% { transform: rotate(-.2deg); }
}
@keyframes jig-buzz {          /* quick phone-vibrate shake */
  0%, 14%, 100% { transform: none; }
  1.5% { transform: translateX(-3px); }
  3%   { transform: translateX(3px); }
  4.5% { transform: translateX(-3px); }
  6%   { transform: translateX(3px); }
  7.5% { transform: translateX(-2px); }
  9%   { transform: translateX(2px); }
  10.5%{ transform: translateX(-1px); }
  12%  { transform: translateX(1px); }
}
@keyframes jig-hop {           /* little hop with a squash on landing */
  0%, 26%, 100% { transform: none; }
  5%  { transform: translateY(0) scale(1.02, .97); }
  11% { transform: translateY(-10px) scale(.99, 1.02); }
  17% { transform: translateY(0) scale(1.02, .97); }
  21% { transform: translateY(-3px); }
  24% { transform: translateY(0); }
}
@keyframes jig-jelly {         /* wobbly jelly squish */
  0%, 24%, 100% { transform: none; }
  4%  { transform: scale(1.03, .97); }
  8%  { transform: scale(.97, 1.03); }
  12% { transform: scale(1.02, .98) skewX(-1deg); }
  16% { transform: scale(.99, 1.01) skewX(.8deg); }
  20% { transform: scale(1.005, .995); }
}
@keyframes shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -30% 0; } }

/* ---------- Poster-style backdrops (theme.backdrop / ?bg=1..5) ---------- */
body { position: relative; }
[data-backdrop]:not([data-backdrop="none"]) .links { margin-top: 46px; }
.deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: var(--deco, #c2185b); opacity: 0; transition: opacity .6s ease; }
.deco.is-ready { opacity: 1; }
.deco > * { position: absolute; }
.deco svg { display: block; width: 100%; height: 100%; }
.deco .mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.55;
  white-space: nowrap;
}
.edge-l { left: max(3px, calc(50% - 358px)); }
.edge-r { right: max(3px, calc(50% - 358px)); }

/* 01 — system grid */
[data-backdrop="grid"] {
  --deco: #c2185b;
  --page-bg: linear-gradient(180deg, #fff 0, #fdf3f5 90px, #f4cdd5 330px, #ecb9c3 55%, #dfa3b1 100%);
}
.g-grid {
  inset: 0;
  background-image: linear-gradient(rgba(194, 24, 91, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(194, 24, 91, .12) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--hero-h) - 160px), #000 calc(var(--hero-h) + 80px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--hero-h) - 160px), #000 calc(var(--hero-h) + 80px));
}
.g-rule { left: 0; right: 0; top: calc(var(--hero-h) + 62px); height: 3px; background: currentColor; opacity: .6; }
.g-l1, .g-r1 { top: calc(var(--hero-h) + 70px); opacity: .75; }
.g-l1 { left: max(14px, calc(50% - 326px)); }
.g-r1 { right: max(14px, calc(50% - 326px)); }
.reg { width: 26px; height: 26px; opacity: .6; }
.reg-tl { left: max(2px, calc(50% - 370px)); top: calc(var(--hero-h) + 110px); }
.reg-tr { right: max(2px, calc(50% - 370px)); top: calc(var(--hero-h) + 110px); }
.reg-bl { left: max(2px, calc(50% - 370px)); bottom: 30px; }
.reg-br { right: max(2px, calc(50% - 370px)); bottom: 30px; }
.g-big {
  right: max(-24px, calc(50% - 380px)); bottom: 70px;
  font-size: 260px; font-weight: 800; line-height: .8; letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .3;
}
.g-vert { left: max(2px, calc(50% - 352px)); top: calc(var(--hero-h) + 160px); writing-mode: vertical-rl; opacity: .5; }

/* 01 variations share the grid pieces above */
[data-backdrop^="grid-"] {
  --page-bg: linear-gradient(180deg, #fff 0, #fdf3f5 90px, #f4cdd5 330px, #ecb9c3 55%, #dfa3b1 100%);
}

/* 01A — engineering paper: fine minor lines + bold major lines */
[data-backdrop="grid-fine"] { --deco: #b5174f; }
[data-backdrop="grid-fine"] .g-grid {
  background-image:
    linear-gradient(rgba(181, 23, 79, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 23, 79, .2) 1px, transparent 1px),
    linear-gradient(rgba(181, 23, 79, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 23, 79, .08) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}
[data-backdrop="grid-fine"] .g-big { font-size: 190px; }
.g-scale { left: 0; right: 0; bottom: 14px; text-align: center; opacity: .55; font-size: 9px; }

/* 01B — bold: thick lines, hot pink, warning stripe, solid number */
[data-backdrop="grid-bold"] {
  --deco: #e91e63;
  --page-bg: linear-gradient(180deg, #fff 0, #fff1f5 90px, #ffc6d8 330px, #ffabc6 55%, #f78db2 100%);
}
[data-backdrop="grid-bold"] .g-grid {
  background-image: linear-gradient(rgba(233, 30, 99, .16) 2px, transparent 2px), linear-gradient(90deg, rgba(233, 30, 99, .16) 2px, transparent 2px);
  background-size: 36px 36px;
}
[data-backdrop="grid-bold"] .g-rule { height: 7px; opacity: .8; }
[data-backdrop="grid-bold"] .g-l1, [data-backdrop="grid-bold"] .g-r1 { top: calc(var(--hero-h) + 88px); }
[data-backdrop="grid-bold"] .links { margin-top: 64px; }
[data-backdrop="grid-bold"] .g-big { color: currentColor; -webkit-text-stroke: 0; opacity: .12; font-size: 300px; }
.g-stripe {
  left: 0; right: 0; top: calc(var(--hero-h) + 72px); height: 12px; opacity: .5;
  background: repeating-linear-gradient(-45deg, currentColor 0 6px, transparent 6px 12px);
}
.g-block {
  left: max(10px, calc(50% - 340px)); bottom: 110px; padding: 8px 10px;
  color: #fff; background: var(--deco); opacity: .75; font-size: 12px; line-height: 1.2;
}

/* 01C — diamond: 45° grid, outlined kana, big ring */
[data-backdrop="grid-diamond"] { --deco: #c2185b; }
[data-backdrop="grid-diamond"] .g-grid {
  background-image:
    repeating-linear-gradient(45deg, rgba(194, 24, 91, .13) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(194, 24, 91, .13) 0 1px, transparent 1px 22px);
  background-size: auto;
}
.g-kana {
  right: max(8px, calc(50% - 350px)); bottom: 110px;
  writing-mode: vertical-rl; font-size: 46px; font-weight: 800; letter-spacing: .08em;
  color: transparent; -webkit-text-stroke: 1.4px currentColor; opacity: .5;
}
.g-circle {
  width: 340px; height: 340px; left: -150px; top: calc(var(--hero-h) + 340px);
  border-radius: 50%; border: 2px solid currentColor; opacity: .25;
}

/* 01D — dot grid with plus marks */
[data-backdrop="grid-dots"] { --deco: #c2185b; }
[data-backdrop="grid-dots"] .g-grid {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M48 42v12M42 48h12' stroke='%23c2185b' stroke-width='1.6' opacity='.55'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(194, 24, 91, .32) 1.1px, transparent 1.5px);
  background-size: 96px 96px, 12px 12px;
  background-position: center top, center top;
}
.g-tag {
  right: max(14px, calc(50% - 326px)); bottom: 112px; padding: 5px 9px;
  border: 1.5px solid currentColor; border-radius: 999px; opacity: .6; font-size: 9px;
}

/* 02 — hazard */
[data-backdrop="hazard"] {
  --deco: #f2357a;
  --page-bg: linear-gradient(180deg, #fff 0, #fff2f6 90px, #ffcadb 330px, #ffb0ca 55%, #f593b6 100%);
}
.hz-dot { border-radius: 50%; background: currentColor; opacity: .13; }
.hz-d1 { width: 320px; height: 320px; right: -160px; top: calc(var(--hero-h) + 300px); }
.hz-d2 { width: 180px; height: 180px; left: -90px; bottom: 300px; }
.hz-band {
  left: -20%; right: -20%; height: 46px;
  background: repeating-linear-gradient(-45deg, currentColor 0 12px, transparent 12px 24px);
  opacity: .24; transform: rotate(-7deg);
}
.hz-b1 { top: calc(var(--hero-h) + 230px); }
.hz-b2 { bottom: 170px; height: 26px; opacity: .2; transform: rotate(5deg); }
.hz-chev { right: max(6px, calc(50% - 352px)); top: calc(var(--hero-h) + 110px); width: 18px; height: 250px; opacity: .45; }
.hz-code { left: 0; right: 0; top: calc(var(--hero-h) + 68px); text-align: center; opacity: .65; overflow: hidden; }
.hz-label {
  right: max(12px, calc(50% - 330px)); top: 150px;
  padding: 6px 9px; border: 2px solid currentColor; font-size: 8.5px;
  transform: rotate(6deg); opacity: .6; background: rgba(255, 255, 255, .35);
}

/* 03 — big type */
[data-backdrop="type"] {
  --deco: #8e1846;
  --page-bg: linear-gradient(180deg, #fff 0, #fbf0f2 90px, #efc7cf 330px, #e3acb7 55%, #c98d9c 100%);
}
.ty-v {
  top: calc(var(--hero-h) - 140px);
  font-size: 150px; font-weight: 800; line-height: .82; letter-spacing: -.04em;
  writing-mode: vertical-rl; opacity: .085;
}
.ty-l { left: max(-52px, calc(50% - 430px)); transform: rotate(180deg); }
.ty-r { right: max(-52px, calc(50% - 430px)); }
.ty-kana {
  right: max(10px, calc(50% - 344px)); bottom: 130px;
  writing-mode: vertical-rl; font-size: 40px; font-weight: 800; letter-spacing: .08em;
  color: transparent; -webkit-text-stroke: 1.4px currentColor; opacity: .5;
}
.ty-txt { left: max(14px, calc(50% - 326px)); top: calc(var(--hero-h) + 62px); opacity: .7; font-size: 9px; }
.ty-bar { left: max(14px, calc(50% - 330px)); bottom: 118px; width: 120px; height: 40px; opacity: .55; }
.ty-num { left: max(14px, calc(50% - 330px)); bottom: 100px; opacity: .6; font-size: 9px; }

/* 04 — halftone target */
[data-backdrop="target"] {
  --deco: #e0407a;
  --page-bg: linear-gradient(180deg, #fff 0, #fdf1f6 90px, #f8cde0 330px, #f2b4cf 55%, #e79bbd 100%);
}
.tg-dots {
  inset: 0;
  background-image: radial-gradient(circle, currentColor 1.15px, transparent 1.6px);
  background-size: 11px 11px; opacity: .24;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--hero-h) - 60px), #000 calc(var(--hero-h) + 380px), rgba(0, 0, 0, .35) 100%);
  mask-image: linear-gradient(to bottom, transparent calc(var(--hero-h) - 60px), #000 calc(var(--hero-h) + 380px), rgba(0, 0, 0, .35) 100%);
}
.tg-rings { width: min(150vw, 860px); aspect-ratio: 1; left: 50%; top: calc(var(--hero-h) + 120px); transform: translateX(-50%); opacity: .2; }
.tg-arrow { width: 30px; height: 46px; opacity: .5; }
.tg-a1 { left: max(4px, calc(50% - 360px)); top: calc(var(--hero-h) + 130px); }
.tg-a2 { right: max(4px, calc(50% - 360px)); bottom: 150px; }
.tg-code { left: 0; right: 0; top: calc(var(--hero-h) + 68px); text-align: center; opacity: .7; }

/* 05 — interface */
[data-backdrop="interface"] {
  --deco: #a8306a;
  --page-bg: linear-gradient(180deg, #fff 0, #fbf1f4 90px, #f1d0db 330px, #e2b4c5 55%, #c99bb1 100%);
}
.if-scan { inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 4px); }
.if-ruler {
  top: calc(var(--hero-h) + 40px); bottom: 40px; width: 14px; opacity: .45;
  background:
    repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 40px) 0 0 / 14px 100% no-repeat,
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 8px) 0 0 / 7px 100% no-repeat;
}
.if-rl { left: max(1px, calc(50% - 360px)); }
.if-rr { right: max(1px, calc(50% - 360px)); transform: scaleX(-1); }
.if-c { width: 24px; height: 24px; opacity: .65; }
.if-tl { left: max(8px, calc(50% - 334px)); top: calc(var(--hero-h) + 58px); }
.if-tr { right: max(8px, calc(50% - 334px)); top: calc(var(--hero-h) + 58px); transform: scaleX(-1); }
.if-bl { left: max(8px, calc(50% - 334px)); bottom: 30px; transform: scaleY(-1); }
.if-br { right: max(8px, calc(50% - 334px)); bottom: 30px; transform: scale(-1, -1); }
.if-t1 { left: max(38px, calc(50% - 300px)); top: calc(var(--hero-h) + 58px); opacity: .75; font-size: 9px; }
.if-t2 { right: max(38px, calc(50% - 300px)); top: calc(var(--hero-h) + 58px); opacity: .75; font-size: 9px; }
.if-bars { left: max(16px, calc(50% - 330px)); bottom: 110px; width: 110px; opacity: .5; }
.if-bars i { display: block; height: 4px; margin: 5px 0; background: currentColor; }
.if-ring {
  right: max(10px, calc(50% - 340px)); bottom: 180px; width: 110px; height: 110px;
  display: grid; place-items: center; border-radius: 50%;
  border: 2px dashed currentColor; font-size: 17px; opacity: .45;
}

/* 05 + 03 side type — variations A–E */
[data-backdrop^="iface-"] {
  --deco: #a8306a;
  --page-bg: linear-gradient(180deg, #fff 0, #fbf1f4 90px, #f1d0db 330px, #e2b4c5 55%, #c99bb1 100%);
}
/* A: straight combo — side type pulled in a little and stronger so it reads on phones */
[data-backdrop^="iface-"] .ty-v { opacity: .13; }
[data-backdrop^="iface-"] .ty-l { left: max(-34px, calc(50% - 430px)); }
[data-backdrop^="iface-"] .ty-r { right: max(-34px, calc(50% - 430px)); }

/* B: outlined side type, heavier scanlines, deeper mauve */
[data-backdrop="iface-b"] {
  --deco: #9c2a62;
  --page-bg: linear-gradient(180deg, #fff 0, #faeef3 90px, #ecc4d3 330px, #d9a3b9 55%, #b57d98 100%);
}
[data-backdrop="iface-b"] .ty-v { color: transparent; -webkit-text-stroke: 1.8px currentColor; opacity: .42; font-size: 170px; }
[data-backdrop="iface-b"] .if-scan { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 3px); }

/* C: one huge solid word on the left, outlined kana on the right */
[data-backdrop="iface-c"] {
  --deco: #d02a68;
  --page-bg: linear-gradient(180deg, #fff 0, #fbeef2 90px, #f0c6d2 330px, #dc97ae 48%, #b0567a 72%, #7a2446 88%, #5a1530 100%);
  --theme-color: #5a1530;
}
/* light text where the page turns dark wine */
[data-backdrop="iface-c"] .footer { color: rgba(255, 228, 238, .8); }
[data-backdrop="iface-c"] .if-bl, [data-backdrop="iface-c"] .if-br,
[data-backdrop="iface-c"] .if-bars, [data-backdrop="iface-c"] .ty-kana { color: #ff8db7; }
[data-backdrop="iface-c"] .ty-r { display: none; }
[data-backdrop="iface-c"] .ty-l { font-size: 200px; opacity: .18; left: max(-50px, calc(50% - 470px)); }
[data-backdrop="iface-c"] .ty-kana { right: max(10px, calc(50% - 344px)); bottom: 120px; }
[data-backdrop="iface-c"] .if-ring { display: none; }

/* D: lighter tracked side text in two scripts, HUD rings behind the links */
[data-backdrop="iface-d"] .ty-v { font-size: 62px; font-weight: 700; letter-spacing: .22em; opacity: .22; top: calc(var(--hero-h) - 40px); }
[data-backdrop="iface-d"] .ty-l { left: max(-6px, calc(50% - 390px)); }
[data-backdrop="iface-d"] .ty-r { right: max(-6px, calc(50% - 390px)); }
[data-backdrop="iface-d"] .tg-rings { opacity: .13; }

/* E: glitch — pink offset copies of the side type, REC label, glitch bars */
[data-backdrop="iface-e"] { --deco: #b8226a; }
[data-backdrop="iface-e"] .ty-v { opacity: .2; text-shadow: 6px 0 #ff6fae, -6px 0 #ffd3e4; }
.if-rec { right: max(38px, calc(50% - 300px)); top: calc(var(--hero-h) + 72px); opacity: .75; font-size: 9px; }
.if-glitch { height: 7px; background: currentColor; opacity: .16; box-shadow: 0 10px 0 -3px currentColor; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 44px; padding-bottom: 12px;
  display: grid; justify-items: center; gap: 14px;
  text-align: center; font-size: 13px; color: var(--muted);
}
.footer p { margin: 0; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700;
  background: var(--surface); color: var(--surface-text);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35);
  transition: transform .18s;
}
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn svg { width: 18px; height: 18px; }

/* ---------- Sheet / modal ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 8, 14, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet {
  width: min(calc(100% - 24px), 420px); max-height: calc(100% - 24px); overflow-y: auto;
  padding: 18px 20px 22px; border-radius: 26px;
  background: var(--surface); color: var(--surface-text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
  transform: translateY(18px) scale(.97);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sheet-backdrop.is-open .sheet { transform: none; }
@media (max-width: 560px) {
  .sheet-backdrop { align-items: flex-end; }
  .sheet {
    width: 100%; border-radius: 26px 26px 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .sheet::before {
    content: ""; display: block; width: 40px; height: 5px; border-radius: 9px;
    background: var(--surface-line); margin: -6px auto 12px;
  }
}
.sheet__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 16px; }
.sheet__head h2 { margin: 0; text-align: center; font-size: 16px; font-weight: 700; }
.sheet-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: inherit;
}
.sheet-btn:hover { background: var(--surface-line); }
.sheet-btn svg { width: 20px; height: 20px; }

.share-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px 16px 22px; border-radius: 20px; text-align: center; color: var(--text);
}
.share-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--card-bg); background-size: var(--bg-size);
}
.share-card .avatar, .share-card .share-card__img { width: 76px; height: 76px; margin-bottom: 8px; font-size: 28px; }
.share-card__img { border-radius: 18px; object-fit: cover; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.share-card strong { font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.share-card span { font-size: 13px; opacity: .85; overflow-wrap: anywhere; }

.copy-row {
  display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 14px;
  padding: 6px 6px 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--surface-line); background: transparent; color: inherit; font: inherit;
}
.copy-row:hover { border-color: color-mix(in srgb, var(--surface-text) 25%, transparent); }
.copy-row__url { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--surface-muted); }
.copy-row__btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 13px;
  background: var(--surface-text); color: var(--surface);
}
.copy-row__btn svg { width: 15px; height: 15px; }

.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; margin-top: 20px; }
.share-target {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 0; border: 0; background: none; cursor: pointer;
  color: inherit; text-decoration: none; font: inherit; font-size: 12px; font-weight: 500;
}
.share-target__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c, var(--surface-line)); color: var(--ic, #fff);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}
.share-target__icon--plain { --ic: var(--surface-text); }
.share-target__icon svg { width: 24px; height: 24px; }
.share-target:hover .share-target__icon { transform: translateY(-3px); }
.share-target:focus-visible { outline: none; }
.share-target:focus-visible .share-target__icon { outline: 2px solid var(--surface-text); outline-offset: 2px; }

.qr-box {
  width: 256px; height: 256px; margin: 4px auto 0; padding: 14px;
  display: grid; place-items: center; border-radius: 20px; background: #fff; color: #555; font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.qr-box img { width: 228px; height: 228px; image-rendering: pixelated; }
.qr-caption { margin: 12px 0 16px; text-align: center; font-size: 14px; color: var(--surface-muted); overflow-wrap: anywhere; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .15s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--surface-text); color: var(--surface); }
.btn--ghost { background: var(--surface-line); color: var(--surface-text); }
.btn-row { display: flex; gap: 10px; margin-top: 22px; }
.btn-row .btn { flex: 1; }

.warn { text-align: center; padding-top: 8px; }
.warn__icon {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: #fff1e0; color: #e07b00;
}
.warn__icon svg { width: 28px; height: 28px; }
.warn h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.warn p { margin: 0; color: var(--surface-muted); line-height: 1.5; font-size: 15px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  background: #16151c; color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #4ade80; }

/* ---------- Customizer (open the page with ?customize) ---------- */
.customizer {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 236px;
  background: var(--surface); color: var(--surface-text);
  border-radius: 18px; box-shadow: 0 16px 50px -12px rgba(0, 0, 0, .45);
  font-size: 13px;
}
.customizer summary {
  list-style: none; cursor: pointer; padding: 12px 16px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.customizer summary::-webkit-details-marker { display: none; }
.customizer summary svg { width: 16px; height: 16px; }
.customizer__body { display: grid; gap: 10px; padding: 0 16px 16px; }
.customizer label { display: grid; gap: 4px; font-weight: 600; color: var(--surface-muted); }
.customizer select {
  font: inherit; font-size: 14px; color: var(--surface-text); background: transparent;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--surface-line);
}
.customizer select option { color: #111; background: #fff; }
.customizer .btn { height: 40px; font-size: 13px; }

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