/* =========================================================
   Miyuki Hano — site styles
   Layout uses flexbox only (maps to Elementor flex containers).
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens (become Elementor Global Colors / Fonts) ---------- */
:root {
  --bg: #121d18;
  --bg-2: #18261f;
  --bg-3: #20322a;
  --surface: #1c2c24;
  --line: rgba(169, 236, 171, 0.17);
  --line-strong: rgba(169, 236, 171, 0.36);

  --mint: #8bd08e;
  --mint-bright: #b4f0b6;
  --mint-deep: #3f8f4c;
  --blush: #ffa3b8;
  --blush-deep: #f0708f;
  --cream: #f4f8f0;
  --text: #eef5ee;
  --muted: #adc1b4;
  --ink: #0b1310;

  --tier-wallpapers: #ff5f63;
  --tier-waifu: #4fb6ff;
  --tier-miyuki: #4fdc6e;
  --tier-bfgf: #a874ff;
  --tier-daddy: #ff8b3d;
  --tier-husband: #f28ad8;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --section-pad: clamp(72px, 10vw, 136px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* soft mint glow behind everything */
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(139, 208, 142, 0.16), transparent 70%),
    radial-gradient(50vw 40vh at -10% 30%, rgba(255, 163, 184, 0.08), transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-bright); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0 0 0.5em; color: var(--cream); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mint-bright); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }

/* Section background variants (Elementor: container Background + Shape Divider) */
/* Opaque so its bottom edge exactly matches the wave below (#16221c = page bg + 3% mint) */
.section--mint { background: linear-gradient(180deg, #1b2a22, #16221c); border-top: 1px solid var(--line); }
/* Socials section: slow-turning soft color wheel (Instagram-ish pinks/purples + mint) over drifting diagonal ribbons.
   The bottom fades back to #16221c so it still meets the wave below seamlessly. */
#socials, .section--ribbons { position: relative; overflow: hidden; isolation: isolate; }
#socials::before, .section--ribbons::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; z-index: -2; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(139, 208, 142, 0.16), rgba(255, 126, 182, 0.14), rgba(168, 116, 255, 0.13), rgba(249, 161, 74, 0.09), rgba(139, 208, 142, 0.16));
  filter: blur(40px);
  animation: socials-spin 40s linear infinite;
}
#socials::after, .section--ribbons::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22, 34, 28, 0) 65%, #16221c 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 22px, transparent 22px 64px);
  background-size: auto, 181px 181px;
  animation: socials-ribbons 12s linear infinite;
}
@keyframes socials-spin { to { transform: rotate(360deg); } }
@keyframes socials-ribbons { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 181px 0; } }
#socials .feed-tab:not([aria-selected="true"]), #socials .feed-panel { background: rgba(28, 44, 36, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.section--dots {
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(169, 236, 171, 0.11) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
}
.section--blush { background: linear-gradient(170deg, #2e1f28 0%, #281f25 60%, #241e23 100%); padding-block: calc(var(--section-pad) + 40px); }
/* Home "A Little Taste": less gap under the socials */
.section--blush[aria-labelledby="fresh-title"] { padding-top: calc(var(--section-pad) - 30px); }
.section--blush .section-eyebrow { color: var(--blush); }
.section--blush .section-title em { color: var(--blush); }
.section-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.section--blush > .container { position: relative; z-index: 1; }
.section--blush > .shape-divider { z-index: 1; }
.shape-divider { position: absolute; left: 0; right: 0; height: clamp(36px, 5.5vw, 84px); line-height: 0; pointer-events: none; }
.shape-divider svg { width: 100%; height: 100%; display: block; }
.shape-divider--top { top: -1px; }

.shape-divider--from-mint svg { fill: #16221c; }
.shape-divider--dotted-bottom {
  bottom: -1px;
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(169, 236, 171, 0.11) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  background-position: 0 100%;
  animation: dots-drift-bottom 5s linear infinite;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M1440,60 H0 V42 C260,-10 500,60 720,26 C940,-8 1180,58 1440,20 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M1440,60 H0 V42 C260,-10 500,60 720,26 C940,-8 1180,58 1440,20 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Section headings ---------- */
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head--flush { margin: 0; }
.section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; gap: 24px; flex-wrap: wrap; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint);
}
.section-eyebrow::before { content: ""; width: 24px; height: 21px; background: url("../img/logo-heart.png") center / contain no-repeat; }
.section-title { font-size: clamp(2.3rem, 5.2vw, 4.2rem); margin: 0; }
.section-title em, .hero-headline em, .page-hero__title em { font-style: normal; color: var(--mint); }
.section-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin: 0; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: transparent; --btn-fg: var(--cream); --btn-line: var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--btn-line); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { color: var(--btn-fg); border-color: var(--mint); }

.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { --btn-bg: var(--mint); --btn-fg: var(--ink); --btn-line: var(--mint); box-shadow: 0 10px 30px -10px rgba(139, 208, 142, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.btn--primary:hover { --btn-bg: var(--mint-bright); box-shadow: 0 16px 40px -12px rgba(139, 208, 142, 0.9), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }

.btn--ghost:hover { background: rgba(139, 208, 142, 0.08); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.15rem; }

/* ---------- Sale banner ---------- */
.sale-banner {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap;
  padding: 10px 52px 10px 20px;
  background: linear-gradient(90deg, var(--blush-deep), var(--blush) 50%, var(--mint) 100%);
  color: var(--ink); font-size: 0.95rem; text-align: center;
}
.sale-banner[hidden] { display: none; }
.sale-banner__text { margin: 0; }
.sale-banner__text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.sale-banner__countdown { font-family: var(--font-display); font-weight: 600; background: rgba(11, 19, 16, 0.14); padding: 2px 12px; border-radius: 999px; }
.sale-banner__countdown:empty { display: none; }
.sale-banner__cta { color: var(--ink); font-weight: 700; }
.sale-banner__cta:hover { color: var(--ink); }
.sale-banner__close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(11, 19, 16, 0.12); color: var(--ink); cursor: pointer; font-size: 1.3rem; line-height: 1;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
/* Blur lives on a pseudo-element so the fixed mobile menu isn't trapped inside the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 29, 24, 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(18, 29, 24, 0.9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex: none; }
.site-logo__mark { width: 40px; height: 40px; transition: transform 0.4s var(--ease-spring); }
.site-logo:hover .site-logo__mark { transform: rotate(-10deg) scale(1.08); }
.site-logo__text { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.site-logo__text span { color: var(--mint); }

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav__link, .site-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__link:hover, .site-nav__toggle:hover { background: rgba(139, 208, 142, 0.1); color: var(--cream); }
.site-nav__link[aria-current="page"], .site-nav__toggle.is-current { color: var(--mint); }
.site-nav__toggle svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.site-nav__item--dropdown { position: relative; }
.site-nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 150px;
  list-style: none; padding: 6px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
}
.site-nav__item--dropdown.is-open .site-nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-nav__item--dropdown.is-open .site-nav__toggle svg { transform: rotate(180deg); }
.site-nav__dropdown a { display: flex; flex-direction: column; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--cream); font-family: var(--font-display); font-weight: 600; }
.site-nav__dropdown a small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.site-nav__dropdown a:hover { background: rgba(139, 208, 142, 0.1); }
.site-nav__dropdown a[aria-current="page"] { background: rgba(139, 208, 142, 0.16); color: var(--mint); }

.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--cream); cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.icon-btn:hover { background: rgba(139, 208, 142, 0.1); border-color: var(--mint); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.signin-link { font-family: var(--font-display); font-weight: 600; color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.signin-link:hover { color: var(--mint); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; flex: none;
}
.menu-toggle__bar { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform 0.3s var(--ease-out), opacity 0.2s ease; }
.menu-toggle__bar:nth-child(1) { top: 17px; }
.menu-toggle__bar:nth-child(2) { top: 23px; }
.menu-toggle__bar:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Header search: small dropdown under the magnifying glass ---------- */
.nav-search { position: relative; }
.nav-search__pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  display: flex; align-items: center; gap: 6px; width: 320px; padding: 6px 6px 6px 16px;
  border-radius: 999px; background: var(--bg-3); border: 1.5px solid var(--line-strong);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
}
.nav-search.is-open .nav-search__pop { opacity: 1; visibility: visible; transform: none; }
.nav-search.is-open .nav-search__toggle { background: rgba(139, 208, 142, 0.14); border-color: var(--mint); }
.nav-search__input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--cream); font: 500 0.98rem var(--font-body); outline: none; }
.nav-search__input::placeholder { color: var(--muted); }
.nav-search__input::-webkit-search-cancel-button { filter: invert(0.7); }
.nav-search__go { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--ink); cursor: pointer; transition: background-color 0.2s ease; }
.nav-search__go:hover { background: var(--mint-bright); }
.nav-search__go svg { width: 18px; height: 18px; }
.nav-search__pop:focus-within { border-color: var(--mint); }

/* ---------- Search field (Home finder band, Characters/Animes pages) ---------- */
.search-field { display: flex; gap: 10px; align-items: center; }
.search-field__input {
  flex: 1; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--cream);
  font: 500 1.1rem var(--font-body);
}
.search-field__input::placeholder { color: var(--muted); }
.search-field__input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(139, 208, 142, 0.18); }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(80vw 60vh at 50% 0%, rgba(139, 208, 142, 0.18), transparent 70%), rgba(6, 11, 9, 0.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.age-ok .age-gate { display: none; }
.age-gate.is-leaving { opacity: 0; transition: opacity 0.45s ease; }
.age-gate__card {
  width: 100%; max-width: 520px; padding: 40px 32px 32px; text-align: center;
  border-radius: var(--radius-lg); background: var(--bg-3); border: 2px solid var(--mint);
  box-shadow: 0 30px 80px -30px rgba(139, 208, 142, 0.5);
}
.age-gate__logo { width: 260px; margin: 0 auto 18px; }
.age-gate__title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 12px; }
.age-gate__text { color: var(--muted); }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.age-gate__fine { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Hero (showpiece) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 0; isolation: isolate; }
.hero__backdrop { position: absolute; inset: -10% 0 0; z-index: -2; }
.hero-backdrop { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.9) blur(1.5px); }
.hero__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 29, 24, 0.25) 0%, var(--bg) 94%), linear-gradient(90deg, rgba(18, 29, 24, 0.85) 0%, transparent 55%); }
.hero__particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(820px, calc(100svh - var(--header-h) - 160px)); }
.hero__copy { flex: 1 1 52%; display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.hero-eyebrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(139, 208, 142, 0.12); border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; color: var(--mint-bright);
}
.hero-eyebrow img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hero-headline { font-size: clamp(2.9rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.025em; margin: 0; }
.hero-headline .word { display: inline-block; }
.hero-subhead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 560px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 12px 34px;  list-style: none; margin-top: 8px; }
.hero-disclaimer { margin: -10px 0 0; font-size: 0.85rem; color: var(--muted); max-width: 560px; }   /* small line right under the description */
.hero-stat { display: flex; flex-direction: column; }
.hero-stat__value { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--cream); line-height: 1.1; }
.hero-stat__label { font-size: 0.88rem; color: var(--muted); }

.hero__art { flex: 1 1 48%; position: relative; height: clamp(440px, 46vw, 640px); }
.hero-card { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); background: var(--bg-3); will-change: transform; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card--main { width: 66%; aspect-ratio: 1 / 1; right: 6%; top: 10%; z-index: 3; rotate: 3deg; border-color: var(--mint); }
.hero-card--back { width: 62%; aspect-ratio: 16 / 10; left: 0; top: 0; z-index: 1; rotate: -8deg; border-color: var(--cream); opacity: 0.9; }
.hero-card--side { width: 62%; aspect-ratio: 16 / 10; left: 0; bottom: 0; z-index: 4; rotate: -5deg; border-color: var(--blush); }
.hero-card--side img { object-position: 62% 30%; }
.hero-sticker {
  position: absolute; right: -2%; bottom: 6%; z-index: 5; rotate: 6deg; margin: 0;
  padding: 16px 26px; border-radius: 22px;
  background: linear-gradient(135deg, var(--mint-bright) 0%, var(--mint) 55%, #6fc07a 100%);
  color: var(--ink); border: 3px solid var(--cream);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.1; text-align: center;
  box-shadow: 0 0 0 6px rgba(139, 208, 142, 0.18), 0 18px 40px -12px rgba(139, 208, 142, 0.75);
  animation: sticker-bob 3.2s ease-in-out infinite;
}
.hero-sticker__spark { position: absolute; top: -16px; left: -12px; font-size: 1.6rem; color: var(--blush); text-shadow: 0 0 12px rgba(255, 163, 184, 0.9); animation: sticker-spark 1.8s ease-in-out infinite; }
@keyframes sticker-bob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.04); } }
@keyframes sticker-spark { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 50% { opacity: 0.55; transform: scale(0.75) rotate(25deg); } }

/* Rotating waifu strip */
.waifu-strip { position: relative;  padding: 22px 0 clamp(48px, 6vw, 80px); }
.waifu-strip__foot { display: flex; justify-content: center; margin-top: 28px; }
.waifu-strip__viewport { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.waifu-strip__track { display: flex; gap: 18px; width: max-content; list-style: none; }

.waifu-strip__viewport:hover .waifu-strip__track, .waifu-strip__viewport:focus-within .waifu-strip__track { animation-play-state: paused; }
.waifu-strip.is-js .waifu-strip__track { animation: none; will-change: transform; }
/* Edge arrows: hint that hovering the sides scrolls; faint until the strip is hovered */
.waifu-strip__nav { position: absolute; top: 38%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1.5px solid var(--line-strong); background: rgba(18, 29, 24, 0.75); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity 0.25s ease, transform 0.25s var(--ease-spring), background-color 0.2s ease, border-color 0.2s ease; }
.waifu-strip__nav svg { width: 22px; height: 22px; }
.waifu-strip__nav--prev { left: 14px; }
.waifu-strip__nav--prev svg { transform: rotate(180deg); }
.waifu-strip__nav--next { right: 14px; }
.waifu-strip__viewport:hover .waifu-strip__nav, .waifu-strip__nav:focus-visible { opacity: 0.9; }
.waifu-strip__nav { opacity: 0.45; }
.waifu-strip__nav:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.waifu-strip.is-going-back .waifu-strip__nav--prev, .waifu-strip.is-going-forward .waifu-strip__nav--next { opacity: 1; background: var(--mint); border-color: var(--mint); color: var(--ink); transform: scale(1.08); }
@media (hover: none) { .waifu-strip__nav { opacity: 0.85; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.waifu-chip { display: flex; flex-direction: column; gap: 10px; width: 210px; text-decoration: none; color: var(--cream); }
.waifu-chip__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line-strong); }
.waifu-chip__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease-out); }
.waifu-chip:hover .waifu-chip__media img { transform: scale(1.06); }
.waifu-chip:hover .waifu-chip__media { border-color: var(--mint); }
.waifu-chip__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.1; }
.waifu-chip__series { font-size: 0.85rem; color: var(--muted); margin-top: -6px; }

/* ---------- Social feed tabs (Elementor: Tabs widget; tile rows = feed plugin slots) ---------- */
.section-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--donate { --btn-bg: rgba(255, 163, 184, 0.14); --btn-line: var(--blush); --btn-fg: var(--cream); min-height: 76px; padding: 0 46px; font-size: 1.5rem; gap: 12px; }
.btn--donate svg { width: 30px; height: 30px; color: var(--blush); }
.btn--donate:hover { --btn-bg: var(--blush); --btn-fg: var(--ink); background: var(--btn-bg); border-color: var(--blush); box-shadow: 0 14px 34px -12px var(--blush); }
.btn--donate:hover svg { color: var(--ink); }
.feed-tabs { display: flex; flex-direction: column; gap: 18px; }
.feed-tabs__list { display: flex; gap: 12px; }
.feed-tabs__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.feed-tab {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  cursor: pointer; text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-spring);
}
.feed-tab:hover { border-color: var(--mint); transform: translateY(-2px); }
.feed-tab[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.feed-tab__icon, .feed-panel__avatar { display: flex; align-items: center; justify-content: center; flex: none; background: var(--mint); color: var(--ink); }
.feed-tab__icon { width: 48px; height: 48px; border-radius: 14px; }
.feed-tab__icon svg { width: 24px; height: 24px; }
.feed-tab__text { display: flex; flex-direction: column; line-height: 1.2; }
.feed-tab__label { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; }
.feed-tab__handle { font-size: 1rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-tab__text { min-width: 0; }
.feed-tab[aria-selected="true"] .feed-tab__handle { color: rgba(11, 19, 16, 0.65); }
.feed-tab--instagram .feed-tab__icon, .feed-panel--instagram .feed-panel__avatar { background: linear-gradient(45deg, #f9a14a, #e6457a 55%, #9a4fd0); color: #fff; }
.feed-tab--x .feed-tab__icon, .feed-panel--x .feed-panel__avatar { background: #000; color: #fff; }
/* Patreon brand coral */
.feed-tab--patreon .feed-tab__icon, .feed-panel--patreon .feed-panel__avatar { background: #ff424d; color: #fff; }

.feed-panel { padding: clamp(16px, 2.5vw, 26px); border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line-strong); }
.feed-panel[hidden] { display: none; }
.feed-panel.is-entering { animation: feed-in 0.45s var(--ease-out); }
@keyframes feed-in { from { opacity: 0; transform: translateY(10px); } }
.feed-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.feed-panel__avatar { width: 52px; height: 52px; border-radius: 50%; }
.feed-panel__avatar svg { width: 24px; height: 24px; }
.feed-panel__info { flex: 1 1 160px; min-width: 0; }
.feed-panel__title { margin: 0; font-size: 1.35rem; }
.feed-panel__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }

.feed-grid { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.feed-tile { flex: 1 1 calc(16.666% - 10px); min-width: 0; }
.feed-tile.is-entering { animation: card-in 0.5s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.feed-tile__link { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.feed-tile__img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease-out); }
.feed-tile__link:hover .feed-tile__img { transform: scale(1.07); }
.feed-tile__badge {
  position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(18, 29, 24, 0.75); color: var(--cream);
  opacity: 0; transform: scale(0.8); transition: opacity 0.2s ease, transform 0.25s var(--ease-spring);
}
.feed-tile__badge svg { width: 15px; height: 15px; }
.feed-tile__link:hover .feed-tile__badge, .feed-tile__link:focus-visible .feed-tile__badge { opacity: 1; transform: none; }
.feed-tile.is-locked .feed-tile__img { filter: blur(14px) saturate(1.2); transform: scale(1.15); }
.feed-tile__lock { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); }
.feed-tile__lock svg { width: 20px; height: 20px; }

/* ---------- Preview gallery (clear + locked) ---------- */
.preview-row { display: flex; flex-wrap: wrap; gap: 18px; }
.preview-card { position: relative; flex: 1 1 calc(25% - 18px); min-width: 220px; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1.5px solid var(--line); }
.preview-card--wide { flex-basis: calc(50% - 18px); }
.preview-card__img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.preview-card--wide .preview-card__img { aspect-ratio: auto; min-height: 100%; }
.preview-card:hover .preview-card__img { transform: scale(1.04); }
.preview-card__caption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preview-card__name { padding: 6px 14px; border-radius: 999px; background: rgba(11, 19, 16, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--cream); }
.preview-card.is-locked .preview-card__img { filter: blur(22px) saturate(1.2); transform: scale(1.15); }
.preview-card__lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center;
  background: linear-gradient(180deg, rgba(11, 19, 16, 0.15), rgba(11, 19, 16, 0.65));
}
.preview-card__lock-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); }
.preview-card__lock-icon svg { width: 24px; height: 24px; }
.preview-card__tier { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--cream); font-size: 1.05rem; }

/* ---------- Tier teaser cards ---------- */
.tier-teaser-row { display: flex; flex-wrap: wrap; gap: 20px; }
.tier-teaser {
  --tier: var(--mint);
  flex: 1 1 calc(33.333% - 20px); min-width: 260px;
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  background: var(--surface); border: 1.5px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.35s ease;
}
.tier-teaser:hover { transform: translateY(-6px); border-color: var(--tier); box-shadow: 0 30px 60px -30px var(--tier); }
.tier-teaser__img { aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; width: 100%; border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0; }
.tier-teaser__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.tier-teaser__name { margin: 0; font-size: 1.6rem; color: var(--tier); }
.tier-teaser__price { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--cream); line-height: 1; }
.tier-teaser__price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.tier-teaser .btn { margin-top: auto; }
.tier-teaser__price { margin-bottom: 10px; }
.tier-teaser-row--featured .tier-teaser__name { text-align: center; font-size: clamp(1.75rem, 2.4vw, 2.1rem); }
/* Perk bullets styled after the tier banners: bold rounded type, key words in tier colors */
.tier-teaser__perks { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 2px 0 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.25vw, 1.16rem); line-height: 1.3; color: var(--cream); overflow-wrap: anywhere; }
.tier-teaser__perks li { position: relative; padding-left: 18px; }
.tier-teaser__perks li::before { content: ""; position: absolute; left: 2px; top: 0.48em; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }
.tier-teaser__perks li.perk--sub { padding-left: 34px; margin-top: -3px; font-style: italic; font-weight: 500; font-size: 0.9em; color: var(--text); }
.tier-teaser__perks li.perk--sub::before { left: 19px; width: 6px; height: 6px; background: transparent; border: 1.5px solid var(--muted); }
.hl { color: var(--tier); }
.hl--prev { color: var(--prev-tier, var(--tier)); }

/* Featured teasers: always lit in their tier color */
.tier-teaser-row--featured .tier-teaser { border-color: color-mix(in srgb, var(--tier) 45%, transparent); box-shadow: 0 20px 50px -40px var(--tier); }
.tier-teaser-row--featured .tier-teaser:hover { transform: translateY(-8px); border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier), 0 30px 80px -24px var(--tier), 0 0 60px -20px var(--tier); }
.tier-teaser-row--featured .tier-teaser .btn { --btn-bg: var(--tier); --btn-fg: var(--ink); --btn-line: var(--tier); box-shadow: 0 10px 26px -14px var(--tier); }
.tier-teaser-row--featured .tier-teaser .btn:hover { --btn-bg: color-mix(in srgb, var(--tier) 78%, #fff); background: var(--btn-bg); border-color: var(--btn-bg); box-shadow: 0 14px 34px -12px var(--tier); }
.section-foot { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(32px, 4vw, 48px); }
/* Full-width sale strip at the bottom of a section; same look and on/off switch as the top banner */
.sale-banner--strip { margin-top: clamp(40px, 5vw, 64px); padding: 14px 20px; font-size: 1rem; z-index: 1; }
.section:has(> .sale-banner--strip:not([hidden])) { padding-bottom: 0; }
.btn--soft { --btn-bg: rgba(139, 208, 142, 0.16); --btn-line: rgba(139, 208, 142, 0.55); }
.btn--soft:hover { --btn-bg: rgba(139, 208, 142, 0.3); --btn-line: var(--mint); background: var(--btn-bg); }

/* Ambient background: slow, self-running color drift + a sweep of brighter dots.
   Pure CSS animation on pseudo-elements; no content involved. */
.section--ambient { isolation: isolate; overflow: hidden; animation: dots-drift 5s linear infinite; }
.section--ambient { padding-top: clamp(36px, 4.5vw, 60px); padding-bottom: clamp(56px, 6.5vw, 92px); }
.section--ambient .section-head { margin-bottom: clamp(48px, 4.5vw, 60px); }
.section--ambient::before, .section--ambient::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.section--ambient::before {
  inset: -30%;
  background:
    radial-gradient(28% 30% at 25% 50%, rgba(79, 182, 255, 0.13), transparent 70%),
    radial-gradient(26% 28% at 75% 55%, rgba(168, 116, 255, 0.13), transparent 70%),
    radial-gradient(30% 30% at 50% 80%, rgba(79, 220, 110, 0.11), transparent 70%);
  animation: ambient-drift 28s ease-in-out infinite alternate;
}
.section--ambient::after {
  inset: 0;
  background-image: radial-gradient(rgba(180, 240, 182, 0.42) 1.4px, transparent 2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-size: 760px 560px; mask-size: 760px 560px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: dot-sweep 22s ease-in-out infinite alternate, dots-drift 5s linear infinite;
}
@keyframes ambient-drift {
  0% { transform: translate3d(-6%, -4%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(5%, 3%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-3%, 6%, 0) rotate(-6deg) scale(1); }
}
/* Dots creep one grid cell diagonally per loop, so the motion is seamless and barely there. */
@keyframes dots-drift { from { background-position: 0 0; } to { background-position: 22px 22px; } }
@keyframes dots-drift-bottom { from { background-position: 0 100%; } to { background-position: 22px calc(100% + 22px); } }
@keyframes dot-sweep {
  0% { -webkit-mask-position: 5% 15%; mask-position: 5% 15%; }
  35% { -webkit-mask-position: 70% 35%; mask-position: 70% 35%; }
  70% { -webkit-mask-position: 25% 85%; mask-position: 25% 85%; }
  100% { -webkit-mask-position: 95% 70%; mask-position: 95% 70%; }
}

/* "Best value" header tab: sits on top of the card like a title bar */
.tier-teaser { position: relative; }
.tier-teaser.has-badge { border-color: var(--tier); }
.tier-badge {
  position: absolute; left: 50%; bottom: 100%; z-index: 2; transform: translateX(-50%);
  width: max-content; padding: 8px 24px; border-radius: 14px 14px 0 0; text-align: center;
  background: var(--tier, var(--mint)); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2;
}
.tier-badge--inline {
  position: static; transform: none; display: inline-block; margin-left: 10px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; letter-spacing: 0.06em; vertical-align: middle;
  background: var(--tier, var(--mint)); color: var(--ink);
}
@media (max-width: 900px) { .tier-teaser.has-badge { margin-top: 40px; } }

/* Tier color modifiers (shared) */
.tier--waifu { --prev-tier: var(--tier-wallpapers); }
.tier--miyuki { --prev-tier: var(--tier-waifu); }
.tier--bfgf { --prev-tier: var(--tier-miyuki); }
.tier--daddy { --prev-tier: var(--tier-bfgf); }
.tier--husband { --prev-tier: var(--tier-daddy); }
.tier--wallpapers { --tier: var(--tier-wallpapers); }
.tier--waifu { --tier: var(--tier-waifu); }
.tier--miyuki { --tier: var(--tier-miyuki); }
.tier--bfgf { --tier: var(--tier-bfgf); }
.tier--daddy { --tier: var(--tier-daddy); }
.tier--husband { --tier: var(--tier-husband); }

/* ---------- Find-your-waifu band ---------- */
.finder-band { border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 72px); background: linear-gradient(135deg, var(--bg-3), #22402f); border: 1.5px solid var(--line-strong); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; overflow: hidden; }
.finder-band::after { content: ""; position: absolute;     background: url("../img/logo-heart.png") center / contain no-repeat;  rotate: 18deg; pointer-events: none; }
.finder-band__form { width: 100%; max-width: 640px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--text);
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-spring);
}
.chip:hover { border-color: var(--mint); color: var(--cream); transform: translateY(-2px); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.chip__count { font-size: 0.8rem; opacity: 0.7; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); max-width: 1040px; margin: 0 auto; padding: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 52px); border-radius: var(--radius-lg); background: radial-gradient(70% 90% at 85% 50%, rgba(139, 208, 142, 0.22), transparent 70%), linear-gradient(135deg, #1d3328 0%, #24402f 60%, #2b4a37 100%); border: 1.5px solid rgba(139, 208, 142, 0.45); color: var(--text); position: relative; overflow: hidden; }
.cta-band__copy { flex: 1 1 60%; display: flex; flex-direction: column; gap: 14px; }
.cta-band__title { color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.75rem); margin: 0; white-space: nowrap; display: flex; align-items: center; gap: 0.25em; }
.cta-band__logo { width: 1.05em; height: auto; flex: none; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)); }
.cta-band__text { margin: 0; font-size: 1.15rem; }
.cta-band__note { margin: 0; font-size: 1.2rem; line-height: 1.55; opacity: 0.85; }
.cta-band__note a { color: var(--mint-bright); font-weight: 600; }
.cta-band__media { flex: 0 0 min(30%, 300px); }
.cta-band__img { border-radius: var(--radius-lg); border: 6px solid var(--mint); rotate: 4deg; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.cta-band .btn--dark { --btn-bg: var(--mint); --btn-fg: var(--ink); --btn-line: var(--mint); align-self: flex-start; box-shadow: 0 10px 30px -10px rgba(139, 208, 142, 0.7); }
.cta-band .btn--dark:hover { --btn-bg: var(--mint-bright); background: var(--btn-bg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); text-align: center; }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.page-hero__title { font-size: clamp(2.8rem, 7vw, 5.4rem); margin: 0; letter-spacing: -0.02em; }
.page-hero__lead { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 640px; }

/* ---------- Finder (Characters / Animes showpiece) ---------- */
.finder-controls { z-index: 20; display: flex; flex-direction: column; gap: 14px; padding: 16px; margin-bottom: 28px; border-radius: var(--radius-lg); background: rgba(28, 44, 36, 0.9); border: 1.5px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.finder-controls__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.finder-search { flex: 1 1 320px; position: relative; }
.finder-search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.finder-search .search-field__input { width: 100%; padding-left: 52px; }
.finder-select {
  flex: 0 1 280px; height: 58px; padding: 0 44px 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238bd08e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center / 18px no-repeat;
  color: var(--cream); font: 500 1rem var(--font-body); appearance: none; -webkit-appearance: none; cursor: pointer; max-width: 100%;
}
.finder-select:focus { outline: none; border-color: var(--mint); }
.finder-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.finder-count { margin: 0; color: var(--muted); font-size: 0.95rem; }
.finder-count strong { color: var(--cream); font-family: var(--font-display); font-size: 1.1rem; }
.finder-clear { background: none; border: 0; color: var(--mint); font-weight: 600; cursor: pointer; padding: 6px 10px; border-radius: 999px; }
.finder-clear:hover { background: rgba(139, 208, 142, 0.1); }
.finder-clear[hidden] { display: none; }

.finder-results { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.finder-results > [hidden] { display: none !important; }
.finder-empty { text-align: center; padding: 60px 20px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); }
.finder-empty[hidden] { display: none; }
.finder-empty__title { font-size: 1.8rem; }
.finder-more { display: flex; justify-content: center; margin-top: 40px; }
.finder-more[hidden] { display: none; }

.char-card { flex: 0 0 calc(20% - 16px); min-width: 0; }
.char-card.is-entering { animation: card-in 0.5s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.char-card__link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--cream); height: 100%; }
.char-card__media {
  --c1: #1c3a2a; --c2: #2f6b45;
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--line); background: linear-gradient(150deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, transform 0.35s var(--ease-out);
}
.char-card__link:hover .char-card__media { border-color: var(--mint); transform: translateY(-4px); }
.char-card__img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.char-card__initial { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5rem); color: rgba(244, 248, 240, 0.9); line-height: 1; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.char-card__badge { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 0.75rem; font-weight: 700; }
.char-card__name { font-size: 1.08rem; margin: 0; line-height: 1.15; }
.char-card__series { margin: -6px 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
.char-card--c1 .char-card__media { --c1: #193a29; --c2: #3f8f4c; }
.char-card--c2 .char-card__media { --c1: #3a1a26; --c2: #b04f6c; }
.char-card--c3 .char-card__media { --c1: #16283d; --c2: #2f74a8; }
.char-card--c4 .char-card__media { --c1: #2a1a40; --c2: #7550b8; }
.char-card--c5 .char-card__media { --c1: #3d2414; --c2: #b8652d; }
.char-card--c6 .char-card__media { --c1: #3a1836; --c2: #b05a9c; }

.anime-card { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

.anime-card__title { font-size: 1.12rem; margin: 0; line-height: 1.2; }
.anime-card__count { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- Tier ladder (Memberships showpiece) ---------- */
.tier-ladder { --active-tier: var(--mint); position: relative; display: flex; gap: clamp(28px, 4vw, 64px); align-items: flex-start; }
.tier-ladder__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40vw 40vh at 70% 40%, color-mix(in srgb, var(--active-tier) 18%, transparent), transparent 70%); transition: background 0.6s ease; }
.tier-meter { position: sticky; top: calc(var(--header-h) + 32px); flex: 0 0 250px; display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line-strong); }
.tier-meter__title { margin: 0; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 600; }
.tier-meter__current { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--active-tier); line-height: 1.1; transition: color 0.4s ease; }
.tier-meter__current.is-levelup { animation: levelup 0.6s var(--ease-spring); }
@keyframes levelup { 0% { transform: scale(0.85); opacity: 0.4; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.tier-meter__rail { position: relative; padding-left: 22px; }
.tier-meter__track { display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tier-meter__rail::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line-strong); }
.tier-meter__fill { position: absolute; left: 6px; top: 8px; width: 3px; border-radius: 3px; background: var(--active-tier); height: 0; transition: height 0.5s var(--ease-out), background-color 0.4s ease; }
.tier-meter__step { position: relative; }
.tier-meter__step a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 12px; text-decoration: none; color: var(--muted); font-family: var(--font-display); font-weight: 500; transition: color 0.2s ease, background-color 0.2s ease; }
.tier-meter__step a:hover { color: var(--cream); background: rgba(139, 208, 142, 0.08); }
.tier-meter__step::before { content: ""; position: absolute; left: -21px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring); z-index: 1; }
.tier-meter__step.is-reached::before { background: var(--step-color, var(--mint)); border-color: var(--step-color, var(--mint)); }
.tier-meter__step.is-active::before { transform: scale(1.35); }

.tier-list { flex: 1; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); min-width: 0; }
.tier-card { position: relative; display: flex;  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); scroll-margin-top: calc(var(--header-h) + 24px); opacity: 0.45; transform: scale(0.97); transition: opacity 0.5s ease, transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease; }
.no-js .tier-card, .tier-card.is-active, .tier-card.is-passed { opacity: 1; transform: none; }

.tier-card__banner { width: 100%; aspect-ratio: 1395 / 600; object-fit: cover; }
.tier-card__body { display: flex;   align-items: flex-start; }
.tier-card__head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.tier-card__level { margin: 0; font-family: var(--font-display); font-weight: 600;  letter-spacing: 0.14em; text-transform: uppercase; }
.tier-card__name { margin: 0; }
.tier-card__price { font-family: var(--font-display); font-weight: 700;  line-height: 1; color: var(--cream); }
.tier-card__price small { font-weight: 500; color: var(--muted); }
.tier-card__head .btn { margin-top: 12px; align-self: flex-start; --btn-bg: var(--tier); --btn-line: var(--tier); --btn-fg: var(--ink); }
.tier-card__perks { list-style: none; display: flex; flex-direction: column; }
.tier-card__perks li { position: relative; }
.tier-card__perks li::before { content: ""; position: absolute; left: 0;    border-radius: 50%; background: var(--tier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1310' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tier-card__perks small { color: var(--muted); }

/* ---------- Milestones ---------- */
.milestone-row { display: flex; flex-wrap: wrap; gap: 18px; }
.milestone { flex: 1 1 calc(25% - 18px); min-width: 220px; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line); }
.milestone__amount { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--mint); line-height: 1; }
.milestone__amount small { display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }
.milestone__reward { margin: 0; font-size: 1.1rem; color: var(--cream); font-weight: 600; }
.milestone__buy { margin: auto 0 0; font-size: 0.9rem; color: var(--blush); }
.milestone-note { margin-top: 22px;    color: var(--text); }
.milestone-note p { margin: 0; }

/* ---------- Accordion (native details) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; }
.accordion__item { border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); overflow: hidden; }
.accordion__item[open] { border-color: var(--line-strong); }
.accordion__title { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--cream); }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(139, 208, 142, 0.12); color: var(--mint); font-size: 1.4rem; transition: transform 0.3s var(--ease-out); }
.accordion__item[open] .accordion__title::after { transform: rotate(45deg); }
.accordion__content { padding: 0 24px 22px; color: var(--muted); }
.accordion__content p:last-child { margin: 0; }

/* ---------- About / links page ---------- */
.link-hub { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: clamp(40px, 6vw, 72px); }
.link-hub__avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--mint); box-shadow: 0 0 0 8px rgba(139, 208, 142, 0.15); }
.link-hub__wordmark { width: min(340px, 80%); }

.link-list { width: 100%; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.link-list__group { margin: 14px 0 0; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 600; text-align: center; }
.link-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 10px 20px 10px 12px;
  border-radius: 20px; text-decoration: none; color: var(--cream); background: var(--surface); border: 1.5px solid var(--line-strong);
  transition: transform 0.25s var(--ease-spring), border-color 0.2s ease, background-color 0.2s ease;
}
.link-btn:hover { transform: translateY(-2px) scale(1.01); border-color: var(--mint); background: var(--bg-3); color: var(--cream); }
.link-btn__icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(139, 208, 142, 0.12); color: var(--mint); }
.link-btn__icon svg { width: 22px; height: 22px; }
.link-btn__label { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.link-btn__label strong { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.link-btn__label small { color: var(--muted); font-size: 0.86rem; }
.link-btn__arrow { width: 20px; height: 20px; color: var(--muted); flex: none; }
.link-btn--primary { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.link-btn--primary:hover { background: var(--mint-bright); color: var(--ink); }
.link-btn--primary .link-btn__icon { background: var(--ink); color: var(--mint); }
.link-btn--primary .link-btn__label small, .link-btn--primary .link-btn__arrow { color: rgba(11, 19, 16, 0.7); }
.link-btn--donate .link-btn__icon { background: rgba(255, 163, 184, 0.16); color: var(--blush); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer__top { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.site-footer__brand { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.site-footer__wordmark { width: 220px; align-self: center; }

.site-footer__social { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-social__cols { display: flex; gap: 10px; width: 100%; }
.footer-social__col { flex: 1 1 0; min-width: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-social {
  display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.footer-social:hover { border-color: var(--mint); background: var(--bg-3); color: var(--cream); transform: translateY(-2px); }
.footer-social__icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--ink); }
.footer-social__icon svg { width: 17px; height: 17px; }
.footer-social--instagram .footer-social__icon { background: linear-gradient(45deg, #f9a14a, #e6457a 55%, #9a4fd0); color: #fff; }
.footer-social--x .footer-social__icon { background: #000; color: #fff; }
.footer-social--patreon .footer-social__icon { background: #ff424d; color: #fff; }
.footer-social__handle { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-social__donate { min-height: 52px; padding: 0 30px; font-size: 1.1rem; }
.footer-social__donate svg { width: 22px; height: 22px; }
.site-footer__cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.site-footer__heading { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); margin: 0 0 4px; }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--text); text-decoration: none; }
.site-footer__col a:hover { color: var(--mint); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.not-found__mascot { width: 140px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .char-card { flex-basis: calc(25% - 15px); }
  .site-nav { gap: 14px; }
  .signin-link { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-block; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100%);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: calc(var(--nav-top, var(--header-h)) + 16px) 24px 32px; overflow-y: auto;
    background: var(--bg-2); border-left: 1px solid var(--line-strong);
    transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease-out), visibility 0.4s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav__link, .site-nav__toggle { width: 100%; justify-content: space-between; font-size: 1.35rem; padding: 14px 16px; }
  .site-nav__dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; display: none; margin: 4px 0 8px 12px; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .site-nav__item--dropdown.is-open .site-nav__dropdown { display: block; transform: none; }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-search__toggle { display: none; }
  .nav-search__pop { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .signin-link { display: inline-flex; justify-content: center; border: 1.5px solid var(--line-strong); min-height: 52px; align-items: center; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(6, 11, 9, 0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .menu-toggle { position: relative; z-index: 80; }

  .hero__inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__copy { flex: none; }
  .hero__art { flex: none;    margin: 0 auto; }
  .tier-ladder { flex-direction: column; }
  .tier-meter { position: sticky; top: var(--header-h); z-index: 10; width: 100%; flex: none; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 18px; border-radius: 0 0 var(--radius) var(--radius); }
  .tier-meter__title, .tier-meter__rail { display: none; }
  .tier-meter__current { font-size: 1.15rem; white-space: nowrap; }
  .tier-meter__bar { display: block !important; }
  .anime-card { flex-basis: calc(50% - 10px); }
  .cta-band { flex-direction: column; align-items: stretch; }
  .cta-band__media { max-width: 360px; }
}
.tier-meter__bar { display: none; flex: 1 1 40px; min-width: 40px; max-width: 220px; margin: 0 12px; height: 6px; border-radius: 6px; background: var(--line-strong); overflow: hidden; }
.tier-meter__bar-fill { display: block; height: 100%; width: 0; background: var(--active-tier); transition: width 0.5s var(--ease-out), background-color 0.4s ease; }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .char-card { flex-basis: calc(50% - 10px); }
  .anime-card { flex-basis: 100%; }
  .preview-card, .preview-card--wide { flex-basis: calc(50% - 9px); min-width: 0; }
  .preview-card--wide .preview-card__img { aspect-ratio: 4 / 5; }
  
  
  
  .hero-sticker { font-size: 1.05rem; padding: 12px 16px; }
  .waifu-chip { width: 160px; }
  .finder-controls { position: relative; top: auto; padding: 12px; }
  .feed-tile { flex-basis: calc(33.333% - 8px); }
  .finder-select { flex: 1 1 100%; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .tier-card__price { font-size: 2.4rem; }
  .site-logo__text { font-size: 1.2rem; }
  
  .sale-banner { font-size: 0.85rem; }
}
@media (max-width: 420px) {
  .preview-card, .preview-card--wide { flex-basis: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .search-field { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Bottom spacing for pages whose last block is not a .section */
[data-finder], .prose, .not-found { padding-bottom: var(--section-pad); }
.char-card__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 25% 10%, rgba(255,255,255,0.16), transparent 55%); pointer-events: none; }

/* In-page jumps (legal.html#privacy, memberships.html#faq, #socials…) land just below the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
#socials { scroll-margin-top: calc(var(--header-h) + 8px); }
.btn__icons { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; margin-left: 2px; border-left: 1.5px solid var(--line-strong); }
.btn--socials .btn__icons svg { width: 19px; height: 19px; }
.hero-headline__logo { display: inline-block; width: 0.95em; height: auto; margin-left: 0.14em; vertical-align: -0.08em; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); animation: logo-wiggle 4s ease-in-out 1.6s infinite; }
@keyframes logo-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg) scale(1.08); } 90% { transform: rotate(10deg) scale(1.08); } 95% { transform: rotate(-5deg); } }

/* Click-to-enlarge pictures ([data-lightbox]): small lift on hover, full view in a centered lightbox */
[data-lightbox] { cursor: zoom-in; transition: scale 0.3s var(--ease-out), box-shadow 0.3s ease, opacity 0.3s ease; }
[data-lightbox]:hover, [data-lightbox]:focus-visible { scale: 1.03; opacity: 1; }
.entity__pic[data-lightbox]:hover, .entity__pic[data-lightbox]:focus-visible { scale: none; }   /* character/anime pics: no hover grow, click still enlarges */
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(6, 11, 9, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-lg);
  border: 6px solid var(--cream); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  transform: scale(0.92); transition: transform 0.35s var(--ease-out);
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__arrow { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__arrow--prev { left: 18px; }
.lightbox__arrow--next { right: 18px; }
.lightbox__arrow[hidden] { display: none; }

/* ---------- Recent Posts page ---------- */
.posts { padding-bottom: var(--section-pad); }
.post-grid { display: flex; flex-wrap: wrap; }
.post-card { --tier: var(--mint); min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--tier) 35%, transparent); transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.35s ease; }
.post-card[hidden] { display: none; }
.post-card:hover { border-color: var(--tier); box-shadow: 0 26px 60px -30px var(--tier); }   /* lights up in place; only the picture zooms */
.post-card.is-entering { animation: card-in 0.5s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.post-card--free { --tier: var(--mint); }
.post-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 0.6s var(--ease-out); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__media.is-locked .post-card__img { filter: blur(18px) saturate(1.2); transform: scale(1.15); }
.post-card__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, rgba(18, 29, 24, 0.1), rgba(18, 29, 24, 0.55)); }
.post-card__lock-icon { border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); }

.post-card__lock-text { padding: 5px 14px; border-radius: 999px; background: var(--tier); color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.post-card__body { display: flex; flex-direction: column; gap: 6px;  flex: 1; background: #22342b; }   /* a shade lighter than the card */
.post-card__meta { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;  color: var(--muted); }
.post-card__tier { padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--tier) 18%, transparent); color: var(--tier); font-family: var(--font-display); font-weight: 600; }
.post-card__title { margin: 4px 0 0;  line-height: 1.2; }
.post-card__info { margin: auto 0 0; color: var(--muted); }   /* where she's from, above her name */
.post-card__cta { margin-top: auto; align-self: flex-start; }
/* The girl's name above the button: a plain link to her page that glows on hover */
.post-card__chars { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-display); font-weight: 600; }
.post-card__chars + .post-card__cta { margin-top: 2px; }   /* 8px from the name with the 6px gap */
.post-card__char { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--mint) 55%, transparent);
  color: var(--mint); text-decoration: none; font-size: 0.85rem; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.post-card__char:hover, .post-card__char:focus-visible { background: color-mix(in srgb, var(--mint) 16%, transparent); border-color: var(--mint); color: var(--cream); }

/* Recent Posts: Free / Paid menu under the intro */
.post-filter { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--muted); }
/* Character / anime pages: the "Posts" heading with a small Free / Paid menu right after it (green, or pink on anime pages) */
.entity__posts-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: clamp(40px, 6vw, 64px) 0 16px; }
.entity__posts-head .entity__posts-title { margin: 0; }
.post-filter--inline { margin-top: 0; }
.post-filter--inline .post-filter__select { height: 34px; padding: 0 32px 0 13px; font-size: 0.85rem; background-size: 14px; background-position: right 11px center;
  border-color: color-mix(in srgb, var(--mint) 45%, transparent); color: var(--mint); }
.post-filter--inline .post-filter__select:hover, .post-filter--inline .post-filter__select:focus-visible { border-color: var(--mint); }
.entity--anime .post-filter--inline .post-filter__select { border-color: color-mix(in srgb, var(--blush) 50%, transparent); color: var(--blush); background-color: #2c1e27;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.entity--anime .post-filter--inline .post-filter__select:hover, .entity--anime .post-filter--inline .post-filter__select:focus-visible { border-color: var(--blush); }

/* Anime pages: arrows on the picture flip through the anime's girls (gallery.js); her name under it links to her page */
.entity-gallery { position: relative; }
.entity-gallery__btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(20, 12, 17, 0.62); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background 0.2s ease, scale 0.2s ease; }
.entity-gallery__btn svg { width: 20px; height: 20px; }
.entity-gallery__btn--prev { left: 10px; }
.entity-gallery__btn--next { right: 10px; }
.entity-gallery__btn:hover, .entity-gallery__btn:focus-visible { background: var(--blush); color: var(--ink); scale: 1.08; }
.entity-gallery__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.entity-gallery__count { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(20, 12, 17, 0.62);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; pointer-events: none; }
.entity-gallery__name { align-self: center; margin-top: -4px; font-family: var(--font-display); font-weight: 700; color: var(--blush); text-decoration: none; }
.entity-gallery__name:hover { text-decoration: underline; text-underline-offset: 3px; }
/* five or fewer: a dot for each, the current one green (pink on anime pages) */
.entity-gallery__dots { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; z-index: 2; display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px;
  background: rgba(20, 12, 17, 0.5); backdrop-filter: blur(6px); }
.entity-gallery__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.55); cursor: pointer;
  transition: background 0.2s ease; }
.entity-gallery__dot:hover { background: #fff; }
.entity-gallery__dot[aria-current="true"] { background: var(--mint); }
.entity--anime .entity-gallery__dot[aria-current="true"] { background: var(--blush); }
.entity-gallery__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* a blurred members-only picture: the button to unlock it sits in the middle */
.entity-gallery__lock { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--mint); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  text-decoration: none; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); transition: scale 0.2s ease; }
.entity-gallery__lock svg { width: 16px; height: 16px; }
.entity-gallery__lock:hover, .entity-gallery__lock:focus-visible { scale: 1.05; }
.entity-gallery__lock[hidden] { display: none; }
.posts__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; }
.posts__count { margin: 0; color: var(--muted); font-size: 0.95rem; }
.posts__more [hidden] { display: none; }
@media (max-width: 1024px) { .post-card { flex-basis: calc(50% - 11px); } }
@media (max-width: 560px) { .post-card { flex-basis: 100%; } }

/* ---------- AI Chat page ---------- */
.page-hero--compact { padding-bottom: clamp(20px, 3vw, 32px); }
.chat-layout { display: flex; gap: 22px; align-items: stretch; padding-bottom: var(--section-pad); }
.chat { min-width: 0; display: flex; flex-direction: column; height: min(680px, 78vh); border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line-strong); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.chat__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mint); }
.chat__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cream); line-height: 1.1; }
.chat__status { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.chat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tier-miyuki); box-shadow: 0 0 0 3px rgba(79, 220, 110, 0.2); }
.chat__log { flex: 1; overflow-y: auto; list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 20px; scroll-behavior: smooth; }
.msg { display: flex; animation: card-in 0.35s var(--ease-out) both; }
.msg__bubble { margin: 0; max-width: 78%; padding: 11px 16px; border-radius: 20px; line-height: 1.5; font-size: 1rem; overflow-wrap: anywhere; }
.msg--bot .msg__bubble { background: var(--bg-3); color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--user { justify-content: flex-end; }
.msg--user .msg__bubble { background: var(--mint); color: var(--ink); border-bottom-right-radius: 6px; }
.msg__bubble a { color: var(--mint-bright); font-weight: 600; }
.msg--user .msg__bubble a { color: var(--ink); }
.msg--typing .msg__bubble { display: inline-flex; gap: 5px; padding: 14px 16px; }
/* "Try Again" under her newest AI reply */
.msg.has-retry { flex-direction: column; align-items: flex-start; gap: 6px; }
.msg__retry { margin-left: 6px; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.msg__retry:hover, .msg__retry:focus-visible { color: var(--cream); border-color: color-mix(in srgb, var(--persona, var(--mint)) 70%, transparent); }
.msg--typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite; }
.msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 12px; }
.chat__suggest .chip { font-size: 0.9rem; padding: 6px 14px; }
.chat__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--bg-2); }
.chat__input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--cream); font: 500 1rem var(--font-body); }
.chat__input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(139, 208, 142, 0.18); }
.chat__send { flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chat__send:hover { background: var(--mint-bright); }
.chat__send svg { width: 20px; height: 20px; }
.chat__disclaimer { margin: 0; padding: 0 20px 12px; background: var(--bg-2); font-size: 0.8rem; color: var(--muted); text-align: center; }
.chat-side { min-width: 0;  flex-direction: column; gap: 14px;  padding: 20px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1.5px solid var(--line); }
.chat-side__title { margin: 0; font-size: 1.4rem; }

.chat-side__results { list-style: none;  flex-wrap: wrap; gap: 12px; overflow-y: auto; flex: 1; align-content: flex-start; }
.chat-side__all { align-self: center; }
.chat-card { min-width: 0; animation: card-in 0.45s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.chat-card__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--cream); }
.chat-card__media { --c1: #193a29; --c2: #3f8f4c; position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--line); background: linear-gradient(150deg, var(--c1), var(--c2)); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, transform 0.3s var(--ease-out); }
.chat-card__link:hover .chat-card__media { border-color: var(--mint); transform: translateY(-3px); }
.chat-card__img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chat-card__initial { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--cream); }
.chat-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.chat-card__series { margin-top: -4px; font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.chat-card--c2 .chat-card__media { --c1: #3a1a26; --c2: #b04f6c; }
.chat-card--c3 .chat-card__media { --c1: #16283d; --c2: #2f74a8; }
.chat-card--c4 .chat-card__media { --c1: #2a1a40; --c2: #7550b8; }
.chat-card--c5 .chat-card__media { --c1: #3d2414; --c2: #b8652d; }
.chat-card--c6 .chat-card__media { --c1: #3a1836; --c2: #b05a9c; }
@media (max-width: 900px) {
  .chat-layout { flex-direction: column; }
  .chat { height: 72vh; }
  .chat-side { height: auto; }
  
}
@media (max-width: 480px) {  .msg__bubble { max-width: 88%; } }

/* "Come Say Hi" section: a tiled heart pattern drifting slowly downward */
.section--hearts {
  position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 104px);
  background-color: #1d1a20;
  background-image: linear-gradient(180deg, #1d1a20 0%, rgba(29, 26, 32, 0) 120px), radial-gradient(60% 80% at 50% 50%, rgba(255, 163, 184, 0.12), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M22 30c-4-6-14-4-14 4 0 7 14 14 14 14s14-7 14-14c0-8-10-10-14-4z' fill='%23ffa3b8' fill-opacity='0.07'/%3E%3Cpath d='M67 70c-3-4-10-3-10 3 0 5 10 10 10 10s10-5 10-10c0-6-7-7-10-3z' fill='%238bd08e' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-size: auto, auto, 90px 90px;
  animation: hearts-rise 14s linear infinite;
}
@keyframes hearts-rise { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 0 90px; } }
.section--hearts > .container { position: relative; z-index: 1; }

/* "Who's your waifu?" section: dreamy pastel clouds drifting + twinkling sparkles */
.section--grid {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(29, 42, 36, 0) 40%, rgba(29, 42, 36, 0.8) 72%, #1d2a24 90%, #1d2a24 100%), linear-gradient(160deg, #2a1d27 0%, #1f2420 55%, #1d2a24 100%);
}
.section--grid::after { -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 78%); mask-image: linear-gradient(to bottom, #000 40%, transparent 78%); }
/* ::before extends 40% past every edge, so its mask stops are shifted to land at the same spots in the section */
.section--grid::before { -webkit-mask-image: linear-gradient(to bottom, #000 44%, transparent 65%); mask-image: linear-gradient(to bottom, #000 44%, transparent 65%); }
.section--grid::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 26% at 20% 30%, rgba(255, 163, 184, 0.30), transparent 70%),
    radial-gradient(20% 24% at 78% 25%, rgba(201, 162, 255, 0.22), transparent 70%),
    radial-gradient(24% 26% at 65% 75%, rgba(255, 126, 182, 0.22), transparent 70%),
    radial-gradient(22% 24% at 30% 78%, rgba(139, 208, 142, 0.20), transparent 70%);
  filter: blur(10px);
  animation: dreamy-drift 24s ease-in-out infinite alternate;
}
.section--grid::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M30 18 L33 27 L42 30 L33 33 L30 42 L27 33 L18 30 L27 27 Z' fill='%23ffd1dc' fill-opacity='0.55'/%3E%3Cpath d='M118 70 L120 76 L126 78 L120 80 L118 86 L116 80 L110 78 L116 76 Z' fill='%23ffffff' fill-opacity='0.5'/%3E%3Cpath d='M70 128 L72 133 L77 135 L72 137 L70 142 L68 137 L63 135 L68 133 Z' fill='%23b4f0b6' fill-opacity='0.5'/%3E%3Ccircle cx='140' cy='20' r='2' fill='%23ffd1dc' fill-opacity='0.6'/%3E%3Ccircle cx='15' cy='100' r='1.6' fill='%23ffffff' fill-opacity='0.5'/%3E%3Ccircle cx='95' cy='40' r='1.4' fill='%23ffa3b8' fill-opacity='0.6'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M30 18 L33 27 L42 30 L33 33 L30 42 L27 33 L18 30 L27 27 Z' fill='%23ffd1dc' fill-opacity='0.55'/%3E%3Cpath d='M118 70 L120 76 L126 78 L120 80 L118 86 L116 80 L110 78 L116 76 Z' fill='%23ffffff' fill-opacity='0.5'/%3E%3Cpath d='M70 128 L72 133 L77 135 L72 137 L70 142 L68 137 L63 135 L68 133 Z' fill='%23b4f0b6' fill-opacity='0.5'/%3E%3Ccircle cx='140' cy='20' r='2' fill='%23ffd1dc' fill-opacity='0.6'/%3E%3Ccircle cx='15' cy='100' r='1.6' fill='%23ffffff' fill-opacity='0.5'/%3E%3Ccircle cx='95' cy='40' r='1.4' fill='%23ffa3b8' fill-opacity='0.6'/%3E%3C/svg%3E");
  background-size: 160px 160px, 230px 230px;
  background-position: 0 0, 80px 60px;
  animation: sparkle-float 30s linear infinite, sparkle-twinkle 3.2s ease-in-out infinite alternate;
}
@keyframes dreamy-drift {
  0% { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4%, 2%, 0) rotate(10deg) scale(1.1); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-8deg) scale(1); }
}
@keyframes sparkle-float { from { background-position: 0 0, 80px 60px; } to { background-position: 160px -160px, -150px -170px; } }
@keyframes sparkle-twinkle { from { opacity: 0.45; } to { opacity: 1; } }
.section--grid .finder-band { background: rgba(32, 34, 36, 0.55); border-color: rgba(255, 163, 184, 0.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 760px) { .cta-band__title { white-space: normal; flex-wrap: wrap; } }

/* Wave between "Who's your waifu?" (above) and "Come Say Hi" (below) */
.shape-divider--from-finder svg { fill: #1d2a24; }
.section--hearts > .shape-divider { z-index: 1; }

/* "Join Now!" — centered under the text, bigger, glowing, with a gentle pulse */
.cta-band .cta-band__join {
  align-self: center; min-height: 66px; padding: 0 48px; margin: 6px 0; font-size: 1.3rem; gap: 12px;
  box-shadow: 0 0 0 0 rgba(139, 208, 142, 0.55), 0 14px 34px -10px rgba(139, 208, 142, 0.8);
  animation: join-pulse 2.6s ease-in-out infinite;
}
.cta-band .cta-band__join svg { width: 22px; height: 22px; }
.cta-band .cta-band__join:hover { transform: translateY(-3px) scale(1.04); animation-play-state: paused; box-shadow: 0 0 0 6px rgba(139, 208, 142, 0.22), 0 20px 44px -10px rgba(139, 208, 142, 0.95); }
@keyframes join-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 208, 142, 0.5), 0 14px 34px -10px rgba(139, 208, 142, 0.8); }
  50% { box-shadow: 0 0 0 10px rgba(139, 208, 142, 0), 0 14px 34px -10px rgba(139, 208, 142, 0.8); }
}

/* ---------- Report a Bug page ---------- */
.bug-wrap { max-width: 760px; padding-bottom: var(--section-pad); }
.bug-form, .bug-thanks { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line-strong); }
.bug-form[hidden], .bug-thanks[hidden] { display: none; }
.bug-form__row { display: flex; gap: 18px; flex-wrap: wrap; }
.bug-form__row .bug-field { flex: 1 1 240px; }
.bug-field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bug-field__label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--cream); padding: 0; }
.bug-field__label small { font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.bug-field__input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--cream); font: 500 1rem var(--font-body); }
.bug-field__input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(139, 208, 142, 0.18); }
select.bug-field__input { appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238bd08e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; padding-right: 44px; }
.bug-field__textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.bug-field__hint { margin: -2px 0 0; align-self: flex-end; font-size: 0.82rem; color: var(--muted); }
.bug-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.bug-kind { cursor: pointer; }
.bug-kind input { position: absolute; opacity: 0; pointer-events: none; }
.bug-kind span { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--text); transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.bug-kind:hover span { border-color: var(--mint); }
.bug-kind input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.bug-kind input:focus-visible + span { outline: 3px solid var(--mint-bright); outline-offset: 2px; }
.bug-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.bug-form__auto { margin: -6px 0 0; font-size: 0.88rem; color: var(--muted); }
.bug-form__error { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 95, 99, 0.12); border: 1px solid rgba(255, 95, 99, 0.5); color: #ffc2c4; }
.bug-form__error[hidden] { display: none; }
.bug-form__send { align-self: flex-start; }
.bug-thanks { align-items: center; text-align: center; }
.bug-thanks img { width: 96px; }
.bug-thanks__title { margin: 0; font-size: 2.2rem; }
.bug-thanks p { margin: 0; color: var(--text); }

/* ---------- Motion on/off switch: small pill just under the header, left side; scrolls away with the page ---------- */
.motion-bar { position: relative; height: 0; z-index: 40; }
.motion-toggle {
  position: absolute; left: var(--gutter); top: 12px;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(18, 29, 24, 0.85); color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 0.78rem var(--font-display); letter-spacing: 0.02em; cursor: pointer; opacity: 0.8;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; border-color: var(--mint); }
.motion-toggle__state { min-width: 1.9em; color: var(--mint); }
.motion-toggle[aria-checked="false"] .motion-toggle__state { color: var(--muted); }
.motion-toggle__track { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--mint); transition: background-color 0.2s ease; }
.motion-toggle__thumb { position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transition: left 0.2s ease; }
.motion-toggle[aria-checked="false"] .motion-toggle__track { background: #3a4a42; }
.motion-toggle[aria-checked="false"] .motion-toggle__thumb { left: 2px; background: var(--cream); }

/* Motion off: stop every looping background animation (UI hovers keep working) */
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; }
.motion-off .waifu-strip__track { will-change: auto; }
.motion-off .hero-headline__logo, .motion-off .hero-sticker, .motion-off .cta-band__join { animation: none !important; }

/* Mobile: center the Donate button above the social account buttons */
@media (max-width: 760px) {
  #socials .section-head__actions { align-self: stretch; justify-content: center; }
}

/* Footer: Support + Info share one wrapper (invisible on desktop); on phones Info sits under Support */
.site-footer__stack { display: contents; }
/* Mobile footer: Explore | Support + Info, all centered */
@media (max-width: 760px) {
  .site-footer__cols { width: 100%; justify-content: center; row-gap: 32px; column-gap: 16px; }
  .site-footer__cols > .site-footer__col, .site-footer__stack { flex: 1 1 calc(50% - 8px); }
  .site-footer__stack { display: flex; flex-direction: column; gap: 32px; }
  .site-footer__col { align-items: center; text-align: center; }
}

/* Patreon accounts use the real brand mark (coral circle, navy bar, white circle) filling the whole tile */
.feed-tab--patreon .feed-tab__icon, .feed-panel--patreon .feed-panel__avatar, .footer-social--patreon .footer-social__icon { background: transparent; border-radius: 50%; overflow: hidden; }
.feed-tab--patreon .feed-tab__icon svg, .feed-panel--patreon .feed-panel__avatar svg, .footer-social--patreon .footer-social__icon svg { width: 100%; height: 100%; }

/* Instagram accounts use the real gradient app icon filling the whole tile */
.feed-tab--instagram .feed-tab__icon, .feed-panel--instagram .feed-panel__avatar, .footer-social--instagram .footer-social__icon { background: transparent; overflow: hidden; }
.feed-tab--instagram .feed-tab__icon svg, .feed-panel--instagram .feed-panel__avatar svg, .footer-social--instagram .footer-social__icon svg { width: 100%; height: 100%; }

/* Follower counts: right-aligned inside each social button; total in the section lead */
.feed-tab__count { margin-left: auto; padding-left: 12px; flex: none; text-align: right; font-size: 0.85rem; color: var(--muted); line-height: 1.15; }
.feed-tab__count strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cream); }
.feed-tab[aria-selected="true"] .feed-tab__count { color: rgba(11, 19, 16, 0.65); }
.feed-tab[aria-selected="true"] .feed-tab__count strong { color: var(--ink); }
.section-lead__stat { display: block; margin-top: 4px; }
.section-lead__stat strong { font-family: var(--font-display); font-size: 1.2em; color: var(--mint); }
/* Tablets and phones: keep two columns; the follower count drops under the username so nothing is cut off */
@media (max-width: 900px) {
  #socials .feed-tab { flex-wrap: wrap; align-items: flex-start; row-gap: 2px; padding: 10px 12px 10px 10px; }
  #socials .feed-tab__text { flex: 1 1 0; min-width: 0; }
  #socials .feed-tab__handle { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  #socials .feed-tab__count { flex-basis: 100%; margin: 0; padding: 0 0 0 calc(var(--tab-icon, 48px) + 12px); text-align: left; font-size: 0.8rem; }
  #socials .feed-tab__count strong { display: inline; font-size: 0.95rem; margin-right: 3px; }
}
@media (max-width: 560px) {
  #socials .feed-tabs__list { gap: 8px; }
  #socials .feed-tabs__col { gap: 8px; }
  #socials .feed-tab { --tab-icon: 32px; gap: 8px; padding: 8px 8px 8px 8px; border-radius: 14px; }
  #socials .feed-tab__icon { width: 32px; height: 32px; border-radius: 10px; }
  #socials .feed-tab__label { font-size: 0.9rem; }
  #socials .feed-tab__handle { font-size: 0.74rem; }
  #socials .feed-tab__count { padding-left: calc(var(--tab-icon) + 8px); font-size: 0.7rem; }
  #socials .feed-tab__count strong { font-size: 0.82rem; }
}

/* Character finder: A–Z row under the count / post types line */
.finder-letters { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.finder-letter {
  min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-spring);
}
.finder-letter:hover:not(:disabled) { border-color: var(--mint); color: var(--cream); transform: translateY(-2px); }
.finder-letter:focus-visible { outline: 2px solid var(--blush); outline-offset: 2px; }
.finder-letter.is-active { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.finder-letter:disabled { opacity: 0.3; cursor: default; }
.finder-letter--all { padding: 0 12px; }
@media (max-width: 560px) {
  .finder-letters { gap: 4px; }
  .finder-letter { min-width: 28px; height: 28px; padding: 0 4px; font-size: 0.82rem; border-radius: 8px; }
}

/* Animes page: the series dropdown sits on its own full-width line under the search box */

/* Character finder: "Post types" multi-select dropdown (checkboxes) */
.type-filter { position: relative; margin-left: auto; }
.type-filter__toggle {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--cream);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; cursor: pointer; user-select: none;
  transition: border-color 0.2s ease;
}
.type-filter__toggle::-webkit-details-marker { display: none; }
.type-filter__toggle:hover, .type-filter[open] .type-filter__toggle { border-color: var(--mint); }
.type-filter__toggle:focus-visible { outline: 2px solid var(--blush); outline-offset: 2px; }
.type-filter__toggle svg { width: 16px; height: 16px; color: var(--mint); transition: rotate 0.2s ease; }
.type-filter[open] .type-filter__toggle svg { rotate: 180deg; }
.type-filter__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 0.78rem; display: inline-flex; align-items: center; justify-content: center; }
.type-filter__badge[hidden] { display: none; }
.type-filter__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.type-filter__option { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; cursor: pointer; font-family: var(--font-display); font-weight: 500; color: var(--text); }
.type-filter__option:hover { background: rgba(139, 208, 142, 0.08); color: var(--cream); }
.type-filter__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-filter__check { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--tier, var(--mint)); display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.15s ease; }
.type-filter__check::after { content: ""; width: 9px; height: 5px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.type-filter__option input:checked + .type-filter__check { background: var(--tier, var(--mint)); }
.type-filter__option input:checked + .type-filter__check::after { opacity: 1; }
.type-filter__option input:focus-visible + .type-filter__check { outline: 2px solid var(--blush); outline-offset: 2px; }

.type-filter__menu { min-width: 270px; }
.type-filter__name { flex: 1 1 auto; }
.type-filter__price { flex: none; margin-left: 12px; font-size: 0.88rem; font-weight: 600; color: var(--tier, var(--mint)); }
.char-card__badge--popular { background: var(--blush); }

/* Characters page: floating hearts across the whole page, over the normal background and behind the content */
.page-hearts { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hearts ~ section { position: relative; z-index: 1; }

/* No lonely last word: intro lines split into even lines, other paragraphs avoid a one-word last line */
p { text-wrap: pretty; }
.section-lead, .page-hero__lead, .hero-subhead { text-wrap: balance; }
.finder-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
/* Animes page: series dropdown sits on the right of the count line, about a third of the search width */
.finder-dd { flex: 0 0 auto; width: min(100%, 360px); margin-left: auto; }

.finder-meta:has(.finder-dd) .finder-clear { margin-left: auto; }
.finder-clear:not([hidden]) ~ .finder-dd { margin-left: 0; }
@media (max-width: 560px) {
  .finder-dd { width: 100%; }
}

/* Wrapping dropdown built by finder.js from the hidden <select> */
.finder-dd { position: relative; }
.finder-dd__native { display: none; }
.finder-dd__toggle { width: 100%; height: 48px; display: flex; align-items: center; text-align: left; font-size: 0.95rem; }
.finder-dd__toggle[aria-expanded="true"] { border-color: var(--mint); }
.finder-dd__toggle:focus-visible { outline: 2px solid var(--blush); outline-offset: 2px; }
.finder-dd__label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder-dd__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 100%; min-width: 260px;
  max-height: min(60vh, 440px); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none;
  border-radius: 18px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.finder-dd__panel[hidden] { display: none; }
.finder-dd__option {
  padding: 10px 14px; border-radius: 12px; cursor: pointer; color: var(--text); font-size: 0.95rem; line-height: 1.3;
  white-space: normal; overflow-wrap: anywhere;   /* long series names wrap instead of running off screen */
}
.finder-dd__option:hover, .finder-dd__option:focus { outline: none; background: rgba(139, 208, 142, 0.12); color: var(--cream); }
.finder-dd__option[aria-selected="true"] { background: var(--mint); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .finder-dd__panel { min-width: 0; max-height: 55vh; }
}
/* Animes page uses the tall Characters-page card; keep the character-card widths */
.anime-card.char-card { flex: 0 0 calc(20% - 16px); }
@media (max-width: 1180px) { .anime-card.char-card { flex-basis: calc(25% - 15px); } }
@media (max-width: 760px) { .anime-card.char-card { flex-basis: calc(50% - 10px); } }

/* Animes page: the pink "A Little Taste" look from Home across the whole page (background, hearts, accents) */
body:has(.page-hearts--blush) { background: linear-gradient(170deg, #2e1f28 0%, #281f25 60%, #241e23 100%) fixed; }
body:has(.page-hearts--blush)::before { opacity: 0; }
.page-hearts--blush ~ section .section-eyebrow, .page-hearts--blush ~ section .page-hero__title em { color: var(--blush); }
.page-hearts--blush ~ section .finder-controls { background: rgba(46, 31, 40, 0.88); border-color: rgba(255, 163, 184, 0.4); }
.page-hearts--blush ~ section .finder-letters { border-top-color: rgba(255, 163, 184, 0.2); }
.page-hearts--blush ~ section .search-field__input:focus, .page-hearts--blush ~ section .finder-dd__toggle[aria-expanded="true"] { border-color: var(--blush); }
.page-hearts--blush ~ section .finder-letter:hover:not(:disabled) { border-color: var(--blush); }
.page-hearts--blush ~ section .finder-letter.is-active,
.page-hearts--blush ~ section .finder-dd__option[aria-selected="true"] { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.page-hearts--blush ~ section .finder-dd__panel { background: #2e1f28; border-color: rgba(255, 163, 184, 0.4); }
.page-hearts--blush ~ section .finder-dd__option:hover, .page-hearts--blush ~ section .finder-dd__option:focus { background: rgba(255, 163, 184, 0.14); }

.page-hearts--blush ~ section .char-card__link:hover .char-card__media { border-color: var(--blush); }

/* ---------- Memberships: Tier cards with the girl on the left, details on the right, Home-style Tier colors ---------- */
.tier-card { flex-direction: row; align-items: stretch; border: 1.5px solid color-mix(in srgb, var(--tier) 45%, transparent); box-shadow: 0 20px 50px -40px var(--tier); }
.tier-card.is-active { border-color: var(--tier); box-shadow: 0 0 0 1px var(--tier), 0 30px 80px -24px var(--tier), 0 0 60px -20px var(--tier); }
.tier-card__art { flex: 0 0 46%; position: relative; background: #161817; min-height: 360px; }
.tier-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tier-card__body { flex: 1; min-width: 0; flex-direction: column; flex-wrap: nowrap; }
.tier-card__name { color: var(--tier); }

.tier-card__perks { flex: none;  margin: 0 0 22px; font-family: var(--font-display); font-weight: 600;  line-height: 1.3; color: var(--cream); }

.tier-card__perks li::before { top: 0; }
.tier-card__perks li.perk--sub { margin-top: -4px; font-style: italic; font-weight: 500; font-size: 0.9em; color: var(--text); }
.tier-card__perks li.perk--sub::before { display: none; }
.tier-card__body .btn { margin-top: auto; align-self: flex-start; --btn-bg: var(--tier); --btn-line: var(--tier); --btn-fg: var(--ink); box-shadow: 0 10px 26px -14px var(--tier); }
.tier-card__body .btn:hover { --btn-bg: color-mix(in srgb, var(--tier) 78%, #fff); background: var(--btn-bg); border-color: var(--btn-bg); }
@media (max-width: 760px) {
  .tier-card { flex-direction: column; }
  .tier-card__art { flex: none; min-height: 0; aspect-ratio: 1 / 1; }
  .tier-card__body .btn { align-self: stretch; }
}

/* Tier meter: every step shows its Tier color; the box glows in the color of the Tier you're viewing */
.tier-meter { border-color: color-mix(in srgb, var(--active-tier) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--active-tier) 25%, transparent), 0 24px 60px -30px var(--active-tier); }
.tier-meter__step::before { border-color: var(--step-color, var(--mint)); }
.tier-meter__step span:last-child { color: var(--cream); }
.tier-meter__step.is-active span:last-child { color: var(--step-color, var(--mint)); }   /* price turns the Tier color only on the Tier you are viewing */
.tier-meter__step.is-active a { color: var(--step-color, var(--cream)); background: color-mix(in srgb, var(--step-color, var(--mint)) 12%, transparent); }
.tier-meter__step.is-active::before { box-shadow: 0 0 0 4px color-mix(in srgb, var(--step-color, var(--mint)) 30%, transparent); }
.tier-meter .btn--primary { --btn-bg: var(--active-tier); --btn-line: var(--active-tier); background: var(--btn-bg); border-color: var(--btn-bg); transition: background-color 0.4s ease, border-color 0.4s ease; }
@media (max-width: 560px) {
  /* Phones: keep the sticky Tier bar (name, progress, Join button) inside the screen */
  .tier-meter { gap: 10px; padding: 10px 12px; }
  .tier-meter__current { font-size: 1rem; }
  .tier-meter__bar { flex: 1 1 20px; min-width: 20px; margin: 0; }
  .tier-meter .btn { flex: none; padding: 8px 14px; font-size: 0.85rem; }
}

/* "Best Value" heart badge, tilted in the top-right corner of a Tier card */
.tier-heart {
  position: absolute; top: 14px; right: 16px; z-index: 3; width: 112px; height: 104px;
  display: flex; align-items: center; justify-content: center; rotate: 14deg; pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(255, 46, 136, 0.55)) drop-shadow(0 0 22px rgba(255, 92, 170, 0.45));
  animation: heart-beat 2.4s ease-in-out infinite;
}
.tier-heart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tier-heart path { fill: #ff2e88; stroke: #fff; stroke-width: 4; }
.tier-heart__text {
  position: relative; margin-top: -8px; text-align: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(120, 0, 50, 0.45);
}
@keyframes heart-beat { 0%, 100% { scale: 1; } 12% { scale: 1.08; } 24% { scale: 1; } 36% { scale: 1.05; } 48% { scale: 1; } }
.motion-off .tier-heart { animation: none; }
@media (prefers-reduced-motion: reduce) { .tier-heart { animation: none; } }
@media (max-width: 560px) { .tier-heart { width: 92px; height: 86px; top: 10px; right: 10px; } .tier-heart__text { font-size: 0.82rem; } }
.tier-card__level { color: var(--cream); }   /* "Level N" in white, like the price */
.section-title__logo { display: inline-block; width: 0.95em; height: auto; margin-left: 0.18em; vertical-align: -0.1em; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); }
/* Milestone note: same box style as the milestone cards, with a solid pink outline */
.milestone-note { border: 1.5px solid var(--blush); border-radius: var(--radius-lg); }
.milestone-cta { display: flex; justify-content: center; margin-top: 32px; }
.milestone-note { display: flex; align-items: center; gap: 28px; padding: 24px 28px; }
.milestone-note .milestone__amount { flex: none; }
.milestone-note__text { flex: 1; font-size: 1.05rem; }
@media (max-width: 560px) { .milestone-note { flex-direction: column; align-items: flex-start; gap: 12px; } }
.milestone-note .milestone__amount { color: var(--blush); }
.milestone-note__hl { font-family: var(--font-display); font-weight: 700; font-size: 1.3em; color: var(--blush); letter-spacing: 0.01em; text-shadow: 0 0 18px rgba(255, 163, 184, 0.35); }
/* Memberships: tighter gap between the Milestones "Join on Patreon" button and the FAQ */
#faq { padding-top: clamp(44px, 6vw, 68px); }
.page-hearts ~ section, body:has(.page-hearts) .site-footer { position: relative; z-index: 1; }   /* page-wide hearts stay behind the content and footer */
/* About page: short intro under the wordmark (no box) and the Join button at the bottom */
.link-hub__about { max-width: 520px; margin: 4px auto 0; text-align: center;  color: var(--text); text-wrap: balance; }
.link-hub__join { display: flex; justify-content: center; padding-block: 8px clamp(64px, 8vw, 110px); }
.link-hub__title { align-self: center; text-align: center; margin: 0; }
.link-hub__wordmark { display: block; margin: 0 auto; }
.link-hub__about { font-size: 1.2rem; margin-top: 10px; }
.nowrap { white-space: nowrap; }
/* About page links: brand icons like the Home page socials */
.link-btn--patreon .link-btn__icon, .link-btn--instagram .link-btn__icon { background: transparent; padding: 0; overflow: hidden; }
.link-btn--patreon .link-btn__icon { border-radius: 50%; }
.link-btn--patreon .link-btn__icon svg, .link-btn--instagram .link-btn__icon svg { width: 100%; height: 100%; }
.link-btn--x .link-btn__icon { background: #000; color: #fff; }

/* About page: the Home hero's faded window-room picture behind the whole page (no hearts) */
.page-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.page-backdrop__img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.9) blur(1.5px); }
.page-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 29, 24, 0.3) 0%, rgba(18, 29, 24, 0.55) 60%, rgba(18, 29, 24, 0.85) 100%); }
.link-hub__join { padding-top: 64px; }   /* more room between Donate and Join now */
.link-hub__join { padding-bottom: clamp(56px, 7vw, 88px); }
#faq.section--ribbons::after { animation: none; }   /* FAQ: stripes stay still */
.link-btn__logo { display: inline-block; width: 1.35em; height: auto; margin-left: 3px; vertical-align: -0.35em; }

/* FAQ: alternate mint / pink accents so the list isn't one flat color */
#faq .accordion__item { --acc: var(--mint); --acc-rgb: 139, 208, 142; position: relative; border-color: rgba(var(--acc-rgb), 0.6); transition: border-color 0.25s ease, box-shadow 0.25s ease; }
#faq .accordion__item:nth-child(even) { --acc: var(--blush); --acc-rgb: 255, 163, 184; }
#faq .accordion__title::after { background: rgba(var(--acc-rgb), 0.16); color: var(--acc); }
#faq .accordion__item:hover, #faq .accordion__item[open] { border-color: var(--acc); box-shadow: 0 14px 36px -24px var(--acc); }
/* FAQ group headings ("About My Art", "Membership & Billing") */
.faq-group__title { max-width: 860px; margin: 0 auto 16px;   text-align: center; }
.faq-group__title + .accordion { margin-bottom: clamp(36px, 5vw, 56px); }
#faq .accordion:last-child { margin-bottom: 0; }
#faq .section-head { margin-bottom: clamp(36px, 4.5vw, 52px); }   /* clear gap between the FAQ heading and the first group */
/* Group headings as small labels so the big "FAQ" heading stays the section title */
.faq-group__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Memberships: shorter Tier cards with slightly smaller text; the girls stay the same size (fixed 420px art, cropped by the card) */
@media (min-width: 761px) {
  .tier-card__art { min-height: 0; }
  .tier-card__img { inset: 0 auto auto 50%;   max-width: none; transform: translateX(-50%); }
}

.tier-card__perks li { padding-left: 28px; }
.tier-card__perks li.perk--sub { padding-left: 28px; }

.tier-card__art { overflow: hidden; }
/* Tier cards: halfway back toward the earlier, roomier size */
.tier-card__body { padding: clamp(22px, 2.7vw, 32px) clamp(22px, 2.8vw, 33px); gap: 5px; }
.tier-card__level { font-size: 0.85rem; }
.tier-card__name { font-size: clamp(1.85rem, 3vw, 2.5rem); }
.tier-card__price { font-size: 2.7rem; margin: 3px 0 12px; }
.tier-card__price small { font-size: 1rem; }
.tier-card__perks { gap: 7px; margin-bottom: 19px; font-size: clamp(0.98rem, 1.12vw, 1.07rem); }
.tier-card__perks li::before { width: 19px; height: 19px; }
.tier-card__perks li, .tier-card__perks li.perk--sub { padding-left: 30px; }
.tier-card__body .btn { padding: 14px 30px; font-size: 1.05rem; }

@media (min-width: 761px) { .tier-card__img { height: max(440px, 100%); width: auto; aspect-ratio: 1 / 1; } }   /* never shorter than its card: no empty bar under taller cards */
   /* logo watermark: smaller and less cut off, same opacity */
.finder-band::after { width: 190px; height: 190px; right: 28px; top: 28px; }   /* whole logo visible in the corner */

/* AI Chat: chat uses the full width; "Miyuki's Picks" sits below and only appears once she shows characters */
.chat-layout { flex-direction: column; }
.chat { flex: none; width: 100%; }
.chat-side { display: none; flex: none; height: auto; }
.chat-layout.has-results .chat-side { display: flex; animation: card-in 0.45s var(--ease-out) both; }

.chat-side__results { overflow: visible; }
.chat-card { flex-basis: calc(16.666% - 10px); }

/* AI Chat "Explore" panel: a small preview of what was asked about + a See More link */
.chat-side__results { display: block; }
.explore { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.explore > * { animation: card-in 0.45s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.explore-post { flex: 0 0 calc(16.666% - 10px); min-width: 0; }
.explore-post__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--cream); }
.explore-post__media { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--line); }
.explore-post__img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.explore-post__lock { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 19, 16, 0.75); color: var(--cream); font-size: 0.72rem; font-weight: 700; }
.explore-post__title { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.explore-tier { flex: 1 1 calc(33.333% - 12px); min-width: 160px; }
.explore-tier__link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--tier); background: color-mix(in srgb, var(--tier) 10%, transparent); color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 600; transition: transform 0.2s var(--ease-spring); }
.explore-tier__link:hover { transform: translateY(-2px); }
.explore-tier__price { color: var(--tier); }
.explore-social { flex: 1 1 calc(20% - 12px); min-width: 150px; }
.explore-social__link { display: block; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 600; text-align: center; }
.explore-social--instagram .explore-social__link { border-color: #e6457a; }
.explore-social--x .explore-social__link { border-color: #fff; }
.explore-faq { padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--mint); background: rgba(139, 208, 142, 0.06); }
.explore-faq__q { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; color: var(--cream); }
.explore-faq__a, .explore-text { margin: 0; color: var(--text); }
@media (max-width: 900px) { .explore-post { flex-basis: calc(33.333% - 8px); } }
@media (max-width: 480px) { .explore-post { flex-basis: calc(50% - 6px); } }
.explore-post__media.is-locked .explore-post__img { filter: blur(14px) saturate(1.2); transform: scale(1.15); }   /* locked posts stay blurred, like on Recent Posts */

/* Character finder box: the heart logo in both top corners, a little more visible */
.finder-band::after { opacity: 0.16; }
.finder-band::before { content: ""; position: absolute; width: 190px; height: 190px; left: 28px; top: 28px; background: url("../img/logo-heart.png") center / contain no-repeat; opacity: 0.16; rotate: -18deg; pointer-events: none; }

/* About page: email promo sign-up */
.signup__inner { max-width: 720px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.signup__form { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.signup__form[hidden] { display: none; }
.signup__row { display: flex; gap: 12px; flex-wrap: wrap; }
.signup__input { flex: 1 1 260px; }
.signup__row .btn { flex: none; }
.signup__consent { display: flex; align-items: flex-start; justify-content: center; gap: 10px; font-size: 0.95rem; color: var(--text); cursor: pointer; text-align: left; }
.signup__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blush); flex: none; }
.signup__error { margin: 0; color: var(--blush); font-weight: 600; }
.signup__error[hidden], .signup__thanks[hidden] { display: none; }
.signup__thanks { margin: 6px 0 0; padding: 16px 22px; border-radius: var(--radius); border: 1.5px solid var(--blush); background: rgba(255, 163, 184, 0.08); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--cream); }
.signup__fine { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }
/* the free set for signing up: a pink bubble under the description (pink on purpose, so it stands out) */
.signup__gift { margin: 4px 0; display: inline-flex; align-items: center; gap: 11px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid var(--blush); background: rgba(255, 163, 184, 0.1); color: var(--cream); font-size: 1.12rem; line-height: 1.35; text-align: left; }
.signup__gift svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--blush); }
.signup__gift strong { color: var(--blush); }
/* the free-set page the sign-up email links to */
.gift { min-height: 60vh; display: flex; align-items: center; }
.gift__card { max-width: 620px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.gift__text { margin: 0; color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.gift__note { margin: 0; padding: 14px 20px; border-radius: var(--radius); border: 1.5px solid var(--blush); background: rgba(255, 163, 184, 0.08); color: var(--cream); }
.gift__fine { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.gift__fine a { color: var(--mint); }
@media (max-width: 560px) { .signup__row .btn { flex: 1 1 100%; } }
@media (max-width: 760px) { .finder-band::before, .finder-band::after { width: 84px; height: 84px; top: 14px; } .finder-band::before { left: 14px; } .finder-band::after { right: 14px; } }

/* About page sign-up: tighter spacing and the "Come Say Hi" heart pattern, fainter and drifting slowly upward */
.section--blush.signup {
  padding-block: clamp(48px, 6vw, 76px);
  background-color: #1d1a20;
  background-image: radial-gradient(60% 80% at 50% 50%, rgba(255, 163, 184, 0.1), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M22 30c-4-6-14-4-14 4 0 7 14 14 14 14s14-7 14-14c0-8-10-10-14-4z' fill='%23ffa3b8' fill-opacity='0.045'/%3E%3Cpath d='M67 70c-3-4-10-3-10 3 0 5 10 10 10 10s10-5 10-10c0-6-7-7-10-3z' fill='%238bd08e' fill-opacity='0.045'/%3E%3C/svg%3E");
  background-size: auto, 90px 90px;
  animation: signup-hearts-up 20s linear infinite;
}
@keyframes signup-hearts-up { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 -90px; } }

/* AI Chat: character picker above the chat */
.chat-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.chat-pick {
  --pick: var(--mint); flex: 1 1 180px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--cream);
  cursor: pointer; text-align: left; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-spring);
}
.chat-pick:hover:not(:disabled) { border-color: var(--pick); transform: translateY(-2px); }
.chat-pick[aria-pressed="true"] { border-color: var(--pick); box-shadow: 0 0 0 1px var(--pick), 0 12px 30px -16px var(--pick); }
.chat-pick:focus-visible { outline: 2px solid var(--blush); outline-offset: 2px; }
.chat-pick__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--pick); display: flex; align-items: center; justify-content: center; background: var(--bg-3); color: var(--muted); }
.chat-pick__avatar svg { width: 18px; height: 18px; }
.chat-pick__img { width: 100%; height: 100%; object-fit: cover; }
.chat-pick__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.chat-pick__text strong { font-family: var(--font-display); font-size: 1rem; }
.chat-pick__text small { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-pick.is-soon { opacity: 0.5; cursor: default; border-style: dashed; }

/* AI Chat: mood picture beside the messages */
.chat { --persona: var(--mint); }
.chat-layout { --persona: var(--mint); }
.chat__avatar { border-color: var(--persona); }
.chat__body { flex: 1; min-height: 0; display: flex; }
.chat__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat__stage { flex: 0 0 clamp(170px, 22%, 240px); margin: 16px 0 16px 16px; display: flex; flex-direction: column; gap: 8px; align-self: flex-start; }
.chat__mood { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 20px; border: 2px solid var(--persona); box-shadow: 0 16px 40px -24px var(--persona); }
.chat__mood.is-changing { animation: mood-pop 0.35s var(--ease-spring); }
@keyframes mood-pop { from { transform: scale(0.94); opacity: 0.4; } to { transform: none; opacity: 1; } }
.chat__mood-label { align-self: center; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--persona) 16%, transparent); color: var(--persona); font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .chat__stage { flex-basis: 92px; }
  
  .chat__mood-label { font-size: 0.68rem; padding: 2px 8px; }
  
}
.chat-pick__text strong { white-space: nowrap; }
@media (max-width: 760px) {
  /* Phones: one swipeable row of compact character buttons */
  .chat-picker { scrollbar-width: none; }
  .chat-picker::-webkit-scrollbar { display: none; }
  .chat-pick { scroll-snap-align: start; }
  
  
  .chat__suggest .chip { font-size: 0.82rem; padding: 5px 11px; }
}
@media (max-width: 760px) {
  /* Phones: small mood picture in a strip above the messages so they keep the full width */
  .chat__body { flex-direction: column; }
  .chat__stage { flex: none; }
  
  .chat__mood-label { align-self: center; }
}

/* Free / paid posts dropdown (Characters + Animes), styled like "Post types" */
.access-filter { margin-left: 0; }
.type-filter + .access-filter { margin-left: 10px; }
.finder-meta .access-filter:first-of-type:not(.type-filter + .access-filter) { margin-left: auto; }
.finder-meta:has(.finder-dd) .access-filter { margin-left: auto; }

.finder-meta:has(.finder-dd) .finder-dd { margin-left: 10px; }
.access-filter.is-set .type-filter__toggle { border-color: var(--mint); }
.access-filter .type-filter__menu { min-width: 190px; }
.type-filter__check--radio { border-radius: 50%; }
.type-filter__option input:checked + .type-filter__check--radio::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--ink); rotate: 0deg; translate: none; }
@media (max-width: 560px) {
  .finder-meta:has(.finder-dd) .access-filter { margin-left: 0; }
  .finder-meta:has(.finder-dd) .finder-dd { margin-left: 0; }
}
.access-filter + .type-filter { margin-left: 10px; }   /* Characters page: Free or paid, then Post types */

/* Character & series cards: 5 per row down to tablet size, then 4, 3 and 2 (tags keep their size) */
.char-card, .anime-card.char-card { flex: 0 0 calc(20% - 16px); }
@media (max-width: 900px) { .char-card, .anime-card.char-card { flex-basis: calc(25% - 15px); } }
@media (max-width: 680px) { .char-card, .anime-card.char-card { flex-basis: calc(33.333% - 14px); } }
@media (max-width: 480px) { .char-card, .anime-card.char-card { flex-basis: calc(50% - 10px); } }
.chat-card { flex: 0 0 calc(16.666% - 10px); }
@media (max-width: 900px) { .chat-card { flex-basis: calc(33.333% - 8px); } }
@media (max-width: 480px) { .chat-card { flex-basis: calc(50% - 6px); } }
/* Characters and Animes/Games pages on big screens: widen the finder so a 6th card fits per row at the same card size (~222px) */
@media (min-width: 1520px) {
  section[data-finder][data-item=".char-card"], section[data-finder][data-item=".anime-card"] { max-width: 1480px; }
  section[data-finder][data-item=".char-card"] .char-card, section[data-finder][data-item=".anime-card"] .anime-card.char-card { flex-basis: calc(16.666% - 16.67px); }
}
/* Search panel is only as wide as the All–Z letter row (it shrinks to end right after "Z") */
.finder-controls:has(.finder-letters) { max-width: 100%; }
.finder-controls:has(.finder-letters) { margin-left: auto; margin-right: auto; }   /* centered over the cards */

.type-filter + .access-filter[data-choice-filter] { margin-left: 10px; }   /* Anime / Game / Other sits right after Post types */
.access-filter[data-choice-filter] .type-filter__menu { min-width: 170px; }
/* Clear filters: hover just turns the text red, no button shape */
.finder-clear:hover, .page-hearts--blush ~ section .finder-clear:hover { background: none; color: #ff5f63; }
/* Search panel stays at the top of the page instead of following you down (still above the cards for open dropdowns) */
.finder-controls { position: relative; top: auto; }
.page-hearts--blush ~ section .finder-clear { color: var(--mint); }   /* Animes/Games: Clear filters green like the Characters page */
.page-hearts--blush ~ section .finder-clear:hover { color: #ff5f63; }
.access-filter + .access-filter { margin-left: 10px; }
   /* compact search panel: filters on one line, letters wrap after N */
.finder-letters { justify-content: center; }   /* All–Z rows centered */
.finder-controls:has(.finder-letters) { width: min(100%, 762px); }   /* first letter row ends at P */
/* Clear filters appears just left of the first filter; the filters stay right-aligned and don't move */
.finder-meta:has(.finder-letters), .finder-meta { }
.finder-meta > .finder-count { order: 0; }
.finder-meta:has(.access-filter) .finder-clear { order: 1; margin-left: auto; }
.finder-meta > details { order: 2; }
.finder-meta:has(.finder-clear:not([hidden])) > details[data-choice-filter] { margin-left: 4px !important; }
@media (max-width: 560px) {
  /* Phones: filters that wrap to a second line sit together on the right */
  .finder-meta:has(.access-filter) { justify-content: flex-end; }
  .finder-meta:has(.access-filter) > .finder-count { margin-right: auto; }
}
/* At every width, filters that wrap to another line stay on the right */
.finder-meta:has(.access-filter) { justify-content: flex-end; }
.finder-meta:has(.access-filter) > .finder-count { margin-right: auto; }
/* Header: keep "Sign in" visible on the bar until the menu collapses (≤1024px); tighten spacing a little to make room */
@media (min-width: 1025px) and (max-width: 1180px) {
  .signin-link { display: inline-flex; padding: 10px 8px; }
  .site-nav { gap: 10px; }
  .site-nav__actions { gap: 6px; }
}
.site-nav__link, .site-nav__toggle, .signin-link { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1120px) {
  .site-nav__link, .site-nav__toggle, .signin-link { font-size: 0.95rem; padding-left: 9px; padding-right: 9px; }
  .site-nav__actions .btn { padding-left: 16px; padding-right: 16px; }
  .site-logo__text { font-size: 1.2rem; }
}
/* "Clear filters" always keeps its spot (just invisible until a filter is on), so the filter buttons never shift */
.finder-meta:has(.access-filter) .finder-clear[hidden] { display: block; visibility: hidden; }
.finder-meta:has(.access-filter) > details[data-choice-filter] { margin-left: 4px !important; }
.section--blush.signup { padding-top: calc(clamp(48px, 6vw, 76px) + clamp(28px, 4vw, 56px)); }   /* room for the wave at the top */
/* FAQ "+" drawn with two bars so it sits dead-center in its circle (the text "+" glyph sat low) */
.accordion__title::after, #faq .accordion__title::after {
  content: ""; font-size: 0;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2.5px, 2.5px 12px; background-position: center; background-repeat: no-repeat;
}
#faq .accordion__title::after { background-color: rgba(var(--acc-rgb), 0.16); }

/* About page FAQ: wavy top edge (masked, so the room picture behind shows through above the curve) */
#faq.section--ribbons {
  --wave: clamp(36px, 5.5vw, 84px);
  border-top: 0;
  padding-top: calc(clamp(44px, 6vw, 68px) + var(--wave) * 0.6);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,2 500,68 720,34 C940,0 1180,70 1440,18 V60 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave) no-repeat,
                linear-gradient(#000, #000) 0 calc(var(--wave) - 1px) / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C260,2 500,68 720,34 C940,0 1180,70 1440,18 V60 H0 Z'/%3E%3C/svg%3E") top / 100% var(--wave) no-repeat,
                linear-gradient(#000, #000) 0 calc(var(--wave) - 1px) / 100% 100% no-repeat;
}
.finder-band::before, .finder-band::after { opacity: 0.24; }   /* corner heart logos a bit more visible */
@media (min-width: 1025px) {
  .hero__art { left: -36px; }   /* nudge the picture stack left so the "New Sets Every Day!" sticker has room */
}
@media (max-width: 1024px) {
  /* Tablet & phone: slightly smaller picture stack, centered, so the cards and sticker never get cut off while moving */
  .hero__art { width: 86%; max-width: 560px; height: clamp(320px, 70vw, 500px); }
}
@media (max-width: 560px) {
  .hero__art { width: 84%; height: clamp(290px, 74vw, 400px); }
  .hero-sticker { font-size: 0.95rem; padding: 10px 14px; }
}
/* Hero stats: always one row of three */
.hero-stats { flex-wrap: nowrap; }
@media (max-width: 760px) {
  .hero-stats { gap: 10px 18px; }
  .hero-stat { flex: 0 1 auto; min-width: 0; }
  .hero-stat__value { font-size: clamp(1.25rem, 6vw, 1.5rem); }
  .hero-stat__label { font-size: clamp(0.74rem, 3.4vw, 0.85rem); white-space: nowrap; }
}

/* Legal page: jump links, AI callout, sub-headings */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.legal-toc a { padding: 6px 14px; border: 1px solid rgba(139, 208, 142, .45); border-radius: 999px; color: var(--mint); text-decoration: none; font-size: .92rem; }
.legal-toc a:hover { background: rgba(139, 208, 142, .12); }
.prose h2[id] { scroll-margin-top: 96px; }
.prose h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; color: var(--cream); }
.legal-callout { margin: 0 0 1em; padding: 16px 20px; border: 1px solid rgba(139, 208, 142, .5); border-left-width: 4px; border-radius: 14px; background: rgba(139, 208, 142, .08); }
.legal-callout p { margin: 0; }
.signup__fine a { color: var(--mint); }

/* Favorites (hearts) + Surprise Me on the Characters page */
.char-card { position: relative; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 19, 16, .62); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: transform .15s ease, background .15s ease, color .15s ease; }
.fav-btn svg { width: 19px; height: 19px; }
.fav-btn:hover { transform: scale(1.1); background: rgba(11, 19, 16, .8); color: var(--blush); }
.fav-btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.fav-btn.is-fav { color: #ff5f8a; }
.fav-btn.is-fav svg { fill: currentColor; }
.fav-btn.is-pop { animation: fav-pop .35s ease; }
@keyframes fav-pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }

.finder-fav, .finder-random { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--cream); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.finder-fav svg, .finder-random svg { width: 20px; height: 20px; flex: none; }
.finder-fav { position: relative; }
.finder-fav:hover, .finder-fav.is-on { border-color: #ff5f8a; color: #ff5f8a; }
.finder-fav.is-on svg { fill: currentColor; }

.finder-random { font-family: "Fredoka", var(--font-body, sans-serif); color: var(--mint); border-color: rgba(139, 208, 142, .55); }
.finder-random:hover { background: rgba(139, 208, 142, .12); border-color: var(--mint); }
.finder-random:hover svg { animation: dice-roll .5s ease; }
@keyframes dice-roll { to { transform: rotate(360deg); } }
.char-card.is-surprise .char-card__media { border-color: #ff5f8a; box-shadow: 0 0 0 3px rgba(255, 95, 138, .45), 0 0 28px rgba(255, 95, 138, .35); }
.char-card.is-surprise-pop { animation: surprise-pop .7s ease; }
@keyframes surprise-pop { 0% { transform: scale(.9); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
@media (max-width: 560px) {
  .finder-fav, .finder-random { min-height: 46px; }
  .finder-random { flex: 1 1 auto; }
}

/* Request A Waifu (members only; locked on the static site) */
.request-waifu { padding-bottom: var(--section-pad); }
.request-waifu__card { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1.5px solid rgba(255, 163, 184, .4); background: linear-gradient(135deg, rgba(255, 163, 184, .1), rgba(139, 208, 142, .06)); }
.request-waifu__text { flex: 1 1 300px; }
.request-waifu__text .section-lead { margin-bottom: 0; }
.request-waifu__body { flex: 1 1 380px; position: relative; min-height: 290px; }
.request-waifu__form { display: flex; flex-wrap: wrap; gap: 12px; filter: blur(3px); opacity: .45; pointer-events: none; user-select: none; }
.request-waifu__field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--muted); }
.request-waifu__field--wide { flex-basis: 100%; }
.request-waifu__field input, .request-waifu__field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--cream); font: inherit; }
.request-waifu__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; border-radius: var(--radius-lg); background: rgba(11, 19, 16, .55); }
.request-waifu__lock-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 163, 184, .16); color: var(--blush); }
.request-waifu__lock-icon svg { width: 24px; height: 24px; }
.request-waifu__lock-title { margin: 0; font-family: "Fredoka", sans-serif; font-size: 1.15rem; color: var(--cream); }
.request-waifu__lock-title strong { color: var(--tier-bfgf, #a874ff); }
.request-waifu__signin { color: var(--mint); font-size: .92rem; }
/* When the Patreon plugin unlocks it for members, add .is-unlocked to the section */
.request-waifu.is-unlocked .request-waifu__form { filter: none; opacity: 1; pointer-events: auto; user-select: auto; }
.request-waifu.is-unlocked .request-waifu__lock { display: none; }

/* Heart filter: just a heart in a circle */
.finder-fav { padding: 0; border-radius: 50%; align-self: center;  min-height: 0; }
.finder-fav svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .finder-fav { width: 46px; min-width: 46px; height: 46px; } }
.finder-fav { width: 58px; min-width: 58px; height: 58px; }

/* AI Chat: locked to NSFW Waifu Tier and up (Patreon plugin adds .is-unlocked for members) */
.chat { position: relative; }
.chat-lock { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; padding: 28px 20px 34px; text-align: center; border-radius: inherit;
  background: linear-gradient(to bottom, rgba(11, 19, 16, 0) 0%, rgba(11, 19, 16, .55) 30%, rgba(11, 19, 16, .92) 62%); }
.chat-lock__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(79, 182, 255, .16); color: var(--tier-waifu, #4fb6ff); }
.chat-lock__icon svg { width: 24px; height: 24px; }
.chat-lock__title { margin: 0; font-family: "Fredoka", sans-serif; font-size: 1.2rem; color: var(--cream); }
.chat-lock__title strong { color: var(--tier-waifu, #4fb6ff); }
.chat-lock__signin { color: var(--mint); font-size: .92rem; }
.chat-layout[data-required-tier]:not(.is-unlocked) .chat-picker { opacity: .55; }
.chat-layout[data-required-tier]:not(.is-unlocked) .chat__suggest, .chat-layout[data-required-tier]:not(.is-unlocked) .chat__form { filter: blur(2px); }
.chat-layout.is-unlocked .chat-lock { display: none; }

/* Recent Posts: smaller cards, 4 across on desktop */
.post-grid { gap: 20px; }
.post-card { flex: 0 0 calc(25% - 15px); }
.post-card__body { padding: 16px 16px 18px; }
.post-card__title { font-size: 1.15rem; }
.post-card__meta { font-size: 0.82rem; }
.post-card__info { font-size: 0.86rem; }
.post-card__lock-icon { width: 46px; height: 46px; }
.post-card__lock-icon svg { width: 21px; height: 21px; }
.post-card__lock-text { font-size: 0.84rem; }
@media (max-width: 1100px) { .post-card { flex-basis: calc(33.333% - 14px); } }
@media (max-width: 820px) { .post-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 520px) { .post-card { flex-basis: 100%; } }
/* Wide screens: open a 5th column at the same card size (~283px) */
@media (min-width: 1600px) {
  .posts.container { max-width: 1560px; }
  .post-card { flex-basis: calc(20% - 16px); }
}

/* ---------- Ambient background motion (assets/js/ambient.js) ---------- */
.page-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page-bg ~ section { position: relative; z-index: 1; }
.ambient-p { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); will-change: transform, opacity; animation-duration: var(--dur); animation-delay: var(--delay); animation-iteration-count: infinite; }

/* Aurora: big soft color glows drifting slowly */

/* Bokeh: soft out-of-focus light circles rising */

/* Sparkles: twinkling dots, a few 4-point stars */

/* Petals: cherry blossom petals drifting down */
.page-bg[data-ambient="petals"] .ambient-p { top: -6%; height: calc(var(--size) * .78); border-radius: 150% 0 150% 0; background: linear-gradient(135deg, #fff2f5, var(--c)); opacity: 0; animation-name: amb-fall; animation-timing-function: linear; }
@keyframes amb-fall { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 8% { opacity: var(--o); } 50% { transform: translate(calc(var(--sway) * .6), 55vh) rotate(calc(var(--spin) * .5)); } 90% { opacity: var(--o); } 100% { transform: translate(var(--sway), 112vh) rotate(var(--spin)); opacity: 0; } }

/* Hearts: little hearts floating up and swaying */

@media (prefers-reduced-motion: reduce) { .ambient-p { animation-play-state: paused; } }
.motion-off .page-bg .ambient-p { animation: none !important; opacity: calc(var(--o, .3) * .6); }

/* Temporary preview switcher (data-ambient-picker) */

/* Petals mix: a few green petals and small falling dots */
.page-bg[data-ambient="petals"] .ambient-p--green { background: linear-gradient(135deg, #e9fbe9, var(--c)); }
.page-bg[data-ambient="petals"] .ambient-p--dot { width: calc(var(--size) * .4); height: calc(var(--size) * .4); border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }

/* In-page petals: the layer spans from the top of the page to the stop point and scrolls with the page */
.page-bg--inpage { position: absolute; top: 0; left: 0; right: 0; bottom: auto; }
.page-bg--inpage[data-ambient="petals"] .ambient-p { top: -20px; animation-name: amb-fall-page; }
@keyframes amb-fall-page {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  2% { opacity: var(--o); }
  25% { transform: translate(calc(var(--sway) * .5), calc(var(--fall) * .25)) rotate(calc(var(--spin) * .25)); }
  50% { transform: translate(calc(var(--sway) * -.2), calc(var(--fall) * .5)) rotate(calc(var(--spin) * .5)); }
  75% { transform: translate(calc(var(--sway) * .7), calc(var(--fall) * .75)) rotate(calc(var(--spin) * .75)); }
  98% { opacity: var(--o); }
  100% { transform: translate(var(--sway), var(--fall)) rotate(var(--spin)); opacity: 0; }
}

/* IRL page: pink background (same as Animes/Games) with the falling petals */
body:has(.page-bg--blush) { background: linear-gradient(170deg, #2e1f28 0%, #281f25 60%, #241e23 100%) fixed; }
body:has(.page-bg--blush)::before { opacity: 0; }
.page-bg--blush ~ section .section-eyebrow, .page-bg--blush ~ section .page-hero__title em { color: var(--blush); }
.page-bg--blush ~ section .post-card { background: #33222c; }
/* Placeholder photo (until the real IRL pics are added) */
.post-card__ph { display: block; width: 100%; height: 100%; background: radial-gradient(circle at 30% 25%, #ffd1dc 0%, transparent 45%), radial-gradient(circle at 75% 70%, #c98fb0 0%, transparent 50%), linear-gradient(160deg, #f5a9be, #8e5a78); }
.post-card__media.is-locked .post-card__ph { filter: blur(10px) saturate(1.1); transform: scale(1.1); }

/* Chat mood picture: framed room picture with the greeting; see-through cutout (no frame) while chatting */
.chat__mood.is-cutout { aspect-ratio: 700 / 870; object-fit: contain; object-position: center bottom; border: 0; border-radius: 0; box-shadow: none; background: none;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
/* Desktop: bigger mood picture, reaching down to about the suggestion buttons */

/* Phones: bigger mood picture (about 2.5x), centered above the messages with the mood label under her.
   To make room, the chat box is taller and the suggestion buttons become one swipeable row. */
@media (max-width: 760px) {
  
  .chat__head { padding: 10px 16px; }
  .chat__stage { flex-direction: column; align-items: center; align-self: center; gap: 4px; margin: 8px 14px 0; }
  .chat__mood { width: auto;  aspect-ratio: 3 / 4; border-radius: 14px; }
  .chat__mood.is-cutout { aspect-ratio: 700 / 870; border-radius: 0; }
  .chat__log { padding: 12px 16px; }
  .chat__suggest { scrollbar-width: none; padding: 0 16px 10px; }
  .chat__suggest::-webkit-scrollbar { display: none; }
  
}
/* Phones (update): taller chat box, suggestions wrap again, and she's 3x the original size */
@media (max-width: 760px) {
  
  .chat__mood { height: 192px; }
  .chat__suggest { flex-wrap: wrap; overflow-x: visible; }
  .chat__suggest .chip { flex: 0 1 auto; white-space: normal; }
}
@media (max-width: 760px) { .chat { height: min(125vh, 1040px); } }

/* Suggestions: never squeezed (so none get cut off), and a small Show/Hide toggle once the chat has started */
.chat__suggest { flex-shrink: 0; }
.chat__suggest[hidden] { display: none; }
.chat__suggest-toggle { flex-shrink: 0; align-self: flex-start; margin: 0 20px 10px; padding: 5px 14px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--persona) 60%, transparent);
  background: none; color: var(--persona); font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .85rem; cursor: pointer; }
.chat__suggest-toggle:hover { background: color-mix(in srgb, var(--persona) 12%, transparent); }
.chat__suggest-toggle[hidden] { display: none; }
@media (max-width: 760px) { .chat__suggest-toggle { margin: 0 16px 10px; } }
/* Let the message list shrink (and scroll) so opened suggestions always fit inside the chat box */
.chat__main { min-height: 0; }
.chat__log { min-height: 80px; }

/* Show/Hide Suggestions lives in the chat header, right-aligned */
.chat__head .chat__suggest-toggle { margin: 0 0 0 auto; align-self: center; white-space: nowrap; }
@media (max-width: 760px) { .chat__head .chat__suggest-toggle { margin: 0 0 0 auto; padding: 4px 11px; font-size: .78rem; } }
/* Desktop: Miyuki even bigger, tucked closer to the left edge. Her size is capped by the chat's height
   (container query units) so she's never cut off at the bottom or covered by the messages. */
@media (min-width: 900px) {
  .chat__body { container-type: size; }
  .chat__stage { flex-basis: min(350px, 36cqw, calc((100cqh - 58px) * 0.8046)); margin: 10px 4px 10px 6px; }
}
@media (min-width: 900px) {
  .chat { height: min(760px, 84vh); }
  /* The framed room picture is a bit taller (3:4), so cap it by the chat's height too and keep it centered */
  .chat__mood:not(.is-cutout) { width: auto; max-width: 100%; max-height: calc(100cqh - 58px); align-self: center; }
}
/* Tablets / narrow windows (700–899px): keep her on the left beside the messages, like desktop,
   with a normal-height chat box. Below 700px she moves to the top so the messages get the full width. */
@media (min-width: 700px) and (max-width: 899px) {
  .chat { height: min(760px, 84vh); }
  .chat__body { flex-direction: row; container-type: size; }
  .chat__stage { flex: 0 0 min(300px, 40cqw, calc((100cqh - 58px) * 0.8046)); flex-direction: column; align-items: stretch; align-self: flex-start; gap: 8px; margin: 10px 4px 10px 6px; }
  .chat__mood { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 16px; }
  .chat__mood.is-cutout { aspect-ratio: 700 / 870; border-radius: 0; }
  .chat__mood:not(.is-cutout) { width: auto; max-width: 100%; max-height: calc(100cqh - 58px); align-self: center; }
  .chat__mood-label { align-self: center; }
}
/* Character picker: always balanced. Wide screens fit all 5 in one row of equal buttons; narrower screens
   use rows of 3 equal buttons with the last 2 centered under them (no single stretched button).
   Phones keep the one swipeable row. */
@media (min-width: 1200px) { .chat-pick { flex: 1 1 0; min-width: 0; } }
@media (min-width: 761px) and (max-width: 1199px) {
  .chat-picker { justify-content: center; }
  .chat-pick { flex: 0 0 calc((100% - 20px) / 3); min-width: 0; }
}
/* Phones: the five character buttons wrap instead of scrolling sideways. Rows of 3 equal buttons
   (picture on top, name underneath), with the last 2 centered under them. */
@media (max-width: 760px) {
  .chat-picker { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; justify-content: center; gap: 8px; padding-bottom: 0; }
  .chat-pick { flex: 0 0 calc((100% - 16px) / 3); min-width: 0; flex-direction: column;  gap: 4px; padding: 8px 4px 7px; border-radius: 18px; text-align: center; }
  .chat-pick__avatar { width: 40px; height: 40px; }
  .chat-pick__text { align-items: center; min-width: 0; max-width: 100%; }
  .chat-pick__text strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; }
}
/* Phones: keep each girl's description under her name (wraps to two lines if needed) */
@media (max-width: 760px) {
  .chat-pick { justify-content: flex-start; }
  .chat-pick__text small { display: block; font-size: .68rem; line-height: 1.25; white-space: normal; text-align: center; color: var(--muted); }
}
/* Phones: no extra empty space under the descriptions. Only on very narrow phones, where Rei's
   description wraps to two lines, reserve two lines for every button so they stay the same height. */
@media (max-width: 760px) { .chat-pick { min-height: 0; padding-bottom: 9px; } }
@media (max-width: 420px) { .chat-pick__text small { min-height: 2.5em; } }
/* Character picker (tablet + desktop): buttons only as wide as they need, packed together and centered.
   761–1199px: rows of 3 + 2 inside a narrower centered strip. 1200px+: all 5 in one row, capped at 250px each. */
@media (min-width: 761px) and (max-width: 1199px) {
  .chat-picker { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1200px) {
  .chat-picker { justify-content: center; }
  .chat-pick { max-width: 225px; }
}

/* AI Chat: emoji button beside the message box */
.chat__form { position: relative; }
.chat__tool { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: var(--bg); color: var(--muted); cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.chat__tool svg { width: 21px; height: 21px; }
.chat__tool:hover, .chat__tool[aria-expanded="true"] { color: var(--persona); border-color: var(--persona); }
.chat__tool:focus-within, .chat__tool:focus-visible { outline: 2px solid var(--persona); outline-offset: 2px; }
.chat__emoji-panel { position: absolute; left: 12px; bottom: calc(100% + 8px); z-index: 6; display: flex; flex-wrap: wrap; gap: 2px; width: min(320px, calc(100% - 24px));
  padding: 8px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.chat__emoji-panel[hidden] { display: none; }
.chat__emoji { flex: 0 0 calc(12.5% - 2px); aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.chat__emoji:hover, .chat__emoji:focus-visible { background: color-mix(in srgb, var(--persona) 16%, transparent); }
@media (max-width: 560px) {
  .chat__form { gap: 6px; padding: 10px; }
  .chat__tool { width: 38px; height: 38px; }
  .chat__input { padding: 0 14px; }
}

/* ---------- Store (store.html + assets/js/store.js) ---------- */
.store { position: relative; padding-bottom: var(--section-pad); }
.store-member { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 22px; padding: 16px 20px; border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 163, 184, .45); background: linear-gradient(120deg, rgba(255, 163, 184, .12), rgba(139, 208, 142, .07)); }
.store-member__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(255, 163, 184, .18); color: var(--blush); }
.store-member__icon svg { width: 22px; height: 22px; }
.store-member__text { flex: 1 1 260px; }
.store-member__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--cream); }
.store-member__title strong { color: var(--blush); }
.store-member__sub { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.store-member.is-applied { border-color: var(--mint); background: rgba(139, 208, 142, .1); }
.store-member.is-applied .store-member__icon { background: rgba(139, 208, 142, .18); color: var(--mint); }
.store-member.is-applied .store-member__sub { color: var(--mint); }

.store-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.store-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--cream); font: inherit; font-family: var(--font-display); font-weight: 600; cursor: pointer; }
.store-chip:hover { border-color: var(--mint); }
.store-chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.store-cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 14px; border-radius: 999px; border: 1.5px solid var(--mint); background: var(--surface);
  color: var(--cream); font: inherit; font-family: var(--font-display); font-weight: 700; cursor: pointer; }
.store-cart-btn svg { width: 20px; height: 20px; color: var(--mint); }
.store-cart-btn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--line-strong); color: var(--cream); font-size: .8rem; line-height: 22px; text-align: center; }
.store-cart-btn.has-items .store-cart-btn__count { background: var(--blush); color: var(--ink); }
.store-cart-btn.is-bump { animation: cart-bump .45s var(--ease-spring); }
@keyframes cart-bump { 40% { transform: scale(1.1); } }

.product-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-card { --tint: var(--mint); flex: 0 0 calc(25% - 15px); min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--tint) 30%, transparent); transition: transform .3s var(--ease-out), border-color .2s ease; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); border-color: var(--tint); }
.product-card--blush { --tint: var(--blush); }
.product-card--purple { --tint: #a874ff; }
.product-card--red { --tint: #ff4d5e; }
.product-card__media { position: relative; aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%), var(--bg-3); }
.product-card__art { width: 46%; color: var(--tint); opacity: .9; }
.product-card__art svg { width: 100%; height: auto; display: block; }
.product-card__sample { position: absolute; left: 10px; bottom: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(11, 19, 16, .7); color: var(--muted); font-size: .72rem; font-weight: 600; }
.product-card__badge { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: .75rem; font-weight: 700; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.product-card__name { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.product-card__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.product-card__member { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--blush); }
.product-card__buy { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 6px; }
.product-card__option { flex: 0 0 auto; height: 38px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--cream); font: inherit; font-size: .9rem; }
.product-card__add { flex: 1; white-space: nowrap; }
.product-card__add.is-added { background: var(--blush); border-color: var(--blush); }
.store-note { margin: 26px 0 0; text-align: center; color: var(--muted); }
@media (max-width: 1100px) { .product-card { flex-basis: calc(33.333% - 14px); } }
@media (max-width: 820px) { .product-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 420px) { .product-card__buy { flex-wrap: wrap; } .product-card__option { flex: 1 1 100%; } }

/* Cart drawer: only on the store page */
.cart-overlay { position: fixed; inset: 0;   backdrop-filter: blur(2px); }
.cart-overlay[hidden], .cart-drawer[hidden] { display: none; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0;  display: flex; flex-direction: column; width: min(400px, 100vw); padding: 18px 20px 22px; border-left: 1.5px solid var(--line-strong);  animation: cart-in .3s var(--ease-out); }
/* Never taller than what's actually visible, clear of a phone's notch or status bar, and scrollable on short screens */
.cart-drawer { height: 100dvh; max-height: 100%; bottom: auto; padding-top: max(34px, calc(env(safe-area-inset-top) + 20px)); overflow-y: auto; }
.cart-drawer__head { flex: none; }
.cart-drawer__close { flex: none; }
@keyframes cart-in { from { transform: translateX(30px); opacity: 0; } }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cart-drawer__title { margin: 0; font-size: 1.5rem; }
.cart-drawer__close { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: none; color: var(--cream); font-size: 1.3rem; cursor: pointer; }
.cart-drawer__items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 0; }
.cart-drawer__empty { flex: 1; color: var(--muted); }
.cart-drawer__empty[hidden] { display: none; }
.cart-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { margin: 0; font-weight: 600; color: var(--cream); }
.cart-item__opt { margin: 0; font-size: .85rem; color: var(--muted); }
.cart-item__qty { display: flex; align-items: center; gap: 6px; }
.cart-item__qty button { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: none; color: var(--cream); cursor: pointer; line-height: 1; }
.cart-item__price { margin: 0; min-width: 62px; text-align: right; font-weight: 600; }
.cart-item__remove { border: 0; background: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.cart-drawer__totals { padding-top: 12px; }
.cart-drawer__totals p { display: flex; justify-content: space-between; margin: 0 0 6px; color: var(--text); }
.cart-drawer__discount { color: var(--blush) !important; }
.cart-drawer__total { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--cream) !important; }
.cart-drawer__ship { font-size: .85rem; color: var(--muted) !important; }
.cart-drawer__checkout { width: 100%; margin-top: 8px; }
.cart-drawer__note { margin: 8px 0 0; text-align: center; color: var(--blush); font-size: .9rem; }
html.cart-open { overflow: hidden; }
.cart-drawer__done { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(79, 174, 96, .1); color: var(--text); font-size: .88rem; text-align: center; }
.cart-drawer__done button { margin-left: 4px; padding: 0; border: 0; background: none; color: #3f9a52; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Coming Soon (STORE_COMING_SOON = True at launch) */
.store-soon { display: none; }
.store.is-coming-soon .store-soon { position: absolute; inset: 0 0 var(--section-pad); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 12px; padding: 90px 20px 20px; text-align: center; border-radius: var(--radius-lg); background: linear-gradient(to bottom, rgba(11, 19, 16, .55), rgba(11, 19, 16, .9) 45%); }
.store.is-coming-soon .store-member, .store.is-coming-soon .store-toolbar, .store.is-coming-soon .product-grid { filter: blur(5px); pointer-events: none; user-select: none; }
.store-soon__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 163, 184, .18); color: var(--blush); }
.store-soon__icon svg { width: 30px; height: 30px; }
.store-soon__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--cream); }
.store-soon__text { margin: 0 0 6px; max-width: 460px; color: var(--text); }
/* Cart drawer sits above the sticky site header and the sale banner */
.cart-overlay { z-index: 1000; }
.cart-drawer { z-index: 1001; }
.store-member [hidden], .store [hidden] { display: none !important; }

/* ---------- Store: light, off-white page with a faint paper texture (no motion) ---------- */
body:has([data-store]) {
  background-color: #f7f2e9;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(70vw 50vh at 85% -10%, rgba(139, 208, 142, .16), transparent 70%),
    radial-gradient(60vw 45vh at -10% 35%, rgba(255, 163, 184, .14), transparent 70%);
  background-attachment: fixed;
}
body:has([data-store])::before { opacity: 0; }
body:has([data-store]) .site-header::before { background: rgba(18, 29, 24, .96); }
/* Light colors for everything inside the store page (header and footer stay dark) */
main:has([data-store]), .cart-drawer, .product-modal {
  --bg: #fffdf8; --bg-2: #f6f1e7; --bg-3: #f1ebe0; --surface: #ffffff;
  --line: rgba(40, 55, 45, .12); --line-strong: rgba(40, 55, 45, .22);
  --mint: #4fae60; --mint-bright: #6cc47b; --blush: #eb7c98;
  --cream: #1f2a24; --text: #34423a; --muted: #6a786f;
  color: var(--text);
}
main:has([data-store]) .page-hero__title em, main:has([data-store]) .section-eyebrow { color: #3f9a52; }

.product-card { box-shadow: 0 14px 30px -24px rgba(40, 55, 45, .45); }
main:has([data-store]) .product-card--purple { --tint: #8a5ad8; }
main:has([data-store]) .product-card--red { --tint: #e0414f; }
main:has([data-store]) .product-card__media { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tint) 22%, transparent), transparent 70%), #f6f1e8; }
main:has([data-store]) .product-card__sample { background: rgba(255, 255, 255, .85); color: #6a786f; }
main:has([data-store]) .product-card__badge { color: #fff; }
main:has([data-store]) .store-member { background: linear-gradient(120deg, rgba(235, 124, 152, .1), rgba(79, 174, 96, .08)), #fff; }
main:has([data-store]) .btn--primary { box-shadow: 0 10px 24px -14px rgba(63, 154, 82, .8), inset 0 -3px 0 rgba(0, 0, 0, .12); }
main:has([data-store]) .store-chip:not([aria-pressed="true"]):hover { border-color: #3f9a52; }
.cart-drawer { background: #fffdf8; box-shadow: -20px 0 50px -20px rgba(40, 55, 45, .45); }
.cart-overlay { background: rgba(31, 42, 36, .35); }
.cart-drawer [hidden] { display: none !important; }

/* ---------- Store background options (data-store-bg on the store section) ---------- */
body:has([data-store-bg]) { background-attachment: fixed; }
/* Cards and the member banner pop a bit more on the darker paper */
body:has([data-store-bg]) .product-card { box-shadow: 0 16px 30px -22px rgba(60, 45, 25, .55); }
body:has([data-store-bg]) .store-chip:not([aria-pressed="true"]), body:has([data-store-bg]) .store-cart-btn { background: #fffdf8; }

/* Temporary background switcher (data-store-bg-picker) */

body:has([data-store-bg]) main:has([data-store]) { --muted: #55625a; --text: #2c3832; }


/* ---------- Store background textures, round 3 (made by textures.py; preview them on textures.html) ---------- */

body:has([data-store-bg="diagonal"]) { background-color: #d5d7d4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .22 0 0 0 0 .22 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 26px, transparent 26px 52px); }

/* Sampler page */

/* Store: card outlines colored by merch type, with a soft glow of that color on hover */
.product-card[data-category="apparel"]     { --cat: #4fae60; }
.product-card[data-category="drinkware"]   { --cat: #8a5ad8; }
.product-card[data-category="accessories"] { --cat: #eb7c98; }
.product-card[data-category="prints"]      { --cat: #3a8fd8; }
.product-card[data-category] { border: 2px solid color-mix(in srgb, var(--cat) 70%, transparent);
  transition: transform .3s var(--ease-out), border-color .2s ease, box-shadow .3s ease; }
.product-card[data-category]:hover, .product-card[data-category]:focus-within { border-color: var(--cat);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cat) 45%, transparent), 0 0 22px -2px color-mix(in srgb, var(--cat) 45%, transparent), 0 16px 30px -22px rgba(60, 45, 25, .55); }
/* Placeholder art + glow match the card's merch-type color (real product photos will replace the art) */
.product-card[data-category] { --tint: var(--cat); }
/* Badges: "New" is always green, "Best Seller" is always pink */
.product-card__badge--new { background: #4fae60 !important; color: #fff !important; }
.product-card__badge--best { background: #eb7c98 !important; color: #fff !important; }

/* Store title area: a soft light glow behind the text so it stands out from the stripes, plus deeper colors */
main:has([data-store]) .page-hero { position: relative; isolation: isolate; }
main:has([data-store]) .page-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
main:has([data-store]) .page-hero__title { color: #17201b; }
main:has([data-store]) .page-hero__title em, main:has([data-store]) .page-hero .section-eyebrow { color: #2f8a43; }
main:has([data-store]) .page-hero__lead { color: #2c3832; font-weight: 500; }
/* Store title glow: bigger and stronger so the edges of the text are covered too */
main:has([data-store]) .page-hero::before { width: min(1240px, 150%); height: 125%; top: 50%;
  background: radial-gradient(closest-side, rgba(250, 251, 249, .95) 0%, rgba(250, 251, 249, .9) 62%, rgba(250, 251, 249, .55) 82%, rgba(250, 251, 249, 0) 100%); }
@media (max-width: 760px) { main:has([data-store]) .page-hero::before { width: 190%; height: 120%; } }
main:has([data-store]) .page-hero { overflow-x: clip; }
/* Store title glow, tighter: sized to the words themselves (eyebrow, title and intro) instead of the whole hero */
main:has([data-store]) .page-hero::before { display: none; }
main:has([data-store]) .page-hero__inner { position: relative; isolation: isolate; }
main:has([data-store]) .page-hero__inner::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: calc(50% - 14px); width: min(720px, 106%); height: calc(100% + 140px); transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 251, 249, .95) 0%, rgba(250, 251, 249, .92) 70%, rgba(250, 251, 249, .55) 86%, rgba(250, 251, 249, 0) 100%); }
@media (max-width: 760px) { main:has([data-store]) .page-hero__inner::before { width: 116%; height: calc(100% + 100px); } }

/* Store: the Cart button floats just under the header on the right and stays there while you scroll.
   (store.js moves it out of the toolbar to <body> and adds .is-floating.) z-index 45 keeps it under the header and mobile menu. */
.store-cart-btn.is-floating { --surface: #ffffff; --mint: #4fae60; --cream: #1f2a24; --blush: #eb7c98; --line-strong: rgba(40, 55, 45, .22); position: fixed; top: calc(var(--header-h) + 12px); right: var(--gutter); z-index: 45;
  box-shadow: 0 10px 24px -12px rgba(30, 40, 35, .45); }

/* Cart total on the Cart button (store.js fills it; hidden while the cart is empty) */
.store-cart-btn__amount { padding-left: 9px; border-left: 1.5px solid var(--line-strong); color: var(--cream); font-variant-numeric: tabular-nums; }
.store-cart-btn__amount[hidden] { display: none; }

/* Member box: Miyuki's heart logo instead of a plain heart icon */
main:has([data-store]) .store-member__icon { width: 50px; height: 50px; background: none; }
.store-member__icon img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 8px rgba(30, 40, 35, .18)); }

/* Store: price sort menu, on the right of the filter row */
.store-sort { margin-left: auto; }
.store-sort__select { height: 40px; padding: 0 38px 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--cream);
  font: inherit; font-family: var(--font-display); font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fae60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; }
.store-sort__select:hover, .store-sort__select:focus-visible { border-color: var(--mint); }
@media (max-width: 560px) { .store-sort { margin-left: 0; } }

/* Coming Soon panel: logo heart and the "Notify Me" link to the About page sign-up */
.store-soon__icon:has(img) { width: 76px; height: 76px; background: none; }
.store-soon__icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); }

/* Coming Soon on the light Store theme: a light frosted panel so the dark title and text stay readable */
main:has([data-store]) .store.is-coming-soon .store-soon { background: linear-gradient(to bottom, rgba(236, 238, 235, .55), rgba(248, 249, 247, .94) 42%); }

main:has([data-store]) .store-soon__icon img { filter: drop-shadow(0 6px 12px rgba(30, 40, 35, .2)); }

/* AI Chat message box: a textarea that wraps and grows with long messages (chat.js sizes it).
   One line looks like the old pill; longer messages become a rounded box up to ~5 lines, then scroll. */
.chat__form { align-items: flex-end; }
textarea.chat__input { display: block; box-sizing: border-box; height: 50px; min-height: 50px; max-height: 150px; padding: 13px 18px; border-radius: 25px;
  line-height: 1.4; resize: none; overflow-y: hidden; overflow-wrap: anywhere; scrollbar-width: thin; }
.chat__form .chat__tool { margin-bottom: 4px; }
@media (max-width: 560px) { textarea.chat__input { padding: 13px 14px; } }

/* AI Chat: the whole chat box takes on the chosen girl's color (Miyuki green, Umi blue, Mio purple, Momoka pink, Rei red).
   chat.js sets --persona on the chat section; .chat used to reset it to mint, so let it inherit instead. */
.chat-layout .chat { --persona: inherit;
  background: color-mix(in srgb, var(--persona) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--persona) 55%, transparent);
  box-shadow: 0 24px 60px -40px color-mix(in srgb, var(--persona) 70%, transparent);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.chat-layout .chat__head { background: color-mix(in srgb, var(--persona) 15%, var(--bg-3)); border-bottom-color: color-mix(in srgb, var(--persona) 22%, transparent); }
.chat-layout .chat__form { background: color-mix(in srgb, var(--persona) 12%, var(--bg-2)); border-top-color: color-mix(in srgb, var(--persona) 22%, transparent); }
.chat-layout .chat__avatar { border-color: var(--persona); }
.chat-layout .msg--bot .msg__bubble { border-color: color-mix(in srgb, var(--persona) 25%, transparent); }

.chat-layout .chat__suggest .chip { border-color: color-mix(in srgb, var(--persona) 40%, transparent); }
.chat-layout .chat__suggest .chip:hover { border-color: var(--persona); background: color-mix(in srgb, var(--persona) 14%, transparent); color: var(--cream); }
.chat-layout .chat__input { border-color: color-mix(in srgb, var(--persona) 35%, transparent); }
.chat-layout .chat__input:focus { border-color: var(--persona); box-shadow: 0 0 0 4px color-mix(in srgb, var(--persona) 20%, transparent); }
.chat-layout .chat__send { background: var(--persona); }
.chat-layout .chat__send:hover { background: color-mix(in srgb, var(--persona) 80%, #fff); }

/* AI Chat bubbles, flipped: the girl's messages get her color (muted so the text stays easy to read),
   and your messages use the neutral dark bubble. */
.chat-layout .msg--bot .msg__bubble { background: color-mix(in srgb, var(--persona) 28%, #17221d); border: 1px solid color-mix(in srgb, var(--persona) 40%, transparent); color: var(--cream); }
.chat-layout .msg--bot .msg__bubble a { color: color-mix(in srgb, var(--persona) 55%, #fff); }
.chat-layout .msg--user .msg__bubble { background: var(--bg-3); border: 1px solid var(--line-strong); color: var(--text); }
.chat-layout .msg--user .msg__bubble a { color: var(--mint-bright); }

/* AI Chat: the Explore box under the chat matches the chosen girl's color too */
.chat-layout .chat-side { background: color-mix(in srgb, var(--persona) 8%, var(--bg-2));
  border-color: color-mix(in srgb, var(--persona) 45%, transparent);
  box-shadow: 0 24px 60px -44px color-mix(in srgb, var(--persona) 70%, transparent);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.chat-layout .chat-card__media { border-color: color-mix(in srgb, var(--persona) 45%, transparent); }
.chat-layout .chat-card__link:hover .chat-card__media { border-color: var(--persona); }
.chat-layout .chat-side .btn--soft { --btn-bg: color-mix(in srgb, var(--persona) 16%, transparent); --btn-line: color-mix(in srgb, var(--persona) 55%, transparent); }
.chat-layout .chat-side .btn--soft:hover { --btn-bg: color-mix(in srgb, var(--persona) 30%, transparent); --btn-line: var(--persona); }

/* AI Chat on phones: smaller suggestion buttons, always two per row, so more of the conversation stays visible */
@media (max-width: 560px) {
  .chat__suggest { gap: 6px; padding: 0 12px 10px; }
  .chat__suggest .chip { min-width: 0; padding: 5px 8px; font-size: .74rem; line-height: 1.2; white-space: normal; }
}

/* Phones: two columns of suggestions; each button hugs its words and sits centered in its column (cells added by chat.js) */
.chat__suggest-cell { display: contents; }
@media (max-width: 560px) {
  .chat__suggest-cell { display: flex; justify-content: center; align-items: center; flex: 0 0 calc(50% - 3px); min-width: 0; }
  .chat__suggest .chip { flex: 0 1 auto; max-width: 100%; text-align: center; }
}

/* AI Chat picker: the selected girl's bubble gets a soft tint of her color inside */
.chat-pick[aria-pressed="true"] { background: color-mix(in srgb, var(--pick) 14%, var(--surface)); }

/* Milestones: on hover only the outline lights up (soft glow around the edge). Nothing inside changes and nothing moves,
   so the cards don't read as buttons. The pink "Naked Full-Body Pic" box does the same in pink. */
.milestone { transition: border-color .25s ease, box-shadow .3s ease; }
.milestone:hover { border-color: rgba(139, 208, 142, .7); box-shadow: 0 0 0 1px rgba(139, 208, 142, .25), 0 0 18px -2px rgba(139, 208, 142, .4); }
.milestone-note { transition: border-color .25s ease, box-shadow .3s ease; }
.milestone-note:hover { border-color: #ffc2d0; box-shadow: 0 0 0 1px rgba(255, 163, 184, .3), 0 0 20px -2px rgba(255, 163, 184, .45); }

/* Milestones: the pink "Naked Full-Body Pic" box gets a soft pink tint inside, like the other pink-tinted boxes */
.milestone-note { background: linear-gradient(120deg, rgba(255, 163, 184, .14), rgba(255, 163, 184, .06)), var(--surface); }

/* Memberships: the Tier progress box picks up a very soft tint of the Tier you're on */
.tier-meter { background-color: color-mix(in srgb, var(--active-tier) 7%, var(--surface));
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease; }

/* Memberships: Tier box prices a couple of points bigger, lined up with the Tier names */
.tier-meter__step span:last-child { font-size: 1.02rem; }
.tier-meter__step a { align-items: baseline; }

/* ---------- Button click feedback (all pages) ----------
   Hover: lifts a little more and brightens. Press: squishes in quickly and dims, then springs back.
   Click: main.js adds a soft ripple that spreads from the click point. */
.btn { transition: transform 0.3s var(--ease-spring), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(0.95); filter: brightness(0.92); transition-duration: 0.08s; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(0, 0, 0, 0.18); }
.chip:active, .store-chip:active, .chat-pick:active:not(:disabled), .chat__send:active, .store-cart-btn:active, .chat__tool:active {
  transform: scale(0.95); filter: brightness(0.92); transition-duration: 0.08s; }
.chip, .store-chip, .chat__send, .store-cart-btn, .chat__tool { transition-property: transform, filter, background-color, border-color, color, box-shadow; transition-duration: 0.25s; }
.has-ripple { overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0) 70%);
  transform: scale(0); opacity: 1; animation: btn-ripple 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes btn-ripple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .btn:active, .chip:active, .store-chip:active, .chat-pick:active, .chat__send:active, .store-cart-btn:active, .chat__tool:active { transform: none; }
}

/* Home: about 20% less space between the hero and the character strip under it */
.waifu-strip { margin-top: clamp(28px, 3.8vw, 50px); }

/* Home, desktop: about 15% less space above the hero (phones keep their spacing) */
@media (min-width: 900px) { .hero { padding-top: clamp(40px, 4.2vw, 52px); } }

/* Home hero: the "New Sets Every Day!" sticker is a link to Recent Posts. It grows and glows on hover and squishes when pressed
   (uses `scale` so it doesn't fight the bobbing animation, the tilt or the mouse parallax). */
a.hero-sticker { display: block; text-decoration: none; cursor: pointer; transition: scale 0.3s var(--ease-spring), box-shadow 0.3s ease, filter 0.2s ease; }
a.hero-sticker:hover { scale: 1.08; filter: brightness(1.06); box-shadow: 0 0 0 8px rgba(139, 208, 142, 0.28), 0 22px 48px -12px rgba(139, 208, 142, 0.95); }
a.hero-sticker:active { scale: 0.94; filter: brightness(0.94); transition-duration: 0.08s; }
a.hero-sticker:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }

/* Home character strip: a soft green glow around a character's picture border on hover */
.waifu-chip__media { transition: border-color 0.25s ease, box-shadow 0.3s ease; }
.waifu-chip:hover .waifu-chip__media, .waifu-chip:focus-visible .waifu-chip__media { box-shadow: 0 0 0 1px rgba(139, 208, 142, 0.3), 0 0 14px rgba(139, 208, 142, 0.4); }
/* room inside the clipped strip so the hover glow isn't cut off at the top and bottom (layout unchanged) */
.waifu-strip__viewport { padding-block: 16px; margin-block: -16px; }

/* Home hero stats are links (Characters, Animes/Games, Memberships). On hover the number gets a soft green glow
   and the label brightens; nothing moves. */
.hero-stat__link { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 10px; }
.hero-stat__value, .hero-stat__label { transition: color 0.25s ease, text-shadow 0.3s ease; }
.hero-stat__link:hover .hero-stat__value, .hero-stat__link:focus-visible .hero-stat__value { color: var(--mint-bright); text-shadow: 0 0 14px rgba(139, 208, 142, 0.55), 0 0 28px rgba(139, 208, 142, 0.25); }
.hero-stat__link:hover .hero-stat__label, .hero-stat__link:focus-visible .hero-stat__label { color: var(--cream); }
.hero-stat__link:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }

/* Home character strip: Miyuki's card is marked as the main character (badge + always-on soft green glow) */
.waifu-chip__media { position: relative; }
.waifu-chip--main .waifu-chip__media { border: 2px solid var(--mint); box-shadow: 0 0 0 1px rgba(139, 208, 142, 0.3), 0 0 16px rgba(139, 208, 142, 0.45); }
.waifu-chip__badge { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 5px; border-radius: 999px;
  background: rgba(11, 19, 16, 0.78); border: 1px solid rgba(139, 208, 142, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--mint-bright); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.02em; white-space: nowrap; }
.waifu-chip__badge img { width: 18px; height: 18px; object-fit: contain; }
.waifu-chip--main .waifu-chip__name { color: var(--mint-bright); }

/* About page: link buttons a bit narrower (about 60% less empty space after the text); still full width on small phones */
.link-list { max-width: 420px; align-self: center; }

/* About page FAQ: boxes a bit narrower (about a third less empty space to the right of most questions) */
#faq .accordion { max-width: 700px; }

/* Footer: "Get Updates" sits next to Donate and goes to the email sign-up on the About page */
.footer-social__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-social__promo { min-height: 52px; padding: 0 26px; font-size: 1.1rem; gap: 10px; }
.footer-social__promo svg { width: 22px; height: 22px; color: var(--mint); }
.footer-social__promo:hover svg { color: var(--mint-bright); }

/* ---------- AI Chat: subtle reaction when her mood changes (chat.js adds .react-<mood> to the cutout) ----------
   Small and quick on purpose: a little hop when happy, a tiny shake when mad, a slight sink when sad... */
.chat__mood.is-cutout[class*="react-"] { animation: mood-pop 0.35s var(--ease-spring), var(--react, none); }
.chat__mood.react-happy { --react: react-hop 0.6s ease-out; }
.chat__mood.react-flirty { --react: react-tilt 0.8s ease-in-out; }
.chat__mood.react-smug { --react: react-tilt-back 0.8s ease-in-out; }
.chat__mood.react-embarrassed { --react: react-shy 0.8s ease-in-out; }
.chat__mood.react-surprised { --react: react-jolt 0.45s ease-out; }
.chat__mood.react-mad { --react: react-shake 0.45s ease-in-out; }
.chat__mood.react-sad, .chat__mood.react-disappointed { --react: react-sink 0.9s ease-in-out; }
.chat__mood.react-sleepy { --react: react-sink 1.4s ease-in-out; }
.chat__mood.react-crying { --react: react-shiver 0.6s ease-in-out; }
.chat__mood.react-laughing { --react: react-hop 0.5s ease-out 2; }
.chat__mood.react-wink, .chat__mood.react-seductive { --react: react-tilt 0.8s ease-in-out; }
.chat__mood.react-lip-bite, .chat__mood.react-loving { --react: react-shy 0.9s ease-in-out; }
.chat__mood.react-aroused { --react: react-shiver 0.7s ease-in-out; }
.chat__mood.react-very-aroused { --react: react-shiver 0.6s ease-in-out 2; }
.chat__mood.react-orgasmic { --react: react-shiver 0.5s ease-in-out 3; }
@keyframes react-hop { 0%, 100% { translate: 0 0; } 40% { translate: 0 -3px; } }
@keyframes react-tilt { 0%, 100% { rotate: 0deg; } 40% { rotate: 0.7deg; } }
@keyframes react-tilt-back { 0%, 100% { rotate: 0deg; } 40% { rotate: -0.6deg; } }
@keyframes react-shy { 0%, 100% { scale: 1; translate: 0 0; } 40% { scale: 0.994; translate: -1px 1px; } }
@keyframes react-jolt { 0%, 100% { scale: 1; } 30% { scale: 1.015; } }
@keyframes react-shake { 0%, 100% { translate: 0 0; } 25% { translate: -1.5px 0; } 50% { translate: 1.5px 0; } 75% { translate: -1px 0; } }
@keyframes react-sink { 0%, 100% { translate: 0 0; } 45% { translate: 0 2px; } }
@keyframes react-shiver { 0%, 100% { translate: 0 0; } 33% { translate: -0.8px 0.5px; } 66% { translate: 0.8px 0.5px; } }
.motion-off .chat__mood[class*="react-"] { animation: none; }
@media (prefers-reduced-motion: reduce) { .chat__mood[class*="react-"] { animation: none; } }

/* ---------- AI Chat: Start Over (next to Show Suggestions, like "Clear filters": just text that turns red on hover) ---------- */
.chat__restart { flex-shrink: 0; margin: 0 0 0 auto; align-self: center; padding: 5px 10px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .85rem; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.chat__restart:hover, .chat__restart:focus-visible { color: #ff5f63; }
.chat__restart[hidden] { display: none; }
.chat__restart:not([hidden]) + .chat__suggest-toggle { margin-left: 6px; }
@media (max-width: 760px) { .chat__restart { padding: 4px 6px; font-size: .78rem; } }
/* "Are you sure?" box over the chat */
.chat-confirm { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 10, 8, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: inherit; animation: card-in .2s var(--ease-out); }
.chat-confirm[hidden] { display: none; }
.chat-confirm__box { width: min(340px, 100%); padding: 22px 22px 20px; border-radius: var(--radius-lg); text-align: center;
  background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--persona) 55%, transparent); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); }
.chat-confirm__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--cream); }
.chat-confirm__text { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.chat-confirm__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chat-confirm .btn--primary { --btn-bg: var(--persona); --btn-line: var(--persona); }
.chat-confirm__no { --btn-line: var(--line-strong); }
/* Phones: the chat header fits avatar, name, Start Over and Show Suggestions on one line */
@media (max-width: 480px) {
  .chat__head { gap: 8px; padding: 10px 12px; }
  .chat__head .chat__avatar { width: 40px; height: 40px; border-width: 2px; }
  .chat__head .chat__name { font-size: 1.05rem; }
  .chat__head .chat__status { font-size: .8rem; }
  .chat__restart { padding: 4px 2px; font-size: .74rem; }
  .chat__head .chat__suggest-toggle { padding: 4px 9px; font-size: .74rem; }
  .chat__restart:not([hidden]) + .chat__suggest-toggle { margin-left: 4px; }
}

/* AI Chat: no mood word under her picture; her expression shows the mood */
.chat__mood-label { display: none; }

/* AI Chat on phones: the whole chat box (her name down to the message box) fits on one screen below the menu bar */
@media (max-width: 699px) {
  .chat { height: calc(100svh - var(--header-h) + 60px); min-height: 600px; max-height: 880px; }   /* a little taller than the screen, for more messages */
}
/* Short phones (like iPhone SE): a slightly smaller picture so more messages fit */
@media (max-width: 699px) and (max-height: 720px) {
  .chat__mood { height: 125px; }
}

/* AI Chat: small "Hide" / "Show" pill in the top-left corner of the chat area, next to her picture.
   Hidden, the picture goes away and the messages fill the whole box. */
.chat__body { position: relative; }
.chat__mood-toggle { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 4px 13px; border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--persona) 55%, transparent); background: color-mix(in srgb, var(--persona) 8%, rgba(11, 19, 16, .6));
  color: var(--persona); font: inherit; font-family: var(--font-display); font-weight: 600; font-size: .82rem; line-height: 1.5; cursor: pointer; opacity: .85; transition: opacity .2s ease, background-color .2s ease; }
.chat__mood-toggle:hover, .chat__mood-toggle:focus-visible { opacity: 1; background: color-mix(in srgb, var(--persona) 18%, rgba(11, 19, 16, .6)); }
.chat-layout.is-mood-hidden .chat__stage { display: none; }
.chat-layout.is-mood-hidden .chat__log { padding-top: 42px; }   /* room for the Show pill above the first message */

/* ---------- Floating "Chat with me!" button (bottom right on every page except the chat; just links to chat.html) ----------
   Desktop: Miyuki's face + a short line. Phones: only her face (small circle) so it doesn't cover the page.
   A soft green ring pulses every few seconds to draw the eye; off with Motion off / reduced motion. */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px;
  background: rgba(18, 29, 24, .92); border: 1.5px solid rgba(139, 208, 142, .6); color: #f4f8f0; text-decoration: none;   /* fixed: light pages redefine --cream as dark */
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7), 0 0 18px -6px rgba(139, 208, 142, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease-spring), border-color .2s ease, box-shadow .25s ease; animation: fab-in .5s var(--ease-out) .8s both; }
.chat-fab:hover, .chat-fab:focus-visible { transform: translateY(-3px); border-color: var(--mint); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .7), 0 0 24px -4px rgba(139, 208, 142, .7); }
.chat-fab:active { transform: scale(.95); }
.chat-fab__face { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; }
.chat-fab__face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--mint); display: block; }
.chat-fab__face::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; animation: fab-ring 3.2s ease-out 2s infinite; }
.chat-fab__dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #4fdc6e; border: 2px solid #121d18; }
.chat-fab__text { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.15; white-space: nowrap; }
@keyframes fab-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes fab-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 700px) {
  .chat-fab { right: 14px; bottom: 14px; padding: 3px; gap: 0; }
  .chat-fab__face { width: 50px; height: 50px; }
  .chat-fab__text { display: none; }
}
/* Phones: a "back to top" arrow on the left, opposite the chat bubble, once you've scrolled down (main.js) */
.to-top { display: none; }
@media (max-width: 700px) {
  .to-top { position: fixed; left: 14px; bottom: 14px; z-index: 40; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
    border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--bg-3); color: var(--mint); cursor: pointer;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s; }
  .to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
  .to-top svg { width: 22px; height: 22px; }
}
.motion-off .chat-fab, .motion-off .chat-fab__face::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .chat-fab, .chat-fab__face::after { animation: none; } }

/* Request A Waifu: sent / error message under the form. */
.request-waifu__note { flex-basis: 100%; margin: 4px 0 0; font-size: .95rem; color: var(--mint-bright); }

/* Signed in with Patreon: "Hi, Name  Sign out" in the header (WordPress). */
/* Signed in: "Hi, Name" opens a small menu with Sign Out (same look as the nav dropdowns) */
.member-menu { position: relative; display: flex; }
.signin-link--member { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font-size: inherit; }
.signin-link--member svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.member-menu.is-open .signin-link--member svg { transform: rotate(180deg); }
.member-menu__drop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 140px; padding: 6px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
}
.member-menu.is-open .member-menu__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.member-menu__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* hover bridge from the name down to the menu */
.member-menu__drop a { display: flex; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--cream); font-family: var(--font-display); font-weight: 600; }
.member-menu__drop a:hover, .member-menu__drop a:focus-visible { background: rgba(139, 208, 142, 0.1); }
/* Phones / the slide-out menu: "Hi, Name" looks like Browse (same size, left-aligned, no box) and opens the same way */
@media (max-width: 1024px) {
  .member-menu { flex-direction: column; }
  .site-nav .signin-link--member { width: 100%; justify-content: space-between; min-height: 0; padding: 14px 16px; border: 0; border-radius: 12px; font-size: 1.35rem; text-align: left; color: var(--text); }
  .member-menu__drop { position: static; transform: none; display: none; margin: 4px 0 8px 12px; padding: 0; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .member-menu__drop::before { content: none; }
  .member-menu.is-open .member-menu__drop { display: block; }
}
.signin-link--member a:hover { color: var(--mint); opacity: 1; }

/* ---------- Character and anime pages (WordPress: /characters/<name>/, /animes/<series>/) ---------- */
.entity { padding: clamp(28px, 4vw, 48px) 16px clamp(56px, 7vw, 96px); }
.entity__crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .92rem; color: var(--muted); margin-bottom: clamp(18px, 3vw, 28px); }
/* room under the Motion switch (it sits 12px below the header and is 28px tall), where the page's top padding is smaller */
.entity__crumbs { padding-top: max(0px, calc(50px - clamp(28px, 4vw, 48px))); }
.entity__crumbs a { color: var(--muted); text-decoration: none; }
.entity__crumbs a:hover { color: var(--mint); }
.entity__head { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 48px); align-items: flex-start; }
.entity__pic { flex: 0 0 auto; width: min(320px, 100%); margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--line-strong); background: var(--surface); box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .6); }
.entity__img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 745; object-fit: cover; }
.entity__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.entity__info .section-eyebrow { margin: 0; }
.entity__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; }
.entity__title-row { display: flex; align-items: center; gap: 14px; }
.entity__fav { position: static; flex: 0 0 auto; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.entity__fav svg { width: 23px; height: 23px; }
.entity__facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.entity__facts li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: .95rem; }
.entity__facts span { color: var(--muted); margin-right: 4px; }
.entity--anime .entity__facts li { border-color: rgba(255, 163, 184, 0.4); background: #33222c; }   /* pink page, pink pills */
/* a fun fact under her description */
.entity__facts a { color: var(--mint); text-decoration: none; font-weight: 600; }
.entity__facts a:hover { text-decoration: underline; }
/* Her anime: the whole pill is the link (no "From" label) */
.entity__facts li.entity__fact--link { padding: 0; transition: border-color .2s ease, background .2s ease; }
.entity__fact--link a { display: block; padding: 6px 16px; border-radius: inherit; }
.entity__facts li.entity__fact--link:hover { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, var(--surface)); }
.entity__fact--link a:hover { text-decoration: none; }
.entity__fact--link a:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.entity__bio { max-width: 62ch; font-size: 1.05rem; line-height: 1.65; }
.entity__bio p { margin: 0 0 .8em; }
.entity__bio ul { margin: 0 0 .8em; padding-left: 1.2em; }
.entity__bio li { margin: 0 0 .35em; }
.entity__girls { margin: 0; max-width: 62ch; line-height: 1.7; }
.entity__girls span { font-family: var(--font-display); font-weight: 700; margin-right: 4px; }
.entity__girls a { color: var(--mint); font-weight: 600; text-decoration: none; }
.entity__girls a:hover { text-decoration: underline; }
.entity__posts-title { margin: clamp(40px, 6vw, 64px) 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); }
/* Character / anime page posts: the Recent Posts cards (.post-grid / .post-card) */
.entity-posts { gap: 20px; }
.entity-posts__empty { color: var(--muted); }
.entity-posts-wrap .posts__more { margin-top: 20px; }
@media (max-width: 600px) {
  .entity__pic { width: 100%; max-width: 360px; margin: 0 auto; }
  .entity__side { width: 100%; max-width: 360px; margin: 0 auto; }
  .entity__info { align-items: stretch; }
  .entity__info .btn { align-self: flex-start; }
}

/* ---------- Store: Coming Soon (visitors see the page blurred behind a card, see mh_store_soon) ---------- */
.store-hold { position: relative; display: flex; flex-direction: column; }
body:has(.store-hold) .store-cart-btn, body:has(.store-hold) #store-cart { display: none !important; }
.store-hold__blur { filter: blur(14px) saturate(0.9); opacity: 0.55; pointer-events: none; user-select: none; max-height: 1400px; overflow: hidden; }
.store-hold__card {
  position: absolute; top: clamp(90px, 16vh, 180px); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 32px));
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius); background: color-mix(in srgb, var(--bg-3) 88%, transparent); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); backdrop-filter: blur(6px);
}
.store-hold__card .section-eyebrow { margin: 0; }
.store-hold__card p { margin: 0; color: var(--muted); }
.store-hold__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; }
.store-hold__title em { font-style: normal; color: var(--mint); }
.store-hold__note { margin: 0; padding: 10px 16px; text-align: center; background: rgba(139, 208, 142, 0.12); border-bottom: 1px solid var(--line-strong); font-size: 0.92rem; }

/* Anime pages: the same pink night background as the Animes finder page */
body:has(.entity--anime) { background: linear-gradient(170deg, #2e1f28 0%, #281f25 60%, #241e23 100%) fixed; }
body:has(.entity--anime)::before { opacity: 0; }
.entity--anime .section-eyebrow { color: var(--blush); }
.entity--anime .entity__girls a { color: var(--blush); }
/* Anime pages: the post cards in pink to match the page (Tier colors, buttons and name chips all switch) */
.entity--anime .post-card, .entity--anime .post-card[class*="tier--"] {
  --tier: var(--blush); --mint: var(--blush); --mint-bright: #ffbccb; --surface: #2c1e27;
  background: #2c1e27; border-color: color-mix(in srgb, var(--blush) 35%, transparent);
}
.entity--anime .post-card__body { background: #352531; }
.entity--anime .post-card__media { background: #2c1e27; }   /* behind a picture still loading */
.entity--anime .post-card:hover { border-color: var(--blush); box-shadow: 0 26px 60px -30px var(--blush); }
.entity--anime .post-card .btn--primary { box-shadow: 0 10px 30px -10px rgba(255, 163, 184, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.entity--anime .post-card .btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(255, 163, 184, 0.85), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.entity--anime .post-card .btn--ghost:hover { background: rgba(255, 163, 184, 0.1); }
/* Character pages: left column = her picture with the Patreon button under it.
   "You Might Also Like" sits under the bio, as wide as the bio: four girls in two rows of two,
   or two girls one above the other when there isn't room for two side by side. */
.entity__side { flex: 0 0 auto; width: min(320px, 100%); display: flex; flex-direction: column; gap: 14px; }
.entity__side .entity__pic { width: 100%; }
.entity__join { align-self: stretch; justify-content: center; text-align: center; }
.entity-recs { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 62ch; font-size: 1.05rem; container-type: inline-size; }
.entity-recs__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.entity-recs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.entity-recs__list li { flex: 0 0 calc(50% - 4px); display: flex; min-width: 0; }
@container (max-width: 460px) { .entity-recs__list li { flex-basis: 100%; } .entity-recs__list li:nth-child(n+3) { display: none; } }
.entity-rec { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 7px 12px 7px 7px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.entity-rec:hover, .entity-rec:focus-visible { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 8%, var(--surface)); }
.entity-rec__img { flex: 0 0 auto; width: 46px; height: 57px; border-radius: 10px; object-fit: cover; object-position: top; }
.entity-rec__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.entity-rec__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.2; overflow-wrap: anywhere; }
.entity-rec__series { font-size: 0.78rem; line-height: 1.25; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Anime/game pages: pink cards like the post cards there */
.entity--anime .entity-rec { background: #352531; border-color: rgba(255, 163, 184, 0.3); }
.entity--anime .entity-rec:hover, .entity--anime .entity-rec:focus-visible { border-color: var(--blush); background: #3f2b39; }

/* Home: "Check Out All My Socials!" account cards: three across, two rows (Instagram on top; Patreon and X below),
   each linking straight to the account. Square profile picture, the handle in bold, the platform and follower count,
   and the platform's logo on the right like a button. The platform's colors sit behind the card see-through and
   brighten on hover. Sizes follow the card's own width, so the handle always stays on one line.
   Two across on tablets, one on phones. */
.social-cards { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social-cards > li { flex: 0 0 calc((100% - 32px) / 3); min-width: 0; display: flex; container-type: inline-size; }
@media (max-width: 1000px) { .social-cards > li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .social-cards > li { flex-basis: 100%; } }
.social-card { --accent: var(--mint); position: relative; isolation: isolate; overflow: hidden; flex: 1; min-width: 0; display: flex; align-items: center;
  gap: clamp(10px, 4cqi, 18px); padding: clamp(12px, 4.5cqi, 16px); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 15%, transparent); backdrop-filter: blur(1px);
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); color: #fff; text-decoration: none; transition: border-color 0.25s ease, box-shadow 0.3s ease; }
.social-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-bg); opacity: 0.3; transition: opacity 0.3s ease; }   /* the striped section shows through */
.social-card:hover::before, .social-card:focus-visible::before { opacity: 0.85; }
/* Instagram: its purple-pink-orange gradient; Patreon: its coral; X: black */
.social-card--instagram { --accent: #e1306c; --brand-bg: linear-gradient(135deg, #5b51d8 0%, #d6249f 45%, #fd5949 80%, #fdda5c 100%); }
.social-card--patreon { --accent: #f2634e; --brand-bg: linear-gradient(135deg, #f2634e 0%, #c9452f 55%, #0b1f33 100%); }
.social-card--x { --accent: #9aa3a0; --brand-bg: linear-gradient(135deg, #2a2f2d 0%, #000 75%); }
.social-card { transition: border-color 0.25s ease, box-shadow 0.3s ease, background 0.3s ease; }
.social-card:hover, .social-card:focus-visible { border-color: var(--accent); box-shadow: 0 22px 48px -26px var(--accent); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.social-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-card__pic { flex: 0 0 auto; width: clamp(60px, 26cqi, 104px); aspect-ratio: 1; }
.social-card__img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; object-position: center 30%; border: 2px solid rgba(255, 255, 255, 0.7); }
.social-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.social-card__handle { font-family: var(--font-display); font-weight: 700; font-size: clamp(0.8rem, 5.2cqi, 1.2rem); line-height: 1.2; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.social-card__platform { font-size: clamp(0.78rem, 3.8cqi, 0.92rem); color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.social-card__count { margin-top: 4px; font-size: clamp(0.74rem, 3.4cqi, 0.85rem); color: rgba(255, 255, 255, 0.82); white-space: nowrap; }
.social-card__count strong { font-family: var(--font-display); font-size: 1.25em; color: #fff; margin-right: 3px; }
/* The platform's logo, on the right like an app icon button */
.social-card__logo { flex: 0 0 auto; width: clamp(34px, 13cqi, 50px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.18); transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease; }
.social-card__logo svg { width: 100%; height: 100%; display: block; }
.social-card--patreon .social-card__logo { border-radius: 50%; }
.social-card--x .social-card__logo svg { width: 50%; height: 50%; }
.social-card--x .social-card__logo { background: #000; color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3); }
.social-card:hover .social-card__logo, .social-card:focus-visible .social-card__logo { transform: scale(1.08); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7), 0 0 0 2px #fff; }

/* Home "A Little Taste.": real free posts (mh_render_taste). Three bigger on top, four smaller under them;
   phones show six, all the same size. The whole card opens the post on Patreon. */
.preview-row:has(.taste-card) { justify-content: center; }
.taste-card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.taste-card--big { flex: 0 0 calc((100% - 36px) / 3); }
.taste-card--small { flex: 0 0 calc((100% - 54px) / 4); }
.taste-card .preview-card__img { aspect-ratio: 4 / 5; min-height: 0; }
.taste-card:hover { border-color: var(--blush); }
.taste-card__bday { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: var(--blush); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
@media (max-width: 900px) {
  .taste-card--big, .taste-card--small { flex: 0 0 calc((100% - 18px) / 2); }
  .preview-row .taste-card:nth-child(n+7) { display: none; }
  .taste-card .preview-card__name { font-size: 0.8rem; padding: 5px 11px; }
  .taste-card__bday { font-size: 0.75rem; padding: 4px 10px; top: 8px; left: 8px; }
}
.taste-card .preview-card__caption { left: 10px; right: 10px; bottom: 10px; justify-content: center; }
.taste-card .preview-card__name { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Corners of post cards (mh_card_flags): an angled ribbon across the top right ("New" for a post's first 7 days,
   "Birthday" in pink on a birthday girl's card) and a cake top left on birthday cards */
.card-ribbon { position: absolute; top: 16px; right: -34px; z-index: 3; width: 128px; padding: 5px 0; transform: rotate(45deg); text-align: center;
  background: #a8dcff; color: #0b1f33; font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6); pointer-events: none; }
.card-ribbon--bday { background: var(--blush); }
.card-flags { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.card-flag--cake { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); font-size: 1.15rem;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); }

/* Characters / Animes cards: heart on the picture's bottom right (the NEW ribbon takes the top right) */
.char-card__media .fav-btn { top: auto; bottom: 10px; right: 10px; }

/* Characters / Animes finder: one line where it fits: the filters left-aligned, then Clear, and the
   "532 characters" count on the right (wraps onto more lines on small screens) */
.finder-meta:has(.access-filter) { justify-content: flex-start !important; }
.finder-meta:has(.access-filter) > details { order: 1; margin-left: 0 !important; }
.finder-meta:has(.access-filter) { row-gap: 10px; }
.finder-meta:has(.access-filter) > .finder-clear { order: 3; margin-left: 0 !important; }
.finder-meta:has(.access-filter) > .finder-clear[hidden] { display: none !important; }
.finder-meta:has(.access-filter) > .finder-count { order: 4; margin-left: auto !important; margin-right: 0 !important; }

/* Home "Who's Your Waifu?": See Characters (green), See Animes/Games (pink), Requests (blue, to the request form) */
.finder-band__more { --c: var(--mint); background: color-mix(in srgb, var(--c) 18%, transparent); border: 1.5px solid color-mix(in srgb, var(--c) 60%, transparent); color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease; }
.finder-band__more:hover, .finder-band__more:focus-visible { background: var(--c); border-color: var(--c); color: var(--ink); box-shadow: 0 12px 30px -12px var(--c); }
.finder-band__more--mint { --c: var(--mint); }
.finder-band__more--pink { --c: var(--blush); }
.finder-band__more--blue { --c: #8cc8ff; }
/* Jumping to the request form (home "Requests" button): stop below the sticky header */
#request-waifu { scroll-margin-top: calc(var(--header-h, 76px) + 24px); }

/* Home "A Little Taste": "Join To Unlock Everything!" on one line (shrinks a little on narrow screens to fit) */
#fresh-title em { white-space: nowrap; font-size: min(1em, 7.4vw); }

/* Character / anime pages: no "Free for everyone" line. The name and button sit at the bottom of the card, so they
   line up across a row; shorter titles just get a little more room under them. */
.entity-posts-wrap .post-card__info { display: none; }
.entity-posts-wrap .post-card__chars { margin-top: auto; }
.entity-posts-wrap .post-card__title { margin-bottom: 4px; }

/* Animations: cards (Animations page, "More Animations"), the player page, and "Watch Her Animation" on her page */
.anims { padding-bottom: var(--section-pad); }
.anim-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.anim-card { position: relative; flex: 0 0 calc(33.333% - 13.34px); min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--blush) 35%, transparent); text-decoration: none; color: var(--cream); transition: border-color 0.25s ease, box-shadow 0.35s ease; }
.anim-card:hover, .anim-card:focus-within { border-color: var(--blush); box-shadow: 0 26px 60px -30px var(--blush); }
.anim-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.anim-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.anim-card__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--cream) 88%, transparent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease-out); }
.anim-card__play svg { width: 26px; height: 26px; margin-left: 1px; }   /* the triangle already sits a little right in its icon */
.anim-card:hover .anim-card__play { transform: scale(1.08); }
.anim-card__len { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(12, 18, 15, 0.72); font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.anim-card__body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; background: #352531; }
.anim-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 0.82rem; }
.anim-card__tier { padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blush) 18%, transparent); color: var(--blush); font-family: var(--font-display); font-weight: 600; }
.anim-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.anim-card__series { color: var(--muted); font-size: 0.86rem; }
.anim-grid--more .anim-card { flex-basis: calc(25% - 15px); }
@media (max-width: 900px) { .anim-card, .anim-grid--more .anim-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 520px) { .anim-card, .anim-grid--more .anim-card { flex-basis: 100%; } }

.anim-page { padding-bottom: var(--section-pad); }
.anim-page__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 10px 0 22px; }
.anim-page__head .entity__title em { color: var(--blush); font-style: normal; }
.anim-player { position: relative; width: 100%; max-height: 78vh; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1.5px solid color-mix(in srgb, var(--blush) 40%, transparent); }
.anim-player__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.anim-player.is-locked .anim-player__video { object-fit: cover; transform: scale(1.06); }
.anim-player__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: linear-gradient(180deg, rgba(18, 12, 16, 0.25), rgba(18, 12, 16, 0.7)); }
.anim-player__lock-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); }
.anim-player__lock-icon svg { width: 26px; height: 26px; }
.anim-player__lock-title { margin: 0; max-width: 30ch; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.25; }
.anim-player__signin { color: var(--cream); font-size: 0.9rem; }
.anim-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.anim-page__more { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(40px, 6vw, 72px); }
.anim-page__more-title { margin: 0; align-self: flex-start; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.anim-page__more .anim-grid { align-self: stretch; }

/* Character page: "Watch Her Animation" under "See Her Sets On Patreon" (pink, like the anime pages) */

/* Memberships: each Tier card gets a subtle tint of its own color (on a neutral dark, so red reads red, not brown) */
.tier-card { background: color-mix(in srgb, var(--tier) 11%, #171a19); }

/* Animations page: a soft blue tint with rising green and blue hearts; blue accents and cards */
body:has(.page-hearts--blue) { background: linear-gradient(170deg, #1b2433 0%, #1a212d 60%, #181e28 100%) fixed; }
body:has(.page-hearts--blue)::before { opacity: 0; }
.page-hearts--blue ~ section { --blush: #8cc4ff; }
.page-hearts--blue ~ section .anim-card { background: #212c3d; }
.page-hearts--blue ~ section .anim-card__body { background: #26344a; }
.anims__join { margin-top: 26px; }
.page-hearts--blue ~ section .page-hero__title em { color: #8cc4ff; }

/* IRL page: a soft purple tint, purple petals, and the post cards in purple to match (Tier labels, buttons, name chips) */
body:has(.page-bg--purple) { background: linear-gradient(170deg, #271f33 0%, #231d2d 60%, #1f1b27 100%) fixed; }
body:has(.page-bg--purple)::before { opacity: 0; }
.page-bg--purple ~ section .section-eyebrow, .page-bg--purple ~ section .page-hero__title em { color: #c9a6ff; }
.page-bg--purple[data-ambient="petals"] .ambient-p:not(.ambient-p--green):not(.ambient-p--dot) { background: linear-gradient(135deg, #f6efff, #c9a6ff); }
.page-bg--purple[data-ambient="petals"] .ambient-p--dot:not(.ambient-p--green) { background: #d4b8ff; box-shadow: 0 0 6px #d4b8ff; }
.page-bg--purple ~ section .post-card, .page-bg--purple ~ section .post-card[class*="tier--"] {
  --tier: #c9a6ff; --mint: #c9a6ff; --mint-bright: #dcc6ff; --surface: #261f31;
  background: #261f31; border-color: rgba(201, 166, 255, 0.35);
}
.page-bg--purple ~ section .post-card__body { background: #2f263d; }
.page-bg--purple ~ section .post-card__media { background: #261f31; }
.page-bg--purple ~ section .post-card:hover { border-color: #c9a6ff; box-shadow: 0 26px 60px -30px #c9a6ff; }
.page-bg--purple ~ section .post-card .btn--primary { box-shadow: 0 10px 30px -10px rgba(201, 166, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.page-bg--purple ~ section .post-card .btn--ghost:hover { background: rgba(201, 166, 255, 0.1); }
.page-bg--purple ~ section .post-card__ph { background: radial-gradient(circle at 30% 25%, #e6d6ff 0%, transparent 45%), radial-gradient(circle at 75% 70%, #a98bd6 0%, transparent 50%), linear-gradient(160deg, #c3a6f0, #5e4a85); }

/* IRL cards: no "... Tier and up" line (the Tier is on the label above the title) */
.page-bg--purple ~ section .post-card__info { display: none; }
/* Each girl's animation page: blue like the Animations page (pills, links and the player outline) */
.page-hearts--blue ~ section.anim-page { --surface: #212c3d; --line-strong: rgba(140, 196, 255, 0.3); }
.page-hearts--blue ~ section .entity__facts a, .page-hearts--blue ~ section .entity__crumbs a:hover { color: #8cc4ff; }
.page-hearts--blue ~ section .entity__facts li.entity__fact--link:hover { border-color: #8cc4ff; background: color-mix(in srgb, #8cc4ff 12%, var(--surface)); }
.page-hearts--blue ~ section .anim-player__lock { background: linear-gradient(180deg, rgba(12, 18, 30, 0.25), rgba(12, 18, 30, 0.7)); }

/* Animes page: the search box, buttons, dropdowns and letters on dark pink instead of dark green (green accents stay) */
.page-hearts--blush ~ section .finder-controls { --bg: #23161e; --surface: #2c1e27; --line-strong: rgba(255, 163, 184, 0.3); }
/* Animation pages: the "See The Post On Patreon" button in blue */
.page-hearts--blue ~ section .anim-page__actions .btn { background: rgba(140, 196, 255, 0.12); border-color: rgba(140, 196, 255, 0.5); color: var(--cream); }
.page-hearts--blue ~ section .anim-page__actions .btn:hover, .page-hearts--blue ~ section .anim-page__actions .btn:focus-visible { background: #8cc4ff; border-color: #8cc4ff; color: var(--ink); }
/* The small headings above page titles ("Browse · IRL", "Browse · Animes/Games", "Anime" / "Game") stay green on every page */
.page-bg--blush ~ section .section-eyebrow, .page-bg--purple ~ section .section-eyebrow,
.page-hearts--blush ~ section .section-eyebrow, .entity--anime .section-eyebrow { color: var(--mint); }
/* Animes page: Surprise Me in pink like the rest of the search box */
.page-hearts--blush ~ section .finder-random { color: var(--blush); border-color: rgba(255, 163, 184, 0.55); }
.page-hearts--blush ~ section .finder-random:hover { background: rgba(255, 163, 184, 0.12); border-color: var(--blush); }
/* Post cards: where she's from sits right under her name, both at the bottom of the card */
.post-card__info + .post-card__chars { margin-top: 0; }
.post-card__info + .post-card__cta { margin-top: 8px; }   /* no girl chips: the button sits under the line */
/* Character / anime pages hide that line: names and button go to the bottom, so they line up across a row */
.entity-posts-wrap .post-card__info + .post-card__chars, .entity-posts-wrap .post-card__info + .post-card__cta { margin-top: auto; }
/* Post cards: where she's from links to that anime/game page and lights up a little on hover */
.post-card__from { color: inherit; text-decoration: none; border-radius: 6px; transition: color 0.2s ease, text-shadow 0.2s ease; }
.post-card__from:hover, .post-card__from:focus-visible { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); }
.post-card__from:active { color: #fff; }
/* Anime pages: the favorite heart and "See More Posts" in pink like the rest of the page */
.entity--anime .entity__fav { background: rgba(255, 163, 184, 0.14); border-color: rgba(255, 163, 184, 0.5); color: var(--blush); }
.entity--anime .entity__fav:hover { background: rgba(255, 163, 184, 0.26); color: var(--blush); }
.entity--anime .btn--soft { --btn-bg: rgba(255, 163, 184, 0.14); --btn-line: rgba(255, 163, 184, 0.55); }
.entity--anime .btn--soft:hover { --btn-bg: rgba(255, 163, 184, 0.28); --btn-line: var(--blush); }
/* FAQ: the pink-outlined boxes get a soft pink tint inside */
#faq .accordion__item:nth-child(even) { background: linear-gradient(120deg, rgba(255, 163, 184, .13), rgba(255, 163, 184, .06)), var(--surface); }
/* Home: the small title above the Character Finder and Join boxes, on the left like the other sections */
.band-eyebrow { margin: 0 0 16px; }
.band-eyebrow:has(+ .cta-band) { display: flex; max-width: 1040px; margin-inline: auto; }   /* the Join box is narrower and centered */
/* IRL page: "See More Posts" in lavender, and at most 3 cards across (2 on tablets, 1 on phones as before) */
.page-bg--purple ~ section .btn--soft { --btn-bg: rgba(201, 166, 255, 0.14); --btn-line: rgba(201, 166, 255, 0.55); }
.page-bg--purple ~ section .btn--soft:hover { --btn-bg: rgba(201, 166, 255, 0.28); --btn-line: #c9a6ff; }
.page-bg--purple ~ section .post-card { flex-basis: calc(33.333% - 13.34px); }
@media (max-width: 820px) { .page-bg--purple ~ section .post-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 520px) { .page-bg--purple ~ section .post-card { flex-basis: 100%; } }

/* ---------- Home: "More Of Me" — Animations, IRL Pics and AI Chat on the IRL page's purple, with lavender petals ---------- */
.more-of-me { overflow: hidden; background: linear-gradient(170deg, #271f33 0%, #231d2d 60%, #1f1b27 100%); }
.more-of-me > .container { position: relative; z-index: 1; }
.more-of-me .section-title em { color: #c9a6ff; }
.more-of-me__petals { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.more-of-me__petals .ambient-p { top: -20px; height: calc(var(--size) * .78); border-radius: 150% 0 150% 0; background: linear-gradient(135deg, #f6efff, #c9a6ff); opacity: 0; animation-name: amb-fall-page; animation-timing-function: linear; }
.more-of-me__petals .ambient-p--green { background: linear-gradient(135deg, #e9fbe9, var(--c)); }
.more-of-me__petals .ambient-p--dot { width: calc(var(--size) * .4); height: calc(var(--size) * .4); border-radius: 50%; background: #d4b8ff; box-shadow: 0 0 6px #d4b8ff; }
.motion-off .more-of-me__petals .ambient-p { animation: none !important; opacity: calc(var(--o, .3) * .6); }

.more-grid { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 24px); }
.more-card { --acc: #c9a6ff; flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--cream);
  background: #2f263d; border: 1.5px solid color-mix(in srgb, var(--acc) 38%, transparent); transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.35s ease; }
.more-card--anim { --acc: #8cc4ff; }
.more-card--chat { --acc: var(--mint); }
.more-card:hover, .more-card:focus-visible { transform: translateY(-4px); border-color: var(--acc); box-shadow: 0 26px 60px -30px var(--acc); }
.more-card:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.more-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #241d30; }
.more-card__video, .more-card__img, .more-card__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.more-card__video { transform: scale(1.08); }
.more-card__img { transition: transform 0.6s var(--ease-out); }
.more-card:hover .more-card__img { transform: scale(1.04); }
.more-card--irl .more-card__img { object-position: center 30%; }
.more-card--chat .more-card__img { object-position: center 18%; }
.more-card--anim .more-card__img { object-position: center 35%; }
.more-card__ph { display: block; background: radial-gradient(circle at 30% 25%, #e6d6ff 0%, transparent 45%), radial-gradient(circle at 75% 70%, #a98bd6 0%, transparent 50%), linear-gradient(160deg, #c3a6f0, #5e4a85); filter: blur(6px); }
.more-card__play, .more-card__lock { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cream) 90%, transparent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease-out); }
.more-card__play svg { width: 26px; height: 26px; margin-left: 1px; }
.more-card__lock svg { width: 24px; height: 24px; }
.more-card:hover .more-card__play, .more-card:hover .more-card__lock { transform: scale(1.08); }
.more-card__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(12, 14, 22, 0.72); font-size: 0.82rem; font-weight: 600; }
.more-card__bubble { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 9px 15px; border-radius: 18px 18px 18px 4px; background: var(--cream); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7); }
.more-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px 22px; }
.more-card__tag { padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 18%, transparent); color: var(--acc); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; }
.more-card__title { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.15; }
.more-card__text { margin-bottom: 10px; color: var(--muted); font-size: 0.98rem; line-height: 1.45; }
.more-card__btn { margin-top: auto; --btn-bg: color-mix(in srgb, var(--acc) 16%, transparent); --btn-line: color-mix(in srgb, var(--acc) 60%, transparent); background: var(--btn-bg); border-color: var(--btn-line); color: var(--cream); }
.more-card:hover .more-card__btn { --btn-bg: var(--acc); --btn-line: var(--acc); color: var(--ink); }
.more-card__btn svg { width: 18px; height: 18px; }

/* Home: blue "Get Updates" strip between "Everything You Want" and Character Finder; the whole strip opens the sign-up */
.updates-banner { display: block; position: relative; z-index: 1; text-decoration: none; color: var(--cream);
  background: linear-gradient(100deg, #1f3e66 0%, #2a5590 50%, #1f3e66 100%); border-block: 1.5px solid rgba(140, 196, 255, 0.45); transition: box-shadow 0.3s ease; }
.updates-banner:hover, .updates-banner:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(140, 196, 255, 0.55), 0 0 40px -10px rgba(140, 196, 255, 0.6); }
.updates-banner:focus-visible { outline: 2px solid #8cc4ff; outline-offset: -4px; }
.updates-banner__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); padding-block: clamp(16px, 2.2vw, 22px); }
.updates-banner__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(140, 196, 255, 0.2); color: #cfe6ff; }
.updates-banner__icon svg { width: 22px; height: 22px; }
.updates-banner__text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.4; color: #dcebff; }
.updates-banner__line strong { font-family: var(--font-display); font-size: 1.15em; color: #fff; margin-right: 6px; }
/* the free set: a pink badge so it pops against the blue (pink on purpose) */
.updates-banner__gift { display: inline-flex; align-items: center; gap: 9px; padding: 7px 18px 7px 14px; border-radius: 999px; border: 1.5px solid var(--blush); background: rgba(255, 163, 184, 0.16); color: var(--cream); font-size: 0.92em; box-shadow: 0 0 24px -8px rgba(255, 163, 184, 0.7); }
.updates-banner__gift svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--blush); }
.updates-banner__gift strong { font-family: var(--font-display); color: var(--blush); }
.updates-banner:hover .updates-banner__gift svg { animation: gift-wiggle 0.6s ease; }
@keyframes gift-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .updates-banner:hover .updates-banner__gift svg { animation: none; } }
.updates-banner__btn { flex: none; --btn-bg: #8cc4ff; --btn-line: #8cc4ff; background: var(--btn-bg); border-color: var(--btn-line); color: var(--ink); }
.updates-banner__btn svg { width: 18px; height: 18px; }
.updates-banner:hover .updates-banner__btn, .updates-banner:focus-visible .updates-banner__btn { --btn-bg: #6aaef5; --btn-line: #6aaef5; color: #0b1320; box-shadow: 0 12px 30px -12px rgba(140, 196, 255, 0.9); }
@media (max-width: 640px) {
  .updates-banner__inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .updates-banner__icon { display: none; }
  .updates-banner__text { flex-basis: 100%; align-items: center; }
}
/* Animations card: the play button sits in the bottom-right corner so it never covers her face */
.more-card--anim .more-card__play { left: auto; right: 16px; top: auto; bottom: 16px; margin: 0; width: 52px; height: 52px; }
.more-card--anim .more-card__play svg { width: 23px; height: 23px; }

/* About page "Get Promos & Updates": blue-tinted background with green and blue hearts, a green small heading,
   blue title word, button, field and checkbox */
.section--blush.signup {
  background-color: #1a1f2a;
  background-image: radial-gradient(60% 80% at 50% 50%, rgba(140, 196, 255, 0.12), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M22 30c-4-6-14-4-14 4 0 7 14 14 14 14s14-7 14-14c0-8-10-10-14-4z' fill='%238cc4ff' fill-opacity='0.07'/%3E%3Cpath d='M67 70c-3-4-10-3-10 3 0 5 10 10 10 10s10-5 10-10c0-6-7-7-10-3z' fill='%238bd08e' fill-opacity='0.06'/%3E%3C/svg%3E");
}
.section--blush.signup .section-eyebrow { color: var(--mint); }
.section--blush.signup .section-title em { color: #8cc4ff; }
.signup .btn--primary { --btn-bg: #8cc4ff; --btn-line: #8cc4ff; --btn-fg: var(--ink); background: var(--btn-bg); border-color: var(--btn-line); color: var(--btn-fg);
  box-shadow: 0 10px 30px -10px rgba(140, 196, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.signup .btn--primary:hover { --btn-bg: #b3d8ff; --btn-line: #b3d8ff; box-shadow: 0 16px 40px -12px rgba(140, 196, 255, 0.85), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.signup__input { background: #151a23; border-color: rgba(140, 196, 255, 0.35); }
.signup__input:focus { border-color: #8cc4ff; box-shadow: 0 0 0 4px rgba(140, 196, 255, 0.18); }
.signup__consent input { accent-color: #8cc4ff; }
.signup__thanks { border-color: #8cc4ff; background: rgba(140, 196, 255, 0.08); }
.signup__fine a { color: #8cc4ff; }

/* Sale strips: text a touch bigger so it's easier to read */
.sale-banner { font-size: 1.05rem; }
.sale-banner--strip { font-size: 1.12rem; }

/* Home Tier cards: the whole card opens the Tier (its "Join this Tier" link stretches over the card) */
.tier-teaser { cursor: pointer; }
.tier-teaser .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.tier-teaser .tier-badge { z-index: 2; pointer-events: none; }
.tier-teaser-row--featured .tier-teaser:hover .btn { --btn-bg: color-mix(in srgb, var(--tier) 78%, #fff); background: var(--btn-bg); border-color: var(--btn-bg); box-shadow: 0 14px 34px -12px var(--tier); }
.tier-teaser:has(.btn:focus-visible) { border-color: var(--tier); box-shadow: 0 0 0 2px var(--tier); }

/* Footer "Get Updates" in blue, like the sign-up it opens */
.footer-social__promo { --btn-bg: rgba(140, 196, 255, 0.14); --btn-line: rgba(140, 196, 255, 0.55); background: var(--btn-bg); border-color: var(--btn-line); }
.footer-social__promo:hover, .footer-social__promo:focus-visible { --btn-bg: #8cc4ff; --btn-line: #8cc4ff; --btn-fg: var(--ink); background: var(--btn-bg); border-color: var(--btn-line); color: var(--ink); box-shadow: 0 14px 34px -12px #8cc4ff; }   /* fills in like Donate */
.footer-social__promo svg { color: #8cc4ff; }
.footer-social__promo:hover svg, .footer-social__promo:focus-visible svg { color: var(--ink); }

/* Home Tier cards: each card body takes a subtle tint of its Tier's color (like the Memberships page) */
.tier-teaser-row--featured .tier-teaser { background: color-mix(in srgb, var(--tier) 11%, #171a19); }

/* Animation cards: the whole card opens the animation, the name and series link to her page and the anime page */
.anim-card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.anim-card__link:focus-visible { outline: none; }
.anim-card__name, .anim-card__series { align-self: flex-start; position: relative; z-index: 2; }
.anim-card__name a, .anim-card__series a { color: inherit; text-decoration: none; border-radius: 6px; transition: color 0.2s ease, text-shadow 0.2s ease; }
.anim-card__name a:hover, .anim-card__name a:focus-visible, .anim-card__series a:hover, .anim-card__series a:focus-visible { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); }

/* Favorites page: its three filters side by side under the title (wrap on phones) */
.fav-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.fav-filters .post-filter { margin: 0; }
/* Favorites page: pink like the anime pages (pink menus, dashed box and See More) */
.page-hearts--blush ~ section .store-sort__select { background-color: #33222c; border-color: rgba(255, 163, 184, 0.4); }
.page-hearts--blush ~ section .store-sort__select:focus-visible { border-color: var(--blush); }
.page-hearts--blush ~ section .finder-empty { border-color: rgba(255, 163, 184, 0.4); }
.page-hearts--blush ~ section .finder-empty a { color: var(--blush); }
/* Favorites cards: one framed card each, the name strip under the picture green for a character, pink for an anime */
.fav-results .char-card__link { --fav: var(--mint); gap: 0; border: 2px solid var(--fav); border-radius: var(--radius); overflow: hidden;
  background: color-mix(in srgb, var(--fav) 16%, #241e23); transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease; }
.fav-results .anime-card .char-card__link { --fav: var(--blush); }
.fav-results .char-card__media { border: 0; border-radius: 0; }
.fav-results .char-card__link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px var(--fav); }
.fav-results .char-card__link:hover .char-card__media { transform: none; }
.fav-results .char-card__name { padding: 10px 12px 2px; }
.fav-results .char-card__series { margin: 0; padding: 0 12px 12px; }

/* Phones: the sale banner smaller (it wrapped onto 4 lines), and the stacked search box full height (it squished to 25px) */
@media (max-width: 600px) {
  .sale-banner { font-size: 0.82rem; padding-top: 8px; padding-bottom: 8px; gap: 4px 10px; }
  .sale-banner__text strong { font-size: 0.9rem; }
  .sale-banner--strip { font-size: 0.92rem; }
  .sale-banner--strip .sale-banner__text strong { font-size: 0.98rem; }
}
@media (max-width: 420px) {
  .search-field__input { flex: none; height: 56px; font-size: 1.05rem; }
  .search-field .btn { min-height: 52px; }
}
/* Phones: the character strip can be swiped sideways (hero.js); vertical page scrolling still works over it */
.waifu-strip.is-js .waifu-strip__viewport { touch-action: pan-y; }   /* any touch screen, even ones that say they have a mouse */
/* The unlock button on a blurred picture, enlarged: centered on the picture, a bit bigger */
.lightbox__lock { z-index: 3; font-size: 1.02rem; padding: 11px 20px; }
/* Locked picture button: "Unlock With Membership" with the starting price on a small second line */
.entity-gallery__lock { display: inline-grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 8px; row-gap: 1px; border-radius: 18px; padding: 9px 18px 8px; }
.entity-gallery__lock[hidden] { display: none; }
.entity-gallery__lock-price { grid-column: 1 / -1; text-align: center; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; opacity: 0.78; }
.lightbox__lock .entity-gallery__lock-price { font-size: 0.85rem; }
/* Home: "My Newest Posts" under the stats: solid pink, the same size as Join on Patreon, glows on hover / tap; opens Recent Posts */
.hero-new { --btn-bg: var(--blush); --btn-fg: var(--ink); --btn-line: var(--blush); background: var(--blush); border-color: var(--blush); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(255, 163, 184, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.12); transition: box-shadow 0.25s ease, translate 0.25s ease, filter 0.25s ease; }
.hero-new svg { width: 20px; height: 20px; }
.hero-new:hover, .hero-new:focus-visible, .hero-new:active { background: var(--blush); color: var(--ink); translate: 0 -2px; filter: brightness(1.05);
  box-shadow: 0 0 0 4px rgba(255, 163, 184, 0.25), 0 0 34px 6px rgba(255, 163, 184, 0.65), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
/* Join on Patreon and My Socials side by side; My Newest Posts centered under the two, then the stats centered under it */
.hero-actions { display: grid; grid-template-columns: auto auto; justify-content: start; }
.hero-actions .hero-new, .hero-actions .hero-stats { grid-column: 1 / -1; justify-self: center; }
.hero-actions .hero-stats { margin-top: 6px; }
@media (max-width: 420px) {
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .hero-new { justify-self: stretch; }
  .hero-actions .hero-stats { justify-self: start; }
}

/* Share button under the Patreon button (character, anime / game and animation pages) and its little menu */
.share { position: relative; display: flex; justify-content: center; margin-top: 10px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--cream); font: 700 0.95rem var(--font-display); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.share__btn svg { width: 17px; height: 17px; }
.share__btn:hover, .share__btn:focus-visible, .share.is-open .share__btn { border-color: var(--mint); color: var(--mint); }
.share.is-done .share__btn { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }
.share-menu { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; z-index: 30; display: grid; min-width: 210px; padding: 6px;
  border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.share-menu[hidden] { display: none; }
.share-menu__item { padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--cream); font: 600 0.95rem var(--font-display); text-align: left; cursor: pointer; }
.share-menu__item:hover, .share-menu__item:focus-visible { background: rgba(139, 208, 142, 0.12); color: var(--mint); }
.anim-page__actions .share { margin-top: 0; }
.anim-page__actions .share__btn { width: auto; }
.anim-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Home, compacted (Nov 1): social cards shorter (still 3 x 2 on desktop), tier cards shorter with the same picture
   (only the text part is tightened), and the Animations / IRL / AI Chat cards about 10% smaller all around. */
.social-card { padding: clamp(10px, 3.4cqi, 12px) clamp(12px, 4.5cqi, 16px); gap: clamp(10px, 3.6cqi, 16px); }
.social-card__pic { width: clamp(52px, 19cqi, 78px); }
.social-card__img { border-radius: 14px; }
.social-card__logo { width: clamp(30px, 11cqi, 42px); }
.social-cards { gap: 12px 16px; }
.tier-teaser__body { gap: 6px; padding: 18px 22px 20px; }
.tier-teaser__price { margin-bottom: 4px; }
.tier-teaser__perks { gap: 4px; margin: 0 0 14px; }
.more-grid { max-width: 90%; margin-inline: auto; }
.more-card__body { gap: 5px; padding: 15px 18px 18px; }
.more-card__title { font-size: clamp(1.17rem, 1.8vw, 1.35rem); }
@media (max-width: 600px) { .more-grid { max-width: 90%; } }

/* Hero stats: each number centered over its label */
.hero-stat, .hero-stat__link { align-items: center; text-align: center; }

/* Get Promos & Updates: "Free 30-Pic Set" as a solid pink button (black text and gift), "when you sign up!" beside it in white */
.updates-banner__giftrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 0.92em; }
.updates-banner__gift { gap: 8px; padding: 9px 20px 9px 16px; border: 0; background: var(--blush); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1em;
  box-shadow: 0 10px 26px -12px rgba(255, 163, 184, 0.8), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.updates-banner__gift svg { color: var(--ink); }
.updates-banner__gift-note { color: #fff; font-weight: 600; }
.updates-banner:hover .updates-banner__gift { box-shadow: 0 0 0 3px rgba(255, 163, 184, 0.25), 0 0 26px 4px rgba(255, 163, 184, 0.55), inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
@media (max-width: 760px) { .updates-banner__giftrow { justify-content: center; } }

/* Phones: the sale strip under the tiers reads "...35% off any Tier. Ends in 29d..." on one run of text,
   with Claim the deal as a centered button underneath */
@media (max-width: 600px) {
  .sale-banner--strip { flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
  .sale-banner--strip .sale-banner__text { line-height: 1.5; }
  .sale-banner--strip .sale-banner__countdown { display: inline-block; margin-left: 4px; white-space: nowrap; }
  .sale-banner--strip .sale-banner__cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 26px; border-radius: 999px;
    background: var(--ink); color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 700; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
  .sale-banner--strip .sale-banner__cta:hover, .sale-banner--strip .sale-banner__cta:focus-visible { color: var(--mint-bright); }
}

/* Home tier cards: always the same size. A grid gives every card in a row the height of the tallest one (the
   NSFW Miyuki card has fewer perks and used to come out shorter on phones), and on mid-size screens the third card
   keeps the same width on its own row instead of stretching. */
.tier-teaser-row--featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.tier-teaser-row--featured > .tier-teaser { min-width: 0; margin-top: 0; }
@media (max-width: 900px) {
  .tier-teaser-row--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }   /* room for the "Best value" tab */
  .tier-teaser-row--featured > .tier-teaser:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (max-width: 600px) {
  .tier-teaser-row--featured { grid-template-columns: minmax(0, 1fr); }
  .tier-teaser-row--featured > .tier-teaser:nth-child(3) { grid-column: auto; justify-self: stretch; width: auto; }
}
/* Animations card: the play button centered side to side, raised to about a quarter of the way down so it sits on
   her hair, not her eyes (they're just under the middle of the picture) */
.more-card--anim .more-card__play { left: 50%; right: auto; top: 26%; bottom: auto; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.more-card--anim .more-card__play svg { width: 25px; height: 25px; }

/* Home on phones: just two finder chips, the stats centered, a smaller and more solid Donate, a smaller Miyuki in the Join box,
   and a Newest Posts button under A Little Taste that stands out (solid pink with a soft glow) */
@media (max-width: 600px) {
  .chip-row__extra { display: none; }
  .hero-actions .hero-stats { justify-self: center; }
  .btn--donate { --btn-bg: rgba(255, 163, 184, 0.42); background: var(--btn-bg); min-height: 58px; padding: 0 30px; font-size: 1.2rem; gap: 10px; }
  .btn--donate svg { width: 24px; height: 24px; color: var(--cream); }
  .cta-band__media { width: 180px; max-width: 180px; align-self: center; }
  .taste-new { --btn-bg: var(--blush); --btn-fg: var(--ink); --btn-line: var(--blush); background: var(--blush); border-color: var(--blush); color: var(--ink);
    width: 100%; max-width: 343px; font-size: 1.2rem; animation: taste-glow 2.4s ease-in-out infinite; }
  .taste-new:hover, .taste-new:active, .taste-new:focus-visible { background: var(--blush); color: var(--ink); }
  .motion-off .taste-new { animation: none; box-shadow: 0 0 26px 2px rgba(255, 163, 184, 0.55); }
}
@keyframes taste-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 163, 184, 0.5), 0 10px 26px -10px rgba(255, 163, 184, 0.7); }
  50% { box-shadow: 0 0 0 7px rgba(255, 163, 184, 0), 0 0 30px 4px rgba(255, 163, 184, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .taste-new { animation: none; } }
/* Animations card: the play button a little lower, closer to the middle (still above her eyes) */
.more-card--anim .more-card__play { top: 36%; }
/* Social cards: the platform (Instagram, Patreon, X) on top of the @handle, a couple of points bigger */
.social-card__platform { font-size: clamp(0.9rem, 4.4cqi, 1.05rem); font-weight: 600; }
/* A Tier's monthly price on the right of its name, wherever a post or picture says its Tier */
.tier-price { white-space: nowrap; font-weight: 700; opacity: 0.85; }
/* Home AI Chat card: zoomed a little and centered on her face (her face is left of center in the picture) */
.more-card--chat .more-card__img { object-position: center 11%; scale: 1.3; transform-origin: 2% 50%; }
/* Animations card: the play button dead center */
.more-card--anim .more-card__play { top: 50%; }
/* 18+ & Legal: the jump buttons at the top centered on phones */
@media (max-width: 600px) { .legal-toc { justify-content: center; } }
/* Character pages: the longer description opens under the short bio with a small "Read More" button */
.entity__more p { margin: 0 0 .8em; }
.entity__readmore { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 .9em; padding: 5px 14px; border-radius: 999px; border: 1.5px solid rgba(139, 208, 142, .5);
  background: transparent; color: var(--mint); font: 700 .88rem var(--font-display); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.entity__readmore:hover, .entity__readmore:focus-visible { background: rgba(139, 208, 142, .12); border-color: var(--mint); }

/* Store: real Fourthwall products (photo instead of the sample icon) */
.product-card__media:has(.product-card__img) { aspect-ratio: 3 / 4; background: #f6f1e8; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Hovering a product shows its printed back (the --alt picture), or zooms in where the mouse is ([data-zoom], store.js) */
.product-card__media:has(.product-card__img) { overflow: hidden; }
.product-card__img { transition: transform .35s ease, opacity .3s ease; }
.product-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .product-card__media:hover .product-card__img--alt { opacity: 1; }
  /* the photos have see-through backgrounds, so the front fades out as the back fades in */
  .product-card__media:hover .product-card__img:not(.product-card__img--alt):has(+ .product-card__img--alt) { opacity: 0; }
  .product-card__media[data-zoom] { cursor: zoom-in; }
  .product-card__media[data-product-open] { cursor: pointer; }
  .product-card__media[data-zoom]:hover .product-card__img { transform: scale(1.3); transform-origin: var(--zx, 50%) var(--zy, 50%); }
}
/* Color dots (store.js) for products that come in more than one color; they sit on their own line above the size and button */
.product-card__buy:has(.product-card__colors) { flex-wrap: wrap; }
.product-card__colors { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.product-card__swatch { width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--swatch);
  box-shadow: inset 0 0 0 2px #fff; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.product-card__swatch:hover { transform: scale(1.1); }
.product-card__swatch[aria-pressed="true"] { border: 2px solid var(--mint); }
.product-card__color-name { margin-left: 2px; font-size: .82rem; font-weight: 600; color: var(--muted); }
/* Product popup (store.js): all the photos, the description, and the card's own option picker + Add to Cart */
.product-card__open { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.product-card__open:hover, .product-card__open:focus-visible { color: #3f9a52; text-decoration: underline; text-underline-offset: 3px; }
.product-modal { position: fixed; inset: 0; z-index: 1002; display: grid; place-items: center; padding: 16px; background: rgba(31, 42, 36, .45); backdrop-filter: blur(2px); color: var(--text); }
.product-modal[hidden] { display: none; }
.product-modal [hidden] { display: none !important; }
.product-modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; width: min(960px, 100%);
  max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px; border-radius: var(--radius-lg); background: #fffdf8; box-shadow: 0 30px 70px -30px rgba(20, 30, 25, .6);
  animation: modal-in .25s var(--ease-out); }
@keyframes modal-in { from { transform: translateY(14px); opacity: 0; } }
.product-modal__close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; color: var(--cream); font-size: 1.3rem; cursor: pointer; }
.product-modal__main { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #f6f1e8; }
.product-modal__main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-modal__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.product-modal__thumb { flex: 0 0 54px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f6f1e8; cursor: pointer; }
.product-modal__thumb[aria-current="true"] { border-color: var(--mint); }
.product-modal__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-modal__info { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.product-modal__title { margin: 0; padding-right: 44px; font-size: 1.7rem; line-height: 1.2; color: var(--cream); }
.product-modal__desc p { margin: 0 0 10px; }
.product-modal__desc p:last-child { color: var(--blush); font-weight: 600; font-size: .92rem; }
/* Home page "Shop My Merch!": four picks from the store, each linking to its popup there. A light gray section with
   white and green hearts and dots floating behind it, green for the accents (its own light colors, like the store's). */
.home-shop {
  --bg: #fffdf8; --surface: #ffffff; --line: rgba(40, 55, 45, .12); --line-strong: rgba(40, 55, 45, .22);
  --mint: #4fae60; --mint-bright: #6cc47b; --cream: #1f2a24; --text: #34423a; --muted: #5d6b62;
  position: relative; color: var(--text);
  background: linear-gradient(170deg, #e7eae6 0%, #dde1dc 55%, #d2d7d1 100%);
}
.home-shop > .container { position: relative; z-index: 1; }
.home-shop .section-eyebrow, .home-shop .section-title em { color: #3f9a52; }
.home-shop .section-title { color: var(--cream); }
.home-shop .section-lead { color: var(--text); }
.home-shop .product-card { --tint: #4fae60; box-shadow: 0 16px 32px -24px rgba(40, 55, 45, .5); }
.home-shop .product-card__member { color: #3f9a52; }
.home-shop .btn--primary { box-shadow: 0 12px 26px -14px rgba(63, 154, 82, .8), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.home-shop .section-head { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.home-shop__grid { justify-content: center; }
.home-shop__card { text-decoration: none; color: inherit; }
.home-shop__card .product-card__name { font-size: 1.05rem; color: var(--cream); }
.home-shop__card .product-card__body { padding-bottom: 18px; }
/* The 10% off strip along the bottom of the section: the whole strip is the link */
.shop-strip { text-decoration: none; transition: filter .2s ease; background: linear-gradient(90deg, #3f9a52, #5fbb6e 50%, #8bd08e 100%); }
.shop-strip:hover, .shop-strip:focus-visible { filter: brightness(1.06) saturate(1.05); color: var(--ink); }
.shop-strip .sale-banner__cta { display: inline-flex; align-items: center; padding: 8px 22px; border-radius: 999px; background: #141c17; color: #f3f7f1;
  font-family: var(--font-display); font-weight: 700; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); transition: color .2s ease; }
.shop-strip:hover .sale-banner__cta, .shop-strip:focus-visible .sale-banner__cta { color: var(--mint-bright); }
/* the section's dark text color must not reach the dark button (the phone sale-strip rule would use it) */
.home-shop .shop-strip .sale-banner__cta { background: #141c17; color: #f3f7f1; }
.home-shop .shop-strip:hover .sale-banner__cta, .home-shop .shop-strip:focus-visible .sale-banner__cta { color: #8bd08e; }
/* Bigger strip text; "Any paid Tier counts." moves down whole when the line runs out of room, and Shop Now sits centered under the text */
.shop-strip { font-size: 1.22rem; gap: 12px 22px; }
.shop-strip .sale-banner__text { max-width: 100%; line-height: 1.45; }
.shop-strip .sale-banner__text strong { font-size: 1.3rem; }
.shop-strip__more { display: inline-block; white-space: nowrap; }
@media (max-width: 600px) {
  .shop-strip { font-size: 1.02rem; }
  .shop-strip .sale-banner__text strong { font-size: 1.1rem; }
}
/* Store: Shipping & Returns questions under the products */
.store-help { margin-top: clamp(40px, 6vw, 64px); }
.store-help__title { margin: 0 0 18px; text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--cream); }
.store-help .accordion__item { border-color: rgba(79, 174, 96, .35); box-shadow: 0 14px 30px -26px rgba(40, 55, 45, .45); }
.store-help .accordion__item:nth-child(even) { border-color: rgba(235, 124, 152, .4); }
.store-help .accordion__title::after { background-color: rgba(79, 174, 96, .14); color: #3f9a52; }   /* color only: the "+" bars are its background-image */
.store-help .accordion__item:nth-child(even) .accordion__title::after { background-color: rgba(235, 124, 152, .14); color: #d8607f; }
.store-help .accordion__content { color: var(--text); }
.store-help .accordion__content a { color: #3f9a52; font-weight: 600; }
/* Apparel: a gap and a light line between the design blurb and the style / size details below it */
.product-modal__desc p:first-child:has(~ table) { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
/* Size chart (from the product description on Fourthwall) */
.product-modal__desc table { width: 100%; margin: 2px 0 14px; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.product-modal__desc th, .product-modal__desc td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.product-modal__desc th { background: #f1ebe0; color: var(--cream); font-weight: 700; }
.product-modal__desc tbody tr:nth-child(even) td { background: rgba(241, 235, 224, .45); }
@media (max-width: 760px) {
  .product-modal { padding: 10px; }
  .product-modal__box { grid-template-columns: 1fr; gap: 16px; padding: 18px; max-height: calc(100dvh - 20px); }
  .product-modal__main { aspect-ratio: 1; }
}
.store-empty { flex: 1 1 100%; margin: 20px 0; text-align: center; color: var(--muted); }

/* Store: the 10% off member banner stacks and centers below desktop width, with its button underneath */
@media (max-width: 1024px) {
  .store-member { flex-direction: column; justify-content: center; text-align: center; gap: 12px; padding: 20px; }
  .store-member__text { flex: none; width: 100%; }
}

/* Post cards: the unlock button never runs past the card ("Unlock With Boyfriend/GF · $15/mo" was clipped on the right);
   a little tighter so it fits on one line, and it wraps to two if a card is narrower still */
.post-card__cta { max-width: 100%; padding: 6px 12px; font-size: 0.84rem; gap: 6px; white-space: normal; text-align: center; line-height: 1.2; }
