/* ✨ Fae Magic: twilight glade theme ✨ */
:root {
  --night: #15102b;
  --night-2: #211843;
  --night-3: #2f2360;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4eefe;
  --muted: #b9aedb;
  --petal: #ffb6d9;
  --lav: #c9a7ff;
  --moss: #9fe3c1;
  --gold: #ffe08a;
  --rose: #ff8fa3;
  --sky: #8fd3ff;
  --radius: 22px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Quicksand', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(201, 167, 255, 0.28), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 182, 217, 0.16), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(159, 227, 193, 0.14), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 50%, #1a1336 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Background video + dark see-through overlay (darkness set in Admin, Page & About) */
#bg-video { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#bg-video.ready { opacity: 1; }
#bg-dim {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(21, 16, 43, calc(var(--bg-dim, 0.65) * 0.75)) 0%, rgba(21, 16, 43, var(--bg-dim, 0.65)) 100%),
    linear-gradient(180deg, rgba(47, 35, 96, 0.25), rgba(21, 16, 43, 0.25));
}
#fireflies { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; }

/* 18+ agreement gate: the page stays hidden until the visitor agrees */
html:not(.age-ok) .page { visibility: hidden; }
html.age-locked, html.age-locked body { overflow: hidden; }
#age-gate {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(ellipse at center, rgba(21, 16, 43, 0.55), rgba(10, 7, 22, 0.88));
  backdrop-filter: blur(6px); transition: opacity 0.45s ease;
}
#age-gate.out { opacity: 0; pointer-events: none; }
.age-card {
  width: min(540px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; text-align: center;
  padding: clamp(26px, 5vw, 44px); border-radius: 28px; border: 1px solid rgba(255, 182, 217, 0.35);
  background: linear-gradient(160deg, rgba(47, 35, 96, 0.92), rgba(21, 16, 43, 0.95));
  box-shadow: 0 0 0 8px rgba(201, 167, 255, 0.08), 0 30px 90px -20px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(255, 182, 217, 0.45);
  text-shadow: 0 0 2px rgba(10, 7, 22, 1), 0 2px 4px rgba(10, 7, 22, 0.8);
  animation: gate-in 0.6s ease both;
}
@keyframes gate-in { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.age-badge {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.5rem var(--body); color: #2a1846; text-shadow: none;
  background: linear-gradient(135deg, var(--gold), var(--petal));
  box-shadow: 0 0 30px rgba(255, 182, 217, 0.6);
}
.age-card h2 { font-size: clamp(2rem, 6vw, 2.6rem); margin-bottom: 14px; }
.age-text { color: #e6ddf8; margin-bottom: 26px; }
.age-text strong { color: var(--petal); }
.age-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.age-btns .btn { min-width: 240px; text-shadow: none; }

/* Soft dark shadow so text stays crisp over the background video */
.page { text-shadow: 0 0 2px rgba(10, 7, 22, 1), 0 2px 4px rgba(10, 7, 22, 0.9), 0 0 20px rgba(10, 7, 22, 0.75); }
body.has-video .hero p.lead, body.has-video .head .intro, body.has-video .tab-desc,
body.has-video .footnote, body.has-video .gate p, body.has-video .hero .tag { color: #e6ddf8; }
.page h1, .page h2, .page h3, .page .kicker, .page .brand {
  text-shadow: 0 0 3px rgba(10, 7, 22, 1), 0 2px 5px rgba(10, 7, 22, 0.9), 0 0 26px rgba(10, 7, 22, 0.75);
}
/* ...but not on light buttons/badges (dark text there), form fields, or the gradient-filled title */
.page .btn:not(.btn-ghost), .page .tab[aria-selected='true'], .page .chip input:checked + span,
.page .tier.hot::before, .page .spell .resting, .page .badge, .page input, .page textarea, .page select,
.page .hero h1, .page .count, .page .pill.on { text-shadow: none; }
.page { position: relative; z-index: 1; }

a { color: var(--petal); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(21, 16, 43, 0.65);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-size: 1.55rem; font-weight: 700; white-space: nowrap; }
.brand .wing { font-size: 1.3rem; filter: drop-shadow(0 0 8px rgba(255, 182, 217, 0.8)); animation: flutter 3s ease-in-out infinite; display: inline-block; }
@keyframes flutter { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-3px); } }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--glass-2); }
.who { display: flex; align-items: center; gap: 8px; }
.who img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lav); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 6px 12px; font-size: 1.1rem; cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: rgba(21, 16, 43, 0.96); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .who .btn-sm span { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 24px; cursor: pointer;
  font: 700 1rem var(--body); text-decoration: none; color: #2a1846;
  background: linear-gradient(120deg, var(--petal), var(--lav));
  box-shadow: 0 8px 30px -8px rgba(255, 182, 217, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); color: #2a1846; filter: brightness(1.06); box-shadow: 0 12px 36px -8px rgba(255, 182, 217, 0.9); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--glass); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--glass-2); color: var(--text); box-shadow: none; }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 8px 30px -8px rgba(88, 101, 242, 0.8); }
.btn-discord:hover { color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.88rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(70px, 14vh, 150px) 0 clamp(60px, 10vh, 110px); text-align: center; }
.kicker { font-family: var(--hand); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 6px; transform: rotate(-1.5deg); }
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 7.5rem); letter-spacing: 0.01em;
  background: linear-gradient(100deg, #fff 10%, var(--petal) 40%, var(--lav) 70%, var(--moss));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(201, 167, 255, 0.35));
}
.hero .tag { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--lav); margin: 6px 0 22px; }
.hero p.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: 1.1rem; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.6; pointer-events: none; }

/* ---------- sections ---------- */
section.block { padding: clamp(60px, 10vh, 110px) 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
.head h2::after { content: '✦ ❀ ✦'; display: block; font-size: 0.9rem; letter-spacing: 0.6em; color: var(--petal); margin-top: 12px; font-family: var(--body); }
.head .intro { color: var(--muted); margin-top: 16px; }
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

/* about */
.about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); }
.about.noimg { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }
.about .portrait { aspect-ratio: 4/5; border-radius: 200px 200px 24px 24px; overflow: hidden; border: 2px solid var(--lav); box-shadow: 0 0 0 8px rgba(201, 167, 255, 0.12), 0 0 60px -10px rgba(255, 182, 217, 0.6); }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .text { font-size: 1.08rem; }
.about .sig { font-family: var(--hand); font-size: 1.7rem; color: var(--petal); margin-top: 18px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about .portrait { max-width: 280px; margin-inline: auto; } }

/* gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.tab { border: 1px solid var(--line); background: var(--glass); color: var(--muted); padding: 9px 18px; border-radius: 999px; font: 600 0.95rem var(--body); cursor: pointer; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { color: #2a1846; background: linear-gradient(120deg, var(--gold), var(--petal)); border-color: transparent; }
.tab-desc { text-align: center; color: var(--muted); font-style: italic; margin-bottom: 28px; min-height: 1.6em; }
.grid { columns: 3 260px; column-gap: 18px; }
.tile { break-inside: avoid; margin-bottom: 18px; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; border: 1px solid var(--line); background: var(--glass); padding: 0; width: 100%; display: block; color: inherit; text-align: left; font: inherit; }
.tile img { width: 100%; height: auto; transition: transform 0.5s; }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(21, 16, 43, 0.92)); font-weight: 700; opacity: 0; transition: opacity 0.3s; }
.tile:hover .cap, .tile:focus-visible .cap { opacity: 1; }
.empty { text-align: center; color: var(--muted); padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .big { font-size: 2.4rem; display: block; margin-bottom: 6px; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10, 7, 22, 0.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 78vh; border-radius: 14px; box-shadow: 0 0 80px -10px rgba(201, 167, 255, 0.5); }
.lightbox figcaption { text-align: center; margin-top: 14px; max-width: 700px; }
.lightbox figcaption strong { font-family: var(--display); font-size: 1.5rem; display: block; }
.lightbox figcaption span { color: var(--muted); }
.lb-btn { position: absolute; background: var(--glass-2); border: 1px solid var(--line); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }

/* magic */
.spells { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.spell { padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s, border-color 0.25s; position: relative; overflow: hidden; }
.spell:hover { transform: translateY(-6px) rotate(-0.4deg); border-color: rgba(255, 182, 217, 0.5); }
.spell .ico { font-size: 2.4rem; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255, 224, 138, 0.25), transparent 70%); }
.spell h3 { font-size: 1.75rem; }
.spell .blurb { font-family: var(--hand); font-size: 1.35rem; color: var(--moss); margin-top: -6px; }
.spell .desc { color: var(--muted); flex: 1; }
.spell .resting { position: absolute; top: 18px; right: -34px; transform: rotate(35deg); background: var(--gold); color: #2a1846; font-size: 0.72rem; font-weight: 800; padding: 3px 40px; letter-spacing: 0.08em; }
.linkish { background: none; border: 0; padding: 0; color: var(--petal); font: 700 0.95rem var(--body); cursor: pointer; align-self: flex-start; }
.linkish:hover { color: var(--gold); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.tier { padding: 32px 28px; text-align: center; display: flex; flex-direction: column; position: relative; }
.tier.hot { border: 1px solid rgba(255, 224, 138, 0.6); box-shadow: 0 0 0 1px rgba(255, 224, 138, 0.25), 0 30px 80px -30px rgba(255, 224, 138, 0.45); transform: translateY(-8px); }
.tier.hot::before { content: attr(data-fav); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #2a1846; font-weight: 800; font-size: 0.75rem; padding: 4px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.05em; }
.tier h3 { font-size: 1.8rem; }
.tier .note { font-family: var(--hand); color: var(--lav); font-size: 1.35rem; }
.tier .price { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--gold); margin: 10px 0 14px; line-height: 1.1; white-space: nowrap; }
.tier .price small { display: block; font-family: var(--hand); font-size: 1.3rem; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0 0 6px; text-align: left; flex: 1; }
.tier li { padding: 8px 0 8px 28px; position: relative; border-top: 1px dashed var(--line); color: var(--muted); }
.tier li::before { content: '✿'; position: absolute; left: 4px; color: var(--petal); }
.footnote { text-align: center; color: var(--muted); font-style: italic; max-width: 680px; margin: 34px auto 0; font-size: 0.95rem; }

/* contact */
.contact { max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); }
.gate { text-align: center; padding: 20px 0; }
.gate .big { font-size: 3rem; display: block; margin-bottom: 10px; }
.gate p { color: var(--muted); max-width: 500px; margin: 0 auto 22px; }
.form { display: grid; gap: 20px; }
.field label, .field .lbl { display: block; font-weight: 700; margin-bottom: 8px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 0.88rem; }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(10, 7, 22, 0.45); color: var(--text); font: 500 1rem var(--body);
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--petal); outline-offset: 2px; }
textarea { min-height: 170px; resize: vertical; }
select option { background: var(--night-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; gap: 6px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; transition: all 0.2s; }
.chip input:checked + span { background: linear-gradient(120deg, var(--petal), var(--lav)); color: #2a1846; border-color: transparent; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; }
.drop { border: 2px dashed var(--line); border-radius: 18px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.drop:hover, .drop.over { border-color: var(--petal); background: rgba(255, 182, 217, 0.06); color: var(--text); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumb { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.7); color: #fff; cursor: pointer; line-height: 1; }
.coupon-box { border: 1px dashed rgba(255, 224, 138, 0.45); border-radius: 18px; padding: 16px 18px 6px; margin: 0; background: rgba(255, 224, 138, 0.04); }
.coupon-box legend { padding: 0 8px; margin-left: -8px; font-weight: 700; }
.coupon-box .hint { font-weight: 500; color: var(--muted); font-size: 0.92rem; }
.coupon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.coupon-row .field { margin-bottom: 12px; }
.coupon-row label { font-size: 0.92rem; }
.coupon-line { margin-top: 14px; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(255, 224, 138, 0.45); background: rgba(255, 224, 138, 0.05); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.coupon-line code { background: rgba(0, 0, 0, 0.35); padding: 2px 8px; border-radius: 6px; font-weight: 700; letter-spacing: 0.04em; }
.c-pending { color: var(--lav); font-weight: 700; }
.c-accepted { color: var(--moss); font-weight: 700; }
.c-declined { color: var(--rose); font-weight: 700; }
.signed { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.signed img { width: 40px; height: 40px; border-radius: 50%; }
.signed .grow { flex: 1; }
.success { text-align: center; padding: 20px 0; }
.success .big { font-size: 3.4rem; display: block; animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.err { color: var(--rose); font-weight: 600; }

/* ---------- footer ---------- */
footer { padding: 50px 0 40px; text-align: center; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 40px; }
footer .brandline { font-family: var(--display); font-size: 1.5rem; color: var(--text); }
footer .disc { font-size: 0.78rem; opacity: 0.75; max-width: 700px; margin: 14px auto 0; }

/* ---------- account ---------- */
.acct-head { display: flex; align-items: center; gap: 18px; padding: 26px 28px; margin: 40px 0 26px; flex-wrap: wrap; }
.acct-head img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--lav); }
.acct-head h1 { font-size: 2.3rem; }
.acct-head .grow { flex: 1; min-width: 200px; }
.order { padding: 24px 26px; margin-bottom: 20px; }
.order-top { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.order-top .grow { flex: 1; min-width: 200px; }
.order h3 { font-size: 1.6rem; }
.order .meta { color: var(--muted); font-size: 0.9rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; white-space: nowrap; }
.b-pending { background: rgba(201, 167, 255, 0.2); color: var(--lav); }
.b-accepted { background: rgba(159, 227, 193, 0.2); color: var(--moss); }
.b-waitlist { background: rgba(255, 224, 138, 0.2); color: var(--gold); }
.b-declined { background: rgba(255, 143, 163, 0.18); color: var(--rose); }
.b-completed { background: rgba(143, 211, 255, 0.2); color: var(--sky); }
.order .blurb { margin: 14px 0 0; color: var(--muted); }
.stages { display: flex; gap: 0; margin: 22px 0 6px; overflow-x: auto; padding-bottom: 6px; }
.stage { flex: 1; min-width: 110px; text-align: center; position: relative; font-size: 0.82rem; color: var(--muted); padding-top: 30px; }
.stage::before { content: ''; position: absolute; top: 9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translateX(-50%); background: var(--night-3); border: 2px solid var(--line); z-index: 1; }
.stage::after { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.stage:first-child::after { display: none; }
.stage.done { color: var(--text); }
.stage.done::before { background: var(--moss); border-color: var(--moss); box-shadow: 0 0 12px var(--moss); }
.stage.done::after { background: var(--moss); }
.stage.now { color: var(--gold); font-weight: 700; }
.stage.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 4px var(--gold); } }
.fae-note { margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--petal); background: rgba(255, 182, 217, 0.07); border-radius: 0 14px 14px 0; }
.fae-note .who-says { font-family: var(--hand); font-size: 1.3rem; color: var(--petal); }
details.more { margin-top: 14px; }
details.more summary { cursor: pointer; color: var(--lav); font-weight: 700; }
details.more .desc { white-space: pre-wrap; color: var(--muted); margin: 10px 0; }
.refs { display: flex; gap: 8px; flex-wrap: wrap; }
.refs img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }
.timeline li { padding: 4px 0; }

/* ---------- toasts & sparkles ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, 100% - 32px); }
.toast { padding: 12px 18px; border-radius: 14px; background: var(--night-3); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); font-weight: 600; transition: opacity 0.5s, transform 0.5s; }
.toast-ok { border-color: rgba(159, 227, 193, 0.6); }
.toast-err { border-color: rgba(255, 143, 163, 0.7); }
.toast.out { opacity: 0; transform: translateY(10px); }
.spark { position: fixed; pointer-events: none; z-index: 200; color: var(--gold); font-size: 14px; transform: translate(-50%, -50%); animation: spark 0.7s ease-out forwards; text-shadow: 0 0 8px var(--petal); }
@keyframes spark { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.3); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s, transform 0.8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.loading { text-align: center; padding: 120px 20px; color: var(--muted); font-family: var(--hand); font-size: 1.6rem; }

/* 18+ spoiler images: blurred until the visitor clicks */
.tile, .lb-pic { position: relative; }
.tile.spoiler { cursor: pointer; }
.tile.spoiler img, .lb-pic.spoiler img { filter: blur(28px) brightness(0.7); transform: scale(1.08); }
.tile.spoiler:hover img { transform: scale(1.1); }
.tile.spoiler .cap { display: none; }
.lb-pic { overflow: hidden; border-radius: 14px; }
.spoiler-veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(21, 16, 43, 0.35); color: #fff; border: 0; font: inherit; cursor: pointer; text-align: center; }
.spoiler-veil[hidden] { display: none; }
.spoiler-veil b { font-family: var(--display); font-size: 2.2rem; line-height: 1; padding: 8px 16px; border: 2px solid rgba(255, 143, 163, 0.85); border-radius: 999px; background: rgba(255, 143, 163, 0.18); }
.spoiler-veil span { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; }
