/* ================================================================
   THE GOONER LOUNGE — after-dark house, 2026-08-25 restructure
   Tokens live here so the homepage is one visual system.
   ================================================================ */

:root {
  --pink: #ff2d95;
  --pink-hot: #ff1493;
  --pink-soft: #ff9fd0;
  --purple: #9b30ff;
  --cyan: #00f0ff;
  --gold: #ffd166;
  --void: #000000;
  --ink: #05010a;
  --panel: rgba(7, 2, 16, 0.72);
  --panel-solid: #0b0514;
  --glass: rgba(8, 2, 18, 0.62);
  --text: #fff5fb;
  --muted: rgba(255, 236, 248, 0.68);
  --dim: rgba(255, 236, 248, 0.38);
  --line: rgba(255, 45, 149, 0.28);
  --line-cyan: rgba(0, 240, 255, 0.35);
  --ok: #3dffb5;
  --err: #ff6b8a;
  --font: "Syne", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 92rem;
  --space: 8px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --radius: 1.15rem;
  --shadow-deep: 0 32px 90px rgba(0, 0, 0, 0.62);
  --glow-pink: 0 0 40px rgba(255, 45, 149, 0.35);
  --glow-cyan: 0 0 36px rgba(0, 240, 255, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--void);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, textarea { font: inherit; color: inherit; border: 0; background: none; }
button, a, [role="button"] { cursor: pointer; touch-action: manipulation; }
img, video { max-width: 100%; height: auto; display: block; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── Girl-visible loop ── */
.gl-girl {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #05010a;
}
.gl-girl-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.2);
  filter: blur(44px) saturate(1.35) brightness(0.38);
}
.gl-girl-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, calc(100% * 768 / 1168));
  height: min(100%, calc(100% * 1168 / 768));
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center 6%;
  filter: saturate(1.14) contrast(1.1) brightness(1.16);
}
.gl-girl-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.22) 28%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.38) 78%, rgba(0,0,0,0.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.28) 0%, transparent 18%, transparent 58%, rgba(3,1,10,0.78) 100%);
}

.stage {
  position: relative;
  z-index: 3;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.16) 3px, rgba(0,0,0,0.16) 6px);
  opacity: 0.28;
  mix-blend-mode: multiply;
}
body.gl-has-nav .gl-local-nav { display: none !important; }
.gl-local-nav { display: none; }
#gl-lounge-nav { max-width: 100%; overflow: hidden; }

/* ── Buttons ── */
.btn-neon,
.btn-ghost,
.btn-row-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-neon {
  color: #fff;
  background: linear-gradient(90deg, #ff2d95 0%, #c01278 42%, #9b30ff 100%);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  padding-right: 1.7rem;
  box-shadow: 0 0 28px rgba(255, 45, 149, 0.42);
}
.btn-neon:hover, .btn-neon:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 0 44px rgba(255, 45, 149, 0.7), 0 0 28px rgba(0, 240, 255, 0.18);
  transform: translateX(3px);
  outline: none;
}
.btn-neon:active { transform: translateX(1px) scale(0.99); }
.btn-ghost {
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.06);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: #fff;
  border-color: var(--pink);
  background: rgba(255, 45, 149, 0.14);
  box-shadow: var(--glow-pink);
  outline: none;
}
.btn-bell {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.4rem 1.05rem 0.4rem 0.4rem;
  border: 1px solid rgba(255, 209, 102, 0.5);
  background: linear-gradient(180deg, rgba(28, 12, 8, 0.88), rgba(8, 2, 14, 0.9));
  color: #fff8e7;
  text-align: left;
  box-shadow: 0 0 24px rgba(255, 209, 102, 0.22);
}
.btn-bell:hover, .btn-bell:focus-visible {
  border-color: var(--pink);
  box-shadow: 0 0 32px rgba(255, 45, 149, 0.35), 0 0 18px rgba(255, 209, 102, 0.3);
  outline: none;
}
.btn-bell .orb {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #c9922a 55%, #6a3d08);
  color: #2a1400;
  font-size: 1rem;
  flex-shrink: 0;
  animation: nb-wobble 2.8s ease-in-out infinite;
}
.btn-bell b {
  display: block;
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn-bell small {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.25rem, 4vw, 3.25rem);
  align-items: center;
  min-height: calc(100svh - var(--gl-nav-h, 3.35rem));
  padding: clamp(1.25rem, 4.5vw, 3.75rem) var(--gutter) 2.25rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
}
.hero-copy, .booth-phone { min-width: 0; max-width: 100%; }
.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}
.hero-copy h1 {
  font-size: clamp(3.15rem, 8.4vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.038em;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 48px rgba(255, 45, 149, 0.38);
  max-width: 11ch;
}
.hero-copy h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--pink-soft);
  display: block;
  font-size: 0.34em;
  line-height: 1.25;
  margin-top: 0.55em;
  max-width: 22ch;
  text-shadow: none;
}
.lede {
  margin-top: 1.35rem;
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.58;
  color: var(--muted);
}
.hero-meta {
  margin-top: 0.95rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

/* Social dock — quieter than the rooms */
.soc-dock {
  margin-top: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.soc-kicker {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.soc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.soc-app-btn {
  --soc-size: 52px;
  width: var(--soc-size);
  height: var(--soc-size);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  background: #07040f;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 0 16px rgba(255,45,149,0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, filter 0.28s ease;
}
.soc-app-btn img { width: 100%; height: 100%; object-fit: cover; }
.soc-app-btn:hover, .soc-app-btn:focus-visible {
  transform: translateY(-5px) scale(1.08);
  filter: brightness(1.1);
  box-shadow: 0 14px 32px rgba(0,0,0,0.5), 0 0 28px rgba(255,45,149,0.5);
  outline: none;
}
.soc-app-btn.hot { --soc-size: 58px; box-shadow: 0 0 22px rgba(255,45,149,0.48); }

/* ── Premium iPhone overlay ── */
.booth-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.1rem 0 0.5rem;
}
.phone-shell {
  position: relative;
  width: min(100%, 292px);
  transform: rotate(-6.5deg) translateY(6px);
  transition: transform 0.55s var(--ease);
  display: block;
}
.booth-phone:hover .phone-shell,
.phone-shell:focus-visible {
  transform: rotate(-2.5deg) translateY(-8px) scale(1.035);
  outline: none;
}
.phone-bezel {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 44px;
  padding: 11px;
  background:
    linear-gradient(155deg, #3a2430 0%, #140a12 28%, #07040b 62%, #1a1016 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(255,45,149,0.28),
    0 0 0 1px rgba(255, 45, 149, 0.55),
    0 0 0 3px #0c070c,
    0 0 0 4px rgba(0, 240, 255, 0.28),
    0 36px 80px rgba(0,0,0,0.72),
    0 0 70px rgba(255,45,149,0.22);
}
.phone-bezel::before,
.phone-bezel::after {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(#2a2226, #0e0a0c);
  border-radius: 2px;
  z-index: 2;
}
.phone-bezel::before { right: -3px; top: 22%; height: 58px; }
.phone-bezel::after { left: -3px; top: 26%; height: 32px; }
.phone-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 14%, transparent 28%, transparent 68%, rgba(0,240,255,0.1) 100%);
  pointer-events: none;
  z-index: 6;
  mix-blend-mode: screen;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #05010a;
}
.ph-wall {
  position: absolute;
  inset: 0;
  background:
    url("/images/os/phone-wallpaper.jpg") center / cover no-repeat,
    #08010c;
}
.ph-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 28%, rgba(0,0,0,0.55) 100%);
}
.ph-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #000;
  border-radius: 16px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.ph-status {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ph-body {
  position: relative;
  z-index: 3;
  padding: 18px 18px 0;
}
.ph-clock .d {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  text-shadow: 0 2px 10px #000;
}
.ph-clock .t {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-top: 2px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.7);
}
.ph-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px;
  margin-top: 22px;
  justify-items: center;
}
.ph-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 64px;
}
.ph-app img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0,0,0,0.45), 0 0 14px rgba(255,45,149,0.25);
}
.ph-app.hot img {
  box-shadow: 0 8px 16px rgba(0,0,0,0.45), 0 0 18px rgba(255,45,149,0.65);
}
.ph-app span {
  font-size: 9px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px #000;
}
.ph-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ph-dock img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
}
.ph-homebar {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  width: 92px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.85);
  z-index: 5;
}
.phone-caption {
  margin-top: 1.15rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-align: center;
  transform: rotate(6.5deg);
  text-shadow: 0 0 12px rgba(0,240,255,0.35);
}

/* ── Rooms (bento) ── */
.rooms-wrap {
  position: relative;
  z-index: 4;
  padding: 0.5rem var(--gutter) 0;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 0 0 1.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,45,149,0.18);
}
.sec-head .kicker { margin: 0 0 0.35rem; }
.sec-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sec-head p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink-soft);
  font-size: 1.05rem;
}
.rooms {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
}
.room {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 17.5rem;
  padding: 1.35rem 1.3rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  min-width: 0;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.room::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255,45,149,0.16), transparent 58%);
  opacity: 0.85;
}
.room:hover, .room:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: var(--shadow-deep), 0 0 40px rgba(255,45,149,0.16);
  outline: none;
  background: rgba(12, 4, 28, 0.86);
}
.room .tag {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.room h3 {
  position: relative;
  z-index: 2;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.room p {
  position: relative;
  z-index: 2;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 34rem;
}
.room .go {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.95rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 240, 255, 0.4);
}
.room .go::after { content: "→"; color: var(--pink); }
.room:hover .go { color: #fff; text-decoration-color: var(--pink); }

.room.featured {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 36rem;
  border-left: 3px solid var(--pink);
  justify-content: flex-end;
}
.room.featured .shot {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,1,10,0.15) 0%, rgba(5,1,10,0.2) 38%, rgba(5,1,10,0.88) 100%),
    url("/images/ineedasidehug.png") center 18% / cover no-repeat;
  filter: saturate(1.08) contrast(1.05);
}
.room.featured::before { background: none; }
.room.featured h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.room.featured .btn-neon { margin-top: 1.1rem; align-self: flex-start; position: relative; z-index: 2; }

.room.chat { grid-column: span 5; }
.room.clips { grid-column: span 5; }
.room.feed {
  grid-column: span 12;
  min-height: 11rem;
  border-color: rgba(255,45,149,0.5);
  background: linear-gradient(110deg, rgba(18,4,28,0.9), rgba(8,2,16,0.82));
}

.room.ai .mark,
.room.vision .mark,
.room.studio .mark {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 12px;
  object-fit: cover;
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(255,45,149,0.4);
  z-index: 2;
}
.room.chat .mini-apps {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.room.chat .mini-apps img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.room.clips .shot {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,1,10,0.2), rgba(5,1,10,0.82)),
    url("/images/rl-octane-promo.jpg") center / cover no-repeat;
}
.room.clips::before { display: none; }
.room.studio { background: rgba(8, 4, 18, 0.78); }
.room.soon .tag { color: var(--pink-soft); }

.neural {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0,240,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,45,149,0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
}

/* Commission band */
.commission {
  position: relative;
  z-index: 5;
  margin-top: 1.15rem;
  border-top: 1px solid rgba(255,45,149,0.4);
  border-bottom: 1px solid rgba(0,240,255,0.22);
  background: linear-gradient(90deg, rgba(255,45,149,0.2), rgba(155,48,255,0.14), rgba(0,0,0,0.78));
  overflow-x: clip;
  max-width: 100%;
}
.help-marquee {
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding: 0.45rem 0;
}
.help-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.help-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem var(--gutter);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
}
.help-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.help-body h2 b {
  color: transparent;
  background: linear-gradient(90deg, #ff2d95, #00f0ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.help-body p {
  color: var(--muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
  max-width: 38rem;
}

/* ── Below fold ── */
.below {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(3,1,10,0.22), rgba(3,1,10,0.86) 36%, rgba(3,1,10,0.94));
  padding: 0 0 3rem;
}
.below::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--purple), var(--cyan), transparent);
}

.feed-wrap {
  width: min(100% - 2rem, 48rem);
  margin: 2.75rem auto 0;
  max-width: 100%;
  min-width: 0;
}
.feed-wrap.feed-hero {
  position: relative;
  z-index: 5;
  width: min(100% - var(--gutter) * 2, 64rem);
  margin: 0.35rem auto 1.35rem;
}
.feed-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.75rem;
}
.feed-shell {
  border: 1px solid rgba(255,45,149,0.32);
  background: linear-gradient(160deg, rgba(10,4,24,0.88), rgba(4,2,12,0.82));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-deep);
}
.feed-gate { padding: 2.35rem 1.75rem 2.1rem; }
.feed-wrap.feed-hero .feed-shell {
  box-shadow: var(--shadow-deep), 0 0 70px rgba(255,45,149,0.18);
  border-width: 1.5px;
}
.feed-gate.is-hidden { display: none; }
.feed-gate .whisper {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.feed-gate h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.feed-gate p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  max-width: 32rem;
}
.feed-panel[hidden] { display: none; }
.feed-panel.open[hidden] { display: block; }
.feed-panel-body { padding: 1.5rem; }
.feed-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.feed-head h3 { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.feed-head p { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.sub-form { display: grid; gap: 0.6rem; margin-bottom: 1rem; }
.url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: stretch;
}
.url-paste {
  min-height: 48px;
  padding: 0 1rem;
  white-space: nowrap;
}
.host-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(0,240,255,0.35);
  color: var(--cyan);
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.host-chip.is-bad {
  color: var(--err);
  border-color: rgba(255,107,138,0.45);
}
.host-chip.is-ok {
  color: var(--ok);
  border-color: rgba(61,255,181,0.4);
}
.sub-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: #000;
  border: 1px solid rgba(155,48,255,0.35);
  color: #fff;
  font-family: var(--mono);
  font-size: 16px;
}
.sub-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0,240,255,0.15);
}
.btn-row-full {
  width: 100%;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  clip-path: none;
  box-shadow: 0 0 24px rgba(255,45,149,0.28);
}
.btn-row-full:hover { filter: brightness(1.1); }
.sub-msg { font-size: 0.85rem; min-height: 1.2rem; color: var(--muted); }
.sub-msg.ok { color: var(--ok); }
.sub-msg.err { color: var(--err); }
.sub-feed { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.15rem; }
.feed-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.85rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  min-height: 56px;
  border: 1px solid rgba(255,45,149,0.38);
  background: rgba(255,45,149,0.08);
  color: #fff5fb;
  text-decoration: none;
}
.feed-card:hover, .feed-card:focus-visible {
  border-color: var(--cyan);
  background: rgba(0,240,255,0.08);
}
.feed-card .fc-host {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-card .fc-meta {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--muted);
}
.feed-card .fc-time {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.feed-empty {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.6rem 0.2rem 0.2rem;
}
.surprise-mini { border-top: 1px solid rgba(255,45,149,0.15); padding-top: 1rem; }
.house-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}
.surprise-mini .warning {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b8a;
  margin-bottom: 0.55rem;
  text-align: center;
}
.dice-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
  padding: 1.1rem;
  border: 1px solid rgba(255,45,149,0.28);
  border-radius: 1rem;
  background: rgba(8,2,18,0.55);
  box-shadow: inset 0 0 40px rgba(255,45,149,0.08);
}
.dice {
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,45,149,0.55);
  background: linear-gradient(145deg, rgba(255,45,149,0.22), rgba(155,48,255,0.18));
  box-shadow: 0 0 28px rgba(255,45,149,0.35);
}
.dice.is-rolling { animation: dice-spin 0.12s linear infinite, dice-glow 0.4s ease-in-out infinite alternate; }
.dice.is-landed { animation: dice-land 0.45s var(--ease) both; box-shadow: 0 0 40px rgba(0,240,255,0.45); }
.dice-status {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
@keyframes dice-spin { to { transform: rotate(90deg) scale(1.05); } }
@keyframes dice-glow { from { filter: brightness(1); } to { filter: brightness(1.35); } }
@keyframes dice-land {
  0% { transform: scale(1.2) rotate(-8deg); }
  100% { transform: scale(1) rotate(0); }
}

footer {
  text-align: center;
  padding: 2.4rem 1rem 2.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
footer a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 240, 255, 0.45);
}
footer a:hover, footer a:focus-visible {
  color: #fff;
  text-decoration-color: var(--pink);
}

input, textarea, select, button { max-width: 100%; }
.below, .feed-wrap, footer { max-width: 100%; min-width: 0; }

/* ── Mobile ── */
@media (max-width: 1080px) {
  .rooms { gap: 0.95rem; }
  .room.featured { min-height: 30rem; }
}
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "phone";
    align-items: start;
    min-height: auto;
    padding: 0.95rem 0.85rem 1.35rem;
    gap: 1.4rem;
  }
  .hero-copy { grid-area: copy; }
  .booth-phone { grid-area: phone; }
  .hero-copy {
    padding: 1rem 0.9rem 1.15rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,45,149,0.2);
  }
  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    line-height: 0.9;
    max-width: none;
    overflow-wrap: break-word;
  }
  .hero-copy h1 em { font-size: 0.42em; max-width: none; }
  .lede { font-size: 0.98rem; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-neon,
  .hero-actions .btn-ghost,
  .hero-actions .btn-bell,
  .help-body .btn-neon {
    width: 100%;
    clip-path: none;
    white-space: normal;
  }
  .booth-phone { padding-top: 0.4rem; }
  .phone-shell {
    width: min(72vw, 260px);
    transform: none;
  }
  .booth-phone:hover .phone-shell,
  .phone-shell:focus-visible { transform: translateY(-4px); }
  .phone-caption { transform: none; }
  .rooms {
    grid-template-columns: minmax(0, 1fr);
  }
  .room,
  .room.featured,
  .room.chat,
  .room.clips,
  .room.feed {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    padding: 1.15rem 1rem 1.1rem;
  }
  .url-row { grid-template-columns: minmax(0, 1fr); }
  .feed-wrap.feed-hero { width: calc(100% - 1rem); margin-top: 0.15rem; }
  .room.featured { min-height: 22rem; }
  .room:hover { transform: none; }
  .help-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 0.85rem 1.2rem;
  }
  .soc-app-btn { --soc-size: 48px; border-radius: 12px; }
  .soc-app-btn.hot { --soc-size: 54px; }
  .feed-wrap { width: calc(100% - 1rem); }
  .feed-panel-body { padding: 1.1rem 0.9rem; }
  footer {
    padding: 1.5rem 0.85rem calc(2.75rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.62rem;
    line-height: 1.8;
    overflow-wrap: break-word;
  }
  .gl-girl-main { object-position: center 4%; }
}
@media (max-width: 520px) {
  .kicker { font-size: 0.62rem; letter-spacing: 0.14em; }
  .hero-copy h1 { font-size: clamp(2.2rem, 13vw, 2.85rem); }
  .room h3 { font-size: 1.15rem; }
  .help-body h2 { font-size: 1.15rem; }
  .phone-shell { width: min(78vw, 240px); }
}

@media (prefers-reduced-motion: reduce) {
  .help-marquee span,
  .btn-bell .orb,
  .phone-shell,
  .room { animation: none !important; transition: none !important; }
}
