/* glass.css — stanmaxx Liquid Glass design system
   Shared by view (public profile), edit (preview), auth (login/signup) and
   the landing. Designed mobile-first; the linktree column is capped at
   --col-w (440px). */

/* Fonts for the alternate page themes (loaded once; subsets are small).
   DM Serif Display → Minuit, Caveat → Papier, Orbitron → Néon/Y2K. */
/* ── Self-hosted fonts ───────────────────────────────────────────────────────
   These used to come from fonts.googleapis.com, which meant every visitor's
   IP address was handed to Google before a single pixel of the page appeared
   — awkward next to the "no hidden tracking" promise on the home page, and a
   round trip to a third-party host on the critical path.
   The files now sit on this server. A browser downloads a face only if the
   page actually uses it, so a page on the default stack fetches none of them.
   `font-display: swap` keeps text visible while a face loads. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/nunito-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/nunito-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bebas-neue-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-600.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/caveat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/orbitron-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/orbitron-700.woff2') format('woff2');
}

:root {
  --c1: #FFE066;
  --c2: #FF8A3D;
  --c3: #FF3D7F;
  --c4: #9D2BFF;
  --motion-dur: 18s;
  --grad-angle: 180deg;
  --grad-intensity: 1;

  /* Optional flat background colour painted over the gradient. Defaults to
     transparent / hidden so pages that don't opt in keep their gradient.
     LinktreeApp sets these per-profile. */
  --bg-solid: transparent;
  --bg-solid-opacity: 0;

  --col-w: 440px;
  --pad: 22px;

  --glass-bg: rgba(255, 255, 255, 0.16);
  --glass-bg-strong: rgba(255, 255, 255, 0.28);
  --glass-stroke: rgba(255, 255, 255, 0.55);
  --glass-stroke-soft: rgba(255, 255, 255, 0.32);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 12px 32px -12px rgba(28, 8, 40, 0.32),
    0 24px 48px -24px rgba(28, 8, 40, 0.32);

  --ink: rgba(28, 8, 40, 0.92);
  --ink-soft: rgba(28, 8, 40, 0.62);
  --ink-faint: rgba(28, 8, 40, 0.42);
  --ink-on: #fff;
  --ink-on-soft: rgba(255, 255, 255, 0.78);
}

* { box-sizing: border-box; }

html, body, #root {
  margin: 0;
  min-height: 100%;
  /* Use the dynamic viewport unit when the browser supports it so the
     gradient fills the whole screen even when the mobile URL bar collapses;
     fall back to lvh / vh for older runtimes. */
  min-height: 100lvh;
  min-height: 100dvh;
}
html {
  /* This canvas is what iOS exposes during rubber-band overscroll AND what
     Safari samples to tint its top and bottom bars. It used to be painted with
     a SINGLE colour (the gradient's mid tone) while the page itself showed a
     four-stop gradient — so the bars came out orange above a yellow page top
     and below a violet page bottom. That mismatch was the visible bar.
     The "paper" theme never had the problem because its page is flat: what
     Safari sampled was exactly what the page showed.
     So the canvas now carries the SAME gradient as the page, anchored to the
     viewport the same way (background-attachment: fixed mirrors .bg's
     position: fixed). Whatever Safari samples at either edge is then exactly
     what the page paints there, for any palette and any angle — the bars melt
     at both ends, the way they already did on paper. Themes and flat
     background colours set --chrome-bg and drop the image below. */
  /* The solid colour is what paints FIRST, before the gradient image is
     composited — so it is the colour of the loading moment. Putting the
     gradient's warm mid tone here restores the orange flash the site used to
     have on load, without touching what the browser samples for its bars:
     that sampling happens on the finished paint, where the gradient covers
     this colour completely. A theme or a flat background colour still wins,
     since those pages are one solid tone by design. */
  background-color: var(--chrome-bg, var(--c2, #FF8A3D));
  /* The gradient stays here permanently, and deliberately so. Holding it back
     until the app mounted did restore the orange loading flash, but it also
     meant the canvas CHANGED COLOUR one frame in — and the browser re-tints
     its bars whenever that happens, so the bottom bar visibly shifted instead
     of sitting still. A stable canvas is worth more than the flash: the bars
     only disappear if the colour they sample never moves. */
  background-image: linear-gradient(var(--grad-angle, 180deg),
    var(--c1) 0%, var(--c2) 38%, var(--c3) 70%, var(--c4) 100%);
  background-attachment: fixed;
  background-size: cover;
  -webkit-text-size-adjust: 100%;
}
/* A theme or a flat background colour means the page is one solid tone: the
   canvas must be that tone, with no gradient underneath it. */
html[data-theme="noir"], html[data-theme="paper"], html[data-theme="neon"],
html[data-theme="y2k"], html[data-theme="pastel"], html[data-theme="nova"],
html[data-skin="nova"], html[style*="--chrome-bg"] { background-image: none; }


/* Per-theme overscroll / browser-bar colour (matches each theme's page top). */
html[data-theme="noir"]   { --chrome-bg: #11111a; }
html[data-theme="paper"]  { --chrome-bg: #f7efe2; }
html[data-theme="neon"]   { --chrome-bg: #0a1020; }
html[data-theme="y2k"]    { --chrome-bg: #b8c6ff; }
html[data-theme="pastel"] { --chrome-bg: #fdf3f7; }
html[data-theme="nova"]   { --chrome-bg: #0a0614; }
html[data-skin="nova"]    { --chrome-bg: #0a0614; }
body {
  font-family: ui-sans-serif, -apple-system, "SF Pro Text", "Helvetica Neue",
               system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  /* IMPORTANT: body MUST stay transparent. The animated gradient + blobs live
     inside .bg which uses z-index: -1 — a non-transparent body background
     would paint over them (CSS stacking spec: negative z-index passes below
     the body's own background canvas). Keeping body transparent lets the
     html fallback colour show through during overscroll while the .bg
     handles the visible gradient + motion. */
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ── Page ── */
.page {
  position: relative;
  min-height: 100%;
  min-height: 100lvh;
  min-height: 100dvh;
  width: 100%;
  isolation: isolate;
}

/* ── Background ── */
.bg {
  /* Anchored to the viewport. We deliberately use `top: 0; bottom: 0` (not
     `inset: 0`) plus the negative margin trick below so the painted gradient
     overflows behind the iOS safe areas (notch, home indicator) and any
     overscroll. */
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-base {
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(var(--grad-angle),
      var(--c1) 0%,
      var(--c2) 38%,
      var(--c3) 70%,
      var(--c4) 100%);
  filter: saturate(var(--grad-intensity));
}
/* Flat-colour layer. Sits between the gradient/blobs and the grain so that,
   when the owner picks a background colour, it covers the gradient (which is
   left intact underneath) while the grain texture stays on top for a
   consistent finish. Fades in/out via --bg-solid-opacity. */
.bg-solid {
  position: absolute;
  inset: -10%;
  background: var(--bg-solid, transparent);
  opacity: var(--bg-solid-opacity, 0);
  transition: opacity .45s ease;
  pointer-events: none;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .85;
  mix-blend-mode: screen;
  will-change: transform;
}
.bg-blob-a {
  width: 70vmax; height: 70vmax;
  left: -20vmax; top: -20vmax;
  background: radial-gradient(circle at 40% 40%, var(--c1) 0%, transparent 65%);
  animation: drift-a var(--motion-dur) ease-in-out infinite;
}
.bg-blob-b {
  width: 80vmax; height: 80vmax;
  right: -30vmax; top: 10vmax;
  background: radial-gradient(circle at 50% 50%, var(--c4) 0%, transparent 60%);
  opacity: .55;
  animation: drift-b calc(var(--motion-dur) * 1.2) ease-in-out infinite;
}
.bg-blob-c {
  width: 60vmax; height: 60vmax;
  left: 5vmax; bottom: -25vmax;
  background: radial-gradient(circle at 50% 50%, var(--c3) 0%, transparent 65%);
  opacity: .7;
  animation: drift-c calc(var(--motion-dur) * 0.9) ease-in-out infinite;
}
.bg-grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.5) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-6vmax, 4vmax, 0) scale(0.95); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(4vmax, -7vmax, 0) scale(1.06); }
}

/* ── Stage ── */
.stage {
  width: 100%;
  max-width: var(--col-w);
  margin: 0 auto;
  /* The 14px is the base top breathing-room; on iPhone the notch adds its
     safe-area inset so the header never slides under the status bar. */
  padding:
    max(14px, calc(env(safe-area-inset-top) + 8px))
    max(var(--pad), env(safe-area-inset-right))
    60px
    max(var(--pad), env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px;
  color: var(--ink-on);
}
.header-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; letter-spacing: .01em;
  font-size: 13px;
  color: var(--ink-on); text-decoration: none; cursor: pointer;
  position: relative; z-index: 3;
}
.header-mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.3),
    0 0 14px 2px rgba(255,255,255,.6);
}
.header-mark .muted { opacity: .7; font-weight: 500; }
.header-share, .header-edit-btn, .header-house {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: .5px solid var(--glass-stroke);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  color: var(--ink-on);
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  transition: transform .15s ease;
  text-decoration: none;
}
.header-share:hover, .header-edit-btn:hover, .header-house:hover { transform: translateY(-1px); }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* Share popover — opens on click of the header share button. Designed so
   "Copier le lien" is the clear, dominant primary action; native share sheet
   (if supported) is a secondary "more options" entry below. */
.header-share-wrap {
  position: relative;
  display: inline-block;
}
.share-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 268px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
          backdrop-filter: blur(28px) saturate(180%);
  border: .5px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 12px 28px -8px rgba(0,0,0,.25),
    0 24px 60px -12px rgba(0,0,0,.18);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: share-pop-in .14s ease-out;
  transform-origin: top right;
}
@keyframes share-pop-in {
  from { opacity: 0; transform: translateY(-4px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.share-pop-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 2px 2px 0;
}
.share-pop-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(0,0,0,.05);
  border-radius: 10px;
  padding: 9px 11px;
  user-select: all;
  -webkit-user-select: all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: text;
}
.share-pop-primary {
  appearance: none;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s, transform .12s;
}
.share-pop-primary:hover { transform: translateY(-1px); }
.share-pop-primary.is-copied {
  background: #1f7a3e;
  color: #fff;
}
.share-pop-primary.is-error {
  background: #b41e32;
  color: #fff;
}
.share-pop-secondary {
  appearance: none;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0;
  background: rgba(0,0,0,.05);
  color: var(--ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s;
}
.share-pop-secondary:hover { background: rgba(0,0,0,.09); }

/* ── Cover ── */
.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 8px auto 4px;
  max-width: calc(var(--col-w) - var(--pad) * 2);
}
.cover-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-stroke);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 1px 2px rgba(0,0,0,.06),
    0 30px 60px -20px rgba(28, 8, 40, 0.55),
    0 60px 120px -40px rgba(28, 8, 40, 0.4);
  /* No backdrop-filter here. The photo covers this frame opaquely, so the
     blur had nothing to reveal — but it forced Safari into a deferred
     compositing pass that landed a fraction of a second after the first
     paint, which is exactly the "sharp photo, then it dims" everyone saw. */
  /* Keeps its own stacking context. Removing the backdrop-filter also removed
     the compositing layer it implied, and in the editor — where this frame
     sits behind a translucent sheet that has its own backdrop-filter — the
     photo stopped painting. `isolation` restores the context without the
     deferred backdrop pass that was dimming the image. */
  isolation: isolate;
}
.cover-photo {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  overflow: hidden;
  transition: opacity .35s ease, transform .45s cubic-bezier(.4,0,.2,1);
}
.cover-photo svg,
.cover-photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cover-photo.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}
/* Glass gloss sheen across the top */
.cover-gloss {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  pointer-events: none;
  background:
    linear-gradient(160deg,
      rgba(255,255,255,.20) 0%,
      rgba(255,255,255,.05) 22%,
      rgba(255,255,255,0) 42%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,.08) 100%);
  /* Plain alpha rather than mix-blend-mode: overlay. A blend mode composites
     against everything in its group, which here included the frame's own
     translucent white background, so the highlight washed the photo instead
     of sitting on it. The gradient below is toned down to match what overlay
     was meant to produce. */
}
/* Inner rim — crisp white edge */
.cover-rim {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    inset 0 1px 0 rgba(255,255,255,.6);
}
/* Verified chip */
.cover-chip {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-on);
  background: rgba(0, 0, 0, 0.28);
  border: .5px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 4px 12px rgba(0,0,0,.18);
  text-transform: lowercase;
}
.cover-chip svg { color: var(--c1); }

/* Stack variant — layered cards behind */
.cover-shadow {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke-soft);
  box-shadow: 0 20px 40px -20px rgba(28,8,40,.4);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.cover-shadow-1 {
  transform: translate(-10px, 8px) rotate(-3deg);
  opacity: .9;
}
.cover-shadow-2 {
  transform: translate(14px, 16px) rotate(4deg);
  opacity: .65;
}

/* ── Bubble ── */
.bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  border: .5px solid rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(255,255,255,.2),
    0 8px 24px -8px rgba(28,8,40,.4),
    0 16px 32px -16px rgba(28,8,40,.35);
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.4,0,.2,1),
              box-shadow .25s ease;
  z-index: 2;
}
.bubble:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 12px 32px -8px rgba(28,8,40,.5),
    0 20px 40px -16px rgba(28,8,40,.4);
}
.bubble.is-active {
  background: rgba(255,255,255,.78);
}

/* Bubble shapes */
.bubble-rounded { border-radius: 22px; }
.bubble-pill    { border-radius: 999px; }
.bubble-blob {
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}

/* Bubble corners — locked to top-right rounded by product spec, kept
   flexible so the public preview can render any saved corner. */
.bubble-tr { top: -14px; right: -10px; }
.bubble-bl { bottom: -14px; left: -10px; }
.bubble-br { bottom: -14px; right: -10px; }

.bubble-thumb {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.5),
    0 2px 6px rgba(0,0,0,.2);
  flex: 0 0 auto;
}
.bubble-pill .bubble-thumb,
.bubble-blob .bubble-thumb { border-radius: 50%; }
.bubble-thumb svg,
.bubble-thumb img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}

.bubble-close {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.bubble-text {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.bubble-text span:first-child { color: var(--ink); }
.bubble-text span + span { color: var(--ink-soft); font-weight: 500; }

/* Tail — small glassy circle pointing toward cover */
.bubble-tail {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  border: .5px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.bubble-tr .bubble-tail { left: 18px;  bottom: -10px; }
.bubble-bl .bubble-tail { right: 22px; top: -10px; }
.bubble-br .bubble-tail { left: 22px;  top: -10px; }
.bubble-tail::after {
  content: "";
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.7);
  border: .5px solid rgba(255,255,255,.8);
}
.bubble-tr .bubble-tail::after { left: -8px;  bottom: -6px; }
.bubble-bl .bubble-tail::after { right: -8px; top: -6px; }
.bubble-br .bubble-tail::after { left: -8px;  top: -6px; }

/* ── Identity ── */
.identity {
  text-align: center;
  padding: 6px 8px 0;
  color: var(--ink-on);
}
.identity-name {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 2px rgba(0,0,0,.14);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1.05;
}
.identity-given {
  background: linear-gradient(180deg, #FFFBEC 0%, #FFE7B0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(60,10,40,.18));
}
/* An explicit owner-picked name color overrides the gradient fill on every
   theme. -webkit-text-fill-color beats `color`, so we must reset it here
   and drop the gradient background; we keep the soft drop-shadow so pale
   colors still read on bright backgrounds. The high-specificity selector
   ([style*=...] + attribute) wins over per-theme rules without !important. */
.identity-given[style*="--name-color"] {
  background: none;
  -webkit-text-fill-color: var(--name-color);
          text-fill-color: var(--name-color);
  color: var(--name-color);
}
html[data-theme="y2k"] .identity-given[style*="--name-color"],
html[data-theme="neon"] .identity-given[style*="--name-color"],
html[data-theme="nova"] .identity-given[style*="--name-color"] {
  background: none;
  -webkit-text-fill-color: var(--name-color);
  color: var(--name-color);
}
.identity-handle {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  opacity: .92;
}
.identity-tag {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-on-soft);
  font-weight: 500;
  text-wrap: pretty;
  text-shadow: 0 1px 2px rgba(0,0,0,.1);
}

/* ── Glass surfaces (event + links) ── */
.glass {
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--glass-shadow);
  border-radius: 22px;
  color: var(--ink-on);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg,
    rgba(255,255,255,.35) 0%,
    rgba(255,255,255,0) 40%);
  pointer-events: none;
}

/* ── Event ── */
.event {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 14px;
  margin-top: 6px;
  cursor: pointer;
  transition: transform .2s ease;
}
.event:hover { transform: translateY(-1px); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  border-radius: 16px;
  border: .5px solid rgba(255,255,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 4px 10px -4px rgba(0,0,0,.2);
  line-height: 1;
}
.event-d {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.event-m {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
  color: var(--ink-soft);
}
.event-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.event-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-on);
  opacity: .9;
  margin-bottom: 2px;
}
.event-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.event-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-on);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-sub {
  font-size: 12.5px;
  color: var(--ink-on-soft);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px 8px 14px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.95);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.2),
              inset 0 1px 0 rgba(255,255,255,.9);
  white-space: nowrap;
}

/* ── House entrance ──
   The body-level invitation into the owner's companion house. Same glass
   card shape as .event so the public page reads as one coherent surface.
   The shareable link stays unique (stanmaxx.com/pseudo); this card is the
   in-page doorway to /pseudo/house, so visitors who only have the one link
   still find the house. */
.house-entrance {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease;
}
.house-entrance:hover { transform: translateY(-1px); }
.house-entrance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  border-radius: 16px;
  border: .5px solid rgba(255,255,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 4px 10px -4px rgba(0,0,0,.2);
}
.house-entrance-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.house-entrance-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-on);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.house-entrance-sub {
  font-size: 12.5px;
  color: var(--ink-on-soft);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.house-entrance-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px 8px 14px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.95);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.2),
              inset 0 1px 0 rgba(255,255,255,.9);
  white-space: nowrap;
}

/* ── Store entrance ── (sibling of .house-entrance, same glass card shape) */
.store-entrance {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease;
}
.store-entrance:hover { transform: translateY(-1px); }
.store-entrance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  border-radius: 16px;
  border: .5px solid rgba(255,255,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 4px 10px -4px rgba(0,0,0,.2);
}
.store-entrance-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.store-entrance-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-on);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.store-entrance-sub {
  font-size: 12.5px;
  color: var(--ink-on-soft);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.store-entrance-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px 8px 14px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: .5px solid rgba(255,255,255,.95);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.2),
              inset 0 1px 0 rgba(255,255,255,.9);
  white-space: nowrap;
}

/* ── Links ── */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.link {
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.24);
}
.link-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.32);
  border: .5px solid rgba(255,255,255,.55);
  color: var(--ink-on);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.link-icon svg { width: 20px; height: 20px; }
/* A custom uploaded icon (see LinkIcon in linktree.jsx) fills the badge
   edge-to-edge instead of sitting centered like the built-in glyphs — this
   tracks whatever box .link-icon currently is, so it stays correct across
   the s/m/l data-icon-size variants and the mobile breakpoint below
   without needing a rule per variant. */
.link-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.link-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.link-label {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-on);
}
.link-sub {
  font-size: 12px;
  color: var(--ink-on-soft);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.link-arrow {
  color: var(--ink-on);
  opacity: .55;
  display: grid; place-items: center;
}

/* ── Footer ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 12px;
  font-size: 11px;
  color: var(--ink-on-soft);
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.footer .dot-sep { opacity: .55; }
.footer a { color: var(--ink-on-soft); text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: var(--ink-on); }

/* ── Heart ("leave a heart" on a link page) ── */
.heart-row {
  display: flex;
  justify-content: center;
  margin: 5px 0 2px;
}
.heart {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 13px;
  border: .5px solid var(--glass-stroke);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-on);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.heart:hover { transform: translateY(-1px); }
.heart:active { transform: translateY(0) scale(.97); }
.heart-glyph {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill .2s ease, stroke .2s ease, transform .2s ease;
}
.heart.is-on .heart-glyph { fill: #ff3d7f; stroke: #ff3d7f; }
.heart.is-pop .heart-glyph { animation: heart-pop .42s ease; }
.heart-count { font-variant-numeric: tabular-nums; min-width: 1ch; text-align: left; }
/* Read-only render inside the editor preview. */
.heart.is-static { cursor: default; }
.heart.is-static:hover { transform: none; }
@keyframes heart-pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35); }
  55%  { transform: scale(.9); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .heart.is-pop .heart-glyph { animation: none; }
}

/* ── Stan badge + favourite lyric (owner-toggled, under the profile) ── */
.stan-row { display: flex; justify-content: center; margin: 5px 0 0; }
.stan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font-size: 13px;
  line-height: 1.2;
}
.stan-star { fill: #ffd84d; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.stan-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stan-label { color: var(--ink-on-soft); font-weight: 600; }
.stan-name { font-weight: 800; }

.lyric-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 4px auto 0;
  max-width: 32ch;
  color: var(--ink-on);
  text-shadow: 0 1px 3px rgba(0,0,0,.22);
}
.lyric-note { flex: none; color: var(--ink-on-soft); }
.lyric-text {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.35;
  text-align: center;
}

/* ── Gym PRs (owner-toggled dumbbell badge + expandable card) ── */
.lifts { display: flex; flex-direction: column; align-items: center; margin: 8px 0 0; }
.lifts-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: .5px solid var(--glass-stroke);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-on);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  transition: transform .12s ease, box-shadow .15s ease;
}
.lifts-btn:hover { transform: translateY(-1px); }
.lifts-btn:active { transform: translateY(0) scale(.97); }
.lifts-dumbbell { flex: none; }
.lifts-btn-label { letter-spacing: .01em; }
.lifts-caret { flex: none; opacity: .8; transition: transform .25s ease; }
.lifts.is-open .lifts-caret { transform: rotate(180deg); }
/* Collapsible card. We animate max-height + opacity for a smooth reveal. */
.lifts-panel {
  width: 100%;
  max-width: 320px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease, margin-top .25s ease;
}
.lifts.is-open .lifts-panel {
  max-height: 420px;
  opacity: 1;
  margin-top: 10px;
}
.lifts-list {
  list-style: none;
  margin: 0;
  padding: 6px 4px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
}
.lifts-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-top: .5px solid rgba(255,255,255,.14);
  font-size: 14px;
}
.lifts-item:first-child { border-top: 0; }
.lifts-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lifts-val { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ── Empty state placeholder photos ── */
.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,
    rgba(255,255,255,.3) 0%,
    rgba(255,255,255,.1) 100%);
  display: grid; place-items: center;
  color: var(--ink-on-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── Mobile tuning ── */
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .stage {
    padding:
      max(10px, calc(env(safe-area-inset-top) + 6px))
      max(var(--pad), env(safe-area-inset-right))
      44px
      max(var(--pad), env(safe-area-inset-left));
    gap: 14px;
  }
  .header-mark { font-size: 12.5px; }
  .cover { margin-top: 4px; }
  .cover-frame { border-radius: 28px; }
  .cover-photo { inset: 5px; border-radius: 23px; }
  .cover-rim, .cover-gloss { inset: 5px; border-radius: 23px; }
  .cover-chip { left: 12px; bottom: 12px; padding: 5px 9px 5px 7px; font-size: 10.5px; }
  .identity { padding-top: 2px; }
  .identity-name { font-size: 26px; }
  .identity-handle { font-size: 26px; }
  .identity-tag { font-size: 12.5px; }
  .event { grid-template-columns: 50px 1fr auto; gap: 12px; padding: 12px; }
  .event-date { width: 50px; height: 50px; border-radius: 14px; }
  .event-d { font-size: 21px; }
  .event-title { font-size: 15px; }
  .event-sub { font-size: 12px; }
  .event-cta { padding: 7px 11px 7px 13px; font-size: 11.5px; }
  .links { gap: 8px; }
  .link { grid-template-columns: 38px 1fr 22px; gap: 10px; padding: 11px 12px; min-height: 60px; }
  .link-icon { width: 38px; height: 38px; border-radius: 13px; }
  .link-icon svg { width: 18px; height: 18px; }
  .link-label { font-size: 14px; }
  .link-sub { font-size: 11.5px; }
  .bubble { padding: 7px 12px 7px 7px; gap: 9px; }
  .bubble-thumb { width: 32px; height: 32px; border-radius: 12px; }
  .bubble-text { font-size: 11.5px; }
  .footer { padding-top: 18px; font-size: 10.5px; }
}
@media (max-width: 360px) {
  .identity-name, .identity-handle { font-size: 23px; }
  .cover-frame { border-radius: 24px; }
}

/* Honour the iPhone safe-area */
.stage {
  padding-bottom: max(60px, env(safe-area-inset-bottom));
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .bg-blob { animation: none !important; }
  .event-pulse { animation: none !important; }
}

/* ── Zodiac badge (owner-toggled, under the profile) ── */
.zodiac-row { display: flex; justify-content: center; margin: 5px 0 0; }
.zodiac-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font-size: 12.5px;
  line-height: 1.2;
}
.zodiac-glyph {
  font-size: 15px;
  line-height: 1;
  background: linear-gradient(135deg, #c9b2ff, #8ec9ff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
}
.zodiac-name { font-weight: 700; text-transform: capitalize; }

/* ── Articles (owner-written, under the links) ── */
.articles { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.articles-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-on-soft);
  text-align: center;
  margin-bottom: 2px;
}
.article-card {
  border-radius: 18px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.article-head {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink-on);
  font: inherit;
  text-align: left;
}
.article-headtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.article-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.article-date { font-size: 11.5px; color: var(--ink-on-soft); font-weight: 500; }
.article-caret { flex: none; opacity: .7; transition: transform .25s ease; }
.article-card.is-open .article-caret { transform: rotate(180deg); }
.article-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  padding: 0 15px;
}
.article-card.is-open .article-body {
  max-height: 4000px;
  opacity: 1;
  padding-bottom: 14px;
}
.article-body p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-on);
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.article-body p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════════════════
   PAGE THEMES
   "glass" (default) is everything above. Each alternate theme is a complete
   look: background, photo frame, typography, pills and link buttons. Themes
   key off html[data-theme="…"], set by linktree.jsx from profile.theme.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Thème MINUIT (noir) — dark luxe, champagne gold, editorial serif ── */
html[data-theme="noir"] {
  --glass-bg: rgba(255,255,255,.045);
  --glass-bg-strong: rgba(255,255,255,.07);
  --glass-stroke: rgba(212,175,55,.38);
  --glass-shadow: 0 14px 38px -16px rgba(0,0,0,.85);
  --ink-on: #f3ead7;
  --ink-on-soft: rgba(243,234,215,.62);
}
html[data-theme="noir"] .bg-base {
  background:
    radial-gradient(120% 90% at 50% 0%, #1b1b22 0%, #0c0c10 55%, #060608 100%);
  filter: none;
}
html[data-theme="noir"] .bg-blob { display: none; }
html[data-theme="noir"] .bg-solid { display: none; }
html[data-theme="noir"] .cover-frame {
  border-radius: 18px;
  background: #0c0c10;
  border: 1px solid rgba(212,175,55,.55);
  box-shadow:
    inset 0 0 0 5px #0c0c10,
    inset 0 0 0 6px rgba(212,175,55,.35),
    0 30px 70px -24px rgba(0,0,0,.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="noir"] .cover-gloss { opacity: .25; }
html[data-theme="noir"] .identity-given {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: .015em;
}
html[data-theme="noir"] .identity-handle { color: rgba(212,175,55,.8); }
html[data-theme="noir"] .glass,
html[data-theme="noir"] .link,
html[data-theme="noir"] .article-card,
html[data-theme="noir"] .stan-badge,
html[data-theme="noir"] .zodiac-badge,
html[data-theme="noir"] .heart,
html[data-theme="noir"] .lifts-btn,
html[data-theme="noir"] .lifts-list {
  background: rgba(255,255,255,.045);
  border-color: rgba(212,175,55,.38);
}
html[data-theme="noir"] .link:hover { background: rgba(212,175,55,.12); }
html[data-theme="noir"] .link-icon {
  background: rgba(212,175,55,.14);
  border-color: rgba(212,175,55,.4);
  box-shadow: none;
  border-radius: 10px;
}
html[data-theme="noir"] .stan-star { fill: #d4af37; }
html[data-theme="noir"] .zodiac-glyph {
  background: linear-gradient(135deg, #f0d98c, #d4af37);
  -webkit-background-clip: text; background-clip: text;
}

/* ── Thème PAPIER — scrapbook crème, polaroid penché, écriture manuscrite ── */
html[data-theme="paper"] {
  --glass-bg: rgba(255,255,255,.78);
  --glass-bg-strong: rgba(255,255,255,.92);
  --glass-stroke: rgba(60,45,30,.16);
  --glass-shadow: 0 8px 20px -10px rgba(60,45,30,.28);
  --ink-on: #3d3228;
  --ink-on-soft: rgba(61,50,40,.6);
}
html[data-theme="paper"] .bg-base {
  background:
    radial-gradient(140% 100% at 50% 0%, #f7efe2 0%, #efe3cf 60%, #e8d9c0 100%);
  filter: none;
}
html[data-theme="paper"] .bg-blob { display: none; }
html[data-theme="paper"] .bg-solid { display: none; }
html[data-theme="paper"] .bg-grain { opacity: .5; }
html[data-theme="paper"] .cover { max-width: calc(var(--col-w) - var(--pad) * 2 - 14px); }
html[data-theme="paper"] .cover-frame {
  border-radius: 4px;
  background: #fffdf8;
  border: 0;
  box-shadow:
    inset 0 0 0 12px #fffdf8,
    0 1px 2px rgba(60,45,30,.18),
    0 18px 38px -14px rgba(60,45,30,.45);
  transform: rotate(-1.6deg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="paper"] .cover-photo { inset: 12px; border-radius: 2px; overflow: hidden; }
html[data-theme="paper"] .cover-gloss,
html[data-theme="paper"] .cover-rim { display: none; }
/* A piece of "tape" over the polaroid's top edge. */
html[data-theme="paper"] .cover::after {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  width: 92px; height: 26px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(255,244,200,.75);
  border-left: 1px dashed rgba(60,45,30,.18);
  border-right: 1px dashed rgba(60,45,30,.18);
  box-shadow: 0 1px 3px rgba(60,45,30,.18);
  pointer-events: none;
}
html[data-theme="paper"] .identity-given {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.35em;
  font-weight: 600;
}
html[data-theme="paper"] .glass,
html[data-theme="paper"] .link,
html[data-theme="paper"] .article-card,
html[data-theme="paper"] .stan-badge,
html[data-theme="paper"] .zodiac-badge,
html[data-theme="paper"] .heart,
html[data-theme="paper"] .lifts-btn,
html[data-theme="paper"] .lifts-list {
  background: rgba(255,253,248,.9);
  border: 1px solid rgba(60,45,30,.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 0 rgba(60,45,30,.12), 0 10px 22px -14px rgba(60,45,30,.3);
}
html[data-theme="paper"] .link { border-radius: 12px; }
html[data-theme="paper"] .link:hover { background: #fff; }
html[data-theme="paper"] .link-icon {
  background: #f3e8d5;
  border-color: rgba(60,45,30,.14);
  box-shadow: none;
  border-radius: 8px;
}
html[data-theme="paper"] .lyric-row { color: #3d3228; text-shadow: none; }

/* ── Thème NÉON — nuit bleutée, contours qui irradient cyan/rose ── */
html[data-theme="neon"] {
  --neon-a: #19e6ff;
  --neon-b: #ff3da6;
  --glass-bg: rgba(10,16,32,.66);
  --glass-bg-strong: rgba(10,16,32,.8);
  --glass-stroke: rgba(25,230,255,.45);
  --glass-shadow: 0 0 18px rgba(25,230,255,.18), 0 14px 34px -16px rgba(0,0,0,.8);
  --ink-on: #eafcff;
  --ink-on-soft: rgba(234,252,255,.62);
}
html[data-theme="neon"] .bg-base {
  background:
    radial-gradient(100% 80% at 80% 0%, #14223f 0%, #0a1020 50%, #05070f 100%);
  filter: none;
}
html[data-theme="neon"] .bg-blob { display: none; }
html[data-theme="neon"] .bg-solid { display: none; }
html[data-theme="neon"] .cover-frame {
  border-radius: 22px;
  background: #0a1020;
  border: 1px solid var(--neon-a);
  box-shadow:
    0 0 10px rgba(25,230,255,.55),
    0 0 34px rgba(25,230,255,.22),
    inset 0 0 16px rgba(25,230,255,.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="neon"] .identity-given {
  font-family: "Orbitron", "Avenir Next", sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(25,230,255,.55);
}
html[data-theme="neon"] .identity-handle { color: var(--neon-b); text-shadow: 0 0 10px rgba(255,61,166,.5); }
html[data-theme="neon"] .glass,
html[data-theme="neon"] .link,
html[data-theme="neon"] .article-card,
html[data-theme="neon"] .stan-badge,
html[data-theme="neon"] .zodiac-badge,
html[data-theme="neon"] .heart,
html[data-theme="neon"] .lifts-btn,
html[data-theme="neon"] .lifts-list {
  background: rgba(10,16,32,.66);
  border-color: rgba(25,230,255,.45);
  box-shadow: 0 0 14px rgba(25,230,255,.14);
}
html[data-theme="neon"] .link:hover {
  background: rgba(25,230,255,.1);
  box-shadow: 0 0 18px rgba(25,230,255,.32);
}
html[data-theme="neon"] .link-icon {
  background: rgba(25,230,255,.1);
  border-color: rgba(25,230,255,.4);
  color: var(--neon-a);
  box-shadow: none;
}
html[data-theme="neon"] .heart.is-on .heart-glyph { fill: var(--neon-b); stroke: var(--neon-b); }
html[data-theme="neon"] .stan-star { fill: var(--neon-a); }
html[data-theme="neon"] .zodiac-glyph {
  background: linear-gradient(135deg, var(--neon-a), var(--neon-b));
  -webkit-background-clip: text; background-clip: text;
}

/* ── Thème Y2K — chrome métallique, bords blancs épais, stickers ── */
html[data-theme="y2k"] {
  --glass-bg: rgba(255,255,255,.5);
  --glass-bg-strong: rgba(255,255,255,.66);
  --glass-stroke: rgba(255,255,255,.95);
  --glass-shadow: 0 10px 26px -12px rgba(70,40,160,.45);
  --ink-on: #2a1a55;
  --ink-on-soft: rgba(42,26,85,.62);
}
html[data-theme="y2k"] .bg-base {
  background:
    linear-gradient(160deg, #b8c6ff 0%, #e3b8ff 30%, #ffb8e1 55%, #b8f4ff 85%, #c9b8ff 100%);
  filter: none;
}
html[data-theme="y2k"] .bg-blob { display: none; }
html[data-theme="y2k"] .bg-solid { display: none; }
html[data-theme="y2k"] .cover-frame {
  border-radius: 28px;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #e8ecff, #fde8ff);
  box-shadow:
    0 0 0 1px rgba(70,40,160,.18),
    0 22px 50px -18px rgba(70,40,160,.55);
  transform: rotate(1.2deg);
}
html[data-theme="y2k"] .identity-given {
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-weight: 700;
  background: linear-gradient(110deg, #6a5cff 0%, #c44dff 45%, #ff4dc0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
html[data-theme="y2k"] .glass,
html[data-theme="y2k"] .link,
html[data-theme="y2k"] .article-card,
html[data-theme="y2k"] .stan-badge,
html[data-theme="y2k"] .zodiac-badge,
html[data-theme="y2k"] .heart,
html[data-theme="y2k"] .lifts-btn,
html[data-theme="y2k"] .lifts-list {
  background: rgba(255,255,255,.5);
  border: 2px solid #fff;
}
html[data-theme="y2k"] .link { border-radius: 18px; }
html[data-theme="y2k"] .link:nth-child(odd) { transform: rotate(-.5deg); }
html[data-theme="y2k"] .link:nth-child(even) { transform: rotate(.5deg); }
html[data-theme="y2k"] .link:hover { transform: rotate(0) translateY(-1px); background: rgba(255,255,255,.72); }
html[data-theme="y2k"] .link-icon {
  background: linear-gradient(135deg, #d7dcff, #ffd9f4);
  border: 1.5px solid #fff;
  border-radius: 12px;
}

/* ── Thème PASTEL — crème douce, gros arrondis, ombres mousseuses ── */
html[data-theme="pastel"] {
  --glass-bg: rgba(255,255,255,.82);
  --glass-bg-strong: rgba(255,255,255,.94);
  --glass-stroke: rgba(186,148,222,.3);
  --glass-shadow: 0 10px 24px -14px rgba(186,148,222,.45);
  --ink-on: #5b4a6b;
  --ink-on-soft: rgba(91,74,107,.6);
}
html[data-theme="pastel"] .bg-base {
  background:
    radial-gradient(110% 90% at 30% 0%, #fdf3f7 0%, #f4ecfb 45%, #eaf4fb 100%);
  filter: none;
}
html[data-theme="pastel"] .bg-blob { display: none; }
html[data-theme="pastel"] .bg-solid { display: none; }
html[data-theme="pastel"] .cover-frame {
  border-radius: 46px;
  border: 0;
  background: #fff;
  box-shadow:
    inset 0 0 0 8px #fff,
    inset 0 0 0 9px rgba(186,148,222,.25),
    0 24px 50px -22px rgba(186,148,222,.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="pastel"] .cover-photo { border-radius: 38px; overflow: hidden; }
html[data-theme="pastel"] .glass,
html[data-theme="pastel"] .link,
html[data-theme="pastel"] .article-card,
html[data-theme="pastel"] .stan-badge,
html[data-theme="pastel"] .zodiac-badge,
html[data-theme="pastel"] .heart,
html[data-theme="pastel"] .lifts-btn,
html[data-theme="pastel"] .lifts-list {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(186,148,222,.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="pastel"] .link { border-radius: 22px; }
html[data-theme="pastel"] .link:hover { background: #fff; }
html[data-theme="pastel"] .link-icon {
  background: linear-gradient(135deg, #fbe7f1, #e9e2fb);
  border-color: rgba(186,148,222,.25);
  box-shadow: none;
  border-radius: 16px;
}
html[data-theme="pastel"] .lyric-row { color: #5b4a6b; text-shadow: none; }
html[data-theme="pastel"] .heart.is-on .heart-glyph { fill: #f08bb8; stroke: #f08bb8; }

/* ── Photo focal point ──
   The main photo always COVERS its frame (object-fit: cover → never any
   empty space, whatever the original aspect ratio). The owner-set focal
   point only shifts which part of the photo is visible. */
.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos-x, 50%) var(--photo-pos-y, 50%);
  /* iPhone photos carry an HDR gain map. Safari paints them at full headroom
     first, then applies tone mapping a beat later — the image visibly dims
     about a second after it appears, every time it is decoded, which is why
     it happened again on each bubble flip and only ever to the picture, never
     to its frame. Asking for the standard range up front means the first
     paint is already the final one, so there is nothing left to settle into.
     Unsupported browsers ignore the property and keep today's behaviour. */
  dynamic-range-limit: standard;
}

/* ── Theme polish ── */
/* Paper: the polaroid carries its own shadow; the liquid-glass shadow
   layers underneath looked like a smudge. */
html[data-theme="paper"] .cover-shadow,
html[data-theme="paper"] .cover-shadow-1,
html[data-theme="paper"] .cover-shadow-2 { display: none; }
html[data-theme="paper"] .heart.is-on .heart-glyph { fill: #c96f4a; stroke: #c96f4a; }
/* Noir: keep the lyric crisp on the dark ground. */
html[data-theme="noir"] .lyric-note { color: rgba(212,175,55,.75); }
/* Y2K: soften the sticker tilt on the frame so the bubble never clips. */
html[data-theme="y2k"] .cover-frame { transform: rotate(.8deg); }
html[data-theme="y2k"] .heart.is-on .heart-glyph { fill: #ff4dc0; stroke: #ff4dc0; }
/* Neon: a touch less grain so the glow stays clean. */
html[data-theme="neon"] .bg-grain { opacity: .35; }

/* ════════════════════════════════════════════════════════════════════════
   THEME ACCENTS
   Each theme offers curated colour variants. The default accent is the
   theme's base look (no data-accent attribute). When data-accent is set,
   --acc drives the visible accent surfaces via color-mix.
   ════════════════════════════════════════════════════════════════════════ */

/* Accent palettes */
html[data-theme="noir"][data-accent="gold"]   { --acc: #d4af37; }
html[data-theme="noir"][data-accent="silver"] { --acc: #c8cdd8; }
html[data-theme="noir"][data-accent="rose"]   { --acc: #e8a4b8; }
html[data-theme="paper"][data-accent="cream"] { --acc: #d9c49a; }
html[data-theme="paper"][data-accent="sage"]  { --acc: #9caf88; }
html[data-theme="paper"][data-accent="blush"] { --acc: #e7b8c2; }
html[data-theme="neon"][data-accent="cyan"]   { --acc: #19e6ff; }
html[data-theme="neon"][data-accent="violet"] { --acc: #b44dff; }
html[data-theme="neon"][data-accent="green"]  { --acc: #4dff88; }
html[data-theme="y2k"][data-accent="lilac"]   { --acc: #c9b8ff; }
html[data-theme="y2k"][data-accent="sky"]     { --acc: #9cd2ff; }
html[data-theme="y2k"][data-accent="candy"]   { --acc: #ffb8e1; }
html[data-theme="pastel"][data-accent="lavender"] { --acc: #ba94de; }
html[data-theme="pastel"][data-accent="peach"]    { --acc: #f5b89a; }
html[data-theme="pastel"][data-accent="mint"]     { --acc: #9ad4b8; }

/* Noir accents */
html[data-theme="noir"][data-accent] {
  --glass-stroke: color-mix(in srgb, var(--acc) 38%, transparent);
}
html[data-theme="noir"][data-accent] .glass,
html[data-theme="noir"][data-accent] .link,
html[data-theme="noir"][data-accent] .article-card,
html[data-theme="noir"][data-accent] .stan-badge,
html[data-theme="noir"][data-accent] .zodiac-badge,
html[data-theme="noir"][data-accent] .heart,
html[data-theme="noir"][data-accent] .lifts-btn,
html[data-theme="noir"][data-accent] .lifts-list {
  border-color: color-mix(in srgb, var(--acc) 38%, transparent);
}
html[data-theme="noir"][data-accent] .cover-frame {
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow:
    inset 0 0 0 5px #0c0c10,
    inset 0 0 0 6px color-mix(in srgb, var(--acc) 35%, transparent),
    0 30px 70px -24px rgba(0,0,0,.9);
}
html[data-theme="noir"][data-accent] .identity-handle { color: color-mix(in srgb, var(--acc) 80%, transparent); }
html[data-theme="noir"][data-accent] .link:hover { background: color-mix(in srgb, var(--acc) 12%, transparent); }
html[data-theme="noir"][data-accent] .link-icon {
  background: color-mix(in srgb, var(--acc) 14%, transparent);
  border-color: color-mix(in srgb, var(--acc) 40%, transparent);
}
html[data-theme="noir"][data-accent] .stan-star { fill: var(--acc); }
html[data-theme="noir"][data-accent] .lyric-note { color: color-mix(in srgb, var(--acc) 75%, transparent); }
html[data-theme="noir"][data-accent] .zodiac-glyph {
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 55%, #fff), var(--acc));
  -webkit-background-clip: text; background-clip: text;
}

/* Paper accents (subtle: tape, icons, heart) */
html[data-theme="paper"][data-accent] .cover::after {
  background: color-mix(in srgb, var(--acc) 40%, #fff8e6);
}
html[data-theme="paper"][data-accent] .link-icon {
  background: color-mix(in srgb, var(--acc) 28%, #fff);
}
html[data-theme="paper"][data-accent] .heart.is-on .heart-glyph {
  fill: color-mix(in srgb, var(--acc) 80%, #6b4226);
  stroke: color-mix(in srgb, var(--acc) 80%, #6b4226);
}
html[data-theme="paper"][data-accent] .stan-star { fill: color-mix(in srgb, var(--acc) 85%, #6b4226); }

/* Neon accents (the glow colour) */
html[data-theme="neon"][data-accent] {
  --neon-a: var(--acc);
  --glass-stroke: color-mix(in srgb, var(--acc) 45%, transparent);
  --glass-shadow: 0 0 18px color-mix(in srgb, var(--acc) 18%, transparent), 0 14px 34px -16px rgba(0,0,0,.8);
}
html[data-theme="neon"][data-accent] .glass,
html[data-theme="neon"][data-accent] .link,
html[data-theme="neon"][data-accent] .article-card,
html[data-theme="neon"][data-accent] .stan-badge,
html[data-theme="neon"][data-accent] .zodiac-badge,
html[data-theme="neon"][data-accent] .heart,
html[data-theme="neon"][data-accent] .lifts-btn,
html[data-theme="neon"][data-accent] .lifts-list {
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--acc) 14%, transparent);
}
html[data-theme="neon"][data-accent] .cover-frame {
  border-color: var(--acc);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--acc) 55%, transparent),
    0 0 34px color-mix(in srgb, var(--acc) 22%, transparent),
    inset 0 0 16px color-mix(in srgb, var(--acc) 16%, transparent);
}
html[data-theme="neon"][data-accent] .identity-given {
  text-shadow: 0 0 12px color-mix(in srgb, var(--acc) 55%, transparent);
}
html[data-theme="neon"][data-accent] .link:hover {
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 32%, transparent);
}
html[data-theme="neon"][data-accent] .link-icon {
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  border-color: color-mix(in srgb, var(--acc) 40%, transparent);
  color: var(--acc);
}
html[data-theme="neon"][data-accent] .stan-star { fill: var(--acc); }
html[data-theme="neon"][data-accent] .zodiac-glyph {
  background: linear-gradient(135deg, var(--acc), var(--neon-b));
  -webkit-background-clip: text; background-clip: text;
}

/* Y2K accents (background mood + icon tint) */
html[data-theme="y2k"][data-accent="sky"] .bg-base {
  background: linear-gradient(160deg, #b8e2ff 0%, #b8c6ff 30%, #d6b8ff 60%, #b8f4ff 90%, #c2dcff 100%);
}
html[data-theme="y2k"][data-accent="candy"] .bg-base {
  background: linear-gradient(160deg, #ffd6ec 0%, #ffb8e1 30%, #e3b8ff 60%, #ffe3f2 90%, #ffc9e6 100%);
}
html[data-theme="y2k"][data-accent] .link-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 35%, #fff), #fff);
}
html[data-theme="y2k"][data-accent] .heart.is-on .heart-glyph {
  fill: color-mix(in srgb, var(--acc) 65%, #c4309a);
  stroke: color-mix(in srgb, var(--acc) 65%, #c4309a);
}

/* Pastel accents (ring + strokes + icons) */
html[data-theme="pastel"][data-accent] {
  --glass-stroke: color-mix(in srgb, var(--acc) 30%, transparent);
  --glass-shadow: 0 10px 24px -14px color-mix(in srgb, var(--acc) 45%, transparent);
}
html[data-theme="pastel"][data-accent] .glass,
html[data-theme="pastel"][data-accent] .link,
html[data-theme="pastel"][data-accent] .article-card,
html[data-theme="pastel"][data-accent] .stan-badge,
html[data-theme="pastel"][data-accent] .zodiac-badge,
html[data-theme="pastel"][data-accent] .heart,
html[data-theme="pastel"][data-accent] .lifts-btn,
html[data-theme="pastel"][data-accent] .lifts-list {
  border-color: color-mix(in srgb, var(--acc) 28%, transparent);
}
html[data-theme="pastel"][data-accent] .cover-frame {
  box-shadow:
    inset 0 0 0 8px #fff,
    inset 0 0 0 9px color-mix(in srgb, var(--acc) 25%, transparent),
    0 24px 50px -22px color-mix(in srgb, var(--acc) 60%, transparent);
}
html[data-theme="pastel"][data-accent] .link-icon {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--acc) 14%, #fff),
    color-mix(in srgb, var(--acc) 26%, #fff));
  border-color: color-mix(in srgb, var(--acc) 25%, transparent);
}
html[data-theme="pastel"][data-accent] .heart.is-on .heart-glyph {
  fill: color-mix(in srgb, var(--acc) 85%, #b06090);
  stroke: color-mix(in srgb, var(--acc) 85%, #b06090);
}
html[data-theme="pastel"][data-accent] .zodiac-glyph {
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 50%, #fff), var(--acc));
  -webkit-background-clip: text; background-clip: text;
}

/* ── Social row: heart + follow side by side under the profile ── */
.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 5px 0 2px;
}
.social-row .heart-row { margin: 0; }
.follow {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: .5px solid var(--glass-stroke);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease;
}
.follow:hover { transform: translateY(-1px); }
.follow:active { transform: translateY(0) scale(.97); }
.follow.is-on {
  background: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,.7);
}
.follow-count {
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  opacity: .75;
}

/* ── Pronouns pill (owner-toggled, right under the name) ── */
.pronouns-row { display: flex; justify-content: center; margin: 2px 0 0; }
.pronouns-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  color: var(--ink-on-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ── Sports badges (owner-toggled row of pills with a medal) ── */
.sports-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px auto 0;
  max-width: 100%;
}
.sports-medal { flex: none; color: var(--ink-on-soft); }
.sports-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font-size: 11.5px;
  font-weight: 700;
}

/* ── Display-name font styles ──
   Chosen independently of the theme; "auto" has no rule here, so the
   theme's own typography applies. These sit at the end of the file so
   they win over theme rules at equal specificity. */
html[data-name-style="classic"] .identity-given {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
html[data-name-style="serif"] .identity-given {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: .01em;
}
html[data-name-style="script"] .identity-given {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: 0;
}
html[data-name-style="tech"] .identity-given {
  font-family: "Orbitron", "Avenir Next", sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ── Supporter badge (World Cup flag, owner-toggled) ── */
.supporter-row { display: flex; justify-content: center; margin: 5px 0 0; }
.supporter-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font-size: 12.5px;
  line-height: 1.2;
}
.supporter-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  flex: none;
}
.supporter-label { color: var(--ink-on-soft); font-weight: 600; }
.supporter-name {
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Top forecaster badge (awarded to the predictions podium) ── */
.supporter-badge { text-decoration: none; }
a.supporter-badge { cursor: pointer; transition: transform .12s ease; }
a.supporter-badge:hover { transform: translateY(-1px); }
.wcbadge-row { display: flex; justify-content: center; margin: 5px 0 0; }
.wcbadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: .5px solid;
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}
a.wcbadge { cursor: pointer; transition: transform .12s ease; }
a.wcbadge:hover { transform: translateY(-1px); }
.wcbadge.rank-1 {
  background: rgba(255,216,77,.3);
  border-color: rgba(255,216,77,.6);
}
.wcbadge.rank-1 .wcbadge-trophy { color: #b8860b; }
.wcbadge.rank-2 {
  background: rgba(208,214,224,.34);
  border-color: rgba(208,214,224,.65);
}
.wcbadge.rank-2 .wcbadge-trophy { color: #6e7787; }
.wcbadge.rank-3 {
  background: rgba(214,148,88,.3);
  border-color: rgba(214,148,88,.6);
}
.wcbadge.rank-3 .wcbadge-trophy { color: #8c4f1f; }
.wcbadge-trophy { flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.wcbadge-label { font-weight: 700; }
.wcbadge-rank { font-weight: 800; }

/* ── Footer nav links (Discover / Pronos, flag-gated) ── */
.footer-nav {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.footer-nav:hover { text-decoration: underline; }

/* ── Sport pills with icons ── */
.sports-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sports-pill .sport-ico { flex: none; opacity: .85; }

/* ── Profile predictions badge ("Pronos") ── */
.wcpreds { display: flex; flex-direction: column; align-items: center; margin: 5px 0 0; }
.wcpreds-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .12s ease;
}
.wcpreds-btn:hover { transform: translateY(-1px); }
.wcpreds-count {
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: .5px solid rgba(255,255,255,.4);
}
.wcpreds-panel {
  width: min(340px, 100%);
  margin-top: 8px;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  color: var(--ink-on);
}
.wcpreds-totals {
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 8px;
}
.wcpreds-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-top: .5px solid rgba(255,255,255,.22);
  font-size: 12px;
}
.wcpreds-flag {
  width: 19px; height: 13px;
  object-fit: cover;
  border-radius: 2.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  flex: none;
}
.wcpreds-score { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 28px; text-align: center; }
.wcpreds-my { flex: 1; text-align: right; color: var(--ink-on-soft); font-weight: 600; white-space: nowrap; }
.wcpreds-pts {
  flex: none;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: .5px solid rgba(255,255,255,.35);
}
.wcpreds-pts.is-exact { background: rgba(255,216,77,.32); border-color: rgba(255,216,77,.6); }
.wcpreds-pts.is-zero { opacity: .6; }
.wcpreds-empty { text-align: center; color: var(--ink-on-soft); padding: 4px 0; }
.wcpreds-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  color: var(--ink-on);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}


/* ── Liquid glass upgrade for profile badge pills ──
   Same recipe as the landing Discover button: saturated blur so the
   gradient shines through, a top inner highlight, a faint bottom inner
   edge, and a soft drop shadow. */
.stan-badge, .lyric-note, .lifts-btn, .zodiac-badge, .pronouns-tag,
.sports-pill, .supporter-badge, .wcbadge, .wcpreds-btn, .follow {
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5),
              inset 0 -1px 0 rgba(255,255,255,.1),
              0 8px 20px -12px rgba(28,8,40,.35);
}

/* ── Apple-style notification banners ──
   Frosted banner that slides down from the top of the screen: rounded
   app-icon square, bold title, body, close. Stacks up to three. */
.ntf-stack {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 20px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}
.ntf {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 24px;
  background: rgba(252,250,255,.62);
  border: .5px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
          backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 14px 38px -12px rgba(28,8,40,.45),
              inset 0 1px 0 rgba(255,255,255,.7);
  color: #1c0828;
  pointer-events: auto;
  animation: ntf-in .45s cubic-bezier(.21,1.02,.55,1.01) both;
}
.ntf.ntf-out { animation: ntf-out .3s ease-in both; }
@keyframes ntf-in {
  from { opacity: 0; transform: translateY(-130%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ntf-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-130%); }
}
.ntf-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffb45e, #ff5e8a 60%, #b65eff);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 6px rgba(28,8,40,.25);
  flex: none;
}
.ntf-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ntf-body { min-width: 0; }
.ntf-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.005em;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.ntf-when { font-size: 10.5px; font-weight: 600; opacity: .55; }
.ntf-text {
  font-size: 13px;
  line-height: 1.32;
  margin-top: 1px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ntf-close {
  appearance: none;
  border: 0;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(28,8,40,.08);
  color: #1c0828;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.ntf-close:hover { background: rgba(28,8,40,.15); }

/* ═════════════════════════════════════════════════════════════════════════
   NOVA SKIN — flag-gated full redesign (html[data-skin="nova"])
   Deep indigo night crossed by slow aurora ribbons (teal, magenta, violet),
   dark luminous glass with iridescent edges, editorial serif identity.
   Profile rules are scoped to the default theme so owner-picked themes
   (Minuit, Néon, …) remain untouched; chrome pages (Discover, Pronos,
   Messages) carry no data-theme and are skinned globally.
   ═══════════════════════════════════════════════════════════════════════ */
html[data-skin="nova"],
html[data-theme="nova"] {
  --ink-on: #f3efff;
  --ink-on-soft: rgba(233,226,255,.6);
  --glass-bg: rgba(150,120,255,.08);
  --glass-bg-strong: rgba(150,120,255,.13);
  --glass-stroke: rgba(190,170,255,.22);
  --glass-shadow: 0 14px 40px -16px rgba(0,0,0,.65);
  color-scheme: dark;
}
html[data-skin="nova"] ::selection,
html[data-theme="nova"] ::selection { background: rgba(45,212,191,.4); }

/* ── Night sky + aurora (default theme + chrome pages) ── */
html[data-skin="nova"]:not([data-theme]) .bg-base,
html[data-theme="nova"] .bg-base {
  background:
    radial-gradient(1100px 750px at 88% -12%, rgba(64,222,255,.13), transparent 60%),
    radial-gradient(950px 700px at -12% 28%, rgba(255,70,180,.11), transparent 55%),
    radial-gradient(900px 900px at 50% 118%, rgba(124,58,237,.2), transparent 62%),
    linear-gradient(175deg, #0a0614 0%, #130a24 45%, #190d2d 100%);
}
html[data-skin="nova"]:not([data-theme]) .bg-base::before,
html[data-theme="nova"] .bg-base::before,
html[data-skin="nova"]:not([data-theme]) .bg-base::after,
html[data-theme="nova"] .bg-base::after {
  content: "";
  position: absolute;
  width: 75vmax; height: 55vmax;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  pointer-events: none;
}
html[data-skin="nova"]:not([data-theme]) .bg-base::before,
html[data-theme="nova"] .bg-base::before {
  top: -18vmax; left: -14vmax;
  background: radial-gradient(closest-side, rgba(45,212,191,.32), rgba(45,212,191,0) 70%);
  animation: nova-drift-a 26s ease-in-out infinite alternate;
}
html[data-skin="nova"]:not([data-theme]) .bg-base::after,
html[data-theme="nova"] .bg-base::after {
  bottom: -22vmax; right: -16vmax;
  background: radial-gradient(closest-side, rgba(217,70,239,.26), rgba(217,70,239,0) 70%);
  animation: nova-drift-b 32s ease-in-out infinite alternate;
}
@keyframes nova-drift-a {
  from { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(7%, 6%, 0) rotate(10deg) scale(1.12); }
}
@keyframes nova-drift-b {
  from { transform: translate3d(5%, 4%, 0) rotate(0deg) scale(1.08); }
  to   { transform: translate3d(-6%, -5%, 0) rotate(-8deg) scale(1); }
}
html[data-skin="nova"]:not([data-theme]) .bg-blob,
html[data-theme="nova"] .bg-blob { display: none; }

/* ── Profile (default theme only) ── */
html[data-theme="nova"] .cover-photo {
  border: 1px solid rgba(190,170,255,.32);
  box-shadow: 0 0 0 1px rgba(45,212,191,.15), 0 18px 50px -18px rgba(0,0,0,.8),
              0 0 60px -18px rgba(124,58,237,.55);
}
html[data-theme="nova"][data-name-style="auto"] .identity-given {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.16em;
  letter-spacing: .005em;
}
html[data-theme="nova"] .identity-handle {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 10.5px;
  font-weight: 800;
  color: #7ef2da;
}
html[data-theme="nova"] .link,
html[data-theme="nova"] .article-card,
html[data-theme="nova"] .event-body {
  background: rgba(21,14,42,.58);
  border: 1px solid rgba(190,170,255,.16);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.07);
}
html[data-theme="nova"] .link:hover {
  background: rgba(30,21,58,.7);
  border-color: rgba(94,234,212,.45);
  box-shadow: 0 0 0 1px rgba(94,234,212,.25), 0 16px 38px -16px rgba(0,0,0,.85),
              0 0 26px -8px rgba(45,212,191,.35);
}
html[data-theme="nova"] .link-icon {
  background: linear-gradient(135deg, rgba(45,212,191,.22), rgba(139,92,246,.26));
  border-color: rgba(190,170,255,.3);
}
html[data-theme="nova"] .stan-badge,
html[data-theme="nova"] .lyric-note,
html[data-theme="nova"] .lifts-btn,
html[data-theme="nova"] .zodiac-badge,
html[data-theme="nova"] .pronouns-tag,
html[data-theme="nova"] .sports-pill,
html[data-theme="nova"] .supporter-badge,
html[data-theme="nova"] .wcpreds-btn,
html[data-theme="nova"] .follow {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),
              0 10px 26px -14px rgba(0,0,0,.8);
}

/* ── Chrome pages: Discover ── */
html[data-skin="nova"] .dsc-search {
  background: rgba(20,13,40,.66);
  border: 1px solid rgba(190,170,255,.26);
  box-shadow: 0 14px 36px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-skin="nova"] .dsc-home, html[data-skin="nova"] .wc-home, html[data-skin="nova"] .msg-home {
  background: rgba(255,255,255,.07);
  border-color: rgba(190,170,255,.28);
}
html[data-skin="nova"] .dsc-tabs { background: rgba(255,255,255,.06); border-color: rgba(190,170,255,.2); }
html[data-skin="nova"] .dsc-tab.active {
  background: linear-gradient(135deg, rgba(45,212,191,.28), rgba(139,92,246,.3));
  color: var(--ink-on);
  box-shadow: 0 0 14px -2px rgba(45,212,191,.35);
}
html[data-skin="nova"] .dsc-card,
html[data-skin="nova"] .msg-conv,
html[data-skin="nova"] .msg-form,
html[data-skin="nova"] .wc-card,
html[data-skin="nova"] .wc-board-row,
html[data-skin="nova"] .wc-login,
html[data-skin="nova"] .msg-login,
html[data-skin="nova"] .dsc-vs {
  background: rgba(21,14,42,.62);
  border: 1px solid rgba(190,170,255,.16);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.07);
}
html[data-skin="nova"] .dsc-card:hover,
html[data-skin="nova"] .msg-conv:hover {
  background: rgba(30,21,58,.72);
  border-color: rgba(94,234,212,.4);
}
html[data-skin="nova"] .dsc-pronos {
  background: linear-gradient(120deg, rgba(45,212,191,.26), rgba(139,92,246,.3) 55%, rgba(244,114,182,.24));
  border: 1px solid rgba(167,139,250,.55);
  box-shadow: 0 14px 36px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.18),
              0 0 38px -10px rgba(124,58,237,.5);
}
html[data-skin="nova"] .dsc-pronos-trophy { background: rgba(255,255,255,.1); color: #7ef2da; border-color: rgba(190,170,255,.35); }
html[data-skin="nova"] .dsc-feat-chip { background: rgba(45,212,191,.18); border-color: rgba(45,212,191,.45); }
html[data-skin="nova"] .dsc-follow, html[data-skin="nova"] .dsc-refresh {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,170,255,.32);
}
html[data-skin="nova"] .dsc-follow.is-on { background: rgba(45,212,191,.25); border-color: rgba(45,212,191,.55); }
html[data-skin="nova"] .dsc-avatar, html[data-skin="nova"] .dsc-prod-img,
html[data-skin="nova"] .wc-ava, html[data-skin="nova"] .msg-ava {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,170,255,.3);
}
html[data-skin="nova"] .dsc-chip, html[data-skin="nova"] .dsc-hearts,
html[data-skin="nova"] .wc-pts, html[data-skin="nova"] .wcpreds-pts {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,170,255,.26);
}
html[data-skin="nova"] .dsc-vs-side { background: rgba(255,255,255,.05); }
html[data-skin="nova"] .dsc-vs-side.is-mine {
  border-color: rgba(45,212,191,.85);
  box-shadow: 0 0 0 2px rgba(45,212,191,.3), 0 0 24px -6px rgba(45,212,191,.5);
}
html[data-skin="nova"] .dsc-vs-mid { background: linear-gradient(135deg, #14b8a6, #7c3aed); }
html[data-skin="nova"] .dsc-vs-bar .va { background: rgba(45,212,191,.9); }
html[data-skin="nova"] .dsc-vs-bar .vb { background: rgba(244,114,182,.9); }

/* ── Chrome pages: Pronos ── */
html[data-skin="nova"] .wc-score-input {
  background: rgba(255,255,255,.07);
  border-color: rgba(190,170,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-skin="nova"] .wc-stage, html[data-skin="nova"] .wc-vs, html[data-skin="nova"] .wc-final {
  background: rgba(255,255,255,.07);
  border-color: rgba(190,170,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-skin="nova"] .wc-save {
  background: linear-gradient(135deg, rgba(45,212,191,.32), rgba(139,92,246,.36));
  border-color: rgba(167,139,250,.5);
}
html[data-skin="nova"] .wc-votes-a { background: rgba(45,212,191,.9); }
html[data-skin="nova"] .wc-votes-b { background: rgba(244,114,182,.9); }
html[data-skin="nova"] .wc-votes-d { background: rgba(255,255,255,.3); }
html[data-skin="nova"] .wc-votes-bar { background: rgba(255,255,255,.1); }

/* ── Chrome pages: Messages ── */
html[data-skin="nova"] .msg-new-btn, html[data-skin="nova"] .msg-mini-btn, html[data-skin="nova"] .chat-act, html[data-skin="nova"] .chat-back, html[data-skin="nova"] .chat-older {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,170,255,.32);
  color: var(--ink-on);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 22px -14px rgba(0,0,0,.8);
}
html[data-skin="nova"] .msg-input, html[data-skin="nova"] .chat-text {
  background: rgba(255,255,255,.07);
  border-color: rgba(190,170,255,.32);
  color: var(--ink-on);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-skin="nova"] .chat-box {
  background: rgba(14,9,30,.6);
  border-color: rgba(190,170,255,.18);
}
html[data-skin="nova"] .chat-compose { background: rgba(255,255,255,.04); border-top-color: rgba(190,170,255,.18); }
html[data-skin="nova"] .mbubble-row.mine .mbubble {
  background: linear-gradient(135deg, #14b8a6, #7c3aed);
  box-shadow: 0 6px 18px -8px rgba(20,184,166,.5);
}
html[data-skin="nova"] .mbubble-row:not(.mine) .mbubble {
  background: rgba(255,255,255,.08);
  border-color: rgba(190,170,255,.22);
  color: var(--ink-on);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-skin="nova"] .chat-send { background: linear-gradient(135deg, #14b8a6, #7c3aed); }
html[data-skin="nova"] .msg-unread { background: #2dd4bf; color: #06201c; }

/* ── Notifications under Nova: dark frosted ── */
html[data-skin="nova"] .ntf {
  background: rgba(24,16,46,.78);
  border-color: rgba(190,170,255,.32);
  color: #f3efff;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-skin="nova"] .ntf-close { background: rgba(255,255,255,.1); color: #f3efff; }
html[data-skin="nova"] .ntf-icon { background: linear-gradient(135deg, #2dd4bf, #8b5cf6 60%, #ec4899); }

/* ── Footer ── */
html[data-skin="nova"] .footer { color: var(--ink-on-soft); }

/* Nova: the page background behind overscroll and the browser bars (Safari
   tints its top/bottom chrome from it) goes dark too — no more orange
   bands above and below the night sky. */
html[data-skin="nova"],
html[data-skin="nova"] body,
html[data-theme="nova"],
html[data-theme="nova"] body {
  background: #0a0614;
}

/* ── Social icon row (Linktree-style, under the profile photo) ── */
.socials-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 9px 0 2px;
}
.social-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5),
              inset 0 -1px 0 rgba(255,255,255,.1),
              0 8px 20px -12px rgba(28,8,40,.35);
  color: var(--ink-on);
  text-decoration: none;
  transition: transform .14s ease, background .18s ease;
}
.social-ico:hover { transform: translateY(-2px) scale(1.05); background: var(--glass-bg-strong); }

/* ── Projects (builder mode) ── */
.prj-section { margin: 14px 0 4px; display: flex; flex-direction: column; gap: 12px; }
.prj-section-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-on-soft); text-align: center;
}
.prj-card {
  border-radius: 20px; overflow: hidden;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
          backdrop-filter: blur(20px) saturate(175%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
}
.prj-gallery {
  display: flex; gap: 6px; padding: 8px 8px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.prj-gallery::-webkit-scrollbar { display: none; }
.prj-img {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  scroll-snap-align: center;
  background: rgba(255,255,255,.18);
}
.prj-gallery[data-n="1"] .prj-img { width: 100%; }
.prj-gallery:not([data-n="1"]) .prj-img { width: 86%; }
.prj-body { padding: 12px 14px 13px; display: flex; flex-direction: column; gap: 7px; }
.prj-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.prj-tagline { font-size: 12.5px; font-weight: 700; color: var(--ink-on-soft); margin-top: -4px; }
.prj-desc { font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.prj-more {
  appearance: none; border: 0; background: transparent; padding: 0; margin-left: 5px;
  color: var(--ink-on); font: inherit; font-size: 12px; font-weight: 800;
  text-decoration: underline; cursor: pointer;
}
.prj-visit {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  align-self: flex-start;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.34);
  border: .5px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -10px rgba(28,8,40,.35);
  color: var(--ink-on); font-size: 12.5px; font-weight: 800; text-decoration: none;
  transition: transform .12s ease;
}
.prj-visit:hover { transform: translateY(-1px); }
.prj-comments-btn {
  appearance: none; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  color: var(--ink-on); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
.prj-comments-n {
  font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  padding: 1px 7px; border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: .5px solid rgba(255,255,255,.4);
}
.prj-comments-panel {
  margin-top: 4px; padding: 10px 11px;
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  border: .5px solid rgba(255,255,255,.3);
  display: flex; flex-direction: column; gap: 8px;
}
.prj-comment { display: flex; align-items: flex-start; gap: 8px; }
.prj-comment-ava {
  width: 26px; height: 26px; border-radius: 999px; overflow: hidden; flex: none;
  background: rgba(255,255,255,.3);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--ink-on);
}
.prj-comment-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prj-comment-body { min-width: 0; flex: 1; font-size: 12.5px; line-height: 1.4; }
.prj-comment-name { font-weight: 800; color: var(--ink-on); text-decoration: none; margin-right: 6px; }
.prj-comment-text { word-break: break-word; }
.prj-comment-del {
  appearance: none; border: 0; flex: none;
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(255,255,255,.2); color: var(--ink-on-soft);
  display: grid; place-items: center; cursor: pointer;
}
.prj-comment-form { display: flex; gap: 7px; margin-top: 2px; }
.prj-comment-input {
  flex: 1; min-width: 0;
  border: .5px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 7px 13px; background: rgba(255,255,255,.34); color: var(--ink-on);
  font: inherit; font-size: 12.5px; outline: none;
}
.prj-comment-input::placeholder { color: var(--ink-on-soft); }
.prj-comment-send {
  appearance: none; border: .5px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: 7px 14px; flex: none;
  background: rgba(255,255,255,.42); color: var(--ink-on);
  font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
.prj-comment-send[disabled] { opacity: .5; cursor: default; }
.prj-login {
  display: block; text-align: center; padding: 8px;
  color: var(--ink-on); font-size: 12px; font-weight: 800; text-decoration: none;
}
.prj-empty { text-align: center; color: var(--ink-on-soft); font-size: 12px; padding: 2px 0; }

/* ── Nova variants ── */
html[data-theme="nova"] .prj-card,
html[data-skin="nova"] .prj-card {
  background: rgba(21,14,42,.6);
  border: 1px solid rgba(190,170,255,.16);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.07);
}
html[data-skin="nova"] .prj-visit {
  background: linear-gradient(135deg, rgba(45,212,191,.3), rgba(139,92,246,.34));
  border-color: rgba(167,139,250,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 22px -12px rgba(0,0,0,.7);
}
html[data-skin="nova"] .prj-comments-panel { background: rgba(255,255,255,.05); border-color: rgba(190,170,255,.18); }
html[data-skin="nova"] .prj-comment-input { background: rgba(255,255,255,.07); border-color: rgba(190,170,255,.3); }
html[data-skin="nova"] .prj-comment-send { background: rgba(255,255,255,.1); border-color: rgba(190,170,255,.32); }
html[data-skin="nova"] .social-ico {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 26px -14px rgba(0,0,0,.8);
}

/* "Message" button on profiles (sits in the social row with follow + heart) */
.msg-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5),
              inset 0 -1px 0 rgba(255,255,255,.1),
              0 8px 20px -12px rgba(28,8,40,.35);
  color: var(--ink-on);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease;
}
.msg-btn:hover { transform: translateY(-1px); background: var(--glass-bg-strong); }
.msg-btn[disabled] { opacity: .55; cursor: default; transform: none; }
html[data-theme="nova"] .msg-btn,
html[data-skin="nova"] .msg-btn {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 26px -14px rgba(0,0,0,.8);
}

/* ── Coin mode (crypto launch sheet) ── */
.coin-card {
  margin: 12px 0 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
}
.coin-head { display: flex; align-items: center; gap: 12px; }
.coin-logo {
  width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex: none;
  border: .5px solid rgba(255,255,255,.5);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.coin-head-text { min-width: 0; flex: 1; }
.coin-ticker {
  font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.coin-chain {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255,255,255,.22); border: .5px solid rgba(255,255,255,.4);
}
.coin-tagline { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); margin-top: 2px; }
.coin-contract {
  appearance: none; width: 100%; margin-top: 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 13px; border-radius: 13px;
  background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35);
  color: var(--ink-on); font: inherit; cursor: pointer;
  transition: background .15s;
}
.coin-contract:hover { background: rgba(255,255,255,.26); }
.coin-contract-addr { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 700; }
.coin-contract-copy { font-size: 11.5px; font-weight: 800; opacity: .85; flex: none; }
.coin-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 13px;
}
.coin-stat {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 12px; border-radius: 12px;
  background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
}
.coin-stat-k { font-size: 10.5px; font-weight: 700; color: var(--ink-on-soft); text-transform: uppercase; letter-spacing: .04em; }
.coin-stat-v { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.coin-buy {
  display: block; text-align: center; margin-top: 13px;
  padding: 12px; border-radius: 14px;
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -10px rgba(28,8,40,.35);
  color: var(--ink-on); font-size: 14px; font-weight: 800; text-decoration: none;
  transition: transform .12s ease;
}
.coin-buy:hover { transform: translateY(-1px); }
.coin-disclaimer { font-size: 10px; color: var(--ink-on-soft); text-align: center; margin-top: 10px; opacity: .8; }

/* ── Wallet (crypto tip jar) ─────────────────────────────────────────────── */
.wallet-card {
  margin: 12px 0 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
}
.wallet-head { display: flex; flex-direction: column; gap: 3px; }
.wallet-title { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.wallet-note { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); }
.wallet-list { display: flex; flex-direction: column; gap: 10px; margin-top: 13px; }
.wallet-addr {
  padding: 12px 13px; border-radius: 14px;
  background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
}
.wallet-addr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wallet-addr-meta { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.wallet-chip {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 9px; border-radius: 999px; flex: none;
  background: rgba(255,255,255,.22); border: .5px solid rgba(255,255,255,.4);
}
.wallet-addr-label { font-size: 12.5px; font-weight: 700; color: var(--ink-on-soft); }
.wallet-copy {
  appearance: none; display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
  padding: 7px 11px; border-radius: 11px;
  background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35);
  color: var(--ink-on); font: inherit; cursor: pointer; transition: background .15s;
}
.wallet-copy:hover { background: rgba(255,255,255,.26); }
.wallet-copy-addr { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-copy-tag { font-size: 11px; font-weight: 800; opacity: .85; flex: none; }
.wallet-actions { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.wallet-send-btn, .wallet-qr-btn {
  appearance: none; font: inherit; cursor: pointer;
  padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 800;
  color: var(--ink-on); transition: transform .12s ease, background .15s;
}
.wallet-send-btn {
  flex: 1 1 auto;
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -10px rgba(28,8,40,.35);
}
.wallet-send-btn:hover { transform: translateY(-1px); }
.wallet-qr-btn {
  flex: 0 1 auto;
  background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35);
}
.wallet-qr-btn:hover { background: rgba(255,255,255,.26); }
.wallet-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 12px; }
.wallet-qr {
  width: 168px; height: 168px; padding: 10px; border-radius: 14px;
  background: #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
}
.wallet-qr svg { width: 100%; height: 100%; display: block; }
.wallet-qr-hint { font-size: 11px; font-weight: 600; color: var(--ink-on-soft); text-align: center; }
.wallet-send { margin-top: 12px; }
.wallet-send-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-amount {
  flex: 1 1 130px; min-width: 0;
  padding: 10px 12px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.92); border: .5px solid rgba(255,255,255,.6);
  color: #1c0828;
}
.wallet-amount:focus { outline: 2px solid rgba(255,255,255,.55); outline-offset: 1px; }
.wallet-send-go {
  appearance: none; font: inherit; cursor: pointer; flex: 0 0 auto;
  padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 800;
  color: var(--ink-on);
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -10px rgba(28,8,40,.35);
  transition: transform .12s ease;
}
.wallet-send-go:hover { transform: translateY(-1px); }
.wallet-send-go:disabled { opacity: .6; cursor: default; transform: none; }
.wallet-status {
  margin-top: 9px; font-size: 12.5px; font-weight: 700;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--ink-on-soft);
}
.wallet-status.is-ok, .wallet-status.is-err { padding: 8px 12px; border-radius: 11px; }
.wallet-status.is-ok { color: #0f5c2e; background: rgba(216,255,228,.94); border: .5px solid rgba(16,122,61,.4); }
.wallet-status.is-err { color: #fff; background: rgba(208,46,66,.96); border: .5px solid rgba(255,255,255,.35); }
.wallet-convert { margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--ink-on-soft); }
.wallet-picker { margin-top: 10px; }
.wallet-picker-title { font-size: 12px; font-weight: 700; color: var(--ink-on-soft); margin-bottom: 6px; }
.wallet-picker-list { display: flex; flex-wrap: wrap; gap: 8px; }
.wallet-picker-btn {
  appearance: none; font: inherit; cursor: pointer;
  padding: 9px 14px; border-radius: 11px; font-size: 13px; font-weight: 800; color: var(--ink-on);
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5); transition: transform .12s ease;
}
.wallet-picker-btn:hover { transform: translateY(-1px); }
.wallet-txlink { color: inherit; font-weight: 800; text-decoration: underline; }
.wallet-disclaimer { font-size: 10px; color: var(--ink-on-soft); text-align: center; margin-top: 12px; opacity: .8; }
.wallet-fees { font-size: 10.5px; font-weight: 600; color: var(--ink-on-soft); text-align: center; margin-top: 5px; opacity: .9; }
.coin-posts { margin: 14px 0 4px; display: flex; flex-direction: column; gap: 11px; }
.coin-posts-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-on-soft); text-align: center;
}
.coin-post {
  padding: 13px 15px; border-radius: 18px;
  background: var(--glass-bg); border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.25);
  color: var(--ink-on);
}
.coin-post-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.coin-post-kind {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: .5px solid rgba(255,255,255,.35);
  color: var(--ink-on-soft);
}
.coin-post-share {
  appearance: none; border: 0; width: 28px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: var(--ink-on); cursor: pointer;
  display: grid; place-items: center; flex: none;
}
.coin-post-share:hover { background: rgba(255,255,255,.3); }
.coin-post-title { display: block; font-size: 16px; font-weight: 800; color: var(--ink-on); text-decoration: none; letter-spacing: -0.01em; }
.coin-post-body { font-size: 13.5px; line-height: 1.5; margin-top: 5px; white-space: pre-wrap; word-break: break-word; }
.coin-post-more {
  appearance: none; border: 0; background: transparent; padding: 0; margin-left: 5px;
  color: var(--ink-on); font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer;
}
.coin-post-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.2); border: .5px solid rgba(255,255,255,.35);
  color: var(--ink-on); font-size: 12px; font-weight: 800; text-decoration: none;
}
/* Nova variants */
html[data-theme="nova"] .coin-card, html[data-skin="nova"] .coin-card,
html[data-theme="nova"] .coin-post, html[data-skin="nova"] .coin-post {
  background: rgba(21,14,42,.62); border-color: rgba(190,170,255,.18);
}
html[data-theme="nova"] .coin-buy, html[data-skin="nova"] .coin-buy {
  background: linear-gradient(135deg, rgba(45,212,191,.32), rgba(139,92,246,.36));
  border-color: rgba(167,139,250,.5);
}

/* ── Business mode (local business sheet) ── */
.biz-card {
  margin: 12px 0 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
}
.biz-head-text { min-width: 0; }
.biz-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.biz-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.biz-cat {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(255,255,255,.22); border: .5px solid rgba(255,255,255,.4);
}
.biz-tagline { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); }
.biz-gallery {
  display: flex; gap: 6px; margin-top: 13px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.biz-gallery::-webkit-scrollbar { display: none; }
/* The rounded frame carries the size and the corners; the image sits inside
   it, either filling it (cover) or shown whole over a blurred copy of
   itself (contain) so nothing gets cropped. */
.biz-shot {
  flex: none; position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 14px;
  scroll-snap-align: center; background: rgba(255,255,255,.18);
}
.biz-img {
  position: relative; width: 100%; height: 100%; display: block;
  object-fit: cover; border-radius: inherit;
}
.biz-gallery[data-fit="contain"] .biz-img { object-fit: contain; }
.biz-shot-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(18px) saturate(1.25);
  transform: scale(1.15); opacity: .55; pointer-events: none;
}
.biz-gallery[data-n="1"] .biz-shot { width: 100%; }
.biz-gallery:not([data-n="1"]) .biz-shot { width: 84%; }
.biz-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.biz-action {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35);
  color: var(--ink-on); font-size: 12.5px; font-weight: 800; text-decoration: none;
  transition: transform .12s ease;
}
.biz-action:hover { transform: translateY(-1px); }
.biz-action-primary {
  background: rgba(255,255,255,.42); border-color: rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -10px rgba(28,8,40,.35);
}
.biz-info {
  margin-top: 13px; padding: 12px 13px; border-radius: 14px;
  background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column; gap: 8px;
}
.biz-info-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.45; }
.biz-info-row svg { flex: none; margin-top: 2px; opacity: .8; }
.biz-info-hours span { white-space: pre-wrap; }
.biz-menu { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.biz-menu-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-on-soft); margin-bottom: 2px;
  padding-bottom: 6px; border-bottom: .5px solid rgba(255,255,255,.2);
}
.biz-menu-section { display: flex; flex-direction: column; gap: 10px; }
.biz-item { display: flex; gap: 11px; align-items: flex-start; }
.biz-item-img {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none;
  border: .5px solid rgba(255,255,255,.4);
}
.biz-item-body { flex: 1; min-width: 0; }
.biz-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.biz-item-name { font-size: 14.5px; font-weight: 800; }
.biz-item-price { font-size: 13.5px; font-weight: 800; color: var(--ink-on); flex: none; white-space: nowrap; }
.biz-item-desc { font-size: 12.5px; line-height: 1.45; color: var(--ink-on-soft); margin-top: 2px; }
/* Nova variants */
html[data-theme="nova"] .biz-card, html[data-skin="nova"] .biz-card {
  background: rgba(21,14,42,.62); border-color: rgba(190,170,255,.18);
}
html[data-theme="nova"] .biz-action-primary, html[data-skin="nova"] .biz-action-primary {
  background: linear-gradient(135deg, rgba(45,212,191,.3), rgba(139,92,246,.34));
  border-color: rgba(167,139,250,.5);
}
html[data-theme="nova"] .biz-info, html[data-skin="nova"] .biz-info { background: rgba(255,255,255,.05); border-color: rgba(190,170,255,.18); }

/* ── Engage: polls + questions box ─────────────────────────────────────────── */
.engage-card {
  margin: 12px 0 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.engage-block { display: flex; flex-direction: column; gap: 11px; }
.engage-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-on-soft);
}
.engage-intro { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); margin-top: -4px; }

.poll-card {
  padding: 13px 14px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column; gap: 10px;
}
.poll-q { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.poll-options { display: flex; flex-direction: column; gap: 8px; }
.poll-opt {
  appearance: none; font: inherit; cursor: pointer; text-align: left;
  padding: 11px 13px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink-on);
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5); transition: transform .12s ease, background .15s;
}
.poll-opt:hover { transform: translateY(-1px); }
.poll-opt:disabled { opacity: .7; cursor: default; transform: none; }
.poll-result {
  position: relative; overflow: hidden;
  padding: 11px 13px; border-radius: 12px;
  background: rgba(255,255,255,.14); border: .5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; gap: 8px;
}
.poll-result.is-mine { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.poll-result-fill {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 0;
  background: rgba(255,255,255,.34); border-right: 1px solid rgba(255,255,255,.5);
  transition: width .4s ease;
}
.poll-result-label { position: relative; z-index: 1; flex: 1 1 auto; font-size: 13.5px; font-weight: 700; min-width: 0; }
.poll-result-pct { position: relative; z-index: 1; flex: none; font-size: 13px; font-weight: 800; }
.poll-total { font-size: 11.5px; font-weight: 700; color: var(--ink-on-soft); }

.qbox { display: flex; flex-direction: column; gap: 8px; }
.qbox-body, .qbox-name {
  width: 100%; box-sizing: border-box;
  padding: 11px 13px; border-radius: 12px; font: inherit; font-weight: 600;
  background: rgba(255,255,255,.92); border: .5px solid rgba(255,255,255,.6); color: #1c0828;
}
.qbox-body { font-size: 14px; resize: vertical; min-height: 58px; }
.qbox-name { font-size: 13px; }
.qbox-body:focus, .qbox-name:focus { outline: 2px solid rgba(255,255,255,.55); outline-offset: 1px; }
.qbox-send {
  appearance: none; font: inherit; cursor: pointer; align-self: flex-start;
  padding: 10px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 800; color: var(--ink-on);
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5); transition: transform .12s ease;
}
.qbox-send:hover { transform: translateY(-1px); }
.qbox-send:disabled { opacity: .6; cursor: default; transform: none; }
.qbox-sent {
  font-size: 13px; font-weight: 700; color: #0f5c2e;
  padding: 10px 13px; border-radius: 12px;
  background: rgba(216,255,228,.94); border: .5px solid rgba(16,122,61,.4);
}
.qbox-err { font-size: 12px; font-weight: 700; color: #fff; padding: 8px 12px; border-radius: 11px; background: rgba(208,46,66,.96); }

.qa-item {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column; gap: 5px;
}
.qa-q { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.qa-asker { font-size: 11.5px; font-weight: 700; color: var(--ink-on-soft); }
.qa-a { font-size: 13.5px; font-weight: 600; color: var(--ink-on-soft); white-space: pre-wrap; }

/* ── Email capture card — matches the engage / circle / wallet glass cards ── */
.subscribe-card {
  margin: 12px 0 4px;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-bg-strong);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3);
  color: var(--ink-on);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.subscribe-head { display: flex; align-items: flex-start; gap: 12px; }
.subscribe-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; color: var(--ink-on);
  background: rgba(255,255,255,.18); border: .5px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.subscribe-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.subscribe-title { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.subscribe-sub { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); line-height: 1.35; }
.subscribe-form { display: flex; flex-direction: column; gap: 8px; }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border-radius: 13px; font: inherit; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.94); border: .5px solid rgba(255,255,255,.6); color: #1c0828;
}
.subscribe-input::placeholder { color: rgba(28,8,40,.4); font-weight: 600; }
.subscribe-input:focus { outline: 2px solid rgba(255,255,255,.6); outline-offset: 1px; }
.subscribe-email { flex: 1 1 auto; min-width: 0; }
.subscribe-btn {
  appearance: none; font: inherit; cursor: pointer; flex: none; white-space: nowrap;
  padding: 12px 18px; border-radius: 13px; font-size: 13.5px; font-weight: 800; color: var(--ink-on);
  background: rgba(255,255,255,.42); border: .5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5); transition: transform .12s ease, background .15s;
}
.subscribe-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.54); }
.subscribe-btn:disabled { opacity: .6; cursor: default; transform: none; }
.subscribe-note { font-size: 11px; font-weight: 600; color: var(--ink-on-soft); opacity: .82; }
.subscribe-err {
  font-size: 12px; font-weight: 700; color: #fff;
  padding: 8px 12px; border-radius: 11px; background: rgba(208,46,66,.96);
}
.subscribe-done {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 800; color: #0f5c2e;
  padding: 13px 15px; border-radius: 14px;
  background: rgba(216,255,228,.94); border: .5px solid rgba(16,122,61,.4);
}
.subscribe-done svg { flex: none; color: #0f7a3d; }
@media (max-width: 380px) {
  .subscribe-row { flex-direction: column; }
  .subscribe-btn { align-self: stretch; }
}

/* ── Per-profile community wall (circle) — matches the engage/wallet glass cards ── */
.circle-card { margin: 12px 0 4px; padding: 16px; border-radius: 20px;
  background: var(--glass-bg-strong); border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3); color: var(--ink-on);
  display: flex; flex-direction: column; gap: 14px; }
.circle-title { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-on-soft); }
.circle-cmuted { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); }
.circle-cmuted a { text-decoration: underline; }
.circle-composer { display: flex; flex-direction: column; gap: 8px; }
.circle-input { width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 14px; font: inherit; font-size: 14px; font-weight: 600; min-height: 60px; resize: vertical;
  background: rgba(255,255,255,.92); border: .5px solid rgba(255,255,255,.6); color: #1c0828; }
.circle-prev { width: 100%; max-height: 240px; object-fit: contain; border-radius: 12px; background: rgba(0,0,0,.2); }
.circle-err { font-size: 12.5px; font-weight: 700; color: #fff; padding: 7px 11px; border-radius: 10px; background: rgba(208,46,66,.96); }
.circle-composer-actions { display: flex; gap: 8px; }
.circle-btn { appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--ink-on);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 11px;
  background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35); transition: transform .12s ease, background .15s; }
.circle-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.26); }
.circle-btn.is-primary { background: rgba(255,255,255,.44); border-color: rgba(255,255,255,.6); }
.circle-btn.is-liked { background: rgba(255,90,120,.85); border-color: rgba(255,255,255,.4); }
.circle-btn.no { background: rgba(208,46,66,.28); border-color: rgba(208,46,66,.5); }
.circle-btn:disabled { opacity: .6; cursor: default; transform: none; }
.circle-list { display: flex; flex-direction: column; gap: 10px; }
.circle-post { padding: 12px 13px; border-radius: 16px; background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.25);
  display: flex; flex-direction: column; gap: 8px; }
.circle-post-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.circle-author { font-size: 13px; font-weight: 800; color: var(--ink-on); }
.circle-badge { font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.2); border: .5px solid rgba(255,255,255,.34); color: var(--ink-on-soft); }
.circle-pin { font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: rgba(255,216,77,.3); border: .5px solid rgba(255,216,77,.5); color: var(--ink-on); }
.circle-body { font-size: 14px; font-weight: 600; color: var(--ink-on); white-space: pre-wrap; }
.circle-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; background: rgba(0,0,0,.18); }
.circle-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.circle-more { appearance: none; cursor: pointer; align-self: center; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--ink-on);
  padding: 8px 14px; border-radius: 11px; background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.35); }
.circle-comments { display: flex; flex-direction: column; gap: 7px; border-top: .5px solid rgba(255,255,255,.18); padding-top: 8px; }
.circle-comment { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.circle-cauthor { font-size: 12px; font-weight: 800; color: var(--ink-on); }
.circle-cbody { font-size: 13px; font-weight: 600; color: var(--ink-on-soft); }
.circle-cdel { appearance: none; border: 0; background: transparent; color: var(--ink-on-soft); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; margin-left: auto; }
.circle-cform { display: flex; gap: 7px; }
.circle-cinput { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.92); border: .5px solid rgba(255,255,255,.6); color: #1c0828; }
.circle-csend { appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--ink-on); padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.4); border: .5px solid rgba(255,255,255,.6); }

/* ── Per-profile Bible verse (verse) — an elegant scripture quote card ── */
.verse-card { margin: 12px 0 4px; padding: 18px 18px 15px; border-radius: 20px;
  background: var(--glass-bg-strong); border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.3); color: var(--ink-on);
  display: flex; flex-direction: column; gap: 9px; text-align: center; }
.verse-quote { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 16.5px; line-height: 1.5; font-weight: 500; color: var(--ink-on); white-space: pre-wrap; }
.verse-ref { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-on-soft); }

/* ═══════════════════════════════════════════════════════════════════════════
   STUDIO — per-profile design overrides
   ═══════════════════════════════════════════════════════════════════════════
   Everything below is scoped to `.page[data-…]` attributes that only exist
   once an owner has customised something in the studio. A page with no studio
   settings matches none of these selectors, so its rendering is unchanged.
   Scoping to `.page` (rather than `html`) also keeps the editor's live preview
   from restyling the editor around it.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Typographic voices ──────────────────────────────────────────────────── */
.page {
  --sf-sans:      ui-sans-serif, -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --sf-grotesk:   "Space Grotesk", ui-sans-serif, -apple-system, sans-serif;
  --sf-serif:     "DM Serif Display", Georgia, serif;
  --sf-elegant:   Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sf-rounded:   "Nunito", ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  --sf-condensed: "Bebas Neue", Haettenschweiler, "Arial Narrow", sans-serif;
  --sf-mono:      "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sf-script:    "Caveat", "Segoe Script", cursive;
}

.page[data-font-body="sans"]      { --font-body: var(--sf-sans); }
.page[data-font-body="grotesk"]   { --font-body: var(--sf-grotesk); }
.page[data-font-body="serif"]     { --font-body: var(--sf-serif); }
.page[data-font-body="elegant"]   { --font-body: var(--sf-elegant); }
.page[data-font-body="rounded"]   { --font-body: var(--sf-rounded); }
.page[data-font-body="condensed"] { --font-body: var(--sf-condensed); }
.page[data-font-body="mono"]      { --font-body: var(--sf-mono); }
.page[data-font-body="script"]    { --font-body: var(--sf-script); }
.page[data-font-body] { font-family: var(--font-body); }
/* Inputs don't inherit font-family, so opt them in explicitly. */
.page[data-font-body] input,
.page[data-font-body] textarea,
.page[data-font-body] select,
.page[data-font-body] button { font-family: inherit; }

.page[data-font-display="sans"]      { --font-display: var(--sf-sans); }
.page[data-font-display="grotesk"]   { --font-display: var(--sf-grotesk); }
.page[data-font-display="serif"]     { --font-display: var(--sf-serif); }
.page[data-font-display="elegant"]   { --font-display: var(--sf-elegant); }
.page[data-font-display="rounded"]   { --font-display: var(--sf-rounded); }
.page[data-font-display="condensed"] { --font-display: var(--sf-condensed); }
.page[data-font-display="mono"]      { --font-display: var(--sf-mono); }
.page[data-font-display="script"]    { --font-display: var(--sf-script); }
.page[data-font-display] .identity-name,
.page[data-font-display] .identity-given,
.page[data-font-display] .event-title,
.page[data-font-display] .articles-title,
.page[data-font-display] .article-title,
.page[data-font-display] .engage-title,
.page[data-font-display] .subscribe-title,
.page[data-font-display] .circle-title,
.page[data-font-display] .wallet-title,
.page[data-font-display] .coin-posts-title,
.page[data-font-display] .coin-post-title,
.page[data-font-display] .prj-section-title,
.page[data-font-display] .prj-title,
.page[data-font-display] .biz-name,
.page[data-font-display] .biz-menu-title,
.page[data-font-display] .store-entrance-title,
.page[data-font-display] .house-entrance-title { font-family: var(--font-display); }

/* Serif and condensed display faces read small at the same px size, and the
   script face reads large — nudge the name so every voice lands balanced. */
.page[data-font-display="condensed"] .identity-name { letter-spacing: .02em; }
.page[data-font-display="script"] .identity-name    { font-size: 1.12em; }

/* Global text scale — a single knob rather than per-element sizes. */
.page[data-font-scale="s"] { font-size: 15px; }
.page[data-font-scale="m"] { font-size: 16.5px; }
.page[data-font-scale="l"] { font-size: 18px; }
.page[data-font-scale] .link-label   { font-size: 1em; }
.page[data-font-scale] .link-sub     { font-size: .8em; }
.page[data-font-scale] .identity-tag { font-size: .88em; }

.page[data-title-weight="regular"] .identity-name { font-weight: 500; }
.page[data-title-weight="medium"]  .identity-name { font-weight: 600; }
.page[data-title-weight="bold"]    .identity-name { font-weight: 800; }
.page[data-title-weight="black"]   .identity-name { font-weight: 900; }
.page[data-title-weight="regular"] .link-label { font-weight: 500; }
.page[data-title-weight="bold"]    .link-label { font-weight: 700; }
.page[data-title-weight="black"]   .link-label { font-weight: 800; }

.page[data-letter-space="tight"]  { letter-spacing: -.015em; }
.page[data-letter-space="normal"] { letter-spacing: 0; }
.page[data-letter-space="wide"]   { letter-spacing: .04em; }

.page[data-text-case="upper"] .identity-name,
.page[data-text-case="upper"] .link-label,
.page[data-text-case="upper"] .engage-title,
.page[data-text-case="upper"] .subscribe-title { text-transform: uppercase; }
.page[data-text-case="upper"] .identity-name { letter-spacing: .03em; }
.page[data-text-case="none"] .identity-name,
.page[data-text-case="none"] .link-label { text-transform: none; }

/* ── Colour overrides ────────────────────────────────────────────────────────
   These re-point the semantic tokens the whole stylesheet already reads, so
   one value restyles every surface coherently instead of one component. The
   values are strict hex (validated server-side) before they get here. */
/* Each colour is re-pointed INSIDE the family it names, never on the page.
   Re-pointing --glass-bg at page level looked economical — one token, every
   surface follows — but --glass-bg is what every glass surface reads, so
   "link background" repainted the social icons, the event card and the store
   entrance too. A colour control has to end where its label says it ends. */
.page[style*="--sf-ink"] { --ink-on: var(--sf-ink, #fff); }
.page[style*="--sf-ink"] { --ink-on-soft: color-mix(in srgb, var(--sf-ink) 74%, transparent); }

/* Links only. */
.page[style*="--sf-link-bg"] .link { --glass-bg: var(--sf-link-bg); }
.page[style*="--sf-link-edge"] .link { --glass-stroke: var(--sf-link-edge); }

/* Cards only — and explicitly NOT .link, which is a glass surface as well. */
.page[style*="--sf-card-bg"] .glass:not(.link),
.page[style*="--sf-card-bg"] .biz-card,
.page[style*="--sf-card-bg"] .subscribe-card,
.page[style*="--sf-card-bg"] .engage-card,
.page[style*="--sf-card-bg"] .wallet-card,
.page[style*="--sf-card-bg"] .circle-card,
.page[style*="--sf-card-bg"] .verse-card,
.page[style*="--sf-card-bg"] .coin-card,
.page[style*="--sf-card-bg"] .prj-card,
.page[style*="--sf-card-bg"] .qa-item,
.page[style*="--sf-card-bg"] .poll-card { --glass-bg-strong: var(--sf-card-bg); --glass-bg: var(--sf-card-bg); }

/* Accent tints the small marks (link icons, arrows) without touching text. */
.page[style*="--sf-accent"] .link-icon { color: var(--sf-accent); }
.page[style*="--sf-accent"] .link-arrow { color: var(--sf-accent); opacity: .8; }
.page[style*="--sf-accent"] .subscribe-icon { color: var(--sf-accent); }

/* ── Link styles ─────────────────────────────────────────────────────────── */
/* Each variant fully re-specifies the surface so variants never bleed into
   each other, and each keeps a visible hover/active state for affordance. */
.page[data-link-style="glass"] .link {
  background: var(--sf-link-bg, var(--glass-bg));
  border: .5px solid var(--sf-link-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-link-shadow, var(--glass-shadow));
}
.page[data-link-style="solid"] .link {
  background: var(--sf-link-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}
.page[data-link-style="solid"] .link .link-label,
.page[data-link-style="solid"] .link .link-arrow { color: inherit; }
.page[data-link-style="solid"] .link .link-sub { color: inherit; opacity: .62; }
.page[data-link-style="solid"] .link-icon {
  background: var(--sf-link-bg, rgba(0,0,0,.06)); border-color: var(--sf-link-edge, rgba(0,0,0,.08)); color: inherit;
  box-shadow: none;
}
.page[data-link-style="solid"] .link:hover { background: var(--sf-link-bg, #fff); filter: brightness(.97); }

.page[data-link-style="outline"] .link {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, rgba(255,255,255,.62));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.page[data-link-style="outline"] .link-icon {
  background: transparent; border: 1px solid var(--sf-link-edge, currentColor); box-shadow: none; opacity: .9;
}
.page[data-link-style="outline"] .link:hover { background: var(--sf-link-bg, rgba(255,255,255,.12)); }

.page[data-link-style="soft"] .link {
  background: var(--sf-link-bg, rgba(255,255,255,.24));
  border: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px var(--sf-link-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-link-shadow, rgba(255,255,255,.4));
}
.page[data-link-style="soft"] .link-icon { border: none; box-shadow: none; background: var(--sf-link-bg, rgba(255,255,255,.28)); }
.page[data-link-style="soft"] .link:hover { background: var(--sf-link-bg, rgba(255,255,255,.34)); }

.page[data-link-style="elevated"] .link {
  background: var(--sf-link-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 14px 28px -16px var(--sf-link-shadow, rgba(28,8,40,.6)), 0 2px 6px -2px var(--sf-link-shadow, rgba(28,8,40,.25));
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}
.page[data-link-style="elevated"] .link .link-label,
.page[data-link-style="elevated"] .link .link-arrow { color: inherit; }
.page[data-link-style="elevated"] .link .link-sub { color: inherit; opacity: .62; }
.page[data-link-style="elevated"] .link-icon {
  background: var(--sf-link-bg, rgba(0,0,0,.05)); border: none; color: inherit; box-shadow: none;
}
.page[data-link-style="elevated"] .link:hover { transform: translateY(-2px); }

.page[data-link-style="minimal"] .link {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sf-link-edge, rgba(255,255,255,.28));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 2px; padding-right: 2px;
}
.page[data-link-style="minimal"] .link-icon {
  background: transparent; border: none; box-shadow: none; width: 22px; height: 22px;
}
.page[data-link-style="minimal"] .link-icon svg { width: 16px; height: 16px; }
.page[data-link-style="minimal"] .link:hover { background: transparent; border-bottom-color: currentColor; }
.page[data-link-style="minimal"] .links { gap: 2px; }

.page[data-link-style="brutal"] .link {
  background: var(--sf-link-bg, #fff);
  border: 2px solid var(--sf-link-edge, #1c0828);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 4px 4px 0 0 var(--sf-link-edge, var(--sf-link-shadow, #1c0828));
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}
.page[data-link-style="brutal"] .link .link-label,
.page[data-link-style="brutal"] .link .link-arrow { color: inherit; }
.page[data-link-style="brutal"] .link .link-sub { color: inherit; opacity: .68; }
.page[data-link-style="brutal"] .link-icon {
  background: transparent; border: 2px solid var(--sf-link-edge, currentColor); border-radius: 0;
  box-shadow: none; color: inherit;
}
.page[data-link-style="brutal"] .link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--sf-link-edge, var(--sf-link-shadow, #1c0828)); }

/* Shape. `.link` carries no radius of its own (it inherits from .glass), so
   these set it directly and stay compatible with every style above. */
.page[data-link-radius="sharp"]   .link { border-radius: 0; }
.page[data-link-radius="soft"]    .link { border-radius: 8px; }
.page[data-link-radius="rounded"] .link { border-radius: 18px; }
.page[data-link-radius="pill"]    .link { border-radius: 999px; padding-left: 18px; padding-right: 18px; }
.page[data-link-radius="sharp"]   .link-icon { border-radius: 0; }
.page[data-link-radius="pill"]    .link-icon { border-radius: 999px; }

/* Density */
.page[data-link-density="compact"] .link  { padding: 8px 12px; }
.page[data-link-density="compact"] .links { gap: 6px; }
.page[data-link-density="cosy"]    .link  { padding: 13px 15px; }
.page[data-link-density="cosy"]    .links { gap: 10px; }
.page[data-link-density="roomy"]   .link  { padding: 18px 18px; }
.page[data-link-density="roomy"]   .links { gap: 14px; }

/* Icon placement. The row is a 3-column grid (icon | body | arrow); moving the
   icon is a column-order change, and hiding it collapses its track. */
/* "left" is also the original position, but making it an explicit rule means
   choosing it actively wins over any other icon state instead of relying on
   the base stylesheet still happening to agree. */
.page[data-link-icon="left"] .link { grid-template-columns: 40px 1fr 28px; }
.page[data-link-icon="left"] .link-icon { grid-column: 1; grid-row: 1; }
.page[data-link-icon="left"] .link-body { grid-column: 2; grid-row: 1; }
.page[data-link-icon="right"] .link { grid-template-columns: 1fr 40px 28px; }
.page[data-link-icon="right"] .link-icon { grid-column: 2; grid-row: 1; }
.page[data-link-icon="right"] .link-body { grid-column: 1; grid-row: 1; }
.page[data-link-icon="hidden"] .link { grid-template-columns: 1fr 28px; }
.page[data-link-icon="hidden"] .link-icon { display: none; }

.page[data-link-arrow="hidden"] .link { grid-template-columns: 40px 1fr; }
.page[data-link-arrow="hidden"] .link-arrow { display: none; }
.page[data-link-arrow="hidden"][data-link-icon="hidden"] .link { grid-template-columns: 1fr; }
.page[data-link-arrow="hidden"][data-link-icon="right"] .link { grid-template-columns: 1fr 40px; }
.page[data-link-arrow="show"] .link-arrow { display: grid; }

/* ── Card styles (the "boxes": engage, emails, business, wallet, projects…) ─ */
/* Same reasoning as the link icon: "glass" is the original card look, and
   spelling it out makes it a real, re-selectable choice. */
.page[data-card-style="glass"] .glass:not(.link) {
  background: var(--sf-card-bg, var(--glass-bg));
  border: .5px solid var(--sf-card-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-card-shadow, var(--glass-shadow));
}
.page[data-card-style="solid"] .glass:not(.link) {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}
.page[data-card-style="outline"] .glass:not(.link) {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, var(--sf-card-edge, rgba(255,255,255,.55)));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.page[data-card-style="soft"] .glass:not(.link) {
  background: var(--sf-card-bg, rgba(255,255,255,.26));
  border: none;
  box-shadow: 0 14px 30px -18px var(--sf-card-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-card-shadow, rgba(255,255,255,.4));
}
.page[data-card-style="elevated"] .glass:not(.link) {
  background: var(--sf-card-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}
.page[data-card-style="flat"] .glass:not(.link) {
  background: var(--sf-card-bg, rgba(255,255,255,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
/* The glass sheen pseudo-element belongs to the glass look only. */
.page[data-card-style="solid"] .glass:not(.link)::before,
.page[data-card-style="outline"] .glass:not(.link)::before,
.page[data-card-style="elevated"] .glass:not(.link)::before,
.page[data-card-style="flat"] .glass:not(.link)::before { display: none; }

.page[data-card-radius="sharp"]   .glass:not(.link) { border-radius: 0; }
.page[data-card-radius="soft"]    .glass:not(.link) { border-radius: 10px; }
.page[data-card-radius="rounded"] .glass:not(.link) { border-radius: 20px; }
.page[data-card-radius="xl"]      .glass:not(.link) { border-radius: 30px; }

.page[data-card-edge="none"]     .glass:not(.link) { border-color: transparent; border-width: 0; }
.page[data-card-edge="hairline"] .glass:not(.link) { border-style: solid; border-width: .5px; }
.page[data-card-edge="strong"]   .glass:not(.link) { border-style: solid; border-width: 2px; border-color: var(--sf-link-edge, rgba(255,255,255,.7)); }

.page[data-page-width="narrow"] { --col-w: 380px; }
.page[data-page-width="normal"] { --col-w: 440px; }
.page[data-page-width="wide"]   { --col-w: 540px; }

.page[data-block-gap="tight"]  .stage { gap: 8px; }
.page[data-block-gap="normal"] .stage { gap: 14px; }
.page[data-block-gap="airy"]   .stage { gap: 24px; }

/* The photo is four stacked layers (frame, photo, gloss, rim) that each carry
   their own radius; reshaping means moving all four together or the corners
   desynchronise. The frame sits 6px outside the inner layers, which is why it
   keeps a slightly larger radius on the non-circular shapes. */
.page[data-photo-shape="square"] .cover-frame,
.page[data-photo-shape="square"] .cover-photo,
.page[data-photo-shape="square"] .cover-gloss,
.page[data-photo-shape="square"] .cover-rim { border-radius: 0; }
.page[data-photo-shape="soft"] .cover-frame { border-radius: 16px; }
.page[data-photo-shape="soft"] .cover-photo,
.page[data-photo-shape="soft"] .cover-gloss,
.page[data-photo-shape="soft"] .cover-rim { border-radius: 12px; }
.page[data-photo-shape="rounded"] .cover-frame { border-radius: 34px; }
.page[data-photo-shape="rounded"] .cover-photo,
.page[data-photo-shape="rounded"] .cover-gloss,
.page[data-photo-shape="rounded"] .cover-rim { border-radius: 28px; }
.page[data-photo-shape="circle"] .cover-frame,
.page[data-photo-shape="circle"] .cover-photo,
.page[data-photo-shape="circle"] .cover-gloss,
.page[data-photo-shape="circle"] .cover-rim { border-radius: 50%; }

/* Size shrinks the WHOLE picture, centred. Capping .cover-frame alone was
   wrong twice over: the frame is positioned inside a square .cover, so a
   max-width narrowed it without reducing its height and without re-centring
   it — the photo kept its full height and got cropped on one side. Resizing
   the square itself keeps the aspect ratio and the `margin: auto` already on
   .cover does the centring. */
.page[data-photo-size="s"] .cover { max-width: min(62%, calc(var(--col-w) - var(--pad) * 2)); }
.page[data-photo-size="m"] .cover { max-width: min(78%, calc(var(--col-w) - var(--pad) * 2)); }
.page[data-photo-size="l"] .cover { max-width: calc(var(--col-w) - var(--pad) * 2); }

/* Motion-sensitive users keep the layout, lose the movement. */
@media (prefers-reduced-motion: reduce) {
  .page[data-link-style] .link { transition: none; }
  .page[data-link-style] .link:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STUDIO — full-page coverage
   ═══════════════════════════════════════════════════════════════════════════
   The first pass only restyled `.link` and `.glass` cards, which meant nine
   card types with their own surfaces (emails, business, engage, wallet,
   circle, projects, coin, verse, polls) quietly ignored the card controls.
   The lists below are the real inventory of the linkpage's surfaces, so a
   card style now reaches every card, and badges / buttons / social icons /
   input fields get their own families instead of being left behind.

   Deliberately NOT restyled: photos, avatars, QR codes, gradient shadows and
   success/error messages — those carry meaning (or content) rather than
   decoration, and forcing a look onto them is how a design studio starts
   producing unreadable pages.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Cards: every real card, not just the glass ones ─────────────────────── */
.page[data-card-style="glass"] .glass:not(.link),
.page[data-card-style="glass"] .prj-card,
.page[data-card-style="glass"] .coin-card,
.page[data-card-style="glass"] .wallet-card,
.page[data-card-style="glass"] .biz-card,
.page[data-card-style="glass"] .engage-card,
.page[data-card-style="glass"] .poll-card,
.page[data-card-style="glass"] .qa-item,
.page[data-card-style="glass"] .subscribe-card,
.page[data-card-style="glass"] .circle-card,
.page[data-card-style="glass"] .circle-post,
.page[data-card-style="glass"] .verse-card,
.page[data-card-style="glass"] .coin-post,
.page[data-card-style="glass"] .lifts-list,
.page[data-card-style="glass"] .wcpreds-panel,
.page[data-card-style="glass"] .prj-comments-panel,
.page[data-card-style="glass"] .biz-info,
.page[data-card-style="glass"] .share-pop {
  background: var(--sf-card-bg, var(--glass-bg));
  border: .5px solid var(--sf-card-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-card-shadow, var(--glass-shadow));
}
.page[data-card-style="solid"] .glass:not(.link),
.page[data-card-style="solid"] .prj-card,
.page[data-card-style="solid"] .coin-card,
.page[data-card-style="solid"] .wallet-card,
.page[data-card-style="solid"] .biz-card,
.page[data-card-style="solid"] .engage-card,
.page[data-card-style="solid"] .poll-card,
.page[data-card-style="solid"] .qa-item,
.page[data-card-style="solid"] .subscribe-card,
.page[data-card-style="solid"] .circle-card,
.page[data-card-style="solid"] .circle-post,
.page[data-card-style="solid"] .verse-card,
.page[data-card-style="solid"] .coin-post,
.page[data-card-style="solid"] .lifts-list,
.page[data-card-style="solid"] .wcpreds-panel,
.page[data-card-style="solid"] .prj-comments-panel,
.page[data-card-style="solid"] .biz-info,
.page[data-card-style="solid"] .share-pop {
  background: var(--sf-card-bg, rgba(255,255,255,.94));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}
.page[data-card-style="outline"] .glass:not(.link),
.page[data-card-style="outline"] .prj-card,
.page[data-card-style="outline"] .coin-card,
.page[data-card-style="outline"] .wallet-card,
.page[data-card-style="outline"] .biz-card,
.page[data-card-style="outline"] .engage-card,
.page[data-card-style="outline"] .poll-card,
.page[data-card-style="outline"] .qa-item,
.page[data-card-style="outline"] .subscribe-card,
.page[data-card-style="outline"] .circle-card,
.page[data-card-style="outline"] .circle-post,
.page[data-card-style="outline"] .verse-card,
.page[data-card-style="outline"] .coin-post,
.page[data-card-style="outline"] .lifts-list,
.page[data-card-style="outline"] .wcpreds-panel,
.page[data-card-style="outline"] .prj-comments-panel,
.page[data-card-style="outline"] .biz-info,
.page[data-card-style="outline"] .share-pop {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, var(--sf-card-edge, rgba(255,255,255,.55)));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.page[data-card-style="soft"] .glass:not(.link),
.page[data-card-style="soft"] .prj-card,
.page[data-card-style="soft"] .coin-card,
.page[data-card-style="soft"] .wallet-card,
.page[data-card-style="soft"] .biz-card,
.page[data-card-style="soft"] .engage-card,
.page[data-card-style="soft"] .poll-card,
.page[data-card-style="soft"] .qa-item,
.page[data-card-style="soft"] .subscribe-card,
.page[data-card-style="soft"] .circle-card,
.page[data-card-style="soft"] .circle-post,
.page[data-card-style="soft"] .verse-card,
.page[data-card-style="soft"] .coin-post,
.page[data-card-style="soft"] .lifts-list,
.page[data-card-style="soft"] .wcpreds-panel,
.page[data-card-style="soft"] .prj-comments-panel,
.page[data-card-style="soft"] .biz-info,
.page[data-card-style="soft"] .share-pop {
  background: var(--sf-card-bg, rgba(255,255,255,.26));
  border: none;
  box-shadow: 0 14px 30px -18px var(--sf-card-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-card-shadow, rgba(255,255,255,.4));
}
.page[data-card-style="elevated"] .glass:not(.link),
.page[data-card-style="elevated"] .prj-card,
.page[data-card-style="elevated"] .coin-card,
.page[data-card-style="elevated"] .wallet-card,
.page[data-card-style="elevated"] .biz-card,
.page[data-card-style="elevated"] .engage-card,
.page[data-card-style="elevated"] .poll-card,
.page[data-card-style="elevated"] .qa-item,
.page[data-card-style="elevated"] .subscribe-card,
.page[data-card-style="elevated"] .circle-card,
.page[data-card-style="elevated"] .circle-post,
.page[data-card-style="elevated"] .verse-card,
.page[data-card-style="elevated"] .coin-post,
.page[data-card-style="elevated"] .lifts-list,
.page[data-card-style="elevated"] .wcpreds-panel,
.page[data-card-style="elevated"] .prj-comments-panel,
.page[data-card-style="elevated"] .biz-info,
.page[data-card-style="elevated"] .share-pop {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}
.page[data-card-style="flat"] .glass:not(.link),
.page[data-card-style="flat"] .prj-card,
.page[data-card-style="flat"] .coin-card,
.page[data-card-style="flat"] .wallet-card,
.page[data-card-style="flat"] .biz-card,
.page[data-card-style="flat"] .engage-card,
.page[data-card-style="flat"] .poll-card,
.page[data-card-style="flat"] .qa-item,
.page[data-card-style="flat"] .subscribe-card,
.page[data-card-style="flat"] .circle-card,
.page[data-card-style="flat"] .circle-post,
.page[data-card-style="flat"] .verse-card,
.page[data-card-style="flat"] .coin-post,
.page[data-card-style="flat"] .lifts-list,
.page[data-card-style="flat"] .wcpreds-panel,
.page[data-card-style="flat"] .prj-comments-panel,
.page[data-card-style="flat"] .biz-info,
.page[data-card-style="flat"] .share-pop {
  background: var(--sf-card-bg, rgba(255,255,255,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.page[data-card-style="tint"] .glass:not(.link),
.page[data-card-style="tint"] .prj-card,
.page[data-card-style="tint"] .coin-card,
.page[data-card-style="tint"] .wallet-card,
.page[data-card-style="tint"] .biz-card,
.page[data-card-style="tint"] .engage-card,
.page[data-card-style="tint"] .poll-card,
.page[data-card-style="tint"] .qa-item,
.page[data-card-style="tint"] .subscribe-card,
.page[data-card-style="tint"] .circle-card,
.page[data-card-style="tint"] .circle-post,
.page[data-card-style="tint"] .verse-card,
.page[data-card-style="tint"] .coin-post,
.page[data-card-style="tint"] .lifts-list,
.page[data-card-style="tint"] .wcpreds-panel,
.page[data-card-style="tint"] .prj-comments-panel,
.page[data-card-style="tint"] .biz-info,
.page[data-card-style="tint"] .share-pop {
  background: var(--sf-card-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 16%, transparent));
  border: .5px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 42%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}
.page[data-card-style="glow"] .glass:not(.link),
.page[data-card-style="glow"] .prj-card,
.page[data-card-style="glow"] .coin-card,
.page[data-card-style="glow"] .wallet-card,
.page[data-card-style="glow"] .biz-card,
.page[data-card-style="glow"] .engage-card,
.page[data-card-style="glow"] .poll-card,
.page[data-card-style="glow"] .qa-item,
.page[data-card-style="glow"] .subscribe-card,
.page[data-card-style="glow"] .circle-card,
.page[data-card-style="glow"] .circle-post,
.page[data-card-style="glow"] .verse-card,
.page[data-card-style="glow"] .coin-post,
.page[data-card-style="glow"] .lifts-list,
.page[data-card-style="glow"] .wcpreds-panel,
.page[data-card-style="glow"] .prj-comments-panel,
.page[data-card-style="glow"] .biz-info,
.page[data-card-style="glow"] .share-pop {
  background: var(--sf-card-bg, rgba(255,255,255,.14));
  border: 1px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 55%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 18%, transparent),
              0 10px 30px -14px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 60%, transparent);
}
.page[data-card-style="solid"] .glass:not(.link)::before { display: none; }
.page[data-card-style="outline"] .glass:not(.link)::before { display: none; }
.page[data-card-style="elevated"] .glass:not(.link)::before { display: none; }
.page[data-card-style="flat"] .glass:not(.link)::before { display: none; }
.page[data-card-style="tint"] .glass:not(.link)::before { display: none; }
.page[data-card-style="glow"] .glass:not(.link)::before { display: none; }

/* Card shape + edge, same full coverage. */
.page[data-card-radius="sharp"] .glass:not(.link),
.page[data-card-radius="sharp"] .prj-card,
.page[data-card-radius="sharp"] .coin-card,
.page[data-card-radius="sharp"] .wallet-card,
.page[data-card-radius="sharp"] .biz-card,
.page[data-card-radius="sharp"] .engage-card,
.page[data-card-radius="sharp"] .poll-card,
.page[data-card-radius="sharp"] .qa-item,
.page[data-card-radius="sharp"] .subscribe-card,
.page[data-card-radius="sharp"] .circle-card,
.page[data-card-radius="sharp"] .circle-post,
.page[data-card-radius="sharp"] .verse-card,
.page[data-card-radius="sharp"] .coin-post,
.page[data-card-radius="sharp"] .lifts-list,
.page[data-card-radius="sharp"] .wcpreds-panel,
.page[data-card-radius="sharp"] .prj-comments-panel,
.page[data-card-radius="sharp"] .biz-info,
.page[data-card-radius="sharp"] .share-pop { border-radius: 0; }
.page[data-card-radius="soft"] .glass:not(.link),
.page[data-card-radius="soft"] .prj-card,
.page[data-card-radius="soft"] .coin-card,
.page[data-card-radius="soft"] .wallet-card,
.page[data-card-radius="soft"] .biz-card,
.page[data-card-radius="soft"] .engage-card,
.page[data-card-radius="soft"] .poll-card,
.page[data-card-radius="soft"] .qa-item,
.page[data-card-radius="soft"] .subscribe-card,
.page[data-card-radius="soft"] .circle-card,
.page[data-card-radius="soft"] .circle-post,
.page[data-card-radius="soft"] .verse-card,
.page[data-card-radius="soft"] .coin-post,
.page[data-card-radius="soft"] .lifts-list,
.page[data-card-radius="soft"] .wcpreds-panel,
.page[data-card-radius="soft"] .prj-comments-panel,
.page[data-card-radius="soft"] .biz-info,
.page[data-card-radius="soft"] .share-pop { border-radius: 10px; }
.page[data-card-radius="rounded"] .glass:not(.link),
.page[data-card-radius="rounded"] .prj-card,
.page[data-card-radius="rounded"] .coin-card,
.page[data-card-radius="rounded"] .wallet-card,
.page[data-card-radius="rounded"] .biz-card,
.page[data-card-radius="rounded"] .engage-card,
.page[data-card-radius="rounded"] .poll-card,
.page[data-card-radius="rounded"] .qa-item,
.page[data-card-radius="rounded"] .subscribe-card,
.page[data-card-radius="rounded"] .circle-card,
.page[data-card-radius="rounded"] .circle-post,
.page[data-card-radius="rounded"] .verse-card,
.page[data-card-radius="rounded"] .coin-post,
.page[data-card-radius="rounded"] .lifts-list,
.page[data-card-radius="rounded"] .wcpreds-panel,
.page[data-card-radius="rounded"] .prj-comments-panel,
.page[data-card-radius="rounded"] .biz-info,
.page[data-card-radius="rounded"] .share-pop { border-radius: 20px; }
.page[data-card-radius="xl"] .glass:not(.link),
.page[data-card-radius="xl"] .prj-card,
.page[data-card-radius="xl"] .coin-card,
.page[data-card-radius="xl"] .wallet-card,
.page[data-card-radius="xl"] .biz-card,
.page[data-card-radius="xl"] .engage-card,
.page[data-card-radius="xl"] .poll-card,
.page[data-card-radius="xl"] .qa-item,
.page[data-card-radius="xl"] .subscribe-card,
.page[data-card-radius="xl"] .circle-card,
.page[data-card-radius="xl"] .circle-post,
.page[data-card-radius="xl"] .verse-card,
.page[data-card-radius="xl"] .coin-post,
.page[data-card-radius="xl"] .lifts-list,
.page[data-card-radius="xl"] .wcpreds-panel,
.page[data-card-radius="xl"] .prj-comments-panel,
.page[data-card-radius="xl"] .biz-info,
.page[data-card-radius="xl"] .share-pop { border-radius: 30px; }
.page[data-card-edge="none"] .glass:not(.link),
.page[data-card-edge="none"] .prj-card,
.page[data-card-edge="none"] .coin-card,
.page[data-card-edge="none"] .wallet-card,
.page[data-card-edge="none"] .biz-card,
.page[data-card-edge="none"] .engage-card,
.page[data-card-edge="none"] .poll-card,
.page[data-card-edge="none"] .qa-item,
.page[data-card-edge="none"] .subscribe-card,
.page[data-card-edge="none"] .circle-card,
.page[data-card-edge="none"] .circle-post,
.page[data-card-edge="none"] .verse-card,
.page[data-card-edge="none"] .coin-post,
.page[data-card-edge="none"] .lifts-list,
.page[data-card-edge="none"] .wcpreds-panel,
.page[data-card-edge="none"] .prj-comments-panel,
.page[data-card-edge="none"] .biz-info,
.page[data-card-edge="none"] .share-pop { border-color: transparent; border-width: 0; }
.page[data-card-edge="hairline"] .glass:not(.link),
.page[data-card-edge="hairline"] .prj-card,
.page[data-card-edge="hairline"] .coin-card,
.page[data-card-edge="hairline"] .wallet-card,
.page[data-card-edge="hairline"] .biz-card,
.page[data-card-edge="hairline"] .engage-card,
.page[data-card-edge="hairline"] .poll-card,
.page[data-card-edge="hairline"] .qa-item,
.page[data-card-edge="hairline"] .subscribe-card,
.page[data-card-edge="hairline"] .circle-card,
.page[data-card-edge="hairline"] .circle-post,
.page[data-card-edge="hairline"] .verse-card,
.page[data-card-edge="hairline"] .coin-post,
.page[data-card-edge="hairline"] .lifts-list,
.page[data-card-edge="hairline"] .wcpreds-panel,
.page[data-card-edge="hairline"] .prj-comments-panel,
.page[data-card-edge="hairline"] .biz-info,
.page[data-card-edge="hairline"] .share-pop { border-style: solid; border-width: .5px; }
.page[data-card-edge="strong"] .glass:not(.link),
.page[data-card-edge="strong"] .prj-card,
.page[data-card-edge="strong"] .coin-card,
.page[data-card-edge="strong"] .wallet-card,
.page[data-card-edge="strong"] .biz-card,
.page[data-card-edge="strong"] .engage-card,
.page[data-card-edge="strong"] .poll-card,
.page[data-card-edge="strong"] .qa-item,
.page[data-card-edge="strong"] .subscribe-card,
.page[data-card-edge="strong"] .circle-card,
.page[data-card-edge="strong"] .circle-post,
.page[data-card-edge="strong"] .verse-card,
.page[data-card-edge="strong"] .coin-post,
.page[data-card-edge="strong"] .lifts-list,
.page[data-card-edge="strong"] .wcpreds-panel,
.page[data-card-edge="strong"] .prj-comments-panel,
.page[data-card-edge="strong"] .biz-info,
.page[data-card-edge="strong"] .share-pop { border-style: solid; border-width: 2px; border-color: var(--sf-link-edge, rgba(255,255,255,.7)); }

/* ── Badges: the little pills under the name ─────────────────────────────── */
.page[data-badge-style="glass"] .stan-badge,
.page[data-badge-style="glass"] .zodiac-badge,
.page[data-badge-style="glass"] .pronouns-tag,
.page[data-badge-style="glass"] .sports-pill,
.page[data-badge-style="glass"] .supporter-badge,
.page[data-badge-style="glass"] .biz-cat,
.page[data-badge-style="glass"] .wallet-chip,
.page[data-badge-style="glass"] .circle-badge,
.page[data-badge-style="glass"] .coin-post-kind,
.page[data-badge-style="glass"] .coin-chain,
.page[data-badge-style="glass"] .wcpreds-count {
  background: var(--sf-badge-bg, rgba(255,255,255,.22));
  border: .5px solid var(--sf-badge-edge, rgba(255,255,255,.45));
  box-shadow: inset 0 1px 0 var(--sf-badge-shadow, rgba(255,255,255,.4));
}
.page[data-badge-style="solid"] .stan-badge,
.page[data-badge-style="solid"] .zodiac-badge,
.page[data-badge-style="solid"] .pronouns-tag,
.page[data-badge-style="solid"] .sports-pill,
.page[data-badge-style="solid"] .supporter-badge,
.page[data-badge-style="solid"] .biz-cat,
.page[data-badge-style="solid"] .wallet-chip,
.page[data-badge-style="solid"] .circle-badge,
.page[data-badge-style="solid"] .coin-post-kind,
.page[data-badge-style="solid"] .coin-chain,
.page[data-badge-style="solid"] .wcpreds-count {
  background: var(--sf-badge-bg, var(--sf-card-bg, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-badge-ink, var(--sf-ink, #1c0828));
}
.page[data-badge-style="outline"] .stan-badge,
.page[data-badge-style="outline"] .zodiac-badge,
.page[data-badge-style="outline"] .pronouns-tag,
.page[data-badge-style="outline"] .sports-pill,
.page[data-badge-style="outline"] .supporter-badge,
.page[data-badge-style="outline"] .biz-cat,
.page[data-badge-style="outline"] .wallet-chip,
.page[data-badge-style="outline"] .circle-badge,
.page[data-badge-style="outline"] .coin-post-kind,
.page[data-badge-style="outline"] .coin-chain,
.page[data-badge-style="outline"] .wcpreds-count {
  background: transparent;
  border: 1.2px solid var(--sf-badge-edge, currentColor);
  box-shadow: none;
}
.page[data-badge-style="soft"] .stan-badge,
.page[data-badge-style="soft"] .zodiac-badge,
.page[data-badge-style="soft"] .pronouns-tag,
.page[data-badge-style="soft"] .sports-pill,
.page[data-badge-style="soft"] .supporter-badge,
.page[data-badge-style="soft"] .biz-cat,
.page[data-badge-style="soft"] .wallet-chip,
.page[data-badge-style="soft"] .circle-badge,
.page[data-badge-style="soft"] .coin-post-kind,
.page[data-badge-style="soft"] .coin-chain,
.page[data-badge-style="soft"] .wcpreds-count {
  background: var(--sf-badge-bg, rgba(255,255,255,.3));
  border: none;
  box-shadow: 0 6px 14px -10px var(--sf-badge-shadow, rgba(28,8,40,.5));
}
.page[data-badge-style="flat"] .stan-badge,
.page[data-badge-style="flat"] .zodiac-badge,
.page[data-badge-style="flat"] .pronouns-tag,
.page[data-badge-style="flat"] .sports-pill,
.page[data-badge-style="flat"] .supporter-badge,
.page[data-badge-style="flat"] .biz-cat,
.page[data-badge-style="flat"] .wallet-chip,
.page[data-badge-style="flat"] .circle-badge,
.page[data-badge-style="flat"] .coin-post-kind,
.page[data-badge-style="flat"] .coin-chain,
.page[data-badge-style="flat"] .wcpreds-count {
  background: var(--sf-badge-bg, rgba(255,255,255,.14));
  border: none;
  box-shadow: none;
}
.page[data-badge-radius="sharp"] .stan-badge,
.page[data-badge-radius="sharp"] .zodiac-badge,
.page[data-badge-radius="sharp"] .pronouns-tag,
.page[data-badge-radius="sharp"] .sports-pill,
.page[data-badge-radius="sharp"] .supporter-badge,
.page[data-badge-radius="sharp"] .biz-cat,
.page[data-badge-radius="sharp"] .wallet-chip,
.page[data-badge-radius="sharp"] .circle-badge,
.page[data-badge-radius="sharp"] .coin-post-kind,
.page[data-badge-radius="sharp"] .coin-chain,
.page[data-badge-radius="sharp"] .wcpreds-count { border-radius: 0; }
.page[data-badge-radius="soft"] .stan-badge,
.page[data-badge-radius="soft"] .zodiac-badge,
.page[data-badge-radius="soft"] .pronouns-tag,
.page[data-badge-radius="soft"] .sports-pill,
.page[data-badge-radius="soft"] .supporter-badge,
.page[data-badge-radius="soft"] .biz-cat,
.page[data-badge-radius="soft"] .wallet-chip,
.page[data-badge-radius="soft"] .circle-badge,
.page[data-badge-radius="soft"] .coin-post-kind,
.page[data-badge-radius="soft"] .coin-chain,
.page[data-badge-radius="soft"] .wcpreds-count { border-radius: 7px; }
.page[data-badge-radius="rounded"] .stan-badge,
.page[data-badge-radius="rounded"] .zodiac-badge,
.page[data-badge-radius="rounded"] .pronouns-tag,
.page[data-badge-radius="rounded"] .sports-pill,
.page[data-badge-radius="rounded"] .supporter-badge,
.page[data-badge-radius="rounded"] .biz-cat,
.page[data-badge-radius="rounded"] .wallet-chip,
.page[data-badge-radius="rounded"] .circle-badge,
.page[data-badge-radius="rounded"] .coin-post-kind,
.page[data-badge-radius="rounded"] .coin-chain,
.page[data-badge-radius="rounded"] .wcpreds-count { border-radius: 13px; }
.page[data-badge-radius="pill"] .stan-badge,
.page[data-badge-radius="pill"] .zodiac-badge,
.page[data-badge-radius="pill"] .pronouns-tag,
.page[data-badge-radius="pill"] .sports-pill,
.page[data-badge-radius="pill"] .supporter-badge,
.page[data-badge-radius="pill"] .biz-cat,
.page[data-badge-radius="pill"] .wallet-chip,
.page[data-badge-radius="pill"] .circle-badge,
.page[data-badge-radius="pill"] .coin-post-kind,
.page[data-badge-radius="pill"] .coin-chain,
.page[data-badge-radius="pill"] .wcpreds-count { border-radius: 999px; }

/* ── Buttons: every call to action on the page ───────────────────────────── */
.page[data-button-style="glass"] .event-cta,
.page[data-button-style="glass"] .house-entrance-cta,
.page[data-button-style="glass"] .store-entrance-cta,
.page[data-button-style="glass"] .biz-action,
.page[data-button-style="glass"] .coin-buy,
.page[data-button-style="glass"] .subscribe-btn,
.page[data-button-style="glass"] .circle-btn,
.page[data-button-style="glass"] .qbox-send,
.page[data-button-style="glass"] .wallet-copy,
.page[data-button-style="glass"] .prj-visit,
.page[data-button-style="glass"] .lifts-btn,
.page[data-button-style="glass"] .msg-btn,
.page[data-button-style="glass"] .wcpreds-btn,
.page[data-button-style="glass"] .coin-post-share,
.page[data-button-style="glass"] .circle-csend,
.page[data-button-style="glass"] .prj-comment-send,
.page[data-button-style="glass"] .wallet-send-go,
.page[data-button-style="glass"] .wallet-picker-btn,
.page[data-button-style="glass"] .circle-more,
.page[data-button-style="glass"] .coin-post-link {
  background: var(--sf-button-bg, rgba(255,255,255,.2));
  border: .5px solid var(--sf-button-edge, rgba(255,255,255,.42));
  box-shadow: inset 0 1px 0 var(--sf-button-shadow, rgba(255,255,255,.45));
}
.page[data-button-style="solid"] .event-cta,
.page[data-button-style="solid"] .house-entrance-cta,
.page[data-button-style="solid"] .store-entrance-cta,
.page[data-button-style="solid"] .biz-action,
.page[data-button-style="solid"] .coin-buy,
.page[data-button-style="solid"] .subscribe-btn,
.page[data-button-style="solid"] .circle-btn,
.page[data-button-style="solid"] .qbox-send,
.page[data-button-style="solid"] .wallet-copy,
.page[data-button-style="solid"] .prj-visit,
.page[data-button-style="solid"] .lifts-btn,
.page[data-button-style="solid"] .msg-btn,
.page[data-button-style="solid"] .wcpreds-btn,
.page[data-button-style="solid"] .coin-post-share,
.page[data-button-style="solid"] .circle-csend,
.page[data-button-style="solid"] .prj-comment-send,
.page[data-button-style="solid"] .wallet-send-go,
.page[data-button-style="solid"] .wallet-picker-btn,
.page[data-button-style="solid"] .circle-more,
.page[data-button-style="solid"] .coin-post-link {
  background: var(--sf-button-bg, var(--sf-accent, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.page[data-button-style="outline"] .event-cta,
.page[data-button-style="outline"] .house-entrance-cta,
.page[data-button-style="outline"] .store-entrance-cta,
.page[data-button-style="outline"] .biz-action,
.page[data-button-style="outline"] .coin-buy,
.page[data-button-style="outline"] .subscribe-btn,
.page[data-button-style="outline"] .circle-btn,
.page[data-button-style="outline"] .qbox-send,
.page[data-button-style="outline"] .wallet-copy,
.page[data-button-style="outline"] .prj-visit,
.page[data-button-style="outline"] .lifts-btn,
.page[data-button-style="outline"] .msg-btn,
.page[data-button-style="outline"] .wcpreds-btn,
.page[data-button-style="outline"] .coin-post-share,
.page[data-button-style="outline"] .circle-csend,
.page[data-button-style="outline"] .prj-comment-send,
.page[data-button-style="outline"] .wallet-send-go,
.page[data-button-style="outline"] .wallet-picker-btn,
.page[data-button-style="outline"] .circle-more,
.page[data-button-style="outline"] .coin-post-link {
  background: transparent;
  border: 1.5px solid var(--sf-button-edge, currentColor);
  box-shadow: none;
}
.page[data-button-style="soft"] .event-cta,
.page[data-button-style="soft"] .house-entrance-cta,
.page[data-button-style="soft"] .store-entrance-cta,
.page[data-button-style="soft"] .biz-action,
.page[data-button-style="soft"] .coin-buy,
.page[data-button-style="soft"] .subscribe-btn,
.page[data-button-style="soft"] .circle-btn,
.page[data-button-style="soft"] .qbox-send,
.page[data-button-style="soft"] .wallet-copy,
.page[data-button-style="soft"] .prj-visit,
.page[data-button-style="soft"] .lifts-btn,
.page[data-button-style="soft"] .msg-btn,
.page[data-button-style="soft"] .wcpreds-btn,
.page[data-button-style="soft"] .coin-post-share,
.page[data-button-style="soft"] .circle-csend,
.page[data-button-style="soft"] .prj-comment-send,
.page[data-button-style="soft"] .wallet-send-go,
.page[data-button-style="soft"] .wallet-picker-btn,
.page[data-button-style="soft"] .circle-more,
.page[data-button-style="soft"] .coin-post-link {
  background: var(--sf-button-bg, rgba(255,255,255,.3));
  border: none;
  box-shadow: 0 8px 18px -12px var(--sf-button-shadow, rgba(28,8,40,.55));
}
.page[data-button-style="elevated"] .event-cta,
.page[data-button-style="elevated"] .house-entrance-cta,
.page[data-button-style="elevated"] .store-entrance-cta,
.page[data-button-style="elevated"] .biz-action,
.page[data-button-style="elevated"] .coin-buy,
.page[data-button-style="elevated"] .subscribe-btn,
.page[data-button-style="elevated"] .circle-btn,
.page[data-button-style="elevated"] .qbox-send,
.page[data-button-style="elevated"] .wallet-copy,
.page[data-button-style="elevated"] .prj-visit,
.page[data-button-style="elevated"] .lifts-btn,
.page[data-button-style="elevated"] .msg-btn,
.page[data-button-style="elevated"] .wcpreds-btn,
.page[data-button-style="elevated"] .coin-post-share,
.page[data-button-style="elevated"] .circle-csend,
.page[data-button-style="elevated"] .prj-comment-send,
.page[data-button-style="elevated"] .wallet-send-go,
.page[data-button-style="elevated"] .wallet-picker-btn,
.page[data-button-style="elevated"] .circle-more,
.page[data-button-style="elevated"] .coin-post-link {
  background: var(--sf-button-bg, var(--sf-card-bg, rgba(255,255,255,.94)));
  border: none;
  box-shadow: 0 12px 24px -14px var(--sf-button-shadow, rgba(28,8,40,.6));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.page[data-button-style="brutal"] .event-cta,
.page[data-button-style="brutal"] .house-entrance-cta,
.page[data-button-style="brutal"] .store-entrance-cta,
.page[data-button-style="brutal"] .biz-action,
.page[data-button-style="brutal"] .coin-buy,
.page[data-button-style="brutal"] .subscribe-btn,
.page[data-button-style="brutal"] .circle-btn,
.page[data-button-style="brutal"] .qbox-send,
.page[data-button-style="brutal"] .wallet-copy,
.page[data-button-style="brutal"] .prj-visit,
.page[data-button-style="brutal"] .lifts-btn,
.page[data-button-style="brutal"] .msg-btn,
.page[data-button-style="brutal"] .wcpreds-btn,
.page[data-button-style="brutal"] .coin-post-share,
.page[data-button-style="brutal"] .circle-csend,
.page[data-button-style="brutal"] .prj-comment-send,
.page[data-button-style="brutal"] .wallet-send-go,
.page[data-button-style="brutal"] .wallet-picker-btn,
.page[data-button-style="brutal"] .circle-more,
.page[data-button-style="brutal"] .coin-post-link {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-button-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #1c0828));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.page[data-button-radius="sharp"] .event-cta,
.page[data-button-radius="sharp"] .house-entrance-cta,
.page[data-button-radius="sharp"] .store-entrance-cta,
.page[data-button-radius="sharp"] .biz-action,
.page[data-button-radius="sharp"] .coin-buy,
.page[data-button-radius="sharp"] .subscribe-btn,
.page[data-button-radius="sharp"] .circle-btn,
.page[data-button-radius="sharp"] .qbox-send,
.page[data-button-radius="sharp"] .wallet-copy,
.page[data-button-radius="sharp"] .prj-visit,
.page[data-button-radius="sharp"] .lifts-btn,
.page[data-button-radius="sharp"] .msg-btn,
.page[data-button-radius="sharp"] .wcpreds-btn,
.page[data-button-radius="sharp"] .coin-post-share,
.page[data-button-radius="sharp"] .circle-csend,
.page[data-button-radius="sharp"] .prj-comment-send,
.page[data-button-radius="sharp"] .wallet-send-go,
.page[data-button-radius="sharp"] .wallet-picker-btn,
.page[data-button-radius="sharp"] .circle-more,
.page[data-button-radius="sharp"] .coin-post-link { border-radius: 0; }
.page[data-button-radius="soft"] .event-cta,
.page[data-button-radius="soft"] .house-entrance-cta,
.page[data-button-radius="soft"] .store-entrance-cta,
.page[data-button-radius="soft"] .biz-action,
.page[data-button-radius="soft"] .coin-buy,
.page[data-button-radius="soft"] .subscribe-btn,
.page[data-button-radius="soft"] .circle-btn,
.page[data-button-radius="soft"] .qbox-send,
.page[data-button-radius="soft"] .wallet-copy,
.page[data-button-radius="soft"] .prj-visit,
.page[data-button-radius="soft"] .lifts-btn,
.page[data-button-radius="soft"] .msg-btn,
.page[data-button-radius="soft"] .wcpreds-btn,
.page[data-button-radius="soft"] .coin-post-share,
.page[data-button-radius="soft"] .circle-csend,
.page[data-button-radius="soft"] .prj-comment-send,
.page[data-button-radius="soft"] .wallet-send-go,
.page[data-button-radius="soft"] .wallet-picker-btn,
.page[data-button-radius="soft"] .circle-more,
.page[data-button-radius="soft"] .coin-post-link { border-radius: 8px; }
.page[data-button-radius="rounded"] .event-cta,
.page[data-button-radius="rounded"] .house-entrance-cta,
.page[data-button-radius="rounded"] .store-entrance-cta,
.page[data-button-radius="rounded"] .biz-action,
.page[data-button-radius="rounded"] .coin-buy,
.page[data-button-radius="rounded"] .subscribe-btn,
.page[data-button-radius="rounded"] .circle-btn,
.page[data-button-radius="rounded"] .qbox-send,
.page[data-button-radius="rounded"] .wallet-copy,
.page[data-button-radius="rounded"] .prj-visit,
.page[data-button-radius="rounded"] .lifts-btn,
.page[data-button-radius="rounded"] .msg-btn,
.page[data-button-radius="rounded"] .wcpreds-btn,
.page[data-button-radius="rounded"] .coin-post-share,
.page[data-button-radius="rounded"] .circle-csend,
.page[data-button-radius="rounded"] .prj-comment-send,
.page[data-button-radius="rounded"] .wallet-send-go,
.page[data-button-radius="rounded"] .wallet-picker-btn,
.page[data-button-radius="rounded"] .circle-more,
.page[data-button-radius="rounded"] .coin-post-link { border-radius: 14px; }
.page[data-button-radius="pill"] .event-cta,
.page[data-button-radius="pill"] .house-entrance-cta,
.page[data-button-radius="pill"] .store-entrance-cta,
.page[data-button-radius="pill"] .biz-action,
.page[data-button-radius="pill"] .coin-buy,
.page[data-button-radius="pill"] .subscribe-btn,
.page[data-button-radius="pill"] .circle-btn,
.page[data-button-radius="pill"] .qbox-send,
.page[data-button-radius="pill"] .wallet-copy,
.page[data-button-radius="pill"] .prj-visit,
.page[data-button-radius="pill"] .lifts-btn,
.page[data-button-radius="pill"] .msg-btn,
.page[data-button-radius="pill"] .wcpreds-btn,
.page[data-button-radius="pill"] .coin-post-share,
.page[data-button-radius="pill"] .circle-csend,
.page[data-button-radius="pill"] .prj-comment-send,
.page[data-button-radius="pill"] .wallet-send-go,
.page[data-button-radius="pill"] .wallet-picker-btn,
.page[data-button-radius="pill"] .circle-more,
.page[data-button-radius="pill"] .coin-post-link { border-radius: 999px; }

/* ── Social icon row ─────────────────────────────────────────────────────── */
.page[data-social-style="glass"] .social-ico {
  background: var(--sf-social-bg, rgba(255,255,255,.22));
  border: .5px solid var(--sf-social-edge, rgba(255,255,255,.45));
  box-shadow: inset 0 1px 0 var(--sf-social-shadow, rgba(255,255,255,.4));
}
.page[data-social-style="solid"] .social-ico {
  background: var(--sf-social-bg, var(--sf-card-bg, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-ink, #1c0828);
}
.page[data-social-style="outline"] .social-ico {
  background: transparent;
  border: 1.4px solid var(--sf-social-edge, currentColor);
  box-shadow: none;
}
.page[data-social-style="soft"] .social-ico {
  background: var(--sf-social-bg, rgba(255,255,255,.28));
  border: none;
  box-shadow: 0 8px 16px -12px var(--sf-social-shadow, rgba(28,8,40,.5));
}
.page[data-social-style="plain"] .social-ico {
  background: transparent;
  border: none;
  box-shadow: none;
}
.page[data-social-shape="square"] .social-ico { border-radius: 0; }
.page[data-social-shape="soft"] .social-ico { border-radius: 8px; }
.page[data-social-shape="rounded"] .social-ico { border-radius: 14px; }
.page[data-social-shape="circle"] .social-ico { border-radius: 50%; }

/* ── Text fields visitors type into ──────────────────────────────────────── */
.page[data-field-style="glass"] .subscribe-input,
.page[data-field-style="glass"] .circle-input,
.page[data-field-style="glass"] .circle-cinput,
.page[data-field-style="glass"] .wallet-amount,
.page[data-field-style="glass"] .prj-comment-input,
.page[data-field-style="glass"] .qbox-body,
.page[data-field-style="glass"] .qbox-name,
.page[data-field-style="glass"] .poll-opt,
.page[data-field-style="glass"] .poll-result {
  background: var(--sf-field-bg, rgba(255,255,255,.86));
  border: .5px solid var(--sf-field-edge, rgba(255,255,255,.6));
}
.page[data-field-style="solid"] .subscribe-input,
.page[data-field-style="solid"] .circle-input,
.page[data-field-style="solid"] .circle-cinput,
.page[data-field-style="solid"] .wallet-amount,
.page[data-field-style="solid"] .prj-comment-input,
.page[data-field-style="solid"] .qbox-body,
.page[data-field-style="solid"] .qbox-name,
.page[data-field-style="solid"] .poll-opt,
.page[data-field-style="solid"] .poll-result {
  background: var(--sf-field-bg, #fff);
  border: none;
}
.page[data-field-style="outline"] .subscribe-input,
.page[data-field-style="outline"] .circle-input,
.page[data-field-style="outline"] .circle-cinput,
.page[data-field-style="outline"] .wallet-amount,
.page[data-field-style="outline"] .prj-comment-input,
.page[data-field-style="outline"] .qbox-body,
.page[data-field-style="outline"] .qbox-name,
.page[data-field-style="outline"] .poll-opt,
.page[data-field-style="outline"] .poll-result {
  background: transparent;
  border: 1.4px solid var(--sf-link-edge, var(--sf-field-edge, rgba(255,255,255,.6)));
  color: var(--sf-field-ink, var(--ink-on));
}
.page[data-field-style="soft"] .subscribe-input,
.page[data-field-style="soft"] .circle-input,
.page[data-field-style="soft"] .circle-cinput,
.page[data-field-style="soft"] .wallet-amount,
.page[data-field-style="soft"] .prj-comment-input,
.page[data-field-style="soft"] .qbox-body,
.page[data-field-style="soft"] .qbox-name,
.page[data-field-style="soft"] .poll-opt,
.page[data-field-style="soft"] .poll-result {
  background: var(--sf-field-bg, rgba(255,255,255,.92));
  border: none;
  box-shadow: inset 0 1px 3px var(--sf-field-shadow, rgba(28,8,40,.12));
}
.page[data-field-style="outline"] .subscribe-input::placeholder,
.page[data-field-style="outline"] .circle-input::placeholder,
.page[data-field-style="outline"] .circle-cinput::placeholder,
.page[data-field-style="outline"] .wallet-amount::placeholder,
.page[data-field-style="outline"] .prj-comment-input::placeholder,
.page[data-field-style="outline"] .qbox-body::placeholder,
.page[data-field-style="outline"] .qbox-name::placeholder { color: var(--sf-field-ink, rgba(255,255,255,.55)); }

/* ── Link icon tile ──────────────────────────────────────────────────────── */
.page[data-icon-shape="square"] .link-icon { border-radius: 0; }
.page[data-icon-shape="soft"] .link-icon { border-radius: 8px; }
.page[data-icon-shape="rounded"] .link-icon { border-radius: 14px; }
.page[data-icon-shape="circle"] .link-icon { border-radius: 50%; }
.page[data-icon-shape="plain"] .link-icon {
  background: transparent; border: none; box-shadow: none;
}

/* ── One global elevation knob ───────────────────────────────────────────── */
.page[data-shadow-depth="none"] .link,
.page[data-shadow-depth="none"] .glass,
.page[data-shadow-depth="none"] .prj-card,
.page[data-shadow-depth="none"] .coin-card,
.page[data-shadow-depth="none"] .wallet-card,
.page[data-shadow-depth="none"] .biz-card,
.page[data-shadow-depth="none"] .engage-card,
.page[data-shadow-depth="none"] .poll-card,
.page[data-shadow-depth="none"] .qa-item,
.page[data-shadow-depth="none"] .subscribe-card,
.page[data-shadow-depth="none"] .circle-card,
.page[data-shadow-depth="none"] .circle-post,
.page[data-shadow-depth="none"] .verse-card,
.page[data-shadow-depth="none"] .coin-post,
.page[data-shadow-depth="none"] .lifts-list,
.page[data-shadow-depth="none"] .wcpreds-panel,
.page[data-shadow-depth="none"] .prj-comments-panel,
.page[data-shadow-depth="none"] .biz-info,
.page[data-shadow-depth="none"] .share-pop,
.page[data-shadow-depth="none"] .event-cta,
.page[data-shadow-depth="none"] .house-entrance-cta,
.page[data-shadow-depth="none"] .store-entrance-cta,
.page[data-shadow-depth="none"] .biz-action,
.page[data-shadow-depth="none"] .coin-buy,
.page[data-shadow-depth="none"] .subscribe-btn,
.page[data-shadow-depth="none"] .circle-btn,
.page[data-shadow-depth="none"] .qbox-send,
.page[data-shadow-depth="none"] .wallet-copy,
.page[data-shadow-depth="none"] .prj-visit,
.page[data-shadow-depth="none"] .lifts-btn,
.page[data-shadow-depth="none"] .msg-btn,
.page[data-shadow-depth="none"] .wcpreds-btn,
.page[data-shadow-depth="none"] .coin-post-share,
.page[data-shadow-depth="none"] .circle-csend,
.page[data-shadow-depth="none"] .prj-comment-send,
.page[data-shadow-depth="none"] .wallet-send-go,
.page[data-shadow-depth="none"] .wallet-picker-btn,
.page[data-shadow-depth="none"] .circle-more,
.page[data-shadow-depth="none"] .coin-post-link,
.page[data-shadow-depth="none"] .stan-badge,
.page[data-shadow-depth="none"] .zodiac-badge,
.page[data-shadow-depth="none"] .pronouns-tag,
.page[data-shadow-depth="none"] .sports-pill,
.page[data-shadow-depth="none"] .supporter-badge,
.page[data-shadow-depth="none"] .biz-cat,
.page[data-shadow-depth="none"] .wallet-chip,
.page[data-shadow-depth="none"] .circle-badge,
.page[data-shadow-depth="none"] .coin-post-kind,
.page[data-shadow-depth="none"] .coin-chain,
.page[data-shadow-depth="none"] .wcpreds-count { box-shadow: none; }
.page[data-shadow-depth="soft"] .link,
.page[data-shadow-depth="soft"] .glass,
.page[data-shadow-depth="soft"] .prj-card,
.page[data-shadow-depth="soft"] .coin-card,
.page[data-shadow-depth="soft"] .wallet-card,
.page[data-shadow-depth="soft"] .biz-card,
.page[data-shadow-depth="soft"] .engage-card,
.page[data-shadow-depth="soft"] .poll-card,
.page[data-shadow-depth="soft"] .qa-item,
.page[data-shadow-depth="soft"] .subscribe-card,
.page[data-shadow-depth="soft"] .circle-card,
.page[data-shadow-depth="soft"] .circle-post,
.page[data-shadow-depth="soft"] .verse-card,
.page[data-shadow-depth="soft"] .coin-post,
.page[data-shadow-depth="soft"] .lifts-list,
.page[data-shadow-depth="soft"] .wcpreds-panel,
.page[data-shadow-depth="soft"] .prj-comments-panel,
.page[data-shadow-depth="soft"] .biz-info,
.page[data-shadow-depth="soft"] .share-pop { box-shadow: 0 8px 20px -14px rgba(28,8,40,.45); }
.page[data-shadow-depth="strong"] .link,
.page[data-shadow-depth="strong"] .glass,
.page[data-shadow-depth="strong"] .prj-card,
.page[data-shadow-depth="strong"] .coin-card,
.page[data-shadow-depth="strong"] .wallet-card,
.page[data-shadow-depth="strong"] .biz-card,
.page[data-shadow-depth="strong"] .engage-card,
.page[data-shadow-depth="strong"] .poll-card,
.page[data-shadow-depth="strong"] .qa-item,
.page[data-shadow-depth="strong"] .subscribe-card,
.page[data-shadow-depth="strong"] .circle-card,
.page[data-shadow-depth="strong"] .circle-post,
.page[data-shadow-depth="strong"] .verse-card,
.page[data-shadow-depth="strong"] .coin-post,
.page[data-shadow-depth="strong"] .lifts-list,
.page[data-shadow-depth="strong"] .wcpreds-panel,
.page[data-shadow-depth="strong"] .prj-comments-panel,
.page[data-shadow-depth="strong"] .biz-info,
.page[data-shadow-depth="strong"] .share-pop { box-shadow: 0 22px 44px -20px rgba(28,8,40,.72); }

/* ── Three more link personalities ───────────────────────────────────────── */
.page[data-link-style="tint"] .link {
  background: var(--sf-link-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-link-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}
.page[data-link-style="tint"] .link-icon {
  background: var(--sf-link-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 30%, transparent));
  border: none; box-shadow: none;
}
.page[data-link-style="tint"] .link:hover {
  background: var(--sf-link-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 28%, transparent));
}

.page[data-link-style="glow"] .link {
  background: var(--sf-link-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-link-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 60%, transparent));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 20%, transparent),
              0 8px 26px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 70%, transparent);
}
.page[data-link-style="glow"] .link-icon {
  background: transparent;
  border: 1px solid var(--sf-link-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 50%, transparent));
  box-shadow: none;
}
.page[data-link-style="glow"] .link:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 35%, transparent),
              0 10px 32px -10px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 85%, transparent);
}

.page[data-link-style="dashed"] .link {
  background: transparent;
  border: 1.5px dashed var(--sf-link-edge, rgba(255,255,255,.6));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.page[data-link-style="dashed"] .link-icon {
  background: transparent; border: 1.5px dashed var(--sf-link-edge, currentColor); box-shadow: none; opacity: .85;
}
.page[data-link-style="dashed"] .link:hover {
  background: var(--sf-link-bg, rgba(255,255,255,.1)); border-style: solid;
}

/* ── Studio: design-quality corrections ──────────────────────────────────────
   Three things the first pass got wrong aesthetically, found by looking at a
   real page rather than at the code:

   1. `contentAlign: left` left-aligned the name but left every badge row
      centred, so the page read as a ragged column of boxes down the middle.
      Alignment has to travel through the rows that hold the badges.
   2. Outlined badges with square corners look like form fields, not design.
      They get a lighter edge and a little more breathing room so the text,
      not the border, carries them.
   3. The name carries a drop shadow tuned for the default heavy sans. Under a
      serif, a condensed face or a script it reads as a 1990s emboss. Any
      chosen display voice gets a crisper shadow.
   ──────────────────────────────────────────────────────────────────────────── */

/* 1. Alignment travels to the badge rows. */

/* 2. Outlined and flat badges get room to breathe and a softer edge. */
.page[data-badge-style="outline"] .stan-badge,
.page[data-badge-style="outline"] .zodiac-badge,
.page[data-badge-style="outline"] .pronouns-tag,
.page[data-badge-style="outline"] .sports-pill,
.page[data-badge-style="outline"] .supporter-badge,
.page[data-badge-style="outline"] .biz-cat {
  border-color: var(--sf-badge-edge, color-mix(in srgb, currentColor 34%, transparent));
  padding-left: 12px; padding-right: 12px;
}
.page[data-badge-style="flat"] .stan-badge,
.page[data-badge-style="flat"] .zodiac-badge,
.page[data-badge-style="flat"] .pronouns-tag,
.page[data-badge-style="flat"] .sports-pill,
.page[data-badge-style="flat"] .supporter-badge,
.page[data-badge-style="flat"] .biz-cat {
  padding-left: 11px; padding-right: 11px;
}

/* 3. A chosen display voice gets a shadow that keeps its letterforms crisp. */
.page[data-font-display] .identity-name { text-shadow: 0 1px 1px rgba(0,0,0,.08); }
.page[data-font-display="serif"] .identity-name,
.page[data-font-display="elegant"] .identity-name,
.page[data-font-display="script"] .identity-name { text-shadow: none; }
.page[data-font-display="serif"] .identity-name,
.page[data-font-display="elegant"] .identity-name { letter-spacing: -.005em; }

/* ── Block order ─────────────────────────────────────────────────────────────
   The stack order of the page's blocks, driven by one custom property per
   block. .stage is already a column flexbox, so `order` alone reorders them —
   no wrappers, no markup change, and a block that renders nothing still
   renders nothing (a wrapper would have left an empty gap behind).
   Each default matches the block's original position, so a page that never
   touched the order is laid out exactly as before. The identity area keeps
   the implicit order 0 and stays on top; the footer is pinned last. */
.stage > .event { order: var(--o-event, 10); }
.stage > .biz-card { order: var(--o-business, 20); }
.stage > .coin-card,
.stage > .coin-posts { order: var(--o-coin, 30); }
.stage > .prj-section { order: var(--o-projects, 40); }
.stage > .verse-card { order: var(--o-verse, 50); }
.stage > .links { order: var(--o-links, 60); }
.stage > .subscribe-card { order: var(--o-subscribe, 70); }
.stage > .wallet-card { order: var(--o-wallet, 80); }
.stage > .engage-card { order: var(--o-engage, 90); }
.stage > .circle-card { order: var(--o-circle, 100); }
.stage > .articles { order: var(--o-articles, 110); }
.stage > .house-entrance { order: var(--o-house, 120); }
.stage > .store-entrance { order: var(--o-store, 130); }
.stage > .footer { order: 900; }

/* ── Per-link overrides ──────────────────────────────────────────────────────
   Every page-level link rule, restated with the link itself as the carrier and
   emitted after the page-level block, so the element wins at equal specificity
   — the precedence an owner expects: "all my links look like this, except that
   one". Colours need no twin; they are inline custom properties on the element
   and the existing rules already read them through var().

   This is generated by walking the stylesheet at brace depth rather than
   matching it with a pattern. Three separate pattern-based attempts each
   dropped a different subset in silence — grouped selectors, every other rule,
   then whatever followed an @media or @keyframes — and each one produced
   overrides that looked broken rather than missing, which is the worst kind of
   failure to debug. */
.link[data-link-style="glass"] {
  background: var(--glass-bg);
  border: .5px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--glass-shadow);
}
.link[data-link-style="solid"] {
  background: var(--sf-link-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-ink, #1c0828);
}
.link[data-link-style="solid"] .link-label,
.link[data-link-style="solid"] .link-arrow { color: inherit; }
.link[data-link-style="solid"] .link-sub { color: inherit; opacity: .62; }
.link[data-link-style="solid"] .link-icon {
  background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.08); color: inherit;
  box-shadow: none;
}
.link[data-link-style="solid"]:hover { background: var(--sf-link-bg, #fff); filter: brightness(.97); }
.link[data-link-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, rgba(255,255,255,.62));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.link[data-link-style="outline"] .link-icon {
  background: transparent; border: 1px solid currentColor; box-shadow: none; opacity: .9;
}
.link[data-link-style="outline"]:hover { background: rgba(255,255,255,.12); }
.link[data-link-style="soft"] {
  background: var(--sf-link-bg, rgba(255,255,255,.24));
  border: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px rgba(28,8,40,.5), inset 0 1px 0 rgba(255,255,255,.4);
}
.link[data-link-style="soft"] .link-icon { border: none; box-shadow: none; background: rgba(255,255,255,.28); }
.link[data-link-style="soft"]:hover { background: rgba(255,255,255,.34); }
.link[data-link-style="elevated"] {
  background: var(--sf-link-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 14px 28px -16px rgba(28,8,40,.6), 0 2px 6px -2px rgba(28,8,40,.25);
  color: var(--sf-ink, #1c0828);
}
.link[data-link-style="elevated"] .link-label,
.link[data-link-style="elevated"] .link-arrow { color: inherit; }
.link[data-link-style="elevated"] .link-sub { color: inherit; opacity: .62; }
.link[data-link-style="elevated"] .link-icon {
  background: rgba(0,0,0,.05); border: none; color: inherit; box-shadow: none;
}
.link[data-link-style="elevated"]:hover { transform: translateY(-2px); }
.link[data-link-style="minimal"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sf-link-edge, rgba(255,255,255,.28));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 2px; padding-right: 2px;
}
.link[data-link-style="minimal"] .link-icon {
  background: transparent; border: none; box-shadow: none; width: 22px; height: 22px;
}
.link[data-link-style="minimal"] .link-icon svg { width: 16px; height: 16px; }
.link[data-link-style="minimal"]:hover { background: transparent; border-bottom-color: currentColor; }
.link[data-link-style="brutal"] {
  background: var(--sf-link-bg, #fff);
  border: 2px solid var(--sf-link-edge, #1c0828);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 4px 4px 0 0 var(--sf-link-edge, #1c0828);
  color: var(--sf-ink, #1c0828);
}
.link[data-link-style="brutal"] .link-label,
.link[data-link-style="brutal"] .link-arrow { color: inherit; }
.link[data-link-style="brutal"] .link-sub { color: inherit; opacity: .68; }
.link[data-link-style="brutal"] .link-icon {
  background: transparent; border: 2px solid currentColor; border-radius: 0;
  box-shadow: none; color: inherit;
}
.link[data-link-style="brutal"]:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--sf-link-edge, #1c0828); }
.link[data-link-radius="sharp"] { border-radius: 0; }
.link[data-link-radius="soft"] { border-radius: 8px; }
.link[data-link-radius="rounded"] { border-radius: 18px; }
.link[data-link-radius="pill"] { border-radius: 999px; padding-left: 18px; padding-right: 18px; }
.link[data-link-radius="sharp"] .link-icon { border-radius: 0; }
.link[data-link-radius="pill"] .link-icon { border-radius: 999px; }
.link[data-link-density="compact"] { padding: 8px 12px; }
.link[data-link-density="cosy"] { padding: 13px 15px; }
.link[data-link-density="roomy"] { padding: 18px 18px; }
.link[data-icon-shape="square"] .link-icon { border-radius: 0; }
.link[data-icon-shape="soft"] .link-icon { border-radius: 8px; }
.link[data-icon-shape="rounded"] .link-icon { border-radius: 14px; }
.link[data-icon-shape="circle"] .link-icon { border-radius: 50%; }
.link[data-icon-shape="plain"] .link-icon {
  background: transparent; border: none; box-shadow: none;
}
.link[data-link-style="tint"] {
  background: color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent);
  border: .5px solid color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}
.link[data-link-style="tint"] .link-icon {
  background: color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 30%, transparent);
  border: none; box-shadow: none;
}
.link[data-link-style="tint"]:hover {
  background: color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 28%, transparent);
}
.link[data-link-style="glow"] {
  background: var(--sf-link-bg, rgba(255,255,255,.1));
  border: 1px solid color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 60%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 20%, transparent),
              0 8px 26px -12px color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 70%, transparent);
}
.link[data-link-style="glow"] .link-icon {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 50%, transparent);
  box-shadow: none;
}
.link[data-link-style="glow"]:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 35%, transparent),
              0 10px 32px -10px color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 85%, transparent);
}
.link[data-link-style="dashed"] {
  background: transparent;
  border: 1.5px dashed var(--sf-link-edge, rgba(255,255,255,.6));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.link[data-link-style="dashed"] .link-icon {
  background: transparent; border: 1.5px dashed currentColor; box-shadow: none; opacity: .85;
}
.link[data-link-style="dashed"]:hover {
  background: rgba(255,255,255,.1); border-style: solid;
}

/* ── Cover gloss: give the blend a stacking context of its own ───────────────
   .cover-gloss blends with mix-blend-mode: overlay. A blend mode needs a
   well-defined isolation group; without one it composites against whatever
   ancestor Safari picks, and next to a backdrop-filter that intermittently
   resolves to a flat grey wash over the photo. Isolating the frame pins the
   blend to the photo underneath it, which is what it was always meant to
   blend with, and the wash cannot appear. */

/* ── Studio: wider palettes and per-family colours ───────────────────────────
   The same surface vocabulary, now offered to every family rather than only
   to links and cards, plus a colour that belongs to each family. Each colour
   rule stops inside its own selector list: that is the whole lesson of the
   "link background repainted the social icons" bug. */
.page[data-badge-style="tint"] .stan-badge,
.page[data-badge-style="tint"] .zodiac-badge,
.page[data-badge-style="tint"] .pronouns-tag,
.page[data-badge-style="tint"] .sports-pill,
.page[data-badge-style="tint"] .supporter-badge,
.page[data-badge-style="tint"] .biz-cat,
.page[data-badge-style="tint"] .wallet-chip,
.page[data-badge-style="tint"] .circle-badge,
.page[data-badge-style="tint"] .coin-post-kind,
.page[data-badge-style="tint"] .coin-chain,
.page[data-badge-style="tint"] .wcpreds-count {
  background: var(--sf-badge-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-badge-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.page[data-button-style="tint"] .event-cta,
.page[data-button-style="tint"] .house-entrance-cta,
.page[data-button-style="tint"] .store-entrance-cta,
.page[data-button-style="tint"] .biz-action,
.page[data-button-style="tint"] .coin-buy,
.page[data-button-style="tint"] .subscribe-btn,
.page[data-button-style="tint"] .circle-btn,
.page[data-button-style="tint"] .qbox-send,
.page[data-button-style="tint"] .wallet-copy,
.page[data-button-style="tint"] .prj-visit,
.page[data-button-style="tint"] .lifts-btn,
.page[data-button-style="tint"] .msg-btn,
.page[data-button-style="tint"] .wcpreds-btn,
.page[data-button-style="tint"] .coin-post-share,
.page[data-button-style="tint"] .circle-csend,
.page[data-button-style="tint"] .prj-comment-send,
.page[data-button-style="tint"] .wallet-send-go,
.page[data-button-style="tint"] .wallet-picker-btn,
.page[data-button-style="tint"] .circle-more,
.page[data-button-style="tint"] .coin-post-link {
  background: var(--sf-button-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-button-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.page[data-social-style="tint"] .social-ico {
  background: color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent);
  border: .5px solid color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent);
  box-shadow: none;
}
.page[data-field-style="tint"] .subscribe-input,
.page[data-field-style="tint"] .circle-input,
.page[data-field-style="tint"] .circle-cinput,
.page[data-field-style="tint"] .wallet-amount,
.page[data-field-style="tint"] .prj-comment-input,
.page[data-field-style="tint"] .qbox-body,
.page[data-field-style="tint"] .qbox-name,
.page[data-field-style="tint"] .poll-opt,
.page[data-field-style="tint"] .poll-result {
  background: var(--sf-field-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-field-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.page[data-card-style="dashed"] .glass:not(.link),
.page[data-card-style="dashed"] .prj-card,
.page[data-card-style="dashed"] .coin-card,
.page[data-card-style="dashed"] .wallet-card,
.page[data-card-style="dashed"] .biz-card,
.page[data-card-style="dashed"] .engage-card,
.page[data-card-style="dashed"] .poll-card,
.page[data-card-style="dashed"] .qa-item,
.page[data-card-style="dashed"] .subscribe-card,
.page[data-card-style="dashed"] .circle-card,
.page[data-card-style="dashed"] .circle-post,
.page[data-card-style="dashed"] .verse-card,
.page[data-card-style="dashed"] .coin-post,
.page[data-card-style="dashed"] .lifts-list,
.page[data-card-style="dashed"] .wcpreds-panel,
.page[data-card-style="dashed"] .prj-comments-panel,
.page[data-card-style="dashed"] .biz-info,
.page[data-card-style="dashed"] .share-pop {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-card-edge, currentColor));
  box-shadow: none;
}
.page[data-badge-style="dashed"] .stan-badge,
.page[data-badge-style="dashed"] .zodiac-badge,
.page[data-badge-style="dashed"] .pronouns-tag,
.page[data-badge-style="dashed"] .sports-pill,
.page[data-badge-style="dashed"] .supporter-badge,
.page[data-badge-style="dashed"] .biz-cat,
.page[data-badge-style="dashed"] .wallet-chip,
.page[data-badge-style="dashed"] .circle-badge,
.page[data-badge-style="dashed"] .coin-post-kind,
.page[data-badge-style="dashed"] .coin-chain,
.page[data-badge-style="dashed"] .wcpreds-count {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-badge-edge, currentColor));
  box-shadow: none;
}
.page[data-button-style="dashed"] .event-cta,
.page[data-button-style="dashed"] .house-entrance-cta,
.page[data-button-style="dashed"] .store-entrance-cta,
.page[data-button-style="dashed"] .biz-action,
.page[data-button-style="dashed"] .coin-buy,
.page[data-button-style="dashed"] .subscribe-btn,
.page[data-button-style="dashed"] .circle-btn,
.page[data-button-style="dashed"] .qbox-send,
.page[data-button-style="dashed"] .wallet-copy,
.page[data-button-style="dashed"] .prj-visit,
.page[data-button-style="dashed"] .lifts-btn,
.page[data-button-style="dashed"] .msg-btn,
.page[data-button-style="dashed"] .wcpreds-btn,
.page[data-button-style="dashed"] .coin-post-share,
.page[data-button-style="dashed"] .circle-csend,
.page[data-button-style="dashed"] .prj-comment-send,
.page[data-button-style="dashed"] .wallet-send-go,
.page[data-button-style="dashed"] .wallet-picker-btn,
.page[data-button-style="dashed"] .circle-more,
.page[data-button-style="dashed"] .coin-post-link {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-button-edge, currentColor));
  box-shadow: none;
}
.page[data-social-style="dashed"] .social-ico {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-social-edge, currentColor));
  box-shadow: none;
}
.page[data-field-style="dashed"] .subscribe-input,
.page[data-field-style="dashed"] .circle-input,
.page[data-field-style="dashed"] .circle-cinput,
.page[data-field-style="dashed"] .wallet-amount,
.page[data-field-style="dashed"] .prj-comment-input,
.page[data-field-style="dashed"] .qbox-body,
.page[data-field-style="dashed"] .qbox-name,
.page[data-field-style="dashed"] .poll-opt,
.page[data-field-style="dashed"] .poll-result {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-field-edge, currentColor));
  box-shadow: none;
}
.page[data-badge-style="glow"] .stan-badge,
.page[data-badge-style="glow"] .zodiac-badge,
.page[data-badge-style="glow"] .pronouns-tag,
.page[data-badge-style="glow"] .sports-pill,
.page[data-badge-style="glow"] .supporter-badge,
.page[data-badge-style="glow"] .biz-cat,
.page[data-badge-style="glow"] .wallet-chip,
.page[data-badge-style="glow"] .circle-badge,
.page[data-badge-style="glow"] .coin-post-kind,
.page[data-badge-style="glow"] .coin-chain,
.page[data-badge-style="glow"] .wcpreds-count {
  background: var(--sf-badge-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-badge-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-badge-shadow, #FF3D7F))) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-badge-shadow, #FF3D7F))) 65%, transparent);
}
.page[data-button-style="glow"] .event-cta,
.page[data-button-style="glow"] .house-entrance-cta,
.page[data-button-style="glow"] .store-entrance-cta,
.page[data-button-style="glow"] .biz-action,
.page[data-button-style="glow"] .coin-buy,
.page[data-button-style="glow"] .subscribe-btn,
.page[data-button-style="glow"] .circle-btn,
.page[data-button-style="glow"] .qbox-send,
.page[data-button-style="glow"] .wallet-copy,
.page[data-button-style="glow"] .prj-visit,
.page[data-button-style="glow"] .lifts-btn,
.page[data-button-style="glow"] .msg-btn,
.page[data-button-style="glow"] .wcpreds-btn,
.page[data-button-style="glow"] .coin-post-share,
.page[data-button-style="glow"] .circle-csend,
.page[data-button-style="glow"] .prj-comment-send,
.page[data-button-style="glow"] .wallet-send-go,
.page[data-button-style="glow"] .wallet-picker-btn,
.page[data-button-style="glow"] .circle-more,
.page[data-button-style="glow"] .coin-post-link {
  background: var(--sf-button-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-button-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-button-shadow, #FF3D7F))) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-button-shadow, #FF3D7F))) 65%, transparent);
}
.page[data-social-style="glow"] .social-ico {
  background: var(--sf-social-bg, rgba(255,255,255,.1));
  border: 1px solid color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 65%, transparent);
}
.page[data-card-style="brutal"] .glass:not(.link),
.page[data-card-style="brutal"] .prj-card,
.page[data-card-style="brutal"] .coin-card,
.page[data-card-style="brutal"] .wallet-card,
.page[data-card-style="brutal"] .biz-card,
.page[data-card-style="brutal"] .engage-card,
.page[data-card-style="brutal"] .poll-card,
.page[data-card-style="brutal"] .qa-item,
.page[data-card-style="brutal"] .subscribe-card,
.page[data-card-style="brutal"] .circle-card,
.page[data-card-style="brutal"] .circle-post,
.page[data-card-style="brutal"] .verse-card,
.page[data-card-style="brutal"] .coin-post,
.page[data-card-style="brutal"] .lifts-list,
.page[data-card-style="brutal"] .wcpreds-panel,
.page[data-card-style="brutal"] .prj-comments-panel,
.page[data-card-style="brutal"] .biz-info,
.page[data-card-style="brutal"] .share-pop {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-card-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #1c0828));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}
.page[data-badge-style="brutal"] .stan-badge,
.page[data-badge-style="brutal"] .zodiac-badge,
.page[data-badge-style="brutal"] .pronouns-tag,
.page[data-badge-style="brutal"] .sports-pill,
.page[data-badge-style="brutal"] .supporter-badge,
.page[data-badge-style="brutal"] .biz-cat,
.page[data-badge-style="brutal"] .wallet-chip,
.page[data-badge-style="brutal"] .circle-badge,
.page[data-badge-style="brutal"] .coin-post-kind,
.page[data-badge-style="brutal"] .coin-chain,
.page[data-badge-style="brutal"] .wcpreds-count {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-badge-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-badge-shadow, #1c0828));
  color: var(--sf-badge-ink, var(--sf-ink, #1c0828));
}
.page[data-button-style="brutal"] .event-cta,
.page[data-button-style="brutal"] .house-entrance-cta,
.page[data-button-style="brutal"] .store-entrance-cta,
.page[data-button-style="brutal"] .biz-action,
.page[data-button-style="brutal"] .coin-buy,
.page[data-button-style="brutal"] .subscribe-btn,
.page[data-button-style="brutal"] .circle-btn,
.page[data-button-style="brutal"] .qbox-send,
.page[data-button-style="brutal"] .wallet-copy,
.page[data-button-style="brutal"] .prj-visit,
.page[data-button-style="brutal"] .lifts-btn,
.page[data-button-style="brutal"] .msg-btn,
.page[data-button-style="brutal"] .wcpreds-btn,
.page[data-button-style="brutal"] .coin-post-share,
.page[data-button-style="brutal"] .circle-csend,
.page[data-button-style="brutal"] .prj-comment-send,
.page[data-button-style="brutal"] .wallet-send-go,
.page[data-button-style="brutal"] .wallet-picker-btn,
.page[data-button-style="brutal"] .circle-more,
.page[data-button-style="brutal"] .coin-post-link {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-button-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #1c0828));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.page[data-social-style="brutal"] .social-ico {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, #1c0828);
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, #1c0828);
  color: var(--sf-ink, #1c0828);
}
/* Per-family colours. */
.page[style*="--sf-badge-bg"] .stan-badge,
.page[style*="--sf-badge-bg"] .zodiac-badge,
.page[style*="--sf-badge-bg"] .pronouns-tag,
.page[style*="--sf-badge-bg"] .sports-pill,
.page[style*="--sf-badge-bg"] .supporter-badge,
.page[style*="--sf-badge-bg"] .biz-cat,
.page[style*="--sf-badge-bg"] .wallet-chip,
.page[style*="--sf-badge-bg"] .circle-badge,
.page[style*="--sf-badge-bg"] .coin-post-kind,
.page[style*="--sf-badge-bg"] .coin-chain,
.page[style*="--sf-badge-bg"] .wcpreds-count { background: var(--sf-badge-bg); }
.page[style*="--sf-button-bg"] .event-cta,
.page[style*="--sf-button-bg"] .house-entrance-cta,
.page[style*="--sf-button-bg"] .store-entrance-cta,
.page[style*="--sf-button-bg"] .biz-action,
.page[style*="--sf-button-bg"] .coin-buy,
.page[style*="--sf-button-bg"] .subscribe-btn,
.page[style*="--sf-button-bg"] .circle-btn,
.page[style*="--sf-button-bg"] .qbox-send,
.page[style*="--sf-button-bg"] .wallet-copy,
.page[style*="--sf-button-bg"] .prj-visit,
.page[style*="--sf-button-bg"] .lifts-btn,
.page[style*="--sf-button-bg"] .msg-btn,
.page[style*="--sf-button-bg"] .wcpreds-btn,
.page[style*="--sf-button-bg"] .coin-post-share,
.page[style*="--sf-button-bg"] .circle-csend,
.page[style*="--sf-button-bg"] .prj-comment-send,
.page[style*="--sf-button-bg"] .wallet-send-go,
.page[style*="--sf-button-bg"] .wallet-picker-btn,
.page[style*="--sf-button-bg"] .circle-more,
.page[style*="--sf-button-bg"] .coin-post-link { background: var(--sf-button-bg); }
.page[style*="--sf-social-bg"] .social-ico { background: var(--sf-social-bg); }
.page[style*="--sf-field-bg"] .subscribe-input,
.page[style*="--sf-field-bg"] .circle-input,
.page[style*="--sf-field-bg"] .circle-cinput,
.page[style*="--sf-field-bg"] .wallet-amount,
.page[style*="--sf-field-bg"] .prj-comment-input,
.page[style*="--sf-field-bg"] .qbox-body,
.page[style*="--sf-field-bg"] .qbox-name { background: var(--sf-field-bg); }
.page[style*="--sf-field-bg"] .poll-opt { background: var(--sf-field-bg); }
.page[style*="--sf-field-bg"] .poll-result { background: var(--sf-field-bg); }

/* Extended typography. */
.page[data-letter-space="xwide"] { letter-spacing: .09em; }
.page[data-font-links="sans"]      .link-label { font-family: var(--sf-sans); }
.page[data-font-links="grotesk"]   .link-label { font-family: var(--sf-grotesk); }
.page[data-font-links="serif"]     .link-label { font-family: var(--sf-serif); }
.page[data-font-links="elegant"]   .link-label { font-family: var(--sf-elegant); }
.page[data-font-links="rounded"]   .link-label { font-family: var(--sf-rounded); }
.page[data-font-links="condensed"] .link-label { font-family: var(--sf-condensed); letter-spacing: .03em; }
.page[data-font-links="mono"]      .link-label { font-family: var(--sf-mono); font-size: .92em; }
.page[data-font-links="script"]    .link-label { font-family: var(--sf-script); font-size: 1.12em; }
.page[data-link-weight="regular"] .link-label { font-weight: 500; }
.page[data-link-weight="medium"]  .link-label { font-weight: 600; }
.page[data-link-weight="bold"]    .link-label { font-weight: 700; }
.page[data-link-weight="black"]   .link-label { font-weight: 800; }

/* ── Per-element colours ─────────────────────────────────────────────────────
   Background, text and border for each family, each rule confined to its own
   selector list. Grouping them by element rather than by role is what makes
   them findable: a link's three colours sit with the link's other controls,
   not in a separate colour drawer where nothing says which one moves what. */
.page[style*="--sf-link-ink"] .link { color: var(--sf-link-ink); }
.page[style*="--sf-link-ink"] .link .link-label,
.page[style*="--sf-link-ink"] .link .link-arrow { color: var(--sf-link-ink); }
.page[style*="--sf-link-ink"] .link .link-sub { color: var(--sf-link-ink); opacity: .68; }
.page[style*="--sf-card-ink"] .glass:not(.link),
.page[style*="--sf-card-ink"] .prj-card,
.page[style*="--sf-card-ink"] .coin-card,
.page[style*="--sf-card-ink"] .wallet-card,
.page[style*="--sf-card-ink"] .biz-card,
.page[style*="--sf-card-ink"] .engage-card,
.page[style*="--sf-card-ink"] .poll-card,
.page[style*="--sf-card-ink"] .qa-item,
.page[style*="--sf-card-ink"] .subscribe-card,
.page[style*="--sf-card-ink"] .circle-card,
.page[style*="--sf-card-ink"] .circle-post,
.page[style*="--sf-card-ink"] .verse-card,
.page[style*="--sf-card-ink"] .coin-post,
.page[style*="--sf-card-ink"] .biz-info { color: var(--sf-card-ink); }
.page[style*="--sf-card-edge"] .glass:not(.link),
.page[style*="--sf-card-edge"] .prj-card,
.page[style*="--sf-card-edge"] .coin-card,
.page[style*="--sf-card-edge"] .wallet-card,
.page[style*="--sf-card-edge"] .biz-card,
.page[style*="--sf-card-edge"] .engage-card,
.page[style*="--sf-card-edge"] .poll-card,
.page[style*="--sf-card-edge"] .qa-item,
.page[style*="--sf-card-edge"] .subscribe-card,
.page[style*="--sf-card-edge"] .circle-card,
.page[style*="--sf-card-edge"] .circle-post,
.page[style*="--sf-card-edge"] .verse-card,
.page[style*="--sf-card-edge"] .coin-post,
.page[style*="--sf-card-edge"] .biz-info { border-color: var(--sf-card-edge); border-style: solid; }
.page[style*="--sf-badge-ink"] .stan-badge,
.page[style*="--sf-badge-ink"] .zodiac-badge,
.page[style*="--sf-badge-ink"] .pronouns-tag,
.page[style*="--sf-badge-ink"] .sports-pill,
.page[style*="--sf-badge-ink"] .supporter-badge,
.page[style*="--sf-badge-ink"] .biz-cat,
.page[style*="--sf-badge-ink"] .wallet-chip,
.page[style*="--sf-badge-ink"] .circle-badge { color: var(--sf-badge-ink); }
.page[style*="--sf-badge-edge"] .stan-badge,
.page[style*="--sf-badge-edge"] .zodiac-badge,
.page[style*="--sf-badge-edge"] .pronouns-tag,
.page[style*="--sf-badge-edge"] .sports-pill,
.page[style*="--sf-badge-edge"] .supporter-badge,
.page[style*="--sf-badge-edge"] .biz-cat,
.page[style*="--sf-badge-edge"] .wallet-chip,
.page[style*="--sf-badge-edge"] .circle-badge { border-color: var(--sf-badge-edge); border-style: solid; }
.page[style*="--sf-button-ink"] .event-cta,
.page[style*="--sf-button-ink"] .house-entrance-cta,
.page[style*="--sf-button-ink"] .store-entrance-cta,
.page[style*="--sf-button-ink"] .biz-action,
.page[style*="--sf-button-ink"] .coin-buy,
.page[style*="--sf-button-ink"] .subscribe-btn,
.page[style*="--sf-button-ink"] .circle-btn,
.page[style*="--sf-button-ink"] .qbox-send,
.page[style*="--sf-button-ink"] .wallet-copy,
.page[style*="--sf-button-ink"] .prj-visit,
.page[style*="--sf-button-ink"] .lifts-btn,
.page[style*="--sf-button-ink"] .msg-btn,
.page[style*="--sf-button-ink"] .wcpreds-btn,
.page[style*="--sf-button-ink"] .coin-post-share { color: var(--sf-button-ink); }
.page[style*="--sf-button-edge"] .event-cta,
.page[style*="--sf-button-edge"] .house-entrance-cta,
.page[style*="--sf-button-edge"] .store-entrance-cta,
.page[style*="--sf-button-edge"] .biz-action,
.page[style*="--sf-button-edge"] .coin-buy,
.page[style*="--sf-button-edge"] .subscribe-btn,
.page[style*="--sf-button-edge"] .circle-btn,
.page[style*="--sf-button-edge"] .qbox-send,
.page[style*="--sf-button-edge"] .wallet-copy,
.page[style*="--sf-button-edge"] .prj-visit,
.page[style*="--sf-button-edge"] .lifts-btn,
.page[style*="--sf-button-edge"] .msg-btn,
.page[style*="--sf-button-edge"] .wcpreds-btn,
.page[style*="--sf-button-edge"] .coin-post-share { border-color: var(--sf-button-edge); border-style: solid; }
.page[style*="--sf-social-ink"] .social-ico { color: var(--sf-social-ink); }
.page[style*="--sf-field-ink"] .subscribe-input,
.page[style*="--sf-field-ink"] .circle-input,
.page[style*="--sf-field-ink"] .circle-cinput,
.page[style*="--sf-field-ink"] .wallet-amount,
.page[style*="--sf-field-ink"] .prj-comment-input,
.page[style*="--sf-field-ink"] .qbox-body,
.page[style*="--sf-field-ink"] .qbox-name { color: var(--sf-field-ink); }
.page[style*="--sf-field-ink"] .poll-opt { color: var(--sf-field-ink); }
.page[style*="--sf-field-ink"] .poll-result { color: var(--sf-field-ink); }

/* ── Per-element dimensions ──────────────────────────────────────────────────
   Size, border weight, shadow depth and internal spacing for each family.
   These used to exist only as one page-wide shadow knob, so "make the buttons
   bigger" or "thicken just the link borders" had no answer at all. */
.page[data-link-shadow="none"] .link { box-shadow: none; }
.page[data-link-shadow="soft"] .link { box-shadow: 0 8px 18px -12px rgba(28,8,40,.45); }
.page[data-link-shadow="strong"] .link { box-shadow: 0 18px 34px -16px rgba(28,8,40,.7); }
.page[data-link-border-w="thin"] .link { border-width: .5px; border-style: solid; }
.page[data-link-border-w="medium"] .link { border-width: 1.5px; border-style: solid; }
.page[data-link-border-w="thick"] .link { border-width: 3px; border-style: solid; }
.page[data-icon-size="s"] .link { grid-template-columns: 30px 1fr 28px; }
.page[data-icon-size="s"] .link-icon { width: 30px; height: 30px; }
.page[data-icon-size="s"] .link-icon svg { width: 15px; height: 15px; }
.page[data-icon-size="m"] .link { grid-template-columns: 40px 1fr 28px; }
.page[data-icon-size="m"] .link-icon { width: 40px; height: 40px; }
.page[data-icon-size="m"] .link-icon svg { width: 20px; height: 20px; }
.page[data-icon-size="l"] .link { grid-template-columns: 50px 1fr 28px; }
.page[data-icon-size="l"] .link-icon { width: 50px; height: 50px; }
.page[data-icon-size="l"] .link-icon svg { width: 25px; height: 25px; }
.page[data-card-density="compact"] .glass:not(.link),
.page[data-card-density="compact"] .prj-card,
.page[data-card-density="compact"] .coin-card,
.page[data-card-density="compact"] .wallet-card,
.page[data-card-density="compact"] .biz-card,
.page[data-card-density="compact"] .engage-card,
.page[data-card-density="compact"] .poll-card,
.page[data-card-density="compact"] .qa-item,
.page[data-card-density="compact"] .subscribe-card,
.page[data-card-density="compact"] .circle-card,
.page[data-card-density="compact"] .circle-post,
.page[data-card-density="compact"] .verse-card,
.page[data-card-density="compact"] .coin-post { padding: 11px 13px; }
.page[data-card-density="cosy"] .glass:not(.link),
.page[data-card-density="cosy"] .prj-card,
.page[data-card-density="cosy"] .coin-card,
.page[data-card-density="cosy"] .wallet-card,
.page[data-card-density="cosy"] .biz-card,
.page[data-card-density="cosy"] .engage-card,
.page[data-card-density="cosy"] .poll-card,
.page[data-card-density="cosy"] .qa-item,
.page[data-card-density="cosy"] .subscribe-card,
.page[data-card-density="cosy"] .circle-card,
.page[data-card-density="cosy"] .circle-post,
.page[data-card-density="cosy"] .verse-card,
.page[data-card-density="cosy"] .coin-post { padding: 16px; }
.page[data-card-density="roomy"] .glass:not(.link),
.page[data-card-density="roomy"] .prj-card,
.page[data-card-density="roomy"] .coin-card,
.page[data-card-density="roomy"] .wallet-card,
.page[data-card-density="roomy"] .biz-card,
.page[data-card-density="roomy"] .engage-card,
.page[data-card-density="roomy"] .poll-card,
.page[data-card-density="roomy"] .qa-item,
.page[data-card-density="roomy"] .subscribe-card,
.page[data-card-density="roomy"] .circle-card,
.page[data-card-density="roomy"] .circle-post,
.page[data-card-density="roomy"] .verse-card,
.page[data-card-density="roomy"] .coin-post { padding: 24px; }
.page[data-card-shadow="none"] .glass:not(.link),
.page[data-card-shadow="none"] .prj-card,
.page[data-card-shadow="none"] .coin-card,
.page[data-card-shadow="none"] .wallet-card,
.page[data-card-shadow="none"] .biz-card,
.page[data-card-shadow="none"] .engage-card,
.page[data-card-shadow="none"] .poll-card,
.page[data-card-shadow="none"] .qa-item,
.page[data-card-shadow="none"] .subscribe-card,
.page[data-card-shadow="none"] .circle-card,
.page[data-card-shadow="none"] .circle-post,
.page[data-card-shadow="none"] .verse-card,
.page[data-card-shadow="none"] .coin-post { box-shadow: none; }
.page[data-card-shadow="soft"] .glass:not(.link),
.page[data-card-shadow="soft"] .prj-card,
.page[data-card-shadow="soft"] .coin-card,
.page[data-card-shadow="soft"] .wallet-card,
.page[data-card-shadow="soft"] .biz-card,
.page[data-card-shadow="soft"] .engage-card,
.page[data-card-shadow="soft"] .poll-card,
.page[data-card-shadow="soft"] .qa-item,
.page[data-card-shadow="soft"] .subscribe-card,
.page[data-card-shadow="soft"] .circle-card,
.page[data-card-shadow="soft"] .circle-post,
.page[data-card-shadow="soft"] .verse-card,
.page[data-card-shadow="soft"] .coin-post { box-shadow: 0 10px 24px -16px rgba(28,8,40,.5); }
.page[data-card-shadow="strong"] .glass:not(.link),
.page[data-card-shadow="strong"] .prj-card,
.page[data-card-shadow="strong"] .coin-card,
.page[data-card-shadow="strong"] .wallet-card,
.page[data-card-shadow="strong"] .biz-card,
.page[data-card-shadow="strong"] .engage-card,
.page[data-card-shadow="strong"] .poll-card,
.page[data-card-shadow="strong"] .qa-item,
.page[data-card-shadow="strong"] .subscribe-card,
.page[data-card-shadow="strong"] .circle-card,
.page[data-card-shadow="strong"] .circle-post,
.page[data-card-shadow="strong"] .verse-card,
.page[data-card-shadow="strong"] .coin-post { box-shadow: 0 22px 44px -18px rgba(28,8,40,.72); }
.page[data-badge-size="s"] .stan-badge,
.page[data-badge-size="s"] .zodiac-badge,
.page[data-badge-size="s"] .pronouns-tag,
.page[data-badge-size="s"] .sports-pill,
.page[data-badge-size="s"] .supporter-badge,
.page[data-badge-size="s"] .biz-cat,
.page[data-badge-size="s"] .wallet-chip,
.page[data-badge-size="s"] .circle-badge { font-size: 11px; padding: 5px 10px; }
.page[data-badge-size="m"] .stan-badge,
.page[data-badge-size="m"] .zodiac-badge,
.page[data-badge-size="m"] .pronouns-tag,
.page[data-badge-size="m"] .sports-pill,
.page[data-badge-size="m"] .supporter-badge,
.page[data-badge-size="m"] .biz-cat,
.page[data-badge-size="m"] .wallet-chip,
.page[data-badge-size="m"] .circle-badge { font-size: 13px; padding: 7px 13px; }
.page[data-badge-size="l"] .stan-badge,
.page[data-badge-size="l"] .zodiac-badge,
.page[data-badge-size="l"] .pronouns-tag,
.page[data-badge-size="l"] .sports-pill,
.page[data-badge-size="l"] .supporter-badge,
.page[data-badge-size="l"] .biz-cat,
.page[data-badge-size="l"] .wallet-chip,
.page[data-badge-size="l"] .circle-badge { font-size: 15px; padding: 10px 17px; }
.page[data-button-size="s"] .event-cta,
.page[data-button-size="s"] .house-entrance-cta,
.page[data-button-size="s"] .store-entrance-cta,
.page[data-button-size="s"] .biz-action,
.page[data-button-size="s"] .coin-buy,
.page[data-button-size="s"] .subscribe-btn,
.page[data-button-size="s"] .circle-btn,
.page[data-button-size="s"] .qbox-send,
.page[data-button-size="s"] .wallet-copy,
.page[data-button-size="s"] .prj-visit,
.page[data-button-size="s"] .lifts-btn,
.page[data-button-size="s"] .msg-btn,
.page[data-button-size="s"] .wcpreds-btn { font-size: 12.5px; padding: 8px 14px; }
.page[data-button-size="m"] .event-cta,
.page[data-button-size="m"] .house-entrance-cta,
.page[data-button-size="m"] .store-entrance-cta,
.page[data-button-size="m"] .biz-action,
.page[data-button-size="m"] .coin-buy,
.page[data-button-size="m"] .subscribe-btn,
.page[data-button-size="m"] .circle-btn,
.page[data-button-size="m"] .qbox-send,
.page[data-button-size="m"] .wallet-copy,
.page[data-button-size="m"] .prj-visit,
.page[data-button-size="m"] .lifts-btn,
.page[data-button-size="m"] .msg-btn,
.page[data-button-size="m"] .wcpreds-btn { font-size: 14px; padding: 12px 18px; }
.page[data-button-size="l"] .event-cta,
.page[data-button-size="l"] .house-entrance-cta,
.page[data-button-size="l"] .store-entrance-cta,
.page[data-button-size="l"] .biz-action,
.page[data-button-size="l"] .coin-buy,
.page[data-button-size="l"] .subscribe-btn,
.page[data-button-size="l"] .circle-btn,
.page[data-button-size="l"] .qbox-send,
.page[data-button-size="l"] .wallet-copy,
.page[data-button-size="l"] .prj-visit,
.page[data-button-size="l"] .lifts-btn,
.page[data-button-size="l"] .msg-btn,
.page[data-button-size="l"] .wcpreds-btn { font-size: 16px; padding: 16px 24px; }
.page[data-button-width="full"] .event-cta,
.page[data-button-width="full"] .house-entrance-cta,
.page[data-button-width="full"] .store-entrance-cta,
.page[data-button-width="full"] .biz-action,
.page[data-button-width="full"] .coin-buy,
.page[data-button-width="full"] .subscribe-btn,
.page[data-button-width="full"] .circle-btn,
.page[data-button-width="full"] .qbox-send,
.page[data-button-width="full"] .wallet-copy,
.page[data-button-width="full"] .prj-visit,
.page[data-button-width="full"] .lifts-btn,
.page[data-button-width="full"] .msg-btn,
.page[data-button-width="full"] .wcpreds-btn { width: 100%; box-sizing: border-box; justify-content: center; }
.page[data-button-width="hug"] .event-cta,
.page[data-button-width="hug"] .house-entrance-cta,
.page[data-button-width="hug"] .store-entrance-cta,
.page[data-button-width="hug"] .biz-action,
.page[data-button-width="hug"] .coin-buy,
.page[data-button-width="hug"] .subscribe-btn,
.page[data-button-width="hug"] .circle-btn,
.page[data-button-width="hug"] .qbox-send,
.page[data-button-width="hug"] .wallet-copy,
.page[data-button-width="hug"] .prj-visit,
.page[data-button-width="hug"] .lifts-btn,
.page[data-button-width="hug"] .msg-btn,
.page[data-button-width="hug"] .wcpreds-btn { width: auto; }
.page[data-social-size="s"] .social-ico { width: 30px; height: 30px; }
.page[data-social-size="s"] .social-ico svg { width: 15px; height: 15px; }
.page[data-social-size="m"] .social-ico { width: 40px; height: 40px; }
.page[data-social-size="m"] .social-ico svg { width: 20px; height: 20px; }
.page[data-social-size="l"] .social-ico { width: 50px; height: 50px; }
.page[data-social-size="l"] .social-ico svg { width: 25px; height: 25px; }
.page[data-field-radius="sharp"] .subscribe-input,
.page[data-field-radius="sharp"] .circle-input,
.page[data-field-radius="sharp"] .circle-cinput,
.page[data-field-radius="sharp"] .wallet-amount,
.page[data-field-radius="sharp"] .prj-comment-input,
.page[data-field-radius="sharp"] .qbox-body,
.page[data-field-radius="sharp"] .qbox-name { border-radius: 0; }
.page[data-field-radius="sharp"] .poll-opt { border-radius: 0; }
.page[data-field-radius="sharp"] .poll-result { border-radius: 0; }
.page[data-field-radius="soft"] .subscribe-input,
.page[data-field-radius="soft"] .circle-input,
.page[data-field-radius="soft"] .circle-cinput,
.page[data-field-radius="soft"] .wallet-amount,
.page[data-field-radius="soft"] .prj-comment-input,
.page[data-field-radius="soft"] .qbox-body,
.page[data-field-radius="soft"] .qbox-name { border-radius: 8px; }
.page[data-field-radius="soft"] .poll-opt { border-radius: 8px; }
.page[data-field-radius="soft"] .poll-result { border-radius: 8px; }
.page[data-field-radius="rounded"] .subscribe-input,
.page[data-field-radius="rounded"] .circle-input,
.page[data-field-radius="rounded"] .circle-cinput,
.page[data-field-radius="rounded"] .wallet-amount,
.page[data-field-radius="rounded"] .prj-comment-input,
.page[data-field-radius="rounded"] .qbox-body,
.page[data-field-radius="rounded"] .qbox-name { border-radius: 14px; }
.page[data-field-radius="rounded"] .poll-opt { border-radius: 14px; }
.page[data-field-radius="rounded"] .poll-result { border-radius: 14px; }
.page[data-field-radius="pill"] .subscribe-input,
.page[data-field-radius="pill"] .circle-input,
.page[data-field-radius="pill"] .circle-cinput,
.page[data-field-radius="pill"] .wallet-amount,
.page[data-field-radius="pill"] .prj-comment-input,
.page[data-field-radius="pill"] .qbox-body,
.page[data-field-radius="pill"] .qbox-name { border-radius: 999px; }
.page[data-field-radius="pill"] .poll-opt { border-radius: 999px; }
.page[data-field-radius="pill"] .poll-result { border-radius: 999px; }
.page[data-name-size="s"] .identity-name { font-size: 24px; }
.page[data-name-size="m"] .identity-name { font-size: 30px; }
.page[data-name-size="l"] .identity-name { font-size: 38px; }
.page[data-name-size="xl"] .identity-name { font-size: 46px; }
.page[data-photo-shadow="none"] .cover-frame { box-shadow: none; }
.page[data-photo-shadow="soft"] .cover-frame { box-shadow: 0 14px 30px -18px rgba(28,8,40,.45); }
.page[data-photo-shadow="strong"] .cover-frame { box-shadow: 0 36px 70px -22px rgba(28,8,40,.75); }

/* ── Social icon variants ────────────────────────────────────────────────────
   "brand" tints each icon with its own platform colour; "brandsoft" uses the
   same colour as a soft wash behind a dark glyph, which stays legible on light
   and dark pages alike. Both are opt-in — the default row is untouched. */
.page[data-social-style="brand"] .social-ico {
  background: transparent; border: none; box-shadow: none;
}
.page[data-social-style="brandsoft"] .social-ico {
  border: none; box-shadow: none;
}
.page[data-social-style="brand"] .social-ico[data-net="instagram"] { color: #E1306C; }
.page[data-social-style="brandsoft"] .social-ico[data-net="instagram"] { background: color-mix(in srgb, #E1306C 20%, transparent); color: #E1306C; }
.page[data-social-style="brand"] .social-ico[data-net="x"] { color: #000000; }
.page[data-social-style="brandsoft"] .social-ico[data-net="x"] { background: color-mix(in srgb, #000000 20%, transparent); color: #000000; }
.page[data-social-style="brand"] .social-ico[data-net="tiktok"] { color: #000000; }
.page[data-social-style="brandsoft"] .social-ico[data-net="tiktok"] { background: color-mix(in srgb, #000000 20%, transparent); color: #000000; }
.page[data-social-style="brand"] .social-ico[data-net="youtube"] { color: #FF0000; }
.page[data-social-style="brandsoft"] .social-ico[data-net="youtube"] { background: color-mix(in srgb, #FF0000 20%, transparent); color: #FF0000; }
.page[data-social-style="brand"] .social-ico[data-net="github"] { color: #181717; }
.page[data-social-style="brandsoft"] .social-ico[data-net="github"] { background: color-mix(in srgb, #181717 20%, transparent); color: #181717; }
.page[data-social-style="brand"] .social-ico[data-net="twitch"] { color: #9146FF; }
.page[data-social-style="brandsoft"] .social-ico[data-net="twitch"] { background: color-mix(in srgb, #9146FF 20%, transparent); color: #9146FF; }
.page[data-social-style="brand"] .social-ico[data-net="discord"] { color: #5865F2; }
.page[data-social-style="brandsoft"] .social-ico[data-net="discord"] { background: color-mix(in srgb, #5865F2 20%, transparent); color: #5865F2; }
.page[data-social-style="brand"] .social-ico[data-net="linkedin"] { color: #0A66C2; }
.page[data-social-style="brandsoft"] .social-ico[data-net="linkedin"] { background: color-mix(in srgb, #0A66C2 20%, transparent); color: #0A66C2; }
.page[data-social-style="brand"] .social-ico[data-net="spotify"] { color: #1DB954; }
.page[data-social-style="brandsoft"] .social-ico[data-net="spotify"] { background: color-mix(in srgb, #1DB954 20%, transparent); color: #1DB954; }
.page[data-social-style="brand"] .social-ico[data-net="bluesky"] { color: #0085FF; }
.page[data-social-style="brandsoft"] .social-ico[data-net="bluesky"] { background: color-mix(in srgb, #0085FF 20%, transparent); color: #0085FF; }
.page[data-social-style="brand"] .social-ico[data-net="threads"] { color: #000000; }
.page[data-social-style="brandsoft"] .social-ico[data-net="threads"] { background: color-mix(in srgb, #000000 20%, transparent); color: #000000; }
.page[data-social-style="brand"] .social-ico[data-net="telegram"] { color: #26A5E4; }
.page[data-social-style="brandsoft"] .social-ico[data-net="telegram"] { background: color-mix(in srgb, #26A5E4 20%, transparent); color: #26A5E4; }
.page[data-social-style="brand"] .social-ico[data-net="signal"] { color: #3A76F0; }
.page[data-social-style="brandsoft"] .social-ico[data-net="signal"] { background: color-mix(in srgb, #3A76F0 20%, transparent); color: #3A76F0; }
.page[data-social-style="brand"] .social-ico[data-net="whatsapp"] { color: #25D366; }
.page[data-social-style="brandsoft"] .social-ico[data-net="whatsapp"] { background: color-mix(in srgb, #25D366 20%, transparent); color: #25D366; }
.page[data-social-style="brand"] .social-ico[data-net="facebook"] { color: #1877F2; }
.page[data-social-style="brandsoft"] .social-ico[data-net="facebook"] { background: color-mix(in srgb, #1877F2 20%, transparent); color: #1877F2; }
.page[data-social-style="brand"] .social-ico[data-net="snapchat"] { color: #FFFC00; }
.page[data-social-style="brandsoft"] .social-ico[data-net="snapchat"] { background: color-mix(in srgb, #FFFC00 20%, transparent); color: #FFFC00; }
.page[data-social-style="brand"] .social-ico[data-net="reddit"] { color: #FF4500; }
.page[data-social-style="brandsoft"] .social-ico[data-net="reddit"] { background: color-mix(in srgb, #FF4500 20%, transparent); color: #FF4500; }
.page[data-social-style="brand"] .social-ico[data-net="patreon"] { color: #F96854; }
.page[data-social-style="brandsoft"] .social-ico[data-net="patreon"] { background: color-mix(in srgb, #F96854 20%, transparent); color: #F96854; }
.page[data-social-style="brand"] .social-ico[data-net="kofi"] { color: #FF5E5B; }
.page[data-social-style="brandsoft"] .social-ico[data-net="kofi"] { background: color-mix(in srgb, #FF5E5B 20%, transparent); color: #FF5E5B; }
.page[data-social-style="brand"] .social-ico[data-net="tumblr"] { color: #36465D; }
.page[data-social-style="brandsoft"] .social-ico[data-net="tumblr"] { background: color-mix(in srgb, #36465D 20%, transparent); color: #36465D; }
.page[data-social-style="brand"] .social-ico[data-net="soundcloud"] { color: #FF5500; }
.page[data-social-style="brandsoft"] .social-ico[data-net="soundcloud"] { background: color-mix(in srgb, #FF5500 20%, transparent); color: #FF5500; }
.page[data-social-style="brand"] .social-ico[data-net="pinterest"] { color: #BD081C; }
.page[data-social-style="brandsoft"] .social-ico[data-net="pinterest"] { background: color-mix(in srgb, #BD081C 20%, transparent); color: #BD081C; }
.page[data-social-style="brand"] .social-ico[data-net="kick"] { color: #53FC18; }
.page[data-social-style="brandsoft"] .social-ico[data-net="kick"] { background: color-mix(in srgb, #53FC18 20%, transparent); color: #53FC18; }
.page[data-social-style="brand"] .social-ico[data-net="rumble"] { color: #85C742; }
.page[data-social-style="brandsoft"] .social-ico[data-net="rumble"] { background: color-mix(in srgb, #85C742 20%, transparent); color: #85C742; }
.page[data-social-style="brand"] .social-ico[data-net="trovo"] { color: #19D66C; }
.page[data-social-style="brandsoft"] .social-ico[data-net="trovo"] { background: color-mix(in srgb, #19D66C 20%, transparent); color: #19D66C; }
.page[data-social-style="brand"] .social-ico[data-net="dlive"] { color: #FFD300; }
.page[data-social-style="brandsoft"] .social-ico[data-net="dlive"] { background: color-mix(in srgb, #FFD300 20%, transparent); color: #FFD300; }
.page[data-social-style="brand"] .social-ico[data-net="truthsocial"] { color: #5448EE; }
.page[data-social-style="brandsoft"] .social-ico[data-net="truthsocial"] { background: color-mix(in srgb, #5448EE 20%, transparent); color: #5448EE; }
.page[data-social-style="brand"] .social-ico[data-net="pumpfun"] { color: #54D392; }
.page[data-social-style="brandsoft"] .social-ico[data-net="pumpfun"] { background: color-mix(in srgb, #54D392 20%, transparent); color: #54D392; }
.page[data-social-style="brand"] .social-ico[data-net="farcaster"] { color: #8A63D2; }
.page[data-social-style="brandsoft"] .social-ico[data-net="farcaster"] { background: color-mix(in srgb, #8A63D2 20%, transparent); color: #8A63D2; }
.page[data-social-style="brand"] .social-ico[data-net="opensea"] { color: #2081E2; }
.page[data-social-style="brandsoft"] .social-ico[data-net="opensea"] { background: color-mix(in srgb, #2081E2 20%, transparent); color: #2081E2; }
.page[data-social-style="brand"] .social-ico[data-net="magiceden"] { color: #E42575; }
.page[data-social-style="brandsoft"] .social-ico[data-net="magiceden"] { background: color-mix(in srgb, #E42575 20%, transparent); color: #E42575; }
.page[data-social-style="brand"] .social-ico[data-net="website"] { color: #4A5568; }
.page[data-social-style="brandsoft"] .social-ico[data-net="website"] { background: color-mix(in srgb, #4A5568 20%, transparent); color: #4A5568; }
.page[data-social-style="brand"] .social-ico[data-net="email"] { color: #4A5568; }
.page[data-social-style="brandsoft"] .social-ico[data-net="email"] { background: color-mix(in srgb, #4A5568 20%, transparent); color: #4A5568; }

/* Typography per family. */
.page[data-badge-font="sans"] .stan-badge,
.page[data-badge-font="sans"] .zodiac-badge,
.page[data-badge-font="sans"] .pronouns-tag,
.page[data-badge-font="sans"] .sports-pill,
.page[data-badge-font="sans"] .supporter-badge,
.page[data-badge-font="sans"] .biz-cat,
.page[data-badge-font="sans"] .wallet-chip,
.page[data-badge-font="sans"] .circle-badge { font-family: var(--sf-sans); }
.page[data-badge-font="grotesk"] .stan-badge,
.page[data-badge-font="grotesk"] .zodiac-badge,
.page[data-badge-font="grotesk"] .pronouns-tag,
.page[data-badge-font="grotesk"] .sports-pill,
.page[data-badge-font="grotesk"] .supporter-badge,
.page[data-badge-font="grotesk"] .biz-cat,
.page[data-badge-font="grotesk"] .wallet-chip,
.page[data-badge-font="grotesk"] .circle-badge { font-family: var(--sf-grotesk); }
.page[data-badge-font="serif"] .stan-badge,
.page[data-badge-font="serif"] .zodiac-badge,
.page[data-badge-font="serif"] .pronouns-tag,
.page[data-badge-font="serif"] .sports-pill,
.page[data-badge-font="serif"] .supporter-badge,
.page[data-badge-font="serif"] .biz-cat,
.page[data-badge-font="serif"] .wallet-chip,
.page[data-badge-font="serif"] .circle-badge { font-family: var(--sf-serif); }
.page[data-badge-font="elegant"] .stan-badge,
.page[data-badge-font="elegant"] .zodiac-badge,
.page[data-badge-font="elegant"] .pronouns-tag,
.page[data-badge-font="elegant"] .sports-pill,
.page[data-badge-font="elegant"] .supporter-badge,
.page[data-badge-font="elegant"] .biz-cat,
.page[data-badge-font="elegant"] .wallet-chip,
.page[data-badge-font="elegant"] .circle-badge { font-family: var(--sf-elegant); }
.page[data-badge-font="rounded"] .stan-badge,
.page[data-badge-font="rounded"] .zodiac-badge,
.page[data-badge-font="rounded"] .pronouns-tag,
.page[data-badge-font="rounded"] .sports-pill,
.page[data-badge-font="rounded"] .supporter-badge,
.page[data-badge-font="rounded"] .biz-cat,
.page[data-badge-font="rounded"] .wallet-chip,
.page[data-badge-font="rounded"] .circle-badge { font-family: var(--sf-rounded); }
.page[data-badge-font="condensed"] .stan-badge,
.page[data-badge-font="condensed"] .zodiac-badge,
.page[data-badge-font="condensed"] .pronouns-tag,
.page[data-badge-font="condensed"] .sports-pill,
.page[data-badge-font="condensed"] .supporter-badge,
.page[data-badge-font="condensed"] .biz-cat,
.page[data-badge-font="condensed"] .wallet-chip,
.page[data-badge-font="condensed"] .circle-badge { font-family: var(--sf-condensed); }
.page[data-badge-font="mono"] .stan-badge,
.page[data-badge-font="mono"] .zodiac-badge,
.page[data-badge-font="mono"] .pronouns-tag,
.page[data-badge-font="mono"] .sports-pill,
.page[data-badge-font="mono"] .supporter-badge,
.page[data-badge-font="mono"] .biz-cat,
.page[data-badge-font="mono"] .wallet-chip,
.page[data-badge-font="mono"] .circle-badge { font-family: var(--sf-mono); }
.page[data-badge-font="script"] .stan-badge,
.page[data-badge-font="script"] .zodiac-badge,
.page[data-badge-font="script"] .pronouns-tag,
.page[data-badge-font="script"] .sports-pill,
.page[data-badge-font="script"] .supporter-badge,
.page[data-badge-font="script"] .biz-cat,
.page[data-badge-font="script"] .wallet-chip,
.page[data-badge-font="script"] .circle-badge { font-family: var(--sf-script); }
.page[data-badge-weight="regular"] .stan-badge,
.page[data-badge-weight="regular"] .zodiac-badge,
.page[data-badge-weight="regular"] .pronouns-tag,
.page[data-badge-weight="regular"] .sports-pill,
.page[data-badge-weight="regular"] .supporter-badge,
.page[data-badge-weight="regular"] .biz-cat,
.page[data-badge-weight="regular"] .wallet-chip,
.page[data-badge-weight="regular"] .circle-badge { font-weight: 500; }
.page[data-badge-weight="medium"] .stan-badge,
.page[data-badge-weight="medium"] .zodiac-badge,
.page[data-badge-weight="medium"] .pronouns-tag,
.page[data-badge-weight="medium"] .sports-pill,
.page[data-badge-weight="medium"] .supporter-badge,
.page[data-badge-weight="medium"] .biz-cat,
.page[data-badge-weight="medium"] .wallet-chip,
.page[data-badge-weight="medium"] .circle-badge { font-weight: 600; }
.page[data-badge-weight="bold"] .stan-badge,
.page[data-badge-weight="bold"] .zodiac-badge,
.page[data-badge-weight="bold"] .pronouns-tag,
.page[data-badge-weight="bold"] .sports-pill,
.page[data-badge-weight="bold"] .supporter-badge,
.page[data-badge-weight="bold"] .biz-cat,
.page[data-badge-weight="bold"] .wallet-chip,
.page[data-badge-weight="bold"] .circle-badge { font-weight: 700; }
.page[data-badge-weight="black"] .stan-badge,
.page[data-badge-weight="black"] .zodiac-badge,
.page[data-badge-weight="black"] .pronouns-tag,
.page[data-badge-weight="black"] .sports-pill,
.page[data-badge-weight="black"] .supporter-badge,
.page[data-badge-weight="black"] .biz-cat,
.page[data-badge-weight="black"] .wallet-chip,
.page[data-badge-weight="black"] .circle-badge { font-weight: 800; }
.page[data-badge-case="upper"] .stan-badge,
.page[data-badge-case="upper"] .zodiac-badge,
.page[data-badge-case="upper"] .pronouns-tag,
.page[data-badge-case="upper"] .sports-pill,
.page[data-badge-case="upper"] .supporter-badge,
.page[data-badge-case="upper"] .biz-cat,
.page[data-badge-case="upper"] .wallet-chip,
.page[data-badge-case="upper"] .circle-badge { text-transform: uppercase; letter-spacing: .04em; }
.page[data-badge-case="none"] .stan-badge,
.page[data-badge-case="none"] .zodiac-badge,
.page[data-badge-case="none"] .pronouns-tag,
.page[data-badge-case="none"] .sports-pill,
.page[data-badge-case="none"] .supporter-badge,
.page[data-badge-case="none"] .biz-cat,
.page[data-badge-case="none"] .wallet-chip,
.page[data-badge-case="none"] .circle-badge { text-transform: none; }
.page[data-button-font="sans"] .event-cta,
.page[data-button-font="sans"] .house-entrance-cta,
.page[data-button-font="sans"] .store-entrance-cta,
.page[data-button-font="sans"] .biz-action,
.page[data-button-font="sans"] .coin-buy,
.page[data-button-font="sans"] .subscribe-btn,
.page[data-button-font="sans"] .circle-btn,
.page[data-button-font="sans"] .qbox-send,
.page[data-button-font="sans"] .wallet-copy,
.page[data-button-font="sans"] .prj-visit,
.page[data-button-font="sans"] .lifts-btn,
.page[data-button-font="sans"] .msg-btn,
.page[data-button-font="sans"] .wcpreds-btn { font-family: var(--sf-sans); }
.page[data-button-font="grotesk"] .event-cta,
.page[data-button-font="grotesk"] .house-entrance-cta,
.page[data-button-font="grotesk"] .store-entrance-cta,
.page[data-button-font="grotesk"] .biz-action,
.page[data-button-font="grotesk"] .coin-buy,
.page[data-button-font="grotesk"] .subscribe-btn,
.page[data-button-font="grotesk"] .circle-btn,
.page[data-button-font="grotesk"] .qbox-send,
.page[data-button-font="grotesk"] .wallet-copy,
.page[data-button-font="grotesk"] .prj-visit,
.page[data-button-font="grotesk"] .lifts-btn,
.page[data-button-font="grotesk"] .msg-btn,
.page[data-button-font="grotesk"] .wcpreds-btn { font-family: var(--sf-grotesk); }
.page[data-button-font="serif"] .event-cta,
.page[data-button-font="serif"] .house-entrance-cta,
.page[data-button-font="serif"] .store-entrance-cta,
.page[data-button-font="serif"] .biz-action,
.page[data-button-font="serif"] .coin-buy,
.page[data-button-font="serif"] .subscribe-btn,
.page[data-button-font="serif"] .circle-btn,
.page[data-button-font="serif"] .qbox-send,
.page[data-button-font="serif"] .wallet-copy,
.page[data-button-font="serif"] .prj-visit,
.page[data-button-font="serif"] .lifts-btn,
.page[data-button-font="serif"] .msg-btn,
.page[data-button-font="serif"] .wcpreds-btn { font-family: var(--sf-serif); }
.page[data-button-font="elegant"] .event-cta,
.page[data-button-font="elegant"] .house-entrance-cta,
.page[data-button-font="elegant"] .store-entrance-cta,
.page[data-button-font="elegant"] .biz-action,
.page[data-button-font="elegant"] .coin-buy,
.page[data-button-font="elegant"] .subscribe-btn,
.page[data-button-font="elegant"] .circle-btn,
.page[data-button-font="elegant"] .qbox-send,
.page[data-button-font="elegant"] .wallet-copy,
.page[data-button-font="elegant"] .prj-visit,
.page[data-button-font="elegant"] .lifts-btn,
.page[data-button-font="elegant"] .msg-btn,
.page[data-button-font="elegant"] .wcpreds-btn { font-family: var(--sf-elegant); }
.page[data-button-font="rounded"] .event-cta,
.page[data-button-font="rounded"] .house-entrance-cta,
.page[data-button-font="rounded"] .store-entrance-cta,
.page[data-button-font="rounded"] .biz-action,
.page[data-button-font="rounded"] .coin-buy,
.page[data-button-font="rounded"] .subscribe-btn,
.page[data-button-font="rounded"] .circle-btn,
.page[data-button-font="rounded"] .qbox-send,
.page[data-button-font="rounded"] .wallet-copy,
.page[data-button-font="rounded"] .prj-visit,
.page[data-button-font="rounded"] .lifts-btn,
.page[data-button-font="rounded"] .msg-btn,
.page[data-button-font="rounded"] .wcpreds-btn { font-family: var(--sf-rounded); }
.page[data-button-font="condensed"] .event-cta,
.page[data-button-font="condensed"] .house-entrance-cta,
.page[data-button-font="condensed"] .store-entrance-cta,
.page[data-button-font="condensed"] .biz-action,
.page[data-button-font="condensed"] .coin-buy,
.page[data-button-font="condensed"] .subscribe-btn,
.page[data-button-font="condensed"] .circle-btn,
.page[data-button-font="condensed"] .qbox-send,
.page[data-button-font="condensed"] .wallet-copy,
.page[data-button-font="condensed"] .prj-visit,
.page[data-button-font="condensed"] .lifts-btn,
.page[data-button-font="condensed"] .msg-btn,
.page[data-button-font="condensed"] .wcpreds-btn { font-family: var(--sf-condensed); }
.page[data-button-font="mono"] .event-cta,
.page[data-button-font="mono"] .house-entrance-cta,
.page[data-button-font="mono"] .store-entrance-cta,
.page[data-button-font="mono"] .biz-action,
.page[data-button-font="mono"] .coin-buy,
.page[data-button-font="mono"] .subscribe-btn,
.page[data-button-font="mono"] .circle-btn,
.page[data-button-font="mono"] .qbox-send,
.page[data-button-font="mono"] .wallet-copy,
.page[data-button-font="mono"] .prj-visit,
.page[data-button-font="mono"] .lifts-btn,
.page[data-button-font="mono"] .msg-btn,
.page[data-button-font="mono"] .wcpreds-btn { font-family: var(--sf-mono); }
.page[data-button-font="script"] .event-cta,
.page[data-button-font="script"] .house-entrance-cta,
.page[data-button-font="script"] .store-entrance-cta,
.page[data-button-font="script"] .biz-action,
.page[data-button-font="script"] .coin-buy,
.page[data-button-font="script"] .subscribe-btn,
.page[data-button-font="script"] .circle-btn,
.page[data-button-font="script"] .qbox-send,
.page[data-button-font="script"] .wallet-copy,
.page[data-button-font="script"] .prj-visit,
.page[data-button-font="script"] .lifts-btn,
.page[data-button-font="script"] .msg-btn,
.page[data-button-font="script"] .wcpreds-btn { font-family: var(--sf-script); }
.page[data-button-weight="regular"] .event-cta,
.page[data-button-weight="regular"] .house-entrance-cta,
.page[data-button-weight="regular"] .store-entrance-cta,
.page[data-button-weight="regular"] .biz-action,
.page[data-button-weight="regular"] .coin-buy,
.page[data-button-weight="regular"] .subscribe-btn,
.page[data-button-weight="regular"] .circle-btn,
.page[data-button-weight="regular"] .qbox-send,
.page[data-button-weight="regular"] .wallet-copy,
.page[data-button-weight="regular"] .prj-visit,
.page[data-button-weight="regular"] .lifts-btn,
.page[data-button-weight="regular"] .msg-btn,
.page[data-button-weight="regular"] .wcpreds-btn { font-weight: 500; }
.page[data-button-weight="medium"] .event-cta,
.page[data-button-weight="medium"] .house-entrance-cta,
.page[data-button-weight="medium"] .store-entrance-cta,
.page[data-button-weight="medium"] .biz-action,
.page[data-button-weight="medium"] .coin-buy,
.page[data-button-weight="medium"] .subscribe-btn,
.page[data-button-weight="medium"] .circle-btn,
.page[data-button-weight="medium"] .qbox-send,
.page[data-button-weight="medium"] .wallet-copy,
.page[data-button-weight="medium"] .prj-visit,
.page[data-button-weight="medium"] .lifts-btn,
.page[data-button-weight="medium"] .msg-btn,
.page[data-button-weight="medium"] .wcpreds-btn { font-weight: 600; }
.page[data-button-weight="bold"] .event-cta,
.page[data-button-weight="bold"] .house-entrance-cta,
.page[data-button-weight="bold"] .store-entrance-cta,
.page[data-button-weight="bold"] .biz-action,
.page[data-button-weight="bold"] .coin-buy,
.page[data-button-weight="bold"] .subscribe-btn,
.page[data-button-weight="bold"] .circle-btn,
.page[data-button-weight="bold"] .qbox-send,
.page[data-button-weight="bold"] .wallet-copy,
.page[data-button-weight="bold"] .prj-visit,
.page[data-button-weight="bold"] .lifts-btn,
.page[data-button-weight="bold"] .msg-btn,
.page[data-button-weight="bold"] .wcpreds-btn { font-weight: 700; }
.page[data-button-weight="black"] .event-cta,
.page[data-button-weight="black"] .house-entrance-cta,
.page[data-button-weight="black"] .store-entrance-cta,
.page[data-button-weight="black"] .biz-action,
.page[data-button-weight="black"] .coin-buy,
.page[data-button-weight="black"] .subscribe-btn,
.page[data-button-weight="black"] .circle-btn,
.page[data-button-weight="black"] .qbox-send,
.page[data-button-weight="black"] .wallet-copy,
.page[data-button-weight="black"] .prj-visit,
.page[data-button-weight="black"] .lifts-btn,
.page[data-button-weight="black"] .msg-btn,
.page[data-button-weight="black"] .wcpreds-btn { font-weight: 800; }
.page[data-button-case="upper"] .event-cta,
.page[data-button-case="upper"] .house-entrance-cta,
.page[data-button-case="upper"] .store-entrance-cta,
.page[data-button-case="upper"] .biz-action,
.page[data-button-case="upper"] .coin-buy,
.page[data-button-case="upper"] .subscribe-btn,
.page[data-button-case="upper"] .circle-btn,
.page[data-button-case="upper"] .qbox-send,
.page[data-button-case="upper"] .wallet-copy,
.page[data-button-case="upper"] .prj-visit,
.page[data-button-case="upper"] .lifts-btn,
.page[data-button-case="upper"] .msg-btn,
.page[data-button-case="upper"] .wcpreds-btn { text-transform: uppercase; letter-spacing: .04em; }
.page[data-button-case="none"] .event-cta,
.page[data-button-case="none"] .house-entrance-cta,
.page[data-button-case="none"] .store-entrance-cta,
.page[data-button-case="none"] .biz-action,
.page[data-button-case="none"] .coin-buy,
.page[data-button-case="none"] .subscribe-btn,
.page[data-button-case="none"] .circle-btn,
.page[data-button-case="none"] .qbox-send,
.page[data-button-case="none"] .wallet-copy,
.page[data-button-case="none"] .prj-visit,
.page[data-button-case="none"] .lifts-btn,
.page[data-button-case="none"] .msg-btn,
.page[data-button-case="none"] .wcpreds-btn { text-transform: none; }

/* ── Dashed and dotted borders, and the last missing colours ─────────────────
   The six surface families already offered a dashed style; what was missing
   was a dashed BORDER type — a card or a photo that keeps its own surface but
   gets a broken outline — plus the border colours for the families that had
   none, and the link icon's own two colours. */
.page[data-card-edge="dashed"] .glass:not(.link),
.page[data-card-edge="dashed"] .prj-card,
.page[data-card-edge="dashed"] .coin-card,
.page[data-card-edge="dashed"] .wallet-card,
.page[data-card-edge="dashed"] .biz-card,
.page[data-card-edge="dashed"] .engage-card,
.page[data-card-edge="dashed"] .poll-card,
.page[data-card-edge="dashed"] .qa-item,
.page[data-card-edge="dashed"] .subscribe-card,
.page[data-card-edge="dashed"] .circle-card,
.page[data-card-edge="dashed"] .circle-post,
.page[data-card-edge="dashed"] .verse-card,
.page[data-card-edge="dashed"] .coin-post { border-style: dashed; border-width: 1.5px; border-color: var(--sf-card-edge, var(--glass-stroke)); }
.page[data-link-border-w="dashed"] .link { border-style: dashed; border-width: 1.5px; }
.page[data-photo-edge="dashed"] .cover-frame { border-style: dashed; border-width: 2px; }
.page[data-card-edge="dotted"] .glass:not(.link),
.page[data-card-edge="dotted"] .prj-card,
.page[data-card-edge="dotted"] .coin-card,
.page[data-card-edge="dotted"] .wallet-card,
.page[data-card-edge="dotted"] .biz-card,
.page[data-card-edge="dotted"] .engage-card,
.page[data-card-edge="dotted"] .poll-card,
.page[data-card-edge="dotted"] .qa-item,
.page[data-card-edge="dotted"] .subscribe-card,
.page[data-card-edge="dotted"] .circle-card,
.page[data-card-edge="dotted"] .circle-post,
.page[data-card-edge="dotted"] .verse-card,
.page[data-card-edge="dotted"] .coin-post { border-style: dotted; border-width: 1.5px; border-color: var(--sf-card-edge, var(--glass-stroke)); }
.page[data-link-border-w="dotted"] .link { border-style: dotted; border-width: 1.5px; }
.page[data-photo-edge="dotted"] .cover-frame { border-style: dotted; border-width: 2px; }
.page[data-icon-shape="dashed"] .link-icon { background: transparent; border: 1.5px dashed currentColor; box-shadow: none; }
.page[data-photo-edge="none"] .cover-frame { border-color: transparent; }
.page[data-photo-edge="hairline"] .cover-frame { border-style: solid; border-width: 1px; }
.page[data-photo-edge="strong"] .cover-frame { border-style: solid; border-width: 3px; }

/* The last per-family colours. */
.page[style*="--sf-social-edge"] .social-ico { border-color: var(--sf-social-edge); border-style: solid; }
.page[style*="--sf-field-edge"] .subscribe-input,
.page[style*="--sf-field-edge"] .circle-input,
.page[style*="--sf-field-edge"] .circle-cinput,
.page[style*="--sf-field-edge"] .wallet-amount,
.page[style*="--sf-field-edge"] .prj-comment-input,
.page[style*="--sf-field-edge"] .qbox-body,
.page[style*="--sf-field-edge"] .qbox-name { border-color: var(--sf-field-edge); border-style: solid; }
.page[style*="--sf-field-edge"] .poll-opt { border-color: var(--sf-field-edge); border-style: solid; }
.page[style*="--sf-field-edge"] .poll-result { border-color: var(--sf-field-edge); border-style: solid; }
.page[style*="--sf-icon-bg"] .link-icon { background: var(--sf-icon-bg); }
.page[style*="--sf-icon-ink"] .link-icon { color: var(--sf-icon-ink); }
.page[style*="--sf-photo-edge"] .cover-frame { border-color: var(--sf-photo-edge); border-style: solid; }

/* ── Page finish: patterns, dark mode, entry motion ──────────────────────────
   These belong with the Style tab's theme/palette/background controls rather
   than with Studio's per-element ones: they change the page's canvas, not the
   things sitting on it. All three default to off, so an untouched page is
   unchanged.
   The page is also pinned horizontally here — content could drift sideways on
   a narrow phone because a long unbroken word or a wide row pushed the column
   past the viewport, and the whole page scrolled with it. */
.page { overflow-x: clip; max-width: 100vw; }
.stage { overflow-wrap: anywhere; }
.links, .stage > * { min-width: 0; }

/* Patterns sit above the gradient and below the content. */
.page[data-bg-pattern] .bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.page[data-bg-pattern="grain"] .bg::after {
  opacity: .08;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
                    radial-gradient(rgba(0,0,0,.5) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}
.page[data-bg-pattern="grid"] .bg::after {
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page[data-bg-pattern="dots"] .bg::after {
  opacity: .2;
  background-image: radial-gradient(rgba(255,255,255,.75) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}
.page[data-bg-pattern="mesh"] .bg::after {
  opacity: .55;
  background-image:
    radial-gradient(at 18% 22%, rgba(255,255,255,.35) 0px, transparent 45%),
    radial-gradient(at 82% 18%, rgba(0,0,0,.22) 0px, transparent 42%),
    radial-gradient(at 30% 84%, rgba(255,255,255,.25) 0px, transparent 48%);
}
.page[data-bg-pattern="waves"] .bg::after {
  opacity: .14;
  background-image: repeating-linear-gradient(-38deg,
    rgba(255,255,255,.6) 0 2px, transparent 2px 16px);
}

/* Dark mode. "auto" follows the phone; "on" is always dark. Both dim the
   painted background and lift the text, rather than inverting — inverting a
   user-chosen palette produces colours nobody picked. */
.page[data-dark="on"] .bg-base,
.page[data-dark="auto"] .bg-base { filter: saturate(var(--grad-intensity)) brightness(.42); }
.page[data-dark="on"], .page[data-dark="auto"] { --ink-on: #F4F1F6; --ink-on-soft: rgba(244,241,246,.72); }
.page[data-dark="on"] .glass, .page[data-dark="auto"] .glass {
  --glass-bg: rgba(255,255,255,.09); --glass-bg-strong: rgba(255,255,255,.13);
  --glass-stroke: rgba(255,255,255,.16);
}
@media (prefers-color-scheme: light) {
  /* "auto" only darkens when the visitor's device asks for it. */
  .page[data-dark="auto"] .bg-base { filter: saturate(var(--grad-intensity)); }
  .page[data-dark="auto"] { --ink-on: var(--ink-on-default, #fff); }
  .page[data-dark="auto"] .glass {
    --glass-bg: rgba(255,255,255,.18); --glass-bg-strong: rgba(255,255,255,.26);
    --glass-stroke: rgba(255,255,255,.4);
  }
}

/* Entry motion: blocks settle in with a short stagger. Six steps is enough to
   read as intentional without making the seventh block feel late. */
@keyframes stxEnterFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes stxEnterRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page[data-motion="fade"] .stage > *,
.page[data-motion="rise"] .stage > * {
  animation-duration: .5s; animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.22,.9,.3,1);
}
.page[data-motion="fade"] .stage > * { animation-name: stxEnterFade; }
.page[data-motion="rise"] .stage > * { animation-name: stxEnterRise; }
.page[data-motion] .stage > *:nth-child(1) { animation-delay: 0s; }
.page[data-motion] .stage > *:nth-child(2) { animation-delay: .06s; }
.page[data-motion] .stage > *:nth-child(3) { animation-delay: .12s; }
.page[data-motion] .stage > *:nth-child(4) { animation-delay: .18s; }
.page[data-motion] .stage > *:nth-child(5) { animation-delay: .24s; }
.page[data-motion] .stage > *:nth-child(n+6) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .page[data-motion] .stage > * { animation: none !important; }
}

/* ── Link previews ───────────────────────────────────────────────────────────
   Two shapes, chosen per link. "card" puts a wide image above the row — the
   link becomes a poster, which suits a video or a release. "tile" swaps the
   icon for a square crop, which keeps the list dense when several links have
   images. Both reuse the row's own radius so a pill link gets a pill-topped
   image and a square one stays square. */
.link.has-card {
  grid-template-columns: 40px 1fr 28px;
  grid-template-areas: "img img img" "icon body arrow";
  padding-top: 0; overflow: hidden;
}
.link.has-card .link-card-img {
  grid-area: img;
  display: block; width: 100%; aspect-ratio: 16 / 9;
  margin: 0 0 12px; overflow: hidden; background: rgba(0,0,0,.08);
  /* Pull the image to the row's edges, whatever padding the density adds. */
  margin-left: calc(var(--link-pad-x, 15px) * -1);
  margin-right: calc(var(--link-pad-x, 15px) * -1);
  width: calc(100% + var(--link-pad-x, 15px) * 2);
}
.link.has-card .link-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.link.has-card .link-icon { grid-area: icon; }
.link.has-card .link-body { grid-area: body; }
.link.has-card .link-arrow { grid-area: arrow; }
.link.has-card { padding-top: 0 !important; }

.link .link-tile { overflow: hidden; padding: 0; }
.link .link-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The tile carries the icon's shape, so the studio's icon controls still
   govern it — a circular icon means a circular thumbnail. */

/* ── Link sections ───────────────────────────────────────────────────────────
   A heading that groups the links after it. Two shapes on purpose:

   Plain — a label and a rule. It organises, it is not interactive, and it
   carries no affordance that would suggest otherwise.

   Foldable — the same label plus a count and a chevron, with the whole row as
   a target. Both marks matter: the chevron says "this opens", the count says
   what you would be missing while it is shut. A section that hides links
   without saying so is how a link stops being tapped. */
.link-section {
  display: flex; align-items: center; gap: 10px;
  width: 100%; box-sizing: border-box;
  margin: 14px 0 2px; padding: 4px 2px;
  background: none; border: 0; text-align: left;
  color: var(--ink-on);
  font-size: 12px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.14);
}
.links > .link-section:first-child { margin-top: 2px; }
.link-section-label { flex: none; }
.link-section-rule {
  flex: 1 1 auto; height: 1px; min-width: 12px;
  background: currentColor; opacity: .22;
}
.link-section-count {
  flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: 0;
  min-width: 20px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.22); border: .5px solid rgba(255,255,255,.34);
  text-align: center;
}
.link-section.is-foldable {
  -webkit-appearance: none; appearance: none;
  cursor: pointer; font: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  min-height: 44px; padding: 4px 6px; border-radius: 12px;
  transition: background .14s;
}
.link-section.is-foldable:hover { background: rgba(255,255,255,.1); }
.link-section-chevron {
  flex: none; display: inline-flex; opacity: .6;
  transition: transform .2s cubic-bezier(.4,0,.2,1);
  transform: rotate(-90deg);   /* shut: pointing right */
}
.link-section.is-open .link-section-chevron { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .link-section-chevron { transition: none; }
}

/* Sections follow the studio's typography choices like every other text. */
.page[data-font-display] .link-section-label { font-family: var(--font-display); }
.page[data-text-case="none"] .link-section { text-transform: none; letter-spacing: .01em; }
.page[data-letter-space="tight"] .link-section { letter-spacing: .03em; }

/* ── Bolder surface styles ───────────────────────────────────────────────────
   "cartoon" is the comic-book treatment: a thick outline and a hard shadow
   offset downwards, so the row reads as a physical object sitting on the page.
   "sticker" is the die-cut look — white border, soft drop shadow. "emboss" and
   "inset" push the surface out of and into the page. "ghost" is nothing at all
   until you hover.
   All of them take their colours from the family's own tokens, so the studio's
   colour pickers drive them like every other style. */
.page[data-link-style="cartoon"] .link {
  background: var(--sf-link-bg, #fff);
  border: 3px solid var(--sf-link-edge, #16121f);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-link-shadow, #16121f));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.page[data-card-style="cartoon"] .glass:not(.link),
.page[data-card-style="cartoon"] .prj-card,
.page[data-card-style="cartoon"] .coin-card,
.page[data-card-style="cartoon"] .wallet-card,
.page[data-card-style="cartoon"] .biz-card,
.page[data-card-style="cartoon"] .engage-card,
.page[data-card-style="cartoon"] .poll-card,
.page[data-card-style="cartoon"] .qa-item,
.page[data-card-style="cartoon"] .subscribe-card,
.page[data-card-style="cartoon"] .circle-card,
.page[data-card-style="cartoon"] .circle-post,
.page[data-card-style="cartoon"] .verse-card,
.page[data-card-style="cartoon"] .coin-post {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-card-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #16121f));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.page[data-badge-style="cartoon"] .stan-badge,
.page[data-badge-style="cartoon"] .zodiac-badge,
.page[data-badge-style="cartoon"] .pronouns-tag,
.page[data-badge-style="cartoon"] .sports-pill,
.page[data-badge-style="cartoon"] .supporter-badge,
.page[data-badge-style="cartoon"] .biz-cat,
.page[data-badge-style="cartoon"] .wallet-chip,
.page[data-badge-style="cartoon"] .circle-badge {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-badge-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 3px 0 0 var(--sf-link-edge, var(--sf-badge-shadow, #16121f));
  color: var(--sf-badge-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.page[data-social-style="cartoon"] .social-ico {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 2.5px solid var(--sf-link-edge, #16121f);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 3px 0 0 var(--sf-link-edge, #16121f);
  color: var(--sf-ink, #16121f);
  transform: translateY(-2px);
}
.page[data-button-style="cartoon"] .event-cta,
.page[data-button-style="cartoon"] .house-entrance-cta,
.page[data-button-style="cartoon"] .store-entrance-cta,
.page[data-button-style="cartoon"] .biz-action,
.page[data-button-style="cartoon"] .coin-buy,
.page[data-button-style="cartoon"] .subscribe-btn,
.page[data-button-style="cartoon"] .circle-btn,
.page[data-button-style="cartoon"] .qbox-send,
.page[data-button-style="cartoon"] .wallet-copy,
.page[data-button-style="cartoon"] .prj-visit,
.page[data-button-style="cartoon"] .lifts-btn,
.page[data-button-style="cartoon"] .msg-btn,
.page[data-button-style="cartoon"] .wcpreds-btn {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-button-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #16121f));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.page[data-link-style="sticker"] .link {
  background: var(--sf-link-bg, #fff);
  border: 4px solid var(--sf-link-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-link-shadow, rgba(20,12,30,.45));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
}
.page[data-card-style="sticker"] .glass:not(.link),
.page[data-card-style="sticker"] .prj-card,
.page[data-card-style="sticker"] .coin-card,
.page[data-card-style="sticker"] .wallet-card,
.page[data-card-style="sticker"] .biz-card,
.page[data-card-style="sticker"] .engage-card,
.page[data-card-style="sticker"] .poll-card,
.page[data-card-style="sticker"] .qa-item,
.page[data-card-style="sticker"] .subscribe-card,
.page[data-card-style="sticker"] .circle-card,
.page[data-card-style="sticker"] .circle-post,
.page[data-card-style="sticker"] .verse-card,
.page[data-card-style="sticker"] .coin-post {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-card-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-card-shadow, rgba(20,12,30,.45));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}
.page[data-badge-style="sticker"] .stan-badge,
.page[data-badge-style="sticker"] .zodiac-badge,
.page[data-badge-style="sticker"] .pronouns-tag,
.page[data-badge-style="sticker"] .sports-pill,
.page[data-badge-style="sticker"] .supporter-badge,
.page[data-badge-style="sticker"] .biz-cat,
.page[data-badge-style="sticker"] .wallet-chip,
.page[data-badge-style="sticker"] .circle-badge {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2.5px solid var(--sf-badge-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-badge-shadow, rgba(20,12,30,.45));
  color: var(--sf-badge-ink, var(--sf-ink, #16121f));
}
.page[data-social-style="sticker"] .social-ico {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-social-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-social-shadow, rgba(20,12,30,.45));
  color: var(--sf-ink, #16121f);
}
.page[data-button-style="sticker"] .event-cta,
.page[data-button-style="sticker"] .house-entrance-cta,
.page[data-button-style="sticker"] .store-entrance-cta,
.page[data-button-style="sticker"] .biz-action,
.page[data-button-style="sticker"] .coin-buy,
.page[data-button-style="sticker"] .subscribe-btn,
.page[data-button-style="sticker"] .circle-btn,
.page[data-button-style="sticker"] .qbox-send,
.page[data-button-style="sticker"] .wallet-copy,
.page[data-button-style="sticker"] .prj-visit,
.page[data-button-style="sticker"] .lifts-btn,
.page[data-button-style="sticker"] .msg-btn,
.page[data-button-style="sticker"] .wcpreds-btn {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-button-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-button-shadow, rgba(20,12,30,.45));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
}
.page[data-link-style="emboss"] .link {
  background: var(--sf-link-bg, #fff);
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-link-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-link-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-link-shadow, rgba(20,12,30,.35));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
}
.page[data-card-style="emboss"] .glass:not(.link),
.page[data-card-style="emboss"] .prj-card,
.page[data-card-style="emboss"] .coin-card,
.page[data-card-style="emboss"] .wallet-card,
.page[data-card-style="emboss"] .biz-card,
.page[data-card-style="emboss"] .engage-card,
.page[data-card-style="emboss"] .poll-card,
.page[data-card-style="emboss"] .qa-item,
.page[data-card-style="emboss"] .subscribe-card,
.page[data-card-style="emboss"] .circle-card,
.page[data-card-style="emboss"] .circle-post,
.page[data-card-style="emboss"] .verse-card,
.page[data-card-style="emboss"] .coin-post {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-card-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-card-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-card-shadow, rgba(20,12,30,.35));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}
.page[data-button-style="emboss"] .event-cta,
.page[data-button-style="emboss"] .house-entrance-cta,
.page[data-button-style="emboss"] .store-entrance-cta,
.page[data-button-style="emboss"] .biz-action,
.page[data-button-style="emboss"] .coin-buy,
.page[data-button-style="emboss"] .subscribe-btn,
.page[data-button-style="emboss"] .circle-btn,
.page[data-button-style="emboss"] .qbox-send,
.page[data-button-style="emboss"] .wallet-copy,
.page[data-button-style="emboss"] .prj-visit,
.page[data-button-style="emboss"] .lifts-btn,
.page[data-button-style="emboss"] .msg-btn,
.page[data-button-style="emboss"] .wcpreds-btn {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-button-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-button-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-button-shadow, rgba(20,12,30,.35));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
}
.page[data-link-style="inset"] .link {
  background: var(--sf-link-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-link-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-link-shadow, rgba(255,255,255,.22));
}
.page[data-card-style="inset"] .glass:not(.link),
.page[data-card-style="inset"] .prj-card,
.page[data-card-style="inset"] .coin-card,
.page[data-card-style="inset"] .wallet-card,
.page[data-card-style="inset"] .biz-card,
.page[data-card-style="inset"] .engage-card,
.page[data-card-style="inset"] .poll-card,
.page[data-card-style="inset"] .qa-item,
.page[data-card-style="inset"] .subscribe-card,
.page[data-card-style="inset"] .circle-card,
.page[data-card-style="inset"] .circle-post,
.page[data-card-style="inset"] .verse-card,
.page[data-card-style="inset"] .coin-post {
  background: var(--sf-card-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-card-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-card-shadow, rgba(255,255,255,.22));
}
.page[data-link-style="ghost"] .link {
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page[data-link-style="cartoon"] .link:hover,
.page[data-button-style="cartoon"] .event-cta:hover {
  transform: translateY(1px); box-shadow: 0 2px 0 0 var(--sf-link-edge, var(--sf-link-shadow, var(--sf-button-shadow, #16121f)));
}
.page[data-link-style="cartoon"] .link-icon {
  background: transparent; border: 2px solid var(--sf-link-edge, currentColor); box-shadow: none; color: inherit;
}
.page[data-link-style="cartoon"] .link .link-label,
.page[data-link-style="cartoon"] .link .link-arrow { color: inherit; font-weight: 800; }
.page[data-link-style="cartoon"] .link .link-sub { color: inherit; opacity: .7; }
.page[data-link-style="sticker"] .link .link-label,
.page[data-link-style="sticker"] .link .link-arrow { color: inherit; }
.page[data-link-style="sticker"] .link-icon { background: var(--sf-link-bg, rgba(0,0,0,.05)); border: none; box-shadow: none; color: inherit; }
.page[data-link-style="emboss"] .link .link-label,
.page[data-link-style="emboss"] .link .link-arrow { color: inherit; }
.page[data-link-style="ghost"] .link:hover { background: var(--sf-link-bg, rgba(255,255,255,.14)); }
.page[data-link-style="ghost"] .link-icon { background: transparent; border: none; box-shadow: none; }

/* "Solid" was 92% white, so the page showed through and it never looked solid.
   It is now genuinely opaque. */
.page[data-link-style="solid"] .link { background: var(--sf-link-bg, #ffffff); }

/* ── Profile picture modes ───────────────────────────────────────────────────
   Alternatives to the framed card, chosen in the Style tab.

   bleed — full width, the lower edge dissolving into the page. No frame, no
     border, no circle: the picture becomes the top of the page rather than an
     object placed on it.
   blend — the same dissolve on every side, a soft vignette.
   arch  — rounded at the top, flat at the foot.
   bare  — the photo alone, no frame, no shadow, no gloss.

   The mask goes on .cover-frame, not on .cover-photo. The frame is the element
   that clips (overflow: hidden) and that both photo layers sit inside; masking
   the inner layer left the frame's own edge visible, which is why "faded"
   showed a hard border instead of fading. And because the frame is inset 6px
   from .cover, a full-width mode has to cancel that inset too, or a strip of
   background stays on the left. */
.page[data-photo-mode="bare"] .cover-shadow,
.page[data-photo-mode="arch"] .cover-shadow,
.page[data-photo-mode="bleed"] .cover-gloss,
.page[data-photo-mode="blend"] .cover-gloss,
.page[data-photo-mode="bare"] .cover-gloss,
.page[data-photo-mode="arch"] .cover-gloss,
.page[data-photo-mode="bleed"] .cover-rim,
.page[data-photo-mode="blend"] .cover-rim,
.page[data-photo-mode="bare"] .cover-rim,
.page[data-photo-mode="arch"] .cover-rim { display: none; }

.page[data-photo-mode="bleed"] .cover-frame,
.page[data-photo-mode="blend"] .cover-frame,
.page[data-photo-mode="bare"] .cover-frame,
.page[data-photo-mode="arch"] .cover-frame {
  background: none; border: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  isolation: auto;
}
/* The inner layers fill the frame edge to edge in every mode. */
.page[data-photo-mode="bleed"] .cover-photo,
.page[data-photo-mode="blend"] .cover-photo,
.page[data-photo-mode="bare"] .cover-photo,
.page[data-photo-mode="arch"] .cover-photo { inset: 0; border-radius: inherit; }

/* bleed: edge to edge, bottom faded. .cover is capped by the column, so the
   negative margins are applied there — on the frame they left the left strip
   the screenshot showed. */
/* Breaking out of the column, without knowing its padding. Guessing --pad was
   wrong twice: it is 22px, not the 18px I assumed, and .stage's padding is
   max(--pad, safe-area-inset) so it grows on a notched phone — either way a
   strip of background stayed on one side. Pinning the element to the viewport
   itself makes the arithmetic exact whatever the column does. */
/* Full-width modes: the photo alone reaches the screen edges.
   The first attempt stripped .stage's padding and re-added it INSIDE every
   child — exactly the coupling to avoid, since each card then carried that
   padding on top of its own and a photo setting silently restyled the whole
   page. Pulling only .cover out with negative margins leaves every other block
   untouched: .page clips at the viewport and the photo stops exactly there, so
   nothing is cut. */
.page[data-photo-mode="bleed"] .cover,
.page[data-photo-mode="band"] .cover {
  max-width: none;
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.page[data-photo-mode="bleed"] .cover {
  aspect-ratio: 4 / 5;
  margin-bottom: -22px;
}
.page[data-photo-mode="bleed"] .cover-frame {
  border-radius: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

/* blend: dissolves on all sides. */
.page[data-photo-mode="blend"] .cover-frame {
  border-radius: 0;
  -webkit-mask-image: radial-gradient(closest-side circle at 50% 46%, #000 58%, transparent 100%);
          mask-image: radial-gradient(closest-side circle at 50% 46%, #000 58%, transparent 100%);
}

/* arch */
.page[data-photo-mode="arch"] .cover-frame { border-radius: 50% 50% 16px 16px / 40% 40% 16px 16px; }

/* bare */
.page[data-photo-mode="bare"] .cover-frame { border-radius: 18px; }

/* An explicit shape still wins over a mode's own rounding — except for the
   full-width modes, where a rounded corner would defeat the point. */
.page[data-photo-shape="circle"][data-photo-mode="bare"] .cover-frame,
.page[data-photo-shape="circle"][data-photo-mode="arch"] .cover-frame { border-radius: 50%; }

/* In the full-width modes the picture starts at the very top of the column,
   where the "créé avec" line and the share button already sit. Giving it a
   little headroom keeps those legible over the image instead of letting them
   collide with the roofline. */
.page[data-photo-mode="bleed"] .cover,
.page[data-photo-mode="blend"] .cover { margin-top: 4px; }

/* band: a full-width strip that fades at the top and the bottom but keeps its
   left and right edges square. The rounded "blend" vignette suits a portrait;
   this one suits a landscape photo used as a header. */
.page[data-photo-mode="band"] .cover {
  aspect-ratio: 16 / 10;
  margin-top: 0;
  margin-bottom: -14px;
}
.page[data-photo-mode="band"] .cover-shadow,
.page[data-photo-mode="band"] .cover-gloss,
.page[data-photo-mode="band"] .cover-rim { display: none; }
.page[data-photo-mode="band"] .cover-frame {
  background: none; border: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  isolation: auto;
  border-radius: 0;
  /* A short fade at each end. The first attempt started dissolving at 26% and
     again from 68%, which left barely a third of the picture at full opacity —
     the photo disappeared instead of blending. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
}
.page[data-photo-mode="band"] .cover-photo { inset: 0; border-radius: 0; }

/* ── Photo modes vs. the paper theme ─────────────────────────────────────────
   The "paper" theme tilts the frame by -1.6deg and tapes it down, which reads
   as a polaroid pinned to the page. On a framed photo that is the whole charm.
   On a faded one it is the bug: a tilted rectangle leaves a wedge of empty
   background at the top corner, and no amount of margin arithmetic can fill a
   gap made by a rotation. Three attempts at the margins missed this entirely.
   So the faded modes straighten the picture and drop the tape — they are a
   different treatment, not a polaroid. */
html[data-theme="paper"] .page[data-photo-mode="bleed"] .cover-frame,
html[data-theme="paper"] .page[data-photo-mode="band"] .cover-frame,
html[data-theme="paper"] .page[data-photo-mode="blend"] .cover-frame,
html[data-theme="paper"] .page[data-photo-mode="bare"] .cover-frame,
html[data-theme="paper"] .page[data-photo-mode="arch"] .cover-frame,
html[data-theme="y2k"] .page[data-photo-mode="bleed"] .cover-frame,
html[data-theme="y2k"] .page[data-photo-mode="band"] .cover-frame,
html[data-theme="y2k"] .page[data-photo-mode="blend"] .cover-frame,
html[data-theme="y2k"] .page[data-photo-mode="bare"] .cover-frame,
html[data-theme="y2k"] .page[data-photo-mode="arch"] .cover-frame {
  transform: none;
  box-shadow: none;
  inset: 0;
}
/* The inner photo inherits the theme's 12px inset; a faded mode fills the
   frame instead. */
html[data-theme="paper"] .page[data-photo-mode="bleed"] .cover-photo,
html[data-theme="paper"] .page[data-photo-mode="band"] .cover-photo,
html[data-theme="paper"] .page[data-photo-mode="blend"] .cover-photo,
html[data-theme="paper"] .page[data-photo-mode="bare"] .cover-photo,
html[data-theme="paper"] .page[data-photo-mode="arch"] .cover-photo {
  inset: 0;
}
/* And the tape belongs to the polaroid only. */
html[data-theme="paper"] .page[data-photo-mode="bleed"] .cover::after,
html[data-theme="paper"] .page[data-photo-mode="band"] .cover::after,
html[data-theme="paper"] .page[data-photo-mode="blend"] .cover::after,
html[data-theme="paper"] .page[data-photo-mode="bare"] .cover::after,
html[data-theme="paper"] .page[data-photo-mode="arch"] .cover::after { display: none; }

/* ── Faded modes: straight photo, slanted top edge ───────────────────────────
   The slant comes from .cover-shadow-1/-2, two panes rotated behind the photo.
   Rotating anything is the wrong tool here: a rotated rectangle cannot fill a
   rectangular slot, so a wedge of background shows at one corner — and once I
   widened the pane to cover the left, it opened one on the right instead.

   The right tool is a clip path. The photo stays perfectly straight and full
   width; only its TOP EDGE is cut on a slope, sinking towards the "créé avec"
   line. Nothing is rotated, so nothing can leave a gap, and the angle is the
   picture's own rather than a panel behind it. */
.page[data-photo-mode="bleed"] .cover-shadow,
.page[data-photo-mode="band"] .cover-shadow,
.page[data-photo-mode="blend"] .cover-shadow { display: none; }

.page[data-photo-mode="bleed"] .cover-frame,
.page[data-photo-mode="band"] .cover-frame,
.page[data-photo-mode="blend"] .cover-frame { transform: none; }

/* The slanted cut, on the element that clips. 4% of the height is enough to
   read as deliberate without eating the subject. */
.page[data-photo-mode="bleed"] .cover-frame {
  -webkit-clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}
/* The band mode already dissolves its top edge, so a slanted cut there would
   be invisible — it gets the slope at the BOTTOM instead, where its own fade
   ends against the page. */
.page[data-photo-mode="band"] .cover-frame {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}

/* The header line and the share button stay above the picture in every mode.
   Stated once rather than per photo-mode: it is a stacking rule about the
   header, not a restyling triggered by a photo setting. */
.header { position: relative; z-index: 3; }

/* Card rules must never reach a link. A link carries .glass too, so
   `.page[data-card-*] .glass` restyled the links as well — change the cards,
   the links move. Every card selector now excludes .link explicitly. */

/* ── Shadow colour per family ────────────────────────────────────────────────
   On cartoon, brutal and sticker the offset shadow is the whole point of the
   style, so it needs to follow the page's palette rather than stay locked to
   near-black. Declared with the same offsets as each style, so only the hue
   changes. */
.page[style*="--sf-link-shadow"][data-link-style="cartoon"] .link { box-shadow: 0 5px 0 0 var(--sf-link-shadow); }
.page[style*="--sf-link-shadow"][data-link-style="brutal"] .link { box-shadow: 3px 3px 0 0 var(--sf-link-shadow); }
.page[style*="--sf-link-shadow"][data-link-style="sticker"] .link { box-shadow: 0 4px 14px -4px var(--sf-link-shadow); }
.page[style*="--sf-link-shadow"][data-link-shadow="soft"] .link { box-shadow: 0 8px 18px -12px var(--sf-link-shadow); }
.page[style*="--sf-link-shadow"][data-link-shadow="strong"] .link { box-shadow: 0 18px 34px -16px var(--sf-link-shadow); }
/* The badge cartoon/brutal shadow otherwise falls back through
   --sf-link-edge before it ever reaches --sf-badge-shadow (see the base
   rules above), so a badge shadow colour would silently lose to any link
   edge colour that happened to be set. This forces the badge's own colour
   to win once it exists, exactly like the same fix already does for cards
   and buttons. */
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .stan-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .zodiac-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .pronouns-tag,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .sports-pill,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .supporter-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .biz-cat,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .wallet-chip,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .circle-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .coin-post-kind,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .coin-chain,
.page[style*="--sf-badge-shadow"][data-badge-style="brutal"] .wcpreds-count { box-shadow: 3px 3px 0 0 var(--sf-badge-shadow); }
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .stan-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .zodiac-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .pronouns-tag,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .sports-pill,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .supporter-badge,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .biz-cat,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .wallet-chip,
.page[style*="--sf-badge-shadow"][data-badge-style="cartoon"] .circle-badge { box-shadow: 0 3px 0 0 var(--sf-badge-shadow); }
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .glass:not(.link),
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .prj-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .coin-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .wallet-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .biz-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .engage-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .poll-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .qa-item,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .subscribe-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .circle-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .circle-post,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .verse-card,
.page[style*="--sf-card-shadow"][data-card-style="cartoon"] .coin-post { box-shadow: 0 5px 0 0 var(--sf-card-shadow); }
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .glass:not(.link),
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .prj-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .coin-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .wallet-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .biz-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .engage-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .poll-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .qa-item,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .subscribe-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .circle-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .circle-post,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .verse-card,
.page[style*="--sf-card-shadow"][data-card-shadow="soft"] .coin-post { box-shadow: 0 10px 24px -16px var(--sf-card-shadow); }
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .glass:not(.link),
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .prj-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .coin-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .wallet-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .biz-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .engage-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .poll-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .qa-item,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .subscribe-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .circle-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .circle-post,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .verse-card,
.page[style*="--sf-card-shadow"][data-card-shadow="strong"] .coin-post { box-shadow: 0 22px 44px -18px var(--sf-card-shadow); }
/* Per-card shadow colour, self-selector form. Mirrors the page-wide
   cartoon/soft/strong rules above so a single card ("cette carte
   seulement") set to Cartoon can also get its own shadow colour, instead
   of only working when the whole page shares one card style. */
.glass:not(.link)[style*="--sf-card-shadow"][data-card-style="cartoon"],
.biz-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.subscribe-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.engage-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.circle-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.verse-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.coin-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.prj-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.qa-item[style*="--sf-card-shadow"][data-card-style="cartoon"],
.poll-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.wallet-card[style*="--sf-card-shadow"][data-card-style="cartoon"],
.circle-post[style*="--sf-card-shadow"][data-card-style="cartoon"],
.coin-post[style*="--sf-card-shadow"][data-card-style="cartoon"] { box-shadow: 0 5px 0 0 var(--sf-card-shadow); }
.glass:not(.link)[style*="--sf-card-shadow"][data-card-shadow="soft"],
.biz-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.subscribe-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.engage-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.circle-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.verse-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.coin-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.prj-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.qa-item[style*="--sf-card-shadow"][data-card-shadow="soft"],
.poll-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.wallet-card[style*="--sf-card-shadow"][data-card-shadow="soft"],
.circle-post[style*="--sf-card-shadow"][data-card-shadow="soft"],
.coin-post[style*="--sf-card-shadow"][data-card-shadow="soft"] { box-shadow: 0 10px 24px -16px var(--sf-card-shadow); }
.glass:not(.link)[style*="--sf-card-shadow"][data-card-shadow="strong"],
.biz-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.subscribe-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.engage-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.circle-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.verse-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.coin-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.prj-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.qa-item[style*="--sf-card-shadow"][data-card-shadow="strong"],
.poll-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.wallet-card[style*="--sf-card-shadow"][data-card-shadow="strong"],
.circle-post[style*="--sf-card-shadow"][data-card-shadow="strong"],
.coin-post[style*="--sf-card-shadow"][data-card-shadow="strong"] { box-shadow: 0 22px 44px -18px var(--sf-card-shadow); }
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .event-cta,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .house-entrance-cta,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .store-entrance-cta,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .biz-action,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .coin-buy,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .subscribe-btn,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .circle-btn,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .qbox-send,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .wallet-copy,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .prj-visit,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .lifts-btn,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .msg-btn,
.page[style*="--sf-button-shadow"][data-button-style="cartoon"] .wcpreds-btn { box-shadow: 0 5px 0 0 var(--sf-button-shadow); }
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .event-cta,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .house-entrance-cta,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .store-entrance-cta,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .biz-action,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .coin-buy,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .subscribe-btn,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .circle-btn,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .qbox-send,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .wallet-copy,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .prj-visit,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .lifts-btn,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .msg-btn,
.page[style*="--sf-button-shadow"][data-button-style="brutal"] .wcpreds-btn { box-shadow: 3px 3px 0 0 var(--sf-button-shadow); }

/* ── Per-family colours, restated last ───────────────────────────────────────
   Colour rules were declared some sixty thousand characters before the style
   rules, so at equal specificity every style won and the colour pickers looked
   dead on half the styles — "I set the text colour and nothing happens".
   Restating them at the end of the sheet lets a chosen colour win over a
   style's own default, which is the precedence an owner expects: the style
   decides the shape, the colour decides the colour.
   Each still falls back to the style's value when the owner has set nothing,
   so an untouched page is unchanged. */

/* Links — the label, the subtitle and the arrow, not just the row. */
.page[style*="--sf-link-ink"] .link,
.page[style*="--sf-link-ink"] .link .link-label,
.page[style*="--sf-link-ink"] .link .link-arrow { color: var(--sf-link-ink); }
.page[style*="--sf-link-ink"] .link .link-sub { color: var(--sf-link-ink); opacity: .68; }
.page[style*="--sf-link-bg"] .link { background: var(--sf-link-bg); }
.page[style*="--sf-link-edge"] .link { border-color: var(--sf-link-edge); }

/* Link icon */
.page[style*="--sf-icon-bg"] .link .link-icon { background: var(--sf-icon-bg); }
.page[style*="--sf-icon-ink"] .link .link-icon { color: var(--sf-icon-ink); }

/* Cards */
.page[style*="--sf-card-ink"] .glass:not(.link),
.page[style*="--sf-card-ink"] .biz-card,
.page[style*="--sf-card-ink"] .subscribe-card,
.page[style*="--sf-card-ink"] .engage-card,
.page[style*="--sf-card-ink"] .wallet-card,
.page[style*="--sf-card-ink"] .circle-card,
.page[style*="--sf-card-ink"] .verse-card,
.page[style*="--sf-card-ink"] .coin-card,
.page[style*="--sf-card-ink"] .prj-card,
.page[style*="--sf-card-ink"] .qa-item,
.page[style*="--sf-card-ink"] .poll-card { color: var(--sf-card-ink); }
.page[style*="--sf-card-bg"] .glass:not(.link),
.page[style*="--sf-card-bg"] .biz-card,
.page[style*="--sf-card-bg"] .subscribe-card,
.page[style*="--sf-card-bg"] .engage-card,
.page[style*="--sf-card-bg"] .wallet-card,
.page[style*="--sf-card-bg"] .circle-card,
.page[style*="--sf-card-bg"] .verse-card,
.page[style*="--sf-card-bg"] .coin-card,
.page[style*="--sf-card-bg"] .prj-card,
.page[style*="--sf-card-bg"] .qa-item,
.page[style*="--sf-card-bg"] .poll-card { background: var(--sf-card-bg); }

/* Badges */
.page[style*="--sf-badge-ink"] .stan-badge,
.page[style*="--sf-badge-ink"] .zodiac-badge,
.page[style*="--sf-badge-ink"] .pronouns-tag,
.page[style*="--sf-badge-ink"] .sports-pill,
.page[style*="--sf-badge-ink"] .supporter-badge,
.page[style*="--sf-badge-ink"] .biz-cat,
.page[style*="--sf-badge-ink"] .wallet-chip,
.page[style*="--sf-badge-ink"] .circle-badge { color: var(--sf-badge-ink); }
.page[style*="--sf-badge-bg"] .stan-badge,
.page[style*="--sf-badge-bg"] .zodiac-badge,
.page[style*="--sf-badge-bg"] .pronouns-tag,
.page[style*="--sf-badge-bg"] .sports-pill,
.page[style*="--sf-badge-bg"] .supporter-badge,
.page[style*="--sf-badge-bg"] .biz-cat,
.page[style*="--sf-badge-bg"] .wallet-chip,
.page[style*="--sf-badge-bg"] .circle-badge { background: var(--sf-badge-bg); }

/* Buttons */
.page[style*="--sf-button-ink"] .event-cta,
.page[style*="--sf-button-ink"] .house-entrance-cta,
.page[style*="--sf-button-ink"] .store-entrance-cta,
.page[style*="--sf-button-ink"] .biz-action,
.page[style*="--sf-button-ink"] .coin-buy,
.page[style*="--sf-button-ink"] .subscribe-btn,
.page[style*="--sf-button-ink"] .circle-btn,
.page[style*="--sf-button-ink"] .qbox-send,
.page[style*="--sf-button-ink"] .wallet-copy,
.page[style*="--sf-button-ink"] .prj-visit,
.page[style*="--sf-button-ink"] .lifts-btn,
.page[style*="--sf-button-ink"] .msg-btn { color: var(--sf-button-ink); }
.page[style*="--sf-button-bg"] .event-cta,
.page[style*="--sf-button-bg"] .house-entrance-cta,
.page[style*="--sf-button-bg"] .store-entrance-cta,
.page[style*="--sf-button-bg"] .biz-action,
.page[style*="--sf-button-bg"] .coin-buy,
.page[style*="--sf-button-bg"] .subscribe-btn,
.page[style*="--sf-button-bg"] .circle-btn,
.page[style*="--sf-button-bg"] .qbox-send,
.page[style*="--sf-button-bg"] .wallet-copy,
.page[style*="--sf-button-bg"] .prj-visit,
.page[style*="--sf-button-bg"] .lifts-btn,
.page[style*="--sf-button-bg"] .msg-btn { background: var(--sf-button-bg); }

/* Social icons — brand styles keep their own colours, they are the identity
   of the service rather than a choice of the owner. */
.page[style*="--sf-social-ink"] .social-ico:not([data-net]) { color: var(--sf-social-ink); }
.page[style*="--sf-social-ink"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico { color: var(--sf-social-ink); }
.page[style*="--sf-social-bg"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico { background: var(--sf-social-bg); }

/* Fields */
.page[style*="--sf-field-ink"] .subscribe-input,
.page[style*="--sf-field-ink"] .circle-input,
.page[style*="--sf-field-ink"] .circle-cinput,
.page[style*="--sf-field-ink"] .wallet-amount,
.page[style*="--sf-field-ink"] .prj-comment-input,
.page[style*="--sf-field-ink"] .qbox-body,
.page[style*="--sf-field-ink"] .qbox-name { color: var(--sf-field-ink); }
.page[style*="--sf-field-ink"] .poll-opt { color: var(--sf-field-ink); }
.page[style*="--sf-field-ink"] .poll-result { color: var(--sf-field-ink); }
.page[style*="--sf-field-bg"] .subscribe-input,
.page[style*="--sf-field-bg"] .circle-input,
.page[style*="--sf-field-bg"] .circle-cinput,
.page[style*="--sf-field-bg"] .wallet-amount,
.page[style*="--sf-field-bg"] .prj-comment-input,
.page[style*="--sf-field-bg"] .qbox-body,
.page[style*="--sf-field-bg"] .qbox-name { background: var(--sf-field-bg); }
.page[style*="--sf-field-bg"] .poll-opt { background: var(--sf-field-bg); }
.page[style*="--sf-field-bg"] .poll-result { background: var(--sf-field-bg); }

/* Social ink, restated after the brand tables so a chosen colour wins on every
   style except the two brand ones — where the platform's own colour is the
   whole point. */
.page[style*="--sf-social-ink"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico,
.page[style*="--sf-social-ink"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico svg {
  color: var(--sf-social-ink);
}
.page[style*="--sf-social-bg"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico {
  background: var(--sf-social-bg);
}

/* Social ink and background together, as the very last word on the subject.
   Declared separately they kept leap-frogging each other: whichever came
   second won, and the other fell back behind the style rules. */
.page[style*="--sf-social-ink"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico,
.page[style*="--sf-social-ink"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico svg {
  color: var(--sf-social-ink);
}
.page[style*="--sf-social-bg"]:not([data-social-style="brand"]):not([data-social-style="brandsoft"]) .social-ico {
  background: var(--sf-social-bg);
}

/* ── Coconut characters ──────────────────────────────────────────────────────
   Free-placed decoration. Two layers: one behind the content, one in front.

   Both are pointer-events: none, without exception. A character sitting over a
   link would otherwise eat the tap — and on a page whose entire purpose is
   getting links tapped, a decoration that blocks one is worse than no
   decoration at all.

   Positions are percentages of the page box, so a placement holds from a
   narrow phone to a desktop column without being re-done. */
.coco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.coco-layer.is-front { z-index: 5; }

.coco {
  position: absolute;
  width: 96px;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* The page becomes the positioning context for both layers. */
.page { position: relative; }

/* In the editor the characters must be grabbable, so the preview turns the
   pointer events back on for the one being moved. */
.edit-preview .coco-layer { pointer-events: none; }
.edit-preview.is-coco .coco-layer,
.edit-preview.is-coco .coco { pointer-events: auto; }
.edit-preview.is-coco .coco { cursor: grab; touch-action: none; }
.edit-preview.is-coco .coco.is-picked {
  outline: 2px dashed #7C3AED;
  outline-offset: 4px;
}

/* ── Bubble vs. full-width photo ─────────────────────────────────────────────
   The bubble is placed against the photo's own corners (right: -10px), which
   is right while the photo sits inside the column. In the full-width modes the
   photo now spans the whole viewport, so that same -10px lands past the screen
   edge and the bubble drifts off — that is the offset drift on a faded
   full-width header.
   In those two modes it is pinned to the readable column instead, using the
   same padding as the rest of the page. */
.page[data-photo-mode="bleed"] .bubble-tr,
.page[data-photo-mode="band"] .bubble-tr {
  right: calc((100% - min(100%, var(--col-w))) / 2 + var(--pad));
  top: 8px;
}
.page[data-photo-mode="bleed"] .bubble-br,
.page[data-photo-mode="band"] .bubble-br {
  right: calc((100% - min(100%, var(--col-w))) / 2 + var(--pad));
  bottom: 8px;
}
.page[data-photo-mode="bleed"] .bubble-bl,
.page[data-photo-mode="band"] .bubble-bl {
  left: calc((100% - min(100%, var(--col-w))) / 2 + var(--pad));
  bottom: 8px;
}

/* ── Per-card styling ────────────────────────────────────────────────────────
   Generated from the whole-family rules above, so one card styled on its own
   looks exactly like every card styled together. See the note in the build
   script for why these are needed at all. */
.glass:not(.link)[data-card-style="glass"],
.biz-card[data-card-style="glass"],
.subscribe-card[data-card-style="glass"],
.engage-card[data-card-style="glass"],
.circle-card[data-card-style="glass"],
.verse-card[data-card-style="glass"],
.coin-card[data-card-style="glass"],
.prj-card[data-card-style="glass"],
.qa-item[data-card-style="glass"],
.poll-card[data-card-style="glass"],
.wallet-card[data-card-style="glass"],
.circle-post[data-card-style="glass"],
.coin-post[data-card-style="glass"] {
  background: var(--sf-card-bg, var(--glass-bg));
  border: .5px solid var(--sf-card-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-card-shadow, var(--glass-shadow));
}

.glass:not(.link)[data-card-style="solid"],
.biz-card[data-card-style="solid"],
.subscribe-card[data-card-style="solid"],
.engage-card[data-card-style="solid"],
.circle-card[data-card-style="solid"],
.verse-card[data-card-style="solid"],
.coin-card[data-card-style="solid"],
.prj-card[data-card-style="solid"],
.qa-item[data-card-style="solid"],
.poll-card[data-card-style="solid"],
.wallet-card[data-card-style="solid"],
.circle-post[data-card-style="solid"],
.coin-post[data-card-style="solid"] {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.glass:not(.link)[data-card-style="outline"],
.biz-card[data-card-style="outline"],
.subscribe-card[data-card-style="outline"],
.engage-card[data-card-style="outline"],
.circle-card[data-card-style="outline"],
.verse-card[data-card-style="outline"],
.coin-card[data-card-style="outline"],
.prj-card[data-card-style="outline"],
.qa-item[data-card-style="outline"],
.poll-card[data-card-style="outline"],
.wallet-card[data-card-style="outline"],
.circle-post[data-card-style="outline"],
.coin-post[data-card-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, var(--sf-card-edge, rgba(255,255,255,.55)));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.glass:not(.link)[data-card-style="soft"],
.biz-card[data-card-style="soft"],
.subscribe-card[data-card-style="soft"],
.engage-card[data-card-style="soft"],
.circle-card[data-card-style="soft"],
.verse-card[data-card-style="soft"],
.coin-card[data-card-style="soft"],
.prj-card[data-card-style="soft"],
.qa-item[data-card-style="soft"],
.poll-card[data-card-style="soft"],
.wallet-card[data-card-style="soft"],
.circle-post[data-card-style="soft"],
.coin-post[data-card-style="soft"] {
  background: var(--sf-card-bg, rgba(255,255,255,.26));
  border: none;
  box-shadow: 0 14px 30px -18px var(--sf-card-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-card-shadow, rgba(255,255,255,.4));
}

.glass:not(.link)[data-card-style="elevated"],
.biz-card[data-card-style="elevated"],
.subscribe-card[data-card-style="elevated"],
.engage-card[data-card-style="elevated"],
.circle-card[data-card-style="elevated"],
.verse-card[data-card-style="elevated"],
.coin-card[data-card-style="elevated"],
.prj-card[data-card-style="elevated"],
.qa-item[data-card-style="elevated"],
.poll-card[data-card-style="elevated"],
.wallet-card[data-card-style="elevated"],
.circle-post[data-card-style="elevated"],
.coin-post[data-card-style="elevated"] {
  background: var(--sf-card-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.glass:not(.link)[data-card-style="flat"],
.biz-card[data-card-style="flat"],
.subscribe-card[data-card-style="flat"],
.engage-card[data-card-style="flat"],
.circle-card[data-card-style="flat"],
.verse-card[data-card-style="flat"],
.coin-card[data-card-style="flat"],
.prj-card[data-card-style="flat"],
.qa-item[data-card-style="flat"],
.poll-card[data-card-style="flat"],
.wallet-card[data-card-style="flat"],
.circle-post[data-card-style="flat"],
.coin-post[data-card-style="flat"] {
  background: var(--sf-card-bg, rgba(255,255,255,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.glass:not(.link)[data-card-style="tint"],
.biz-card[data-card-style="tint"],
.subscribe-card[data-card-style="tint"],
.engage-card[data-card-style="tint"],
.circle-card[data-card-style="tint"],
.verse-card[data-card-style="tint"],
.coin-card[data-card-style="tint"],
.prj-card[data-card-style="tint"],
.qa-item[data-card-style="tint"],
.poll-card[data-card-style="tint"],
.wallet-card[data-card-style="tint"],
.circle-post[data-card-style="tint"],
.coin-post[data-card-style="tint"] {
  background: var(--sf-card-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 16%, transparent));
  border: .5px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 42%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}

.glass:not(.link)[data-card-style="glow"],
.biz-card[data-card-style="glow"],
.subscribe-card[data-card-style="glow"],
.engage-card[data-card-style="glow"],
.circle-card[data-card-style="glow"],
.verse-card[data-card-style="glow"],
.coin-card[data-card-style="glow"],
.prj-card[data-card-style="glow"],
.qa-item[data-card-style="glow"],
.poll-card[data-card-style="glow"],
.wallet-card[data-card-style="glow"],
.circle-post[data-card-style="glow"],
.coin-post[data-card-style="glow"] {
  background: var(--sf-card-bg, rgba(255,255,255,.14));
  border: 1px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 55%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 18%, transparent),
              0 10px 30px -14px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 60%, transparent);
}

.glass:not(.link)[data-card-style="dashed"],
.biz-card[data-card-style="dashed"],
.subscribe-card[data-card-style="dashed"],
.engage-card[data-card-style="dashed"],
.circle-card[data-card-style="dashed"],
.verse-card[data-card-style="dashed"],
.coin-card[data-card-style="dashed"],
.prj-card[data-card-style="dashed"],
.qa-item[data-card-style="dashed"],
.poll-card[data-card-style="dashed"],
.wallet-card[data-card-style="dashed"],
.circle-post[data-card-style="dashed"],
.coin-post[data-card-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-card-edge, currentColor));
  box-shadow: none;
}

.glass:not(.link)[data-card-style="brutal"],
.biz-card[data-card-style="brutal"],
.subscribe-card[data-card-style="brutal"],
.engage-card[data-card-style="brutal"],
.circle-card[data-card-style="brutal"],
.verse-card[data-card-style="brutal"],
.coin-card[data-card-style="brutal"],
.prj-card[data-card-style="brutal"],
.qa-item[data-card-style="brutal"],
.poll-card[data-card-style="brutal"],
.wallet-card[data-card-style="brutal"],
.circle-post[data-card-style="brutal"],
.coin-post[data-card-style="brutal"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-card-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #1c0828));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.glass:not(.link)[data-card-style="cartoon"],
.biz-card[data-card-style="cartoon"],
.subscribe-card[data-card-style="cartoon"],
.engage-card[data-card-style="cartoon"],
.circle-card[data-card-style="cartoon"],
.verse-card[data-card-style="cartoon"],
.coin-card[data-card-style="cartoon"],
.prj-card[data-card-style="cartoon"],
.qa-item[data-card-style="cartoon"],
.poll-card[data-card-style="cartoon"],
.wallet-card[data-card-style="cartoon"],
.circle-post[data-card-style="cartoon"],
.coin-post[data-card-style="cartoon"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-card-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #16121f));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}

.glass:not(.link)[data-card-style="sticker"],
.biz-card[data-card-style="sticker"],
.subscribe-card[data-card-style="sticker"],
.engage-card[data-card-style="sticker"],
.circle-card[data-card-style="sticker"],
.verse-card[data-card-style="sticker"],
.coin-card[data-card-style="sticker"],
.prj-card[data-card-style="sticker"],
.qa-item[data-card-style="sticker"],
.poll-card[data-card-style="sticker"],
.wallet-card[data-card-style="sticker"],
.circle-post[data-card-style="sticker"],
.coin-post[data-card-style="sticker"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-card-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-card-shadow, rgba(20,12,30,.45));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.glass:not(.link)[data-card-style="emboss"],
.biz-card[data-card-style="emboss"],
.subscribe-card[data-card-style="emboss"],
.engage-card[data-card-style="emboss"],
.circle-card[data-card-style="emboss"],
.verse-card[data-card-style="emboss"],
.coin-card[data-card-style="emboss"],
.prj-card[data-card-style="emboss"],
.qa-item[data-card-style="emboss"],
.poll-card[data-card-style="emboss"],
.wallet-card[data-card-style="emboss"],
.circle-post[data-card-style="emboss"],
.coin-post[data-card-style="emboss"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-card-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-card-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-card-shadow, rgba(20,12,30,.35));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.glass:not(.link)[data-card-style="inset"],
.biz-card[data-card-style="inset"],
.subscribe-card[data-card-style="inset"],
.engage-card[data-card-style="inset"],
.circle-card[data-card-style="inset"],
.verse-card[data-card-style="inset"],
.coin-card[data-card-style="inset"],
.prj-card[data-card-style="inset"],
.qa-item[data-card-style="inset"],
.poll-card[data-card-style="inset"],
.wallet-card[data-card-style="inset"],
.circle-post[data-card-style="inset"],
.coin-post[data-card-style="inset"] {
  background: var(--sf-card-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-card-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-card-shadow, rgba(255,255,255,.22));
}

.glass:not(.link)[data-card-radius="sharp"],
.biz-card[data-card-radius="sharp"],
.subscribe-card[data-card-radius="sharp"],
.engage-card[data-card-radius="sharp"],
.circle-card[data-card-radius="sharp"],
.verse-card[data-card-radius="sharp"],
.coin-card[data-card-radius="sharp"],
.prj-card[data-card-radius="sharp"],
.qa-item[data-card-radius="sharp"],
.poll-card[data-card-radius="sharp"],
.wallet-card[data-card-radius="sharp"],
.circle-post[data-card-radius="sharp"],
.coin-post[data-card-radius="sharp"] { border-radius: 0; }

.glass:not(.link)[data-card-radius="soft"],
.biz-card[data-card-radius="soft"],
.subscribe-card[data-card-radius="soft"],
.engage-card[data-card-radius="soft"],
.circle-card[data-card-radius="soft"],
.verse-card[data-card-radius="soft"],
.coin-card[data-card-radius="soft"],
.prj-card[data-card-radius="soft"],
.qa-item[data-card-radius="soft"],
.poll-card[data-card-radius="soft"],
.wallet-card[data-card-radius="soft"],
.circle-post[data-card-radius="soft"],
.coin-post[data-card-radius="soft"] { border-radius: 10px; }

.glass:not(.link)[data-card-radius="rounded"],
.biz-card[data-card-radius="rounded"],
.subscribe-card[data-card-radius="rounded"],
.engage-card[data-card-radius="rounded"],
.circle-card[data-card-radius="rounded"],
.verse-card[data-card-radius="rounded"],
.coin-card[data-card-radius="rounded"],
.prj-card[data-card-radius="rounded"],
.qa-item[data-card-radius="rounded"],
.poll-card[data-card-radius="rounded"],
.wallet-card[data-card-radius="rounded"],
.circle-post[data-card-radius="rounded"],
.coin-post[data-card-radius="rounded"] { border-radius: 20px; }

.glass:not(.link)[data-card-radius="xl"],
.biz-card[data-card-radius="xl"],
.subscribe-card[data-card-radius="xl"],
.engage-card[data-card-radius="xl"],
.circle-card[data-card-radius="xl"],
.verse-card[data-card-radius="xl"],
.coin-card[data-card-radius="xl"],
.prj-card[data-card-radius="xl"],
.qa-item[data-card-radius="xl"],
.poll-card[data-card-radius="xl"],
.wallet-card[data-card-radius="xl"],
.circle-post[data-card-radius="xl"],
.coin-post[data-card-radius="xl"] { border-radius: 30px; }

.glass:not(.link)[data-card-density="compact"],
.biz-card[data-card-density="compact"],
.subscribe-card[data-card-density="compact"],
.engage-card[data-card-density="compact"],
.circle-card[data-card-density="compact"],
.verse-card[data-card-density="compact"],
.coin-card[data-card-density="compact"],
.prj-card[data-card-density="compact"],
.qa-item[data-card-density="compact"],
.poll-card[data-card-density="compact"],
.wallet-card[data-card-density="compact"],
.circle-post[data-card-density="compact"],
.coin-post[data-card-density="compact"] { padding: 11px 13px; }

.glass:not(.link)[data-card-density="cosy"],
.biz-card[data-card-density="cosy"],
.subscribe-card[data-card-density="cosy"],
.engage-card[data-card-density="cosy"],
.circle-card[data-card-density="cosy"],
.verse-card[data-card-density="cosy"],
.coin-card[data-card-density="cosy"],
.prj-card[data-card-density="cosy"],
.qa-item[data-card-density="cosy"],
.poll-card[data-card-density="cosy"],
.wallet-card[data-card-density="cosy"],
.circle-post[data-card-density="cosy"],
.coin-post[data-card-density="cosy"] { padding: 16px; }

.glass:not(.link)[data-card-density="roomy"],
.biz-card[data-card-density="roomy"],
.subscribe-card[data-card-density="roomy"],
.engage-card[data-card-density="roomy"],
.circle-card[data-card-density="roomy"],
.verse-card[data-card-density="roomy"],
.coin-card[data-card-density="roomy"],
.prj-card[data-card-density="roomy"],
.qa-item[data-card-density="roomy"],
.poll-card[data-card-density="roomy"],
.wallet-card[data-card-density="roomy"],
.circle-post[data-card-density="roomy"],
.coin-post[data-card-density="roomy"] { padding: 24px; }

.glass:not(.link)[data-card-shadow="none"],
.biz-card[data-card-shadow="none"],
.subscribe-card[data-card-shadow="none"],
.engage-card[data-card-shadow="none"],
.circle-card[data-card-shadow="none"],
.verse-card[data-card-shadow="none"],
.coin-card[data-card-shadow="none"],
.prj-card[data-card-shadow="none"],
.qa-item[data-card-shadow="none"],
.poll-card[data-card-shadow="none"],
.wallet-card[data-card-shadow="none"],
.circle-post[data-card-shadow="none"],
.coin-post[data-card-shadow="none"] { box-shadow: none; }

.glass:not(.link)[data-card-shadow="soft"],
.biz-card[data-card-shadow="soft"],
.subscribe-card[data-card-shadow="soft"],
.engage-card[data-card-shadow="soft"],
.circle-card[data-card-shadow="soft"],
.verse-card[data-card-shadow="soft"],
.coin-card[data-card-shadow="soft"],
.prj-card[data-card-shadow="soft"],
.qa-item[data-card-shadow="soft"],
.poll-card[data-card-shadow="soft"],
.wallet-card[data-card-shadow="soft"],
.circle-post[data-card-shadow="soft"],
.coin-post[data-card-shadow="soft"] { box-shadow: 0 10px 24px -16px rgba(28,8,40,.5); }

.glass:not(.link)[data-card-shadow="strong"],
.biz-card[data-card-shadow="strong"],
.subscribe-card[data-card-shadow="strong"],
.engage-card[data-card-shadow="strong"],
.circle-card[data-card-shadow="strong"],
.verse-card[data-card-shadow="strong"],
.coin-card[data-card-shadow="strong"],
.prj-card[data-card-shadow="strong"],
.qa-item[data-card-shadow="strong"],
.poll-card[data-card-shadow="strong"],
.wallet-card[data-card-shadow="strong"],
.circle-post[data-card-shadow="strong"],
.coin-post[data-card-shadow="strong"] { box-shadow: 0 22px 44px -18px rgba(28,8,40,.72); }

/* Per-card colours. The variable arrives in the card's own style attribute;
   these rules are what actually consume it at that level. */
.glass:not(.link)[style*="--sf-card-bg"],
.biz-card[style*="--sf-card-bg"],
.subscribe-card[style*="--sf-card-bg"],
.engage-card[style*="--sf-card-bg"],
.circle-card[style*="--sf-card-bg"],
.verse-card[style*="--sf-card-bg"],
.coin-card[style*="--sf-card-bg"],
.prj-card[style*="--sf-card-bg"],
.qa-item[style*="--sf-card-bg"],
.poll-card[style*="--sf-card-bg"],
.wallet-card[style*="--sf-card-bg"],
.circle-post[style*="--sf-card-bg"],
.coin-post[style*="--sf-card-bg"] {
  background: var(--sf-card-bg);
}
.glass:not(.link)[style*="--sf-card-ink"],
.biz-card[style*="--sf-card-ink"],
.subscribe-card[style*="--sf-card-ink"],
.engage-card[style*="--sf-card-ink"],
.circle-card[style*="--sf-card-ink"],
.verse-card[style*="--sf-card-ink"],
.coin-card[style*="--sf-card-ink"],
.prj-card[style*="--sf-card-ink"],
.qa-item[style*="--sf-card-ink"],
.poll-card[style*="--sf-card-ink"],
.wallet-card[style*="--sf-card-ink"],
.circle-post[style*="--sf-card-ink"],
.coin-post[style*="--sf-card-ink"] {
  color: var(--sf-card-ink);
}
.glass:not(.link)[style*="--sf-card-edge"],
.biz-card[style*="--sf-card-edge"],
.subscribe-card[style*="--sf-card-edge"],
.engage-card[style*="--sf-card-edge"],
.circle-card[style*="--sf-card-edge"],
.verse-card[style*="--sf-card-edge"],
.coin-card[style*="--sf-card-edge"],
.prj-card[style*="--sf-card-edge"],
.qa-item[style*="--sf-card-edge"],
.poll-card[style*="--sf-card-edge"],
.wallet-card[style*="--sf-card-edge"],
.circle-post[style*="--sf-card-edge"],
.coin-post[style*="--sf-card-edge"] {
  border-color: var(--sf-card-edge);
}

/* Per-card border style ("Bordure"), self-selector form. Mirrors the
   page-wide rule above so "cette carte seulement" can set a border
   independently of the rest of the page. */
.glass:not(.link)[data-card-edge="none"],
.biz-card[data-card-edge="none"],
.subscribe-card[data-card-edge="none"],
.engage-card[data-card-edge="none"],
.circle-card[data-card-edge="none"],
.verse-card[data-card-edge="none"],
.coin-card[data-card-edge="none"],
.prj-card[data-card-edge="none"],
.qa-item[data-card-edge="none"],
.poll-card[data-card-edge="none"],
.wallet-card[data-card-edge="none"],
.circle-post[data-card-edge="none"],
.coin-post[data-card-edge="none"] { border-color: transparent; border-width: 0; }
.glass:not(.link)[data-card-edge="hairline"],
.biz-card[data-card-edge="hairline"],
.subscribe-card[data-card-edge="hairline"],
.engage-card[data-card-edge="hairline"],
.circle-card[data-card-edge="hairline"],
.verse-card[data-card-edge="hairline"],
.coin-card[data-card-edge="hairline"],
.prj-card[data-card-edge="hairline"],
.qa-item[data-card-edge="hairline"],
.poll-card[data-card-edge="hairline"],
.wallet-card[data-card-edge="hairline"],
.circle-post[data-card-edge="hairline"],
.coin-post[data-card-edge="hairline"] { border-style: solid; border-width: .5px; }
.glass:not(.link)[data-card-edge="strong"],
.biz-card[data-card-edge="strong"],
.subscribe-card[data-card-edge="strong"],
.engage-card[data-card-edge="strong"],
.circle-card[data-card-edge="strong"],
.verse-card[data-card-edge="strong"],
.coin-card[data-card-edge="strong"],
.prj-card[data-card-edge="strong"],
.qa-item[data-card-edge="strong"],
.poll-card[data-card-edge="strong"],
.wallet-card[data-card-edge="strong"],
.circle-post[data-card-edge="strong"],
.coin-post[data-card-edge="strong"] { border-style: solid; border-width: 2px; border-color: var(--sf-card-edge, var(--sf-link-edge, rgba(255,255,255,.7))); }
.glass:not(.link)[data-card-edge="dashed"],
.biz-card[data-card-edge="dashed"],
.subscribe-card[data-card-edge="dashed"],
.engage-card[data-card-edge="dashed"],
.circle-card[data-card-edge="dashed"],
.verse-card[data-card-edge="dashed"],
.coin-card[data-card-edge="dashed"],
.prj-card[data-card-edge="dashed"],
.qa-item[data-card-edge="dashed"],
.poll-card[data-card-edge="dashed"],
.wallet-card[data-card-edge="dashed"],
.circle-post[data-card-edge="dashed"],
.coin-post[data-card-edge="dashed"] { border-style: dashed; border-width: 1.5px; border-color: var(--sf-card-edge, var(--glass-stroke)); }
.glass:not(.link)[data-card-edge="dotted"],
.biz-card[data-card-edge="dotted"],
.subscribe-card[data-card-edge="dotted"],
.engage-card[data-card-edge="dotted"],
.circle-card[data-card-edge="dotted"],
.verse-card[data-card-edge="dotted"],
.coin-card[data-card-edge="dotted"],
.prj-card[data-card-edge="dotted"],
.qa-item[data-card-edge="dotted"],
.poll-card[data-card-edge="dotted"],
.wallet-card[data-card-edge="dotted"],
.circle-post[data-card-edge="dotted"],
.coin-post[data-card-edge="dotted"] { border-style: dotted; border-width: 1.5px; border-color: var(--sf-card-edge, var(--glass-stroke)); }


/* ── Per-pastille et per-réseau, self-selector form ──────────────────────────
   Same generation as the per-card block above: every family-wide rule for
   badges and social icons, re-emitted on the element's own attribute so a
   single pastille or a single réseau icon can be styled on its own ("cette
   pastille/ce réseau seulement") exactly like a single card already could.
   The glow, gradient and gradient-angle rules already had this form; this
   fills in style, radius/shape, size, font, weight, case and the base
   background/text/border colours, which did not. */
.stan-badge[data-badge-style="glass"],
.zodiac-badge[data-badge-style="glass"],
.pronouns-tag[data-badge-style="glass"],
.sports-pill[data-badge-style="glass"],
.supporter-badge[data-badge-style="glass"],
.biz-cat[data-badge-style="glass"],
.wallet-chip[data-badge-style="glass"],
.circle-badge[data-badge-style="glass"],
.coin-post-kind[data-badge-style="glass"],
.coin-chain[data-badge-style="glass"],
.wcpreds-count[data-badge-style="glass"] {
  background: var(--sf-badge-bg, rgba(255,255,255,.22));
  border: .5px solid var(--sf-badge-edge, rgba(255,255,255,.45));
  box-shadow: inset 0 1px 0 var(--sf-badge-shadow, rgba(255,255,255,.4));
}
.stan-badge[data-badge-style="solid"],
.zodiac-badge[data-badge-style="solid"],
.pronouns-tag[data-badge-style="solid"],
.sports-pill[data-badge-style="solid"],
.supporter-badge[data-badge-style="solid"],
.biz-cat[data-badge-style="solid"],
.wallet-chip[data-badge-style="solid"],
.circle-badge[data-badge-style="solid"],
.coin-post-kind[data-badge-style="solid"],
.coin-chain[data-badge-style="solid"],
.wcpreds-count[data-badge-style="solid"] {
  background: var(--sf-badge-bg, var(--sf-card-bg, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-badge-ink, var(--sf-ink, #1c0828));
}
.stan-badge[data-badge-style="outline"],
.zodiac-badge[data-badge-style="outline"],
.pronouns-tag[data-badge-style="outline"],
.sports-pill[data-badge-style="outline"],
.supporter-badge[data-badge-style="outline"],
.biz-cat[data-badge-style="outline"],
.wallet-chip[data-badge-style="outline"],
.circle-badge[data-badge-style="outline"],
.coin-post-kind[data-badge-style="outline"],
.coin-chain[data-badge-style="outline"],
.wcpreds-count[data-badge-style="outline"] {
  background: transparent;
  border: 1.2px solid var(--sf-badge-edge, currentColor);
  box-shadow: none;
}
.stan-badge[data-badge-style="soft"],
.zodiac-badge[data-badge-style="soft"],
.pronouns-tag[data-badge-style="soft"],
.sports-pill[data-badge-style="soft"],
.supporter-badge[data-badge-style="soft"],
.biz-cat[data-badge-style="soft"],
.wallet-chip[data-badge-style="soft"],
.circle-badge[data-badge-style="soft"],
.coin-post-kind[data-badge-style="soft"],
.coin-chain[data-badge-style="soft"],
.wcpreds-count[data-badge-style="soft"] {
  background: var(--sf-badge-bg, rgba(255,255,255,.3));
  border: none;
  box-shadow: 0 6px 14px -10px var(--sf-badge-shadow, rgba(28,8,40,.5));
}
.stan-badge[data-badge-style="flat"],
.zodiac-badge[data-badge-style="flat"],
.pronouns-tag[data-badge-style="flat"],
.sports-pill[data-badge-style="flat"],
.supporter-badge[data-badge-style="flat"],
.biz-cat[data-badge-style="flat"],
.wallet-chip[data-badge-style="flat"],
.circle-badge[data-badge-style="flat"],
.coin-post-kind[data-badge-style="flat"],
.coin-chain[data-badge-style="flat"],
.wcpreds-count[data-badge-style="flat"] {
  background: var(--sf-badge-bg, rgba(255,255,255,.14));
  border: none;
  box-shadow: none;
}
.stan-badge[data-badge-radius="sharp"],
.zodiac-badge[data-badge-radius="sharp"],
.pronouns-tag[data-badge-radius="sharp"],
.sports-pill[data-badge-radius="sharp"],
.supporter-badge[data-badge-radius="sharp"],
.biz-cat[data-badge-radius="sharp"],
.wallet-chip[data-badge-radius="sharp"],
.circle-badge[data-badge-radius="sharp"],
.coin-post-kind[data-badge-radius="sharp"],
.coin-chain[data-badge-radius="sharp"],
.wcpreds-count[data-badge-radius="sharp"] {
  border-radius: 0;
}
.stan-badge[data-badge-radius="soft"],
.zodiac-badge[data-badge-radius="soft"],
.pronouns-tag[data-badge-radius="soft"],
.sports-pill[data-badge-radius="soft"],
.supporter-badge[data-badge-radius="soft"],
.biz-cat[data-badge-radius="soft"],
.wallet-chip[data-badge-radius="soft"],
.circle-badge[data-badge-radius="soft"],
.coin-post-kind[data-badge-radius="soft"],
.coin-chain[data-badge-radius="soft"],
.wcpreds-count[data-badge-radius="soft"] {
  border-radius: 7px;
}
.stan-badge[data-badge-radius="rounded"],
.zodiac-badge[data-badge-radius="rounded"],
.pronouns-tag[data-badge-radius="rounded"],
.sports-pill[data-badge-radius="rounded"],
.supporter-badge[data-badge-radius="rounded"],
.biz-cat[data-badge-radius="rounded"],
.wallet-chip[data-badge-radius="rounded"],
.circle-badge[data-badge-radius="rounded"],
.coin-post-kind[data-badge-radius="rounded"],
.coin-chain[data-badge-radius="rounded"],
.wcpreds-count[data-badge-radius="rounded"] {
  border-radius: 13px;
}
.stan-badge[data-badge-radius="pill"],
.zodiac-badge[data-badge-radius="pill"],
.pronouns-tag[data-badge-radius="pill"],
.sports-pill[data-badge-radius="pill"],
.supporter-badge[data-badge-radius="pill"],
.biz-cat[data-badge-radius="pill"],
.wallet-chip[data-badge-radius="pill"],
.circle-badge[data-badge-radius="pill"],
.coin-post-kind[data-badge-radius="pill"],
.coin-chain[data-badge-radius="pill"],
.wcpreds-count[data-badge-radius="pill"] {
  border-radius: 999px;
}
.social-ico[data-social-style="glass"] {
  background: var(--sf-social-bg, rgba(255,255,255,.22));
  border: .5px solid var(--sf-social-edge, rgba(255,255,255,.45));
  box-shadow: inset 0 1px 0 var(--sf-social-shadow, rgba(255,255,255,.4));
}
.social-ico[data-social-style="solid"] {
  background: var(--sf-social-bg, var(--sf-card-bg, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-ink, #1c0828);
}
.social-ico[data-social-style="outline"] {
  background: transparent;
  border: 1.4px solid var(--sf-social-edge, currentColor);
  box-shadow: none;
}
.social-ico[data-social-style="soft"] {
  background: var(--sf-social-bg, rgba(255,255,255,.28));
  border: none;
  box-shadow: 0 8px 16px -12px var(--sf-social-shadow, rgba(28,8,40,.5));
}
.social-ico[data-social-style="plain"] {
  background: transparent;
  border: none;
  box-shadow: none;
}
.social-ico[data-social-shape="square"] {
  border-radius: 0;
}
.social-ico[data-social-shape="soft"] {
  border-radius: 8px;
}
.social-ico[data-social-shape="rounded"] {
  border-radius: 14px;
}
.social-ico[data-social-shape="circle"] {
  border-radius: 50%;
}
.stan-badge[data-badge-style="outline"],
.zodiac-badge[data-badge-style="outline"],
.pronouns-tag[data-badge-style="outline"],
.sports-pill[data-badge-style="outline"],
.supporter-badge[data-badge-style="outline"],
.biz-cat[data-badge-style="outline"] {
  border-color: var(--sf-badge-edge, color-mix(in srgb, currentColor 34%, transparent));
  padding-left: 12px;
  padding-right: 12px;
}
.stan-badge[data-badge-style="flat"],
.zodiac-badge[data-badge-style="flat"],
.pronouns-tag[data-badge-style="flat"],
.sports-pill[data-badge-style="flat"],
.supporter-badge[data-badge-style="flat"],
.biz-cat[data-badge-style="flat"] {
  padding-left: 11px;
  padding-right: 11px;
}
.stan-badge[data-badge-style="tint"],
.zodiac-badge[data-badge-style="tint"],
.pronouns-tag[data-badge-style="tint"],
.sports-pill[data-badge-style="tint"],
.supporter-badge[data-badge-style="tint"],
.biz-cat[data-badge-style="tint"],
.wallet-chip[data-badge-style="tint"],
.circle-badge[data-badge-style="tint"],
.coin-post-kind[data-badge-style="tint"],
.coin-chain[data-badge-style="tint"],
.wcpreds-count[data-badge-style="tint"] {
  background: var(--sf-badge-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-badge-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.social-ico[data-social-style="tint"] {
  background: color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent);
  border: .5px solid color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent);
  box-shadow: none;
}
.stan-badge[data-badge-style="dashed"],
.zodiac-badge[data-badge-style="dashed"],
.pronouns-tag[data-badge-style="dashed"],
.sports-pill[data-badge-style="dashed"],
.supporter-badge[data-badge-style="dashed"],
.biz-cat[data-badge-style="dashed"],
.wallet-chip[data-badge-style="dashed"],
.circle-badge[data-badge-style="dashed"],
.coin-post-kind[data-badge-style="dashed"],
.coin-chain[data-badge-style="dashed"],
.wcpreds-count[data-badge-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-badge-edge, currentColor));
  box-shadow: none;
}
.social-ico[data-social-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-social-edge, currentColor));
  box-shadow: none;
}
.stan-badge[data-badge-style="glow"],
.zodiac-badge[data-badge-style="glow"],
.pronouns-tag[data-badge-style="glow"],
.sports-pill[data-badge-style="glow"],
.supporter-badge[data-badge-style="glow"],
.biz-cat[data-badge-style="glow"],
.wallet-chip[data-badge-style="glow"],
.circle-badge[data-badge-style="glow"],
.coin-post-kind[data-badge-style="glow"],
.coin-chain[data-badge-style="glow"],
.wcpreds-count[data-badge-style="glow"] {
  background: var(--sf-badge-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-badge-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-badge-shadow, #FF3D7F))) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-badge-shadow, #FF3D7F))) 65%, transparent);
}
.social-ico[data-social-style="glow"] {
  background: var(--sf-social-bg, rgba(255,255,255,.1));
  border: 1px solid color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 65%, transparent);
}
.stan-badge[data-badge-style="brutal"],
.zodiac-badge[data-badge-style="brutal"],
.pronouns-tag[data-badge-style="brutal"],
.sports-pill[data-badge-style="brutal"],
.supporter-badge[data-badge-style="brutal"],
.biz-cat[data-badge-style="brutal"],
.wallet-chip[data-badge-style="brutal"],
.circle-badge[data-badge-style="brutal"],
.coin-post-kind[data-badge-style="brutal"],
.coin-chain[data-badge-style="brutal"],
.wcpreds-count[data-badge-style="brutal"] {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-badge-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-badge-shadow, #1c0828));
  color: var(--sf-badge-ink, var(--sf-ink, #1c0828));
}
.social-ico[data-social-style="brutal"] {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, #1c0828);
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, #1c0828);
  color: var(--sf-ink, #1c0828);
}
.stan-badge[style*="--sf-badge-bg"],
.zodiac-badge[style*="--sf-badge-bg"],
.pronouns-tag[style*="--sf-badge-bg"],
.sports-pill[style*="--sf-badge-bg"],
.supporter-badge[style*="--sf-badge-bg"],
.biz-cat[style*="--sf-badge-bg"],
.wallet-chip[style*="--sf-badge-bg"],
.circle-badge[style*="--sf-badge-bg"],
.coin-post-kind[style*="--sf-badge-bg"],
.coin-chain[style*="--sf-badge-bg"],
.wcpreds-count[style*="--sf-badge-bg"] {
  background: var(--sf-badge-bg);
}
.social-ico[style*="--sf-social-bg"] {
  background: var(--sf-social-bg);
}
.stan-badge[style*="--sf-badge-ink"],
.zodiac-badge[style*="--sf-badge-ink"],
.pronouns-tag[style*="--sf-badge-ink"],
.sports-pill[style*="--sf-badge-ink"],
.supporter-badge[style*="--sf-badge-ink"],
.biz-cat[style*="--sf-badge-ink"],
.wallet-chip[style*="--sf-badge-ink"],
.circle-badge[style*="--sf-badge-ink"] {
  color: var(--sf-badge-ink);
}
.stan-badge[style*="--sf-badge-edge"],
.zodiac-badge[style*="--sf-badge-edge"],
.pronouns-tag[style*="--sf-badge-edge"],
.sports-pill[style*="--sf-badge-edge"],
.supporter-badge[style*="--sf-badge-edge"],
.biz-cat[style*="--sf-badge-edge"],
.wallet-chip[style*="--sf-badge-edge"],
.circle-badge[style*="--sf-badge-edge"] {
  border-color: var(--sf-badge-edge);
  border-style: solid;
}
.social-ico[style*="--sf-social-ink"] {
  color: var(--sf-social-ink);
}
.stan-badge[data-badge-size="s"],
.zodiac-badge[data-badge-size="s"],
.pronouns-tag[data-badge-size="s"],
.sports-pill[data-badge-size="s"],
.supporter-badge[data-badge-size="s"],
.biz-cat[data-badge-size="s"],
.wallet-chip[data-badge-size="s"],
.circle-badge[data-badge-size="s"] {
  font-size: 11px;
  padding: 5px 10px;
}
.stan-badge[data-badge-size="m"],
.zodiac-badge[data-badge-size="m"],
.pronouns-tag[data-badge-size="m"],
.sports-pill[data-badge-size="m"],
.supporter-badge[data-badge-size="m"],
.biz-cat[data-badge-size="m"],
.wallet-chip[data-badge-size="m"],
.circle-badge[data-badge-size="m"] {
  font-size: 13px;
  padding: 7px 13px;
}
.stan-badge[data-badge-size="l"],
.zodiac-badge[data-badge-size="l"],
.pronouns-tag[data-badge-size="l"],
.sports-pill[data-badge-size="l"],
.supporter-badge[data-badge-size="l"],
.biz-cat[data-badge-size="l"],
.wallet-chip[data-badge-size="l"],
.circle-badge[data-badge-size="l"] {
  font-size: 15px;
  padding: 10px 17px;
}
.social-ico[data-social-size="s"] {
  width: 30px;
  height: 30px;
}
.social-ico[data-social-size="m"] {
  width: 40px;
  height: 40px;
}
.social-ico[data-social-size="l"] {
  width: 50px;
  height: 50px;
}
.social-ico[data-social-style="brand"] {
  background: transparent;
  border: none;
  box-shadow: none;
}
.social-ico[data-social-style="brandsoft"] {
  border: none;
  box-shadow: none;
}
.stan-badge[data-badge-font="sans"],
.zodiac-badge[data-badge-font="sans"],
.pronouns-tag[data-badge-font="sans"],
.sports-pill[data-badge-font="sans"],
.supporter-badge[data-badge-font="sans"],
.biz-cat[data-badge-font="sans"],
.wallet-chip[data-badge-font="sans"],
.circle-badge[data-badge-font="sans"] {
  font-family: var(--sf-sans);
}
.stan-badge[data-badge-font="grotesk"],
.zodiac-badge[data-badge-font="grotesk"],
.pronouns-tag[data-badge-font="grotesk"],
.sports-pill[data-badge-font="grotesk"],
.supporter-badge[data-badge-font="grotesk"],
.biz-cat[data-badge-font="grotesk"],
.wallet-chip[data-badge-font="grotesk"],
.circle-badge[data-badge-font="grotesk"] {
  font-family: var(--sf-grotesk);
}
.stan-badge[data-badge-font="serif"],
.zodiac-badge[data-badge-font="serif"],
.pronouns-tag[data-badge-font="serif"],
.sports-pill[data-badge-font="serif"],
.supporter-badge[data-badge-font="serif"],
.biz-cat[data-badge-font="serif"],
.wallet-chip[data-badge-font="serif"],
.circle-badge[data-badge-font="serif"] {
  font-family: var(--sf-serif);
}
.stan-badge[data-badge-font="elegant"],
.zodiac-badge[data-badge-font="elegant"],
.pronouns-tag[data-badge-font="elegant"],
.sports-pill[data-badge-font="elegant"],
.supporter-badge[data-badge-font="elegant"],
.biz-cat[data-badge-font="elegant"],
.wallet-chip[data-badge-font="elegant"],
.circle-badge[data-badge-font="elegant"] {
  font-family: var(--sf-elegant);
}
.stan-badge[data-badge-font="rounded"],
.zodiac-badge[data-badge-font="rounded"],
.pronouns-tag[data-badge-font="rounded"],
.sports-pill[data-badge-font="rounded"],
.supporter-badge[data-badge-font="rounded"],
.biz-cat[data-badge-font="rounded"],
.wallet-chip[data-badge-font="rounded"],
.circle-badge[data-badge-font="rounded"] {
  font-family: var(--sf-rounded);
}
.stan-badge[data-badge-font="condensed"],
.zodiac-badge[data-badge-font="condensed"],
.pronouns-tag[data-badge-font="condensed"],
.sports-pill[data-badge-font="condensed"],
.supporter-badge[data-badge-font="condensed"],
.biz-cat[data-badge-font="condensed"],
.wallet-chip[data-badge-font="condensed"],
.circle-badge[data-badge-font="condensed"] {
  font-family: var(--sf-condensed);
}
.stan-badge[data-badge-font="mono"],
.zodiac-badge[data-badge-font="mono"],
.pronouns-tag[data-badge-font="mono"],
.sports-pill[data-badge-font="mono"],
.supporter-badge[data-badge-font="mono"],
.biz-cat[data-badge-font="mono"],
.wallet-chip[data-badge-font="mono"],
.circle-badge[data-badge-font="mono"] {
  font-family: var(--sf-mono);
}
.stan-badge[data-badge-font="script"],
.zodiac-badge[data-badge-font="script"],
.pronouns-tag[data-badge-font="script"],
.sports-pill[data-badge-font="script"],
.supporter-badge[data-badge-font="script"],
.biz-cat[data-badge-font="script"],
.wallet-chip[data-badge-font="script"],
.circle-badge[data-badge-font="script"] {
  font-family: var(--sf-script);
}
.stan-badge[data-badge-weight="regular"],
.zodiac-badge[data-badge-weight="regular"],
.pronouns-tag[data-badge-weight="regular"],
.sports-pill[data-badge-weight="regular"],
.supporter-badge[data-badge-weight="regular"],
.biz-cat[data-badge-weight="regular"],
.wallet-chip[data-badge-weight="regular"],
.circle-badge[data-badge-weight="regular"] {
  font-weight: 500;
}
.stan-badge[data-badge-weight="medium"],
.zodiac-badge[data-badge-weight="medium"],
.pronouns-tag[data-badge-weight="medium"],
.sports-pill[data-badge-weight="medium"],
.supporter-badge[data-badge-weight="medium"],
.biz-cat[data-badge-weight="medium"],
.wallet-chip[data-badge-weight="medium"],
.circle-badge[data-badge-weight="medium"] {
  font-weight: 600;
}
.stan-badge[data-badge-weight="bold"],
.zodiac-badge[data-badge-weight="bold"],
.pronouns-tag[data-badge-weight="bold"],
.sports-pill[data-badge-weight="bold"],
.supporter-badge[data-badge-weight="bold"],
.biz-cat[data-badge-weight="bold"],
.wallet-chip[data-badge-weight="bold"],
.circle-badge[data-badge-weight="bold"] {
  font-weight: 700;
}
.stan-badge[data-badge-weight="black"],
.zodiac-badge[data-badge-weight="black"],
.pronouns-tag[data-badge-weight="black"],
.sports-pill[data-badge-weight="black"],
.supporter-badge[data-badge-weight="black"],
.biz-cat[data-badge-weight="black"],
.wallet-chip[data-badge-weight="black"],
.circle-badge[data-badge-weight="black"] {
  font-weight: 800;
}
.stan-badge[data-badge-case="upper"],
.zodiac-badge[data-badge-case="upper"],
.pronouns-tag[data-badge-case="upper"],
.sports-pill[data-badge-case="upper"],
.supporter-badge[data-badge-case="upper"],
.biz-cat[data-badge-case="upper"],
.wallet-chip[data-badge-case="upper"],
.circle-badge[data-badge-case="upper"] {
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stan-badge[data-badge-case="none"],
.zodiac-badge[data-badge-case="none"],
.pronouns-tag[data-badge-case="none"],
.sports-pill[data-badge-case="none"],
.supporter-badge[data-badge-case="none"],
.biz-cat[data-badge-case="none"],
.wallet-chip[data-badge-case="none"],
.circle-badge[data-badge-case="none"] {
  text-transform: none;
}
.social-ico[style*="--sf-social-edge"] {
  border-color: var(--sf-social-edge);
  border-style: solid;
}
.stan-badge[data-badge-style="cartoon"],
.zodiac-badge[data-badge-style="cartoon"],
.pronouns-tag[data-badge-style="cartoon"],
.sports-pill[data-badge-style="cartoon"],
.supporter-badge[data-badge-style="cartoon"],
.biz-cat[data-badge-style="cartoon"],
.wallet-chip[data-badge-style="cartoon"],
.circle-badge[data-badge-style="cartoon"] {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-badge-edge, #16121f));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 0 0 var(--sf-link-edge, var(--sf-badge-shadow, #16121f));
  color: var(--sf-badge-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.social-ico[data-social-style="cartoon"] {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 2.5px solid var(--sf-link-edge, #16121f);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 0 0 var(--sf-link-edge, #16121f);
  color: var(--sf-ink, #16121f);
  transform: translateY(-2px);
}
.stan-badge[data-badge-style="sticker"],
.zodiac-badge[data-badge-style="sticker"],
.pronouns-tag[data-badge-style="sticker"],
.sports-pill[data-badge-style="sticker"],
.supporter-badge[data-badge-style="sticker"],
.biz-cat[data-badge-style="sticker"],
.wallet-chip[data-badge-style="sticker"],
.circle-badge[data-badge-style="sticker"] {
  background: var(--sf-badge-bg, var(--sf-link-bg, #fff));
  border: 2.5px solid var(--sf-badge-edge, #fff);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-badge-shadow, rgba(20,12,30,.45));
  color: var(--sf-badge-ink, var(--sf-ink, #16121f));
}
.social-ico[data-social-style="sticker"] {
  background: var(--sf-social-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-social-edge, #fff);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-social-shadow, rgba(20,12,30,.45));
  color: var(--sf-ink, #16121f);
}
.stan-badge[style*="--sf-badge-ink"],
.zodiac-badge[style*="--sf-badge-ink"],
.pronouns-tag[style*="--sf-badge-ink"],
.sports-pill[style*="--sf-badge-ink"],
.supporter-badge[style*="--sf-badge-ink"],
.biz-cat[style*="--sf-badge-ink"],
.wallet-chip[style*="--sf-badge-ink"],
.circle-badge[style*="--sf-badge-ink"] {
  color: var(--sf-badge-ink);
}
.stan-badge[style*="--sf-badge-bg"],
.zodiac-badge[style*="--sf-badge-bg"],
.pronouns-tag[style*="--sf-badge-bg"],
.sports-pill[style*="--sf-badge-bg"],
.supporter-badge[style*="--sf-badge-bg"],
.biz-cat[style*="--sf-badge-bg"],
.wallet-chip[style*="--sf-badge-bg"],
.circle-badge[style*="--sf-badge-bg"] {
  background: var(--sf-badge-bg);
}


/* ── Per-bouton, self-selector form ───────────────────────────────────────
   Same generation as per-card / per-pastille / per-réseau above: every
   family-wide rule for buttons, re-emitted on the element's own attribute
   so a single button ("ce bouton seulement") can be styled on its own. */
.event-cta[data-button-style="glass"],
.house-entrance-cta[data-button-style="glass"],
.store-entrance-cta[data-button-style="glass"],
.biz-action[data-button-style="glass"],
.coin-buy[data-button-style="glass"],
.subscribe-btn[data-button-style="glass"],
.circle-btn[data-button-style="glass"],
.qbox-send[data-button-style="glass"],
.wallet-copy[data-button-style="glass"],
.prj-visit[data-button-style="glass"],
.lifts-btn[data-button-style="glass"],
.msg-btn[data-button-style="glass"],
.wcpreds-btn[data-button-style="glass"],
.coin-post-share[data-button-style="glass"],
.circle-csend[data-button-style="glass"],
.prj-comment-send[data-button-style="glass"],
.wallet-send-go[data-button-style="glass"],
.wallet-picker-btn[data-button-style="glass"],
.circle-more[data-button-style="glass"],
.coin-post-link[data-button-style="glass"] {
  background: var(--sf-button-bg, rgba(255,255,255,.2));
  border: .5px solid var(--sf-button-edge, rgba(255,255,255,.42));
  box-shadow: inset 0 1px 0 var(--sf-button-shadow, rgba(255,255,255,.45));
}
.event-cta[data-button-style="solid"],
.house-entrance-cta[data-button-style="solid"],
.store-entrance-cta[data-button-style="solid"],
.biz-action[data-button-style="solid"],
.coin-buy[data-button-style="solid"],
.subscribe-btn[data-button-style="solid"],
.circle-btn[data-button-style="solid"],
.qbox-send[data-button-style="solid"],
.wallet-copy[data-button-style="solid"],
.prj-visit[data-button-style="solid"],
.lifts-btn[data-button-style="solid"],
.msg-btn[data-button-style="solid"],
.wcpreds-btn[data-button-style="solid"],
.coin-post-share[data-button-style="solid"],
.circle-csend[data-button-style="solid"],
.prj-comment-send[data-button-style="solid"],
.wallet-send-go[data-button-style="solid"],
.wallet-picker-btn[data-button-style="solid"],
.circle-more[data-button-style="solid"],
.coin-post-link[data-button-style="solid"] {
  background: var(--sf-button-bg, var(--sf-accent, rgba(255,255,255,.92)));
  border: none;
  box-shadow: none;
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.event-cta[data-button-style="outline"],
.house-entrance-cta[data-button-style="outline"],
.store-entrance-cta[data-button-style="outline"],
.biz-action[data-button-style="outline"],
.coin-buy[data-button-style="outline"],
.subscribe-btn[data-button-style="outline"],
.circle-btn[data-button-style="outline"],
.qbox-send[data-button-style="outline"],
.wallet-copy[data-button-style="outline"],
.prj-visit[data-button-style="outline"],
.lifts-btn[data-button-style="outline"],
.msg-btn[data-button-style="outline"],
.wcpreds-btn[data-button-style="outline"],
.coin-post-share[data-button-style="outline"],
.circle-csend[data-button-style="outline"],
.prj-comment-send[data-button-style="outline"],
.wallet-send-go[data-button-style="outline"],
.wallet-picker-btn[data-button-style="outline"],
.circle-more[data-button-style="outline"],
.coin-post-link[data-button-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-button-edge, currentColor);
  box-shadow: none;
}
.event-cta[data-button-style="soft"],
.house-entrance-cta[data-button-style="soft"],
.store-entrance-cta[data-button-style="soft"],
.biz-action[data-button-style="soft"],
.coin-buy[data-button-style="soft"],
.subscribe-btn[data-button-style="soft"],
.circle-btn[data-button-style="soft"],
.qbox-send[data-button-style="soft"],
.wallet-copy[data-button-style="soft"],
.prj-visit[data-button-style="soft"],
.lifts-btn[data-button-style="soft"],
.msg-btn[data-button-style="soft"],
.wcpreds-btn[data-button-style="soft"],
.coin-post-share[data-button-style="soft"],
.circle-csend[data-button-style="soft"],
.prj-comment-send[data-button-style="soft"],
.wallet-send-go[data-button-style="soft"],
.wallet-picker-btn[data-button-style="soft"],
.circle-more[data-button-style="soft"],
.coin-post-link[data-button-style="soft"] {
  background: var(--sf-button-bg, rgba(255,255,255,.3));
  border: none;
  box-shadow: 0 8px 18px -12px var(--sf-button-shadow, rgba(28,8,40,.55));
}
.event-cta[data-button-style="elevated"],
.house-entrance-cta[data-button-style="elevated"],
.store-entrance-cta[data-button-style="elevated"],
.biz-action[data-button-style="elevated"],
.coin-buy[data-button-style="elevated"],
.subscribe-btn[data-button-style="elevated"],
.circle-btn[data-button-style="elevated"],
.qbox-send[data-button-style="elevated"],
.wallet-copy[data-button-style="elevated"],
.prj-visit[data-button-style="elevated"],
.lifts-btn[data-button-style="elevated"],
.msg-btn[data-button-style="elevated"],
.wcpreds-btn[data-button-style="elevated"],
.coin-post-share[data-button-style="elevated"],
.circle-csend[data-button-style="elevated"],
.prj-comment-send[data-button-style="elevated"],
.wallet-send-go[data-button-style="elevated"],
.wallet-picker-btn[data-button-style="elevated"],
.circle-more[data-button-style="elevated"],
.coin-post-link[data-button-style="elevated"] {
  background: var(--sf-button-bg, var(--sf-card-bg, rgba(255,255,255,.94)));
  border: none;
  box-shadow: 0 12px 24px -14px var(--sf-button-shadow, rgba(28,8,40,.6));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.event-cta[data-button-style="brutal"],
.house-entrance-cta[data-button-style="brutal"],
.store-entrance-cta[data-button-style="brutal"],
.biz-action[data-button-style="brutal"],
.coin-buy[data-button-style="brutal"],
.subscribe-btn[data-button-style="brutal"],
.circle-btn[data-button-style="brutal"],
.qbox-send[data-button-style="brutal"],
.wallet-copy[data-button-style="brutal"],
.prj-visit[data-button-style="brutal"],
.lifts-btn[data-button-style="brutal"],
.msg-btn[data-button-style="brutal"],
.wcpreds-btn[data-button-style="brutal"],
.coin-post-share[data-button-style="brutal"],
.circle-csend[data-button-style="brutal"],
.prj-comment-send[data-button-style="brutal"],
.wallet-send-go[data-button-style="brutal"],
.wallet-picker-btn[data-button-style="brutal"],
.circle-more[data-button-style="brutal"],
.coin-post-link[data-button-style="brutal"] {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-button-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #1c0828));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.event-cta[data-button-radius="sharp"],
.house-entrance-cta[data-button-radius="sharp"],
.store-entrance-cta[data-button-radius="sharp"],
.biz-action[data-button-radius="sharp"],
.coin-buy[data-button-radius="sharp"],
.subscribe-btn[data-button-radius="sharp"],
.circle-btn[data-button-radius="sharp"],
.qbox-send[data-button-radius="sharp"],
.wallet-copy[data-button-radius="sharp"],
.prj-visit[data-button-radius="sharp"],
.lifts-btn[data-button-radius="sharp"],
.msg-btn[data-button-radius="sharp"],
.wcpreds-btn[data-button-radius="sharp"],
.coin-post-share[data-button-radius="sharp"],
.circle-csend[data-button-radius="sharp"],
.prj-comment-send[data-button-radius="sharp"],
.wallet-send-go[data-button-radius="sharp"],
.wallet-picker-btn[data-button-radius="sharp"],
.circle-more[data-button-radius="sharp"],
.coin-post-link[data-button-radius="sharp"] {
  border-radius: 0;
}
.event-cta[data-button-radius="soft"],
.house-entrance-cta[data-button-radius="soft"],
.store-entrance-cta[data-button-radius="soft"],
.biz-action[data-button-radius="soft"],
.coin-buy[data-button-radius="soft"],
.subscribe-btn[data-button-radius="soft"],
.circle-btn[data-button-radius="soft"],
.qbox-send[data-button-radius="soft"],
.wallet-copy[data-button-radius="soft"],
.prj-visit[data-button-radius="soft"],
.lifts-btn[data-button-radius="soft"],
.msg-btn[data-button-radius="soft"],
.wcpreds-btn[data-button-radius="soft"],
.coin-post-share[data-button-radius="soft"],
.circle-csend[data-button-radius="soft"],
.prj-comment-send[data-button-radius="soft"],
.wallet-send-go[data-button-radius="soft"],
.wallet-picker-btn[data-button-radius="soft"],
.circle-more[data-button-radius="soft"],
.coin-post-link[data-button-radius="soft"] {
  border-radius: 8px;
}
.event-cta[data-button-radius="rounded"],
.house-entrance-cta[data-button-radius="rounded"],
.store-entrance-cta[data-button-radius="rounded"],
.biz-action[data-button-radius="rounded"],
.coin-buy[data-button-radius="rounded"],
.subscribe-btn[data-button-radius="rounded"],
.circle-btn[data-button-radius="rounded"],
.qbox-send[data-button-radius="rounded"],
.wallet-copy[data-button-radius="rounded"],
.prj-visit[data-button-radius="rounded"],
.lifts-btn[data-button-radius="rounded"],
.msg-btn[data-button-radius="rounded"],
.wcpreds-btn[data-button-radius="rounded"],
.coin-post-share[data-button-radius="rounded"],
.circle-csend[data-button-radius="rounded"],
.prj-comment-send[data-button-radius="rounded"],
.wallet-send-go[data-button-radius="rounded"],
.wallet-picker-btn[data-button-radius="rounded"],
.circle-more[data-button-radius="rounded"],
.coin-post-link[data-button-radius="rounded"] {
  border-radius: 14px;
}
.event-cta[data-button-radius="pill"],
.house-entrance-cta[data-button-radius="pill"],
.store-entrance-cta[data-button-radius="pill"],
.biz-action[data-button-radius="pill"],
.coin-buy[data-button-radius="pill"],
.subscribe-btn[data-button-radius="pill"],
.circle-btn[data-button-radius="pill"],
.qbox-send[data-button-radius="pill"],
.wallet-copy[data-button-radius="pill"],
.prj-visit[data-button-radius="pill"],
.lifts-btn[data-button-radius="pill"],
.msg-btn[data-button-radius="pill"],
.wcpreds-btn[data-button-radius="pill"],
.coin-post-share[data-button-radius="pill"],
.circle-csend[data-button-radius="pill"],
.prj-comment-send[data-button-radius="pill"],
.wallet-send-go[data-button-radius="pill"],
.wallet-picker-btn[data-button-radius="pill"],
.circle-more[data-button-radius="pill"],
.coin-post-link[data-button-radius="pill"] {
  border-radius: 999px;
}
.event-cta[data-button-style="tint"],
.house-entrance-cta[data-button-style="tint"],
.store-entrance-cta[data-button-style="tint"],
.biz-action[data-button-style="tint"],
.coin-buy[data-button-style="tint"],
.subscribe-btn[data-button-style="tint"],
.circle-btn[data-button-style="tint"],
.qbox-send[data-button-style="tint"],
.wallet-copy[data-button-style="tint"],
.prj-visit[data-button-style="tint"],
.lifts-btn[data-button-style="tint"],
.msg-btn[data-button-style="tint"],
.wcpreds-btn[data-button-style="tint"],
.coin-post-share[data-button-style="tint"],
.circle-csend[data-button-style="tint"],
.prj-comment-send[data-button-style="tint"],
.wallet-send-go[data-button-style="tint"],
.wallet-picker-btn[data-button-style="tint"],
.circle-more[data-button-style="tint"],
.coin-post-link[data-button-style="tint"] {
  background: var(--sf-button-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-button-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.event-cta[data-button-style="dashed"],
.house-entrance-cta[data-button-style="dashed"],
.store-entrance-cta[data-button-style="dashed"],
.biz-action[data-button-style="dashed"],
.coin-buy[data-button-style="dashed"],
.subscribe-btn[data-button-style="dashed"],
.circle-btn[data-button-style="dashed"],
.qbox-send[data-button-style="dashed"],
.wallet-copy[data-button-style="dashed"],
.prj-visit[data-button-style="dashed"],
.lifts-btn[data-button-style="dashed"],
.msg-btn[data-button-style="dashed"],
.wcpreds-btn[data-button-style="dashed"],
.coin-post-share[data-button-style="dashed"],
.circle-csend[data-button-style="dashed"],
.prj-comment-send[data-button-style="dashed"],
.wallet-send-go[data-button-style="dashed"],
.wallet-picker-btn[data-button-style="dashed"],
.circle-more[data-button-style="dashed"],
.coin-post-link[data-button-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-button-edge, currentColor));
  box-shadow: none;
}
.event-cta[data-button-style="glow"],
.house-entrance-cta[data-button-style="glow"],
.store-entrance-cta[data-button-style="glow"],
.biz-action[data-button-style="glow"],
.coin-buy[data-button-style="glow"],
.subscribe-btn[data-button-style="glow"],
.circle-btn[data-button-style="glow"],
.qbox-send[data-button-style="glow"],
.wallet-copy[data-button-style="glow"],
.prj-visit[data-button-style="glow"],
.lifts-btn[data-button-style="glow"],
.msg-btn[data-button-style="glow"],
.wcpreds-btn[data-button-style="glow"],
.coin-post-share[data-button-style="glow"],
.circle-csend[data-button-style="glow"],
.prj-comment-send[data-button-style="glow"],
.wallet-send-go[data-button-style="glow"],
.wallet-picker-btn[data-button-style="glow"],
.circle-more[data-button-style="glow"],
.coin-post-link[data-button-style="glow"] {
  background: var(--sf-button-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-button-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 60%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-button-shadow, #FF3D7F))) 18%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-button-shadow, #FF3D7F))) 65%, transparent);
}
.event-cta[data-button-style="brutal"],
.house-entrance-cta[data-button-style="brutal"],
.store-entrance-cta[data-button-style="brutal"],
.biz-action[data-button-style="brutal"],
.coin-buy[data-button-style="brutal"],
.subscribe-btn[data-button-style="brutal"],
.circle-btn[data-button-style="brutal"],
.qbox-send[data-button-style="brutal"],
.wallet-copy[data-button-style="brutal"],
.prj-visit[data-button-style="brutal"],
.lifts-btn[data-button-style="brutal"],
.msg-btn[data-button-style="brutal"],
.wcpreds-btn[data-button-style="brutal"],
.coin-post-share[data-button-style="brutal"],
.circle-csend[data-button-style="brutal"],
.prj-comment-send[data-button-style="brutal"],
.wallet-send-go[data-button-style="brutal"],
.wallet-picker-btn[data-button-style="brutal"],
.circle-more[data-button-style="brutal"],
.coin-post-link[data-button-style="brutal"] {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-button-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #1c0828));
  color: var(--sf-button-ink, var(--sf-ink, #1c0828));
}
.event-cta[style*="--sf-button-bg"],
.house-entrance-cta[style*="--sf-button-bg"],
.store-entrance-cta[style*="--sf-button-bg"],
.biz-action[style*="--sf-button-bg"],
.coin-buy[style*="--sf-button-bg"],
.subscribe-btn[style*="--sf-button-bg"],
.circle-btn[style*="--sf-button-bg"],
.qbox-send[style*="--sf-button-bg"],
.wallet-copy[style*="--sf-button-bg"],
.prj-visit[style*="--sf-button-bg"],
.lifts-btn[style*="--sf-button-bg"],
.msg-btn[style*="--sf-button-bg"],
.wcpreds-btn[style*="--sf-button-bg"],
.coin-post-share[style*="--sf-button-bg"],
.circle-csend[style*="--sf-button-bg"],
.prj-comment-send[style*="--sf-button-bg"],
.wallet-send-go[style*="--sf-button-bg"],
.wallet-picker-btn[style*="--sf-button-bg"],
.circle-more[style*="--sf-button-bg"],
.coin-post-link[style*="--sf-button-bg"] {
  background: var(--sf-button-bg);
}
.event-cta[style*="--sf-button-ink"],
.house-entrance-cta[style*="--sf-button-ink"],
.store-entrance-cta[style*="--sf-button-ink"],
.biz-action[style*="--sf-button-ink"],
.coin-buy[style*="--sf-button-ink"],
.subscribe-btn[style*="--sf-button-ink"],
.circle-btn[style*="--sf-button-ink"],
.qbox-send[style*="--sf-button-ink"],
.wallet-copy[style*="--sf-button-ink"],
.prj-visit[style*="--sf-button-ink"],
.lifts-btn[style*="--sf-button-ink"],
.msg-btn[style*="--sf-button-ink"],
.wcpreds-btn[style*="--sf-button-ink"],
.coin-post-share[style*="--sf-button-ink"] {
  color: var(--sf-button-ink);
}
.event-cta[style*="--sf-button-edge"],
.house-entrance-cta[style*="--sf-button-edge"],
.store-entrance-cta[style*="--sf-button-edge"],
.biz-action[style*="--sf-button-edge"],
.coin-buy[style*="--sf-button-edge"],
.subscribe-btn[style*="--sf-button-edge"],
.circle-btn[style*="--sf-button-edge"],
.qbox-send[style*="--sf-button-edge"],
.wallet-copy[style*="--sf-button-edge"],
.prj-visit[style*="--sf-button-edge"],
.lifts-btn[style*="--sf-button-edge"],
.msg-btn[style*="--sf-button-edge"],
.wcpreds-btn[style*="--sf-button-edge"],
.coin-post-share[style*="--sf-button-edge"] {
  border-color: var(--sf-button-edge);
  border-style: solid;
}
.event-cta[data-button-size="s"],
.house-entrance-cta[data-button-size="s"],
.store-entrance-cta[data-button-size="s"],
.biz-action[data-button-size="s"],
.coin-buy[data-button-size="s"],
.subscribe-btn[data-button-size="s"],
.circle-btn[data-button-size="s"],
.qbox-send[data-button-size="s"],
.wallet-copy[data-button-size="s"],
.prj-visit[data-button-size="s"],
.lifts-btn[data-button-size="s"],
.msg-btn[data-button-size="s"],
.wcpreds-btn[data-button-size="s"] {
  font-size: 12.5px;
  padding: 8px 14px;
}
.event-cta[data-button-size="m"],
.house-entrance-cta[data-button-size="m"],
.store-entrance-cta[data-button-size="m"],
.biz-action[data-button-size="m"],
.coin-buy[data-button-size="m"],
.subscribe-btn[data-button-size="m"],
.circle-btn[data-button-size="m"],
.qbox-send[data-button-size="m"],
.wallet-copy[data-button-size="m"],
.prj-visit[data-button-size="m"],
.lifts-btn[data-button-size="m"],
.msg-btn[data-button-size="m"],
.wcpreds-btn[data-button-size="m"] {
  font-size: 14px;
  padding: 12px 18px;
}
.event-cta[data-button-size="l"],
.house-entrance-cta[data-button-size="l"],
.store-entrance-cta[data-button-size="l"],
.biz-action[data-button-size="l"],
.coin-buy[data-button-size="l"],
.subscribe-btn[data-button-size="l"],
.circle-btn[data-button-size="l"],
.qbox-send[data-button-size="l"],
.wallet-copy[data-button-size="l"],
.prj-visit[data-button-size="l"],
.lifts-btn[data-button-size="l"],
.msg-btn[data-button-size="l"],
.wcpreds-btn[data-button-size="l"] {
  font-size: 16px;
  padding: 16px 24px;
}
.event-cta[data-button-width="full"],
.house-entrance-cta[data-button-width="full"],
.store-entrance-cta[data-button-width="full"],
.biz-action[data-button-width="full"],
.coin-buy[data-button-width="full"],
.subscribe-btn[data-button-width="full"],
.circle-btn[data-button-width="full"],
.qbox-send[data-button-width="full"],
.wallet-copy[data-button-width="full"],
.prj-visit[data-button-width="full"],
.lifts-btn[data-button-width="full"],
.msg-btn[data-button-width="full"],
.wcpreds-btn[data-button-width="full"] {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.event-cta[data-button-width="hug"],
.house-entrance-cta[data-button-width="hug"],
.store-entrance-cta[data-button-width="hug"],
.biz-action[data-button-width="hug"],
.coin-buy[data-button-width="hug"],
.subscribe-btn[data-button-width="hug"],
.circle-btn[data-button-width="hug"],
.qbox-send[data-button-width="hug"],
.wallet-copy[data-button-width="hug"],
.prj-visit[data-button-width="hug"],
.lifts-btn[data-button-width="hug"],
.msg-btn[data-button-width="hug"],
.wcpreds-btn[data-button-width="hug"] {
  width: auto;
}
.event-cta[data-button-font="sans"],
.house-entrance-cta[data-button-font="sans"],
.store-entrance-cta[data-button-font="sans"],
.biz-action[data-button-font="sans"],
.coin-buy[data-button-font="sans"],
.subscribe-btn[data-button-font="sans"],
.circle-btn[data-button-font="sans"],
.qbox-send[data-button-font="sans"],
.wallet-copy[data-button-font="sans"],
.prj-visit[data-button-font="sans"],
.lifts-btn[data-button-font="sans"],
.msg-btn[data-button-font="sans"],
.wcpreds-btn[data-button-font="sans"] {
  font-family: var(--sf-sans);
}
.event-cta[data-button-font="grotesk"],
.house-entrance-cta[data-button-font="grotesk"],
.store-entrance-cta[data-button-font="grotesk"],
.biz-action[data-button-font="grotesk"],
.coin-buy[data-button-font="grotesk"],
.subscribe-btn[data-button-font="grotesk"],
.circle-btn[data-button-font="grotesk"],
.qbox-send[data-button-font="grotesk"],
.wallet-copy[data-button-font="grotesk"],
.prj-visit[data-button-font="grotesk"],
.lifts-btn[data-button-font="grotesk"],
.msg-btn[data-button-font="grotesk"],
.wcpreds-btn[data-button-font="grotesk"] {
  font-family: var(--sf-grotesk);
}
.event-cta[data-button-font="serif"],
.house-entrance-cta[data-button-font="serif"],
.store-entrance-cta[data-button-font="serif"],
.biz-action[data-button-font="serif"],
.coin-buy[data-button-font="serif"],
.subscribe-btn[data-button-font="serif"],
.circle-btn[data-button-font="serif"],
.qbox-send[data-button-font="serif"],
.wallet-copy[data-button-font="serif"],
.prj-visit[data-button-font="serif"],
.lifts-btn[data-button-font="serif"],
.msg-btn[data-button-font="serif"],
.wcpreds-btn[data-button-font="serif"] {
  font-family: var(--sf-serif);
}
.event-cta[data-button-font="elegant"],
.house-entrance-cta[data-button-font="elegant"],
.store-entrance-cta[data-button-font="elegant"],
.biz-action[data-button-font="elegant"],
.coin-buy[data-button-font="elegant"],
.subscribe-btn[data-button-font="elegant"],
.circle-btn[data-button-font="elegant"],
.qbox-send[data-button-font="elegant"],
.wallet-copy[data-button-font="elegant"],
.prj-visit[data-button-font="elegant"],
.lifts-btn[data-button-font="elegant"],
.msg-btn[data-button-font="elegant"],
.wcpreds-btn[data-button-font="elegant"] {
  font-family: var(--sf-elegant);
}
.event-cta[data-button-font="rounded"],
.house-entrance-cta[data-button-font="rounded"],
.store-entrance-cta[data-button-font="rounded"],
.biz-action[data-button-font="rounded"],
.coin-buy[data-button-font="rounded"],
.subscribe-btn[data-button-font="rounded"],
.circle-btn[data-button-font="rounded"],
.qbox-send[data-button-font="rounded"],
.wallet-copy[data-button-font="rounded"],
.prj-visit[data-button-font="rounded"],
.lifts-btn[data-button-font="rounded"],
.msg-btn[data-button-font="rounded"],
.wcpreds-btn[data-button-font="rounded"] {
  font-family: var(--sf-rounded);
}
.event-cta[data-button-font="condensed"],
.house-entrance-cta[data-button-font="condensed"],
.store-entrance-cta[data-button-font="condensed"],
.biz-action[data-button-font="condensed"],
.coin-buy[data-button-font="condensed"],
.subscribe-btn[data-button-font="condensed"],
.circle-btn[data-button-font="condensed"],
.qbox-send[data-button-font="condensed"],
.wallet-copy[data-button-font="condensed"],
.prj-visit[data-button-font="condensed"],
.lifts-btn[data-button-font="condensed"],
.msg-btn[data-button-font="condensed"],
.wcpreds-btn[data-button-font="condensed"] {
  font-family: var(--sf-condensed);
}
.event-cta[data-button-font="mono"],
.house-entrance-cta[data-button-font="mono"],
.store-entrance-cta[data-button-font="mono"],
.biz-action[data-button-font="mono"],
.coin-buy[data-button-font="mono"],
.subscribe-btn[data-button-font="mono"],
.circle-btn[data-button-font="mono"],
.qbox-send[data-button-font="mono"],
.wallet-copy[data-button-font="mono"],
.prj-visit[data-button-font="mono"],
.lifts-btn[data-button-font="mono"],
.msg-btn[data-button-font="mono"],
.wcpreds-btn[data-button-font="mono"] {
  font-family: var(--sf-mono);
}
.event-cta[data-button-font="script"],
.house-entrance-cta[data-button-font="script"],
.store-entrance-cta[data-button-font="script"],
.biz-action[data-button-font="script"],
.coin-buy[data-button-font="script"],
.subscribe-btn[data-button-font="script"],
.circle-btn[data-button-font="script"],
.qbox-send[data-button-font="script"],
.wallet-copy[data-button-font="script"],
.prj-visit[data-button-font="script"],
.lifts-btn[data-button-font="script"],
.msg-btn[data-button-font="script"],
.wcpreds-btn[data-button-font="script"] {
  font-family: var(--sf-script);
}
.event-cta[data-button-weight="regular"],
.house-entrance-cta[data-button-weight="regular"],
.store-entrance-cta[data-button-weight="regular"],
.biz-action[data-button-weight="regular"],
.coin-buy[data-button-weight="regular"],
.subscribe-btn[data-button-weight="regular"],
.circle-btn[data-button-weight="regular"],
.qbox-send[data-button-weight="regular"],
.wallet-copy[data-button-weight="regular"],
.prj-visit[data-button-weight="regular"],
.lifts-btn[data-button-weight="regular"],
.msg-btn[data-button-weight="regular"],
.wcpreds-btn[data-button-weight="regular"] {
  font-weight: 500;
}
.event-cta[data-button-weight="medium"],
.house-entrance-cta[data-button-weight="medium"],
.store-entrance-cta[data-button-weight="medium"],
.biz-action[data-button-weight="medium"],
.coin-buy[data-button-weight="medium"],
.subscribe-btn[data-button-weight="medium"],
.circle-btn[data-button-weight="medium"],
.qbox-send[data-button-weight="medium"],
.wallet-copy[data-button-weight="medium"],
.prj-visit[data-button-weight="medium"],
.lifts-btn[data-button-weight="medium"],
.msg-btn[data-button-weight="medium"],
.wcpreds-btn[data-button-weight="medium"] {
  font-weight: 600;
}
.event-cta[data-button-weight="bold"],
.house-entrance-cta[data-button-weight="bold"],
.store-entrance-cta[data-button-weight="bold"],
.biz-action[data-button-weight="bold"],
.coin-buy[data-button-weight="bold"],
.subscribe-btn[data-button-weight="bold"],
.circle-btn[data-button-weight="bold"],
.qbox-send[data-button-weight="bold"],
.wallet-copy[data-button-weight="bold"],
.prj-visit[data-button-weight="bold"],
.lifts-btn[data-button-weight="bold"],
.msg-btn[data-button-weight="bold"],
.wcpreds-btn[data-button-weight="bold"] {
  font-weight: 700;
}
.event-cta[data-button-weight="black"],
.house-entrance-cta[data-button-weight="black"],
.store-entrance-cta[data-button-weight="black"],
.biz-action[data-button-weight="black"],
.coin-buy[data-button-weight="black"],
.subscribe-btn[data-button-weight="black"],
.circle-btn[data-button-weight="black"],
.qbox-send[data-button-weight="black"],
.wallet-copy[data-button-weight="black"],
.prj-visit[data-button-weight="black"],
.lifts-btn[data-button-weight="black"],
.msg-btn[data-button-weight="black"],
.wcpreds-btn[data-button-weight="black"] {
  font-weight: 800;
}
.event-cta[data-button-case="upper"],
.house-entrance-cta[data-button-case="upper"],
.store-entrance-cta[data-button-case="upper"],
.biz-action[data-button-case="upper"],
.coin-buy[data-button-case="upper"],
.subscribe-btn[data-button-case="upper"],
.circle-btn[data-button-case="upper"],
.qbox-send[data-button-case="upper"],
.wallet-copy[data-button-case="upper"],
.prj-visit[data-button-case="upper"],
.lifts-btn[data-button-case="upper"],
.msg-btn[data-button-case="upper"],
.wcpreds-btn[data-button-case="upper"] {
  text-transform: uppercase;
  letter-spacing: .04em;
}
.event-cta[data-button-case="none"],
.house-entrance-cta[data-button-case="none"],
.store-entrance-cta[data-button-case="none"],
.biz-action[data-button-case="none"],
.coin-buy[data-button-case="none"],
.subscribe-btn[data-button-case="none"],
.circle-btn[data-button-case="none"],
.qbox-send[data-button-case="none"],
.wallet-copy[data-button-case="none"],
.prj-visit[data-button-case="none"],
.lifts-btn[data-button-case="none"],
.msg-btn[data-button-case="none"],
.wcpreds-btn[data-button-case="none"] {
  text-transform: none;
}
.event-cta[data-button-style="cartoon"],
.house-entrance-cta[data-button-style="cartoon"],
.store-entrance-cta[data-button-style="cartoon"],
.biz-action[data-button-style="cartoon"],
.coin-buy[data-button-style="cartoon"],
.subscribe-btn[data-button-style="cartoon"],
.circle-btn[data-button-style="cartoon"],
.qbox-send[data-button-style="cartoon"],
.wallet-copy[data-button-style="cartoon"],
.prj-visit[data-button-style="cartoon"],
.lifts-btn[data-button-style="cartoon"],
.msg-btn[data-button-style="cartoon"],
.wcpreds-btn[data-button-style="cartoon"] {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-button-edge, #16121f));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-button-shadow, #16121f));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}
.event-cta[data-button-style="sticker"],
.house-entrance-cta[data-button-style="sticker"],
.store-entrance-cta[data-button-style="sticker"],
.biz-action[data-button-style="sticker"],
.coin-buy[data-button-style="sticker"],
.subscribe-btn[data-button-style="sticker"],
.circle-btn[data-button-style="sticker"],
.qbox-send[data-button-style="sticker"],
.wallet-copy[data-button-style="sticker"],
.prj-visit[data-button-style="sticker"],
.lifts-btn[data-button-style="sticker"],
.msg-btn[data-button-style="sticker"],
.wcpreds-btn[data-button-style="sticker"] {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-button-edge, #fff);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-button-shadow, rgba(20,12,30,.45));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
}
.event-cta[data-button-style="emboss"],
.house-entrance-cta[data-button-style="emboss"],
.store-entrance-cta[data-button-style="emboss"],
.biz-action[data-button-style="emboss"],
.coin-buy[data-button-style="emboss"],
.subscribe-btn[data-button-style="emboss"],
.circle-btn[data-button-style="emboss"],
.qbox-send[data-button-style="emboss"],
.wallet-copy[data-button-style="emboss"],
.prj-visit[data-button-style="emboss"],
.lifts-btn[data-button-style="emboss"],
.msg-btn[data-button-style="emboss"],
.wcpreds-btn[data-button-style="emboss"] {
  background: var(--sf-button-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-button-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-button-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-button-shadow, rgba(20,12,30,.35));
  color: var(--sf-button-ink, var(--sf-ink, #16121f));
}
.event-cta[style*="--sf-button-shadow"][data-button-style="cartoon"],
.house-entrance-cta[style*="--sf-button-shadow"][data-button-style="cartoon"],
.store-entrance-cta[style*="--sf-button-shadow"][data-button-style="cartoon"],
.biz-action[style*="--sf-button-shadow"][data-button-style="cartoon"],
.coin-buy[style*="--sf-button-shadow"][data-button-style="cartoon"],
.subscribe-btn[style*="--sf-button-shadow"][data-button-style="cartoon"],
.circle-btn[style*="--sf-button-shadow"][data-button-style="cartoon"],
.qbox-send[style*="--sf-button-shadow"][data-button-style="cartoon"],
.wallet-copy[style*="--sf-button-shadow"][data-button-style="cartoon"],
.prj-visit[style*="--sf-button-shadow"][data-button-style="cartoon"],
.lifts-btn[style*="--sf-button-shadow"][data-button-style="cartoon"],
.msg-btn[style*="--sf-button-shadow"][data-button-style="cartoon"],
.wcpreds-btn[style*="--sf-button-shadow"][data-button-style="cartoon"] {
  box-shadow: 0 5px 0 0 var(--sf-button-shadow);
}
.event-cta[style*="--sf-button-shadow"][data-button-style="brutal"],
.house-entrance-cta[style*="--sf-button-shadow"][data-button-style="brutal"],
.store-entrance-cta[style*="--sf-button-shadow"][data-button-style="brutal"],
.biz-action[style*="--sf-button-shadow"][data-button-style="brutal"],
.coin-buy[style*="--sf-button-shadow"][data-button-style="brutal"],
.subscribe-btn[style*="--sf-button-shadow"][data-button-style="brutal"],
.circle-btn[style*="--sf-button-shadow"][data-button-style="brutal"],
.qbox-send[style*="--sf-button-shadow"][data-button-style="brutal"],
.wallet-copy[style*="--sf-button-shadow"][data-button-style="brutal"],
.prj-visit[style*="--sf-button-shadow"][data-button-style="brutal"],
.lifts-btn[style*="--sf-button-shadow"][data-button-style="brutal"],
.msg-btn[style*="--sf-button-shadow"][data-button-style="brutal"],
.wcpreds-btn[style*="--sf-button-shadow"][data-button-style="brutal"] {
  box-shadow: 3px 3px 0 0 var(--sf-button-shadow);
}
.event-cta[style*="--sf-button-ink"],
.house-entrance-cta[style*="--sf-button-ink"],
.store-entrance-cta[style*="--sf-button-ink"],
.biz-action[style*="--sf-button-ink"],
.coin-buy[style*="--sf-button-ink"],
.subscribe-btn[style*="--sf-button-ink"],
.circle-btn[style*="--sf-button-ink"],
.qbox-send[style*="--sf-button-ink"],
.wallet-copy[style*="--sf-button-ink"],
.prj-visit[style*="--sf-button-ink"],
.lifts-btn[style*="--sf-button-ink"],
.msg-btn[style*="--sf-button-ink"] {
  color: var(--sf-button-ink);
}
.event-cta[style*="--sf-button-bg"],
.house-entrance-cta[style*="--sf-button-bg"],
.store-entrance-cta[style*="--sf-button-bg"],
.biz-action[style*="--sf-button-bg"],
.coin-buy[style*="--sf-button-bg"],
.subscribe-btn[style*="--sf-button-bg"],
.circle-btn[style*="--sf-button-bg"],
.qbox-send[style*="--sf-button-bg"],
.wallet-copy[style*="--sf-button-bg"],
.prj-visit[style*="--sf-button-bg"],
.lifts-btn[style*="--sf-button-bg"],
.msg-btn[style*="--sf-button-bg"] {
  background: var(--sf-button-bg);
}


/* ── Per-champ, self-selector form ────────────────────────────────────────
   Same generation as per-card / per-pastille / per-réseau / per-bouton
   above: every family-wide rule for input fields (and the poll answers,
   which joined this family so they get the same full style), re-emitted
   on the element's own attribute. */
.subscribe-input[data-field-style="glass"],
.circle-input[data-field-style="glass"],
.circle-cinput[data-field-style="glass"],
.wallet-amount[data-field-style="glass"],
.prj-comment-input[data-field-style="glass"],
.qbox-body[data-field-style="glass"],
.qbox-name[data-field-style="glass"],
.poll-opt[data-field-style="glass"],
.poll-result[data-field-style="glass"] {
  background: var(--sf-field-bg, rgba(255,255,255,.86));
  border: .5px solid var(--sf-field-edge, rgba(255,255,255,.6));
}
.subscribe-input[data-field-style="solid"],
.circle-input[data-field-style="solid"],
.circle-cinput[data-field-style="solid"],
.wallet-amount[data-field-style="solid"],
.prj-comment-input[data-field-style="solid"],
.qbox-body[data-field-style="solid"],
.qbox-name[data-field-style="solid"],
.poll-opt[data-field-style="solid"],
.poll-result[data-field-style="solid"] {
  background: var(--sf-field-bg, #fff);
  border: none;
}
.subscribe-input[data-field-style="outline"],
.circle-input[data-field-style="outline"],
.circle-cinput[data-field-style="outline"],
.wallet-amount[data-field-style="outline"],
.prj-comment-input[data-field-style="outline"],
.qbox-body[data-field-style="outline"],
.qbox-name[data-field-style="outline"],
.poll-opt[data-field-style="outline"],
.poll-result[data-field-style="outline"] {
  background: transparent;
  border: 1.4px solid var(--sf-link-edge, var(--sf-field-edge, rgba(255,255,255,.6)));
  color: var(--sf-field-ink, var(--ink-on));
}
.subscribe-input[data-field-style="soft"],
.circle-input[data-field-style="soft"],
.circle-cinput[data-field-style="soft"],
.wallet-amount[data-field-style="soft"],
.prj-comment-input[data-field-style="soft"],
.qbox-body[data-field-style="soft"],
.qbox-name[data-field-style="soft"],
.poll-opt[data-field-style="soft"],
.poll-result[data-field-style="soft"] {
  background: var(--sf-field-bg, rgba(255,255,255,.92));
  border: none;
  box-shadow: inset 0 1px 3px var(--sf-field-shadow, rgba(28,8,40,.12));
}
.subscribe-input[data-field-style="tint"],
.circle-input[data-field-style="tint"],
.circle-cinput[data-field-style="tint"],
.wallet-amount[data-field-style="tint"],
.prj-comment-input[data-field-style="tint"],
.qbox-body[data-field-style="tint"],
.qbox-name[data-field-style="tint"],
.poll-opt[data-field-style="tint"],
.poll-result[data-field-style="tint"] {
  background: var(--sf-field-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-field-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  box-shadow: none;
}
.subscribe-input[data-field-style="dashed"],
.circle-input[data-field-style="dashed"],
.circle-cinput[data-field-style="dashed"],
.wallet-amount[data-field-style="dashed"],
.prj-comment-input[data-field-style="dashed"],
.qbox-body[data-field-style="dashed"],
.qbox-name[data-field-style="dashed"],
.poll-opt[data-field-style="dashed"],
.poll-result[data-field-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-field-edge, currentColor));
  box-shadow: none;
}
.subscribe-input[style*="--sf-field-bg"],
.circle-input[style*="--sf-field-bg"],
.circle-cinput[style*="--sf-field-bg"],
.wallet-amount[style*="--sf-field-bg"],
.prj-comment-input[style*="--sf-field-bg"],
.qbox-body[style*="--sf-field-bg"],
.qbox-name[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}
.poll-opt[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}
.poll-result[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}
.subscribe-input[style*="--sf-field-ink"],
.circle-input[style*="--sf-field-ink"],
.circle-cinput[style*="--sf-field-ink"],
.wallet-amount[style*="--sf-field-ink"],
.prj-comment-input[style*="--sf-field-ink"],
.qbox-body[style*="--sf-field-ink"],
.qbox-name[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.poll-opt[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.poll-result[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.subscribe-input[data-field-radius="sharp"],
.circle-input[data-field-radius="sharp"],
.circle-cinput[data-field-radius="sharp"],
.wallet-amount[data-field-radius="sharp"],
.prj-comment-input[data-field-radius="sharp"],
.qbox-body[data-field-radius="sharp"],
.qbox-name[data-field-radius="sharp"] {
  border-radius: 0;
}
.poll-opt[data-field-radius="sharp"] {
  border-radius: 0;
}
.poll-result[data-field-radius="sharp"] {
  border-radius: 0;
}
.subscribe-input[data-field-radius="soft"],
.circle-input[data-field-radius="soft"],
.circle-cinput[data-field-radius="soft"],
.wallet-amount[data-field-radius="soft"],
.prj-comment-input[data-field-radius="soft"],
.qbox-body[data-field-radius="soft"],
.qbox-name[data-field-radius="soft"] {
  border-radius: 8px;
}
.poll-opt[data-field-radius="soft"] {
  border-radius: 8px;
}
.poll-result[data-field-radius="soft"] {
  border-radius: 8px;
}
.subscribe-input[data-field-radius="rounded"],
.circle-input[data-field-radius="rounded"],
.circle-cinput[data-field-radius="rounded"],
.wallet-amount[data-field-radius="rounded"],
.prj-comment-input[data-field-radius="rounded"],
.qbox-body[data-field-radius="rounded"],
.qbox-name[data-field-radius="rounded"] {
  border-radius: 14px;
}
.poll-opt[data-field-radius="rounded"] {
  border-radius: 14px;
}
.poll-result[data-field-radius="rounded"] {
  border-radius: 14px;
}
.subscribe-input[data-field-radius="pill"],
.circle-input[data-field-radius="pill"],
.circle-cinput[data-field-radius="pill"],
.wallet-amount[data-field-radius="pill"],
.prj-comment-input[data-field-radius="pill"],
.qbox-body[data-field-radius="pill"],
.qbox-name[data-field-radius="pill"] {
  border-radius: 999px;
}
.poll-opt[data-field-radius="pill"] {
  border-radius: 999px;
}
.poll-result[data-field-radius="pill"] {
  border-radius: 999px;
}
.subscribe-input[style*="--sf-field-edge"],
.circle-input[style*="--sf-field-edge"],
.circle-cinput[style*="--sf-field-edge"],
.wallet-amount[style*="--sf-field-edge"],
.prj-comment-input[style*="--sf-field-edge"],
.qbox-body[style*="--sf-field-edge"],
.qbox-name[style*="--sf-field-edge"] {
  border-color: var(--sf-field-edge);
  border-style: solid;
}
.poll-opt[style*="--sf-field-edge"] {
  border-color: var(--sf-field-edge);
  border-style: solid;
}
.poll-result[style*="--sf-field-edge"] {
  border-color: var(--sf-field-edge);
  border-style: solid;
}
.subscribe-input[style*="--sf-field-ink"],
.circle-input[style*="--sf-field-ink"],
.circle-cinput[style*="--sf-field-ink"],
.wallet-amount[style*="--sf-field-ink"],
.prj-comment-input[style*="--sf-field-ink"],
.qbox-body[style*="--sf-field-ink"],
.qbox-name[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.poll-opt[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.poll-result[style*="--sf-field-ink"] {
  color: var(--sf-field-ink);
}
.subscribe-input[style*="--sf-field-bg"],
.circle-input[style*="--sf-field-bg"],
.circle-cinput[style*="--sf-field-bg"],
.wallet-amount[style*="--sf-field-bg"],
.prj-comment-input[style*="--sf-field-bg"],
.qbox-body[style*="--sf-field-bg"],
.qbox-name[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}
.poll-opt[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}
.poll-result[style*="--sf-field-bg"] {
  background: var(--sf-field-bg);
}


/* ── Per-pastille shadow colour, self-selector form ───────────────────────
   Same generation as the rest of the per-pastille block above — this one
   was added after badgeShadowColor was introduced, so it lives here on
   its own instead of inside the original generated block. */
.stan-badge[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.zodiac-badge[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.pronouns-tag[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.sports-pill[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.supporter-badge[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.biz-cat[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.wallet-chip[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.circle-badge[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.coin-post-kind[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.coin-chain[style*="--sf-badge-shadow"][data-badge-style="brutal"],
.wcpreds-count[style*="--sf-badge-shadow"][data-badge-style="brutal"] {
  box-shadow: 3px 3px 0 0 var(--sf-badge-shadow);
}
.stan-badge[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.zodiac-badge[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.pronouns-tag[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.sports-pill[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.supporter-badge[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.biz-cat[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.wallet-chip[style*="--sf-badge-shadow"][data-badge-style="cartoon"],
.circle-badge[style*="--sf-badge-shadow"][data-badge-style="cartoon"] {
  box-shadow: 0 3px 0 0 var(--sf-badge-shadow);
}

/* ── Per-element overrides, last word ────────────────────────────────────────
   Generated from the family rules above. See the build script for why these
   need the .page prefix and why they must come last: without both, a family
   style always beat a single-element override, which is precisely the case
   where the override exists. */
.page .link[data-link-style="glass"] {
  background: var(--sf-link-bg, var(--glass-bg));
  border: .5px solid var(--sf-link-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-link-shadow, var(--glass-shadow));
}

.page .link[data-link-style="solid"] {
  background: var(--sf-link-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}

.page .link[data-link-style="solid"] .link-label { color: inherit; }

.page .link[data-link-style="solid"] .link-sub { color: inherit; opacity: .62; }

.page .link[data-link-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, rgba(255,255,255,.62));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .link[data-link-style="soft"] {
  background: var(--sf-link-bg, rgba(255,255,255,.24));
  border: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px var(--sf-link-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-link-shadow, rgba(255,255,255,.4));
}

.page .link[data-link-style="elevated"] {
  background: var(--sf-link-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 14px 28px -16px var(--sf-link-shadow, rgba(28,8,40,.6)), 0 2px 6px -2px var(--sf-link-shadow, rgba(28,8,40,.25));
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}

.page .link[data-link-style="elevated"] .link-label { color: inherit; }

.page .link[data-link-style="elevated"] .link-sub { color: inherit; opacity: .62; }

.page .link[data-link-style="minimal"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sf-link-edge, rgba(255,255,255,.28));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 2px; padding-right: 2px;
}

.page .link[data-link-style="brutal"] {
  background: var(--sf-link-bg, #fff);
  border: 2px solid var(--sf-link-edge, #1c0828);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 4px 4px 0 0 var(--sf-link-edge, var(--sf-link-shadow, #1c0828));
  color: var(--sf-link-ink, var(--sf-ink, #1c0828));
}

.page .link[data-link-style="brutal"] .link-label { color: inherit; }

.page .link[data-link-style="brutal"] .link-sub { color: inherit; opacity: .68; }

.page .link[data-link-style="tint"] {
  background: var(--sf-link-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 18%, transparent));
  border: .5px solid var(--sf-link-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 45%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}

.page .link[data-link-style="glow"] {
  background: var(--sf-link-bg, rgba(255,255,255,.1));
  border: 1px solid var(--sf-link-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #2EE6D6)) 60%, transparent));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 20%, transparent),
              0 8px 26px -12px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-link-shadow, #2EE6D6))) 70%, transparent);
}

.page .link[data-link-style="dashed"] {
  background: transparent;
  border: 1.5px dashed var(--sf-link-edge, rgba(255,255,255,.6));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .link[data-link-style="cartoon"] {
  background: var(--sf-link-bg, #fff);
  border: 3px solid var(--sf-link-edge, #16121f);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-link-shadow, #16121f));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}

.page .link[data-link-style="sticker"] {
  background: var(--sf-link-bg, #fff);
  border: 4px solid var(--sf-link-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-link-shadow, rgba(20,12,30,.45));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
}

.page .link[data-link-style="emboss"] {
  background: var(--sf-link-bg, #fff);
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-link-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-link-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-link-shadow, rgba(20,12,30,.35));
  color: var(--sf-link-ink, var(--sf-ink, #16121f));
}

.page .link[data-link-style="inset"] {
  background: var(--sf-link-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-link-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-link-shadow, rgba(255,255,255,.22));
}

.page .link[data-link-style="ghost"] {
  background: transparent;
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .link[data-link-style="cartoon"] .link-label { color: inherit; font-weight: 800; }

.page .link[data-link-style="cartoon"] .link-sub { color: inherit; opacity: .7; }

.page .link[data-link-style="sticker"] .link-label { color: inherit; }

.page .link[data-link-style="emboss"] .link-label { color: inherit; }

.page .link[data-link-style="solid"] { background: var(--sf-link-bg, #ffffff); }

.page .link[data-link-radius="sharp"] { border-radius: 0; }

.page .link[data-link-radius="soft"] { border-radius: 8px; }

.page .link[data-link-radius="rounded"] { border-radius: 18px; }

.page .link[data-link-radius="pill"] { border-radius: 999px; padding-left: 18px; padding-right: 18px; }

.page .link[data-link-density="compact"] { padding: 8px 12px; }

.page .link[data-link-density="cosy"] { padding: 13px 15px; }

.page .link[data-link-density="roomy"] { padding: 18px 18px; }

.page .link[data-link-shadow="none"] { box-shadow: none; }

.page .link[data-link-shadow="soft"] { box-shadow: 0 8px 18px -12px rgba(28,8,40,.45); }

.page .link[data-link-shadow="strong"] { box-shadow: 0 18px 34px -16px rgba(28,8,40,.7); }

.page .glass:not(.link)[data-card-style="glass"] {
  background: var(--sf-card-bg, var(--glass-bg));
  border: .5px solid var(--sf-card-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-card-shadow, var(--glass-shadow));
}

.page .glass:not(.link)[data-card-style="solid"] {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, var(--sf-card-edge, rgba(255,255,255,.55)));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="soft"] {
  background: var(--sf-card-bg, rgba(255,255,255,.26));
  border: none;
  box-shadow: 0 14px 30px -18px var(--sf-card-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-card-shadow, rgba(255,255,255,.4));
}

.page .glass:not(.link)[data-card-style="elevated"] {
  background: var(--sf-card-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="flat"] {
  background: var(--sf-card-bg, rgba(255,255,255,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="solid"] {
  background: var(--sf-card-bg, rgba(255,255,255,.94));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="elevated"] {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="tint"] {
  background: var(--sf-card-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 16%, transparent));
  border: .5px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 42%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="glow"] {
  background: var(--sf-card-bg, rgba(255,255,255,.14));
  border: 1px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 55%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 18%, transparent),
              0 10px 30px -14px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 60%, transparent);
}

.page .glass:not(.link)[data-card-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-card-edge, currentColor));
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="brutal"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-card-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #1c0828));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="cartoon"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-card-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #16121f));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}

.page .glass:not(.link)[data-card-style="sticker"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-card-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-card-shadow, rgba(20,12,30,.45));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.page .glass:not(.link)[data-card-style="emboss"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-card-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-card-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-card-shadow, rgba(20,12,30,.35));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.page .glass:not(.link)[data-card-style="inset"] {
  background: var(--sf-card-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-card-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-card-shadow, rgba(255,255,255,.22));
}

.page .glass:not(.link)[data-card-radius="sharp"] { border-radius: 0; }

.page .glass:not(.link)[data-card-radius="soft"] { border-radius: 10px; }

.page .glass:not(.link)[data-card-radius="rounded"] { border-radius: 20px; }

.page .glass:not(.link)[data-card-radius="xl"] { border-radius: 30px; }

.page .glass:not(.link)[data-card-density="compact"] { padding: 11px 13px; }

.page .glass:not(.link)[data-card-density="cosy"] { padding: 16px; }

.page .glass:not(.link)[data-card-density="roomy"] { padding: 24px; }

.page .glass:not(.link)[data-card-shadow="none"] { box-shadow: none; }

.page .glass:not(.link)[data-card-shadow="soft"] { box-shadow: 0 10px 24px -16px rgba(28,8,40,.5); }

.page .glass:not(.link)[data-card-shadow="strong"] { box-shadow: 0 22px 44px -18px rgba(28,8,40,.72); }

/* Per-element colours. */
.page .link[style*="--sf-link-bg"] { background: var(--sf-link-bg); }
.page .link[style*="--sf-link-ink"] { color: var(--sf-link-ink); }
.page .link[style*="--sf-link-edge"] { border-color: var(--sf-link-edge); }
.page .link[style*="--sf-link-ink"] .link-label,
.page .link[style*="--sf-link-ink"] .link-arrow { color: var(--sf-link-ink); }
.page .glass:not(.link)[style*="--sf-card-bg"],
.page .biz-card[style*="--sf-card-bg"],
.page .subscribe-card[style*="--sf-card-bg"],
.page .engage-card[style*="--sf-card-bg"],
.page .circle-card[style*="--sf-card-bg"],
.page .verse-card[style*="--sf-card-bg"],
.page .coin-card[style*="--sf-card-bg"],
.page .prj-card[style*="--sf-card-bg"],
.page .qa-item[style*="--sf-card-bg"],
.page .poll-card[style*="--sf-card-bg"],
.page .wallet-card[style*="--sf-card-bg"],
.page .circle-post[style*="--sf-card-bg"],
.page .coin-post[style*="--sf-card-bg"] { background: var(--sf-card-bg); }
.page .glass:not(.link)[style*="--sf-card-ink"],
.page .biz-card[style*="--sf-card-ink"],
.page .subscribe-card[style*="--sf-card-ink"],
.page .engage-card[style*="--sf-card-ink"],
.page .circle-card[style*="--sf-card-ink"],
.page .verse-card[style*="--sf-card-ink"],
.page .coin-card[style*="--sf-card-ink"],
.page .prj-card[style*="--sf-card-ink"],
.page .qa-item[style*="--sf-card-ink"],
.page .poll-card[style*="--sf-card-ink"],
.page .wallet-card[style*="--sf-card-ink"],
.page .circle-post[style*="--sf-card-ink"],
.page .coin-post[style*="--sf-card-ink"] { color: var(--sf-card-ink); }
.page .glass:not(.link)[style*="--sf-card-edge"],
.page .biz-card[style*="--sf-card-edge"],
.page .subscribe-card[style*="--sf-card-edge"],
.page .engage-card[style*="--sf-card-edge"],
.page .circle-card[style*="--sf-card-edge"],
.page .verse-card[style*="--sf-card-edge"],
.page .coin-card[style*="--sf-card-edge"],
.page .prj-card[style*="--sf-card-edge"],
.page .qa-item[style*="--sf-card-edge"],
.page .poll-card[style*="--sf-card-edge"],
.page .wallet-card[style*="--sf-card-edge"],
.page .circle-post[style*="--sf-card-edge"],
.page .coin-post[style*="--sf-card-edge"] { border-color: var(--sf-card-edge); }

/* Per-card rules restated with the .page prefix, so a single card styled on
   its own outranks the family rule instead of losing to it. */
.page .glass:not(.link)[data-card-style="glass"],
.page .biz-card[data-card-style="glass"],
.page .subscribe-card[data-card-style="glass"],
.page .engage-card[data-card-style="glass"],
.page .circle-card[data-card-style="glass"],
.page .verse-card[data-card-style="glass"],
.page .coin-card[data-card-style="glass"],
.page .prj-card[data-card-style="glass"],
.page .qa-item[data-card-style="glass"],
.page .poll-card[data-card-style="glass"],
.page .wallet-card[data-card-style="glass"],
.page .circle-post[data-card-style="glass"],
.page .coin-post[data-card-style="glass"] {
  background: var(--sf-card-bg, var(--glass-bg));
  border: .5px solid var(--sf-card-edge, var(--glass-stroke));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sf-card-shadow, var(--glass-shadow));
}

.page .glass:not(.link)[data-card-style="solid"],
.page .biz-card[data-card-style="solid"],
.page .subscribe-card[data-card-style="solid"],
.page .engage-card[data-card-style="solid"],
.page .circle-card[data-card-style="solid"],
.page .verse-card[data-card-style="solid"],
.page .coin-card[data-card-style="solid"],
.page .prj-card[data-card-style="solid"],
.page .qa-item[data-card-style="solid"],
.page .poll-card[data-card-style="solid"],
.page .wallet-card[data-card-style="solid"],
.page .circle-post[data-card-style="solid"],
.page .coin-post[data-card-style="solid"] {
  background: var(--sf-card-bg, rgba(255,255,255,.92));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="outline"],
.page .biz-card[data-card-style="outline"],
.page .subscribe-card[data-card-style="outline"],
.page .engage-card[data-card-style="outline"],
.page .circle-card[data-card-style="outline"],
.page .verse-card[data-card-style="outline"],
.page .coin-card[data-card-style="outline"],
.page .prj-card[data-card-style="outline"],
.page .qa-item[data-card-style="outline"],
.page .poll-card[data-card-style="outline"],
.page .wallet-card[data-card-style="outline"],
.page .circle-post[data-card-style="outline"],
.page .coin-post[data-card-style="outline"] {
  background: transparent;
  border: 1.5px solid var(--sf-link-edge, var(--sf-card-edge, rgba(255,255,255,.55)));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="soft"],
.page .biz-card[data-card-style="soft"],
.page .subscribe-card[data-card-style="soft"],
.page .engage-card[data-card-style="soft"],
.page .circle-card[data-card-style="soft"],
.page .verse-card[data-card-style="soft"],
.page .coin-card[data-card-style="soft"],
.page .prj-card[data-card-style="soft"],
.page .qa-item[data-card-style="soft"],
.page .poll-card[data-card-style="soft"],
.page .wallet-card[data-card-style="soft"],
.page .circle-post[data-card-style="soft"],
.page .coin-post[data-card-style="soft"] {
  background: var(--sf-card-bg, rgba(255,255,255,.26));
  border: none;
  box-shadow: 0 14px 30px -18px var(--sf-card-shadow, rgba(28,8,40,.5)), inset 0 1px 0 var(--sf-card-shadow, rgba(255,255,255,.4));
}

.page .glass:not(.link)[data-card-style="elevated"],
.page .biz-card[data-card-style="elevated"],
.page .subscribe-card[data-card-style="elevated"],
.page .engage-card[data-card-style="elevated"],
.page .circle-card[data-card-style="elevated"],
.page .verse-card[data-card-style="elevated"],
.page .coin-card[data-card-style="elevated"],
.page .prj-card[data-card-style="elevated"],
.page .qa-item[data-card-style="elevated"],
.page .poll-card[data-card-style="elevated"],
.page .wallet-card[data-card-style="elevated"],
.page .circle-post[data-card-style="elevated"],
.page .coin-post[data-card-style="elevated"] {
  background: var(--sf-card-bg, rgba(255,255,255,.9));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 34px -18px var(--sf-card-shadow, rgba(28,8,40,.6));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="flat"],
.page .biz-card[data-card-style="flat"],
.page .subscribe-card[data-card-style="flat"],
.page .engage-card[data-card-style="flat"],
.page .circle-card[data-card-style="flat"],
.page .verse-card[data-card-style="flat"],
.page .coin-card[data-card-style="flat"],
.page .prj-card[data-card-style="flat"],
.page .qa-item[data-card-style="flat"],
.page .poll-card[data-card-style="flat"],
.page .wallet-card[data-card-style="flat"],
.page .circle-post[data-card-style="flat"],
.page .coin-post[data-card-style="flat"] {
  background: var(--sf-card-bg, rgba(255,255,255,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="tint"],
.page .biz-card[data-card-style="tint"],
.page .subscribe-card[data-card-style="tint"],
.page .engage-card[data-card-style="tint"],
.page .circle-card[data-card-style="tint"],
.page .verse-card[data-card-style="tint"],
.page .coin-card[data-card-style="tint"],
.page .prj-card[data-card-style="tint"],
.page .qa-item[data-card-style="tint"],
.page .poll-card[data-card-style="tint"],
.page .wallet-card[data-card-style="tint"],
.page .circle-post[data-card-style="tint"],
.page .coin-post[data-card-style="tint"] {
  background: var(--sf-card-bg, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 16%, transparent));
  border: .5px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 42%, transparent));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="glow"],
.page .biz-card[data-card-style="glow"],
.page .subscribe-card[data-card-style="glow"],
.page .engage-card[data-card-style="glow"],
.page .circle-card[data-card-style="glow"],
.page .verse-card[data-card-style="glow"],
.page .coin-card[data-card-style="glow"],
.page .prj-card[data-card-style="glow"],
.page .qa-item[data-card-style="glow"],
.page .poll-card[data-card-style="glow"],
.page .wallet-card[data-card-style="glow"],
.page .circle-post[data-card-style="glow"],
.page .coin-post[data-card-style="glow"] {
  background: var(--sf-card-bg, rgba(255,255,255,.14));
  border: 1px solid var(--sf-card-edge, color-mix(in srgb, var(--sf-accent, var(--c3, #FF3D7F)) 55%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 18%, transparent),
              0 10px 30px -14px color-mix(in srgb, var(--sf-accent, var(--c3, var(--sf-card-shadow, #FF3D7F))) 60%, transparent);
}

.page .glass:not(.link)[data-card-style="dashed"],
.page .biz-card[data-card-style="dashed"],
.page .subscribe-card[data-card-style="dashed"],
.page .engage-card[data-card-style="dashed"],
.page .circle-card[data-card-style="dashed"],
.page .verse-card[data-card-style="dashed"],
.page .coin-card[data-card-style="dashed"],
.page .prj-card[data-card-style="dashed"],
.page .qa-item[data-card-style="dashed"],
.page .poll-card[data-card-style="dashed"],
.page .wallet-card[data-card-style="dashed"],
.page .circle-post[data-card-style="dashed"],
.page .coin-post[data-card-style="dashed"] {
  background: transparent;
  border: 1.4px dashed var(--sf-link-edge, var(--sf-card-edge, currentColor));
  box-shadow: none;
}

.page .glass:not(.link)[data-card-style="brutal"],
.page .biz-card[data-card-style="brutal"],
.page .subscribe-card[data-card-style="brutal"],
.page .engage-card[data-card-style="brutal"],
.page .circle-card[data-card-style="brutal"],
.page .verse-card[data-card-style="brutal"],
.page .coin-card[data-card-style="brutal"],
.page .prj-card[data-card-style="brutal"],
.page .qa-item[data-card-style="brutal"],
.page .poll-card[data-card-style="brutal"],
.page .wallet-card[data-card-style="brutal"],
.page .circle-post[data-card-style="brutal"],
.page .coin-post[data-card-style="brutal"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 2px solid var(--sf-link-edge, var(--sf-card-edge, #1c0828));
  box-shadow: 3px 3px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #1c0828));
  color: var(--sf-card-ink, var(--sf-ink, #1c0828));
}

.page .glass:not(.link)[data-card-style="cartoon"],
.page .biz-card[data-card-style="cartoon"],
.page .subscribe-card[data-card-style="cartoon"],
.page .engage-card[data-card-style="cartoon"],
.page .circle-card[data-card-style="cartoon"],
.page .verse-card[data-card-style="cartoon"],
.page .coin-card[data-card-style="cartoon"],
.page .prj-card[data-card-style="cartoon"],
.page .qa-item[data-card-style="cartoon"],
.page .poll-card[data-card-style="cartoon"],
.page .wallet-card[data-card-style="cartoon"],
.page .circle-post[data-card-style="cartoon"],
.page .coin-post[data-card-style="cartoon"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 3px solid var(--sf-link-edge, var(--sf-card-edge, #16121f));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 5px 0 0 var(--sf-link-edge, var(--sf-card-shadow, #16121f));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
  transform: translateY(-2px);
}

.page .glass:not(.link)[data-card-style="sticker"],
.page .biz-card[data-card-style="sticker"],
.page .subscribe-card[data-card-style="sticker"],
.page .engage-card[data-card-style="sticker"],
.page .circle-card[data-card-style="sticker"],
.page .verse-card[data-card-style="sticker"],
.page .coin-card[data-card-style="sticker"],
.page .prj-card[data-card-style="sticker"],
.page .qa-item[data-card-style="sticker"],
.page .poll-card[data-card-style="sticker"],
.page .wallet-card[data-card-style="sticker"],
.page .circle-post[data-card-style="sticker"],
.page .coin-post[data-card-style="sticker"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: 4px solid var(--sf-card-edge, #fff);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 4px 14px -4px var(--sf-card-shadow, rgba(20,12,30,.45));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.page .glass:not(.link)[data-card-style="emboss"],
.page .biz-card[data-card-style="emboss"],
.page .subscribe-card[data-card-style="emboss"],
.page .engage-card[data-card-style="emboss"],
.page .circle-card[data-card-style="emboss"],
.page .verse-card[data-card-style="emboss"],
.page .coin-card[data-card-style="emboss"],
.page .prj-card[data-card-style="emboss"],
.page .qa-item[data-card-style="emboss"],
.page .poll-card[data-card-style="emboss"],
.page .wallet-card[data-card-style="emboss"],
.page .circle-post[data-card-style="emboss"],
.page .coin-post[data-card-style="emboss"] {
  background: var(--sf-card-bg, var(--sf-link-bg, #fff));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 0 var(--sf-card-shadow, rgba(255,255,255,.75)), inset 0 -2px 0 var(--sf-card-shadow, rgba(20,12,30,.14)), 0 3px 8px -4px var(--sf-card-shadow, rgba(20,12,30,.35));
  color: var(--sf-card-ink, var(--sf-ink, #16121f));
}

.page .glass:not(.link)[data-card-style="inset"],
.page .biz-card[data-card-style="inset"],
.page .subscribe-card[data-card-style="inset"],
.page .engage-card[data-card-style="inset"],
.page .circle-card[data-card-style="inset"],
.page .verse-card[data-card-style="inset"],
.page .coin-card[data-card-style="inset"],
.page .prj-card[data-card-style="inset"],
.page .qa-item[data-card-style="inset"],
.page .poll-card[data-card-style="inset"],
.page .wallet-card[data-card-style="inset"],
.page .circle-post[data-card-style="inset"],
.page .coin-post[data-card-style="inset"] {
  background: var(--sf-card-bg, rgba(20,12,30,.1));
  border: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 2px 5px var(--sf-card-shadow, rgba(20,12,30,.3)), inset 0 -1px 0 var(--sf-card-shadow, rgba(255,255,255,.22));
}

.page .glass:not(.link)[data-card-radius="sharp"],
.page .biz-card[data-card-radius="sharp"],
.page .subscribe-card[data-card-radius="sharp"],
.page .engage-card[data-card-radius="sharp"],
.page .circle-card[data-card-radius="sharp"],
.page .verse-card[data-card-radius="sharp"],
.page .coin-card[data-card-radius="sharp"],
.page .prj-card[data-card-radius="sharp"],
.page .qa-item[data-card-radius="sharp"],
.page .poll-card[data-card-radius="sharp"],
.page .wallet-card[data-card-radius="sharp"],
.page .circle-post[data-card-radius="sharp"],
.page .coin-post[data-card-radius="sharp"] { border-radius: 0; }

.page .glass:not(.link)[data-card-radius="soft"],
.page .biz-card[data-card-radius="soft"],
.page .subscribe-card[data-card-radius="soft"],
.page .engage-card[data-card-radius="soft"],
.page .circle-card[data-card-radius="soft"],
.page .verse-card[data-card-radius="soft"],
.page .coin-card[data-card-radius="soft"],
.page .prj-card[data-card-radius="soft"],
.page .qa-item[data-card-radius="soft"],
.page .poll-card[data-card-radius="soft"],
.page .wallet-card[data-card-radius="soft"],
.page .circle-post[data-card-radius="soft"],
.page .coin-post[data-card-radius="soft"] { border-radius: 10px; }

.page .glass:not(.link)[data-card-radius="rounded"],
.page .biz-card[data-card-radius="rounded"],
.page .subscribe-card[data-card-radius="rounded"],
.page .engage-card[data-card-radius="rounded"],
.page .circle-card[data-card-radius="rounded"],
.page .verse-card[data-card-radius="rounded"],
.page .coin-card[data-card-radius="rounded"],
.page .prj-card[data-card-radius="rounded"],
.page .qa-item[data-card-radius="rounded"],
.page .poll-card[data-card-radius="rounded"],
.page .wallet-card[data-card-radius="rounded"],
.page .circle-post[data-card-radius="rounded"],
.page .coin-post[data-card-radius="rounded"] { border-radius: 20px; }

.page .glass:not(.link)[data-card-radius="xl"],
.page .biz-card[data-card-radius="xl"],
.page .subscribe-card[data-card-radius="xl"],
.page .engage-card[data-card-radius="xl"],
.page .circle-card[data-card-radius="xl"],
.page .verse-card[data-card-radius="xl"],
.page .coin-card[data-card-radius="xl"],
.page .prj-card[data-card-radius="xl"],
.page .qa-item[data-card-radius="xl"],
.page .poll-card[data-card-radius="xl"],
.page .wallet-card[data-card-radius="xl"],
.page .circle-post[data-card-radius="xl"],
.page .coin-post[data-card-radius="xl"] { border-radius: 30px; }

.page .glass:not(.link)[data-card-density="compact"],
.page .biz-card[data-card-density="compact"],
.page .subscribe-card[data-card-density="compact"],
.page .engage-card[data-card-density="compact"],
.page .circle-card[data-card-density="compact"],
.page .verse-card[data-card-density="compact"],
.page .coin-card[data-card-density="compact"],
.page .prj-card[data-card-density="compact"],
.page .qa-item[data-card-density="compact"],
.page .poll-card[data-card-density="compact"],
.page .wallet-card[data-card-density="compact"],
.page .circle-post[data-card-density="compact"],
.page .coin-post[data-card-density="compact"] { padding: 11px 13px; }

.page .glass:not(.link)[data-card-density="cosy"],
.page .biz-card[data-card-density="cosy"],
.page .subscribe-card[data-card-density="cosy"],
.page .engage-card[data-card-density="cosy"],
.page .circle-card[data-card-density="cosy"],
.page .verse-card[data-card-density="cosy"],
.page .coin-card[data-card-density="cosy"],
.page .prj-card[data-card-density="cosy"],
.page .qa-item[data-card-density="cosy"],
.page .poll-card[data-card-density="cosy"],
.page .wallet-card[data-card-density="cosy"],
.page .circle-post[data-card-density="cosy"],
.page .coin-post[data-card-density="cosy"] { padding: 16px; }

.page .glass:not(.link)[data-card-density="roomy"],
.page .biz-card[data-card-density="roomy"],
.page .subscribe-card[data-card-density="roomy"],
.page .engage-card[data-card-density="roomy"],
.page .circle-card[data-card-density="roomy"],
.page .verse-card[data-card-density="roomy"],
.page .coin-card[data-card-density="roomy"],
.page .prj-card[data-card-density="roomy"],
.page .qa-item[data-card-density="roomy"],
.page .poll-card[data-card-density="roomy"],
.page .wallet-card[data-card-density="roomy"],
.page .circle-post[data-card-density="roomy"],
.page .coin-post[data-card-density="roomy"] { padding: 24px; }

.page .glass:not(.link)[data-card-shadow="none"],
.page .biz-card[data-card-shadow="none"],
.page .subscribe-card[data-card-shadow="none"],
.page .engage-card[data-card-shadow="none"],
.page .circle-card[data-card-shadow="none"],
.page .verse-card[data-card-shadow="none"],
.page .coin-card[data-card-shadow="none"],
.page .prj-card[data-card-shadow="none"],
.page .qa-item[data-card-shadow="none"],
.page .poll-card[data-card-shadow="none"],
.page .wallet-card[data-card-shadow="none"],
.page .circle-post[data-card-shadow="none"],
.page .coin-post[data-card-shadow="none"] { box-shadow: none; }

.page .glass:not(.link)[data-card-shadow="soft"],
.page .biz-card[data-card-shadow="soft"],
.page .subscribe-card[data-card-shadow="soft"],
.page .engage-card[data-card-shadow="soft"],
.page .circle-card[data-card-shadow="soft"],
.page .verse-card[data-card-shadow="soft"],
.page .coin-card[data-card-shadow="soft"],
.page .prj-card[data-card-shadow="soft"],
.page .qa-item[data-card-shadow="soft"],
.page .poll-card[data-card-shadow="soft"],
.page .wallet-card[data-card-shadow="soft"],
.page .circle-post[data-card-shadow="soft"],
.page .coin-post[data-card-shadow="soft"] { box-shadow: 0 10px 24px -16px rgba(28,8,40,.5); }

.page .glass:not(.link)[data-card-shadow="strong"],
.page .biz-card[data-card-shadow="strong"],
.page .subscribe-card[data-card-shadow="strong"],
.page .engage-card[data-card-shadow="strong"],
.page .circle-card[data-card-shadow="strong"],
.page .verse-card[data-card-shadow="strong"],
.page .coin-card[data-card-shadow="strong"],
.page .prj-card[data-card-shadow="strong"],
.page .qa-item[data-card-shadow="strong"],
.page .poll-card[data-card-shadow="strong"],
.page .wallet-card[data-card-shadow="strong"],
.page .circle-post[data-card-shadow="strong"],
.page .coin-post[data-card-shadow="strong"] { box-shadow: 0 22px 44px -18px rgba(28,8,40,.72); }

/* ── Link gradient ───────────────────────────────────────────────────────────
   A small gradient on the link surface, from two or three chosen colours.

   It sits at the very end of the sheet and applies whenever the first colour
   is set, so it wins over whatever surface style is active — that is the
   point: the owner picked colours explicitly, and a style's own background
   should not silently override an explicit choice.

   The third colour is optional. Rather than branch in CSS, the middle stop
   falls back to a mix of the two ends, which produces the same two-colour
   gradient when it is absent. */
.page .link[style*="--sf-link-g1"],
.page[style*="--sf-link-g1"] .link {
  background-image: linear-gradient(
    var(--sf-link-grad-angle, 135deg),
    var(--sf-link-g1) 0%,
    var(--sf-link-g3, color-mix(in srgb, var(--sf-link-g1) 50%, var(--sf-link-g2, var(--sf-link-g1)))) 50%,
    var(--sf-link-g2, var(--sf-link-g1)) 100%);
  background-color: transparent;
}

/* Angle. Emitted as an attribute rather than a variable because it is a
   choice among fixed values, not a free colour. */
.page[data-link-grad="0"]   { --sf-link-grad-angle: 0deg; }
.page[data-link-grad="45"]  { --sf-link-grad-angle: 45deg; }
.page[data-link-grad="90"]  { --sf-link-grad-angle: 90deg; }
.page[data-link-grad="135"] { --sf-link-grad-angle: 135deg; }
.page[data-link-grad="180"] { --sf-link-grad-angle: 180deg; }
.page[data-link-grad="225"] { --sf-link-grad-angle: 225deg; }
.page[data-link-grad="270"] { --sf-link-grad-angle: 270deg; }
.page[data-link-grad="315"] { --sf-link-grad-angle: 315deg; }
.link[data-link-grad="0"]   { --sf-link-grad-angle: 0deg; }
.link[data-link-grad="45"]  { --sf-link-grad-angle: 45deg; }
.link[data-link-grad="90"]  { --sf-link-grad-angle: 90deg; }
.link[data-link-grad="135"] { --sf-link-grad-angle: 135deg; }
.link[data-link-grad="180"] { --sf-link-grad-angle: 180deg; }
.link[data-link-grad="225"] { --sf-link-grad-angle: 225deg; }
.link[data-link-grad="270"] { --sf-link-grad-angle: 270deg; }
.link[data-link-grad="315"] { --sf-link-grad-angle: 315deg; }

/* ── Gradients and glow, per family ──────────────────────────────────────────
   Every family gets the same two things the links already had: a gradient
   built from two or three chosen colours, and a glow colour that the Neon and
   Tint styles consume instead of the hard-coded pink they used to carry.

   Each is emitted twice — once page-wide, once on the element itself — so a
   setting reaches its family as a whole or one selected element alone. Both
   sit at the very end of the sheet: an explicitly chosen colour must outrank
   whatever background a surface style would otherwise paint.

   The third gradient colour is optional; when it is absent the middle stop
   falls back to a mix of the two ends, which yields the plain two-colour
   gradient without a branch. */

.page[style*="--sf-link-g1"] .link {
  background-image: linear-gradient(
    var(--sf-link-grad-angle, 135deg),
    var(--sf-link-g1) 0%,
    var(--sf-link-g3, color-mix(in srgb, var(--sf-link-g1) 50%, var(--sf-link-g2, var(--sf-link-g1)))) 50%,
    var(--sf-link-g2, var(--sf-link-g1)) 100%);
  background-color: transparent;
}

.page .link[style*="--sf-link-g1"] {
  background-image: linear-gradient(
    var(--sf-link-grad-angle, 135deg),
    var(--sf-link-g1) 0%,
    var(--sf-link-g3, color-mix(in srgb, var(--sf-link-g1) 50%, var(--sf-link-g2, var(--sf-link-g1)))) 50%,
    var(--sf-link-g2, var(--sf-link-g1)) 100%);
  background-color: transparent;
}

.page[data-link-grad="0"] { --sf-link-grad-angle: 0deg; }

.page .link[data-link-grad="0"] { --sf-link-grad-angle: 0deg; }

.page[data-link-grad="45"] { --sf-link-grad-angle: 45deg; }

.page .link[data-link-grad="45"] { --sf-link-grad-angle: 45deg; }

.page[data-link-grad="90"] { --sf-link-grad-angle: 90deg; }

.page .link[data-link-grad="90"] { --sf-link-grad-angle: 90deg; }

.page[data-link-grad="135"] { --sf-link-grad-angle: 135deg; }

.page .link[data-link-grad="135"] { --sf-link-grad-angle: 135deg; }

.page[data-link-grad="180"] { --sf-link-grad-angle: 180deg; }

.page .link[data-link-grad="180"] { --sf-link-grad-angle: 180deg; }

.page[data-link-grad="225"] { --sf-link-grad-angle: 225deg; }

.page .link[data-link-grad="225"] { --sf-link-grad-angle: 225deg; }

.page[data-link-grad="270"] { --sf-link-grad-angle: 270deg; }

.page .link[data-link-grad="270"] { --sf-link-grad-angle: 270deg; }

.page[data-link-grad="315"] { --sf-link-grad-angle: 315deg; }

.page .link[data-link-grad="315"] { --sf-link-grad-angle: 315deg; }



.page[style*="--sf-card-g1"] .glass:not(.link),
.page[style*="--sf-card-g1"] .biz-card,
.page[style*="--sf-card-g1"] .subscribe-card,
.page[style*="--sf-card-g1"] .engage-card,
.page[style*="--sf-card-g1"] .circle-card,
.page[style*="--sf-card-g1"] .verse-card,
.page[style*="--sf-card-g1"] .coin-card,
.page[style*="--sf-card-g1"] .prj-card,
.page[style*="--sf-card-g1"] .qa-item,
.page[style*="--sf-card-g1"] .poll-card,
.page[style*="--sf-card-g1"] .wallet-card,
.page[style*="--sf-card-g1"] .circle-post,
.page[style*="--sf-card-g1"] .coin-post {
  background-image: linear-gradient(
    var(--sf-card-grad-angle, 135deg),
    var(--sf-card-g1) 0%,
    var(--sf-card-g3, color-mix(in srgb, var(--sf-card-g1) 50%, var(--sf-card-g2, var(--sf-card-g1)))) 50%,
    var(--sf-card-g2, var(--sf-card-g1)) 100%);
  background-color: transparent;
}

.page .glass:not(.link)[style*="--sf-card-g1"],
.page .biz-card[style*="--sf-card-g1"],
.page .subscribe-card[style*="--sf-card-g1"],
.page .engage-card[style*="--sf-card-g1"],
.page .circle-card[style*="--sf-card-g1"],
.page .verse-card[style*="--sf-card-g1"],
.page .coin-card[style*="--sf-card-g1"],
.page .prj-card[style*="--sf-card-g1"],
.page .qa-item[style*="--sf-card-g1"],
.page .poll-card[style*="--sf-card-g1"],
.page .wallet-card[style*="--sf-card-g1"],
.page .circle-post[style*="--sf-card-g1"],
.page .coin-post[style*="--sf-card-g1"] {
  background-image: linear-gradient(
    var(--sf-card-grad-angle, 135deg),
    var(--sf-card-g1) 0%,
    var(--sf-card-g3, color-mix(in srgb, var(--sf-card-g1) 50%, var(--sf-card-g2, var(--sf-card-g1)))) 50%,
    var(--sf-card-g2, var(--sf-card-g1)) 100%);
  background-color: transparent;
}

.page[data-card-grad="0"] { --sf-card-grad-angle: 0deg; }

.page .glass:not(.link)[data-card-grad="0"],
.page .biz-card[data-card-grad="0"],
.page .subscribe-card[data-card-grad="0"],
.page .engage-card[data-card-grad="0"],
.page .circle-card[data-card-grad="0"],
.page .verse-card[data-card-grad="0"],
.page .coin-card[data-card-grad="0"],
.page .prj-card[data-card-grad="0"],
.page .qa-item[data-card-grad="0"],
.page .poll-card[data-card-grad="0"],
.page .wallet-card[data-card-grad="0"],
.page .circle-post[data-card-grad="0"],
.page .coin-post[data-card-grad="0"] { --sf-card-grad-angle: 0deg; }

.page[data-card-grad="45"] { --sf-card-grad-angle: 45deg; }

.page .glass:not(.link)[data-card-grad="45"],
.page .biz-card[data-card-grad="45"],
.page .subscribe-card[data-card-grad="45"],
.page .engage-card[data-card-grad="45"],
.page .circle-card[data-card-grad="45"],
.page .verse-card[data-card-grad="45"],
.page .coin-card[data-card-grad="45"],
.page .prj-card[data-card-grad="45"],
.page .qa-item[data-card-grad="45"],
.page .poll-card[data-card-grad="45"],
.page .wallet-card[data-card-grad="45"],
.page .circle-post[data-card-grad="45"],
.page .coin-post[data-card-grad="45"] { --sf-card-grad-angle: 45deg; }

.page[data-card-grad="90"] { --sf-card-grad-angle: 90deg; }

.page .glass:not(.link)[data-card-grad="90"],
.page .biz-card[data-card-grad="90"],
.page .subscribe-card[data-card-grad="90"],
.page .engage-card[data-card-grad="90"],
.page .circle-card[data-card-grad="90"],
.page .verse-card[data-card-grad="90"],
.page .coin-card[data-card-grad="90"],
.page .prj-card[data-card-grad="90"],
.page .qa-item[data-card-grad="90"],
.page .poll-card[data-card-grad="90"],
.page .wallet-card[data-card-grad="90"],
.page .circle-post[data-card-grad="90"],
.page .coin-post[data-card-grad="90"] { --sf-card-grad-angle: 90deg; }

.page[data-card-grad="135"] { --sf-card-grad-angle: 135deg; }

.page .glass:not(.link)[data-card-grad="135"],
.page .biz-card[data-card-grad="135"],
.page .subscribe-card[data-card-grad="135"],
.page .engage-card[data-card-grad="135"],
.page .circle-card[data-card-grad="135"],
.page .verse-card[data-card-grad="135"],
.page .coin-card[data-card-grad="135"],
.page .prj-card[data-card-grad="135"],
.page .qa-item[data-card-grad="135"],
.page .poll-card[data-card-grad="135"],
.page .wallet-card[data-card-grad="135"],
.page .circle-post[data-card-grad="135"],
.page .coin-post[data-card-grad="135"] { --sf-card-grad-angle: 135deg; }

.page[data-card-grad="180"] { --sf-card-grad-angle: 180deg; }

.page .glass:not(.link)[data-card-grad="180"],
.page .biz-card[data-card-grad="180"],
.page .subscribe-card[data-card-grad="180"],
.page .engage-card[data-card-grad="180"],
.page .circle-card[data-card-grad="180"],
.page .verse-card[data-card-grad="180"],
.page .coin-card[data-card-grad="180"],
.page .prj-card[data-card-grad="180"],
.page .qa-item[data-card-grad="180"],
.page .poll-card[data-card-grad="180"],
.page .wallet-card[data-card-grad="180"],
.page .circle-post[data-card-grad="180"],
.page .coin-post[data-card-grad="180"] { --sf-card-grad-angle: 180deg; }

.page[data-card-grad="225"] { --sf-card-grad-angle: 225deg; }

.page .glass:not(.link)[data-card-grad="225"],
.page .biz-card[data-card-grad="225"],
.page .subscribe-card[data-card-grad="225"],
.page .engage-card[data-card-grad="225"],
.page .circle-card[data-card-grad="225"],
.page .verse-card[data-card-grad="225"],
.page .coin-card[data-card-grad="225"],
.page .prj-card[data-card-grad="225"],
.page .qa-item[data-card-grad="225"],
.page .poll-card[data-card-grad="225"],
.page .wallet-card[data-card-grad="225"],
.page .circle-post[data-card-grad="225"],
.page .coin-post[data-card-grad="225"] { --sf-card-grad-angle: 225deg; }

.page[data-card-grad="270"] { --sf-card-grad-angle: 270deg; }

.page .glass:not(.link)[data-card-grad="270"],
.page .biz-card[data-card-grad="270"],
.page .subscribe-card[data-card-grad="270"],
.page .engage-card[data-card-grad="270"],
.page .circle-card[data-card-grad="270"],
.page .verse-card[data-card-grad="270"],
.page .coin-card[data-card-grad="270"],
.page .prj-card[data-card-grad="270"],
.page .qa-item[data-card-grad="270"],
.page .poll-card[data-card-grad="270"],
.page .wallet-card[data-card-grad="270"],
.page .circle-post[data-card-grad="270"],
.page .coin-post[data-card-grad="270"] { --sf-card-grad-angle: 270deg; }

.page[data-card-grad="315"] { --sf-card-grad-angle: 315deg; }

.page .glass:not(.link)[data-card-grad="315"],
.page .biz-card[data-card-grad="315"],
.page .subscribe-card[data-card-grad="315"],
.page .engage-card[data-card-grad="315"],
.page .circle-card[data-card-grad="315"],
.page .verse-card[data-card-grad="315"],
.page .coin-card[data-card-grad="315"],
.page .prj-card[data-card-grad="315"],
.page .qa-item[data-card-grad="315"],
.page .poll-card[data-card-grad="315"],
.page .wallet-card[data-card-grad="315"],
.page .circle-post[data-card-grad="315"],
.page .coin-post[data-card-grad="315"] { --sf-card-grad-angle: 315deg; }



.page[style*="--sf-badge-g1"] .stan-badge,
.page[style*="--sf-badge-g1"] .zodiac-badge,
.page[style*="--sf-badge-g1"] .pronouns-tag,
.page[style*="--sf-badge-g1"] .sports-pill,
.page[style*="--sf-badge-g1"] .supporter-badge,
.page[style*="--sf-badge-g1"] .biz-cat,
.page[style*="--sf-badge-g1"] .wallet-chip,
.page[style*="--sf-badge-g1"] .circle-badge {
  background-image: linear-gradient(
    var(--sf-badge-grad-angle, 135deg),
    var(--sf-badge-g1) 0%,
    var(--sf-badge-g3, color-mix(in srgb, var(--sf-badge-g1) 50%, var(--sf-badge-g2, var(--sf-badge-g1)))) 50%,
    var(--sf-badge-g2, var(--sf-badge-g1)) 100%);
  background-color: transparent;
}

.page .stan-badge[style*="--sf-badge-g1"],
.page .zodiac-badge[style*="--sf-badge-g1"],
.page .pronouns-tag[style*="--sf-badge-g1"],
.page .sports-pill[style*="--sf-badge-g1"],
.page .supporter-badge[style*="--sf-badge-g1"],
.page .biz-cat[style*="--sf-badge-g1"],
.page .wallet-chip[style*="--sf-badge-g1"],
.page .circle-badge[style*="--sf-badge-g1"] {
  background-image: linear-gradient(
    var(--sf-badge-grad-angle, 135deg),
    var(--sf-badge-g1) 0%,
    var(--sf-badge-g3, color-mix(in srgb, var(--sf-badge-g1) 50%, var(--sf-badge-g2, var(--sf-badge-g1)))) 50%,
    var(--sf-badge-g2, var(--sf-badge-g1)) 100%);
  background-color: transparent;
}

.page[data-badge-grad="0"] { --sf-badge-grad-angle: 0deg; }

.page .stan-badge[data-badge-grad="0"],
.page .zodiac-badge[data-badge-grad="0"],
.page .pronouns-tag[data-badge-grad="0"],
.page .sports-pill[data-badge-grad="0"],
.page .supporter-badge[data-badge-grad="0"],
.page .biz-cat[data-badge-grad="0"],
.page .wallet-chip[data-badge-grad="0"],
.page .circle-badge[data-badge-grad="0"] { --sf-badge-grad-angle: 0deg; }

.page[data-badge-grad="45"] { --sf-badge-grad-angle: 45deg; }

.page .stan-badge[data-badge-grad="45"],
.page .zodiac-badge[data-badge-grad="45"],
.page .pronouns-tag[data-badge-grad="45"],
.page .sports-pill[data-badge-grad="45"],
.page .supporter-badge[data-badge-grad="45"],
.page .biz-cat[data-badge-grad="45"],
.page .wallet-chip[data-badge-grad="45"],
.page .circle-badge[data-badge-grad="45"] { --sf-badge-grad-angle: 45deg; }

.page[data-badge-grad="90"] { --sf-badge-grad-angle: 90deg; }

.page .stan-badge[data-badge-grad="90"],
.page .zodiac-badge[data-badge-grad="90"],
.page .pronouns-tag[data-badge-grad="90"],
.page .sports-pill[data-badge-grad="90"],
.page .supporter-badge[data-badge-grad="90"],
.page .biz-cat[data-badge-grad="90"],
.page .wallet-chip[data-badge-grad="90"],
.page .circle-badge[data-badge-grad="90"] { --sf-badge-grad-angle: 90deg; }

.page[data-badge-grad="135"] { --sf-badge-grad-angle: 135deg; }

.page .stan-badge[data-badge-grad="135"],
.page .zodiac-badge[data-badge-grad="135"],
.page .pronouns-tag[data-badge-grad="135"],
.page .sports-pill[data-badge-grad="135"],
.page .supporter-badge[data-badge-grad="135"],
.page .biz-cat[data-badge-grad="135"],
.page .wallet-chip[data-badge-grad="135"],
.page .circle-badge[data-badge-grad="135"] { --sf-badge-grad-angle: 135deg; }

.page[data-badge-grad="180"] { --sf-badge-grad-angle: 180deg; }

.page .stan-badge[data-badge-grad="180"],
.page .zodiac-badge[data-badge-grad="180"],
.page .pronouns-tag[data-badge-grad="180"],
.page .sports-pill[data-badge-grad="180"],
.page .supporter-badge[data-badge-grad="180"],
.page .biz-cat[data-badge-grad="180"],
.page .wallet-chip[data-badge-grad="180"],
.page .circle-badge[data-badge-grad="180"] { --sf-badge-grad-angle: 180deg; }

.page[data-badge-grad="225"] { --sf-badge-grad-angle: 225deg; }

.page .stan-badge[data-badge-grad="225"],
.page .zodiac-badge[data-badge-grad="225"],
.page .pronouns-tag[data-badge-grad="225"],
.page .sports-pill[data-badge-grad="225"],
.page .supporter-badge[data-badge-grad="225"],
.page .biz-cat[data-badge-grad="225"],
.page .wallet-chip[data-badge-grad="225"],
.page .circle-badge[data-badge-grad="225"] { --sf-badge-grad-angle: 225deg; }

.page[data-badge-grad="270"] { --sf-badge-grad-angle: 270deg; }

.page .stan-badge[data-badge-grad="270"],
.page .zodiac-badge[data-badge-grad="270"],
.page .pronouns-tag[data-badge-grad="270"],
.page .sports-pill[data-badge-grad="270"],
.page .supporter-badge[data-badge-grad="270"],
.page .biz-cat[data-badge-grad="270"],
.page .wallet-chip[data-badge-grad="270"],
.page .circle-badge[data-badge-grad="270"] { --sf-badge-grad-angle: 270deg; }

.page[data-badge-grad="315"] { --sf-badge-grad-angle: 315deg; }

.page .stan-badge[data-badge-grad="315"],
.page .zodiac-badge[data-badge-grad="315"],
.page .pronouns-tag[data-badge-grad="315"],
.page .sports-pill[data-badge-grad="315"],
.page .supporter-badge[data-badge-grad="315"],
.page .biz-cat[data-badge-grad="315"],
.page .wallet-chip[data-badge-grad="315"],
.page .circle-badge[data-badge-grad="315"] { --sf-badge-grad-angle: 315deg; }



.page[style*="--sf-button-g1"] .event-cta,
.page[style*="--sf-button-g1"] .house-entrance-cta,
.page[style*="--sf-button-g1"] .store-entrance-cta,
.page[style*="--sf-button-g1"] .biz-action,
.page[style*="--sf-button-g1"] .coin-buy,
.page[style*="--sf-button-g1"] .subscribe-btn,
.page[style*="--sf-button-g1"] .circle-btn,
.page[style*="--sf-button-g1"] .qbox-send,
.page[style*="--sf-button-g1"] .wallet-copy,
.page[style*="--sf-button-g1"] .prj-visit,
.page[style*="--sf-button-g1"] .lifts-btn,
.page[style*="--sf-button-g1"] .msg-btn {
  background-image: linear-gradient(
    var(--sf-button-grad-angle, 135deg),
    var(--sf-button-g1) 0%,
    var(--sf-button-g3, color-mix(in srgb, var(--sf-button-g1) 50%, var(--sf-button-g2, var(--sf-button-g1)))) 50%,
    var(--sf-button-g2, var(--sf-button-g1)) 100%);
  background-color: transparent;
}

.page .event-cta[style*="--sf-button-g1"],
.page .house-entrance-cta[style*="--sf-button-g1"],
.page .store-entrance-cta[style*="--sf-button-g1"],
.page .biz-action[style*="--sf-button-g1"],
.page .coin-buy[style*="--sf-button-g1"],
.page .subscribe-btn[style*="--sf-button-g1"],
.page .circle-btn[style*="--sf-button-g1"],
.page .qbox-send[style*="--sf-button-g1"],
.page .wallet-copy[style*="--sf-button-g1"],
.page .prj-visit[style*="--sf-button-g1"],
.page .lifts-btn[style*="--sf-button-g1"],
.page .msg-btn[style*="--sf-button-g1"] {
  background-image: linear-gradient(
    var(--sf-button-grad-angle, 135deg),
    var(--sf-button-g1) 0%,
    var(--sf-button-g3, color-mix(in srgb, var(--sf-button-g1) 50%, var(--sf-button-g2, var(--sf-button-g1)))) 50%,
    var(--sf-button-g2, var(--sf-button-g1)) 100%);
  background-color: transparent;
}

.page[data-button-grad="0"] { --sf-button-grad-angle: 0deg; }

.page .event-cta[data-button-grad="0"],
.page .house-entrance-cta[data-button-grad="0"],
.page .store-entrance-cta[data-button-grad="0"],
.page .biz-action[data-button-grad="0"],
.page .coin-buy[data-button-grad="0"],
.page .subscribe-btn[data-button-grad="0"],
.page .circle-btn[data-button-grad="0"],
.page .qbox-send[data-button-grad="0"],
.page .wallet-copy[data-button-grad="0"],
.page .prj-visit[data-button-grad="0"],
.page .lifts-btn[data-button-grad="0"],
.page .msg-btn[data-button-grad="0"] { --sf-button-grad-angle: 0deg; }

.page[data-button-grad="45"] { --sf-button-grad-angle: 45deg; }

.page .event-cta[data-button-grad="45"],
.page .house-entrance-cta[data-button-grad="45"],
.page .store-entrance-cta[data-button-grad="45"],
.page .biz-action[data-button-grad="45"],
.page .coin-buy[data-button-grad="45"],
.page .subscribe-btn[data-button-grad="45"],
.page .circle-btn[data-button-grad="45"],
.page .qbox-send[data-button-grad="45"],
.page .wallet-copy[data-button-grad="45"],
.page .prj-visit[data-button-grad="45"],
.page .lifts-btn[data-button-grad="45"],
.page .msg-btn[data-button-grad="45"] { --sf-button-grad-angle: 45deg; }

.page[data-button-grad="90"] { --sf-button-grad-angle: 90deg; }

.page .event-cta[data-button-grad="90"],
.page .house-entrance-cta[data-button-grad="90"],
.page .store-entrance-cta[data-button-grad="90"],
.page .biz-action[data-button-grad="90"],
.page .coin-buy[data-button-grad="90"],
.page .subscribe-btn[data-button-grad="90"],
.page .circle-btn[data-button-grad="90"],
.page .qbox-send[data-button-grad="90"],
.page .wallet-copy[data-button-grad="90"],
.page .prj-visit[data-button-grad="90"],
.page .lifts-btn[data-button-grad="90"],
.page .msg-btn[data-button-grad="90"] { --sf-button-grad-angle: 90deg; }

.page[data-button-grad="135"] { --sf-button-grad-angle: 135deg; }

.page .event-cta[data-button-grad="135"],
.page .house-entrance-cta[data-button-grad="135"],
.page .store-entrance-cta[data-button-grad="135"],
.page .biz-action[data-button-grad="135"],
.page .coin-buy[data-button-grad="135"],
.page .subscribe-btn[data-button-grad="135"],
.page .circle-btn[data-button-grad="135"],
.page .qbox-send[data-button-grad="135"],
.page .wallet-copy[data-button-grad="135"],
.page .prj-visit[data-button-grad="135"],
.page .lifts-btn[data-button-grad="135"],
.page .msg-btn[data-button-grad="135"] { --sf-button-grad-angle: 135deg; }

.page[data-button-grad="180"] { --sf-button-grad-angle: 180deg; }

.page .event-cta[data-button-grad="180"],
.page .house-entrance-cta[data-button-grad="180"],
.page .store-entrance-cta[data-button-grad="180"],
.page .biz-action[data-button-grad="180"],
.page .coin-buy[data-button-grad="180"],
.page .subscribe-btn[data-button-grad="180"],
.page .circle-btn[data-button-grad="180"],
.page .qbox-send[data-button-grad="180"],
.page .wallet-copy[data-button-grad="180"],
.page .prj-visit[data-button-grad="180"],
.page .lifts-btn[data-button-grad="180"],
.page .msg-btn[data-button-grad="180"] { --sf-button-grad-angle: 180deg; }

.page[data-button-grad="225"] { --sf-button-grad-angle: 225deg; }

.page .event-cta[data-button-grad="225"],
.page .house-entrance-cta[data-button-grad="225"],
.page .store-entrance-cta[data-button-grad="225"],
.page .biz-action[data-button-grad="225"],
.page .coin-buy[data-button-grad="225"],
.page .subscribe-btn[data-button-grad="225"],
.page .circle-btn[data-button-grad="225"],
.page .qbox-send[data-button-grad="225"],
.page .wallet-copy[data-button-grad="225"],
.page .prj-visit[data-button-grad="225"],
.page .lifts-btn[data-button-grad="225"],
.page .msg-btn[data-button-grad="225"] { --sf-button-grad-angle: 225deg; }

.page[data-button-grad="270"] { --sf-button-grad-angle: 270deg; }

.page .event-cta[data-button-grad="270"],
.page .house-entrance-cta[data-button-grad="270"],
.page .store-entrance-cta[data-button-grad="270"],
.page .biz-action[data-button-grad="270"],
.page .coin-buy[data-button-grad="270"],
.page .subscribe-btn[data-button-grad="270"],
.page .circle-btn[data-button-grad="270"],
.page .qbox-send[data-button-grad="270"],
.page .wallet-copy[data-button-grad="270"],
.page .prj-visit[data-button-grad="270"],
.page .lifts-btn[data-button-grad="270"],
.page .msg-btn[data-button-grad="270"] { --sf-button-grad-angle: 270deg; }

.page[data-button-grad="315"] { --sf-button-grad-angle: 315deg; }

.page .event-cta[data-button-grad="315"],
.page .house-entrance-cta[data-button-grad="315"],
.page .store-entrance-cta[data-button-grad="315"],
.page .biz-action[data-button-grad="315"],
.page .coin-buy[data-button-grad="315"],
.page .subscribe-btn[data-button-grad="315"],
.page .circle-btn[data-button-grad="315"],
.page .qbox-send[data-button-grad="315"],
.page .wallet-copy[data-button-grad="315"],
.page .prj-visit[data-button-grad="315"],
.page .lifts-btn[data-button-grad="315"],
.page .msg-btn[data-button-grad="315"] { --sf-button-grad-angle: 315deg; }



.page[style*="--sf-social-g1"] .social-ico {
  background-image: linear-gradient(
    var(--sf-social-grad-angle, 135deg),
    var(--sf-social-g1) 0%,
    var(--sf-social-g3, color-mix(in srgb, var(--sf-social-g1) 50%, var(--sf-social-g2, var(--sf-social-g1)))) 50%,
    var(--sf-social-g2, var(--sf-social-g1)) 100%);
  background-color: transparent;
}

.page .social-ico[style*="--sf-social-g1"] {
  background-image: linear-gradient(
    var(--sf-social-grad-angle, 135deg),
    var(--sf-social-g1) 0%,
    var(--sf-social-g3, color-mix(in srgb, var(--sf-social-g1) 50%, var(--sf-social-g2, var(--sf-social-g1)))) 50%,
    var(--sf-social-g2, var(--sf-social-g1)) 100%);
  background-color: transparent;
}

.page[data-social-grad="0"] { --sf-social-grad-angle: 0deg; }

.page .social-ico[data-social-grad="0"] { --sf-social-grad-angle: 0deg; }

.page[data-social-grad="45"] { --sf-social-grad-angle: 45deg; }

.page .social-ico[data-social-grad="45"] { --sf-social-grad-angle: 45deg; }

.page[data-social-grad="90"] { --sf-social-grad-angle: 90deg; }

.page .social-ico[data-social-grad="90"] { --sf-social-grad-angle: 90deg; }

.page[data-social-grad="135"] { --sf-social-grad-angle: 135deg; }

.page .social-ico[data-social-grad="135"] { --sf-social-grad-angle: 135deg; }

.page[data-social-grad="180"] { --sf-social-grad-angle: 180deg; }

.page .social-ico[data-social-grad="180"] { --sf-social-grad-angle: 180deg; }

.page[data-social-grad="225"] { --sf-social-grad-angle: 225deg; }

.page .social-ico[data-social-grad="225"] { --sf-social-grad-angle: 225deg; }

.page[data-social-grad="270"] { --sf-social-grad-angle: 270deg; }

.page .social-ico[data-social-grad="270"] { --sf-social-grad-angle: 270deg; }

.page[data-social-grad="315"] { --sf-social-grad-angle: 315deg; }

.page .social-ico[data-social-grad="315"] { --sf-social-grad-angle: 315deg; }



.page[style*="--sf-field-g1"] .subscribe-input,
.page[style*="--sf-field-g1"] .circle-input,
.page[style*="--sf-field-g1"] .circle-cinput,
.page[style*="--sf-field-g1"] .wallet-amount,
.page[style*="--sf-field-g1"] .prj-comment-input,
.page[style*="--sf-field-g1"] .qbox-body,
.page[style*="--sf-field-g1"] .qbox-name,
.page[style*="--sf-field-g1"] .poll-opt,
.page[style*="--sf-field-g1"] .poll-result {
  background-image: linear-gradient(
    var(--sf-field-grad-angle, 135deg),
    var(--sf-field-g1) 0%,
    var(--sf-field-g3, color-mix(in srgb, var(--sf-field-g1) 50%, var(--sf-field-g2, var(--sf-field-g1)))) 50%,
    var(--sf-field-g2, var(--sf-field-g1)) 100%);
  background-color: transparent;
}

.page .subscribe-input[style*="--sf-field-g1"],
.page .circle-input[style*="--sf-field-g1"],
.page .circle-cinput[style*="--sf-field-g1"],
.page .wallet-amount[style*="--sf-field-g1"],
.page .prj-comment-input[style*="--sf-field-g1"],
.page .qbox-body[style*="--sf-field-g1"],
.page .qbox-name[style*="--sf-field-g1"],
.page .poll-opt[style*="--sf-field-g1"],
.page .poll-result[style*="--sf-field-g1"] {
  background-image: linear-gradient(
    var(--sf-field-grad-angle, 135deg),
    var(--sf-field-g1) 0%,
    var(--sf-field-g3, color-mix(in srgb, var(--sf-field-g1) 50%, var(--sf-field-g2, var(--sf-field-g1)))) 50%,
    var(--sf-field-g2, var(--sf-field-g1)) 100%);
  background-color: transparent;
}

.page[data-field-grad="0"] { --sf-field-grad-angle: 0deg; }

.page .subscribe-input[data-field-grad="0"],
.page .circle-input[data-field-grad="0"],
.page .circle-cinput[data-field-grad="0"],
.page .wallet-amount[data-field-grad="0"],
.page .prj-comment-input[data-field-grad="0"],
.page .qbox-body[data-field-grad="0"],
.page .qbox-name[data-field-grad="0"] { --sf-field-grad-angle: 0deg; }
.page .poll-opt[data-field-grad="0"] { --sf-field-grad-angle: 0deg; }
.page .poll-result[data-field-grad="0"] { --sf-field-grad-angle: 0deg; }

.page[data-field-grad="45"] { --sf-field-grad-angle: 45deg; }

.page .subscribe-input[data-field-grad="45"],
.page .circle-input[data-field-grad="45"],
.page .circle-cinput[data-field-grad="45"],
.page .wallet-amount[data-field-grad="45"],
.page .prj-comment-input[data-field-grad="45"],
.page .qbox-body[data-field-grad="45"],
.page .qbox-name[data-field-grad="45"] { --sf-field-grad-angle: 45deg; }
.page .poll-opt[data-field-grad="45"] { --sf-field-grad-angle: 45deg; }
.page .poll-result[data-field-grad="45"] { --sf-field-grad-angle: 45deg; }

.page[data-field-grad="90"] { --sf-field-grad-angle: 90deg; }

.page .subscribe-input[data-field-grad="90"],
.page .circle-input[data-field-grad="90"],
.page .circle-cinput[data-field-grad="90"],
.page .wallet-amount[data-field-grad="90"],
.page .prj-comment-input[data-field-grad="90"],
.page .qbox-body[data-field-grad="90"],
.page .qbox-name[data-field-grad="90"] { --sf-field-grad-angle: 90deg; }
.page .poll-opt[data-field-grad="90"] { --sf-field-grad-angle: 90deg; }
.page .poll-result[data-field-grad="90"] { --sf-field-grad-angle: 90deg; }

.page[data-field-grad="135"] { --sf-field-grad-angle: 135deg; }

.page .subscribe-input[data-field-grad="135"],
.page .circle-input[data-field-grad="135"],
.page .circle-cinput[data-field-grad="135"],
.page .wallet-amount[data-field-grad="135"],
.page .prj-comment-input[data-field-grad="135"],
.page .qbox-body[data-field-grad="135"],
.page .qbox-name[data-field-grad="135"] { --sf-field-grad-angle: 135deg; }
.page .poll-opt[data-field-grad="135"] { --sf-field-grad-angle: 135deg; }
.page .poll-result[data-field-grad="135"] { --sf-field-grad-angle: 135deg; }

.page[data-field-grad="180"] { --sf-field-grad-angle: 180deg; }

.page .subscribe-input[data-field-grad="180"],
.page .circle-input[data-field-grad="180"],
.page .circle-cinput[data-field-grad="180"],
.page .wallet-amount[data-field-grad="180"],
.page .prj-comment-input[data-field-grad="180"],
.page .qbox-body[data-field-grad="180"],
.page .qbox-name[data-field-grad="180"] { --sf-field-grad-angle: 180deg; }
.page .poll-opt[data-field-grad="180"] { --sf-field-grad-angle: 180deg; }
.page .poll-result[data-field-grad="180"] { --sf-field-grad-angle: 180deg; }

.page[data-field-grad="225"] { --sf-field-grad-angle: 225deg; }

.page .subscribe-input[data-field-grad="225"],
.page .circle-input[data-field-grad="225"],
.page .circle-cinput[data-field-grad="225"],
.page .wallet-amount[data-field-grad="225"],
.page .prj-comment-input[data-field-grad="225"],
.page .qbox-body[data-field-grad="225"],
.page .qbox-name[data-field-grad="225"] { --sf-field-grad-angle: 225deg; }
.page .poll-opt[data-field-grad="225"] { --sf-field-grad-angle: 225deg; }
.page .poll-result[data-field-grad="225"] { --sf-field-grad-angle: 225deg; }

.page[data-field-grad="270"] { --sf-field-grad-angle: 270deg; }

.page .subscribe-input[data-field-grad="270"],
.page .circle-input[data-field-grad="270"],
.page .circle-cinput[data-field-grad="270"],
.page .wallet-amount[data-field-grad="270"],
.page .prj-comment-input[data-field-grad="270"],
.page .qbox-body[data-field-grad="270"],
.page .qbox-name[data-field-grad="270"] { --sf-field-grad-angle: 270deg; }
.page .poll-opt[data-field-grad="270"] { --sf-field-grad-angle: 270deg; }
.page .poll-result[data-field-grad="270"] { --sf-field-grad-angle: 270deg; }

.page[data-field-grad="315"] { --sf-field-grad-angle: 315deg; }

.page .subscribe-input[data-field-grad="315"],
.page .circle-input[data-field-grad="315"],
.page .circle-cinput[data-field-grad="315"],
.page .wallet-amount[data-field-grad="315"],
.page .prj-comment-input[data-field-grad="315"],
.page .qbox-body[data-field-grad="315"],
.page .qbox-name[data-field-grad="315"] { --sf-field-grad-angle: 315deg; }
.page .poll-opt[data-field-grad="315"] { --sf-field-grad-angle: 315deg; }
.page .poll-result[data-field-grad="315"] { --sf-field-grad-angle: 315deg; }



.page[style*="--sf-icon-g1"] .link .link-icon {
  background-image: linear-gradient(
    var(--sf-icon-grad-angle, 135deg),
    var(--sf-icon-g1) 0%,
    var(--sf-icon-g3, color-mix(in srgb, var(--sf-icon-g1) 50%, var(--sf-icon-g2, var(--sf-icon-g1)))) 50%,
    var(--sf-icon-g2, var(--sf-icon-g1)) 100%);
  background-color: transparent;
}

.page .link .link-icon[style*="--sf-icon-g1"] {
  background-image: linear-gradient(
    var(--sf-icon-grad-angle, 135deg),
    var(--sf-icon-g1) 0%,
    var(--sf-icon-g3, color-mix(in srgb, var(--sf-icon-g1) 50%, var(--sf-icon-g2, var(--sf-icon-g1)))) 50%,
    var(--sf-icon-g2, var(--sf-icon-g1)) 100%);
  background-color: transparent;
}

.page[data-icon-grad="0"] { --sf-icon-grad-angle: 0deg; }

.page .link .link-icon[data-icon-grad="0"] { --sf-icon-grad-angle: 0deg; }

.page[data-icon-grad="45"] { --sf-icon-grad-angle: 45deg; }

.page .link .link-icon[data-icon-grad="45"] { --sf-icon-grad-angle: 45deg; }

.page[data-icon-grad="90"] { --sf-icon-grad-angle: 90deg; }

.page .link .link-icon[data-icon-grad="90"] { --sf-icon-grad-angle: 90deg; }

.page[data-icon-grad="135"] { --sf-icon-grad-angle: 135deg; }

.page .link .link-icon[data-icon-grad="135"] { --sf-icon-grad-angle: 135deg; }

.page[data-icon-grad="180"] { --sf-icon-grad-angle: 180deg; }

.page .link .link-icon[data-icon-grad="180"] { --sf-icon-grad-angle: 180deg; }

.page[data-icon-grad="225"] { --sf-icon-grad-angle: 225deg; }

.page .link .link-icon[data-icon-grad="225"] { --sf-icon-grad-angle: 225deg; }

.page[data-icon-grad="270"] { --sf-icon-grad-angle: 270deg; }

.page .link .link-icon[data-icon-grad="270"] { --sf-icon-grad-angle: 270deg; }

.page[data-icon-grad="315"] { --sf-icon-grad-angle: 315deg; }

.page .link .link-icon[data-icon-grad="315"] { --sf-icon-grad-angle: 315deg; }



.page[style*="--sf-photo-g1"] .cover-frame {
  background-image: linear-gradient(
    var(--sf-photo-grad-angle, 135deg),
    var(--sf-photo-g1) 0%,
    var(--sf-photo-g3, color-mix(in srgb, var(--sf-photo-g1) 50%, var(--sf-photo-g2, var(--sf-photo-g1)))) 50%,
    var(--sf-photo-g2, var(--sf-photo-g1)) 100%);
  background-color: transparent;
}

.page .cover-frame[style*="--sf-photo-g1"] {
  background-image: linear-gradient(
    var(--sf-photo-grad-angle, 135deg),
    var(--sf-photo-g1) 0%,
    var(--sf-photo-g3, color-mix(in srgb, var(--sf-photo-g1) 50%, var(--sf-photo-g2, var(--sf-photo-g1)))) 50%,
    var(--sf-photo-g2, var(--sf-photo-g1)) 100%);
  background-color: transparent;
}

.page[data-photo-grad="0"] { --sf-photo-grad-angle: 0deg; }

.page .cover-frame[data-photo-grad="0"] { --sf-photo-grad-angle: 0deg; }

.page[data-photo-grad="45"] { --sf-photo-grad-angle: 45deg; }

.page .cover-frame[data-photo-grad="45"] { --sf-photo-grad-angle: 45deg; }

.page[data-photo-grad="90"] { --sf-photo-grad-angle: 90deg; }

.page .cover-frame[data-photo-grad="90"] { --sf-photo-grad-angle: 90deg; }

.page[data-photo-grad="135"] { --sf-photo-grad-angle: 135deg; }

.page .cover-frame[data-photo-grad="135"] { --sf-photo-grad-angle: 135deg; }

.page[data-photo-grad="180"] { --sf-photo-grad-angle: 180deg; }

.page .cover-frame[data-photo-grad="180"] { --sf-photo-grad-angle: 180deg; }

.page[data-photo-grad="225"] { --sf-photo-grad-angle: 225deg; }

.page .cover-frame[data-photo-grad="225"] { --sf-photo-grad-angle: 225deg; }

.page[data-photo-grad="270"] { --sf-photo-grad-angle: 270deg; }

.page .cover-frame[data-photo-grad="270"] { --sf-photo-grad-angle: 270deg; }

.page[data-photo-grad="315"] { --sf-photo-grad-angle: 315deg; }

.page .cover-frame[data-photo-grad="315"] { --sf-photo-grad-angle: 315deg; }

/* ── Glow, consumed directly ─────────────────────────────────────────────────
   The Neon and Tint styles read their family's own glow token first, falling
   back to the page accent and then to the built-in colour. Routing it through
   --sf-accent could never work: that variable is written as an inline style on
   .page whenever an accent colour is chosen, and an inline style beats any
   stylesheet rule. */

.page[data-link-style="glow"][style*="--sf-link-glow"] .link,
.page[data-link-style="glow"] .link[style*="--sf-link-glow"],
.page .link[data-link-style="glow"][style*="--sf-link-glow"] {
  border-color: color-mix(in srgb, var(--sf-link-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-link-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-link-glow) 55%, transparent);
}

.page[data-link-style="tint"][style*="--sf-link-glow"] .link,
.page[data-link-style="tint"] .link[style*="--sf-link-glow"],
.page .link[data-link-style="tint"][style*="--sf-link-glow"] {
  border-color: color-mix(in srgb, var(--sf-link-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-link-glow) 18%, transparent);
}

.page[data-card-style="glow"][style*="--sf-card-glow"] .glass:not(.link),
.page[data-card-style="glow"][style*="--sf-card-glow"] .biz-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .subscribe-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .engage-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .circle-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .verse-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .coin-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .prj-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .qa-item,
.page[data-card-style="glow"][style*="--sf-card-glow"] .poll-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .wallet-card,
.page[data-card-style="glow"][style*="--sf-card-glow"] .circle-post,
.page[data-card-style="glow"][style*="--sf-card-glow"] .coin-post,
.page[data-card-style="glow"] .glass:not(.link)[style*="--sf-card-glow"],
.page[data-card-style="glow"] .biz-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .subscribe-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .engage-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .circle-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .verse-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .coin-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .prj-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .qa-item[style*="--sf-card-glow"],
.page[data-card-style="glow"] .poll-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .wallet-card[style*="--sf-card-glow"],
.page[data-card-style="glow"] .circle-post[style*="--sf-card-glow"],
.page[data-card-style="glow"] .coin-post[style*="--sf-card-glow"],
.page .glass:not(.link)[data-card-style="glow"][style*="--sf-card-glow"],
.page .biz-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .subscribe-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .engage-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .circle-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .verse-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .coin-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .prj-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .qa-item[data-card-style="glow"][style*="--sf-card-glow"],
.page .poll-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .wallet-card[data-card-style="glow"][style*="--sf-card-glow"],
.page .circle-post[data-card-style="glow"][style*="--sf-card-glow"],
.page .coin-post[data-card-style="glow"][style*="--sf-card-glow"] {
  border-color: color-mix(in srgb, var(--sf-card-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-card-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-card-glow) 55%, transparent);
}

.page[data-card-style="tint"][style*="--sf-card-glow"] .glass:not(.link),
.page[data-card-style="tint"][style*="--sf-card-glow"] .biz-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .subscribe-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .engage-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .circle-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .verse-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .coin-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .prj-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .qa-item,
.page[data-card-style="tint"][style*="--sf-card-glow"] .poll-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .wallet-card,
.page[data-card-style="tint"][style*="--sf-card-glow"] .circle-post,
.page[data-card-style="tint"][style*="--sf-card-glow"] .coin-post,
.page[data-card-style="tint"] .glass:not(.link)[style*="--sf-card-glow"],
.page[data-card-style="tint"] .biz-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .subscribe-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .engage-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .circle-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .verse-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .coin-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .prj-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .qa-item[style*="--sf-card-glow"],
.page[data-card-style="tint"] .poll-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .wallet-card[style*="--sf-card-glow"],
.page[data-card-style="tint"] .circle-post[style*="--sf-card-glow"],
.page[data-card-style="tint"] .coin-post[style*="--sf-card-glow"],
.page .glass:not(.link)[data-card-style="tint"][style*="--sf-card-glow"],
.page .biz-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .subscribe-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .engage-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .circle-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .verse-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .coin-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .prj-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .qa-item[data-card-style="tint"][style*="--sf-card-glow"],
.page .poll-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .wallet-card[data-card-style="tint"][style*="--sf-card-glow"],
.page .circle-post[data-card-style="tint"][style*="--sf-card-glow"],
.page .coin-post[data-card-style="tint"][style*="--sf-card-glow"] {
  border-color: color-mix(in srgb, var(--sf-card-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-card-glow) 18%, transparent);
}

.page[data-badge-style="glow"][style*="--sf-badge-glow"] .stan-badge,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .zodiac-badge,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .pronouns-tag,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .sports-pill,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .supporter-badge,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .biz-cat,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .wallet-chip,
.page[data-badge-style="glow"][style*="--sf-badge-glow"] .circle-badge,
.page[data-badge-style="glow"] .stan-badge[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .zodiac-badge[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .pronouns-tag[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .sports-pill[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .supporter-badge[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .biz-cat[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .wallet-chip[style*="--sf-badge-glow"],
.page[data-badge-style="glow"] .circle-badge[style*="--sf-badge-glow"],
.page .stan-badge[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .zodiac-badge[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .pronouns-tag[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .sports-pill[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .supporter-badge[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .biz-cat[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .wallet-chip[data-badge-style="glow"][style*="--sf-badge-glow"],
.page .circle-badge[data-badge-style="glow"][style*="--sf-badge-glow"] {
  border-color: color-mix(in srgb, var(--sf-badge-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-badge-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-badge-glow) 55%, transparent);
}

.page[data-badge-style="tint"][style*="--sf-badge-glow"] .stan-badge,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .zodiac-badge,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .pronouns-tag,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .sports-pill,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .supporter-badge,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .biz-cat,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .wallet-chip,
.page[data-badge-style="tint"][style*="--sf-badge-glow"] .circle-badge,
.page[data-badge-style="tint"] .stan-badge[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .zodiac-badge[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .pronouns-tag[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .sports-pill[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .supporter-badge[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .biz-cat[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .wallet-chip[style*="--sf-badge-glow"],
.page[data-badge-style="tint"] .circle-badge[style*="--sf-badge-glow"],
.page .stan-badge[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .zodiac-badge[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .pronouns-tag[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .sports-pill[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .supporter-badge[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .biz-cat[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .wallet-chip[data-badge-style="tint"][style*="--sf-badge-glow"],
.page .circle-badge[data-badge-style="tint"][style*="--sf-badge-glow"] {
  border-color: color-mix(in srgb, var(--sf-badge-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-badge-glow) 18%, transparent);
}

.page[data-button-style="glow"][style*="--sf-button-glow"] .event-cta,
.page[data-button-style="glow"][style*="--sf-button-glow"] .house-entrance-cta,
.page[data-button-style="glow"][style*="--sf-button-glow"] .store-entrance-cta,
.page[data-button-style="glow"][style*="--sf-button-glow"] .biz-action,
.page[data-button-style="glow"][style*="--sf-button-glow"] .coin-buy,
.page[data-button-style="glow"][style*="--sf-button-glow"] .subscribe-btn,
.page[data-button-style="glow"][style*="--sf-button-glow"] .circle-btn,
.page[data-button-style="glow"][style*="--sf-button-glow"] .qbox-send,
.page[data-button-style="glow"][style*="--sf-button-glow"] .wallet-copy,
.page[data-button-style="glow"][style*="--sf-button-glow"] .prj-visit,
.page[data-button-style="glow"][style*="--sf-button-glow"] .lifts-btn,
.page[data-button-style="glow"][style*="--sf-button-glow"] .msg-btn,
.page[data-button-style="glow"] .event-cta[style*="--sf-button-glow"],
.page[data-button-style="glow"] .house-entrance-cta[style*="--sf-button-glow"],
.page[data-button-style="glow"] .store-entrance-cta[style*="--sf-button-glow"],
.page[data-button-style="glow"] .biz-action[style*="--sf-button-glow"],
.page[data-button-style="glow"] .coin-buy[style*="--sf-button-glow"],
.page[data-button-style="glow"] .subscribe-btn[style*="--sf-button-glow"],
.page[data-button-style="glow"] .circle-btn[style*="--sf-button-glow"],
.page[data-button-style="glow"] .qbox-send[style*="--sf-button-glow"],
.page[data-button-style="glow"] .wallet-copy[style*="--sf-button-glow"],
.page[data-button-style="glow"] .prj-visit[style*="--sf-button-glow"],
.page[data-button-style="glow"] .lifts-btn[style*="--sf-button-glow"],
.page[data-button-style="glow"] .msg-btn[style*="--sf-button-glow"],
.page .event-cta[data-button-style="glow"][style*="--sf-button-glow"],
.page .house-entrance-cta[data-button-style="glow"][style*="--sf-button-glow"],
.page .store-entrance-cta[data-button-style="glow"][style*="--sf-button-glow"],
.page .biz-action[data-button-style="glow"][style*="--sf-button-glow"],
.page .coin-buy[data-button-style="glow"][style*="--sf-button-glow"],
.page .subscribe-btn[data-button-style="glow"][style*="--sf-button-glow"],
.page .circle-btn[data-button-style="glow"][style*="--sf-button-glow"],
.page .qbox-send[data-button-style="glow"][style*="--sf-button-glow"],
.page .wallet-copy[data-button-style="glow"][style*="--sf-button-glow"],
.page .prj-visit[data-button-style="glow"][style*="--sf-button-glow"],
.page .lifts-btn[data-button-style="glow"][style*="--sf-button-glow"],
.page .msg-btn[data-button-style="glow"][style*="--sf-button-glow"] {
  border-color: color-mix(in srgb, var(--sf-button-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-button-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-button-glow) 55%, transparent);
}

.page[data-button-style="tint"][style*="--sf-button-glow"] .event-cta,
.page[data-button-style="tint"][style*="--sf-button-glow"] .house-entrance-cta,
.page[data-button-style="tint"][style*="--sf-button-glow"] .store-entrance-cta,
.page[data-button-style="tint"][style*="--sf-button-glow"] .biz-action,
.page[data-button-style="tint"][style*="--sf-button-glow"] .coin-buy,
.page[data-button-style="tint"][style*="--sf-button-glow"] .subscribe-btn,
.page[data-button-style="tint"][style*="--sf-button-glow"] .circle-btn,
.page[data-button-style="tint"][style*="--sf-button-glow"] .qbox-send,
.page[data-button-style="tint"][style*="--sf-button-glow"] .wallet-copy,
.page[data-button-style="tint"][style*="--sf-button-glow"] .prj-visit,
.page[data-button-style="tint"][style*="--sf-button-glow"] .lifts-btn,
.page[data-button-style="tint"][style*="--sf-button-glow"] .msg-btn,
.page[data-button-style="tint"] .event-cta[style*="--sf-button-glow"],
.page[data-button-style="tint"] .house-entrance-cta[style*="--sf-button-glow"],
.page[data-button-style="tint"] .store-entrance-cta[style*="--sf-button-glow"],
.page[data-button-style="tint"] .biz-action[style*="--sf-button-glow"],
.page[data-button-style="tint"] .coin-buy[style*="--sf-button-glow"],
.page[data-button-style="tint"] .subscribe-btn[style*="--sf-button-glow"],
.page[data-button-style="tint"] .circle-btn[style*="--sf-button-glow"],
.page[data-button-style="tint"] .qbox-send[style*="--sf-button-glow"],
.page[data-button-style="tint"] .wallet-copy[style*="--sf-button-glow"],
.page[data-button-style="tint"] .prj-visit[style*="--sf-button-glow"],
.page[data-button-style="tint"] .lifts-btn[style*="--sf-button-glow"],
.page[data-button-style="tint"] .msg-btn[style*="--sf-button-glow"],
.page .event-cta[data-button-style="tint"][style*="--sf-button-glow"],
.page .house-entrance-cta[data-button-style="tint"][style*="--sf-button-glow"],
.page .store-entrance-cta[data-button-style="tint"][style*="--sf-button-glow"],
.page .biz-action[data-button-style="tint"][style*="--sf-button-glow"],
.page .coin-buy[data-button-style="tint"][style*="--sf-button-glow"],
.page .subscribe-btn[data-button-style="tint"][style*="--sf-button-glow"],
.page .circle-btn[data-button-style="tint"][style*="--sf-button-glow"],
.page .qbox-send[data-button-style="tint"][style*="--sf-button-glow"],
.page .wallet-copy[data-button-style="tint"][style*="--sf-button-glow"],
.page .prj-visit[data-button-style="tint"][style*="--sf-button-glow"],
.page .lifts-btn[data-button-style="tint"][style*="--sf-button-glow"],
.page .msg-btn[data-button-style="tint"][style*="--sf-button-glow"] {
  border-color: color-mix(in srgb, var(--sf-button-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-button-glow) 18%, transparent);
}

.page[data-social-style="glow"][style*="--sf-social-glow"] .social-ico,
.page[data-social-style="glow"] .social-ico[style*="--sf-social-glow"],
.page .social-ico[data-social-style="glow"][style*="--sf-social-glow"] {
  border-color: color-mix(in srgb, var(--sf-social-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-social-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-social-glow) 55%, transparent);
}

.page[data-social-style="tint"][style*="--sf-social-glow"] .social-ico,
.page[data-social-style="tint"] .social-ico[style*="--sf-social-glow"],
.page .social-ico[data-social-style="tint"][style*="--sf-social-glow"] {
  border-color: color-mix(in srgb, var(--sf-social-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-social-glow) 18%, transparent);
}

.page[data-field-style="glow"][style*="--sf-field-glow"] .subscribe-input,
.page[data-field-style="glow"][style*="--sf-field-glow"] .circle-input,
.page[data-field-style="glow"][style*="--sf-field-glow"] .circle-cinput,
.page[data-field-style="glow"][style*="--sf-field-glow"] .wallet-amount,
.page[data-field-style="glow"][style*="--sf-field-glow"] .prj-comment-input,
.page[data-field-style="glow"][style*="--sf-field-glow"] .qbox-body,
.page[data-field-style="glow"][style*="--sf-field-glow"] .qbox-name,
.page[data-field-style="glow"][style*="--sf-field-glow"] .poll-opt,
.page[data-field-style="glow"][style*="--sf-field-glow"] .poll-result,
.page[data-field-style="glow"] .subscribe-input[style*="--sf-field-glow"],
.page[data-field-style="glow"] .circle-input[style*="--sf-field-glow"],
.page[data-field-style="glow"] .circle-cinput[style*="--sf-field-glow"],
.page[data-field-style="glow"] .wallet-amount[style*="--sf-field-glow"],
.page[data-field-style="glow"] .prj-comment-input[style*="--sf-field-glow"],
.page[data-field-style="glow"] .qbox-body[style*="--sf-field-glow"],
.page[data-field-style="glow"] .qbox-name[style*="--sf-field-glow"],
.page[data-field-style="glow"] .poll-opt[style*="--sf-field-glow"],
.page[data-field-style="glow"] .poll-result[style*="--sf-field-glow"],
.page .subscribe-input[data-field-style="glow"][style*="--sf-field-glow"],
.page .circle-input[data-field-style="glow"][style*="--sf-field-glow"],
.page .circle-cinput[data-field-style="glow"][style*="--sf-field-glow"],
.page .wallet-amount[data-field-style="glow"][style*="--sf-field-glow"],
.page .prj-comment-input[data-field-style="glow"][style*="--sf-field-glow"],
.page .qbox-body[data-field-style="glow"][style*="--sf-field-glow"],
.page .qbox-name[data-field-style="glow"][style*="--sf-field-glow"],
.page .poll-opt[data-field-style="glow"][style*="--sf-field-glow"],
.page .poll-result[data-field-style="glow"][style*="--sf-field-glow"] {
  border-color: color-mix(in srgb, var(--sf-field-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-field-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-field-glow) 55%, transparent);
}

.page[data-field-style="tint"][style*="--sf-field-glow"] .subscribe-input,
.page[data-field-style="tint"][style*="--sf-field-glow"] .circle-input,
.page[data-field-style="tint"][style*="--sf-field-glow"] .circle-cinput,
.page[data-field-style="tint"][style*="--sf-field-glow"] .wallet-amount,
.page[data-field-style="tint"][style*="--sf-field-glow"] .prj-comment-input,
.page[data-field-style="tint"][style*="--sf-field-glow"] .qbox-body,
.page[data-field-style="tint"][style*="--sf-field-glow"] .qbox-name,
.page[data-field-style="tint"][style*="--sf-field-glow"] .poll-opt,
.page[data-field-style="tint"][style*="--sf-field-glow"] .poll-result,
.page[data-field-style="tint"] .subscribe-input[style*="--sf-field-glow"],
.page[data-field-style="tint"] .circle-input[style*="--sf-field-glow"],
.page[data-field-style="tint"] .circle-cinput[style*="--sf-field-glow"],
.page[data-field-style="tint"] .wallet-amount[style*="--sf-field-glow"],
.page[data-field-style="tint"] .prj-comment-input[style*="--sf-field-glow"],
.page[data-field-style="tint"] .qbox-body[style*="--sf-field-glow"],
.page[data-field-style="tint"] .qbox-name[style*="--sf-field-glow"],
.page[data-field-style="tint"] .poll-opt[style*="--sf-field-glow"],
.page[data-field-style="tint"] .poll-result[style*="--sf-field-glow"],
.page .subscribe-input[data-field-style="tint"][style*="--sf-field-glow"],
.page .circle-input[data-field-style="tint"][style*="--sf-field-glow"],
.page .circle-cinput[data-field-style="tint"][style*="--sf-field-glow"],
.page .wallet-amount[data-field-style="tint"][style*="--sf-field-glow"],
.page .prj-comment-input[data-field-style="tint"][style*="--sf-field-glow"],
.page .qbox-body[data-field-style="tint"][style*="--sf-field-glow"],
.page .qbox-name[data-field-style="tint"][style*="--sf-field-glow"],
.page .poll-opt[data-field-style="tint"][style*="--sf-field-glow"],
.page .poll-result[data-field-style="tint"][style*="--sf-field-glow"] {
  border-color: color-mix(in srgb, var(--sf-field-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-field-glow) 18%, transparent);
}

.page[data-link-style="glow"][style*="--sf-icon-glow"] .link-icon,
.link[data-link-style="glow"][style*="--sf-icon-glow"] .link-icon,
.page .link[data-link-style="glow"] .link-icon[style*="--sf-icon-glow"] {
  border-color: color-mix(in srgb, var(--sf-icon-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-icon-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-icon-glow) 55%, transparent);
}

.page[data-link-style="tint"][style*="--sf-icon-glow"] .link-icon,
.link[data-link-style="tint"][style*="--sf-icon-glow"] .link-icon,
.page .link[data-link-style="tint"] .link-icon[style*="--sf-icon-glow"] {
  border-color: color-mix(in srgb, var(--sf-icon-glow) 60%, transparent);
  background-color: color-mix(in srgb, var(--sf-icon-glow) 18%, transparent);
}

.page[style*="--sf-photo-glow"] .cover-frame,
.page .cover-frame[style*="--sf-photo-glow"] {
  border-color: color-mix(in srgb, var(--sf-photo-glow) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sf-photo-glow) 20%, transparent),
              0 8px 26px -10px color-mix(in srgb, var(--sf-photo-glow) 55%, transparent);
}
