/* LoverGirlPlays - Midnight Pastel Glass
   The identity from the stream overlays: deep navy ground, pastel rainbow accent,
   DM Serif Display italic for anything that speaks, Inter for anything that works. */

:root {
  --ink: #070a16;
  --ink-2: #0c1022;
  --panel: rgba(23, 28, 54, 0.82);
  --panel-solid: #141a33;
  --text: #f7f8ff;
  --muted: #a7aec8;
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(255, 255, 255, 0.22);

  --rose: #f6a5dc;
  --lilac: #c9b6ff;
  --sky: #9fddff;
  --mint: #a5f2df;
  --cream: #fff1b5;
  --rainbow: linear-gradient(100deg, #f6a5dc 0%, #c9b6ff 26%, #9fddff 48%, #a5f2df 68%, #fff1b5 86%, #f6b3d3 100%);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(900px 600px at 8% -4%, rgba(201, 182, 255, 0.13), transparent 60%),
    radial-gradient(800px 560px at 96% 8%, rgba(165, 242, 223, 0.09), transparent 58%),
    linear-gradient(180deg, #070a16 0%, #0a0e1f 46%, #070a16 100%);
  background-attachment: fixed;
}

/* The faint starfield the overlays use, so the site and the stream feel like one thing. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, transparent 1.4px);
  background-size: 92px 92px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.display {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.12;
  padding-bottom: 0.06em;
  text-wrap: balance;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 22, 0.86);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  font-family: "DM Serif Display", Georgia, serif;
  font-style: italic;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.brand .heart { color: var(--rose); font-style: normal; font-size: 0.9rem; }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
  color: #dfe3f4;
}

.nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.nav .pill {
  background: var(--rainbow);
  color: #10132a;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(178, 186, 255, 0.18);
}

.nav .pill:hover { color: #10132a; filter: brightness(1.05); }

/* ---------- panels ---------- */

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }

.btn-primary {
  background: var(--rainbow);
  border-color: transparent;
  color: #10132a;
}

.btn-primary:hover { filter: brightness(1.05); background: var(--rainbow); }

/* ---------- footer ---------- */

.footer {
  margin-top: 56px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: #8d94b0;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.footer a { color: var(--mint); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- request catalogue ---------- */

.cat-hero { padding: 34px 0 22px; }
.cat-hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 10px 0 12px; }
.cat-hero p { max-width: 62ch; color: #e5e8f6; margin: 0; }
.cat-hero .count { color: var(--cream); font-weight: 700; }

.searchbar { position: sticky; top: 68px; z-index: 30; padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(7,10,22,.96) 70%, rgba(7,10,22,0)); }

.search-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: 18px; font-size: 1.05rem; opacity: .6; pointer-events: none; }
#q {
  width: 100%; min-height: 58px; padding: 0 52px 0 48px;
  border: 1px solid var(--line-bright); border-radius: 16px;
  background: rgba(20, 26, 51, .9); color: var(--text);
  font: inherit; font-size: 1.02rem;
}
#q::placeholder { color: #7f87a6; }
#q:focus { outline: none; border-color: rgba(165,242,223,.55); box-shadow: 0 0 0 4px rgba(165,242,223,.1); }
.clear-q {
  position: absolute; right: 12px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--muted);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.clear-q:hover { background: rgba(255,255,255,.16); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-group > .label {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-right: 2px;
}
.chip {
  min-height: 36px; padding: 0 13px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.045); color: #dfe3f4;
  font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: rgba(255,255,255,.1); }
.chip[aria-pressed="true"] {
  background: var(--rainbow); border-color: transparent; color: #10132a; font-weight: 800;
}
.divider { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

.result-line {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 14px 2px 4px; color: var(--muted); font-size: .84rem;
}
.result-line strong { color: var(--text); }

.grid {
  display: grid; gap: 12px; padding-bottom: 20px;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}

.card {
  display: flex; flex-direction: column; gap: 12px; padding: 16px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(150deg, rgba(25,31,60,.94), rgba(12,16,34,.95));
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--line-bright); transform: translateY(-2px); }

.card-name { font-family: "DM Serif Display", Georgia, serif; font-size: 1.45rem; line-height: 1.15; }
.card-name .form { display: block; font-size: .8rem; font-family: Inter, sans-serif; font-style: normal;
  color: var(--lilac); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 4px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted);
}
.tag.star { color: var(--cream); border-color: rgba(255,241,181,.28); background: rgba(255,241,181,.07); }
.tag.map { color: var(--sky); border-color: rgba(159,221,255,.25); background: rgba(159,221,255,.07); }
.tag.ver { color: var(--rose); border-color: rgba(246,165,220,.28); background: rgba(246,165,220,.07); }

.copy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 46px; margin-top: auto; padding: 0 12px;
  border: 1px dashed rgba(165,242,223,.34); border-radius: 12px;
  background: rgba(165,242,223,.06); color: #d9fff7;
  font: inherit; font-size: .88rem; font-weight: 700; text-align: left; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.copy:hover { background: rgba(165,242,223,.12); border-color: rgba(165,242,223,.6); }
.copy code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .85rem; }
.copy .hint { flex: 0 0 auto; font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mint); opacity: .8; }
.copy.copied { background: rgba(165,242,223,.2); border-style: solid; }
.copy.copied .hint { color: var(--cream); opacity: 1; }

.empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.empty h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.8rem; color: var(--text); margin: 0 0 8px; }

.note {
  margin: 16px 0 0; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  color: var(--muted); font-size: .86rem;
}
.note strong { color: var(--text); }
.note code { color: var(--mint); font-family: ui-monospace, Consolas, monospace; }

@media (max-width: 640px) {
  .searchbar { top: 60px; }
  .grid { grid-template-columns: 1fr; }
  .filter-group > .label { width: 100%; margin-bottom: 2px; }
}

/* ---------- home ---------- */

.home-hero { padding: 48px 0 30px; }
.hero-copy { max-width: 780px; }
.home-hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.2rem); margin: 14px 0 18px; }
.lede { max-width: 64ch; color: #e6e9f7; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.72; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }


.section { padding: 40px 0 8px; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 8px 0 14px; }
.section-copy { max-width: 66ch; color: var(--muted); margin: 0 0 20px; }

.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  list-style: none; margin: 18px 0 0; padding: 0; }
.step-card { padding: 22px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--rainbow); color: #10132a; font-weight: 900; margin-bottom: 14px; }
.step-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.6; }
.step-card a { color: var(--mint); }

.live-wrap { overflow: hidden; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 700; }
.live-head a { color: var(--mint); text-decoration: none; font-size: .82rem; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px;
  background: #ff4b82; box-shadow: 0 0 12px #ff4b82; }
.twitch-frame { aspect-ratio: 16 / 9; background: #06080f; }
.twitch-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.embed-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); }

.guide-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; }
.guide-card h3 { margin: 4px 0 0; font-family: "DM Serif Display", Georgia, serif; font-style: italic;
  font-size: 2.1rem; line-height: 1.14; padding-bottom: .04em; background: var(--rainbow);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.guide-soon { opacity: .72; }
.badge { align-self: flex-start; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.05); font-size: .68rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--cream); }
.text-link { margin-top: auto; padding-top: 10px; color: var(--mint); font-weight: 800; font-size: .88rem; }

.support-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 30px; }
.support-card .section-title { margin-top: 0; }
.support-card .section-copy { margin-bottom: 0; }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
  .home-hero { padding-top: 30px; }
}

/* ---------- mobile polish ---------- */

@media (max-width: 640px) {
  /* The pill was wrapping to two lines and pushing the bar taller than the sticky offset. */
  .nav .pill { white-space: nowrap; padding: 9px 11px; font-size: .8rem; }
  .nav a { padding: 8px 9px; font-size: .8rem; }
  .nav { gap: 2px; }
  /* Dividers sat between wrapped rows as stray vertical ticks. */
  .divider { display: none; }
  .filters { gap: 6px; }
}

/* ---------- her own graphics ---------- */

/* The wisteria from the stream overlays, darkened hard and masked out before it reaches the
   content. It reads as texture behind the navy rather than the bright lavender wash. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background: url("assets/images/wisteria-backdrop.webp") center top / cover no-repeat;
  background-attachment: fixed;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.35) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.35) 88%, transparent 100%);
}

.topbar, .footer { position: relative; z-index: 40; }

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-right: 2px;
  align-self: center;
  filter: drop-shadow(0 4px 10px rgba(201, 182, 255, .35));
}

@media (max-width: 640px) {
  .brand img { width: 28px; height: 28px; }
  body::after { opacity: .42; }
}
