:root {
  --surface: rgba(10,10,10,.82);
  --fg: #fff;
  --muted: #8a8a8a;
  --line: #2c2c2c;
  --live: #ff3046;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }

/* smooth fade between pages (Chrome, Edge, Safari 18+; other browsers just switch instantly) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.nav { view-transition-name: site-nav; }

/* ===== BACKGROUND =====
   Put your image next to this file as bg.png.
   Swap the url() for a color/gradient if you ever want to. */
body {
  min-height: 100vh; min-height: 100dvh;
  background: #121212;
  color: var(--fg);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  perspective: 1200px;
}
/* image layer (slow drift) */
body::before {
  content: ""; position: fixed; inset: -4%; z-index: -3;
  background: var(--bg-img, url('/bg.png')) center / cover no-repeat #121212;
  transition: background-image .6s;
  animation: drift 40s ease-in-out infinite alternate;
  will-change: transform;
}
/* vignette + darkening so the card always pops */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%),
    linear-gradient(rgba(0,0,0,var(--bg-dim,.25)), rgba(0,0,0,var(--bg-dim,.25)));
}
/* red glow that only appears while you're live */
.liveglow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease);
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(255,48,70,.24), transparent 70%),
    radial-gradient(55% 40% at 50% 108%, rgba(255,48,70,.12), transparent 70%);
}
body.is-live .liveglow { opacity: 1; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
/* film grain */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain-op,.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='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes drift { from { transform: scale(1.04) translate3d(-1%, -1%, 0); } to { transform: scale(1.1) translate3d(1%, 1%, 0); } }

/* ===== CARD ===== */
.card {
  position: relative; width: 100%; max-width: var(--card-w,380px); padding: 1px; border-radius: var(--card-radius,33px); overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease), box-shadow .5s;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03);
  animation: rise .9s var(--ease) both;
}
.card.tilting { transition: transform .08s linear, box-shadow .5s; }
.card::before {
  content: ""; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 72%, var(--accent, rgba(255,255,255,.9)) 86%, transparent 100%);
  animation: spin var(--spin,7s) linear infinite;
}
body.is-live .card::before { background: conic-gradient(from 0deg, transparent 0 68%, rgba(255,48,70,.95) 86%, transparent 100%); animation-duration: 4s; }
body.is-live .card { box-shadow: 0 30px 90px -20px rgba(255,48,70,.35), 0 0 0 1px rgba(255,255,255,.03); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--line); pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

.inner {
  position: relative; border-radius: calc(var(--card-radius,33px) - 1px); background: var(--surface);
  backdrop-filter: blur(var(--card-blur,22px)) saturate(1.2); -webkit-backdrop-filter: blur(var(--card-blur,22px)) saturate(1.2);
  padding: 34px 18px 18px; overflow: hidden; --mx: 50%; --my: 0%;
}
.inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.09), transparent 70%);
}
.inner:hover::before { opacity: 1; }

/* ===== PROFILE ===== */
header { position: relative; text-align: center; margin-bottom: 22px; }
.pfp { position: relative; width: 100px; height: 100px; margin: 0 auto 16px; border-radius: 50%; }
.pfp .circle { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #111; border: 3px solid var(--accent, #fff); transition: border-color .5s; }
body.is-live .pfp .circle { border-color: var(--live); box-shadow: 0 0 0 4px rgba(255,48,70,.18), 0 0 30px rgba(255,48,70,.45); }
.pfp img { width: 100%; height: 100%; object-fit: cover; display: block; } /* shows pfp.png exactly as it is */
.pfp .fallback { position: absolute; inset: 0; display: none; place-items: center; border-radius: 50%; background: #111; border: 3px solid #fff; font-size: 36px; font-weight: 600; }
.pfp.empty img { display: none; } .pfp.empty .fallback { display: grid; }

h1 { font-size: 32px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.sub-row { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sub { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }

/* ===== LIVE / OFFLINE STATUS PILLS ===== */
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--muted); font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .4s, border-color .4s, color .4s;
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: #555; flex: none; }
body.is-checking .status i { animation: blink 1s steps(2) infinite; }
body.is-live .status { background: var(--live); border-color: var(--live); color: #fff; font-weight: 700; letter-spacing: .06em; animation: livepulse 1.8s ease-in-out infinite; }
body.is-live .status i { background: #fff; animation: blink 1s steps(2) infinite; }
.nav .status { height: 34px; padding: 0 14px; }
@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,48,70,.55), 0 0 14px rgba(255,48,70,.45); }
  50% { box-shadow: 0 0 0 7px rgba(255,48,70,0), 0 0 26px rgba(255,48,70,.75); }
}

/* ===== LIVE CARD (inside the home card, only while live) ===== */
.lcard {
  display: block; margin-bottom: 12px; padding: 8px; border-radius: 22px; background: #000;
  border: 1px solid rgba(255,48,70,.55); color: var(--fg); text-decoration: none; text-align: left;
  box-shadow: 0 14px 40px -18px rgba(255,48,70,.7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.lcard[hidden] { display: none; }
.lcard.pop { animation: lcIn .7s var(--ease) both; }
@keyframes lcIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.lcard:hover, .lcard:focus-visible { transform: scale(1.04); border-color: var(--live); box-shadow: 0 20px 54px -16px rgba(255,48,70,.85); }
.lcard:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.lc-top { display: flex; align-items: center; gap: 12px; }
.lc-th { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #160b0e; transition: width .4s var(--ease); }
.lcard:hover .lc-th { width: 124px; }
.lc-th img, .lc-th .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 90% at 25% 15%, rgba(255,48,70,.45), transparent 60%),
    radial-gradient(70% 80% at 90% 95%, rgba(120,30,60,.5), transparent 65%),
    linear-gradient(160deg, #1d0d12, #0b0709);
}
.eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq b { width: 4px; border-radius: 2px; background: rgba(255,255,255,.9); animation: eq 1.1s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; } .eq b:nth-child(3) { animation-delay: -.6s; } .eq b:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.lc-tag { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 5px; background: var(--live); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.lc-info { flex: 1; min-width: 0; }
.lc-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { margin-top: 4px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; }
.lc-meta svg { width: 13px; height: 13px; fill: currentColor; flex: none; }
.lc-btn { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 999px; background: var(--live); color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.lc-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== SOCIAL LINKS ===== */
.links { position: relative; list-style: none; display: grid; gap: 8px; }
.links li { opacity: 0; animation: rise .6s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .07s); }
.links a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px;
  background: #000; border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  transition: border-color .3s, background .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
  --lx: 50%; --ly: 50%;
}
.links a::before { /* per-button cursor glow */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(120px circle at var(--lx) var(--ly), rgba(255,255,255,.14), transparent 70%);
}
.links .icon {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.links svg { width: 15px; height: 15px; fill: currentColor; }
.links svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.links .name { flex: 1; }
.links .arrow { width: 15px; height: 15px; color: var(--muted); opacity: 0; transform: translate(-6px, 6px); transition: transform .3s var(--ease), opacity .3s, color .3s; }

.links a:focus-visible { background: var(--fg); color: #000; border-color: var(--fg); transform: translateY(-2px) scale(1.01); box-shadow: 0 8px 30px rgba(255,255,255,.14); outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.links a:focus-visible .icon { background: #000; color: var(--fg); border-color: #000; transform: rotate(-8deg) scale(1.05); }
.links a:focus-visible .arrow { opacity: 1; transform: none; color: #444; }
@media (hover: hover) {
  .links a:hover { background: var(--fg); color: #000; border-color: var(--fg); transform: translateY(-2px) scale(1.01); box-shadow: 0 8px 30px rgba(255,255,255,.14); }
  .links a:hover::before { opacity: 0; }
  .links a:not(:hover)::before { opacity: 0; }
  .links a:hover .icon { background: #000; color: var(--fg); border-color: #000; transform: rotate(-8deg) scale(1.05); }
  .links a:hover .arrow { opacity: 1; transform: none; color: #444; }
}
.links a:active { transform: scale(.97); transition-duration: .1s; }

/* ===== 3D LOADING SCREEN ===== */
/* page content waits (invisible) until the loader finishes */
body:not(.ready) .card, body:not(.ready) .links li { animation-play-state: paused; }
body.loading { overflow: hidden; }

.loader {
  position: fixed; inset: 0; z-index: 50; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #121212 0%, #040404 75%);
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.15s cubic-bezier(.76,0,.24,1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.loader.done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* CRT scanlines + soft vignette */
.ld-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.7) 100%);
}

/* HUD corners */
.ld-hud { position: absolute; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #8a8a8a; pointer-events: none; transition: opacity .4s; }
.ld-hud.tl { top: max(22px, env(safe-area-inset-top)); left: 22px; color: #fff; }
.ld-hud.tr { top: max(22px, env(safe-area-inset-top)); right: 22px; display: flex; align-items: center; gap: 8px; }
.ld-hud.tr b { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: blink 1s steps(2) infinite; }
.ld-hud.bl { bottom: 26px; left: 22px; }
@keyframes blink { 50% { opacity: .15; } }

/* center word + percent */
.ld-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; transition: opacity .5s, transform .8s var(--ease), filter .8s; }
.ld-center.out { opacity: 0; transform: scale(1.5); filter: blur(8px); }
.ld-word { font-size: clamp(38px, 10vw, 78px); font-weight: 700; line-height: 1; letter-spacing: .12em; margin-right: -.12em; color: #fff; text-shadow: 0 0 28px rgba(255,255,255,.35), 0 2px 18px #000; }
.ld-word span { display: inline-block; min-width: .62em; transition: color .25s, text-shadow .25s; }
.ld-word span.dim { color: #4a4a4a; text-shadow: none; }
.ld-pct { margin-top: 20px; font-size: 12px; letter-spacing: .4em; color: #9a9a9a; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px #000; }

/* bottom progress line */
.ld-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #151515; }
.ld-line i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: #fff; box-shadow: 0 0 16px 1px rgba(255,255,255,.9); }

/* =====================================================================
   SITE — navbar + pages
   ===================================================================== */
:root { --nav-h: 64px; }

/* ----- navbar ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; margin: 0; text-align: left;
  height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  background: linear-gradient(rgba(8,8,8,.7), rgba(8,8,8,.46));
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s, background .3s;
}
.nav.scrolled { background: rgba(8,8,8,.82); }
body:not(.ready) .nav { opacity: 0; transform: translateY(-16px); }
.nav-in {
  height: var(--nav-h); max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
}
/* three columns: logo left, menu dead-center (lines up with the profile card), status right */
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.brand { justify-self: start; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* ===== creator switcher (navbar) ===== */
.cswitch { position: relative; }
.cswitch[hidden] { display: none; }
.cs-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); color: #fff; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; transition: background .3s, border-color .3s; }
.cs-btn:hover, .cswitch.open .cs-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.cs-btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.cs-av { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #111; border: 1.5px solid #fff; display: grid; place-items: center; }
.cs-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-av b { font-size: 13px; text-transform: lowercase; }
.cs-btn.live .cs-av, .cs-item.live .cs-av { border-color: var(--live); box-shadow: 0 0 0 2px rgba(255,48,70,.25); }
.cs-chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: transform .3s var(--ease); }
.cswitch.open .cs-chev { transform: rotate(180deg); }
.cs-name { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; width: 270px; padding: 6px; border-radius: 22px;
  background: rgba(10,10,10,.95); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .3s var(--ease), visibility .2s;
}
.cswitch.open .cs-menu { opacity: 1; visibility: visible; transform: none; }
.cs-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 0; border-radius: 16px; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.cs-item:hover, .cs-item:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.cs-item.on { background: rgba(255,255,255,.1); }
.cs-item .cs-av { width: 38px; height: 38px; }
.cs-txt { flex: 1; min-width: 0; }
.cs-txt b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-txt small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-live { flex: none; padding: 3px 7px; border-radius: 6px; background: var(--live); font-size: 10px; font-weight: 700; letter-spacing: .08em; animation: livepulse 1.8s ease-in-out infinite; }
.cs-off { flex: none; font-size: 11px; color: #666; }
.cs-star { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 2px; }
.cs-save { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 8px 4px 2px; border-top: 1px solid var(--line); }
.cs-save svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cs-savebtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border: 0; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .2s var(--ease); }
.cs-savebtn:hover { transform: translateY(-1px); }
.cs-saved { display: flex; align-items: center; gap: 7px; padding: 0 6px; color: #cfcfcf; font-size: 12.5px; min-width: 0; }
.cs-saved span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-reset { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #000; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.cs-reset:hover { background: #fff; color: #000; }
@media (max-width: 1100px) { .cs-name, .cs-chev { display: none; } .cs-btn { padding: 0 3px; } }
@media (max-width: 900px) and (min-width: 721px) { .menu a { padding: 8px 11px; } }
@media (max-width: 720px) { .nav-in { grid-template-columns: 1fr auto; } }

.brand { display: flex; align-items: center; gap: 12px; padding: 4px 16px 4px 4px; border-radius: 999px; color: var(--fg); text-decoration: none; transition: background .3s; }
.brand:hover { background: rgba(255,255,255,.06); }
.brand:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.logo { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #111; border: 2px solid #fff; transition: transform .4s var(--ease), border-color .5s; }
body.is-live .logo { border-color: var(--live); }
.brand:hover .logo { transform: scale(1.06); }
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo .fb { position: absolute; inset: 0; display: none; place-items: center; font-weight: 600; font-size: 17px; }
.logo.empty img { display: none; } .logo.empty .fb { display: grid; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -.05em; }

.menu { position: relative; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); }
.menu a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: color .25s; }
.menu a:hover, .menu a.active { color: #fff; }
.menu a:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 20px rgba(255,255,255,.06);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}

.burger { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; transition: background .3s; }
.burger:hover { background: rgba(255,255,255,.1); }
.burger:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.burger i { grid-area: 1 / 1; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.burger i:first-child { transform: translateY(-3px); } .burger i:last-child { transform: translateY(3px); }
.nav.open .burger i:first-child { transform: rotate(45deg); } .nav.open .burger i:last-child { transform: rotate(-45deg); }

@media (max-width: 720px) {
  .burger { display: grid; }
  .pill { display: none; }
  .menu {
    position: absolute; top: 100%; left: 12px; right: 12px; margin-top: 8px; flex-direction: column; gap: 2px; padding: 8px; border-radius: 24px;
    background: rgba(10,10,10,.95); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top;
    transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  }
  .nav.open .menu { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: 14px 16px; font-size: 17px; border-radius: 16px; }
  .menu a.active { background: rgba(255,255,255,.08); }
}
@media (max-width: 400px) { .brand-name { display: none; } }

/* ----- view / pages ----- */
html, body { height: 100%; overflow: hidden; }
.view {
  height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; outline: none;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 20px) max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
/* pages never scroll; a page that is somehow taller than the screen is clipped, not scrolled */
.page { width: 100%; max-width: 980px; margin: 0 auto; flex: 1; min-height: 0; overflow: hidden; }
.page[hidden] { display: none !important; }
.page.enter { animation: pageIn .65s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#page-home { max-width: none; display: grid; place-items: center; padding: 0; overflow: visible; }
#page-home[hidden] { display: none !important; }

.foot { flex: none; width: 100%; max-width: 980px; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted); }
.foot-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.foot-left b { color: #fff; font-weight: 600; letter-spacing: -.03em; }
.foot-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cfcfcf; font-size: 12px; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.foot-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; }
.foot-live:hover { background: #fff; color: #000; border-color: #fff; } .foot-live:hover i { background: #000; box-shadow: none; }
body.is-live .foot-live { background: var(--live); border-color: var(--live); color: #fff; font-weight: 600; }
body.is-live .foot-live i { background: #fff; animation: blink 1s steps(2) infinite; }
.foot-live:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.foot-social { display: flex; gap: 8px; flex: none; }
.foot-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #000; color: #fff; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.foot-social a:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px) rotate(-8deg); }
.foot-social a:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.foot-social .ico { width: 16px; height: 16px; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ----- shared building blocks ----- */
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.h2 { margin-top: 10px; font-size: clamp(34px, 6.2vw, 58px); font-weight: 600; letter-spacing: -.055em; line-height: 1.02; }
.h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.lead { margin-top: 16px; max-width: 58ch; color: #b8b8b8; font-size: 16px; line-height: 1.65; }
.sec { margin: 48px 0 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec .h3 { font-size: 22px; } .sec span { color: var(--muted); font-size: 13px; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.panel, .pcard, .day, .fact {
  position: relative; overflow: hidden; --mx: 50%; --my: 0%;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.panel::before, .pcard::before, .day::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.08), transparent 70%);
}
.panel:hover::before, .pcard:hover::before, .day:hover::before { opacity: 1; }
.panel { border-radius: 28px; padding: 32px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #000; color: var(--fg); font: 500 14px/1 inherit; font-family: inherit; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); box-shadow: 0 8px 30px rgba(255,255,255,.08); }
.btn.primary { background: #fff; color: #000; border-color: #fff; }
.btn.primary:hover { box-shadow: 0 8px 30px rgba(255,255,255,.2); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.pcard {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; color: var(--fg); text-decoration: none;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}
a.pcard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.45); box-shadow: 0 18px 50px -18px rgba(255,255,255,.14); }
a.pcard:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.pcard .badge { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #000; transition: background .3s, color .3s, transform .4s var(--ease); }
.pcard .badge .ico { width: 19px; height: 19px; }
.pcard p { color: #a9a9a9; font-size: 14.5px; line-height: 1.6; }

/* about */
.hero { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.avatar { position: relative; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: #111; border: 3px solid #fff; box-shadow: 0 20px 60px -20px rgba(255,255,255,.2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .fb { position: absolute; inset: 0; display: none; place-items: center; font-size: 52px; font-weight: 600; }
.avatar.empty img { display: none; } .avatar.empty .fb { display: grid; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 14px; }
.fact { padding: 20px 22px; border-radius: 22px; }
.fact b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.045em; }
.fact small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* videos page = live stream */
#lvslot { margin-top: 18px; }
.lv { width: min(100%, calc((100dvh - var(--nav-h) - 330px) * 16 / 9)); min-width: min(100%, 420px); margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,48,70,.55); box-shadow: 0 30px 90px -30px rgba(255,48,70,.55); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); animation: lcIn .6s var(--ease) both; }
.lv-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lv-poster { position: absolute; inset: 0; display: block; }
.lv-poster img, .lv-poster .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: var(--live); color: #fff; display: grid; place-items: center; box-shadow: 0 0 40px rgba(255,48,70,.6); }
.lv-play .ico { width: 24px; height: 24px; margin-left: 3px; }
.lv-bar { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; }
.lv-tag { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 7px; background: var(--live); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; animation: livepulse 1.8s ease-in-out infinite; }
.lv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.lv-txt { flex: 1; min-width: 0; }
.lv-txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-txt small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 13px; }
.lv-txt .ico.s { width: 14px; height: 14px; fill: none; stroke: currentColor; }
.lv-txt .sep { width: 3px; height: 3px; border-radius: 50%; background: #555; margin: 0 4px; }
.lv-btn { flex: none; padding: 11px 16px; }
.lv-off { max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 28px; }
.lv-off .lead { margin-left: auto; margin-right: auto; }
.lv-off .btn-row { justify-content: center; }
.lv-wait { animation: blink 1s steps(2) infinite; }
.lv-offdot { display: block; width: 12px; height: 12px; margin: 0 auto 18px; border-radius: 50%; background: #555; box-shadow: 0 0 0 6px rgba(255,255,255,.05); }
@media (max-width: 620px) { .lv-bar { flex-wrap: wrap; } .lv-btn { width: 100%; justify-content: center; } }

/* schedule */
.days { display: grid; gap: 8px; margin-top: 20px; }
.day { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 16px; padding: 14px 22px; border-radius: 20px; transition: border-color .3s, transform .3s var(--ease); }
.day:hover { transform: translateX(4px); }
.day .d { display: flex; align-items: center; white-space: nowrap; font-weight: 600; letter-spacing: -.03em; font-size: 18px; }
.day .t { color: #a9a9a9; font-size: 14px; }
.day .h { font-variant-numeric: tabular-nums; font-size: 14px; }
.day.today { border-color: #fff; }
.day.off .d, .day.off .t, .day.off .h { opacity: .5; }
.day.today .d::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: #fff; color: #000; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.day.live { border-color: var(--live); box-shadow: 0 0 34px -12px rgba(255,48,70,.7); }
.day.live .d::after { content: "Live now"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--live); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* click a day -> compact box opens below it */
.dwrap { display: grid; }
button.day { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.day:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.day .h { display: flex; align-items: center; gap: 10px; }
.day .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.day:hover .chev { color: #fff; }
.dwrap.open .chev { transform: rotate(180deg); color: #fff; }
.dwrap.open .day:not(.live):not(.today) { border-color: rgba(255,255,255,.4); }
.dpanel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s; }
.dwrap.open .dpanel { grid-template-rows: 1fr; opacity: 1; }
.dpin { min-height: 0; overflow: hidden; }
.dp {
  display: flex; align-items: center; gap: 14px; margin: 6px 0 2px; padding: 10px 10px 10px 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
}
.dp.live { border-color: rgba(255,48,70,.6); box-shadow: 0 0 30px -12px rgba(255,48,70,.7); }
.dp-dot { width: 8px; height: 8px; border-radius: 50%; background: #555; flex: none; }
.dp.live .dp-dot { background: var(--live); box-shadow: 0 0 10px var(--live); animation: blink 1s steps(2) infinite; }
.dp-txt { flex: 1; min-width: 0; }
.dp-txt b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; }
.dp.live .dp-txt b { color: #fff; }
.dp-txt small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.dp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.18); }
.dp-btn.red { background: var(--live); color: #fff; }
.dp-btn.red:hover { box-shadow: 0 8px 24px rgba(255,48,70,.45); }
.dp-btn svg { width: 13px; height: 13px; fill: currentColor; }
.dp-btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.dp.live { padding-left: 10px; }
.dp-th { position: relative; flex: none; display: block; width: 104px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #160b0e; }
.dp-th img, .dp-th .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dp-th:hover img, .dp-th:hover .art { transform: scale(1.08); }
.dp-th .lc-tag { top: 5px; left: 5px; font-size: 8.5px; padding: 2px 5px; }
.dp-th:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
@media (max-width: 520px) { .dp { flex-wrap: wrap; padding: 12px; } .dp.live { padding-left: 12px; } .dp-th { width: 96px; } .dp-btn { width: 100%; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; align-items: start; }
.contact.solo { grid-template-columns: 1fr; }
.stack { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 999px; background: #000; color: var(--fg); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.row .badge { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.row .grow { flex: 1; } .row small { color: var(--muted); font-size: 12.5px; font-weight: 400; transition: color .3s; }
.row:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }
.row:hover .badge { background: #000; color: #fff; border-color: #000; transform: rotate(-8deg); }
.row:hover small { color: #555; }
.row:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
form.form { display: grid; gap: 12px; }
.field { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #000; color: #fff; font: inherit; font-size: 15px; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }

/* 404 */
.nf { text-align: center; padding: 72px 24px; }
.nf .big { font-size: clamp(90px, 22vw, 190px); font-weight: 700; letter-spacing: -.08em; line-height: .9; background: linear-gradient(180deg, #fff, #555); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .lead { margin-left: auto; margin-right: auto; } .nf .btn-row { justify-content: center; }

/* ===== PREVIEW SWITCH (turn off in the config before going live) ===== */
.preview { position: fixed; z-index: 46; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10,10,10,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-size: 12px; transition: opacity .6s; }
body:not(.ready) .preview { opacity: 0; pointer-events: none; }
.preview button { padding: 7px 11px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 500; cursor: pointer; }
.preview button:hover { color: #fff; }
.preview button.on { background: #fff; color: #000; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .avatar { width: 112px; height: 112px; }
  .panel { padding: 24px; border-radius: 24px; }
  .contact { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; } .day .t { grid-column: 1 / -1; grid-row: 2; }
  .foot { margin-top: 40px; }
  .nav .status span { display: none; }
  .nav .status { padding: 0 12px; }
  body.is-live .nav .status span { display: inline; }
}

/* ----- fit-to-screen (no scrolling) ----- */

@media (max-height: 820px) {
  .h2 { font-size: clamp(30px, 5vw, 42px); margin-top: 6px; }
  .lead { margin-top: 8px; font-size: 14px; line-height: 1.5; }
  .sec { margin: 22px 0 10px; }
  .facts { display: none; }
  .panel { padding: 22px; }
  .pcard { padding: 16px 18px; gap: 8px; }
  .pcard p { font-size: 13.5px; line-height: 1.45; }
  .day { padding: 10px 20px; border-radius: 16px; }
  .days { gap: 6px; margin-top: 14px; }
  .btn-row { margin-top: 16px; }
  .row { padding: 8px 16px 8px 8px; }
  .field input { padding: 10px 14px; }
  .card .inner { padding-top: 24px; }
  .pfp { width: 80px; height: 80px; margin-bottom: 12px; }
  .inner header { margin-bottom: 16px; }
  .links { gap: 6px; }
  .links a { padding: 6px 14px 6px 6px; }
  .links .icon { width: 30px; height: 30px; }
}
@media (max-height: 640px) { .page .lead { display: none; } .avatar { width: 96px; height: 96px; } }
@media (max-width: 720px) {
  .foot-live { display: none; }
  .about-more { display: none; }
  #contact-form-slot { display: none; }
  .contact { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .links li { opacity: 1; }
  .card { transform: none !important; }
  .loader { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav { opacity: 1 !important; transform: none !important; }
  .page.enter { animation: none; }
}

.owner-only[hidden], #contact-form-slot[hidden] { display: none !important; }

.menu a[hidden] { display: none !important; }

/* ===== custom pages (made in the admin panel) ===== */
#page-custom .cpage { margin-top: 18px; max-height: calc(100dvh - var(--nav-h) - 300px); overflow-y: auto; overscroll-behavior: contain; }
.cpage p { margin-top: 12px; color: #c9c9c9; font-size: 16px; line-height: 1.7; max-width: 70ch; }
.cpage p:first-child, .cpage h2:first-child, .cpage h3:first-child { margin-top: 0; }
.cpage .cp-h { margin-top: 26px; font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.cpage .h3 { margin-top: 20px; }
.cpage ul { margin: 12px 0 0 20px; color: #c9c9c9; line-height: 1.8; }
.cpage a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cpage .cp-img { display: block; max-width: 100%; max-height: 420px; margin-top: 16px; border-radius: 18px; border: 1px solid var(--line); }
.cpage .btn { margin-top: 4px; }

/* break notice (set in the admin panel) */
.away-note { margin-top: 16px; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--accent, var(--line)); background: var(--surface); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.away-note b { display: block; font-size: 17px; letter-spacing: -.02em; }
.away-note span { display: block; margin-top: 4px; color: #b8b8b8; font-size: 14.5px; }

/* ===== settings from the admin panel ===== */
body.no-drift::before { animation: none; }
body.no-grain .grain { display: none; }
body.no-spin .card::before { display: none; }
body.no-arrows .links .arrow { display: none; }
body.hide-handle .sub-row .sub { display: none; }
body.hide-cardstatus #cardstatus { display: none; }
body.no-glow .liveglow { display: none; }
body.hide-switcher #cswitch { display: none; }
body.hide-navstatus #navstatus { display: none; }
body.hide-footsocial .foot-social { display: none; }
body.hide-footlive .foot-live { display: none !important; }
body.links-rounded .links a { border-radius: 16px; } body.links-rounded .links .icon { border-radius: 10px; }
body.links-square .links a { border-radius: 6px; } body.links-square .links .icon { border-radius: 4px; }
.foot-note { color: var(--muted); font-size: 12.5px; }
/* live page chat */
.lv.with-chat { width: min(100%, 1100px); display: grid; grid-template-columns: 1fr 340px; }
.lv.with-chat .lv-main { min-width: 0; }
.lv-chat { border-left: 1px solid var(--line); background: #0f0f0f; color-scheme: dark; }
.lv-chat iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 900px) { .lv.with-chat { grid-template-columns: 1fr; width: 100%; } .lv-chat { display: none; } }

/* ===== announcements header ===== */
.annbar { position: fixed; z-index: 39; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top)); display: grid; }
.ann-strip { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 6px max(12px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left)); background: rgba(12,12,12,.9); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 13.5px; animation: annIn .5s var(--ease) both; }
@keyframes annIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ann-strip i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
.ann-strip b { flex: none; font-weight: 600; }
.ann-strip span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6e6e6; }
.ann-strip a { flex: none; padding: 4px 12px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 12.5px; text-decoration: none; }
.ann-strip button { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.ann-strip.live { background: linear-gradient(90deg, rgba(120,10,24,.92), rgba(60,6,14,.92)); }
.ann-strip.live i { background: var(--live); box-shadow: 0 0 10px var(--live); animation: blink 1s steps(2) infinite; }
.ann-strip.alert { background: rgba(60,46,8,.94); } .ann-strip.alert i { background: #ffcc33; box-shadow: 0 0 10px #ffcc33; }
.ann-strip.accent { background: rgba(10,10,10,.92); border-bottom-color: var(--accent, #fff); } .ann-strip.accent i { background: var(--accent, #fff); box-shadow: 0 0 10px var(--accent, #fff); }
body.has-ann .view { padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 20px + var(--ann-h, 0px)); }
@media (max-width: 720px) { .ann-strip { justify-content: flex-start; } }

/* ===== maintenance screen ===== */
body.maint > *:not(.maint-screen):not(.liveglow):not(.grain):not(svg) { display: none !important; }
.maint-screen { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; }
.maint-card { position: relative; width: min(460px, 100%); padding: 40px 32px 30px; border-radius: 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(var(--card-blur,22px)) saturate(1.2); -webkit-backdrop-filter: blur(var(--card-blur,22px)) saturate(1.2); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); animation: rise .9s var(--ease) both; overflow: hidden; }
.maint-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--accent, rgba(255,255,255,.8)) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: maintSpin 6s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes maintSpin { to { --a: 360deg; } }
.maint-pfp { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; border: 3px solid var(--accent, #fff); background: #111; display: grid; place-items: center; font-size: 34px; font-weight: 600; }
.maint-pfp img { width: 100%; height: 100%; object-fit: cover; }
.maint-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.maint-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ffcc33; box-shadow: 0 0 10px #ffcc33; animation: blink 1.4s steps(2) infinite; }
.maint-card h1 { margin-top: 16px; font-size: clamp(34px, 7vw, 52px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.maint-text { margin: 12px auto 0; max-width: 36ch; color: #c4c4c4; font-size: 16px; line-height: 1.55; }
.maint-bar { position: relative; height: 4px; margin: 24px auto 0; width: 70%; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.maint-bar i { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--accent, #fff), transparent); animation: maintBar 1.8s ease-in-out infinite; }
@keyframes maintBar { from { left: -35%; } to { left: 100%; } }
.maint-count { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.maint-count span { min-width: 64px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.4); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.maint-count b { display: block; font-size: 24px; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.maint-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 18px; border-radius: 999px; background: var(--live); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-decoration: none; animation: livepulse 1.8s ease-in-out infinite; }
.maint-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.maint-live[hidden] { display: none; }
.maint-soc { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.maint-soc a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #000; color: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.maint-soc a:hover { background: #fff; color: #000; transform: translateY(-3px); }
.maint-soc .ico { width: 16px; height: 16px; }

/* ===== custom creator intros ===== */
.custom-intro { position: fixed; inset: 0; z-index: 80; background: #000; transition: opacity .55s ease, transform .55s ease; }
.custom-intro.out { opacity: 0; transform: scale(1.03); pointer-events: none; }
.custom-intro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ci-skip { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.5); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ci-skip:hover { background: #fff; color: #000; }

/* ===== visitor experience ===== */
.vq-gate { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .4s; }
.vq-gate.out { opacity: 0; }
.vq-gate-card { width: min(440px, 100%); padding: 32px 28px; border-radius: 28px; text-align: center; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); animation: rise .6s var(--ease) both; }
.vq-gate-card h2 { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.vq-gate-card p { margin-top: 10px; color: #c4c4c4; line-height: 1.6; }
.vq-gate-btns { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.vq-welcome { position: fixed; z-index: 45; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(560px, calc(100vw - 24px)); padding: 14px 14px 14px 20px; border-radius: 22px; background: rgba(10,10,10,.94); border: 1px solid var(--accent, var(--line)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 60px -20px rgba(0,0,0,.9); animation: rise .6s var(--ease) both; transition: opacity .4s; }
.vq-welcome.out { opacity: 0; }
.vq-welcome b { flex: none; font-size: 15px; }
.vq-welcome span { flex: 1; color: #c4c4c4; font-size: 13.5px; }
.vq-consent { position: fixed; z-index: 46; left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: min(520px, calc(100vw - 28px)); padding: 12px 12px 12px 16px; border-radius: 18px; background: rgba(10,10,10,.95); border: 1px solid var(--line); font-size: 13px; color: #d0d0d0; box-shadow: 0 16px 40px -16px rgba(0,0,0,.9); }
.vq-consent div { display: flex; gap: 6px; flex: none; }
.lv-consent { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; border: 0; background: #fff; color: #000; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .vq-welcome { flex-wrap: wrap; } .vq-consent { flex-wrap: wrap; } }
