:root {
  --rl-bg: #07070a;
  --rl-panel: rgba(16, 15, 21, 0.96);
  --rl-panel-soft: rgba(23, 21, 29, 0.9);
  --rl-line: rgba(255, 255, 255, 0.09);
  --rl-muted: rgba(244, 239, 248, 0.59);
  --rl-text: #f8f5fb;
  --rl-purple: #a865ff;
  --rl-pink: #ff4fa3;
  --rl-green: #59f5a4;
  --rl-red: #ff3b64;
  --rl-gold: #f3c96b;
}

* { box-sizing: border-box; }

body[data-page="rinalive"] {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--rl-text);
  background:
    radial-gradient(circle at 72% 6%, rgba(105, 44, 172, 0.14), transparent 29rem),
    radial-gradient(circle at 15% 30%, rgba(23, 136, 87, 0.08), transparent 26rem),
    #07070a;
  font-family: var(--font-ui, "Cormorant Garamond", Georgia, serif);
}

body[data-page="rinalive"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

body[data-page="rinalive"] .topbar {
  border-bottom-color: rgba(170, 95, 255, 0.16);
  background: rgba(7, 7, 10, 0.91);
  backdrop-filter: blur(18px) saturate(130%);
}

.rl-shell { min-height: 100vh; }

.rl-main {
  width: min(1760px, calc(100% - clamp(1rem, 3vw, 3.5rem)));
  margin: 0 auto;
  padding: clamp(0.85rem, 2vw, 1.8rem) 0 4rem;
}

.rl-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 1rem;
  align-items: stretch;
}

.rl-stream-column { min-width: 0; }

.rl-player {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(186, 118, 255, 0.2);
  border-radius: 13px;
  background: #08070c;
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 50px rgba(123, 64, 190, .08);
}

.rl-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(0,0,0,.28);
}

.rl-player__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  filter: brightness(.83) saturate(.92);
  transition: filter 700ms ease, transform 7s ease;
}

.rl-player[data-phase="live"] .rl-player__backdrop { transform: scale(1.04); }
.rl-player[data-backdrop="emerald"] .rl-player__backdrop { filter: brightness(.8) saturate(.95) hue-rotate(16deg); }
.rl-player[data-backdrop="violet"] .rl-player__backdrop { filter: brightness(.77) saturate(1.14) hue-rotate(-9deg); }
.rl-player[data-backdrop="cathedral"] .rl-player__backdrop { filter: brightness(.68) saturate(.68) contrast(1.08); }
.rl-player[data-backdrop="crimson"] .rl-player__backdrop { filter: brightness(.73) saturate(1.02) hue-rotate(294deg); }
.rl-player[data-backdrop="gilded"] .rl-player__backdrop { filter: brightness(.79) sepia(.2) saturate(.94) hue-rotate(350deg); }
.rl-player[data-backdrop="neon"] .rl-player__backdrop { filter: brightness(.8) saturate(1.18) hue-rotate(8deg); }

.rl-player__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 76%, rgba(104, 255, 181, .11), transparent 23%),
    linear-gradient(90deg, rgba(4,4,7,.3), transparent 30% 70%, rgba(0,0,0,.15)),
    linear-gradient(180deg, rgba(3,3,6,.06), rgba(4,3,8,.36));
}

.rl-player__scan {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: .13;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.rl-player__topline {
  position: absolute;
  top: clamp(.7rem, 1.6vw, 1.15rem);
  left: clamp(.7rem, 1.6vw, 1.15rem);
  right: clamp(.7rem, 1.6vw, 1.15rem);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.rl-live-pill,
.rl-viewer-count {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 28px;
  padding: 0 .58rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  color: #fff;
  background: rgba(7,7,11,.76);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
  font-family: var(--font-accent, Cinzel, serif);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rl-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.44); }
.rl-player[data-phase="live"] .rl-live-pill { border-color: rgba(255,59,100,.42); background: rgba(224,28,70,.91); }
.rl-player[data-phase="live"] .rl-live-pill i { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); animation: rlLivePulse 1.4s ease-in-out infinite; }
.rl-player[data-phase="starting"] .rl-live-pill { border-color: rgba(168,101,255,.48); background: rgba(88,42,143,.9); }
.rl-player[data-phase="starting"] .rl-live-pill i { background: #e0c4ff; box-shadow: 0 0 12px #b371ff; }
.rl-viewer-count { margin-left: auto; text-transform: none; letter-spacing: 0; }
.rl-viewer-count svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.rl-phase-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 18;
  width: min(440px, calc(100% - 2rem));
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14,12,20,.9), rgba(5,5,8,.78));
  box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(120%);
  text-align: center;
  transform: translate(-50%, -50%);
}

.rl-phase-card--offline { display: block; }
.rl-phase-card--starting { display: none; }
.rl-player[data-phase="starting"] .rl-phase-card--offline { display: none; }
.rl-player[data-phase="starting"] .rl-phase-card--starting { display: block; }
.rl-player[data-phase="live"] .rl-phase-card { display: none; }
.rl-phase-card__eyebrow,
.rl-kicker { display: block; color: #bd8dff; font-family: var(--font-accent, Cinzel, serif); font-size: .66rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.rl-phase-card > strong { display: block; margin: .4rem 0 .55rem; font-family: var(--font-display, "Mountain King", serif); font-size: clamp(2.4rem, 7vw, 5.8rem); font-weight: 400; letter-spacing: .05em; line-height: .9; text-shadow: 0 0 32px rgba(180,119,255,.28); }
.rl-phase-card p { margin: 0; color: var(--rl-muted); font-size: .9rem; }
.rl-next-stream { display: inline-grid; gap: .1rem; margin-top: 1.15rem; padding: .58rem .82rem; border: 1px solid rgba(168,101,255,.24); border-radius: 9px; background: rgba(168,101,255,.07); }
.rl-next-stream span { color: var(--rl-muted); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.rl-next-stream time { color: #f0e5ff; font-size: .84rem; font-weight: 800; }
.rl-start-countdown { margin: .35rem 0 .55rem; color: #fff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(2.4rem, 7vw, 5.2rem); font-weight: 300; letter-spacing: -.06em; line-height: 1; text-shadow: 0 0 34px rgba(173,103,255,.38); }

.rl-phase-card--starting {
  width: min(540px, calc(100% - 2rem));
  overflow: hidden;
  border-color: rgba(187, 122, 255, .31);
  background:
    radial-gradient(circle at 50% 110%, rgba(78, 238, 157, .1), transparent 45%),
    linear-gradient(145deg, rgba(20, 13, 28, .94), rgba(6, 5, 10, .9));
  animation: rlIntroCard 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.rl-phase-card--starting > *:not(.rl-intro-orbit) { position: relative; z-index: 2; }
.rl-phase-card--starting > strong { max-width: 460px; margin-inline: auto; font-size: clamp(2.05rem, 4.8vw, 4.15rem); line-height: .92; }
.rl-intro-line { max-width: 430px; margin: .8rem auto .65rem !important; color: rgba(247, 238, 252, .82) !important; font-family: var(--font-accent, Cinzel, serif); font-size: clamp(.72rem, 1.35vw, .92rem) !important; line-height: 1.5; }
.rl-intro-command { color: #c8a0f2 !important; font-size: .68rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rl-intro-orbit { position: absolute; inset: 50% auto auto 50%; z-index: 0; width: min(390px, 82%); aspect-ratio: 1; opacity: .32; transform: translate(-50%, -50%); pointer-events: none; }
.rl-intro-orbit::before, .rl-intro-orbit::after, .rl-intro-orbit i { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(196, 139, 255, .38); border-radius: 50%; animation: rlIntroOrbit 9s linear infinite; }
.rl-intro-orbit::after { inset: 22%; border-radius: 18%; transform: rotate(45deg); animation-direction: reverse; animation-duration: 7s; }
.rl-intro-orbit i:nth-child(1) { inset: 2% 47%; border-radius: 0; }
.rl-intro-orbit i:nth-child(2) { inset: 47% 2%; border-radius: 0; animation-direction: reverse; }
.rl-intro-orbit i:nth-child(3) { inset: 31%; border-color: rgba(87, 245, 164, .36); animation-duration: 5s; }
.rl-player[data-phase="starting"] { box-shadow: 0 24px 80px rgba(0,0,0,.56), 0 0 70px rgba(132,70,199,.18); }
.rl-player[data-phase="starting"] .rl-player__scan { opacity: .24; animation: rlIntroScan 3.4s linear infinite; }

.rl-rig-scene {
  position: absolute;
  inset: 3% 3.5% 0 auto;
  z-index: 4;
  width: min(43%, 520px);
  transition: inset .55s cubic-bezier(.2,.78,.3,1), width .55s cubic-bezier(.2,.78,.3,1), height .55s cubic-bezier(.2,.78,.3,1), opacity .5s ease, filter .5s ease;
  pointer-events: none;
}

.rl-player[data-phase="offline"] .rl-rig-scene { opacity: .12; filter: grayscale(.7) brightness(.48) blur(1px); }
.rl-player[data-phase="starting"] .rl-rig-scene { opacity: .36; filter: grayscale(.2) brightness(.56) blur(.4px); }
.rl-player[data-phase="live"] .rl-rig-scene { opacity: 1; }
.rl-player.is-gaming .rl-rig-scene {
  inset: 9% 1.6% auto auto;
  z-index: 17;
  width: 31%;
  height: 59%;
  overflow: hidden;
  border: 1px solid rgba(201,147,255,.45);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 20%, rgba(166,94,231,.22), transparent 42%), linear-gradient(150deg, rgba(22,13,31,.96), rgba(4,7,8,.94));
  box-shadow: 0 18px 52px rgba(0,0,0,.58), 0 0 32px rgba(153,82,219,.15), inset 0 0 35px rgba(113,255,186,.04);
}
.rl-player.is-gaming .rl-rig-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 105%, rgba(80,239,159,.11), transparent 48%);
}
.rl-player.is-gaming .rl-rig { inset: 7% -4% -13%; }
.rl-rig { position: absolute; inset: 0; transform-origin: 50% 100%; }
.rl-rig__gesture, .rl-rig__breath, .rl-rig__canvas { position: absolute; inset: 0; transform-origin: 50% 100%; }
.rl-rig__breath { animation: rlRinaBreath 5.2s cubic-bezier(.45,0,.55,1) infinite; }
.rl-rig__sprite, .rl-rig__wearables, .rl-rig__face, .rl-wearable {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  pointer-events: none;
}
.rl-rig__wearables--back { z-index: 10; }
.rl-rig__sprite { z-index: 20; }
.rl-rig__wearables--body { z-index: 30; }
.rl-rig__face { z-index: 40; opacity: 0; }
.rl-rig__face[hidden] { display: none; }
.rl-rig__face--expression { opacity: 1; }
.rl-rig__face--gaze.is-active, .rl-rig__face--blink.is-active { opacity: 1; }
.rl-rig__face--talk { opacity: var(--rl-mouth-open, 0); transition: opacity 38ms linear; }
.rl-rig__wearables--top { z-index: 50; }
.rl-wearable { z-index: var(--rig-layer, 1); }
.rl-rig-scene[data-motion="thinking"] .rl-rig__gesture { animation: rlRinaThinking 2s ease-in-out infinite; }
.rl-rig-scene[data-motion="speaking"] .rl-rig__gesture { animation: rlRinaSpeaking 1.2s ease-in-out infinite; }
.rl-rig-scene[data-motion="gaming"] .rl-rig__gesture { animation: rlRinaGaming 2.8s cubic-bezier(.45,0,.55,1) infinite; }
.rl-rig-scene[data-motion="speaking"].is-speech-fallback .rl-rig__face--talk { animation: rlRinaTalk .28s step-end infinite; }
.rl-rig-scene[data-motion="reacting"][data-mood="happy"] .rl-rig__gesture { animation: rlRinaHappy 1.05s ease both; }
.rl-rig-scene[data-motion="reacting"][data-mood="teasing"] .rl-rig__gesture { animation: rlRinaTease 1.1s ease both; }
.rl-rig-scene[data-motion="reacting"][data-mood="angry"] .rl-rig__gesture { animation: rlRinaIrritated .62s ease both; }
.rl-rig-scene[data-motion="reacting"][data-mood="sad"] .rl-rig__gesture { animation: rlRinaSoft 1.2s ease both; }
.rl-rig[data-clip="weight-shift"] .rl-rig__gesture { animation: rlRinaWeightShift 1.8s ease-in-out both; }
.rl-rig[data-clip="settle"] .rl-rig__gesture { animation: rlRinaSettle 1.5s ease-in-out both; }
.rl-rig[data-clip="notice"] .rl-rig__gesture { animation: rlRinaNotice .85s ease-out both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="lean-in"] .rl-rig__gesture { animation: rlRinaLeanIn 1.35s cubic-bezier(.2,.74,.26,1) both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="command"] .rl-rig__gesture { animation: rlRinaCommand 1.35s cubic-bezier(.2,.72,.3,1) both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="chin-tilt"] .rl-rig__gesture { animation: rlRinaChinTilt 1.25s ease-in-out both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="dismissive"] .rl-rig__gesture { animation: rlRinaDismissive 1.3s ease-in-out both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="gift-accept"] .rl-rig__gesture { animation: rlRinaGiftAccept 1.35s cubic-bezier(.2,.78,.3,1) both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="weight-shift"] .rl-rig__gesture { animation: rlRinaWeightShift 1.45s ease-in-out both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="settle"] .rl-rig__gesture { animation: rlRinaSettle 1.35s ease-in-out both; }
.rl-rig-scene.is-performing .rl-rig[data-clip="notice"] .rl-rig__gesture { animation: rlRinaNotice 1.05s ease-out both; }
.rl-player.is-gaming .rl-rig[data-clip="controller-tap"] .rl-rig__gesture { animation: rlRinaControllerTap 1.05s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="controller-swap"] .rl-rig__gesture { animation: rlRinaControllerSwap 1.5s cubic-bezier(.2,.76,.3,1) both; }
.rl-player.is-gaming .rl-rig[data-clip="game-focus"] .rl-rig__gesture { animation: rlRinaGameFocus 1.35s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="screen-lean"] .rl-rig__gesture { animation: rlRinaScreenLean 1.45s cubic-bezier(.2,.74,.3,1) both; }
.rl-player.is-gaming .rl-rig[data-clip="game-dodge"] .rl-rig__gesture { animation: rlRinaGameDodge 1.05s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="game-victory"] .rl-rig__gesture { animation: rlRinaGameVictory 1.5s cubic-bezier(.18,.8,.3,1) both; }
.rl-player.is-gaming .rl-rig[data-clip="game-frustrated"] .rl-rig__gesture { animation: rlRinaGameFrustrated 1.1s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="hair-flick"] .rl-rig__gesture { animation: rlRinaHairFlick 1.25s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="shoulder-roll"] .rl-rig__gesture { animation: rlRinaShoulderRoll 1.35s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="desk-tap"] .rl-rig__gesture { animation: rlRinaDeskTap .95s ease-in-out both; }
.rl-player.is-gaming .rl-rig[data-clip="point-screen"] .rl-rig__gesture { animation: rlRinaPointScreen 1.25s cubic-bezier(.2,.75,.28,1) both; }
.rl-player.is-gaming .rl-rig[data-clip="smug-laugh"] .rl-rig__gesture { animation: rlRinaSmugLaugh 1.4s ease-in-out both; }

.rl-player__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: end;
  gap: 1rem;
  padding: 3.2rem 1rem .9rem;
  opacity: .72;
  background: linear-gradient(transparent, rgba(4,3,7,.88));
  transition: opacity .18s ease;
}
.rl-player:hover .rl-player__controls, .rl-player:focus-within .rl-player__controls { opacity: 1; }
.rl-player__now { display: grid; gap: .1rem; min-width: 0; }
.rl-player__now span { color: rgba(255,255,255,.63); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.rl-player__now strong { overflow: hidden; font-size: .93rem; text-overflow: ellipsis; white-space: nowrap; }
.rl-player__buttons { display: flex; gap: .35rem; margin-left: auto; }
.rl-player__buttons button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; color: #fff; background: rgba(0,0,0,.34); cursor: pointer; }
.rl-player__buttons button:hover, .rl-player__buttons button:focus-visible { color: #d5afff; background: rgba(122,72,180,.4); }
.rl-player__buttons svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.rl-channel-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding: .85rem .2rem .2rem;
}
.rl-channel-identity { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.rl-channel-avatar { position: relative; width: 58px; height: 58px; flex: 0 0 auto; padding: 2px; border-radius: 50%; background: linear-gradient(135deg, var(--rl-purple), var(--rl-pink), var(--rl-green)); box-shadow: 0 0 24px rgba(168,101,255,.17); }
.rl-channel-avatar::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(180,111,255,.18); border-radius: inherit; }
.rl-channel-avatar img { width: 100%; height: 100%; border: 3px solid #09090d; border-radius: inherit; object-fit: cover; }
.rl-channel-name { display: flex; align-items: center; gap: .36rem; }
.rl-channel-name h1 { margin: 0; font-family: var(--font-display, Georgia, serif); font-size: 1.22rem; line-height: 1; }
.rl-verified { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #0a0610; background: #b16dff; font-size: .7rem; font-weight: 1000; }
.rl-channel-identity p { margin: .25rem 0 0; color: var(--rl-muted); font-size: .78rem; }
.rl-channel-actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.rl-follow-button, .rl-balance-button { min-height: 40px; border: 1px solid var(--rl-line); border-radius: 8px; color: var(--rl-text); background: rgba(255,255,255,.04); cursor: pointer; }
.rl-follow-button { padding: 0 .9rem; font-family: inherit; font-weight: 800; }
.rl-follow-button span { margin-right: .25rem; color: #ff6bb4; }
.rl-follow-button.is-following { color: #0a0a0d; border-color: #fff; background: #fff; }
.rl-balance-button { display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr 1fr; align-items: center; column-gap: .36rem; min-width: 104px; padding: .3rem .7rem; text-align: left; }
.rl-dollar-mark { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #09070d; background: linear-gradient(145deg, #e7c6ff, #9852ef); box-shadow: 0 0 14px rgba(176,100,255,.26); font-family: ui-monospace, monospace; font-weight: 1000; }
.rl-balance-button strong { align-self: end; line-height: 1; }
.rl-balance-button small { align-self: start; color: var(--rl-muted); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; }

.rl-chat {
  position: relative;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  min-width: 0;
  max-height: calc((100vw - clamp(1rem, 3vw, 3.5rem) - 1rem - 320px) * .5625 + 82px);
  min-height: 502px;
  overflow: hidden;
  border: 1px solid var(--rl-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18,17,23,.96), rgba(10,10,14,.98));
  box-shadow: 0 20px 60px rgba(0,0,0,.33);
}
.rl-chat__head { display: flex; align-items: center; justify-content: space-between; padding: 0 .85rem; border-bottom: 1px solid var(--rl-line); background: rgba(255,255,255,.018); }
.rl-chat__head > div { display: flex; align-items: center; gap: .5rem; }
.rl-chat__head h2 { margin: 0; font-size: .86rem; letter-spacing: .04em; }
.rl-chat__pulse { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.rl-chat.is-live .rl-chat__pulse { background: var(--rl-red); box-shadow: 0 0 10px var(--rl-red); animation: rlLivePulse 1.4s infinite; }
.rl-chat__rules { padding: .3rem .45rem; border: 0; color: var(--rl-muted); background: transparent; font: inherit; font-size: .67rem; cursor: pointer; }
.rl-chat__messages { display: flex; flex-direction: column; gap: .7rem; min-height: 0; overflow: auto; padding: .9rem .8rem; scrollbar-width: thin; scrollbar-color: rgba(169,101,255,.38) transparent; }
.rl-chat-message { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: .55rem; align-items: start; animation: rlMessageIn .24s ease both; }
.rl-chat-message__avatar { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; color: #ddd0ea; background: linear-gradient(145deg, rgba(158,91,225,.24), rgba(255,255,255,.04)); font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.rl-chat-message__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rl-chat-message__body { min-width: 0; font-size: .78rem; line-height: 1.38; }
.rl-chat-message__body strong { margin-right: .3rem; color: #b87aff; font-size: .72rem; }
.rl-chat-message__body p { display: inline; margin: 0; color: rgba(250,247,252,.78); overflow-wrap: anywhere; }
.rl-chat-message.is-rina { padding: .65rem; border: 1px solid rgba(169,101,255,.16); border-radius: 10px; background: linear-gradient(135deg, rgba(139,76,204,.1), rgba(61,234,151,.04)); }
.rl-chat-message.is-rina .rl-chat-message__avatar { border: 1px solid rgba(183,112,255,.42); }
.rl-chat-message.is-rina .rl-chat-message__body strong { color: #d6a8ff; }
.rl-chat-message.is-system { display: block; padding: .5rem .6rem; border-left: 2px solid rgba(170,100,255,.5); color: var(--rl-muted); background: rgba(169,101,255,.05); font-size: .68rem; }
.rl-chat-message.is-gift .rl-chat-message__body { padding: .48rem .58rem; border: 1px solid rgba(244,201,107,.2); border-radius: 8px; background: rgba(244,201,107,.05); }
.rl-chat-message__gift { display: block; margin-top: .16rem; color: var(--rl-gold); font-size: .63rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.rl-chat__locked { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; gap: .2rem; width: calc(100% - 2rem); padding: 1.2rem; border: 1px solid var(--rl-line); border-radius: 11px; background: rgba(12,11,16,.92); text-align: center; transform: translate(-50%, -50%); backdrop-filter: blur(12px); }
.rl-chat__locked strong { font-size: .9rem; }
.rl-chat__locked span { color: var(--rl-muted); font-size: .7rem; }
.rl-chat.is-live .rl-chat__locked { display: none; }
.rl-chat__composer { padding: .72rem; border-top: 1px solid var(--rl-line); background: rgba(6,6,9,.78); }
.rl-chat__input-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: .42rem; }
.rl-chat__input-row label { min-width: 0; }
.rl-chat__input-row input { width: 100%; height: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; padding: 0 .7rem; color: var(--rl-text); background: rgba(255,255,255,.035); outline: none; font: inherit; font-size: .75rem; }
.rl-chat__input-row input:focus { border-color: rgba(178,110,255,.62); box-shadow: 0 0 0 3px rgba(163,91,234,.09); }
.rl-gift-button, .rl-send-button { height: 38px; border: 0; border-radius: 7px; font: inherit; font-weight: 900; cursor: pointer; }
.rl-gift-button { color: #f4d18a; border: 1px solid rgba(244,201,107,.2); background: rgba(244,201,107,.07); font-size: 1.1rem; }
.rl-send-button { padding: 0 .68rem; color: #0d0712; background: linear-gradient(135deg, #cc98ff, #9860e7); font-size: .7rem; }
.rl-chat__composer :disabled { opacity: .38; cursor: not-allowed; }
.rl-chat__composer-meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .44rem; color: rgba(255,255,255,.38); font-size: .58rem; }
.rl-chat__composer-meta b { color: #c58fff; }

.rl-details-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(320px,.75fr); gap: 1rem; margin-top: 1.35rem; }
.rl-panel { min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--rl-line); border-radius: 13px; background: linear-gradient(145deg, rgba(18,17,23,.9), rgba(10,10,14,.92)); box-shadow: 0 18px 48px rgba(0,0,0,.24); }
.rl-panel__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.rl-panel h2 { margin: .28rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(1.2rem, 2vw, 1.7rem); }
.rl-timezone { color: var(--rl-muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.rl-schedule { display: grid; grid-template-columns: repeat(7, minmax(112px, 1fr)); gap: .55rem; margin-top: 1rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.rl-schedule-card { min-width: 112px; padding: .72rem; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.025); }
.rl-schedule-card.is-today { border-color: rgba(173,105,255,.4); background: rgba(164,91,234,.08); box-shadow: inset 0 0 24px rgba(158,91,225,.06); }
.rl-schedule-card span, .rl-schedule-card small { display: block; color: var(--rl-muted); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.rl-schedule-card strong { display: block; margin: .3rem 0; font-size: .78rem; }
.rl-schedule-card time { color: #d6b1ff; font-size: .74rem; font-weight: 800; }
.rl-schedule-look { display: flex; gap: .4rem; align-items: center; margin-top: .7rem; padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.06); }
.rl-schedule-look i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #a765ff, #52e99b); box-shadow: 0 0 10px rgba(165,101,255,.28); }
.rl-schedule-look small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.rl-about-panel > p { color: var(--rl-muted); font-size: .82rem; line-height: 1.55; }
.rl-about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: 1rem; }
.rl-about-stats div { padding: .65rem; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.025); }
.rl-about-stats strong, .rl-about-stats span { display: block; }
.rl-about-stats strong { color: #d2a6ff; font-size: 1rem; }
.rl-about-stats span { margin-top: .12rem; color: var(--rl-muted); font-size: .57rem; text-transform: uppercase; }

.rl-activity-stage[hidden], .rl-webcam-overlay[hidden] { display: none; }
.rl-activity-stage { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; background: #040607; animation: rlGameStageIn .55s ease both; }
.rl-activity-stage__game { position: absolute; inset: 0; overflow: hidden; }
.rl-activity-stage canvas { display: block; width: 100%; height: 100%; background: #050708; image-rendering: auto; }
.rl-activity-stage__head { position: absolute; top: 3.6%; left: 2.2%; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: 60%; min-height: 43px; padding: .45rem .7rem; border: 1px solid rgba(109,255,183,.2); border-radius: 8px; background: linear-gradient(90deg, rgba(4,11,10,.9), rgba(7,7,13,.72)); box-shadow: 0 10px 30px rgba(0,0,0,.28); backdrop-filter: blur(10px); }
.rl-activity-stage__head > div:first-child { display: grid; gap: .06rem; }
.rl-activity-stage__head span { color: rgba(255,255,255,.45); font-size: .51rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.rl-activity-stage__head strong { color: #e5fff0; font-size: .78rem; letter-spacing: .035em; }
.rl-activity-stage__status { display: inline-flex !important; align-items: center; gap: .35rem; }
.rl-activity-stage__status i { width: 6px; height: 6px; border-radius: 50%; background: #62ffaf; box-shadow: 0 0 12px rgba(98,255,175,.8); animation: rlArcadePulse 1.2s ease infinite; }
.rl-activity-stage__status span { color: #75ffb8; letter-spacing: .08em; }
.rl-activity-stage__vignette { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0,0,0,.02) 48%, rgba(1,2,3,.43) 73%, rgba(0,0,0,.72)), linear-gradient(180deg, rgba(0,0,0,.1), transparent 18% 72%, rgba(0,0,0,.72)); box-shadow: inset 0 0 90px rgba(0,0,0,.35); }
.rl-activity-stage__hud { position: absolute; left: 2.2%; bottom: 14.5%; z-index: 6; display: grid; grid-template-columns: repeat(4,minmax(70px,1fr)); gap: .34rem; width: 60%; }
.rl-activity-stage__hud div { padding: .43rem .55rem; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: rgba(5,7,10,.78); box-shadow: 0 8px 24px rgba(0,0,0,.25); backdrop-filter: blur(9px); }
.rl-activity-stage__hud span, .rl-activity-stage__ticker > span { display: block; color: rgba(255,255,255,.4); font-size: .47rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rl-activity-stage__hud strong { display: block; margin-top: .08rem; color: #f6efff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; }
.rl-activity-stage__progress { position: absolute; left: 2.2%; bottom: 12.3%; z-index: 6; width: 60%; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.rl-activity-stage__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#61f7a8,#b26cff,#ff6fb4); box-shadow: 0 0 12px rgba(111,255,183,.5); transition: width .25s linear; }
.rl-activity-stage__ticker { position: absolute; left: 2.2%; right: 35%; bottom: 5.5%; z-index: 6; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .7rem; min-height: 32px; padding: .38rem .65rem; border-left: 2px solid #b06bff; background: linear-gradient(90deg, rgba(22,9,32,.86), rgba(5,7,9,.68)); backdrop-filter: blur(9px); }
.rl-activity-stage__ticker > span { color: #c992ff; white-space: nowrap; }
.rl-activity-stage__ticker p { margin: 0; overflow: hidden; color: rgba(255,255,255,.78); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.rl-activity-stage__event { position: absolute; left: 30%; top: 34%; z-index: 8; display: grid; gap: .08rem; min-width: 170px; padding: .65rem 1rem; border: 1px solid rgba(198,142,255,.42); border-radius: 9px; background: linear-gradient(145deg, rgba(41,19,61,.92), rgba(4,12,10,.9)); box-shadow: 0 18px 48px rgba(0,0,0,.46), 0 0 30px rgba(181,101,255,.18); text-align: center; animation: rlArcadeEvent 2.2s ease both; }
.rl-activity-stage__event[hidden] { display: none; }
.rl-activity-stage__event span { color: #6effb5; font-size: .5rem; letter-spacing: .16em; }
.rl-activity-stage__event strong { font-family: var(--font-display,Georgia,serif); font-size: 1rem; font-weight: 500; }
.rl-activity-stage.is-impact canvas { animation: rlArcadeImpact .38s ease; }
.rl-activity-stage.is-victory::after { content: ""; position: absolute; inset: -30%; z-index: 7; pointer-events: none; background: conic-gradient(from 90deg, transparent, rgba(103,255,181,.13), transparent, rgba(185,107,255,.16), transparent); animation: rlArcadeVictory 1.4s ease both; }

.rl-webcam-overlay { position: absolute; inset: 9% 1.6% auto auto; z-index: 18; width: 31%; height: 59%; pointer-events: none; border: 1px solid rgba(211,164,255,.38); border-radius: 12px; box-shadow: inset 0 0 0 3px rgba(6,6,10,.5), 0 0 0 1px rgba(75,255,165,.06); }
.rl-webcam-overlay__head, .rl-webcam-overlay__footer { position: absolute; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .34rem .5rem; background: rgba(5,5,9,.78); backdrop-filter: blur(8px); font-size: .47rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.rl-webcam-overlay__head { top: 0; border-radius: 11px 11px 0 0; }
.rl-webcam-overlay__head span { color: #eee4f7; }
.rl-webcam-overlay__head span i { display: inline-block; width: 5px; height: 5px; margin-right: .2rem; border-radius: 50%; background: #ff3f6e; box-shadow: 0 0 8px #ff3f6e; animation: rlArcadePulse 1.2s infinite; }
.rl-webcam-overlay__head b { color: #6fffb5; }
.rl-webcam-overlay__footer { bottom: 0; border-radius: 0 0 11px 11px; color: rgba(255,255,255,.64); }
.rl-webcam-overlay__footer b { color: #c98fff; }
.rl-webcam-overlay__corners i { position: absolute; width: 12px; height: 12px; border-color: #78ffba; opacity: .75; }
.rl-webcam-overlay__corners i:nth-child(1) { top: 29px; left: 5px; border-top: 1px solid; border-left: 1px solid; }
.rl-webcam-overlay__corners i:nth-child(2) { top: 29px; right: 5px; border-top: 1px solid; border-right: 1px solid; }
.rl-webcam-overlay__corners i:nth-child(3) { bottom: 27px; left: 5px; border-bottom: 1px solid; border-left: 1px solid; }
.rl-webcam-overlay__corners i:nth-child(4) { right: 5px; bottom: 27px; border-right: 1px solid; border-bottom: 1px solid; }
.rl-gift-burst { position: absolute; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.rl-gift-burst.is-active { animation: rlGiftSceneLife 6s ease both; }
.rl-gift-scene { position: absolute; inset: 0; isolation: isolate; overflow: hidden; }
.rl-gift-scene__wash { position: absolute; inset: -10%; z-index: -1; opacity: 0; background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--gift-accent) 24%, transparent), transparent 33%), radial-gradient(circle at 50% 50%, rgba(2,3,8,.18), rgba(2,2,5,.7) 72%); animation: rlGiftWash 4.2s ease both; }
.rl-gift-scene__hero { position: absolute; left: 50%; top: 47%; z-index: 3; width: clamp(150px, 26%, 310px); aspect-ratio: 1; filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)) drop-shadow(0 0 26px color-mix(in srgb, var(--gift-accent) 45%, transparent)); transform: translate(-50%,-50%); animation: rlGiftHero 4.15s cubic-bezier(.18,.76,.26,1) both; }
.rl-gift-art { display: block; width: 100%; height: 100%; overflow: visible; }
.rl-gift-scene__rings { position: absolute; left: 50%; top: 47%; z-index: 1; width: min(54vw, 570px); aspect-ratio: 1; transform: translate(-50%,-50%); }
.rl-gift-scene__rings i { position: absolute; inset: 18%; border: 1px solid color-mix(in srgb, var(--gift-accent) 58%, transparent); border-radius: 50%; opacity: 0; box-shadow: 0 0 30px color-mix(in srgb, var(--gift-accent) 16%, transparent); animation: rlGiftRing 3.2s .2s ease-out both; }
.rl-gift-scene__rings i:nth-child(2) { inset: 9%; animation-delay: .42s; }
.rl-gift-scene__rings i:nth-child(3) { inset: 0; animation-delay: .64s; }
.rl-gift-scene__particles { position: absolute; inset: 0; z-index: 2; }
.rl-gift-particle { position: absolute; left: var(--sx); top: var(--sy); width: 8px; height: 8px; opacity: 0; background: var(--gift-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--gift-accent) 80%, transparent); transform: translate(-50%,-50%) rotate(var(--particle-rotate)) scale(var(--particle-scale)); animation: rlGiftParticle var(--particle-duration) var(--delay) cubic-bezier(.16,.72,.28,1) both; }
.rl-gift-particle[data-particle="petal"] { width: 10px; height: 16px; border-radius: 90% 10% 70% 30%; background: linear-gradient(145deg,#ff91b9,#8d1748); }
.rl-gift-particle[data-particle="bubble"] { border: 1px solid #ffd5df; border-radius: 50%; background: rgba(255,81,121,.38); }
.rl-gift-particle[data-particle="heart"] { width: 10px; height: 10px; border-radius: 2px; transform: translate(-50%,-50%) rotate(45deg) scale(var(--particle-scale)); background: #ff5c95; }
.rl-gift-particle[data-particle="heart"]::before, .rl-gift-particle[data-particle="heart"]::after { content:""; position:absolute; width:10px; height:10px; border-radius:50%; background:inherit; }
.rl-gift-particle[data-particle="heart"]::before { left:-5px; }.rl-gift-particle[data-particle="heart"]::after { top:-5px; }
.rl-gift-particle[data-particle="wing"] { width: 12px; height: 8px; border-radius: 80% 15% 80% 20%; background: linear-gradient(90deg,#e7aeff,#72ddff); transform-origin: 100% 50%; animation-name: rlGiftParticle,rlGiftWing; animation-duration: var(--particle-duration),.22s; animation-delay:var(--delay),var(--delay); animation-timing-function:cubic-bezier(.16,.72,.28,1),ease-in-out; animation-fill-mode:both; animation-iteration-count:1,8; }
.rl-gift-particle[data-particle="spark"], .rl-gift-particle[data-particle="glint"] { width: 2px; height: 17px; border-radius: 50%; background: #f4e9ff; box-shadow: 0 0 12px var(--gift-accent); }
.rl-gift-particle[data-particle="shard"] { width: 8px; height: 14px; clip-path: polygon(50% 0,100% 65%,50% 100%,0 65%); background: linear-gradient(145deg,#fff,#72dfff 48%,#7f69ff); }
.rl-gift-particle[data-particle="dust"] { width: 4px; height: 4px; border-radius:50%; background:#e6ebff; }
.rl-gift-particle[data-particle="star"] { width: 11px; height: 11px; clip-path: polygon(50% 0,61% 37%,100% 50%,61% 63%,50% 100%,39% 63%,0 50%,39% 37%); background:#fff3bf; }
.rl-gift-particle[data-particle="ember"] { width: 6px; height: 14px; border-radius: 80% 20% 70% 30%; background:linear-gradient(#fff39a,#ff5e25 60%,transparent); }
.rl-gift-particle[data-particle="card"] { width: 15px; height: 9px; border:1px solid #7dffbd; border-radius:2px; background:#11151a; }
.rl-gift-particle[data-particle="streak"] { width: 30px; height: 2px; border-radius:50%; background:linear-gradient(90deg,transparent,#dff7ff); box-shadow:0 0 10px #6bdcff; }
.rl-gift-scene__caption { position: absolute; left: 50%; bottom: 10%; z-index: 5; display: grid; gap: .25rem; min-width: min(330px,82%); padding: .62rem 1.2rem .7rem; border: 1px solid color-mix(in srgb, var(--gift-accent) 40%, transparent); border-radius: 999px; color: #fff; background: linear-gradient(90deg,transparent,rgba(8,7,13,.82) 20%,rgba(8,7,13,.82) 80%,transparent); backdrop-filter: blur(10px); text-align: center; opacity: 0; transform: translate(-50%,14px); animation: rlGiftCaption 4.2s .45s ease both; }
.rl-gift-scene__caption strong { color: #fff; font-family: var(--font-display,Georgia,serif); font-size: clamp(1rem,2.3vw,1.65rem); font-weight: 650; letter-spacing: .02em; text-shadow:0 0 20px color-mix(in srgb,var(--gift-accent) 75%,transparent); }
.rl-gift-scene__caption span { color: rgba(255,255,255,.72); font-family: var(--font-ui,Arial,sans-serif); font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.rl-gift-scene__caption b { color:var(--gift-accent); }
.rl-gift-scene[data-gift-fx="rose"] .rl-gift-scene__hero { animation-name:rlGiftHeroRose; }
.rl-gift-scene[data-gift-fx="heart"] .rl-gift-scene__hero { animation-name:rlGiftHeroHeart; }
.rl-gift-scene[data-gift-fx="butterfly"] .rl-gift-scene__hero { animation-name:rlGiftHeroButterfly; }
.rl-gift-scene[data-gift-fx="collar"] .rl-gift-scene__hero, .rl-gift-scene[data-gift-fx="blackcard"] .rl-gift-scene__hero { animation-name:rlGiftHeroFlip; }
.rl-gift-scene[data-gift-fx="phoenix"] .rl-gift-scene__hero, .rl-gift-scene[data-gift-fx="dragon"] .rl-gift-scene__hero { animation-name:rlGiftHeroRise; }
.rl-gift-scene[data-gift-fx="meteor"] .rl-gift-scene__hero { animation-name:rlGiftHeroMeteor; }
.rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__hero { animation-name:rlGiftHeroUniverse; }
.rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__hero, .rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__wash, .rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__caption { animation-duration:5.8s; }
.rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__rings { animation:rlGiftUniverseDrift 5.4s linear both; }
.rl-gift-scene[data-gift-fx="universe"] .rl-gift-scene__rings i { border-style:dashed; animation-duration:4.7s; }
.rl-gift-scene[data-gift-fx="crown"] .rl-gift-scene__wash, .rl-gift-scene[data-gift-fx="throne"] .rl-gift-scene__wash { background:radial-gradient(ellipse at 50% 42%,rgba(255,208,105,.23),transparent 34%),linear-gradient(90deg,transparent 36%,rgba(255,222,145,.06) 50%,transparent 64%); }

.rl-modal[hidden] { display: none; }
.rl-modal { position: fixed; inset: 0; z-index: 11000; display: grid; place-items: center; padding: 1rem; }
.rl-modal__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,3,5,.78); backdrop-filter: blur(12px); cursor: pointer; }
.rl-modal__dialog { position: relative; z-index: 1; width: min(580px, 100%); max-height: min(760px, calc(100vh - 2rem)); overflow: auto; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid rgba(183,111,255,.28); border-radius: 17px; background: linear-gradient(145deg, #18141f, #0b0a0e 68%); box-shadow: 0 35px 100px rgba(0,0,0,.65), 0 0 50px rgba(135,73,195,.1); animation: rlModalIn .24s ease both; }
.rl-modal__dialog--gifts { width: min(760px,100%); overflow:hidden; }
.rl-modal__dialog h2 { margin: .32rem 0; font-family: var(--font-display, Georgia, serif); font-size: 1.7rem; }
.rl-modal__dialog > p, .rl-modal__dialog li { color: var(--rl-muted); font-size: .8rem; line-height: 1.5; }
.rl-modal__close { position: absolute; top: .75rem; right: .75rem; width: 34px; height: 34px; border: 1px solid var(--rl-line); border-radius: 50%; color: #fff; background: rgba(255,255,255,.04); font-size: 1.25rem; cursor: pointer; }
.rl-gift-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-rows:max-content; gap:.62rem; height:min(360px,50vh); margin-top:1.1rem; padding:2px .4rem .7rem 2px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:rgba(89,245,164,.65) rgba(255,255,255,.04); scrollbar-width:thin; }
.rl-gift-grid::-webkit-scrollbar { width:5px; }.rl-gift-grid::-webkit-scrollbar-track { background:rgba(255,255,255,.035);border-radius:5px; }.rl-gift-grid::-webkit-scrollbar-thumb { background:linear-gradient(#65efaa,#9d6cf2);border-radius:5px; }
.rl-gift-card { position:relative; display:flex; min-width:0; flex-direction:column; overflow:hidden; padding:0; border:1px solid rgba(255,255,255,.08); border-radius:10px; color:#fff; background:linear-gradient(150deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); cursor:pointer; box-shadow:0 8px 20px rgba(0,0,0,.18); transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.rl-gift-card:hover, .rl-gift-card:focus-visible { z-index:2; border-color:rgba(103,245,174,.55); outline:none; transform:translateY(-3px); box-shadow:0 12px 26px rgba(0,0,0,.36),0 0 18px rgba(89,245,164,.08); }
.rl-gift-card:disabled { cursor:not-allowed; filter:saturate(.35); opacity:.48; }.rl-gift-card:disabled:hover { transform:none; box-shadow:0 8px 20px rgba(0,0,0,.18); }
.rl-gift-card__image { position:relative; display:grid; width:100%; aspect-ratio:1; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 43%,rgba(168,101,255,.13),transparent 53%),linear-gradient(145deg,#17131e,#0c0b10); }
.rl-gift-card__image::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 30%); }
.rl-gift-card__image .rl-gift-art { width:84%; height:84%; filter:drop-shadow(0 7px 9px rgba(0,0,0,.55)); transition:transform .25s cubic-bezier(.2,.8,.2,1),filter .25s ease; }
.rl-gift-card:hover .rl-gift-art { filter:drop-shadow(0 8px 12px rgba(0,0,0,.62)) drop-shadow(0 0 7px rgba(181,119,255,.26)); transform:scale(1.08) rotate(-2deg); }
.rl-gift-card__price { display:grid; min-height:25px; place-items:center; border-top:1px solid rgba(93,246,167,.22); background:linear-gradient(180deg,rgba(67,198,128,.18),rgba(33,133,84,.12)); }
.rl-gift-card__price b { color:#71f5ac; font-family:var(--font-ui,Arial,sans-serif); font-size:.68rem; font-weight:900; letter-spacing:.02em; text-shadow:0 0 10px rgba(78,246,160,.24); }
.rl-wallet__balance { display: flex; align-items: center; gap: .7rem; margin: 1.1rem 0; padding: 1rem; border: 1px solid rgba(178,106,255,.22); border-radius: 12px; background: rgba(165,92,234,.07); }
.rl-wallet__balance span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; color: #09060d; background: linear-gradient(145deg, #e6c1ff, #9a57ed); font-size: 1.3rem; font-weight: 1000; }
.rl-wallet__balance strong { font-size: 2rem; }
.rl-wallet__login { width: 100%; min-height: 44px; margin-top: .75rem; border: 0; border-radius: 9px; color: #0b0710; background: linear-gradient(135deg, #d0a2ff, #9b61e7); font: inherit; font-weight: 900; cursor: pointer; }

.rl-toast { position: fixed; left: 50%; bottom: 1.2rem; z-index: 12000; max-width: min(420px, calc(100vw - 2rem)); padding: .7rem .9rem; border: 1px solid rgba(183,111,255,.26); border-radius: 9px; color: #f8f3fb; background: rgba(17,14,22,.94); box-shadow: 0 18px 50px rgba(0,0,0,.52); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .18s ease, transform .18s ease; }
.rl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.rl-toast.is-error { border-color: rgba(255,74,109,.4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rl-age-gate[hidden] { display: none; }
.rl-age-gate { position: fixed; inset: 0; z-index: 30000; display: grid; place-items: center; padding: 1rem; }
.rl-age-gate__backdrop { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(3,3,6,.78), rgba(3,2,6,.94)), url("/public/rinalive/rina-live-room.png") center/cover; filter: saturate(.72); }
.rl-age-gate__card { position: relative; z-index: 1; width: min(520px, 100%); padding: clamp(1.5rem, 4vw, 2.8rem); overflow: hidden; pointer-events: auto; border: 1px solid rgba(189,123,255,.34); border-radius: 20px; background: radial-gradient(circle at 50% 0, rgba(155,81,225,.15), transparent 48%), rgba(10,8,14,.96); box-shadow: 0 38px 120px rgba(0,0,0,.72), 0 0 70px rgba(128,64,190,.13); text-align: center; animation: rlModalIn .35s ease both; }
.rl-age-gate__crest { display: block; width: 94px; height: 94px; margin: 0 auto 1rem; padding: 4px; border: 1px solid rgba(197,139,255,.44); border-radius: 50%; background: linear-gradient(145deg, rgba(202,144,255,.25), rgba(68,232,147,.12)); box-shadow: 0 0 32px rgba(163,91,230,.2); }
.rl-age-gate__crest img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.rl-age-gate h2 { margin: .45rem 0 .65rem; font-family: var(--font-display, Georgia, serif); font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 500; }
.rl-age-gate p { max-width: 410px; margin: 0 auto; color: var(--rl-muted); font-size: .88rem; line-height: 1.55; }
.rl-age-gate__actions { display: grid; grid-template-columns: 1fr 110px; gap: .65rem; margin-top: 1.35rem; }
.rl-age-gate__actions button { min-height: 48px; border-radius: 10px; font: inherit; font-size: .82rem; font-weight: 900; cursor: pointer; }
.rl-age-gate__yes { border: 0; color: #0b0710; background: linear-gradient(135deg, #d4a9ff, #9a5ee8); box-shadow: 0 12px 30px rgba(146,76,215,.2); }
.rl-age-gate__no { border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); background: rgba(255,255,255,.035); }
.rl-age-gate__actions button:hover, .rl-age-gate__actions button:focus-visible { transform: translateY(-1px); filter: brightness(1.08); }
.rl-age-gate small { display: block; margin-top: .9rem; color: rgba(255,255,255,.34); font-size: .58rem; line-height: 1.45; }
body.is-rinalive-age-gated { overflow: hidden; }
body.is-rinalive-age-gated > .page-shell { filter: blur(12px); transform: scale(1.015); }
body.rl-player-expanded { overflow:hidden; }
.rl-player.is-mobile-expanded { position:fixed; inset:0; z-index:29000; width:100vw; height:100vh; height:100dvh; min-height:0; aspect-ratio:auto; border:0; border-radius:0; }
.rl-player.is-mobile-expanded .rl-player__controls { opacity:1; padding-bottom:max(.9rem,env(safe-area-inset-bottom)); }

@keyframes rlLivePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }
@keyframes rlMessageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes rlModalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rlGiftSceneLife { 0%,100% { opacity:0; } 4%,96% { opacity:1; } }
@keyframes rlGiftWash { 0% { opacity:0; transform:scale(.75); } 15%,72% { opacity:1; transform:scale(1); } 100% { opacity:0; transform:scale(1.12); } }
@keyframes rlGiftHero { 0% { opacity:0; transform:translate(-50%,-42%) scale(.25) rotate(-14deg); } 18% { opacity:1; transform:translate(-50%,-50%) scale(1.08) rotate(2deg); } 27%,72% { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0); } 100% { opacity:0; transform:translate(-50%,-58%) scale(1.12); filter:blur(6px); } }
@keyframes rlGiftHeroRose { 0% { opacity:0; transform:translate(-50%,15%) scale(.3) rotate(-18deg); } 24% { opacity:1; transform:translate(-50%,-50%) scale(1.08) rotate(4deg); } 39%,72% { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(-2deg); } 100% { opacity:0; transform:translate(-50%,-65%) scale(1.08) rotate(8deg); filter:blur(4px); } }
@keyframes rlGiftHeroHeart { 0% { opacity:0; transform:translate(-50%,-50%) scale(.1); } 15% { opacity:1; transform:translate(-50%,-50%) scale(1.16); } 23% { transform:translate(-50%,-50%) scale(.92); } 31%,45%,72% { opacity:1; transform:translate(-50%,-50%) scale(1); } 38% { transform:translate(-50%,-50%) scale(1.1); } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.22); filter:blur(5px); } }
@keyframes rlGiftHeroButterfly { 0% { opacity:0; transform:translate(-65%,-35%) scale(.35) rotate(-26deg); } 21% { opacity:1; transform:translate(-45%,-54%) scale(1.06) rotate(7deg); } 40% { transform:translate(-53%,-48%) scale(.96) rotate(-4deg); } 61%,75% { opacity:1; transform:translate(-48%,-52%) scale(1.02) rotate(2deg); } 100% { opacity:0; transform:translate(-20%,-86%) scale(.7) rotate(18deg); filter:blur(3px); } }
@keyframes rlGiftHeroFlip { 0% { opacity:0; transform:translate(-50%,-50%) perspective(700px) rotateY(90deg) scale(.65); } 24% { opacity:1; transform:translate(-50%,-50%) perspective(700px) rotateY(-10deg) scale(1.06); } 36%,72% { opacity:1; transform:translate(-50%,-50%) perspective(700px) rotateY(0) scale(1); } 100% { opacity:0; transform:translate(-50%,-58%) perspective(700px) rotateY(-35deg) scale(1.05); filter:blur(5px); } }
@keyframes rlGiftHeroRise { 0% { opacity:0; transform:translate(-50%,20%) scale(.35); filter:brightness(2) blur(9px); } 22% { opacity:1; transform:translate(-50%,-54%) scale(1.1); filter:brightness(1.25); } 38%,72% { opacity:1; transform:translate(-50%,-50%) scale(1); filter:brightness(1); } 100% { opacity:0; transform:translate(-50%,-82%) scale(1.14); filter:brightness(1.7) blur(8px); } }
@keyframes rlGiftHeroMeteor { 0% { opacity:0; transform:translate(48%,-140%) scale(.35) rotate(5deg); } 20% { opacity:1; transform:translate(-54%,-46%) scale(1.12) rotate(-5deg); } 33%,70% { opacity:1; transform:translate(-50%,-50%) scale(1); } 100% { opacity:0; transform:translate(-130%,20%) scale(.55) rotate(-12deg); filter:blur(8px); } }
@keyframes rlGiftHeroUniverse { 0% { opacity:0; transform:translate(-50%,-50%) scale(.08) rotate(-140deg); filter:blur(12px) brightness(2); } 24% { opacity:1; transform:translate(-50%,-50%) scale(1.08) rotate(12deg); filter:blur(0) brightness(1.3); } 36%,76% { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(0); filter:none; } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.65) rotate(55deg); filter:blur(10px); } }
@keyframes rlGiftUniverseDrift { from { transform:translate(-50%,-50%) rotate(0); } to { transform:translate(-50%,-50%) rotate(80deg); } }
@keyframes rlGiftRing { 0% { opacity:0; transform:scale(.35); } 24% { opacity:.72; } 100% { opacity:0; transform:scale(1.28); } }
@keyframes rlGiftParticle { 0% { left:var(--sx); top:var(--sy); opacity:0; } 12% { opacity:1; } 72% { opacity:.9; } 100% { left:var(--ex); top:var(--ey); opacity:0; transform:translate(-50%,-50%) rotate(calc(var(--particle-rotate) + 220deg)) scale(.05); } }
@keyframes rlGiftWing { 0%,100% { scale:1 1; } 50% { scale:.25 1; } }
@keyframes rlGiftCaption { 0% { opacity:0; transform:translate(-50%,14px) scale(.96); } 12%,72% { opacity:1; transform:translate(-50%,0) scale(1); } 100% { opacity:0; transform:translate(-50%,-10px) scale(1.02); } }
@keyframes rlRinaBreath { 0%,100% { transform: translate3d(0,0,0) scale(1); } 48% { transform: translate3d(0,-2px,0) scale(1.002); } }
@keyframes rlRinaThinking { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 40% { transform: translate3d(-2px,-3px,0) rotate(-.2deg); } 72% { transform: translate3d(1px,-1px,0) rotate(.13deg); } }
@keyframes rlRinaSpeaking { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 34% { transform: translate3d(0,-3px,0) rotate(-.12deg); } 72% { transform: translate3d(2px,-1px,0) rotate(.12deg); } }
@keyframes rlRinaGaming { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 22% { transform: translate3d(-1px,-2px,0) rotate(-.08deg); } 48% { transform: translate3d(1px,-4px,0) rotate(.12deg); } 72% { transform: translate3d(2px,-1px,0) rotate(.08deg); } }
@keyframes rlRinaTalk { 0%,42% { opacity: 0; } 43%,100% { opacity: 1; } }
@keyframes rlRinaHappy { 0%,100% { transform: scale(1); } 38% { transform: translateY(-9px) scale(1.012); } }
@keyframes rlRinaTease { 0% { transform: none; } 48%,100% { transform: translate(3px,-3px) rotate(.3deg); } }
@keyframes rlRinaIrritated { 0%,100% { transform: none; } 28% { transform: translateX(-2px) rotate(-.14deg); } 58% { transform: translateX(2px) rotate(.14deg); } }
@keyframes rlRinaSoft { 0% { transform: none; } 48%,100% { transform: translateY(3px) rotate(-.2deg); } }
@keyframes rlRinaWeightShift { 0%,100% { transform: none; } 38% { transform: translate(-3px,-2px) rotate(-.26deg); } 74% { transform: translate(2px,0) rotate(.1deg); } }
@keyframes rlRinaSettle { 0%,100% { transform: none; } 28% { transform: translateY(-4px) scale(1.004); } 64% { transform: translateY(1px); } }
@keyframes rlRinaNotice { 0%,100% { transform: scale(1); } 48% { transform: translateY(-4px) scale(1.008); } }
@keyframes rlRinaLeanIn { 0% { transform: none; } 38% { transform: translate3d(0,-8px,0) scale(1.012); } 72%,100% { transform: translate3d(2px,-5px,0) scale(1.008) rotate(.16deg); } }
@keyframes rlRinaCommand { 0% { transform: none; } 24% { transform: translate3d(-2px,-2px,0) rotate(-.18deg); } 55%,82% { transform: translate3d(4px,-7px,0) scale(1.01) rotate(.28deg); } 100% { transform: translate3d(1px,-2px,0); } }
@keyframes rlRinaChinTilt { 0% { transform: none; } 44%,78% { transform: translate3d(3px,-5px,0) rotate(.48deg) scale(1.006); } 100% { transform: translate3d(1px,-1px,0); } }
@keyframes rlRinaDismissive { 0% { transform: none; } 28% { transform: translate3d(-5px,-2px,0) rotate(-.34deg); } 58% { transform: translate3d(5px,-4px,0) rotate(.4deg); } 100% { transform: translate3d(1px,0,0) rotate(.08deg); } }
@keyframes rlRinaGiftAccept { 0% { transform: none; } 30% { transform: translate3d(0,-10px,0) scale(1.014); } 58% { transform: translate3d(-3px,-6px,0) rotate(-.24deg) scale(1.01); } 100% { transform: translate3d(2px,-2px,0) rotate(.12deg); } }
@keyframes rlRinaControllerTap { 0%,100% { transform: none; } 18% { transform: translate3d(-2px,-2px,0) rotate(-.18deg); } 34% { transform: translate3d(2px,-3px,0) rotate(.16deg); } 52% { transform: translate3d(-1px,-2px,0) rotate(-.1deg); } 72% { transform: translate3d(2px,-4px,0) rotate(.14deg); } }
@keyframes rlRinaControllerSwap { 0% { transform: none; filter: brightness(1); } 28% { transform: translate3d(-7px,-5px,0) rotate(-.45deg) scale(.995); } 58% { transform: translate3d(7px,-9px,0) rotate(.5deg) scale(1.012); filter: brightness(1.12); } 100% { transform: translate3d(1px,-2px,0); filter: brightness(1); } }
@keyframes rlRinaGameFocus { 0% { transform: none; } 34%,72% { transform: translate3d(0,-8px,0) scale(1.014); } 52% { transform: translate3d(-2px,-10px,0) scale(1.017) rotate(-.12deg); } 100% { transform: translate3d(0,-2px,0); } }
@keyframes rlRinaScreenLean { 0% { transform: none; } 44%,78% { transform: translate3d(-7px,-11px,0) scale(1.022) rotate(-.36deg); } 100% { transform: translate3d(-1px,-2px,0); } }
@keyframes rlRinaGameDodge { 0%,100% { transform: none; } 24% { transform: translate3d(-9px,-4px,0) rotate(-.55deg); } 49% { transform: translate3d(8px,-7px,0) rotate(.5deg); } 74% { transform: translate3d(-3px,-3px,0) rotate(-.18deg); } }
@keyframes rlRinaGameVictory { 0% { transform: none; filter: brightness(1); } 20% { transform: translate3d(0,-15px,0) scale(1.025); } 42% { transform: translate3d(-7px,-9px,0) rotate(-.55deg) scale(1.018); } 68% { transform: translate3d(7px,-12px,0) rotate(.55deg) scale(1.024); filter: brightness(1.18); } 100% { transform: translate3d(0,-2px,0); filter: brightness(1); } }
@keyframes rlRinaGameFrustrated { 0%,100% { transform: none; } 18% { transform: translate3d(-5px,2px,0) rotate(-.42deg); } 36% { transform: translate3d(5px,-1px,0) rotate(.4deg); } 55% { transform: translate3d(-4px,1px,0) rotate(-.3deg); } 74% { transform: translate3d(3px,-2px,0) rotate(.2deg); } }
@keyframes rlRinaHairFlick { 0% { transform: none; } 32% { transform: translate3d(-5px,-5px,0) rotate(-.55deg); } 61% { transform: translate3d(7px,-8px,0) rotate(.72deg) scale(1.01); } 100% { transform: translate3d(1px,-2px,0) rotate(.08deg); } }
@keyframes rlRinaShoulderRoll { 0%,100% { transform: none; } 25% { transform: translate3d(-4px,-5px,0) rotate(-.38deg); } 52% { transform: translate3d(0,-9px,0) scale(1.009); } 76% { transform: translate3d(4px,-5px,0) rotate(.38deg); } }
@keyframes rlRinaDeskTap { 0%,100% { transform: none; } 22%,58% { transform: translate3d(0,2px,0) scale(.998); } 38%,74% { transform: translate3d(0,-4px,0) scale(1.004); } }
@keyframes rlRinaPointScreen { 0% { transform: none; } 36%,72% { transform: translate3d(-8px,-7px,0) rotate(-.48deg) scale(1.014); } 100% { transform: translate3d(-1px,-2px,0); } }
@keyframes rlRinaSmugLaugh { 0%,100% { transform: none; } 18% { transform: translate3d(1px,-4px,0) rotate(.18deg); } 35% { transform: translate3d(-2px,-8px,0) rotate(-.22deg) scale(1.01); } 52% { transform: translate3d(2px,-5px,0) rotate(.24deg); } 70% { transform: translate3d(-1px,-9px,0) rotate(-.16deg) scale(1.012); } }
@keyframes rlIntroCard { from { opacity: 0; transform: translate(-50%, -46%) scale(.965); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes rlIntroOrbit { to { transform: rotate(360deg); } }
@keyframes rlIntroScan { from { transform: translateY(-3%); } 50% { transform: translateY(3%); } to { transform: translateY(-3%); } }
@keyframes rlGameStageIn { from { opacity: 0; transform: scale(1.025); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rlArcadePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }
@keyframes rlArcadeEvent { 0% { opacity: 0; transform: translateY(14px) scale(.86); } 13%,72% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-18px) scale(1.04); } }
@keyframes rlArcadeImpact { 0%,100% { transform: none; filter: none; } 25% { transform: translateX(-3px); filter: brightness(1.2); } 55% { transform: translateX(3px); } }
@keyframes rlArcadeVictory { from { opacity: 0; transform: rotate(0) scale(.65); } 25% { opacity: 1; } to { opacity: 0; transform: rotate(65deg) scale(1.2); } }

@media (max-width: 1180px) {
  .rl-live-grid { grid-template-columns: minmax(0,1fr) 330px; }
  .rl-player { min-height: 370px; }
  .rl-chat { min-height: 452px; }
  .rl-rig-scene { width: 47%; right: 1%; }
  .rl-player.is-gaming .rl-rig-scene, .rl-webcam-overlay { width: 32%; right: 1.4%; }
  .rl-details-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .rl-main { width: min(100% - 1rem, 820px); padding-top: .6rem; }
  .rl-live-grid { grid-template-columns: 1fr; }
  .rl-player { min-height: 0; }
  .rl-chat { max-height: none; min-height: 460px; height: min(72vh, 620px); }
  .rl-rig-scene { width: 47%; }
  .rl-activity-stage__head, .rl-activity-stage__hud, .rl-activity-stage__progress { width: 61%; }
  .rl-activity-stage__ticker { right: 35%; }
  .rl-channel-bar { padding-inline: .25rem; }
}

@media (max-width: 620px) {
  .rl-main { width:100%; padding-inline:.5rem; padding-bottom:calc(6rem + env(safe-area-inset-bottom)); }
  .rl-live-grid { gap: .6rem; }
  .rl-player { aspect-ratio: 9/10; border-radius: 10px; }
  .rl-player__backdrop { object-position: 58% center; }
  .rl-rig-scene { inset: 8% -4% 0 auto; width: 78%; }
  .rl-player.is-gaming .rl-rig-scene, .rl-webcam-overlay { inset: 7% 2% auto auto; width: 36%; height: 33%; }
  .rl-player.is-gaming .rl-rig { inset: 8% -5% -16%; }
  .rl-activity-stage__head { top: 3%; left: 3%; width: 50%; min-height: 37px; padding: .35rem .45rem; }
  .rl-activity-stage__head strong { font-size: .63rem; }
  .rl-activity-stage__status { display: none !important; }
  .rl-activity-stage__vignette { background: linear-gradient(180deg, rgba(0,0,0,.05), transparent 44%, rgba(0,0,0,.77)); }
  .rl-activity-stage__hud { left: 3%; bottom: 14%; grid-template-columns: repeat(2,1fr); width: 94%; }
  .rl-activity-stage__hud div { padding: .35rem .45rem; }
  .rl-activity-stage__progress { left: 3%; bottom: 12.2%; width: 94%; }
  .rl-activity-stage__ticker { left: 3%; right: 3%; bottom: 5.7%; grid-template-columns: 1fr; gap: .08rem; }
  .rl-activity-stage__ticker > span { display: none; }
  .rl-activity-stage__ticker p { font-size: .59rem; }
  .rl-activity-stage__event { left: 8%; top: 44%; min-width: 150px; }
  .rl-phase-card { top: 46%; width: calc(100% - 1.2rem); padding: 1.15rem .8rem; }
  .rl-phase-card > strong { font-size: clamp(2.25rem, 14vw, 4.5rem); }
  .rl-phase-card--starting > strong { font-size: clamp(1.8rem, 10vw, 3.1rem); }
  .rl-intro-line { font-size: .72rem !important; }
  .rl-age-gate__actions { grid-template-columns: 1fr; }
  .rl-channel-bar { align-items: flex-start; flex-wrap: wrap; }
  .rl-channel-actions { width: 100%; margin-left: 0; }
  .rl-follow-button, .rl-balance-button { flex: 1; }
  .rl-chat { height: min(68vh, 560px); min-height: 430px; }
  .rl-details-grid { margin-top: .7rem; }
  .rl-schedule { grid-template-columns: repeat(7, 122px); }
  .rl-about-stats { grid-template-columns: 1fr; }
  .rl-modal__dialog--gifts { padding-inline:.8rem; }
  .rl-gift-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:.38rem; height:min(330px,52vh); padding-right:.2rem; }
  .rl-gift-card { border-radius:7px; }
  .rl-gift-card__price { min-height:23px; }
  .rl-gift-card__price b { font-size:.61rem; }
  .rl-gift-scene__hero { width:clamp(130px,42%,230px); }
  .rl-gift-scene__caption { bottom:9%; }
  .rl-player__controls { padding-inline:.7rem; opacity:1; }
  .rl-player__buttons button { width:44px;height:44px; }
  .rl-chat__input-row { grid-template-columns:44px minmax(0,1fr) auto; }
  .rl-chat__input-row input { height:44px;font-size:16px; }
  .rl-gift-button,.rl-send-button { height:44px; }
  .rl-modal { padding:max(.55rem,env(safe-area-inset-top)) max(.55rem,env(safe-area-inset-right)) max(.55rem,env(safe-area-inset-bottom)) max(.55rem,env(safe-area-inset-left)); }
  .rl-modal__dialog { max-height:calc(100dvh - 1.1rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Authoritative live-session surfaces */
.rl-connection-status { position:absolute; top:3.2rem; left:50%; z-index:42; min-height:30px; padding:.45rem .72rem; border:1px solid rgba(255,196,99,.32); border-radius:999px; color:#ffe1a1; background:rgba(13,10,17,.9); box-shadow:0 10px 30px rgba(0,0,0,.38); font-size:.65rem; font-weight:900; letter-spacing:.08em; transform:translateX(-50%); }
.rl-connection-status[data-status="offline"] { border-color:rgba(255,86,117,.42); color:#ffb0bf; }
.rl-connection-status[hidden] { display:none; }
.rl-live-captions { position:absolute; left:18%; right:18%; bottom:5.2rem; z-index:41; padding:.58rem .8rem; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#fff; background:rgba(4,3,7,.86); box-shadow:0 12px 34px rgba(0,0,0,.45); font-size:clamp(.68rem,1.1vw,.88rem); font-weight:750; line-height:1.4; text-align:center; opacity:0; pointer-events:none; transform:translateY(5px); transition:opacity .18s ease,transform .18s ease; }
.rl-live-captions.is-visible { opacity:1; transform:none; }
.rl-player.is-gaming .rl-live-captions { left:15%; right:15%; bottom:24%; }
.rl-cc-mark { font-size:.59rem; font-weight:1000; letter-spacing:-.02em; }
.rl-player__buttons button.is-active { color:#0a0d0c; border-color:#81ffc1; background:#81ffc1; }
.rl-chat-message__reply { display:grid; gap:.14rem; margin:0 0 .38rem; padding:.38rem .48rem; border-left:2px solid rgba(188,119,255,.7); border-radius:0 6px 6px 0; background:rgba(178,102,255,.07); }
.rl-chat-message__reply span { color:#ca9fff; font-size:.54rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.rl-chat-message__reply q { overflow:hidden; color:rgba(255,255,255,.52); font-size:.62rem; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.rl-tonight-run { margin-top:.65rem; padding:.7rem .8rem .75rem; border:1px solid rgba(190,123,255,.14); border-radius:11px; background:linear-gradient(110deg,rgba(169,92,234,.065),rgba(72,224,147,.025)); }
.rl-tonight-run__head { display:flex; justify-content:space-between; gap:1rem; align-items:center; margin-bottom:.55rem; }
.rl-tonight-run__head span { color:#d8b5ff; font-size:.66rem; font-weight:1000; letter-spacing:.11em; text-transform:uppercase; }
.rl-tonight-run__head small { color:rgba(255,255,255,.38); font-size:.56rem; }
.rl-tonight-run__track { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
.rl-tonight-run__track::before { position:absolute; left:1rem; right:1rem; top:8px; height:1px; content:""; background:linear-gradient(90deg,#75ffb9,rgba(184,111,255,.5),rgba(255,255,255,.08)); }
.rl-run-item { position:relative; display:grid; grid-template-columns:auto 1fr auto; gap:.45rem; align-items:center; min-width:0; padding-top:1.05rem; }
.rl-run-item::before { position:absolute; top:4px; left:10px; width:8px; height:8px; border:2px solid #15101b; border-radius:50%; content:""; background:#8b667c; box-shadow:0 0 0 1px rgba(255,255,255,.18); }
.rl-run-item.is-current::before { background:#73ffb8; box-shadow:0 0 10px rgba(108,255,181,.7); }
.rl-run-item span { color:rgba(255,255,255,.38); font-size:.52rem; font-weight:900; text-transform:uppercase; }
.rl-run-item strong { overflow:hidden; color:#eee7f3; font-size:.67rem; text-overflow:ellipsis; white-space:nowrap; }
.rl-run-item time { color:#cfa2ff; font-size:.64rem; font-variant-numeric:tabular-nums; }
.rl-mobile-tabs { display:none; }
.rl-chat.is-mobile-hidden { display:none; }
.rl-player canvas { image-rendering:auto; }
.rl-send-button:focus-visible,.rl-gift-button:focus-visible,.rl-mobile-tabs button:focus-visible,.rl-run-item:focus-visible { outline:2px solid #82ffc2; outline-offset:2px; }

@media (max-width:900px) {
  .rl-mobile-tabs { display:grid; grid-template-columns:1fr 1fr; gap:.3rem; margin-top:.55rem; padding:.25rem; border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(255,255,255,.025); }
  .rl-mobile-tabs button { min-height:44px; border:0; border-radius:7px; color:rgba(255,255,255,.55); background:transparent; font:inherit; font-size:.68rem; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
  .rl-mobile-tabs button.is-active { color:#0b0d0c; background:linear-gradient(135deg,#86ffc5,#bd86f7); }
  .rl-schedule-panel:not(.is-mobile-active) { display:none; }
  .rl-schedule-panel.is-mobile-active { display:block; scroll-margin-top:5rem; }
}

@media (max-width:620px) {
  .rl-tonight-run { margin-top:.45rem; padding:.62rem; }
  .rl-tonight-run__head small { display:none; }
  .rl-tonight-run__track { grid-template-columns:1fr; gap:.35rem; }
  .rl-tonight-run__track::before { top:.55rem; bottom:.55rem; left:4px; right:auto; width:1px; height:auto; background:linear-gradient(#75ffb9,rgba(184,111,255,.45),rgba(255,255,255,.05)); }
  .rl-run-item { grid-template-columns:40px minmax(0,1fr) auto; min-height:29px; padding:0 0 0 .75rem; }
  .rl-run-item::before { top:50%; left:0; width:7px; height:7px; transform:translate(-50%,-50%); }
  .rl-live-captions,.rl-player.is-gaming .rl-live-captions { left:4%; right:4%; bottom:27%; padding:.42rem .58rem; font-size:.63rem; }
  .rl-connection-status { top:3.6rem; max-width:calc(100% - 2rem); white-space:nowrap; }
  .rl-chat__composer { padding-bottom:max(.65rem,env(safe-area-inset-bottom)); }
}
