/* Entropy LA v2 — dark warehouse, neon accents */
:root {
  --bg: #07060B;
  --bg-2: #0E0C14;
  --bg-3: #15121E;
  --line: #241F31;
  --line-2: #2E2840;
  --text: #EDEAF5;
  --text-2: #C9C4D6;
  --muted: #A29DB3;
  --faint: #6F6A80;
  --cyan: #2EE6FF;
  --cyan-ink: #04161A;
  --cyan-soft: #8DF3FF;
  --pink: #FF3D9A;
  --pink-ink: #12040B;
  --pink-soft: #FF7DB8;
  --violet: #B66BFF;
  --violet-soft: #C9A6FF;
  --indigo: #7C8CFF;
  --radius: 20px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --tabbar-h: 72px;
  --player-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html { overflow-x: hidden; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(255, 61, 154, .45); }

/* film grain + scanline atmosphere */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- layout ---------- */
.shell { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .9; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 6, 11, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-in { max-width: 1360px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: 0 0 auto; }
.brand:hover { color: var(--text); }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.neon { animation: flicker 7s infinite; text-shadow: 0 0 18px rgba(46, 230, 255, .55), 0 0 42px rgba(46, 230, 255, .22); }
.neon-pink { text-shadow: 0 0 18px rgba(255, 61, 154, .55), 0 0 48px rgba(255, 61, 154, .22); }
@keyframes flicker { 0%, 100%, 47%, 53% { opacity: 1 } 49%, 51% { opacity: .6 } 50% { opacity: .85 } }
.mainnav { display: none; gap: 4px 22px; font-weight: 500; font-size: 15px; flex: 1 1 auto; flex-wrap: wrap; }
.mainnav a { color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.mainnav a:hover { color: var(--text); }
.mainnav a.on { color: var(--text); }
.mainnav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #110F18;
  color: var(--text); display: grid; place-items: center; transition: transform .15s, border-color .2s, box-shadow .2s;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.avatar-btn { padding: 0; border-radius: 50%; border: 2px solid var(--cyan); overflow: hidden; }

main#view {
  overflow-x: clip;
  flex: 1 1 auto; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 18px 16px calc(var(--tabbar-h) + var(--player-h) + var(--safe-b) + 96px);
}
main#view.full { max-width: none; padding: 0 0 calc(var(--tabbar-h) + var(--safe-b)); }
.page-in { animation: pageIn .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(14, 12, 20, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 6px 4px calc(6px + var(--safe-b));
}
.tab { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 500; transition: color .2s, transform .15s; }
.tab:active { transform: scale(.92); }
.tab.on { color: var(--cyan); font-weight: 700; }
.tab.on svg { filter: drop-shadow(0 0 6px rgba(46, 230, 255, .7)); }
.tab.on.pinkon { color: var(--pink-soft); }
.tab.on.pinkon svg { filter: drop-shadow(0 0 6px rgba(255, 61, 154, .7)); }
.tab-plus { display: grid; place-items: center; }
.tab-plus span { width: 48px; height: 48px; border-radius: 15px; background: var(--cyan); color: var(--cyan-ink); display: grid; place-items: center; box-shadow: 0 0 22px rgba(46, 230, 255, .5); transition: transform .2s; }
.tab-plus:active span { transform: scale(.9) rotate(90deg); }

/* ---------- mini player ---------- */
.mini {
  position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px);
  background: rgba(21, 18, 30, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 8px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 -10px 34px -14px rgba(46, 230, 255, .4);
  animation: popUp .45s cubic-bezier(.2, 1.4, .3, 1) both;
}
.mini.hidden { display: none; }
@keyframes popUp { from { opacity: 0; transform: translateY(16px) scale(.97) } to { opacity: 1; transform: none } }
.mini-art { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; border: 1px solid var(--cyan); overflow: hidden; background: var(--bg-3); }
.mini-art img { width: 100%; height: 100%; object-fit: cover; }
.mini-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; color: var(--text); }
.mini-meta:hover { color: var(--text); }
.mini-top { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; min-width: 0; }
.mini-top span:last-child, .mini-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { font-size: 12px; color: var(--muted); }
.play {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; border: none; background: var(--cyan); color: var(--cyan-ink);
  display: grid; place-items: center; box-shadow: 0 0 18px rgba(46, 230, 255, .55);
  transition: transform .15s, box-shadow .25s;
}
.play:hover { box-shadow: 0 0 0 1px rgba(46, 230, 255, .9), 0 0 30px rgba(46, 230, 255, .75); }
.play:active { transform: scale(.9); }
.play.big { width: 76px; height: 76px; box-shadow: 0 0 0 1px rgba(46, 230, 255, .6), 0 0 34px rgba(46, 230, 255, .6), 0 0 90px rgba(46, 230, 255, .22); }
.play.wait { animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 10px rgba(46, 230, 255, .4) } 50% { box-shadow: 0 0 0 8px rgba(46, 230, 255, .12), 0 0 34px rgba(46, 230, 255, .8) } }
.play .spin { width: 20px; height: 20px; border: 3px solid rgba(4, 22, 26, .3); border-top-color: var(--cyan-ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.tap-hint { position: absolute; top: -30px; right: 10px; background: var(--cyan); color: var(--cyan-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 18px rgba(46, 230, 255, .6); animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) } }

/* ---------- badges / bits ---------- */
.live-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--pink); color: var(--pink-ink); font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .12em; padding: 5px 11px; border-radius: 999px; }
.live-pill.ghost { background: transparent; color: var(--pink-soft); padding: 0; }
.live-pill.auto { background: rgba(46, 230, 255, .12); color: var(--cyan-soft); border: 1px solid rgba(46, 230, 255, .4); }
.live-pill.pre { background: rgba(182, 107, 255, .15); color: var(--violet-soft); border: 1px solid rgba(182, 107, 255, .45); }
.live-pill.off { background: var(--bg-3); color: var(--muted); border: 1px solid var(--line-2); }
.ldot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 154, .7) } 50% { box-shadow: 0 0 0 6px rgba(255, 61, 154, 0) } }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--faint); font-weight: 700; text-transform: uppercase; margin: 0; }
.kicker.cyan { color: var(--cyan); } .kicker.pink { color: var(--pink-soft); }
.role { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; font-weight: 700; }
.role.dj { color: var(--cyan); } .role.admin { color: var(--pink-soft); } .role.member { color: var(--violet-soft); }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0; line-height: 1.2; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0; }
.ph { background: repeating-linear-gradient(135deg, #14111D 0 12px, #191523 12px 24px); }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.card.pop:hover { transform: translateY(-4px); border-color: rgba(46, 230, 255, .5); box-shadow: 0 18px 50px -18px rgba(46, 230, 255, .45), 0 0 0 1px rgba(46, 230, 255, .2); }
.card.pop.pinkhover:hover { border-color: rgba(255, 61, 154, .55); box-shadow: 0 18px 50px -18px rgba(255, 61, 154, .45), 0 0 0 1px rgba(255, 61, 154, .2); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 320px; min-width: 0; }
.glow-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(4px); }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 13px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--text); font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { color: var(--text); border-color: #3A3350; }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--cyan); color: var(--cyan-ink); border-color: transparent; box-shadow: 0 0 22px rgba(46, 230, 255, .35); }
.btn.primary:hover { box-shadow: 0 0 34px rgba(46, 230, 255, .6); color: var(--cyan-ink); }
.btn.pink { background: var(--pink); color: var(--pink-ink); border-color: transparent; box-shadow: 0 0 22px rgba(255, 61, 154, .35); }
.btn.pink:hover { box-shadow: 0 0 34px rgba(255, 61, 154, .6); color: var(--pink-ink); }
.btn.outline-pink { background: transparent; border-color: var(--pink); color: var(--pink-soft); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); font-weight: 500; }
.btn.ghost:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.btn.block { width: 100%; min-height: 54px; font-size: 16px; border-radius: 16px; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.input {
  width: 100%; min-height: 48px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { padding: 12px 14px; resize: vertical; min-height: 96px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 230, 255, .2); }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.err { color: #FF8FB0; font-size: 14px; margin: 0; min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--cyan); flex: 0 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

/* ---------- toasts ---------- */
#toasts { position: fixed; z-index: 90; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; font-size: 14px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(46, 230, 255, .4); animation: toastIn .35s cubic-bezier(.2, 1.4, .3, 1) both; pointer-events: auto; }
.toast.bad { border-color: rgba(255, 61, 154, .6); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8), 0 0 24px -8px rgba(255, 61, 154, .5); }
.toast.out { animation: toastOut .25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96) } to { opacity: 1; transform: none } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) } }

/* ---------- entrance ---------- */
.entrance { position: relative; min-height: calc(100dvh - 60px); display: flex; flex-direction: column; overflow: hidden; }
.entrance-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.entrance-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.beam { position: absolute; left: -10%; right: -10%; height: 1px; opacity: .5; }
.beam.c { top: 46%; background: var(--cyan); box-shadow: 0 0 22px 3px rgba(46, 230, 255, .7); animation: sweep 6s ease-in-out infinite; }
.beam.p { top: 48%; background: var(--pink); box-shadow: 0 0 22px 3px rgba(255, 61, 154, .6); animation: sweep 6s ease-in-out infinite reverse; }
@keyframes sweep { 0%, 100% { transform: translateY(-30px) rotate(-2deg) } 50% { transform: translateY(30px) rotate(2deg) } }
.drift { animation: drift 9s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(14px, -18px) scale(1.06) } }
.entrance-in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 20px 40px; display: grid; grid-template-columns: 1fr; gap: 28px; flex: 1 1 auto; align-content: center; }
.entrance-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.entrance-right { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.onair-big { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 24px; }
.onair-big .cover { width: min(100%, 300px); }
.logo-hero { width: min(100%, 640px); border-radius: 18px; box-shadow: 0 0 80px -20px rgba(182, 107, 255, .55); animation: logoIn 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.94); filter: blur(8px) } to { opacity: 1; transform: none; filter: none } }
.tagline { font-family: var(--display); font-weight: 500; letter-spacing: .14em; font-size: 13px; color: var(--pink-soft); margin: 0; }
.cta-col { display: flex; flex-direction: column; gap: 12px; max-width: 420px; width: 100%; }
.teaser { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: rgba(14, 12, 20, .8); border: 1px solid var(--line-2); max-width: 520px; }

/* ---------- home ---------- */
.onair { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; padding: 24px; }
.onair::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(46, 230, 255, .7), rgba(182, 107, 255, .4), rgba(255, 61, 154, .7), rgba(46, 230, 255, .7)); background-size: 300% 300%; animation: borderflow 8s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes borderflow { to { background-position: 300% 0 } }
.cover { width: 220px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--cyan); position: relative; background: var(--bg-3); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.playing { animation: coverglow 4s ease-in-out infinite; }
@keyframes coverglow { 0%, 100% { box-shadow: 0 0 44px -8px rgba(46, 230, 255, .75) } 50% { box-shadow: 0 0 50px -6px rgba(255, 61, 154, .7) } }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.eq span { width: 5px; border-radius: 3px; height: 18%; }
.eq span:nth-child(1), .eq span:nth-child(2) { background: var(--cyan); }
.eq span:nth-child(3), .eq span:nth-child(4) { background: var(--indigo); }
.eq span:nth-child(5) { background: var(--violet); }
.eq span:nth-child(6), .eq span:nth-child(7) { background: var(--pink); }
.eq.on span { animation: eq 1s ease-in-out infinite; }
.eq.on span:nth-child(2) { animation-delay: .15s } .eq.on span:nth-child(3) { animation-delay: .3s } .eq.on span:nth-child(4) { animation-delay: .45s }
.eq.on span:nth-child(5) { animation-delay: .6s } .eq.on span:nth-child(6) { animation-delay: .75s } .eq.on span:nth-child(7) { animation-delay: .9s }
@keyframes eq { 0%, 100% { height: 20% } 50% { height: 100% } }
.stories { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 78px; flex: 0 0 auto; color: var(--text); font-size: 12px; text-align: center; line-height: 1.2; }
.story:hover { color: var(--text); }
.ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; border: 2px solid var(--line-2); position: relative; transition: transform .2s; }
.story:hover .ring { transform: scale(1.06); }
.ring.live { border-color: var(--pink); box-shadow: 0 0 18px rgba(255, 61, 154, .5); }
.ring.lit { border-color: var(--cyan); }
.av { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--muted); background: repeating-linear-gradient(135deg, #14111D 0 10px, #191523 10px 20px); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.ring-tag { position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); background: var(--pink); color: var(--pink-ink); font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.avatar { display: inline-block; width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; border: 2px solid var(--line-2); overflow: hidden; }
.avatar.sm { width: 34px; height: 34px; }
.avatar.dj { border-color: var(--cyan); } .avatar.admin { border-color: var(--pink); } .avatar.member { border-color: var(--violet); }

.composer textarea { min-height: 70px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--muted); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.on { background: rgba(46, 230, 255, .12); border-color: rgba(46, 230, 255, .55); color: var(--cyan-soft); }
.post .media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.post .media img { width: 100%; max-height: 640px; object-fit: contain; background: #000; }
.post-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.post.announcement { border-color: rgba(46, 230, 255, .4); background: linear-gradient(180deg, rgba(46, 230, 255, .06), transparent 40%), var(--bg-2); }
.post.flyer { border-color: rgba(255, 61, 154, .35); }
.actions { display: flex; gap: 2px; border-top: 1px solid var(--line); padding-top: 8px; margin: 0 -6px -6px; }
.act { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-size: 14px; transition: color .2s, background .2s, transform .15s; }
.act:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.act:active { transform: scale(.92); }
.act.liked { color: var(--pink-soft); }
.act.liked svg { fill: var(--pink); animation: heart .45s cubic-bezier(.2, 1.6, .3, 1); }
@keyframes heart { 30% { transform: scale(1.35) } }
.comments { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.comment { display: flex; gap: 10px; font-size: 14px; }
.comment p { margin: 0; overflow-wrap: anywhere; }
.side-list { display: flex; flex-direction: column; gap: 14px; }
.date-chip { width: 56px; height: 64px; flex: 0 0 auto; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-chip b { font-family: var(--display); font-size: 20px; line-height: 1; }
.date-chip span { font-family: var(--mono); font-size: 11px; color: var(--pink-soft); }
.sched-row { display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 14px; border: 1px solid transparent; }
.sched-row.now { background: rgba(255, 61, 154, .08); border-color: rgba(255, 61, 154, .35); }
.sched-row time { font-family: var(--mono); font-size: 13px; color: var(--muted); width: 72px; flex: 0 0 auto; }
.sched-row.now time { color: var(--pink-soft); }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 61, 154, .08); border: 1px solid rgba(255, 61, 154, .4); font-size: 14px; flex-wrap: wrap; }
.banner.cyan { background: rgba(46, 230, 255, .07); border-color: rgba(46, 230, 255, .35); }

/* ---------- radio page ---------- */
.radio { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1180px; margin: 0 auto; }
.radio-stage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 10px 0 4px; }
.radio-stage .cover { width: min(64vw, 300px); }
.radio-glow { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 560px; max-width: 120vw; height: 420px; background: radial-gradient(circle, rgba(46, 230, 255, .18), rgba(255, 61, 154, .1) 45%, transparent 70%); pointer-events: none; }
.track-id { display: flex; flex-direction: column; gap: 2px; max-width: 100%; }
.track-title { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 4vw, 30px); line-height: 1.15; overflow-wrap: anywhere; }
.controls { display: flex; align-items: center; gap: 18px; }
.vol { width: 110px; accent-color: var(--cyan); }
.chat { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; min-height: 380px; height: 52dvh; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 9px; overscroll-behavior: contain; }
.msg { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; animation: msgIn .3s ease both; }
@keyframes msgIn { from { opacity: 0; transform: translateX(-6px) } to { opacity: 1; transform: none } }
.msg b { flex: 0 0 auto; }
.msg span { color: #DAD6E4; overflow-wrap: anywhere; min-width: 0; }
.msg .x { margin-left: auto; background: none; border: none; color: var(--faint); font-size: 12px; padding: 0 4px; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-gate { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.history { display: flex; flex-direction: column; gap: 10px; }
.hist { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.hist .thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--line-2); }
.hist .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- profile ---------- */
.prof-cover { height: 180px; border-radius: 0 0 24px 24px; position: relative; overflow: hidden; margin: -18px -16px 0; }
.prof-cover img { width: 100%; height: 100%; object-fit: cover; }
.prof-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--bg)); }
.prof-head { position: relative; margin-top: -54px; display: flex; flex-direction: column; gap: 12px; padding: 0 4px; }
.prof-av { width: 104px; height: 104px; border-radius: 50%; padding: 3px; border: 2px solid var(--cyan); background: var(--bg); animation: ringglow 4s ease-in-out infinite; }
@keyframes ringglow { 0%, 100% { box-shadow: 0 0 18px rgba(46, 230, 255, .6) } 50% { box-shadow: 0 0 26px rgba(182, 107, 255, .7) } }
.prof-stats { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 4px; overflow-x: auto; }
.tabs button { min-height: 46px; padding: 0 16px; border: none; background: none; color: var(--muted); font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--text); font-weight: 700; border-bottom-color: var(--cyan); box-shadow: 0 8px 16px -10px rgba(46, 230, 255, .9); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.grid3 a, .grid3 div { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-3); display: block; }
.grid3 img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.grid3 a:hover img { transform: scale(1.05); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- DJ directory / EPK ---------- */
.dj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dj-card { display: flex; flex-direction: column; color: var(--text); padding: 0; overflow: hidden; }
.dj-card:hover { color: var(--text); }
.dj-card .pic { aspect-ratio: 1; position: relative; }
.dj-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.dj-card .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 11, .9)); }
.dj-card .meta { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.dj-card .name { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; }

/* ---------- schedule ---------- */
.week { display: grid; grid-template-columns: 1fr; gap: 12px; }
.day-card h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--cyan); margin: 0 0 6px; }
.day-card.today { border-color: rgba(255, 61, 154, .45); }
.day-card.today h3 { color: var(--pink-soft); }

/* ---------- gallery ---------- */
.locked { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.locked div { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); }
.locked .over { position: absolute; inset: 0; aspect-ratio: auto; border: none; display: grid; place-items: center; background: rgba(7, 6, 11, .55); }
.bullet { display: flex; gap: 12px; align-items: flex-start; }
.bullet i { width: 8px; height: 8px; margin-top: 8px; flex: 0 0 auto; border-radius: 50%; }

/* ---------- modal sheet ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(4, 3, 8, .72); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0 } }
.sheet { width: min(100%, 560px); max-height: 92dvh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 24px 24px 0 0; padding: 20px 18px calc(22px + var(--safe-b)); animation: sheetUp .35s cubic-bezier(.2, 1, .3, 1) both; box-shadow: 0 -20px 60px -20px rgba(46, 230, 255, .35); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0 } }

/* ---------- admin ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stat { padding: 14px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 26px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); font-weight: 700; }
.scroll-x { overflow-x: auto; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .mainnav { display: flex; }
  .tabbar { display: none; }
  main#view { padding-bottom: calc(var(--player-h) + 40px); padding-left: 24px; padding-right: 24px; padding-top: 28px; }
  main#view.full { padding-bottom: var(--player-h); }
  .mini { left: 0; right: 0; bottom: 0; border-radius: 0; border-left: none; border-right: none; border-bottom: none; padding: 10px max(24px, calc((100vw - 1360px) / 2 + 24px)); }
  .radio { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; padding-top: 10px; }
  .radio-stage .cover { width: 340px; }
  .chat { height: calc(100dvh - 190px); position: sticky; top: 90px; }
  .dj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prof-cover { height: 260px; margin: -28px -24px 0; border-radius: 0 0 28px 28px; }
  .sheet-back { align-items: center; }
  .sheet { border-radius: 24px; padding-bottom: 22px; }
  .entrance-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding-top: 40px; }
  .grid3 { gap: 8px; }
}
@media (max-width: 899px) {
  .hide-m { display: none !important; }
  .cover { width: 100%; max-width: 320px; margin: 0 auto; }
  .onair { padding: 18px; gap: 18px; }
  .onair .cover { width: 120px; margin: 0; }
}
@media (min-width: 900px) { .hide-d { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.menu-link { display: block; padding: 13px 14px; border-radius: 12px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .02em; transition: background .2s, color .2s, transform .15s; }
.menu-link:hover, .menu-link:focus-visible { background: rgba(46, 230, 255, .08); color: var(--cyan-soft); transform: translateX(4px); }
@media (max-width: 899px) { .top-actions .icon-btn { width: 42px; height: 42px; } .top-actions { gap: 6px; } }
.steps { display: flex; gap: 6px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); transition: background .3s, box-shadow .3s; }
.steps span.on { background: var(--cyan); box-shadow: 0 0 10px rgba(46, 230, 255, .6); }
.step { animation: pageIn .3s cubic-bezier(.2, .8, .2, 1) both; }
.tag-input { position: relative; }
.tag-input span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--pink); text-shadow: 0 0 10px rgba(255, 61, 154, .6); pointer-events: none; }
.tag-input .input { padding-left: 34px; font-weight: 700; }
.id-preview { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-2); background: var(--bg); }
.pw { position: relative; }
.pw .input { padding-right: 76px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

/* entropy / frequency motifs */
.scope-wrap { position: relative; display: grid; place-items: center; padding: 30px; margin: 0; }
.scope-wrap .scope { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px; pointer-events: none; opacity: .7;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'><path d='M0 5 Q15 0 30 5 T60 5 T90 5 T120 5' fill='none' stroke='%232EE6FF' stroke-width='1.2'/></svg>") repeat-x;
  background-size: 120px 10px; animation: lfo 6s linear infinite; filter: drop-shadow(0 0 4px rgba(46,230,255,.8)); }
@keyframes lfo { to { background-position: 120px 0 } }
.kicker::before { content: '∿ '; color: var(--cyan); letter-spacing: 0; }
.kicker.pink::before { color: var(--pink); }
.card { background: rgba(14, 12, 20, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
[hidden] { display: none !important; }

.flabel { font-size: 13px; color: var(--text-2); font-weight: 500; }
.rave-card { background: linear-gradient(135deg, rgba(255,61,154,.08), rgba(46,230,255,.05) 60%), rgba(14,12,20,.86); border-color: rgba(255,61,154,.3); }
.rave-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; }
.rave-dl dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--faint); font-weight: 700; }
.rave-dl dd { margin: 2px 0 0; font-weight: 700; }

.embed { width: 100%; border: 0; border-radius: 14px; background: var(--bg-3); display: block; }
.embed-16x9 { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--pink); box-shadow: 0 0 60px -14px rgba(255,61,154,.7), 0 0 0 1px rgba(46,230,255,.25); }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn.block { white-space: normal; text-align: center; line-height: 1.2; }

.consent { padding: 14px; border-radius: 14px; border: 1px solid rgba(46,230,255,.3); background: rgba(46,230,255,.05); }
.mail-pulse { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: var(--cyan-ink); background: var(--cyan); box-shadow: 0 0 30px rgba(46,230,255,.6); animation: breathe 1.8s ease-in-out infinite; }
.mail-pulse svg { width: 30px; height: 30px; }
.aud { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; }
.aud input { width: 20px; height: 20px; accent-color: var(--pink); margin-top: 2px; }
.aud:has(input:checked) { border-color: rgba(255,61,154,.6); box-shadow: 0 0 24px -10px rgba(255,61,154,.7); }

.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps-list li::marker { color: var(--cyan); font-weight: 700; }
.card.hl { border-color: rgba(46,230,255,.55); box-shadow: 0 0 40px -16px rgba(46,230,255,.6); }

/* submit page */
.drop { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; border: 2px dashed rgba(46,230,255,.45); background: rgba(46,230,255,.05); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--cyan); background: rgba(46,230,255,.09); }
.drop-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan); color: var(--cyan-ink); flex: 0 0 auto; box-shadow: 0 0 20px rgba(46,230,255,.5); }
.progress { height: 8px; border-radius: 8px; background: var(--bg-3); overflow: hidden; border: 1px solid var(--line-2); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); transition: width .2s; box-shadow: 0 0 12px rgba(46,230,255,.7); }
/* archive */
.arch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .arch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.arch-card { padding: 0; overflow: hidden; text-align: left; display: flex; flex-direction: column; color: var(--text); font: inherit; }
.arch-art { position: relative; aspect-ratio: 1; background: var(--bg-3); display: block; }
.arch-art img { width: 100%; height: 100%; object-fit: cover; }
.arch-play { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--cyan-ink); display: grid; place-items: center; box-shadow: 0 0 18px rgba(46,230,255,.6); transition: transform .2s; }
.arch-card:hover .arch-play { transform: scale(1.1); }
.arch-play svg { width: 20px; height: 20px; }
.arch-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
/* floating chat */
#chatdock { position: fixed; z-index: 45; right: 12px; bottom: calc(var(--tabbar-h) + var(--player-h) + var(--safe-b) + 56px); }
.dock-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,61,154,.6); background: rgba(21,18,30,.95); color: var(--text); font-weight: 700; font-size: 14px; box-shadow: 0 0 26px -6px rgba(255,61,154,.6); backdrop-filter: blur(12px); transition: transform .2s; animation: popUp .45s cubic-bezier(.2,1.4,.3,1) both; }
.dock-tab:hover { transform: translateY(-2px); }
.dock-tab svg { color: var(--pink-soft); width: 18px; height: 18px; }
.dock-dot { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: var(--pink-ink); font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 10px var(--pink); }
#chatdock.is-open .dock-tab { display: none; }
.dock-panel { width: min(92vw, 360px); height: min(62vh, 480px); display: flex; flex-direction: column; background: rgba(14,12,20,.97); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.9), 0 0 40px -16px rgba(255,61,154,.6); backdrop-filter: blur(16px); animation: popUp .3s cubic-bezier(.2,1.2,.3,1) both; overflow: hidden; }
.dock-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { #chatdock { right: 24px; bottom: calc(var(--player-h) + 28px); } }

.avatar.lg { width: 64px; height: 64px; }
.welcome-letter ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--text-2); }
.letter-block { padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.signature { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--pink-soft); text-shadow: 0 0 18px rgba(255,61,154,.5); }
.cred { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.cred-l { width: 100%; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.cred-v { flex: 1 1 120px; min-width: 0; font-family: var(--mono); font-size: 15px; color: var(--cyan-soft); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; }
.guide summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.guide summary::after { content: '+'; color: var(--cyan); font-size: 22px; font-weight: 700; }
.guide[open] summary::after { content: '–'; }
.guide p { margin: 0; color: var(--text-2); }

/* ---------- photos + videos everywhere ---------- */
.post .media video { width: 100%; max-height: 640px; display: block; background: #000; }
.grid3 img, .grid3 video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb { position: relative; }
.vthumb > span[aria-hidden] { position: absolute; inset: auto 8px 8px auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 6, 11, .7); color: #fff; backdrop-filter: blur(6px); }
.vthumb > span[aria-hidden] svg { width: 14px; height: 14px; }
.dm { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; animation: msgIn .25s ease both; display: flex; flex-direction: column; gap: 8px; }
.dm.mine { align-self: flex-end; background: var(--cyan); color: var(--cyan-ink); border-bottom-right-radius: 6px; }
.dm.theirs { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.dm.has-media { padding: 4px; }
.dm.has-media .dm-text { padding: 2px 10px 6px; }
.dm-media { display: block; border-radius: 14px; overflow: hidden; max-width: 280px; }
.dm-media img { display: block; width: 100%; height: auto; max-width: 280px; max-height: 360px; object-fit: cover; border-radius: 14px; }
video.dm-media { display: block; width: 280px; max-width: 100%; max-height: 360px; background: #000; border-radius: 14px; }
.up-bar { position: relative; height: 30px; margin: 0 10px; border-radius: 999px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); }
.up-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: width .2s; opacity: .55; }
.up-txt { position: relative; display: grid; place-items: center; height: 100%; font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.chat-img { display: block; margin-top: 6px; max-width: 220px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.chat-img img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.chat-form .icon-btn { color: var(--muted); }
.chat-form .icon-btn:hover { color: var(--cyan); }
.embed-preview { border-radius: 18px; overflow: hidden; background: repeating-conic-gradient(rgba(255,255,255,.03) 0 25%, transparent 0 50%) 0 0 / 18px 18px; border: 1px dashed var(--line-2); padding: 10px; }
.embed-preview { max-height: 46vh; overflow: auto; }
.embed-preview iframe { display: block; width: 100%; max-width: 420px; margin: 0 auto; border: 0; border-radius: 18px; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- Space (old-school profile) ---------- */
.space-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.space-host { display: block; position: relative; contain: paint; isolation: isolate; overflow: hidden; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2, #100E17); min-height: 300px; }
@media (max-width: 640px) { .space-host { border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; } }
.space-nudge { margin-bottom: 12px; border-color: rgba(255, 61, 154, .4); color: var(--text); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.people-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text); text-align: center; font-size: 13px; overflow-wrap: anywhere; }
.html-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.html-tools .chip { min-height: 32px; padding: 0 11px; font-size: 13px; cursor: pointer; }
.html-tools .chip:hover { color: var(--text); border-color: var(--cyan); }
.pc-body { overflow-wrap: anywhere; color: var(--text-2); }
.pc-body img { max-width: 100%; height: auto; }

.space-edit { display: flex; flex-direction: column; gap: 16px; }
.se-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.se-cols { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .se-cols { grid-template-columns: minmax(0, 1fr); } }
.se-controls { display: flex; flex-direction: column; gap: 10px; }
.se-sec { padding: 0; }
.se-sec > summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.se-sec > summary::-webkit-details-marker { display: none; }
.se-sec > summary::after { content: '+'; color: var(--cyan); font-size: 20px; line-height: 1; transition: transform .2s; }
.se-sec[open] > summary::after { transform: rotate(45deg); }
.se-sec > :not(summary) { margin-left: 18px; margin-right: 18px; }
.se-sec > :last-child { margin-bottom: 18px; }
.se-sec .field { margin-bottom: 10px; }
.field > span { font-size: 13px; color: var(--text-2); font-weight: 500; display: flex; justify-content: space-between; }
.se-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.se-color { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); min-height: 40px; }
.se-color input { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: none; padding: 2px; cursor: pointer; flex: none; }
.se-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.se-gen { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; color: var(--cyan-soft); }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin-bottom: 4px; }
.preset { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); font-size: 13px; transition: transform .15s, border-color .15s; }
.preset:hover { transform: translateY(-2px); }
.preset.on { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(46, 230, 255, .25); }
.preset .sw { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 10px 22px; gap: 3px; height: 44px; padding: 4px; border-radius: 8px; background: var(--b); }
.preset .sw i:nth-child(1) { grid-column: 1 / -1; background: var(--a); }
.preset .sw i:nth-child(2) { background: var(--d); }
.preset .sw i:nth-child(3) { background: var(--c); }
.preset:focus-visible { outline: 2px solid var(--cyan); }
.se-preview { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 8px; }
.se-preview .space-host { max-height: calc(100dvh - 140px); overflow: auto; border-radius: 14px; margin: 0; border: 1px solid var(--line-2); }
@media (max-width: 960px) { .se-preview { position: static; } .se-preview .space-host { max-height: 75vh; } }
.se-preview-head { display: flex; align-items: center; gap: 8px; }
.se-float { position: fixed; right: 16px; bottom: calc(160px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
@media (min-width: 961px) { .se-float { display: none; } }
.top8-edit { list-style: none; padding: 0; margin: 0 18px 10px; display: flex; flex-direction: column; gap: 6px; counter-reset: t8; }
.top8-edit li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); counter-increment: t8; }
.top8-edit li::before { content: counter(t8); font-family: 'JetBrains Mono', monospace; color: var(--pink-soft); width: 16px; text-align: center; }
.top8-edit li.muted::before { content: none; }
.top8-edit .icon-btn { width: 32px; height: 32px; }
.t8-pick { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; margin-top: 8px; }
.t8-cand { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; }
.t8-cand:hover { background: var(--bg-3); }
.t8-cand span { flex: 1; }
.t8-cand b { color: var(--cyan); font-size: 13px; }
.t8-cand[disabled] { opacity: .4; cursor: default; }

/* ---------- presence: green dot ---------- */
.avatar { position: relative; overflow: visible; }
.avatar > .av { border-radius: 50%; overflow: hidden; }
.avatar.is-online::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 28%; height: 28%; min-width: 10px; min-height: 10px; border-radius: 50%; background: #2BE36B; border: 2px solid var(--bg); box-shadow: 0 0 8px rgba(43, 227, 107, .8); }
.chat-name { cursor: pointer; }
.dock-online { position: absolute; top: -6px; left: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #2BE36B; color: #04210F; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 10px rgba(43, 227, 107, .7); }
.dock-tabs { display: flex; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dock-tabs button { flex: 1; min-height: 34px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; }
.dock-tabs button.on { background: var(--bg-3); color: var(--text); }
.dock-tabs b { color: #2BE36B; margin-left: 4px; }
.dock-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dock-view[hidden] { display: none !important; }
.dock-friends { flex: 1; overflow: auto; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.dock-friend { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: 14px; }
.dock-friend:hover, .dock-friend:focus-visible { background: var(--bg-3); }
.dock-dmhead { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
#dockdmlog { gap: 6px; }
#dockdmlog .dm { font-size: 14px; padding: 8px 12px; max-width: 85%; }

/* privacy choices */
.seg-field { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.seg-field legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.seg-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-3); cursor: pointer; transition: border-color .15s, background .15s; }
.seg-opt:has(input:checked) { border-color: var(--cyan); background: rgba(46, 230, 255, .07); }
.seg-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.seg-opt span { display: flex; flex-direction: column; gap: 2px; }
.seg-opt small { color: var(--muted); font-size: 13px; }

/* safety */
.strike-meter { display: inline-flex; gap: 6px; }
.strike-meter span { width: 26px; height: 8px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); }
.strike-meter span.on { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 10px rgba(255, 61, 154, .6); }
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); }
.strike-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.strike-steps div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 14px; }
.strike-steps b { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--pink-ink); }

/* ---------- DJ show pages + episodes ---------- */
.show-hero { position: relative; overflow: hidden; padding: 0; min-height: 260px; }
.show-hero-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.3); opacity: .35; }
.show-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 11, .92), rgba(7, 6, 11, .55)); }
.show-hero-in { position: relative; z-index: 1; display: flex; gap: 22px; align-items: center; padding: 28px; flex-wrap: wrap; }
.show-cover { width: 180px; height: 180px; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 60px -20px rgba(255, 61, 154, .6); flex: none; }
@media (max-width: 640px) { .show-hero-in { padding: 20px; } .show-cover { width: 120px; height: 120px; } }
.host-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; }
.ep-card { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ep-card.live { border-color: rgba(255, 61, 154, .6); box-shadow: 0 0 30px -10px rgba(255, 61, 154, .6); }
.ep-flyer { flex: 0 0 auto; width: 140px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.ep-flyer img { display: block; width: 100%; height: auto; }
.ep-card.big .ep-flyer { width: min(320px, 100%); }
.ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.guest-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.guest-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(46, 230, 255, .08); border: 1px solid rgba(46, 230, 255, .3); color: var(--text); font-size: 14px; font-weight: 600; }
span.guest-chip { padding: 6px 12px; }
.guest-edit { padding: 8px; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); }
.sep { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.week-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.wk-card { flex: 0 0 168px; display: flex; flex-direction: column; gap: 4px; color: var(--text); scroll-snap-align: start; font-size: 14px; }
.wk-flyer { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(135deg, #1b1530, #2a0d22); transition: transform .2s; }
.wk-card:hover .wk-flyer { transform: translateY(-3px); }
.wk-card.live .wk-flyer { border-color: var(--pink); box-shadow: 0 0 24px -6px rgba(255, 61, 154, .7); }
.wk-flyer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-noflyer { display: grid; place-items: center; height: 100%; padding: 10px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--cyan); }
.sched-flyer { width: 54px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); flex: none; }
.np-episode { display: flex; gap: 12px; align-items: center; text-align: left; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--text); margin-top: 4px; }
.np-episode img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; }

/* ---------- Rave Families ---------- */
.fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.fam-card { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.fam-about { font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fam-av { display: inline-grid; place-items: center; flex: none; border-radius: 22%; overflow: hidden; background: conic-gradient(from 200deg, var(--cyan), var(--violet), var(--pink), var(--cyan)); box-shadow: 0 6px 24px -10px rgba(255, 61, 154, .6); }
.fam-av img { width: 100%; height: 100%; object-fit: cover; }
.fam-av b { font-family: var(--display); color: #fff; font-size: 1.1em; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.fam-hero { padding: 0; overflow: hidden; }
.fam-cover { display: block; width: 100%; height: 180px; object-fit: cover; }
.fam-cover.ph { background: radial-gradient(120% 120% at 0% 0%, rgba(46, 230, 255, .35), transparent 50%), radial-gradient(120% 120% at 100% 100%, rgba(255, 61, 154, .4), transparent 55%), #120f1b; }
.fam-hero-in { display: flex; gap: 16px; align-items: flex-end; padding: 0 20px 20px; margin-top: -40px; flex-wrap: wrap; position: relative; }
.fam-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.fam-member { position: relative; }
.fam-member a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--text); font-size: 13px; overflow-wrap: anywhere; }
.fam-member small { font-size: 11px; font-weight: 700; }
.fam-member small.pink { color: var(--pink-soft); } .fam-member small.cyan { color: var(--cyan); }
.fam-member .act { position: absolute; top: -6px; right: -4px; }

/* ---------- radio extras ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.hype { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 440px; margin: 4px auto 0; }
.hype-meter { position: relative; height: 26px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-2); overflow: hidden; }
.hype-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); box-shadow: 0 0 24px rgba(255, 61, 154, .6); transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.hype-label { position: relative; display: grid; place-items: center; height: 100%; font: 700 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.hype-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hype-btn { min-width: 52px; height: 48px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-3); font-size: 22px; cursor: pointer; transition: transform .12s, border-color .2s; color: var(--text); }
.hype-btn b { font: 800 12px/1 var(--display); letter-spacing: .06em; }
.hype-btn:hover { border-color: var(--pink); }
.hype-btn.pop { animation: hypePop .35s cubic-bezier(.2, 1.6, .3, 1); }
.hype-btn.rewind b { color: var(--pink-soft); }
.hype-btn.idq { border-color: rgba(46, 230, 255, .5); } .hype-btn.idq b { color: var(--cyan); }
@keyframes hypePop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.hype-high .hype-meter { animation: hypeGlow 1s ease-in-out infinite alternate; }
@keyframes hypeGlow { to { box-shadow: 0 0 24px rgba(255, 61, 154, .7); } }
.hype-layer { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 3; }
.hype-fly { position: absolute; bottom: 10%; font-size: 30px; animation: hypeFly 2.6s ease-out forwards; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); white-space: nowrap; }
.hype-fly.rewind { font: 800 16px/1 var(--display); color: var(--pink); text-shadow: 0 0 12px var(--pink); }
@keyframes hypeFly { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translate(0, -20px) scale(1.1); } 100% { transform: translate(var(--drift), -260px) scale(.9); opacity: 0; } }
.id-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(46, 230, 255, .12); color: var(--cyan); font-weight: 800; font-size: 20px; flex: none; }
.id-icon.pending { background: rgba(255, 61, 154, .12); color: var(--pink-soft); }
.remind-btn.on, .remind-bell.on { border-color: var(--cyan); color: var(--cyan); background: rgba(46, 230, 255, .1); }
.remind-bell { color: var(--muted); }

/* the beat: everything breathes at 128 BPM while the radio plays */
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.025); } }
@keyframes beatGlow { 0%, 100% { box-shadow: 0 0 40px -10px rgba(46, 230, 255, .45); } 12% { box-shadow: 0 0 70px -6px rgba(255, 61, 154, .75); } }
body.is-playing .cover[data-live-cover] { animation: beat .46875s ease-out infinite, beatGlow .46875s ease-out infinite; }
body.is-playing.live-mode .cover[data-live-cover] { animation-duration: .4286s; } /* live sets hit at 140 */
@media (prefers-reduced-motion: reduce) { body.is-playing .cover[data-live-cover] { animation: none; } }

/* LIVE takeover */
body.live-mode { --live-tint: rgba(255, 61, 154, .1); }
body.live-mode .grain::after { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 50% -10%, rgba(255, 61, 154, .16), transparent 60%); animation: liveBreath 3s ease-in-out infinite alternate; }
@keyframes liveBreath { from { opacity: .5; } to { opacity: 1; } }
body.live-mode .topbar { box-shadow: 0 1px 0 rgba(255, 61, 154, .5), 0 8px 30px -12px rgba(255, 61, 154, .5); }
#livebar { position: fixed; z-index: 44; left: 12px; right: 12px; margin: 0 auto; max-width: 560px; top: calc(env(safe-area-inset-top) + 74px); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; border-radius: 18px; background: rgba(20, 8, 18, .94); border: 1px solid rgba(255, 61, 154, .6); box-shadow: 0 12px 40px -12px rgba(255, 61, 154, .7); backdrop-filter: blur(14px); animation: popUp .4s cubic-bezier(.2, 1.3, .3, 1) both; }
.livebar-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--text); }
.livebar-in img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
body.has-livebar #view { padding-top: 78px; transition: padding .3s; }

/* ---------- community ---------- */
.btn.going { border-color: var(--cyan); color: var(--cyan); background: rgba(46, 230, 255, .1); }
.going-count { all: unset; cursor: pointer; font-size: 13px; color: var(--muted); }
.going-count:hover { color: var(--text); }
.kandi-preview { display: grid; place-items: center; padding: 18px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, rgba(255, 61, 154, .15), transparent 70%), var(--bg-3); border: 1px dashed var(--line-2); min-height: 70px; }
.bracelet { display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap; justify-content: center; }
.bracelet .kb { display: inline-grid; place-items: center; border-radius: 50%; color: #1a1a1a; font-family: 'JetBrains Mono', monospace; font-weight: 800; }
.bracelet .kb.sp { border-radius: 50%; box-shadow: inset 0 -3px 4px rgba(0, 0, 0, .25), inset 0 3px 3px rgba(255, 255, 255, .5); }
.vote-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vote-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.vote-row.top { border-color: rgba(255, 61, 154, .45); }
.vote-rank { width: 34px; text-align: center; font-family: var(--display); font-weight: 800; color: var(--pink-soft); flex: none; }
.vote-play { width: 44px; height: 44px; flex: none; }
.vote-play svg { width: 18px; height: 18px; }
.vote-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vote-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--muted); cursor: pointer; flex: none; transition: all .15s; }
.vote-btn span { font-size: 14px; line-height: 1; }
.vote-btn b { font-size: 16px; color: var(--text); }
.vote-btn.on { border-color: var(--pink); color: var(--pink); background: rgba(255, 61, 154, .12); box-shadow: 0 0 18px -6px rgba(255, 61, 154, .7); }
.mainnav { flex-wrap: nowrap; white-space: nowrap; }
.mainnav .more { display: none; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 6px 0; }
.mainnav .more:hover { color: var(--text); }
.mainnav a.lo { display: none; } .mainnav .more { display: inline; }
@media (max-width: 1199px) { .mainnav { gap: 4px 16px; font-size: 14px; } }

/* ---------- Space extras ---------- */
.gfx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.gfx { all: unset; cursor: pointer; display: grid; place-items: center; padding: 8px; border-radius: 12px; background: #fff; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.gfx:hover, .gfx:focus-visible { transform: translateY(-2px); border-color: var(--pink); }
.gfx img { max-width: 100%; height: auto; }
.layout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.layout-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.layout-prev { position: relative; height: 230px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); pointer-events: none; }
.layout-prev .space-host { position: absolute; top: 0; left: 0; width: 820px; transform: scale(.4); transform-origin: top left; border: 0; border-radius: 0; margin: 0; min-height: 0; }
@media (max-width: 640px) { .layout-prev .space-host { margin: 0; } }

/* Station time + your time (for people outside Pacific) */
.yourtime { display: block; font-size: 10.5px; line-height: 1.25; color: var(--cyan-soft, #8ef3ff); margin-top: 2px; white-space: normal; }
.yourtime-inline { color: var(--cyan-soft, #8ef3ff); font-size: .9em; }
.sched-row time:has(.yourtime) { width: 92px; }

/* ---------- Rave Aftercare × Saint Laverna ---------- */
:root { --ac-mint: #cdffd8; --ac-sky: #94b9ff; --ac-violet: #8c52ff; --ac-orange: #ff914d; }
.ac-nav { display: inline-flex; align-items: center; text-decoration: none; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(205, 255, 216, .35); background: linear-gradient(90deg, rgba(205,255,216,.10), rgba(148,185,255,.12)); transition: border-color .2s, box-shadow .2s; }
.ac-nav:hover, .ac-nav.on { border-color: var(--ac-mint); box-shadow: 0 0 14px rgba(205, 255, 216, .35); }
.ac-mark { display: inline-flex; flex-direction: column; line-height: 1; }
.ac-mark b { font-size: 11px; letter-spacing: .08em; font-weight: 800; background: linear-gradient(90deg, var(--ac-mint), var(--ac-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-mark i { font-style: normal; font-size: 8.5px; letter-spacing: .14em; margin-top: 3px; background: linear-gradient(90deg, var(--ac-violet), var(--ac-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.ac-logo { height: 26px; width: auto; display: block; }
@media (max-width: 1180px) { .ac-nav { padding: 4px 9px; } .ac-mark b { font-size: 10px; } }

.ac { max-width: 920px; margin: 0 auto; gap: 18px; }
.ac-hero { text-align: center; padding: 56px 20px 46px; border-radius: 28px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 10% 0%, rgba(205,255,216,.22), transparent 55%), radial-gradient(110% 90% at 100% 100%, rgba(148,185,255,.25), transparent 55%), radial-gradient(80% 60% at 50% 120%, rgba(140,82,255,.35), transparent 70%), #0d0f16;
  border: 1px solid rgba(205, 255, 216, .25); }
.ac-hero .kicker { color: var(--ac-mint); }
.ac-title { margin: 6px 0 4px; font-size: clamp(46px, 11vw, 104px); line-height: .9; font-weight: 900; letter-spacing: -.02em; display: flex; flex-direction: column; }
.ac-title span { background: linear-gradient(90deg, var(--ac-mint), var(--ac-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-title span + span { background: linear-gradient(90deg, var(--ac-sky), var(--ac-violet)); -webkit-background-clip: text; background-clip: text; }
.ac-x { margin: 10px 0 16px; letter-spacing: .32em; font-weight: 800; font-size: 14px; background: linear-gradient(90deg, var(--ac-violet), var(--ac-orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-x em { font-style: normal; padding: 0 .3em; }
.ac-lede { max-width: 560px; margin: 0 auto 22px; font-size: 18px; color: var(--text-2, #cfd3e0); }
.ac-btn { background: linear-gradient(90deg, var(--ac-mint), var(--ac-sky)); color: #0b0d14; border: 0; font-weight: 800; }
.ac-btn:hover { filter: brightness(1.06); box-shadow: 0 0 22px rgba(148, 185, 255, .45); }
.ac-card { background: rgba(255,255,255,.035); border: 1px solid rgba(205, 255, 216, .16); border-radius: 22px; padding: 22px; }
.ac-card p { margin: 0 0 10px; line-height: 1.6; }
.ac-card p:last-child { margin-bottom: 0; }
.ac-h { margin: 0 0 10px; font-size: 22px; font-weight: 800; text-transform: lowercase; color: var(--ac-mint); }
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .ac-grid { grid-template-columns: 1fr; } }
.ac-big { font-size: 1.4em; color: var(--ac-orange); }
.ac-why { border-color: rgba(140, 82, 255, .35); background: linear-gradient(135deg, rgba(140,82,255,.12), rgba(255,145,77,.06)); }
.ac-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
@media (max-width: 720px) { .ac-methods { grid-template-columns: 1fr; } }
.ac-method { border-radius: 16px; padding: 16px; background: rgba(0,0,0,.25); border: 1px solid rgba(148,185,255,.22); }
.ac-method h3 { margin: 8px 0 6px; font-size: 18px; }
.ac-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; background: rgba(148,185,255,.18); color: var(--ac-sky); }
.ac-tag.free { background: rgba(205,255,216,.16); color: var(--ac-mint); }
.ac-list { margin: 0; padding-left: 20px; line-height: 1.6; }
.ac-list li + li { margin-top: 6px; }
.ac-contact { text-align: center; }
.ac-pl { display: grid; gap: 8px; }
.ac-pl-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid rgba(205,255,216,.18); color: var(--text); text-decoration: none; }
.ac-pl-item:hover { border-color: var(--ac-mint); }
.ac-pl-item small { display: block; color: var(--muted); font-size: 13px; }
.ac-num { font-family: var(--mono); color: var(--ac-sky); }
.ac-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(90deg, var(--ac-mint), var(--ac-sky)); color: #0b0d14; font-size: 13px; }
.ac-pl-block { display: grid; gap: 8px; }
.ac-open { font-size: 13px; font-weight: 700; color: var(--ac-mint); white-space: nowrap; }
.ac-embed { width: 100%; height: 352px; border: 0; border-radius: 14px; background: rgba(0,0,0,.3); }
.ac-warn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: rgba(255, 145, 77, .1); border: 1px solid rgba(255, 145, 77, .45); font-size: 14px; line-height: 1.45; }
.ac-warn > span:nth-child(2) { flex: 1 1 260px; }
.ac-nav, .ac-mark b, .ac-mark i, .top-actions .btn { white-space: nowrap; }
@media (max-width: 1199px) { .ac-mark i { display: none; } .ac-nav { padding: 6px 9px; } }
@media (max-width: 1359px) { .mainnav a[href="/voices"], .mainnav a[href="/families"] { display: none; } }
@media (max-width: 1099px) { .ac-nav { display: none !important; } }

/* ---------- Beta / Early Bird ---------- */
.brand { position: relative; }
.beta-pill { position: absolute; left: calc(100% - 4px); top: -9px; z-index: 2; font: 800 8px/1 var(--mono, monospace); letter-spacing: .12em; padding: 3px 4px; border-radius: 6px; cursor: pointer; color: #0b0d14; background: linear-gradient(90deg, #ffe066, #ff9d4d); border: 0; box-shadow: 0 0 10px rgba(255, 190, 80, .35); }
.beta-pill:hover { filter: brightness(1.08); }
.beta-pill[hidden] { display: none; }
.early-bird { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,224,102,.12), rgba(255,157,77,.08)); border: 1px solid rgba(255, 200, 90, .45); font-size: 14px; line-height: 1.45; }
.early-bird > span:first-child { font-size: 22px; line-height: 1; }
.bulk-inv summary { cursor: pointer; font-weight: 700; color: var(--cyan-soft, #8ef3ff); }
