/*
Theme Name: Josie
Theme URI: https://wordpress.loveiznothin.com
Author: built for Josie
Description: A hand-built links-and-socials theme. Collapsible monospace panels over a
  soft photographic backdrop, pastel colour-coded sections, and live social cards with
  follower counts. No page builder, no framework — every rule here is deliberate.
Version: 1.0
License: GPLv2 or later
Text Domain: josie
*/

/* ============================================================
   TOKENS
   Palette is trans-pride derived but desaturated into pastels so
   large blocks stay readable: sky, blush, mint, butter, lilac.
   Neutral is warm-biased (never a dead grey) to match the cream
   panels in the reference.
   ============================================================ */
:root {
  --ink:        #2a2130;
  --ink-soft:   #5b4d66;
  --ink-faint:  #8d7f98;

  --sky:        #bcdcf5;
  --sky-deep:   #8fc4ea;
  --blush:      #f8cfe0;
  --blush-deep: #f0a9c8;
  --mint:       #c7ecd6;
  --mint-deep:  #98d9b6;
  --butter:     #fbe9bd;
  --butter-deep:#f4d78c;
  --lilac:      #ded0f5;
  --lilac-deep: #c1a8ec;

  --paper:      #fffaf4;
  --paper-warm: #fdf3e7;
  --line:       rgba(42, 33, 48, .16);

  --shadow-sm: 0 1px 2px rgba(42,33,48,.06), 0 2px 6px rgba(42,33,48,.05);
  --shadow-md: 0 2px 6px rgba(42,33,48,.07), 0 12px 28px rgba(42,33,48,.09);
  --shadow-lg: 0 6px 18px rgba(42,33,48,.10), 0 26px 60px rgba(42,33,48,.14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
  --sans: "Outfit", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 720px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:       #f4ecf8;
    --ink-soft:  #c9b9d6;
    --ink-faint: #9a89a8;
    --paper:      #241d2b;
    --paper-warm: #2c2334;
    --line: rgba(244,236,248,.16);
    --sky:  #33506b; --sky-deep:#4b7ba3;
    --blush:#5e3b4d; --blush-deep:#8f5878;
    --mint: #2f5545; --mint-deep:#4b8a6d;
    --butter:#5b4a2a; --butter-deep:#8d7440;
    --lilac:#463a63; --lilac-deep:#6f5aa8;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow-md: 0 2px 8px rgba(0,0,0,.4), 0 14px 30px rgba(0,0,0,.35);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.45), 0 30px 70px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --ink:#f4ecf8; --ink-soft:#c9b9d6; --ink-faint:#9a89a8;
  --paper:#241d2b; --paper-warm:#2c2334; --line:rgba(244,236,248,.16);
  --sky:#33506b; --sky-deep:#4b7ba3;
  --blush:#5e3b4d; --blush-deep:#8f5878;
  --mint:#2f5545; --mint-deep:#4b8a6d;
  --butter:#5b4a2a; --butter-deep:#8d7440;
  --lilac:#463a63; --lilac-deep:#6f5aa8;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

/* Photographic backdrop, heavily softened so text never fights it.
   The reference used a hard repeated photo; this blurs and desaturates
   it into atmosphere instead of clutter. */
#backdrop {
  position: fixed;
  inset: -6%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(38px) saturate(.75) brightness(1.06);
  transform: scale(1.12);
  opacity: .5;
}
#backdrop-tint {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 12% -8%,  rgba(188,220,245,.55), transparent 70%),
    radial-gradient(900px 560px at 92% 8%,   rgba(248,207,224,.5),  transparent 70%),
    radial-gradient(1000px 700px at 50% 108%, rgba(222,208,245,.45), transparent 70%),
    linear-gradient(180deg, rgba(255,250,244,.55), rgba(255,250,244,.82));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #backdrop-tint {
    background:
      radial-gradient(1100px 620px at 12% -8%, rgba(51,80,107,.5), transparent 70%),
      radial-gradient(900px 560px at 92% 8%,  rgba(94,59,77,.45), transparent 70%),
      linear-gradient(180deg, rgba(36,29,43,.7), rgba(36,29,43,.92));
  }
  :root:not([data-theme="light"]) #backdrop { opacity: .32; }
}

.wrap { width: min(var(--wrap), calc(100% - 34px)); margin-inline: auto; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lilac-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin: 30px 0 26px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--sky), color-mix(in srgb, var(--sky) 55%, var(--lilac)));
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  align-items: center;
}
.hero-avatar {
  width: 108px; height: 108px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(255,255,255,.75);
}
.hero-domain {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin: 0 0 2px;
}
.hero-name {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 7vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero-bio {
  margin: 0;
  font-family: var(--mono);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
}
@media (max-width: 560px) {
  .hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px 18px; }
  .hero-bio { max-width: none; }
}

/* ============================================================
   SECTIONS — collapsible, colour-coded
   ============================================================ */
.section {
  margin: 0 0 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--paper);
}
.section[data-tone="blush"] { background: color-mix(in srgb, var(--blush) 46%, var(--paper)); }
.section[data-tone="mint"]  { background: color-mix(in srgb, var(--mint)  46%, var(--paper)); }
.section[data-tone="lilac"] { background: color-mix(in srgb, var(--lilac) 46%, var(--paper)); }
.section[data-tone="butter"]{ background: color-mix(in srgb, var(--butter)46%, var(--paper)); }

.section > summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 11px;
  user-select: none;
}
.section > summary::-webkit-details-marker { display: none; }
.section > summary::before {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .22s cubic-bezier(.2,.8,.3,1);
  color: var(--ink-soft);
}
.section[open] > summary::before { transform: rotate(90deg); }
.section > summary:hover { background: rgba(255,255,255,.35); }

.section-body { padding: 4px 16px 18px; display: grid; gap: 14px; }

/* ============================================================
   SOCIAL CARDS — the centrepiece
   ============================================================ */
.socials { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

.social {
  position: relative;
  display: block;
  padding: 17px 17px 15px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s;
}
.social:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* brand stripe down the left edge — the only place brand colour appears,
   so the page stays pastel rather than turning into a logo salad */
.social::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand, var(--lilac-deep));
}
.social-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.social-glyph {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand, var(--lilac-deep)) 16%, transparent);
  color: var(--brand, var(--lilac-deep));
  flex: none;
}
.social-glyph svg { width: 21px; height: 21px; fill: currentColor; }
.social-name { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.social-handle {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-faint);
  margin-top: 1px;
  word-break: break-all;
}
.social-stats { display: flex; gap: 20px; }
.stat-num {
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-label {
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-faint);
}
.social-cta {
  margin-top: 13px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 6px;
}
.social:hover .social-cta { color: var(--brand, var(--lilac-deep)); }

/* ============================================================
   LINK ROWS + RELEASE CARDS
   ============================================================ */
.linkrow {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .9rem;
  text-decoration: none;
  transition: transform .16s, box-shadow .16s;
}
.linkrow:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); }
.linkrow .arrow { margin-left: auto; color: var(--ink-faint); }

.release {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 15px;
  padding: 14px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--butter) 42%, var(--paper));
  border: 1px solid var(--line);
}
.release img { width: 74px; height: 74px; border-radius: 11px; object-fit: cover; box-shadow: var(--shadow-sm); }
.release h3 { margin: 0 0 3px; font-size: 1.06rem; letter-spacing: -.01em; }
.release p { margin: 0; font-family: var(--mono); font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  margin: 34px 0 46px;
  text-align: center;
  font-family: var(--mono);
  font-size: .84rem;
  color: var(--ink-soft);
}
.foot .heart {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blush) 62%, var(--paper));
  border: 1px solid var(--line);
}

/* theme toggle */
.toggle {
  position: fixed; right: 16px; top: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  font-size: 1rem;
}
.toggle:hover { box-shadow: var(--shadow-md); }

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

/* ============================================================
   FLOATING HEARTS + ANIMATED BUTTONS   (added 2026-09-07)
   ============================================================ */

/* keep all page content above the hearts layer */
.wrap { position: relative; z-index: 1; }

/* ---- floating hearts background ---- */
.hearts { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hearts b {
  position: absolute; bottom: -10vh;
  font-style: normal; line-height: 1; opacity: 0;
  color: var(--blush-deep);
  text-shadow: 0 0 12px rgba(240,169,200,.55);
  animation: heart-rise linear infinite;
  will-change: transform, opacity;
}
@keyframes heart-rise {
  0%   { transform: translateY(0)      translateX(0)    rotate(0deg)  scale(.85); opacity: 0; }
  12%  { opacity: .85; }
  50%  { transform: translateY(-58vh)  translateX(2.5vw) rotate(14deg) scale(1.08); }
  88%  { opacity: .7; }
  100% { transform: translateY(-118vh) translateX(-2vw) rotate(-10deg) scale(1); opacity: 0; }
}
.hearts b:nth-child(1){ left: 5%;  font-size:16px; animation-duration:15s; animation-delay:0s;    color:var(--blush-deep); }
.hearts b:nth-child(2){ left:13%;  font-size:22px; animation-duration:19s; animation-delay:2.5s;  color:var(--lilac-deep); }
.hearts b:nth-child(3){ left:21%;  font-size:12px; animation-duration:13s; animation-delay:5s;    color:var(--blush-deep); }
.hearts b:nth-child(4){ left:29%;  font-size:28px; animation-duration:22s; animation-delay:1s;    color:var(--mint-deep);  }
.hearts b:nth-child(5){ left:37%;  font-size:15px; animation-duration:16s; animation-delay:7s;    color:var(--lilac-deep); }
.hearts b:nth-child(6){ left:45%;  font-size:20px; animation-duration:18s; animation-delay:3.5s;  color:var(--blush-deep); }
.hearts b:nth-child(7){ left:53%;  font-size:13px; animation-duration:14s; animation-delay:9s;    color:var(--blush-deep); }
.hearts b:nth-child(8){ left:61%;  font-size:26px; animation-duration:21s; animation-delay:0.5s;  color:var(--lilac-deep); }
.hearts b:nth-child(9){ left:69%;  font-size:17px; animation-duration:17s; animation-delay:6s;    color:var(--blush-deep); }
.hearts b:nth-child(10){left:77%;  font-size:14px; animation-duration:15s; animation-delay:11s;   color:var(--mint-deep);  }
.hearts b:nth-child(11){left:85%;  font-size:24px; animation-duration:20s; animation-delay:4s;    color:var(--blush-deep); }
.hearts b:nth-child(12){left:92%;  font-size:12px; animation-duration:13s; animation-delay:8s;    color:var(--lilac-deep); }
.hearts b:nth-child(13){left:33%;  font-size:18px; animation-duration:23s; animation-delay:12s;   color:var(--blush-deep); }
.hearts b:nth-child(14){left:66%;  font-size:19px; animation-duration:19s; animation-delay:10s;   color:var(--blush-deep); }

/* ---- animated buttons ---- */
.social, .linkrow, .toggle {
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, color .2s ease;
}
.social { overflow: hidden; }
.social:hover  { transform: translateY(-4px) scale(1.015); box-shadow: 0 12px 28px rgba(240,169,200,.30), var(--shadow-md); }
.social:active { transform: translateY(-1px) scale(.99); }
.social::before { transition: transform .28s ease; transform-origin: left center; } /* brand stripe grows */
.social:hover::before { transform: scaleX(1.7); }
.social::after {                                            /* shimmer sweep on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.35) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.social:hover::after { transform: translateX(130%); }

.linkrow:hover  { transform: translateX(5px) scale(1.01); box-shadow: 0 6px 16px rgba(193,168,236,.28), var(--shadow-sm); }
.linkrow:active { transform: translateX(2px) scale(.995); }
.linkrow .arrow { transition: transform .28s cubic-bezier(.22,1,.36,1); }
.linkrow:hover .arrow { transform: translateX(5px); }

.toggle:hover  { transform: rotate(22deg) scale(1.1);  box-shadow: 0 6px 16px rgba(240,169,200,.32), var(--shadow-md); }
.toggle:active { transform: rotate(22deg) scale(.94); }

/* gentle staggered entrance for cards */
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero, .section { animation: card-in .55s cubic-bezier(.2,.7,.3,1) both; }
.section:nth-of-type(2){ animation-delay:.06s; }
.section:nth-of-type(3){ animation-delay:.12s; }
.section:nth-of-type(4){ animation-delay:.18s; }

/* respect reduced-motion: hide hearts entirely (existing rule already stops animation) */
@media (prefers-reduced-motion: reduce) {
  .hearts { display: none; }
}

/* ---------- ABOUT ME (data from josie-data.json, edited at /josie-edit.php) ---------- */
.aboutbox { display: grid; gap: 12px; }
.about-headline {
  margin: 0; font-size: clamp(1.15rem, 3.4vw, 1.5rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25; text-wrap: balance;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-blurb { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; max-width: 62ch; }
.about-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.about-stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 82px; padding: 9px 14px; border-radius: 13px;
  background: linear-gradient(160deg, var(--blush), var(--lilac));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.06));
}
.as-val { font-weight: 800; font-size: 1.06rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.as-lab { font-size: .64rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-faint); margin-top: 1px; }
.about-likes { display: flex; flex-wrap: wrap; gap: 7px; }
.like-chip {
  font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--mint); color: var(--ink); border: 1px solid var(--line);
}
.like-chip:nth-child(3n+2) { background: var(--blush); }
.like-chip:nth-child(3n+3) { background: var(--lilac); }


/* ---- hello wall: greetings in many languages ------------------------------- */
.hello-intro { margin: 0 0 4px; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.hello-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
.hello-card {
  position: relative; padding: 13px 15px 12px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
  display: grid; gap: 4px; align-content: start;
}
.hello-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hello-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px;
  width: 3px; border-radius: 3px; background: var(--mint-deep);
}
.hello-card:nth-child(3n+2)::before { background: var(--blush-deep); }
.hello-card:nth-child(3n+3)::before { background: var(--lilac-deep); }
.hello-hi { margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1.3; }
.hello-line { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.hello-lang {
  margin: 3px 0 0; font-size: .66rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-faint);
}
.hello-card.is-you {
  border-color: var(--blush-deep);
  box-shadow: 0 0 0 2px rgba(240,169,200,.55), var(--shadow-md);
}
.hello-badge {
  position: absolute; top: -9px; inset-inline-end: 12px;
  font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; color: #fff;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
}
.hello-card[dir="rtl"] .hello-hi,
.hello-card[dir="rtl"] .hello-line { text-align: right; }
/* the "message me in this" note; green for the three she actually chats in */
.hello-note {
  margin: 6px 0 0; font-size: .79rem; line-height: 1.5; font-weight: 600;
  color: var(--ink); text-wrap: pretty;
  padding: 7px 10px; border-radius: 12px;
  background: color-mix(in srgb, var(--butter) 55%, var(--paper));
  border: 1px solid var(--line);
}
.hello-card.is-ok .hello-note {
  background: color-mix(in srgb, var(--mint) 62%, var(--paper));
  border-color: var(--mint-deep);
}
.hello-card.is-ok::before { background: var(--mint-deep); }
.hello-card.is-ok { border-color: color-mix(in srgb, var(--mint-deep) 70%, var(--line)); }
@media (max-width: 430px) { .hello-grid { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); } }


/* ==== accounts: top bar, forms, threads ==================================== */
#jz-bar {
  position: sticky; top: 0; z-index: 9500;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; min-height: 48px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.jz-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); min-width: 0; }
.jz-brand-name { font-weight: 800; letter-spacing: -.01em; font-size: .98rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.jz-nav { margin-inline-start: 6px; display: flex; gap: 4px; }
.jz-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .86rem;
  padding: 6px 10px; border-radius: 999px; }
.jz-nav a:hover { background: var(--blush); color: var(--ink); }
.jz-auth { margin-inline-start: auto; display: flex; gap: 7px; align-items: center; }

.jz-av { border-radius: 50%; object-fit: cover; display: block; flex: none;
  border: 2px solid color-mix(in srgb, var(--blush-deep) 70%, transparent); background: var(--paper-warm); }
.jz-av-fb { display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--blush-deep), var(--lilac-deep)); }

.jz-btn, .jz-btn-ghost {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: .84rem;
  padding: 8px 15px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.1;
}
.jz-btn { color: #fff; background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep)); }
.jz-btn:hover { filter: brightness(1.07); }
.jz-btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.jz-btn-ghost:hover { background: var(--blush); }
.jz-btn-big { display: block; width: 100%; padding: 12px 16px; font-size: .95rem; margin-top: 6px; }

.jz-menu { margin-inline-start: auto; position: relative; }
.jz-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 4px 9px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.jz-menu > summary::-webkit-details-marker { display: none; }
.jz-me { font-weight: 700; font-size: .85rem; max-width: 9ch; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.jz-caret { font-size: .7rem; color: var(--ink-faint); }
.jz-drop { position: absolute; inset-inline-end: 0; top: calc(100% + 7px); min-width: 190px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 6px; display: grid; gap: 2px; }
.jz-drop a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem;
  padding: 9px 11px; border-radius: 10px; }
.jz-drop a:hover { background: var(--lilac); }
.jz-drop a.jz-out { color: #c0392b; }

.jz-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); padding: 20px; margin: 16px 0; }
.jz-card h2 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -.02em; }
.jz-sub { margin: 0 0 14px; color: var(--ink-soft); font-size: .88rem; }
.jz-hint { color: var(--ink-faint); font-weight: 500; font-size: .76rem; }
.jz-note { margin: 14px 0 0; font-size: .86rem; color: var(--ink-soft); }
.jz-card label { display: block; margin: 0 0 12px; font-weight: 700; font-size: .84rem; }
.jz-card input[type=text], .jz-card input[type=email], .jz-card input[type=password],
.jz-card input:not([type]), .jz-card textarea, .jz-card input[type=file] {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 500;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper-warm); color: var(--ink); box-sizing: border-box;
}
.jz-card textarea { resize: vertical; }
.jz-card input:focus-visible, .jz-card textarea:focus-visible {
  outline: 2px solid var(--blush-deep); outline-offset: 1px; }
.jz-check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 600 !important;
  font-size: .84rem; line-height: 1.45; }
.jz-check input { margin: 2px 0 0; width: auto !important; flex: none; }
.jz-msg { margin: 0 0 14px; padding: 10px 13px; border-radius: 12px; font-size: .86rem; font-weight: 600; }
.jz-msg-err { background: #ffe3e3; color: #8c1d18; border: 1px solid #f5b5b5; }
.jz-msg-ok { background: var(--mint); color: var(--ink); border: 1px solid var(--mint-deep); }
.jz-acc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.jz-acc-head h2 { margin: 0; }

.jz-newthread { border: 1px dashed var(--line); border-radius: 14px; padding: 14px; margin-bottom: 18px;
  background: var(--paper-warm); }
.jz-sr { margin-top: -4px; }
.jz-threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jz-threads li { display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper-warm); }
.jz-t-main { min-width: 0; flex: 1; }
.jz-t-title { display: block; font-weight: 800; text-decoration: none; color: var(--ink);
  letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jz-t-title:hover { color: var(--blush-deep); }
.jz-t-meta { margin: 2px 0 0; font-size: .76rem; color: var(--ink-faint); }
.jz-t-count { flex: none; font-weight: 800; font-size: .8rem; color: var(--ink-soft);
  background: var(--lilac); border-radius: 999px; padding: 4px 10px; }
.jz-t-h1 { margin: 6px 0 14px; font-size: clamp(1.3rem, 4vw, 1.8rem); letter-spacing: -.02em; }
.jz-crumb { margin: 0; font-size: .82rem; }
.jz-crumb a { color: var(--ink-soft); text-decoration: none; }
.jz-post { display: flex; gap: 12px; align-items: flex-start; }
.jz-post-body { min-width: 0; flex: 1; }
.jz-prose { font-size: .92rem; line-height: 1.6; }
.jz-prose p { margin: .4em 0; }
.jz-replies { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.jz-replies li { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.jz-replies li:last-child { border-bottom: 0; }
.jz-replies-h { font-size: 1rem !important; margin-bottom: 12px !important; }
.jz-legal h3 { margin: 20px 0 6px; font-size: 1rem; letter-spacing: -.01em; }
.jz-legal p { margin: 0 0 8px; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
#comments, .comment-respond { margin-top: 8px; }
.comment-respond textarea { display: block; width: 100%; font: inherit; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--paper-warm);
  color: var(--ink); box-sizing: border-box; }
.comment-respond .submit { margin-top: 8px; color: #fff; font-weight: 800; cursor: pointer;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
  border: 0; border-radius: 999px; padding: 10px 18px; font-family: inherit; }
.comment-reply-title { font-size: 1rem; margin: 0 0 8px; }
@media (max-width: 420px) {
  .jz-brand-name { display: none; }
  .jz-me { max-width: 6ch; }
}


/* ==== private messages ===================================================== */
.jz-msgbtn {
  position: relative;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
  color: #fff !important; font-weight: 800;
}
.jz-msgbtn:hover { filter: brightness(1.08); background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep)); }
.jz-unread {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  margin-inline-start: 6px; border-radius: 999px; background: #fff; color: var(--blush-deep);
  font-size: .7rem; font-weight: 800; line-height: 1; vertical-align: middle;
}
.jz-threads .jz-unread { background: var(--blush-deep); color: #fff; margin: 0; }

.jz-msgs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.jz-msg-row { display: flex; gap: 9px; align-items: flex-end; }
.jz-msg-row.is-mine { flex-direction: row-reverse; }
.jz-bubble {
  max-width: min(78%, 460px); padding: 9px 13px 7px; border-radius: 16px;
  background: var(--paper-warm); border: 1px solid var(--line);
}
.jz-msg-row.is-mine .jz-bubble {
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
  border-color: transparent; color: #fff;
}
.jz-bubble-body { font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.jz-bubble-body p { margin: 0 0 .35em; }
.jz-bubble-body p:last-child { margin-bottom: 0; }
.jz-bubble-time { display: block; margin-top: 3px; font-size: .66rem; opacity: .75; }
.jz-msg-row.is-mine .jz-bubble-time { text-align: right; }

.jz-msg-form { display: grid; gap: 8px; }
.jz-msg-form textarea {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper-warm); color: var(--ink);
  box-sizing: border-box; resize: vertical;
}
.jz-msg-form button { justify-self: end; }
@media (max-width: 420px) { .jz-bubble { max-width: 88%; } }


/* ==== likes, polls, quizzes ================================================ */
.jz-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.jz-like-form { margin: 0; }
.jz-like {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 700; line-height: 1;
  padding: 6px 12px; border-radius: 999px;
  background: var(--paper-warm); color: var(--ink-soft);
  border: 1px solid var(--line); transition: transform .12s ease, background .15s ease, color .15s ease;
}
.jz-like:hover { background: var(--blush); color: var(--ink); }
.jz-like:active { transform: scale(.94); }
.jz-like.is-mine { background: var(--blush); color: var(--blush-deep); border-color: var(--blush-deep); }
.jz-heart { font-size: .95rem; line-height: 1; }
.jz-like.is-mine .jz-heart { color: #e0357f; }
.jz-badge {
  display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px;
  background: var(--lilac); color: var(--ink); font-size: .66rem; font-weight: 700;
}

.jz-poll .jz-q { margin: 0 0 18px; }
.jz-poll .jz-q:last-of-type { margin-bottom: 10px; }
.jz-q-text { margin: 0 0 9px; font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }
.jz-opt {
  position: relative; display: flex; align-items: center; gap: 9px;
  margin: 0 0 7px; padding: 10px 13px; border-radius: 12px; cursor: pointer;
  background: var(--paper-warm); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; overflow: hidden;
}
.jz-opt:hover { border-color: var(--blush-deep); }
.jz-opt input { flex: none; margin: 0; }
.jz-opt-text { position: relative; z-index: 2; flex: 1; }
.jz-opt-n { position: relative; z-index: 2; font-size: .78rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
/* The result bar sits behind the text, filling left to right. */
.jz-bar {
  position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 1;
  background: color-mix(in srgb, var(--lilac) 70%, transparent);
  transition: width .4s cubic-bezier(.22,1,.36,1);
}
.jz-opt.is-result { cursor: default; }
.jz-opt.is-picked { border-color: var(--blush-deep); }
.jz-opt.is-picked .jz-bar { background: color-mix(in srgb, var(--blush) 80%, transparent); }
.jz-opt.is-correct { border-color: var(--mint-deep); }
.jz-opt.is-correct .jz-bar { background: color-mix(in srgb, var(--mint) 78%, transparent); }
.jz-opt.is-wrong { border-color: #e08b8b; }
.jz-opt.is-wrong .jz-bar { background: rgba(224,139,139,.35); }
.jz-tick { color: #2e7d52; font-weight: 900; margin-inline-start: 6px; }

.jz-pollbuild { margin: 10px 0 4px; border: 1px dashed var(--line); border-radius: 14px; background: var(--paper); }
.jz-pollbuild > summary {
  cursor: pointer; padding: 10px 13px; font-weight: 800; font-size: .85rem; border-radius: 14px;
}
.jz-pollbuild > summary::marker { color: var(--blush-deep); }
.jz-pollbuild-body { padding: 4px 13px 14px; }
.jz-typerow { display: grid; gap: 6px; margin-bottom: 12px; }
.jz-q-build { padding: 10px 0; border-top: 1px solid var(--line); }
.jz-q-build:first-of-type { border-top: 0; }
.jz-opts-build { display: grid; gap: 6px; margin-top: 6px; }
.jz-optrow { display: flex; align-items: center; gap: 8px; }
.jz-optrow input[type=radio] { flex: none; margin: 0; }
.jz-optrow input:not([type=radio]) { flex: 1; margin-top: 0 !important; }


/* ==== emoji bar + pictures ================================================= */
.jz-emoji { display: flex; flex-wrap: wrap; gap: 3px; margin: 6px 0 8px; }
.jz-emo {
  font-size: 1.05rem; line-height: 1; cursor: pointer; padding: 5px 6px;
  background: transparent; border: 1px solid transparent; border-radius: 9px;
}
.jz-emo:hover { background: var(--blush); border-color: var(--line); }
.jz-emo:active { transform: scale(.9); }
.jz-emoji img { width: 1.05em; height: 1.05em; vertical-align: -.15em; }

.jz-replyrow { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.jz-filebtn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: .82rem; font-weight: 700; padding: 8px 13px; border-radius: 999px;
  background: var(--paper-warm); border: 1px dashed var(--line); color: var(--ink-soft);
  margin: 0 !important;
}
.jz-filebtn:hover { border-color: var(--blush-deep); color: var(--ink); }
.jz-filebtn input[type=file] {
  width: .1px; height: .1px; opacity: 0; position: absolute; overflow: hidden; margin: 0 !important;
}
.jz-replyrow .jz-btn { margin-inline-start: auto; }
.jz-replyform { display: grid; gap: 2px; }
.jz-replyform textarea {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper-warm); color: var(--ink);
  box-sizing: border-box; resize: vertical;
}

.jz-shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.jz-shot {
  display: block; border-radius: 12px; overflow: hidden; line-height: 0;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.jz-shot:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.jz-shot img { max-width: 260px; max-height: 260px; width: auto; height: auto; object-fit: cover; }
@media (max-width: 420px) { .jz-shot img { max-width: 46vw; } }


/* ==== moderation: report, block, pin, lock, edit ========================== */
.jz-mod { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.jz-modform { margin: 0; }
.jz-modbtn {
  cursor: pointer; font: inherit; font-size: .72rem; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 999px; color: var(--ink-faint);
  background: transparent; border: 1px solid var(--line);
}
.jz-modbtn:hover { background: var(--paper-warm); color: var(--ink); border-color: var(--ink-faint); }
.jz-modbtn.is-danger:hover { background: #ffe3e3; color: #8c1d18; border-color: #e3a0a0; }
.jz-badge.is-pin { background: var(--butter); }
.jz-editbox, .jz-reportbox { display: grid; gap: 8px; margin: 10px 0 4px; }
.jz-editbox textarea, .jz-reportbox textarea {
  width: 100%; font: inherit; padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper-warm); color: var(--ink);
  box-sizing: border-box; resize: vertical;
}
.jz-reportbox textarea { border-style: dashed; }


/* ==== the AI button + chat panel =========================================== */
/* Trans-pride gradient, because that is the point of it being hers. */
#jz-ai-btn {
  position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 9600;
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 12px 20px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 900; font-size: .95rem; letter-spacing: .04em; color: #2a2130;
  background: linear-gradient(112deg, #5BCEFA 0%, #5BCEFA 22%, #F5A9B8 38%, #FFFFFF 50%, #F5A9B8 62%, #5BCEFA 78%, #5BCEFA 100%);
  box-shadow: 0 6px 18px rgba(91,206,250,.42), 0 2px 6px rgba(42,33,48,.22);
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease, filter .18s ease;
}
#jz-ai-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 28px rgba(245,169,184,.5), 0 3px 8px rgba(42,33,48,.25); }
#jz-ai-btn:active { transform: scale(.96); }
#jz-ai-btn.is-open { filter: saturate(.75) brightness(.96); }
.jz-ai-spark { font-size: 1.05rem; line-height: 1; filter: drop-shadow(0 1px 1px rgba(255,255,255,.8)); }
.jz-ai-label { text-shadow: 0 1px 0 rgba(255,255,255,.55); }

#jz-ai-panel {
  position: fixed; inset-inline-end: 18px; inset-block-end: 78px; z-index: 9600;
  width: min(380px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 48px rgba(42,33,48,.30);
  animation: jz-ai-in .22s cubic-bezier(.22,1,.36,1);
}
@keyframes jz-ai-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { #jz-ai-panel { animation: none; } #jz-ai-btn { transition: none; } }

.jz-ai-head {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: linear-gradient(100deg, #5BCEFA, #F5A9B8 45%, #ffffff 60%, #F5A9B8 78%, #5BCEFA);
  color: #2a2130; font-size: .9rem;
}
.jz-ai-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,.28); }
.jz-ai-sub { font-size: .72rem; opacity: .75; }
.jz-ai-x { margin-inline-start: auto; cursor: pointer; border: 0; background: transparent; font-size: .95rem; color: #2a2130; opacity: .7; }
.jz-ai-x:hover { opacity: 1; }

.jz-ai-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 9px; background: var(--paper-warm); }
.jz-ai-msg {
  max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: .88rem; line-height: 1.5;
  overflow-wrap: anywhere; white-space: pre-wrap;
}
.jz-ai-msg.is-ai { justify-self: start; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.jz-ai-msg.is-me { justify-self: end; color: #fff;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep)); }
.jz-ai-msg.is-thinking { color: var(--ink-faint); letter-spacing: .22em; animation: jz-pulse 1.1s ease-in-out infinite; }
@keyframes jz-pulse { 50% { opacity: .42; } }

.jz-ai-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--paper); }
.jz-ai-form textarea {
  flex: 1; font: inherit; font-size: .88rem; padding: 9px 12px; border-radius: 14px; resize: none;
  border: 1px solid var(--line); background: var(--paper-warm); color: var(--ink); box-sizing: border-box;
}
.jz-ai-form .jz-btn { align-self: flex-end; }
@media (max-width: 430px) {
  #jz-ai-btn { inset-inline-end: 12px; inset-block-end: 12px; padding: 11px 17px; }
  #jz-ai-panel { inset-inline-end: 10px; inset-inline-start: 10px; width: auto; inset-block-end: 70px; }
}


/* ==== stickers ============================================================= */
.jz-stickers { margin: 2px 0 8px; }
.jz-stickers > summary {
  cursor: pointer; display: inline-block; font-size: .8rem; font-weight: 700;
  padding: 6px 13px; border-radius: 999px; background: var(--paper-warm);
  border: 1px solid var(--line); color: var(--ink-soft); list-style: none;
}
.jz-stickers > summary::-webkit-details-marker { display: none; }
.jz-stickers > summary:hover { border-color: var(--blush-deep); color: var(--ink); }
.jz-stickergrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 6px; margin-top: 8px; padding: 10px; max-height: 230px; overflow-y: auto;
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: 14px;
}
.jz-stick {
  cursor: pointer; padding: 5px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; line-height: 0; transition: transform .14s ease, background .14s ease;
}
.jz-stick:hover { background: var(--blush); border-color: var(--line); transform: translateY(-2px); }
.jz-stick:active { transform: scale(.9); }
.jz-stick img { width: 100%; height: auto; display: block; }
.jz-sticker { width: 92px; height: 92px; vertical-align: middle; margin: 2px 4px 2px 0; }
.jz-bubble .jz-sticker { width: 74px; height: 74px; }


/* ==== profiles, badges, bell, mentions, saved ============================== */
.jz-bell {
  position: relative; display: inline-flex; align-items: center; gap: 3px;
  text-decoration: none; font-size: 1.05rem; line-height: 1;
  padding: 7px 10px; border-radius: 999px; border: 1px solid transparent;
}
.jz-bell:hover { background: var(--blush); border-color: var(--line); }
.jz-bell.has-unread { animation: jz-ring .9s ease-in-out 1; }
@keyframes jz-ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-13deg); } 60% { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .jz-bell.has-unread { animation: none; } }

.jz-prof-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.jz-prof-who h2 { margin: 0 0 2px; }
.jz-prof-about { margin: 7px 0 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.jz-prof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 14px;
  padding: 12px; border-radius: 16px; background: var(--paper-warm); border: 1px solid var(--line);
}
.jz-prof-stats > div { text-align: center; display: grid; gap: 1px; }
.jz-stat-n { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(92deg, var(--blush-deep), var(--lilac-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.jz-stat-l { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); font-weight: 700; }
.jz-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.jz-badgechip {
  display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; background: var(--lilac); color: var(--ink);
  border: 1px solid var(--line);
}
.jz-badgechip:nth-child(3n+2) { background: var(--mint); }
.jz-badgechip:nth-child(3n+3) { background: var(--butter); }
.jz-badgeicon { font-size: .9rem; line-height: 1; }
.jz-prof-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.jz-who { color: inherit; text-decoration: none; font-weight: 700; }
.jz-who:hover { color: var(--blush-deep); text-decoration: underline; }
.jz-mention {
  font-weight: 700; text-decoration: none; padding: 0 4px; border-radius: 6px;
  color: var(--lilac-deep); background: color-mix(in srgb, var(--lilac) 55%, transparent);
}
.jz-mention:hover { background: var(--lilac); }
.jz-modbtn.is-saved { background: var(--butter); color: var(--ink); border-color: var(--butter-deep); }

.jz-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.jz-noteitem {
  display: flex; align-items: center; gap: 10px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper-warm);
}
.jz-noteitem.is-new { border-color: var(--blush-deep); background: color-mix(in srgb, var(--blush) 34%, var(--paper-warm)); }
.jz-noteicon { font-size: 1rem; line-height: 1; flex: none; }
@media (max-width: 430px) {
  .jz-prof-stats { grid-template-columns: repeat(2, 1fr); }
  .jz-prof-head { gap: 12px; }
}


/* ==== reactions + threaded replies ========================================= */
.jz-reacts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jz-reactpick { position: relative; }
.jz-reactpick > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--paper-warm); border: 1px solid var(--line); color: var(--ink-soft);
}
.jz-reactpick > summary::-webkit-details-marker { display: none; }
.jz-reactpick > summary:hover { border-color: var(--blush-deep); color: var(--ink); }
.jz-reactme { font-size: 1rem; line-height: 1; }
.jz-reactme.is-empty { color: var(--ink-faint); }
.jz-reactmenu {
  position: absolute; inset-block-end: calc(100% + 7px); inset-inline-start: 0; z-index: 60;
  display: flex; gap: 2px; padding: 6px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  animation: jz-pop .16s cubic-bezier(.22,1,.36,1);
}
@keyframes jz-pop { from { opacity: 0; transform: translateY(6px) scale(.94); } }
.jz-reactmenu form { margin: 0; }
.jz-reactopt {
  cursor: pointer; border: 0; background: transparent; font-size: 1.25rem; line-height: 1;
  padding: 5px 6px; border-radius: 50%; transition: transform .14s cubic-bezier(.22,1,.36,1);
}
.jz-reactopt:hover { transform: scale(1.35) translateY(-3px); }
.jz-reactopt.is-mine { background: var(--blush); }
.jz-reactsum { display: inline-flex; gap: 4px; flex-wrap: wrap; cursor: default; }
.jz-reactchip {
  display: inline-flex; align-items: center; gap: 3px; font-size: .8rem;
  padding: 3px 9px; border-radius: 999px; background: var(--paper-warm); border: 1px solid var(--line);
}
.jz-reactchip b { font-size: .72rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.jz-kids { margin: 10px 0 0; }
.jz-kids > summary {
  cursor: pointer; list-style: none; display: inline-block; font-size: .76rem; font-weight: 700;
  color: var(--lilac-deep); padding: 4px 0;
}
.jz-kids > summary::-webkit-details-marker { display: none; }
.jz-kids > summary::before { content: "↳ "; opacity: .7; }
.jz-kids > summary:hover { text-decoration: underline; }
.jz-replies.is-nested {
  margin: 8px 0 0; padding-inline-start: 14px; gap: 12px;
  border-inline-start: 2px solid var(--line);
}
.jz-replies.is-nested li { border-bottom: 0; padding-bottom: 0; }
.jz-inlinereply { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.jz-replybtn { }

/* =====================================================================
   SEARCH, TAGS, LIGHTBOX
   ===================================================================== */

.jz-searchlink { display: inline-flex; align-items: center; gap: .35rem; }
.jz-searchform { display: flex; flex-direction: column; gap: .6rem; margin-top: .8rem; }
.jz-searchrow { display: flex; gap: .5rem; }
.jz-searchrow input {
	flex: 1; padding: .6rem .8rem; border-radius: 10px;
	border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.28);
	color: inherit; font: inherit;
}
.jz-searchrow input:focus { outline: 2px solid var(--jz-pink, #ff7ac6); outline-offset: 1px; }
.jz-filters { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.jz-filters select {
	padding: .4rem .55rem; border-radius: 9px; font: inherit; color: inherit;
	background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.16);
}

.jz-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 0; }
.jz-tag {
	display: inline-flex; align-items: center; gap: .3rem;
	padding: .15rem .55rem; border-radius: 999px; font-size: .8rem;
	text-decoration: none; color: #ffd7ef;
	background: linear-gradient(135deg, rgba(255,122,198,.22), rgba(122,190,255,.18));
	border: 1px solid rgba(255,122,198,.35);
}
.jz-tag:hover { border-color: rgba(255,122,198,.7); }
.jz-tag a { color: inherit; text-decoration: none; opacity: .7; }

#jz-lb {
	position: fixed; inset: 0; z-index: 9999; display: flex;
	align-items: center; justify-content: center;
	background: rgba(8,4,12,.94); backdrop-filter: blur(4px);
}
#jz-lb-img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.6); }
#jz-lb button {
	position: absolute; background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
	border: 1px solid rgba(255,255,255,.2); border-radius: 999px; line-height: 1;
}
#jz-lb button:hover { background: rgba(255,122,198,.35); }
.jz-lb-x { top: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 1rem; }
.jz-lb-prev, .jz-lb-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 1.7rem; }
.jz-lb-prev { left: 1rem; }
.jz-lb-next { right: 1rem; }
.jz-lb-count {
	position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
	color: rgba(255,255,255,.75); font-size: .85rem; letter-spacing: .04em;
}
@media (max-width: 560px) {
	.jz-searchword { display: none; }
	.jz-lb-prev, .jz-lb-next { width: 38px; height: 38px; font-size: 1.3rem; }
}

/* An id selector outranks the browser's own [hidden] rule, so panels that are
   positioned with display:flex stay on screen even when hidden. Say it louder. */
[hidden] { display: none !important; }

/* ---- email verification step ---- */
.jz-verify .jz-code {
	display: block; width: 100%; max-width: 280px; margin: .2rem 0 .9rem;
	padding: .7rem .9rem; border-radius: 12px; font: inherit;
	font-size: 1.9rem; letter-spacing: .5em; text-align: center;
	font-variant-numeric: tabular-nums;
	color: inherit; background: rgba(0,0,0,.3);
	border: 1px solid rgba(255,122,198,.4);
}
.jz-verify .jz-code:focus { outline: 2px solid var(--jz-pink, #ff7ac6); outline-offset: 1px; }
.jz-verify .jz-code::placeholder { color: rgba(255,255,255,.22); letter-spacing: .5em; }

/* ── AI button vs the chat bubble ────────────────────────────────────────
   Chatwoot pins its launcher to the bottom-right corner, and the AI button was
   sitting at the same 18px/18px spot — so the two rounds overlapped and the AI
   pill was buried behind the chat bubble. Lift the AI button (and its panel)
   above the launcher so both are reachable. ── */
#jz-ai-btn { inset-block-end: 96px !important; }
#jz-ai-panel { inset-block-end: 156px !important; max-height: min(560px, calc(100vh - 210px)) !important; }
@media (max-width: 560px) {
  #jz-ai-btn { inset-block-end: 88px !important; }
  #jz-ai-panel { inset-block-end: 148px !important; }
}

/* ── the word "ordinary" ─────────────────────────────────────────────────
   Blue highlight, pink letters, and on hover it quietly says when the code
   opens by itself. Keyboard-focusable too, so it is not mouse-only, and the
   bubble is positioned so it cannot run off the side of a phone screen. ── */
.jz-ordinary {
	position: relative;
	color: #ff5fa2;
	font-weight: 800;
	background: linear-gradient(180deg, rgba(91,206,250,.30), rgba(91,206,250,.55));
	border-radius: 5px;
	padding: 0 .22em;
	cursor: help;
	text-decoration: underline dotted rgba(255,95,162,.55);
	text-underline-offset: 3px;
	outline: none;
}
.jz-ordinary::after {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 9px);
	transform: translateX(-50%) translateY(4px);
	white-space: nowrap;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(135deg, #2b1b33, #43244d);
	border: 1px solid rgba(255,95,162,.55);
	border-radius: 9px;
	padding: 6px 11px;
	box-shadow: 0 8px 22px rgba(0,0,0,.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity .16s ease, transform .16s ease;
	z-index: 40;
}
.jz-ordinary::before {            /* the little arrow under the bubble */
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%) translateY(4px);
	border: 5px solid transparent;
	border-top-color: rgba(255,95,162,.55);
	opacity: 0;
	transition: opacity .16s ease, transform .16s ease;
	z-index: 40;
}
.jz-ordinary:hover::after, .jz-ordinary:focus::after,
.jz-ordinary:hover::before, .jz-ordinary:focus::before {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
@media (max-width: 420px) {
	.jz-ordinary::after { white-space: normal; width: 11em; text-align: center; }
}


/* ---- Pointers she asked for (2026-09-24): about me, instagram, the AI button ---- */
.jz-point { display: inline-block; margin-inline-start: .45em; font-size: .78em; font-weight: 800;
  color: #ff5ca8; letter-spacing: .01em; animation: jzNudgeX 1.1s ease-in-out infinite, jzBlink 1.6s ease-in-out infinite; }
.jz-point-down { animation-name: jzNudgeY, jzBlink; }
details[open] > summary .jz-point-about { display: none; }          /* gone once she's got them to open it */
@keyframes jzNudgeX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@keyframes jzNudgeY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes jzBlink  { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.social.jz-glow { animation: jzGlow 2s ease-in-out infinite; }
@keyframes jzGlow { 0%, 100% { box-shadow: 0 0 0 2px #e1306c55, 0 0 14px #e1306c55; }
                    50%      { box-shadow: 0 0 0 3px #e1306caa, 0 0 26px #e1306caa; } }
.jz-ai-hint { position: fixed; inset-inline-end: 92px; inset-block-end: 28px; z-index: 9600;
  background: #fff; color: #d6336c; font-weight: 800; font-size: 14px; padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); pointer-events: none; animation: jzHint 1.1s ease-in-out infinite; }
@keyframes jzHint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@media (prefers-reduced-motion: reduce) { .jz-point, .social.jz-glow, .jz-ai-hint { animation: none; } }


/* ---- Live server dashboard (2026-09-24) ---- */
.jz-live { font-size: .72em; font-weight: 800; color: #1f9d55; margin-inline-start: .4em; animation: jzBlink 1.6s ease-in-out infinite; }
.jz-srv { background: #1d1726; color: #f4e9ff; border-radius: var(--r-sm, 10px); padding: 12px 14px 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55;
  box-shadow: inset 0 0 0 2px #ff5ca855, 0 6px 20px rgba(29,23,38,.25); overflow: hidden; }
.jz-srv-title { text-align: center; font-weight: 800; letter-spacing: .12em; color: #ff8cc6; margin-bottom: 6px;
  border-bottom: 1px dashed #ff8cc655; padding-bottom: 5px; }
.jz-srv-row { display: flex; gap: 10px; white-space: nowrap; }
.jz-srv-k { flex: 0 0 4.6em; color: #b9a6d6; }
.jz-srv-v { overflow: hidden; text-overflow: ellipsis; }
.jz-srv-v.on { color: #6ee7a8; font-weight: 800; } .jz-srv-v.off { color: #ff6b8b; font-weight: 800; }
.jz-srv-when { text-align: right; font-size: 11px; color: #8d7f98; margin-top: 4px; }
.jz-hw { margin-top: 12px; background: var(--paper-warm, #fdf3e7); border-radius: var(--r-sm, 10px); padding: 10px 12px;
  font-size: 13.5px; line-height: 1.5; box-shadow: var(--shadow-sm); }
.jz-hw .jz-srv-row { white-space: normal; } .jz-hw .jz-srv-k { flex-basis: 5.6em; color: var(--ink-faint, #8d7f98); font-weight: 700; }
.jz-hw-title { font-weight: 800; margin-bottom: 4px; }
.jz-sites-head { margin: 14px 0 6px; font-weight: 800; }
.jz-sg { margin: 4px 0; } .jz-sg > summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.jz-sg-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 8px; }
.jz-chip { font-size: 12px; padding: 2px 8px 2px 18px; border-radius: 999px; background: var(--paper, #fffaf4);
  box-shadow: var(--shadow-sm); position: relative; }
.jz-chip::before { content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; }
.jz-chip.is-up::before { background: #22c55e; } .jz-chip.is-down::before { background: #ef4444; } .jz-chip.is-sleeping::before { background: #a3a3a3; }
.jz-chip.is-down { color: var(--ink-faint, #8d7f98); }
.jz-srv-note { font-size: 12.5px; color: var(--ink-faint, #8d7f98); margin-top: 8px; }
