:root {
  --ink: #f4ecff;
  --muted: rgba(222, 205, 255, .74);
  --glass: rgba(8, 4, 22, .55);
  --violet: #a97aff;
  --rose: #ff8ccf;
  --aqua: #7fffd0;
  --shadow: 0 24px 80px rgba(0, 0, 0, .46)
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--ink);
  font-family: "Segoe UI", Inter, system-ui, sans-serif
}

button,
input,
select {
  font: inherit
}

button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent
}

#cv,
#pulse {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%
}

#cv {
  z-index: 0
}

#pulse {
  z-index: 1;
  pointer-events: none
}

#shade {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .025), transparent 30%), linear-gradient(to bottom, rgba(0, 0, 0, .22), transparent 24%, transparent 76%, rgba(0, 0, 0, .24))
}

#topbar {
  position: fixed;
  top: calc(.52rem + env(safe-area-inset-top, 0px));
  left: .55rem;
  z-index: 30;
  width: min(calc(100vw - 1.1rem), 18rem)
}

.hud-control,
.request-input {
  min-height: 34px;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 14px;
  background: rgba(5, 3, 14, .34);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  color: rgba(244, 236, 255, .86)
}

.hud-control {
  width: 100%;
  padding: 0 .56rem;
  font-size: .9rem;
  outline: none
}

.theme-menu {
  display: none;
  position: absolute;
  top: calc(100% + .28rem);
  left: 0;
  width: min(17rem, 100%);
  max-height: min(68vh, 28rem);
  overflow-y: auto;
  padding: .3rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 14px;
  background: rgba(5, 3, 14, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  pointer-events: auto;
  scrollbar-width: thin
}

.theme-menu.open {
  display: grid;
  gap: .25rem
}

.theme-group {
  display: grid;
  gap: .24rem;
  border: 1px solid rgba(214, 181, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018)
}

.theme-group[open] {
  background: rgba(255, 255, 255, .03)
}

.theme-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  list-style: none;
  cursor: pointer;
  padding: .48rem .58rem;
  font-size: .53rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .68)
}

.theme-group-summary::-webkit-details-marker {
  display: none
}

.theme-group-count {
  padding: .08rem .36rem;
  border-radius: 999px;
  background: rgba(184, 255, 211, .08);
  color: rgba(184, 255, 211, .68);
  font-size: .72em;
  letter-spacing: .08em
}

.theme-group-items {
  display: grid;
  gap: .25rem;
  padding: 0 .3rem .3rem
}

.theme-choice {
  min-height: 34px;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .045);
  color: rgba(244, 236, 255, .88);
  font-size: .9rem;
  text-align: left;
  padding: 0 .55rem;
  cursor: pointer
}

.theme-choice.nsfw {
  color: #ffd4e8;
  border-color: rgba(255, 140, 207, .25)
}

.theme-choice.active {
  border-color: rgba(184, 255, 211, .35);
  background: rgba(184, 255, 211, .08)
}

.theme-mins {
  float: right;
  margin-left: .55rem;
  color: rgba(184, 255, 211, .55);
  font-size: .72em;
  letter-spacing: .08em
}

.request-input {
  width: 100%;
  padding: 0 .62rem;
  font-size: .9rem;
  outline: none
}

.request-input::placeholder {
  color: rgba(222, 205, 255, .42)
}

#request-shell {
  position: fixed;
  left: .55rem;
  bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  pointer-events: none;
  transition: opacity .18s ease
}

#request-panel {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto;
  gap: .35rem;
  width: min(24rem, calc(100vw - 4rem));
  padding: .42rem;
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 22px;
  background: rgba(5, 3, 14, .48);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  transform: translateX(-115%) translateY(.35rem) scale(.98);
  transform-origin: 0 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease
}

#request-shell.open #request-panel {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto
}

#request-panel-toggle,
#tag-panel-toggle {
  pointer-events: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .38);
  backdrop-filter: blur(12px);
  color: rgba(244, 236, 255, .86);
  cursor: pointer;
  letter-spacing: .08em
}

#request-panel-toggle.on,
#tag-panel-toggle.on {
  border-color: rgba(184, 255, 211, .66);
  box-shadow: 0 0 18px rgba(153, 255, 181, .22)
}

.request-submit {
  min-width: 3rem;
  min-height: 34px;
  border: 1px solid rgba(184, 255, 211, .25);
  border-radius: 14px;
  background: rgba(184, 255, 211, .12);
  color: rgba(244, 236, 255, .92);
  cursor: pointer;
  font-size: .9rem;
  letter-spacing: .08em
}

#tag-shell {
  position: fixed;
  left: .55rem;
  bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  pointer-events: none;
  transition: opacity .18s ease
}

#tag-panel {
  display: grid;
  gap: .42rem;
  width: min(25rem, calc(100vw - 4rem));
  max-height: min(62vh, 32rem);
  overflow: auto;
  padding: .52rem;
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 22px;
  background: rgba(5, 3, 14, .54);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  transform: translateX(-115%) translateY(.35rem) scale(.98);
  transform-origin: 0 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease
}

#tag-shell.open #tag-panel {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto
}

.tag-group {
  display: grid;
  gap: .28rem;
  padding: .4rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03)
}

.tag-label {
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .62)
}

.tag-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem
}

.tag-chip {
  min-height: 2.4rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(244, 236, 255, .86);
  cursor: pointer;
  font-size: .9rem
}

.tag-chip.on {
  border-color: rgba(184, 255, 211, .72);
  background: rgba(184, 255, 211, .14)
}

.tag-chip.block {
  border-color: rgba(255, 144, 161, .5);
  background: rgba(255, 144, 161, .14);
  color: rgba(255, 221, 227, .94)
}

#track-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(.62rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 12;
  width: min(78vw, 480px);
  text-align: center;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(130, 92, 255, .34);
  opacity: .88
}

.hypnomate-now {
  display: none;
  margin: 0 auto .42rem;
  padding: .48rem .62rem;
  width: min(100%, 24rem);
  border: 1px solid rgba(255, 236, 184, .16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 5, 25, .62), rgba(5, 3, 14, .42));
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04);
  pointer-events: auto;
  text-align: left;
  text-shadow: none
}

.hypnomate-now.visible {
  display: grid;
  gap: .24rem
}

.hm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem
}

.hm-kicker {
  font-size: .34rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 236, 184, .68)
}

.hm-name {
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(250, 246, 255, .94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.hm-tier {
  font-size: .36rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(184, 255, 211, .75);
  border: 1px solid rgba(184, 255, 211, .2);
  border-radius: 999px;
  padding: .1rem .34rem;
  white-space: nowrap
}

.hm-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  margin-top: .04rem
}

.hm-pill {
  font-size: .4rem;
  color: rgba(225, 210, 248, .78);
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 999px;
  padding: .12rem .34rem;
  background: rgba(255, 255, 255, .035)
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
  margin-top: .18rem
}

.hm-action {
  min-height: 1.72rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(244, 236, 255, .88);
  cursor: pointer;
  font-size: .45rem;
  letter-spacing: .06em;
  padding: 0 .52rem;
  pointer-events: auto
}

.hm-action.heart {
  border-color: rgba(255, 140, 207, .28);
  background: rgba(255, 140, 207, .08);
  color: rgba(255, 210, 235, .92)
}

.hm-action.heart.on {
  border-color: rgba(255, 140, 207, .68);
  background: rgba(255, 140, 207, .18);
  box-shadow: 0 0 16px rgba(255, 140, 207, .2)
}

.hm-action.gold {
  border-color: rgba(255, 214, 102, .4);
  background: rgba(255, 214, 102, .12);
  color: rgba(255, 238, 180, .96)
}

.hm-action.gold.on {
  border-color: rgba(255, 214, 102, .72);
  background: rgba(255, 214, 102, .2);
  box-shadow: 0 0 18px rgba(255, 214, 102, .22)
}

.hm-action.tip {
  border-color: rgba(255, 196, 78, .3);
  background: rgba(255, 196, 78, .08);
  color: rgba(255, 222, 142, .92)
}

#track-meta {
  font-size: .36rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(169, 122, 255, .38);
  margin-bottom: .2rem;
  min-height: .6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none
}

#track-name {
  font-size: clamp(1.05rem, 4.5vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: .02em;
  font-weight: 300;
  color: rgba(250, 246, 255, .92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

#track-artist {
  margin-top: .22rem;
  font-size: clamp(.78rem, 3.2vw, .98rem);
  color: rgba(169, 122, 255, .82);
  letter-spacing: .07em;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s
}

#track-artist:hover {
  color: rgba(210, 175, 255, .98)
}

#track-artist:empty {
  display: none
}

#status {
  margin-top: .18rem;
  font-size: .82rem;
  color: rgba(222, 205, 255, .55)
}

#steering-note {
  position: fixed;
  left: 50%;
  top: calc(2.95rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 20;
  width: min(78vw, 400px);
  padding: .26rem .5rem;
  border: 1px solid rgba(214, 181, 255, .08);
  border-radius: 999px;
  background: rgba(5, 3, 14, .2);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  letter-spacing: .015em;
  line-height: 1.28;
  text-align: center;
  color: rgba(222, 205, 255, .58)
}

#action-dock {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease
}

.action-btn {
  position: fixed;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
  color: rgba(20, 18, 15, .78);
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

#action-dock.playing .action-btn:not(#play-btn) {
  opacity: .09;
  pointer-events: auto;
  transition: opacity .18s ease
}

#action-dock.playing .action-btn:not(#play-btn):hover,
#action-dock.playing .action-btn:not(#play-btn):active {
  opacity: .82
}

#action-dock.playing #play-btn {
  opacity: 1;
  pointer-events: auto
}

.action-btn:active {
  transform: translate(-50%, -50%) scale(.96)
}

#play-btn {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(5.2rem, 23vw, 7.2rem);
  height: clamp(5.2rem, 23vw, 7.2rem);
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .78), transparent 36%), rgba(214, 255, 223, .72);
  font-size: clamp(1.06rem, 4vw, 1.58rem);
  color: rgba(23, 58, 34, .82);
  box-shadow: 0 0 32px rgba(181, 255, 198, .26), 0 14px 32px rgba(0, 0, 0, .18);
  overflow: hidden
}

#play-btn::before {
  content: "Always Deeper";
  position: absolute;
  left: 50%;
  top: .58rem;
  transform: translateX(-50%);
  font-size: clamp(.34rem, 1.55vw, .48rem);
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(42, 74, 54, .76);
  text-shadow: 0 0 10px rgba(255, 255, 255, .22);
  white-space: nowrap;
  pointer-events: none;
  animation: always-deeper-pulse var(--sublim-speed, 2.8s) ease-in-out infinite
}

.play-btn-glyph {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  transition: opacity .25s ease, transform .25s ease, text-shadow .25s ease, color .25s ease
}

.play-eye {
  position: absolute;
  inset: 22% 13% 16%;
  opacity: 0;
  transform: scale(.82);
  pointer-events: none;
  overflow: hidden;
  transition: opacity .35s ease, transform .35s ease
}

.play-eye::before {
  content: "";
  position: absolute;
  inset: 10% 0 18%;
  border-radius: 52%/68%;
  background: radial-gradient(circle at 50% 46%, rgba(250, 252, 255, .96) 0 16%, rgba(228, 244, 255, .9) 17% 46%, rgba(150, 224, 255, .15) 67%, rgba(80, 120, 200, 0) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 18px rgba(175, 225, 255, .18)
}

.play-eye-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, rgba(255, 255, 255, .98) 0 6%, rgba(210, 245, 255, .96) 7% 14%, rgba(122, 238, 255, .92) 15% 33%, rgba(86, 126, 255, .88) 34% 58%, rgba(18, 22, 46, .96) 59% 76%, rgba(0, 0, 0, .99) 77% 100%);
  box-shadow: 0 0 12px rgba(129, 218, 255, .36)
}

.play-eye-core::after {
  content: "";
  position: absolute;
  right: 18%;
  top: 18%;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 8px rgba(255, 255, 255, .55)
}

.play-eye-lid {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 10%;
  height: 58%;
  border-radius: 50% 50% 58% 58%/100% 100% 26% 26%;
  background: linear-gradient(180deg, rgba(228, 238, 255, .94), rgba(156, 173, 222, .88) 58%, rgba(87, 101, 164, .82) 100%);
  box-shadow: 0 8px 14px rgba(33, 42, 92, .18);
  transform: scaleY(0);
  transform-origin: 50% 0;
  opacity: 0;
  animation: play-eye-blink 16s cubic-bezier(.38, 0, .18, 1) infinite
}

#play-btn.playing::before {
  color: rgba(244, 236, 255, .88);
  text-shadow: 0 0 12px rgba(185, 150, 255, .36)
}

#play-btn.playing {
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .16), rgba(197, 228, 255, .08) 34%, rgba(92, 128, 215, .16) 62%, rgba(18, 24, 52, .44) 100%) !important;
  border: 1px solid rgba(205, 238, 255, .62) !important;
  color: transparent !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 24px rgba(168, 226, 255, .22), 0 0 58px rgba(139, 166, 255, .18), 0 16px 34px rgba(0, 0, 0, .22);
  animation: play-eye-breathe 6.8s ease-in-out infinite
}

#play-btn.playing .play-btn-glyph {
  opacity: 1;
  transform: scale(.86);
  color: #000;
  text-shadow: none
}

#play-btn.playing .play-eye {
  opacity: 1;
  transform: scale(1)
}

.transport-btn {
  transform: translate(-50%, -50%);
  width: clamp(2.15rem, 7vw, 3.05rem);
  height: clamp(2.15rem, 7vw, 3.05rem);
  font-size: clamp(.82rem, 2.8vw, 1.16rem);
  background: rgba(226, 214, 255, .58);
  color: rgba(45, 28, 82, .86)
}

#loop-btn {
  left: calc(50% - clamp(3.15rem, 11vw, 4.6rem));
  top: calc(50% + clamp(3rem, 12vw, 4.2rem));
  background: rgba(184, 255, 211, .66);
  color: rgba(18, 86, 52, .9)
}

#back-btn {
  left: calc(50% - clamp(1rem, 4vw, 1.45rem));
  top: calc(50% + clamp(3.9rem, 14vw, 5.4rem));
  background: rgba(214, 202, 255, .66)
}

#restart-btn {
  left: calc(50% + clamp(1.15rem, 4.4vw, 1.65rem));
  top: calc(50% + clamp(3.9rem, 14vw, 5.4rem));
  background: rgba(255, 230, 172, .68);
  color: rgba(92, 66, 18, .9)
}

#skip-btn {
  left: calc(50% + clamp(3.45rem, 12vw, 5.05rem));
  top: calc(50% + clamp(3rem, 12vw, 4.2rem));
  background: rgba(198, 236, 255, .66);
  color: rgba(19, 67, 94, .9)
}

#fav-btn,
#dislike-btn {
  top: 50%;
  transform: translateY(-50%);
  width: clamp(2.35rem, 8.5vw, 3.3rem);
  height: clamp(2.35rem, 8.5vw, 3.3rem);
  font-size: clamp(.96rem, 3.8vw, 1.34rem)
}

#fav-btn {
  right: clamp(.65rem, 4vw, 2.4rem);
  background: rgba(190, 255, 203, .68);
  color: rgba(18, 86, 42, .82)
}

#dislike-btn {
  left: clamp(.65rem, 4vw, 2.4rem);
  background: rgba(255, 167, 174, .7);
  color: rgba(100, 24, 32, .86)
}

.action-btn.good.on,
.transport-btn.on {
  box-shadow: 0 0 32px rgba(153, 255, 181, .34), 0 14px 36px rgba(0, 0, 0, .16)
}

.action-btn.warn.on {
  box-shadow: 0 0 32px rgba(255, 136, 150, .32), 0 14px 36px rgba(0, 0, 0, .16)
}

#mini-shell {
  position: fixed;
  right: .55rem;
  bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
  z-index: 88;
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  pointer-events: none;
  transition: opacity .18s ease
}

#mini-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
  gap: .4rem;
  padding: .5rem;
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 22px;
  background: rgba(5, 3, 14, .48);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  transform: translateX(.55rem) translateY(.35rem) scale(.98);
  transform-origin: 100% 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
  max-width: min(38rem, calc(100vw - 4rem));
  max-height: min(82vh, 42rem);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin
}

#mini-shell.open #mini-panel {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto
}

#mini-panel-toggle {
  pointer-events: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .38);
  backdrop-filter: blur(12px);
  color: rgba(244, 236, 255, .86);
  cursor: pointer;
  letter-spacing: .08em
}

#mini-panel-toggle.on {
  border-color: rgba(184, 255, 211, .66);
  box-shadow: 0 0 18px rgba(153, 255, 181, .22)
}

#request-shell.playing,
#mini-shell.playing {
  opacity: .07
}

#request-shell.playing.open,
#mini-shell.playing.open {
  opacity: .9
}

#vr-posture {
  position: fixed;
  top: calc(2.55rem + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  font-size: .38rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(130, 220, 255, .72);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  white-space: nowrap;
  z-index: 91
}

#vr-posture.visible {
  opacity: 1
}

#vr-hud {
  position: fixed;
  top: calc(3.15rem + env(safe-area-inset-top, 0px));
  right: .72rem;
  z-index: 91;
  display: grid;
  gap: .14rem;
  min-width: 11.5rem;
  padding: .4rem .52rem;
  border: 1px solid rgba(130, 220, 255, .22);
  border-radius: 16px;
  background: rgba(3, 8, 18, .44);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  font-size: .42rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(214, 240, 255, .82);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-.2rem);
  transition: opacity .25s ease, transform .25s ease
}

.vr-hud-line {
  display: flex;
  justify-content: space-between;
  gap: .5rem
}

.vr-hud-line span:last-child {
  color: rgba(255, 240, 188, .88)
}

#vr-hud.visible {
  opacity: 1;
  transform: translateY(0)
}

.fx-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .28rem;
  padding: .42rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035)
}

.fx-label {
  grid-column: 1/-1;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .62);
  padding: .08rem .1rem
}

.mini,
.fx-chip {
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(244, 236, 255, .86);
  cursor: pointer;
  font-size: .9rem
}

.mini.on,
.fx-chip.on {
  border-color: rgba(184, 255, 211, .72);
  box-shadow: 0 0 18px rgba(153, 255, 181, .22);
  background: rgba(184, 255, 211, .12)
}

#beat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(169, 122, 255, .28);
  display: inline-block
}

#beat-dot.fl {
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .78), 0 0 22px rgba(169, 122, 255, .45)
}

@keyframes always-deeper-pulse {

  0%,
  100% {
    opacity: .86;
    transform: translateX(-50%) scale(1)
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04)
  }
}

@keyframes play-eye-breathe {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 24px rgba(168, 226, 255, .22), 0 0 58px rgba(139, 166, 255, .18), 0 16px 34px rgba(0, 0, 0, .22)
  }

  50% {
    transform: translate(-50%, -50%) scale(1.035);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 0 32px rgba(168, 226, 255, .28), 0 0 72px rgba(139, 166, 255, .22), 0 16px 34px rgba(0, 0, 0, .22)
  }
}

@keyframes play-eye-blink {

  0%,
  38%,
  100% {
    transform: scaleY(0);
    opacity: 0
  }

  42% {
    transform: scaleY(.24);
    opacity: .38
  }

  46% {
    transform: scaleY(.52);
    opacity: .62
  }

  50% {
    transform: scaleY(.86);
    opacity: .88
  }

  54% {
    transform: scaleY(.96);
    opacity: .94
  }

  58% {
    transform: scaleY(.66);
    opacity: .74
  }

  64% {
    transform: scaleY(.28);
    opacity: .42
  }

  70%,
  96% {
    transform: scaleY(0);
    opacity: 0
  }
}

@media (max-width:760px) {
  #topbar {
    top: calc(.42rem + env(safe-area-inset-top, 0px));
    left: .42rem;
    width: calc(100vw - .84rem)
  }

  .hud-control {
    font-size: .9rem;
    padding: 0 .46rem
  }

  #request-shell {
    left: .42rem;
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    top: auto
  }

  #tag-shell {
    left: .42rem;
    bottom: calc(2.95rem + env(safe-area-inset-bottom, 0px))
  }

  #request-panel {
    grid-template-columns: 1fr;
    max-width: min(18rem, calc(100vw - 3rem))
  }

  #tag-panel {
    max-width: min(18rem, calc(100vw - 3rem))
  }

  #request-panel-toggle,
  #tag-panel-toggle {
    min-width: 2.4rem;
    height: 2.4rem
  }

  .request-input {
    min-height: 38px;
    border-radius: 12px;
    font-size: .9rem;
    padding: 0 .54rem
  }

  #stage-hud {
    top: calc(3.3rem + env(safe-area-inset-top, 0px))
  }

  #vr-hud {
    top: calc(4.15rem + env(safe-area-inset-top, 0px));
    right: .42rem;
    min-width: 9.3rem;
    font-size: .38rem
  }

  #steering-note {
    top: calc(5.0rem + env(safe-area-inset-top, 0px));
    width: min(80vw, 360px);
    font-size: .82rem
  }

  #track-wrap {
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    width: 74vw
  }

  #track-name {
    font-size: clamp(1.05rem, 4.5vw, 1.45rem)
  }

  #play-btn {
    width: 5.6rem;
    height: 5.6rem;
    font-size: 1rem
  }

  #play-btn::before {
    top: .5rem;
    font-size: .28rem;
    letter-spacing: .16em
  }

  .transport-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: .86rem
  }

  #fav-btn,
  #dislike-btn {
    width: 2.05rem;
    height: 2.05rem;
    font-size: .96rem
  }

  #mini-shell {
    right: .42rem;
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    top: auto;
    align-items: flex-end;
    z-index: 92
  }

  #mini-panel {
    grid-template-columns: 1fr;
    max-width: min(22rem, calc(100vw - .84rem));
    max-height: calc(100dvh - 5.4rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: auto;
    transform-origin: 100% 100%
  }

  #mini-panel-toggle {
    min-width: 2.4rem;
    height: 2.4rem
  }

  .mini,
  .fx-chip {
    min-width: 2.5rem;
    min-height: 2.5rem
  }

  #always-deeper-banner {
    display: none
  }
}

#welcome-gate {
  padding: .7rem;
  overflow-y: auto;
  align-items: flex-start
}

.welcome-card {
  width: min(38rem, 96vw);
  max-height: none;
  overflow: visible;
  padding: 1.95rem 1.45rem 1.45rem;
  border-radius: 28px;
  gap: 1.08rem
}

.welcome-title {
  font-size: 1.3rem
}

.welcome-sub {
  font-size: .68rem;
  line-height: 1.6
}

.welcome-meta {
  font-size: .52rem;
  padding: .3rem .72rem
}

.welcome-copy,
.welcome-list-item,
.welcome-warning,
.tos-check-label {
  font-size: .6rem;
  line-height: 1.62
}

.welcome-hero {
  padding: 1rem .95rem
}

.welcome-hero-kicker {
  font-size: .44rem
}

.welcome-hero-title {
  font-size: .84rem
}

.welcome-hero-sub {
  font-size: .58rem;
  line-height: 1.58
}

.tos-scroll {
  max-height: 14rem;
  font-size: .56rem;
  line-height: 1.64
}

.welcome-btn {
  min-height: 3.12rem;
  font-size: .64rem
}

@media (max-width:420px) {
  #topbar {
    width: calc(100vw - .64rem);
    left: .32rem;
    top: calc(.32rem + env(safe-area-inset-top, 0px))
  }

  .hud-control {
    font-size: .9rem
  }

  #request-shell {
    left: .42rem;
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    top: auto
  }

  #tag-shell {
    left: .42rem;
    bottom: calc(2.85rem + env(safe-area-inset-bottom, 0px))
  }

  #request-panel,
  #tag-panel {
    max-width: min(calc(100vw - 1.6rem), 22rem)
  }

  .request-input {
    font-size: .9rem
  }

  #always-deeper-banner {
    display: none
  }

  #play-btn {
    width: 5.1rem;
    height: 5.1rem;
    font-size: .92rem
  }

  #play-btn::before {
    top: .44rem;
    font-size: .24rem;
    letter-spacing: .14em
  }

  .transport-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: .9rem
  }

  #fav-btn,
  #dislike-btn {
    width: 2rem;
    height: 2rem;
    font-size: .9rem
  }

  #fav-btn {
    right: .32rem
  }

  #dislike-btn {
    left: .32rem
  }

  #track-wrap {
    width: 72vw
  }

  #track-name {
    font-size: clamp(1.05rem, 4.5vw, 1.45rem)
  }

  #track-artist {
    font-size: clamp(.78rem, 3.2vw, .92rem)
  }

  #stage-hud {
    font-size: .78rem
  }

  #steering-note {
    font-size: .82rem;
    width: min(82vw, 360px)
  }

  .welcome-card {
    padding: 1.7rem 1.18rem 1.2rem;
    gap: 1rem
  }

  .welcome-title {
    font-size: 1.16rem
  }

  .welcome-sub {
    font-size: .62rem
  }

  .welcome-meta {
    font-size: .48rem;
    letter-spacing: .1em
  }

  .welcome-copy,
  .welcome-list-item,
  .welcome-warning,
  .tos-check-label {
    font-size: .56rem
  }

  .welcome-hero-kicker {
    font-size: .4rem;
    letter-spacing: .13em
  }

  .welcome-hero-title {
    font-size: .74rem
  }

  .welcome-hero-sub,
  .tos-scroll {
    font-size: .53rem
  }
}

#welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(.6rem, 2vh, 1rem) clamp(.85rem, 3vw, 1.6rem);
  background: radial-gradient(circle at 50% 20%, rgba(162, 108, 255, .14), transparent 36%), linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .84));
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity .32s ease
}

.welcome-card {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(38rem, 96vw);
  overflow: visible;
  padding: 2.25rem 2rem 1.9rem;
  border: 1px solid rgba(210, 184, 255, .18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(20, 10, 40, .94), rgba(8, 3, 20, .9));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 18px 54px rgba(0, 0, 0, .44), 0 0 92px rgba(112, 52, 198, .18);
  text-align: left;
  scrollbar-width: thin;
  margin-block: auto
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 34%;
  border-radius: 31px 31px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
  pointer-events: none
}

.welcome-title {
  font-size: clamp(1.28rem, 4vw, 1.62rem);
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(248, 242, 255, .96);
  text-align: center;
  text-shadow: 0 0 22px rgba(162, 108, 255, .16)
}

.welcome-sub {
  max-width: 27rem;
  margin: 0 auto;
  font-size: clamp(.58rem, 1.7vw, .68rem);
  letter-spacing: .03em;
  color: rgba(236, 224, 252, .78);
  line-height: 1.56;
  text-align: center
}

.welcome-meta {
  justify-self: center;
  padding: .26rem .72rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: .48rem;
  color: rgba(220, 196, 248, .94);
  min-height: 1.1em;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center
}

.welcome-body {
  display: grid;
  gap: .78rem
}

.welcome-copy {
  font-size: clamp(.54rem, 1.45vw, .6rem);
  line-height: 1.62;
  color: rgba(239, 231, 250, .82)
}

.welcome-copy strong {
  color: rgba(255, 239, 198, .94);
  font-weight: 600
}

.welcome-hero {
  padding: 1rem 1rem .92rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(184, 255, 211, .035));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .14)
}

.welcome-hero-kicker {
  display: inline-block;
  padding: .18rem .58rem;
  border: 1px solid rgba(255, 236, 184, .18);
  border-radius: 999px;
  background: rgba(255, 236, 184, .05);
  font-size: .4rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 231, 167, .82)
}

.welcome-hero-title {
  margin-top: .38rem;
  font-size: clamp(.72rem, 2vw, .86rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(248, 242, 255, .98)
}

.welcome-hero-sub {
  margin-top: .28rem;
  font-size: clamp(.48rem, 1.38vw, .54rem);
  line-height: 1.52;
  color: rgba(234, 222, 250, .84)
}

.welcome-list {
  display: grid;
  gap: .42rem;
  padding: .92rem 1rem;
  border: 1px solid rgba(214, 181, 255, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025)
}

.welcome-list-item {
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.52;
  color: rgba(238, 230, 250, .82)
}

.welcome-warning {
  padding: .92rem 1rem;
  border: 1px solid rgba(255, 196, 78, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 196, 78, .08), rgba(255, 196, 78, .045));
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.56;
  color: rgba(255, 230, 176, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03)
}

.welcome-warning strong {
  color: rgba(255, 247, 221, .98)
}

.tos-box {
  display: grid;
  gap: .62rem;
  padding: 1rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025)
}

.tos-title {
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 236, 184, .9);
  text-align: center
}

.tos-scroll {
  max-height: 13rem;
  overflow: auto;
  padding: .82rem .9rem;
  border: 1px solid rgba(214, 181, 255, .08);
  border-radius: 16px;
  background: rgba(5, 3, 14, .32);
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.62;
  color: rgba(240, 233, 250, .84);
  scrollbar-width: thin
}

.tos-check-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .08rem .1rem
}

.tos-check {
  margin-top: .18rem;
  transform: scale(1.08)
}

.tos-check-label {
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.5;
  color: rgba(240, 232, 252, .84)
}

.welcome-btns {
  display: grid;
  gap: .58rem;
  margin-top: .16rem
}

.welcome-btn {
  min-height: 2.9rem;
  border-radius: 999px;
  font-size: clamp(.58rem, 1.45vw, .64rem);
  letter-spacing: .12em;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .13s ease, background .18s ease, border-color .18s ease;
  color: rgba(244, 236, 255, .9);
  padding: 0 1.35rem
}

.welcome-btn:active {
  transform: scale(.97)
}

.welcome-btn.primary {
  border: 1px solid rgba(255, 236, 184, .2);
  background: linear-gradient(180deg, rgba(222, 208, 160, .18), rgba(184, 255, 211, .12));
  color: rgba(255, 248, 230, .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .08)
}

.welcome-btn.primary:hover {
  box-shadow: 0 0 34px rgba(255, 216, 137, .14), 0 12px 30px rgba(0, 0, 0, .18)
}

.welcome-btn.secondary {
  border: 1px solid rgba(214, 181, 255, .14);
  background: rgba(255, 255, 255, .035);
  color: rgba(230, 217, 248, .76)
}

.welcome-btn.secondary:hover {
  border-color: rgba(214, 181, 255, .24);
  background: rgba(255, 255, 255, .05)
}

.welcome-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none
}

#always-deeper-banner {
  position: fixed;
  left: 50%;
  top: calc(.72rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 29;
  padding: .28rem .85rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .3);
  backdrop-filter: blur(10px);
  font-size: clamp(.5rem, 1.55vw, .64rem);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 236, 255, .92);
  text-shadow: 0 0 16px rgba(169, 122, 255, .42);
  pointer-events: none;
  animation: always-deeper-pulse var(--sublim-speed, 2.8s) ease-in-out infinite
}

@keyframes always-deeper-pulse {

  0%,
  100% {
    opacity: .66;
    filter: drop-shadow(0 0 0 rgba(169, 122, 255, 0));
    transform: translateX(-50%) scale(.985)
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(169, 122, 255, .32));
    transform: translateX(-50%) scale(1.02)
  }
}

/* ── Warning gate components ─────────────────────────────────── */

.gate-logo {
  display: block;
  width: clamp(48px, 12vw, 80px);
  height: auto;
  margin: 0 auto .6rem
}

.gate-warning2 {
  display: block;
  max-width: min(88vw, 440px);
  width: 100%;
  height: auto;
  margin: 0 auto .9rem
}

.danger-banner {
  display: grid;
  gap: .38rem;
  padding: .82rem 1rem .72rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 60, 60, .55);
  background: rgba(160, 0, 0, .22);
  text-align: center
}

.danger-badge {
  display: inline-block;
  font-size: clamp(.52rem, 1.5vw, .62rem);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ff3c3c;
  margin-bottom: .18rem
}

.danger-title {
  font-size: clamp(.72rem, 2.4vw, .92rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ff5555;
  line-height: 1.2;
  margin: .18rem 0
}

.danger-sub {
  font-size: clamp(.5rem, 1.4vw, .58rem);
  color: rgba(255, 180, 180, .9);
  line-height: 1.52
}

.danger-items {
  list-style: none;
  padding: 0;
  margin: .32rem 0 0;
  display: grid;
  gap: .22rem;
  text-align: left
}

.danger-items li {
  font-size: clamp(.48rem, 1.3vw, .54rem);
  color: rgba(255, 210, 210, .88);
  letter-spacing: .04em
}

.danger-items li::before {
  content: "\26A0 ";
  color: #ff4444
}

.danger-epilepsy-box {
  background: #3a0000;
  border: 2px solid #ff2222;
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin: .9rem 0;
  text-align: left
}

.danger-epilepsy-title {
  color: #ff4444;
  font-size: clamp(.52rem, 1.5vw, .62rem);
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .4rem
}

.danger-epilepsy-body {
  color: #ffcccc;
  font-size: clamp(.46rem, 1.25vw, .52rem);
  line-height: 1.6
}

.danger-legal {
  margin-top: .52rem;
  padding: .52rem .7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 80, .22);
  background: rgba(0, 0, 0, .3);
  font-size: clamp(.38rem, 1vw, .44rem);
  color: rgba(220, 200, 200, .7);
  line-height: 1.6;
  text-align: left
}

#welcome-gate {
  padding: .7rem
}

.welcome-card {
  width: min(33rem, 96vw);
  max-height: min(92vh, 52rem);
  padding: 1.95rem 1.45rem 1.45rem;
  border-radius: 28px;
  gap: 1.08rem
}

.welcome-title {
  font-size: 1.3rem
}

.welcome-sub {
  font-size: .68rem;
  line-height: 1.6
}

.welcome-meta {
  font-size: .52rem;
  padding: .3rem .72rem
}

.welcome-copy,
.welcome-list-item,
.welcome-warning,
.tos-check-label {
  font-size: .6rem;
  line-height: 1.62
}

.welcome-hero {
  padding: 1rem .95rem
}

.welcome-hero-kicker {
  font-size: .44rem
}

.welcome-hero-title {
  font-size: .84rem
}

.welcome-hero-sub {
  font-size: .58rem;
  line-height: 1.58
}

.tos-scroll {
  max-height: 14rem;
  font-size: .56rem;
  line-height: 1.64
}

.welcome-btn {
  min-height: 3.12rem;
  font-size: .64rem
}

@media (max-width:420px) {
  #topbar {
    width: calc(100vw - .64rem);
    left: .32rem;
    top: calc(.32rem + env(safe-area-inset-top, 0px))
  }

  .hud-control {
    font-size: .9rem
  }

  #request-shell {
    left: .42rem;
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    top: auto
  }

  #tag-shell {
    left: .42rem;
    bottom: calc(2.85rem + env(safe-area-inset-bottom, 0px))
  }

  #request-panel,
  #tag-panel {
    max-width: min(calc(100vw - 1.6rem), 22rem)
  }

  .request-input {
    font-size: .9rem
  }

  #always-deeper-banner {
    display: none
  }

  #play-btn {
    width: 5.1rem;
    height: 5.1rem;
    font-size: .92rem
  }

  #play-btn::before {
    top: .44rem;
    font-size: .24rem;
    letter-spacing: .14em
  }

  .transport-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: .9rem
  }

  #fav-btn,
  #dislike-btn {
    width: 2rem;
    height: 2rem;
    font-size: .9rem
  }

  #fav-btn {
    right: .32rem
  }

  #dislike-btn {
    left: .32rem
  }

  #track-wrap {
    width: 72vw
  }

  #track-name {
    font-size: clamp(1.05rem, 4.5vw, 1.45rem)
  }

  #track-artist {
    font-size: clamp(.78rem, 3.2vw, .92rem)
  }

  #stage-hud {
    font-size: .78rem
  }

  #steering-note {
    font-size: .82rem;
    width: min(82vw, 360px)
  }

  .welcome-card {
    padding: 1.7rem 1.18rem 1.2rem;
    gap: 1rem
  }

  .welcome-title {
    font-size: 1.16rem
  }

  .welcome-sub {
    font-size: .62rem
  }

  .welcome-meta {
    font-size: .48rem;
    letter-spacing: .1em
  }

  .welcome-copy,
  .welcome-list-item,
  .welcome-warning,
  .tos-check-label {
    font-size: .56rem
  }

  .welcome-hero-kicker {
    font-size: .4rem;
    letter-spacing: .13em
  }

  .welcome-hero-title {
    font-size: .74rem
  }

  .welcome-hero-sub,
  .tos-scroll {
    font-size: .53rem
  }
}

#welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(.85rem, 3vw, 1.6rem);
  background: radial-gradient(circle at 50% 20%, rgba(162, 108, 255, .14), transparent 36%), linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .84));
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity .32s ease
}

.welcome-card {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(31rem, 94vw);
  max-height: min(90vh, 50rem);
  overflow: auto;
  padding: 2.25rem 2rem 1.9rem;
  border: 1px solid rgba(210, 184, 255, .18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(20, 10, 40, .94), rgba(8, 3, 20, .9));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 18px 54px rgba(0, 0, 0, .44), 0 0 92px rgba(112, 52, 198, .18);
  text-align: left;
  scrollbar-width: thin
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 34%;
  border-radius: 31px 31px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
  pointer-events: none
}

.welcome-title {
  font-size: clamp(1.28rem, 4vw, 1.62rem);
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(248, 242, 255, .96);
  text-align: center;
  text-shadow: 0 0 22px rgba(162, 108, 255, .16)
}

.welcome-sub {
  max-width: 27rem;
  margin: 0 auto;
  font-size: clamp(.58rem, 1.7vw, .68rem);
  letter-spacing: .03em;
  color: rgba(236, 224, 252, .78);
  line-height: 1.56;
  text-align: center
}

.welcome-meta {
  justify-self: center;
  padding: .26rem .72rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: .48rem;
  color: rgba(220, 196, 248, .94);
  min-height: 1.1em;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center
}

.welcome-body {
  display: grid;
  gap: .78rem
}

.welcome-copy {
  font-size: clamp(.54rem, 1.45vw, .6rem);
  line-height: 1.62;
  color: rgba(239, 231, 250, .82)
}

.welcome-copy strong {
  color: rgba(255, 239, 198, .94);
  font-weight: 600
}

.welcome-hero {
  padding: 1rem 1rem .92rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(184, 255, 211, .035));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .14)
}

.welcome-hero-kicker {
  display: inline-block;
  padding: .18rem .58rem;
  border: 1px solid rgba(255, 236, 184, .18);
  border-radius: 999px;
  background: rgba(255, 236, 184, .05);
  font-size: .4rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 231, 167, .82)
}

.welcome-hero-title {
  margin-top: .38rem;
  font-size: clamp(.72rem, 2vw, .86rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(248, 242, 255, .98)
}

.welcome-hero-sub {
  margin-top: .28rem;
  font-size: clamp(.48rem, 1.38vw, .54rem);
  line-height: 1.52;
  color: rgba(234, 222, 250, .84)
}

.welcome-list {
  display: grid;
  gap: .42rem;
  padding: .92rem 1rem;
  border: 1px solid rgba(214, 181, 255, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025)
}

.welcome-list-item {
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.52;
  color: rgba(238, 230, 250, .82)
}

.welcome-warning {
  padding: .92rem 1rem;
  border: 1px solid rgba(255, 196, 78, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 196, 78, .08), rgba(255, 196, 78, .045));
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.56;
  color: rgba(255, 230, 176, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03)
}

.welcome-warning strong {
  color: rgba(255, 247, 221, .98)
}

.tos-box {
  display: grid;
  gap: .62rem;
  padding: 1rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025)
}

.tos-title {
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 236, 184, .9);
  text-align: center
}

.tos-scroll {
  max-height: 13rem;
  overflow: auto;
  padding: .82rem .9rem;
  border: 1px solid rgba(214, 181, 255, .08);
  border-radius: 16px;
  background: rgba(5, 3, 14, .32);
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.62;
  color: rgba(240, 233, 250, .84);
  scrollbar-width: thin
}

.tos-check-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .08rem .1rem
}

.tos-check {
  margin-top: .18rem;
  transform: scale(1.08)
}

.tos-check-label {
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.5;
  color: rgba(240, 232, 252, .84)
}

.welcome-btns {
  display: grid;
  gap: .58rem;
  margin-top: .16rem
}

.welcome-btn {
  min-height: 2.9rem;
  border-radius: 999px;
  font-size: clamp(.58rem, 1.45vw, .64rem);
  letter-spacing: .12em;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .13s ease, background .18s ease, border-color .18s ease;
  color: rgba(244, 236, 255, .9);
  padding: 0 1.35rem
}

.welcome-btn:active {
  transform: scale(.97)
}

.welcome-btn.primary {
  border: 1px solid rgba(255, 236, 184, .2);
  background: linear-gradient(180deg, rgba(222, 208, 160, .18), rgba(184, 255, 211, .12));
  color: rgba(255, 248, 230, .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .08)
}

.welcome-btn.primary:hover {
  box-shadow: 0 0 34px rgba(255, 216, 137, .14), 0 12px 30px rgba(0, 0, 0, .18)
}

.welcome-btn.secondary {
  border: 1px solid rgba(214, 181, 255, .14);
  background: rgba(255, 255, 255, .035);
  color: rgba(230, 217, 248, .76)
}

.welcome-btn.secondary:hover {
  border-color: rgba(214, 181, 255, .24);
  background: rgba(255, 255, 255, .05)
}

.welcome-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none
}

#always-deeper-banner {
  position: fixed;
  left: 50%;
  top: calc(.72rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 29;
  padding: .28rem .85rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .3);
  backdrop-filter: blur(10px);
  font-size: clamp(.5rem, 1.55vw, .64rem);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 236, 255, .92);
  text-shadow: 0 0 16px rgba(169, 122, 255, .42);
  pointer-events: none;
  animation: always-deeper-pulse var(--sublim-speed, 2.8s) ease-in-out infinite
}

@keyframes always-deeper-pulse {

  0%,
  100% {
    opacity: .66;
    filter: drop-shadow(0 0 0 rgba(169, 122, 255, 0));
    transform: translateX(-50%) scale(.985)
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(169, 122, 255, .32));
    transform: translateX(-50%) scale(1.02)
  }
}

#stage-hud {
  top: calc(3.3rem + env(safe-area-inset-top, 0px))
}

#vr-hud {
  top: calc(4.15rem + env(safe-area-inset-top, 0px));
  right: .42rem;
  min-width: 9.3rem;
  font-size: .38rem
}

#steering-note {
  top: calc(5.0rem + env(safe-area-inset-top, 0px));
  width: min(80vw, 360px);
  font-size: .82rem
}

#track-wrap {
  bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
  width: 74vw
}

#track-name {
  font-size: clamp(1.05rem, 4.5vw, 1.45rem)
}

#play-btn {
  width: 5.6rem;
  height: 5.6rem;
  font-size: 1rem
}

#play-btn::before {
  top: .5rem;
  font-size: .28rem;
  letter-spacing: .16em
}

.transport-btn {
  width: 2.2rem;
  height: 2.2rem;
  font-size: .86rem
}

#fav-btn,
#dislike-btn {
  width: 2.05rem;
  height: 2.05rem;
  font-size: .96rem
}

#mini-shell {
  right: .42rem;
  bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
  top: auto;
  align-items: flex-end;
  z-index: 92
}

#mini-panel {
  grid-template-columns: 1fr;
  max-width: min(22rem, calc(100vw - .84rem));
  max-height: calc(100dvh - 5.4rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  transform-origin: 100% 100%
}

#mini-panel-toggle {
  min-width: 2.4rem;
  height: 2.4rem
}

.mini,
.fx-chip {
  min-width: 2.5rem;
  min-height: 2.5rem
}

#always-deeper-banner {
  display: none
}

#welcome-gate {
  padding: .7rem
}

.welcome-card {
  width: min(33rem, 96vw);
  max-height: min(92vh, 52rem);
  padding: 1.95rem 1.45rem 1.45rem;
  border-radius: 28px;
  gap: 1.08rem
}

.welcome-title {
  font-size: 1.3rem
}

.welcome-sub {
  font-size: .68rem;
  line-height: 1.6
}

.welcome-meta {
  font-size: .52rem;
  padding: .3rem .72rem
}

.welcome-copy,
.welcome-list-item,
.welcome-warning,
.tos-check-label {
  font-size: .6rem;
  line-height: 1.62
}

.welcome-hero {
  padding: 1rem .95rem
}

.welcome-hero-kicker {
  font-size: .44rem
}

.welcome-hero-title {
  font-size: .84rem
}

.welcome-hero-sub {
  font-size: .58rem;
  line-height: 1.58
}

.tos-scroll {
  max-height: 14rem;
  font-size: .56rem;
  line-height: 1.64
}

.welcome-btn {
  min-height: 3.12rem;
  font-size: .64rem
}

@media (max-width:420px) {
  #topbar {
    width: calc(100vw - .64rem);
    left: .32rem;
    top: calc(.32rem + env(safe-area-inset-top, 0px))
  }

  .hud-control {
    font-size: .9rem
  }

  #request-shell {
    left: .42rem;
    bottom: calc(.42rem + env(safe-area-inset-bottom, 0px));
    top: auto
  }

  #tag-shell {
    left: .42rem;
    bottom: calc(2.85rem + env(safe-area-inset-bottom, 0px))
  }

  #request-panel,
  #tag-panel {
    max-width: min(calc(100vw - 1.6rem), 22rem)
  }

  .request-input {
    font-size: .9rem
  }

  #always-deeper-banner {
    display: none
  }

  #play-btn {
    width: 5.1rem;
    height: 5.1rem;
    font-size: .92rem
  }

  #play-btn::before {
    top: .44rem;
    font-size: .24rem;
    letter-spacing: .14em
  }

  .transport-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: .9rem
  }

  #fav-btn,
  #dislike-btn {
    width: 2rem;
    height: 2rem;
    font-size: .9rem
  }

  #fav-btn {
    right: .32rem
  }

  #dislike-btn {
    left: .32rem
  }

  #track-wrap {
    width: 72vw
  }

  #track-name {
    font-size: clamp(1.05rem, 4.5vw, 1.45rem)
  }

  #track-artist {
    font-size: clamp(.78rem, 3.2vw, .92rem)
  }

  #stage-hud {
    font-size: .78rem
  }

  #steering-note {
    font-size: .82rem;
    width: min(82vw, 360px)
  }

  .welcome-card {
    padding: 1.7rem 1.18rem 1.2rem;
    gap: 1rem
  }

  .welcome-title {
    font-size: 1.16rem
  }

  .welcome-sub {
    font-size: .62rem
  }

  .welcome-meta {
    font-size: .48rem;
    letter-spacing: .1em
  }

  .welcome-copy,
  .welcome-list-item,
  .welcome-warning,
  .tos-check-label {
    font-size: .56rem
  }

  .welcome-hero-kicker {
    font-size: .4rem;
    letter-spacing: .13em
  }

  .welcome-hero-title {
    font-size: .74rem
  }

  .welcome-hero-sub,
  .tos-scroll {
    font-size: .53rem
  }
}

#welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(.85rem, 3vw, 1.6rem);
  background: radial-gradient(circle at 50% 20%, rgba(162, 108, 255, .14), transparent 36%), linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .84));
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity .32s ease
}

.welcome-card {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(31rem, 94vw);
  max-height: min(90vh, 50rem);
  overflow: auto;
  padding: 2.25rem 2rem 1.9rem;
  border: 1px solid rgba(210, 184, 255, .18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(20, 10, 40, .94), rgba(8, 3, 20, .9));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 18px 54px rgba(0, 0, 0, .44), 0 0 92px rgba(112, 52, 198, .18);
  text-align: left;
  scrollbar-width: thin
}

.welcome-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 34%;
  border-radius: 31px 31px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
  pointer-events: none
}

.welcome-title {
  font-size: clamp(1.28rem, 4vw, 1.62rem);
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(248, 242, 255, .96);
  text-align: center;
  text-shadow: 0 0 22px rgba(162, 108, 255, .16)
}

.welcome-sub {
  max-width: 27rem;
  margin: 0 auto;
  font-size: clamp(.58rem, 1.7vw, .68rem);
  letter-spacing: .03em;
  color: rgba(236, 224, 252, .78);
  line-height: 1.56;
  text-align: center
}

.welcome-meta {
  justify-self: center;
  padding: .26rem .72rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: .48rem;
  color: rgba(220, 196, 248, .94);
  min-height: 1.1em;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center
}

.welcome-body {
  display: grid;
  gap: .78rem
}

.welcome-copy {
  font-size: clamp(.54rem, 1.45vw, .6rem);
  line-height: 1.62;
  color: rgba(239, 231, 250, .82)
}

.welcome-copy strong {
  color: rgba(255, 239, 198, .94);
  font-weight: 600
}

.welcome-hero {
  padding: 1rem 1rem .92rem;
  border: 1px solid rgba(214, 181, 255, .14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(184, 255, 211, .035));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .14)
}

.welcome-hero-kicker {
  display: inline-block;
  padding: .18rem .58rem;
  border: 1px solid rgba(255, 236, 184, .18);
  border-radius: 999px;
  background: rgba(255, 236, 184, .05);
  font-size: .4rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 231, 167, .82)
}

.welcome-hero-title {
  margin-top: .38rem;
  font-size: clamp(.72rem, 2vw, .86rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(248, 242, 255, .98)
}

.welcome-hero-sub {
  margin-top: .28rem;
  font-size: clamp(.48rem, 1.38vw, .54rem);
  line-height: 1.52;
  color: rgba(234, 222, 250, .84)
}

.welcome-list {
  display: grid;
  gap: .42rem;
  padding: .92rem 1rem;
  border: 1px solid rgba(214, 181, 255, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025)
}

.welcome-list-item {
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.52;
  color: rgba(238, 230, 250, .82)
}

.welcome-warning {
  padding: .92rem 1rem;
  border: 1px solid rgba(255, 196, 78, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 196, 78, .08), rgba(255, 196, 78, .045));
  font-size: clamp(.49rem, 1.35vw, .55rem);
  line-height: 1.56;
  color: rgba(255, 230, 176, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03)
}

.welcome-warning strong {
  color: rgba(255, 247, 221, .98)
}

.tos-box {
  display: grid;
  gap: .62rem;
  padding: 1rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025)
}

.tos-title {
  font-size: .5rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 236, 184, .9);
  text-align: center
}

.tos-scroll {
  max-height: 13rem;
  overflow: auto;
  padding: .82rem .9rem;
  border: 1px solid rgba(214, 181, 255, .08);
  border-radius: 16px;
  background: rgba(5, 3, 14, .32);
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.62;
  color: rgba(240, 233, 250, .84);
  scrollbar-width: thin
}

.tos-check-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .08rem .1rem
}

.tos-check {
  margin-top: .18rem;
  transform: scale(1.08)
}

.tos-check-label {
  font-size: clamp(.46rem, 1.25vw, .5rem);
  line-height: 1.5;
  color: rgba(240, 232, 252, .84)
}

.welcome-btns {
  display: grid;
  gap: .58rem;
  margin-top: .16rem
}

.welcome-btn {
  min-height: 2.9rem;
  border-radius: 999px;
  font-size: clamp(.58rem, 1.45vw, .64rem);
  letter-spacing: .12em;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .13s ease, background .18s ease, border-color .18s ease;
  color: rgba(244, 236, 255, .9);
  padding: 0 1.35rem
}

.welcome-btn:active {
  transform: scale(.97)
}

.welcome-btn.primary {
  border: 1px solid rgba(255, 236, 184, .2);
  background: linear-gradient(180deg, rgba(222, 208, 160, .18), rgba(184, 255, 211, .12));
  color: rgba(255, 248, 230, .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .08)
}

.welcome-btn.primary:hover {
  box-shadow: 0 0 34px rgba(255, 216, 137, .14), 0 12px 30px rgba(0, 0, 0, .18)
}

.welcome-btn.secondary {
  border: 1px solid rgba(214, 181, 255, .14);
  background: rgba(255, 255, 255, .035);
  color: rgba(230, 217, 248, .76)
}

.welcome-btn.secondary:hover {
  border-color: rgba(214, 181, 255, .24);
  background: rgba(255, 255, 255, .05)
}

.welcome-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none
}

#always-deeper-banner {
  position: fixed;
  left: 50%;
  top: calc(.72rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 29;
  padding: .28rem .85rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .3);
  backdrop-filter: blur(10px);
  font-size: clamp(.5rem, 1.55vw, .64rem);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244, 236, 255, .92);
  text-shadow: 0 0 16px rgba(169, 122, 255, .42);
  pointer-events: none;
  animation: always-deeper-pulse var(--sublim-speed, 2.8s) ease-in-out infinite
}

@keyframes always-deeper-pulse {

  0%,
  100% {
    opacity: .66;
    filter: drop-shadow(0 0 0 rgba(169, 122, 255, 0));
    transform: translateX(-50%) scale(.985)
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(169, 122, 255, .32));
    transform: translateX(-50%) scale(1.02)
  }
}

#persona-shell {
  position: fixed;
  right: .55rem;
  bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  pointer-events: none;
  transition: opacity .18s ease
}

#persona-panel {
  display: grid;
  gap: .38rem;
  width: min(28rem, calc(100vw - 4rem));
  max-height: min(70vh, 38rem);
  overflow-y: auto;
  padding: .52rem;
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 22px;
  background: rgba(5, 3, 14, .54);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  transform: translateX(.55rem) translateY(.35rem) scale(.98);
  transform-origin: 100% 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
  scrollbar-width: thin
}

#persona-shell.open #persona-panel {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto
}

#persona-panel-toggle {
  pointer-events: auto;
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(214, 181, 255, .16);
  border-radius: 999px;
  background: rgba(5, 3, 14, .38);
  backdrop-filter: blur(12px);
  color: rgba(244, 236, 255, .86);
  cursor: pointer;
  font-size: .52rem;
  letter-spacing: .04em
}

#persona-panel-toggle.on {
  border-color: rgba(255, 196, 230, .55);
  box-shadow: 0 0 18px rgba(255, 140, 207, .22)
}

.persona-card {
  padding: .48rem .58rem;
  border: 1px solid rgba(214, 181, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  display: grid;
  gap: .24rem;
  cursor: pointer;
  transition: border-color .16s, background .16s;
  position: relative
}

.persona-card.active {
  border-color: rgba(255, 196, 230, .55);
  background: rgba(255, 140, 207, .07)
}

.persona-card:hover {
  border-color: rgba(214, 181, 255, .28);
  background: rgba(255, 255, 255, .06)
}

.persona-name {
  font-size: .62rem;
  font-weight: 500;
  color: rgba(244, 236, 255, .92);
  letter-spacing: .03em
}

.persona-meta {
  font-size: .43rem;
  color: rgba(169, 122, 255, .78);
  letter-spacing: .06em
}

.persona-desc {
  font-size: .45rem;
  color: rgba(222, 205, 255, .55);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.persona-stars {
  display: flex;
  gap: .18rem;
  align-items: center
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: .7rem;
  color: rgba(214, 181, 255, .3);
  line-height: 1;
  padding: .04rem;
  transition: color .12s
}

.star-btn.lit {
  color: rgba(255, 196, 78, .9)
}

.persona-gen-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem;
  padding: .4rem;
  border: 1px solid rgba(169, 122, 255, .18);
  border-radius: 13px;
  background: rgba(169, 122, 255, .055)
}

.persona-gen-input {
  background: rgba(5, 3, 14, .4);
  border: 1px solid rgba(214, 181, 255, .18);
  border-radius: 11px;
  padding: .32rem .48rem;
  color: rgba(244, 236, 255, .9);
  font-size: .48rem;
  outline: none
}

.persona-gen-input::placeholder {
  color: rgba(222, 205, 255, .36)
}

.persona-gen-btn {
  min-height: 1.85rem;
  min-width: 3.8rem;
  border: 1px solid rgba(184, 255, 211, .28);
  border-radius: 11px;
  background: rgba(184, 255, 211, .09);
  color: rgba(230, 255, 240, .9);
  cursor: pointer;
  font-size: .46rem;
  letter-spacing: .07em
}

.persona-del-btn {
  position: absolute;
  top: .38rem;
  right: .48rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .46rem;
  color: rgba(255, 144, 161, .3);
  transition: color .12s;
  line-height: 1
}

.persona-del-btn:hover {
  color: rgba(255, 144, 161, .82)
}

.persona-none-msg {
  font-size: .47rem;
  color: rgba(222, 205, 255, .38);
  text-align: center;
  padding: .55rem 0
}

.persona-section-label {
  font-size: .43rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .44);
  padding: .12rem .1rem
}

#persona-shell.playing {
  opacity: .07
}

#persona-shell.playing.open {
  opacity: .9
}

.pcard {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55)
}

.pcard:hover {
  transform: translateY(-4px) scale(1.02)
}

.pcard:active {
  transform: scale(.98)
}

.pcard[data-gender="female"] {
  background: linear-gradient(160deg, #140026 0%, #22004a 40%, #1a001a 100%);
  border: 1px solid rgba(255, 110, 180, .35)
}

.pcard[data-gender="male"] {
  background: linear-gradient(160deg, #001428 0%, #001e48 40%, #001a20 100%);
  border: 1px solid rgba(64, 160, 255, .35)
}

.pcard[data-gender="nonbinary"] {
  background: linear-gradient(160deg, #001820 0%, #160048 40%, #001a28 100%);
  border: 1px solid rgba(100, 220, 180, .35)
}

.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .04) 42%, rgba(255, 255, 255, .10) 50%, rgba(255, 255, 255, .04) 58%, transparent 65%);
  background-size: 300% 300%;
  animation: holo-shimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1
}

@keyframes holo-shimmer {

  0%,
  100% {
    background-position: 200% 50%
  }

  50% {
    background-position: 0% 50%
  }
}

.pcard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .42rem .58rem .2rem;
  position: relative;
  z-index: 2
}

.pcard-rank {
  font-size: .56rem;
  font-weight: 700;
  color: rgba(255, 215, 80, .92);
  letter-spacing: .06em;
  text-shadow: 0 0 8px rgba(255, 200, 0, .4)
}

.pcard-hp {
  font-size: .48rem;
  color: rgba(220, 200, 255, .6);
  letter-spacing: .04em
}

.pcard-tier-badge {
  font-size: .36rem;
  letter-spacing: .12em;
  font-weight: 700;
  padding: .12rem .36rem;
  border-radius: 999px;
  text-transform: uppercase
}

.pcard[data-tier="LEGENDARY"] .pcard-tier-badge {
  background: linear-gradient(90deg, #ffb700, #ff5500);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 130, 0, .5)
}

.pcard[data-tier="ELITE"] .pcard-tier-badge {
  background: rgba(200, 150, 255, .18);
  color: rgba(210, 170, 255, .95);
  border: 1px solid rgba(200, 150, 255, .4)
}

.pcard[data-tier="PRO"] .pcard-tier-badge {
  background: rgba(80, 180, 255, .14);
  color: rgba(150, 215, 255, .9);
  border: 1px solid rgba(80, 180, 255, .32)
}

.pcard[data-tier="RISING"] .pcard-tier-badge {
  background: rgba(80, 220, 150, .12);
  color: rgba(130, 240, 175, .85);
  border: 1px solid rgba(80, 220, 150, .26)
}

.pcard[data-tier="ROOKIE"] .pcard-tier-badge {
  background: rgba(160, 160, 180, .08);
  color: rgba(190, 190, 210, .65);
  border: 1px solid rgba(160, 160, 180, .2)
}

.pcard-art {
  position: relative;
  z-index: 2;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.pcard-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 200;
  transition: transform .3s ease
}

.pcard:hover .pcard-avatar {
  transform: scale(1.08)
}

.pcard[data-gender="female"] .pcard-avatar {
  background: radial-gradient(circle at 35% 30%, rgba(255, 140, 200, .22), rgba(180, 60, 200, .1));
  border: 1px solid rgba(255, 120, 200, .28);
  color: rgba(255, 185, 225, .9)
}

.pcard[data-gender="male"] .pcard-avatar {
  background: radial-gradient(circle at 35% 30%, rgba(60, 150, 255, .22), rgba(30, 100, 200, .1));
  border: 1px solid rgba(60, 150, 255, .28);
  color: rgba(150, 200, 255, .9)
}

.pcard[data-gender="nonbinary"] .pcard-avatar {
  background: radial-gradient(circle at 35% 30%, rgba(80, 210, 165, .22), rgba(140, 60, 255, .1));
  border: 1px solid rgba(100, 210, 165, .28);
  color: rgba(150, 235, 200, .9)
}

.pcard-namebar {
  padding: .18rem .58rem .08rem;
  position: relative;
  z-index: 2
}

.pcard-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.15
}

.pcard[data-gender="female"] .pcard-name {
  color: rgba(255, 195, 228, .95)
}

.pcard[data-gender="male"] .pcard-name {
  color: rgba(170, 215, 255, .95)
}

.pcard[data-gender="nonbinary"] .pcard-name {
  color: rgba(155, 235, 205, .95)
}

.pcard-callsign {
  font-size: .72rem;
  color: rgba(200, 175, 255, .6);
  letter-spacing: .04em;
  margin-top: .06rem
}

.pcard-quote {
  padding: .18rem .58rem;
  font-size: .75rem;
  color: rgba(215, 200, 255, .52);
  font-style: italic;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  z-index: 2
}

.pcard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: .28rem .42rem;
  background: rgba(255, 255, 255, .04);
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  z-index: 2
}

.pstat {
  background: rgba(0, 0, 0, .22);
  padding: .28rem .06rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .05rem
}

.pstat-val {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(244, 236, 255, .9);
  line-height: 1
}

.pstat-lbl {
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(200, 182, 255, .5);
  text-transform: uppercase
}

.pcard-stars {
  display: flex;
  gap: .14rem;
  align-items: center;
  padding: .22rem .58rem .08rem;
  position: relative;
  z-index: 2
}

.pcard-world-rank {
  font-size: .68rem;
  color: rgba(255, 215, 80, .72);
  letter-spacing: .04em;
  margin-left: auto
}

.pcard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .28rem;
  padding: .28rem .42rem .42rem;
  position: relative;
  z-index: 2
}

.pcard-follow-btn {
  min-height: 1.85rem;
  border-radius: 10px;
  border: 1px solid rgba(120, 215, 175, .28);
  background: rgba(120, 215, 175, .08);
  color: rgba(170, 245, 215, .82);
  cursor: pointer;
  font-size: .42rem;
  letter-spacing: .05em;
  transition: background .14s, box-shadow .14s
}

.pcard-follow-btn.following {
  border-color: rgba(120, 215, 175, .6);
  background: rgba(120, 215, 175, .18);
  box-shadow: 0 0 14px rgba(90, 215, 155, .18);
  color: rgba(200, 255, 235, .95)
}

.pcard-tip-btn {
  min-height: 1.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 196, 78, .24);
  background: rgba(255, 196, 78, .07);
  color: rgba(255, 212, 110, .78);
  cursor: pointer;
  font-size: .42rem;
  letter-spacing: .05em;
  transition: background .14s, box-shadow .14s
}

.pcard-tip-btn:hover {
  background: rgba(255, 196, 78, .17);
  box-shadow: 0 0 14px rgba(255, 180, 0, .18)
}

.pcard-active-ribbon {
  display: none;
  position: absolute;
  top: .65rem;
  right: -.38rem;
  background: rgba(120, 255, 175, .14);
  border: 1px solid rgba(120, 255, 175, .38);
  color: rgba(170, 255, 215, .9);
  font-size: .3rem;
  letter-spacing: .16em;
  padding: .1rem .65rem .1rem .38rem;
  transform: rotate(2deg);
  z-index: 3
}

.pcard.active .pcard-active-ribbon {
  display: block
}

.pcard-del-btn {
  position: absolute;
  top: .32rem;
  left: .42rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .38rem;
  color: rgba(255, 130, 150, .2);
  transition: color .12s;
  line-height: 1;
  z-index: 4;
  padding: .1rem
}

.pcard-del-btn:hover {
  color: rgba(255, 130, 150, .78)
}

@media(min-width:780px) {
  #persona-panel {
    width: min(52rem, calc(100vw - 4rem))
  }

  #persona-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .42rem
  }
}

#gate-toast {
  position: fixed;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 196, 78, .28);
  border-radius: 999px;
  background: rgba(6, 3, 16, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
  pointer-events: auto;
  white-space: nowrap
}

#gate-toast.visible {
  display: flex
}

.gate-msg {
  font-size: .47rem;
  color: rgba(255, 210, 140, .88);
  letter-spacing: .03em
}

.gate-cta {
  padding: .2rem .55rem;
  border: 1px solid rgba(255, 196, 78, .4);
  border-radius: 999px;
  background: rgba(255, 196, 78, .12);
  color: rgba(255, 215, 110, .9);
  cursor: pointer;
  font-size: .42rem;
  letter-spacing: .06em
}

.gate-close {
  background: none;
  border: none;
  color: rgba(222, 205, 255, .4);
  cursor: pointer;
  font-size: .62rem;
  line-height: 1;
  padding: 0 .1rem
}

.play-counter {
  font-size: .38rem;
  color: rgba(200, 185, 255, .55);
  letter-spacing: .05em;
  padding: .14rem .38rem;
  border: 1px solid rgba(200, 185, 255, .14);
  border-radius: 999px;
  background: rgba(5, 3, 14, .3);
  backdrop-filter: blur(8px);
  white-space: nowrap
}

.play-counter.low {
  color: rgba(255, 180, 100, .78);
  border-color: rgba(255, 180, 100, .28)
}

#auth-shell {
  position: fixed;
  top: .55rem;
  right: .7rem;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: .35rem
}

#auth-btn {
  height: 1.9rem;
  padding: 0 .75rem;
  border: 1px solid rgba(214, 181, 255, .22);
  border-radius: 999px;
  background: rgba(5, 3, 14, .42);
  backdrop-filter: blur(10px);
  color: rgba(244, 236, 255, .78);
  cursor: pointer;
  font-size: .44rem;
  letter-spacing: .05em;
  transition: border-color .15s, box-shadow .15s;
  white-space: nowrap
}

#auth-btn:hover {
  border-color: rgba(184, 255, 211, .4);
  box-shadow: 0 0 18px rgba(100, 255, 180, .12)
}

#auth-avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 255, 211, .32);
  object-fit: cover;
  display: none
}

.persona-tip-btn {
  padding: .18rem .42rem;
  border: 1px solid rgba(255, 196, 78, .28);
  border-radius: 999px;
  background: rgba(255, 196, 78, .07);
  color: rgba(255, 215, 100, .8);
  cursor: pointer;
  font-size: .4rem;
  letter-spacing: .04em;
  transition: background .13s, box-shadow .13s;
  margin-top: .12rem;
  display: block;
  width: 100%;
  box-sizing: border-box
}

.persona-tip-btn:hover {
  background: rgba(255, 196, 78, .16);
  box-shadow: 0 0 12px rgba(255, 196, 78, .18)
}

.persona-callsign {
  font-size: .41rem;
  color: rgba(169, 122, 255, .7);
  letter-spacing: .06em
}

.persona-choir {
  font-size: .4rem;
  color: rgba(222, 205, 255, .38);
  line-height: 1.38;
  font-style: italic;
  margin-top: .06rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical
}

.persona-fame {
  font-size: .38rem;
  color: rgba(255, 196, 78, .62);
  letter-spacing: .04em;
  margin-left: .3rem
}

#tip-modal,
#fan-mail-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px)
}

#tip-modal.open,
#fan-mail-modal.open {
  display: flex
}

.tip-card {
  display: grid;
  gap: .7rem;
  width: min(20rem, 88vw);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 196, 78, .2);
  border-radius: 24px;
  background: rgba(6, 3, 16, .9);
  box-shadow: 0 0 60px rgba(255, 196, 78, .1), 0 28px 60px rgba(0, 0, 0, .5)
}

.tip-artist-name {
  font-size: .88rem;
  font-weight: 300;
  letter-spacing: .07em;
  color: rgba(255, 215, 150, .94);
  text-align: center
}

.tip-sub {
  font-size: .43rem;
  color: rgba(222, 205, 255, .44);
  text-align: center
}

.tip-amounts {
  display: flex;
  gap: .35rem;
  justify-content: center;
  flex-wrap: wrap
}

.tip-amount-btn {
  min-width: 3.4rem;
  padding: .36rem .46rem;
  border: 1px solid rgba(255, 196, 78, .22);
  border-radius: 12px;
  background: rgba(255, 196, 78, .07);
  color: rgba(255, 215, 100, .85);
  cursor: pointer;
  font-size: .5rem;
  text-align: center;
  line-height: 1.3;
  transition: border-color .14s, background .14s
}

.tip-amount-btn.sel {
  border-color: rgba(255, 196, 78, .78);
  background: rgba(255, 196, 78, .2)
}

.tip-msg,
.fan-mail-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 3, 14, .5);
  border: 1px solid rgba(214, 181, 255, .18);
  border-radius: 11px;
  padding: .3rem .46rem;
  color: rgba(244, 236, 255, .9);
  font-size: .46rem;
  outline: none;
  resize: none
}

.tip-msg::placeholder,
.fan-mail-input::placeholder {
  color: rgba(222, 205, 255, .32)
}

.tip-send-btn,
.fan-mail-send {
  min-height: 2.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 78, .38);
  background: rgba(255, 196, 78, .13);
  color: rgba(255, 215, 100, .92);
  cursor: pointer;
  font-size: .52rem;
  letter-spacing: .08em;
  transition: box-shadow .16s
}

.tip-send-btn:hover,
.fan-mail-send:hover {
  box-shadow: 0 0 28px rgba(255, 196, 78, .25)
}

.tip-cancel,
.fan-mail-close {
  background: none;
  border: none;
  color: rgba(222, 205, 255, .35);
  cursor: pointer;
  font-size: .43rem;
  text-align: center
}

.stripe-element {
  background: rgba(5, 3, 14, .5);
  border: 1px solid rgba(214, 181, 255, .18);
  border-radius: 11px;
  padding: .54rem .46rem;
  transition: border-color .14s
}

.stripe-element--focus {
  border-color: rgba(169, 122, 255, .55)
}

.card-errors,
.fan-mail-error {
  color: rgba(255, 144, 161, .9);
  font-size: .42rem;
  min-height: .7rem;
  margin-top: .04rem
}

.fan-mail-card {
  display: grid;
  gap: .62rem;
  width: min(24rem, 92vw);
  padding: 1.15rem 1.05rem;
  border: 1px solid rgba(214, 181, 255, .18);
  border-radius: 24px;
  background: rgba(6, 3, 16, .92);
  box-shadow: 0 0 60px rgba(169, 122, 255, .12), 0 28px 60px rgba(0, 0, 0, .5)
}

.fan-mail-title {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: rgba(255, 236, 184, .94);
  text-align: center
}

.fan-mail-sub {
  font-size: .42rem;
  color: rgba(222, 205, 255, .5);
  text-align: center
}

.fan-mail-thread {
  display: grid;
  gap: .42rem;
  max-height: min(46vh, 15rem);
  overflow: auto;
  padding: .18rem;
  scrollbar-width: thin
}

.fan-mail-entry {
  display: grid;
  gap: .12rem;
  padding: .48rem .55rem;
  border: 1px solid rgba(214, 181, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  text-align: left
}

.fan-mail-entry.from-persona {
  border-color: rgba(255, 196, 78, .22);
  background: rgba(255, 196, 78, .06)
}

.fan-mail-entry.unread {
  box-shadow: 0 0 0 1px rgba(255, 196, 78, .18) inset
}

.fan-mail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  font-size: .36rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .5)
}

.fan-mail-subject {
  font-size: .48rem;
  color: rgba(250, 246, 255, .94)
}

.fan-mail-body {
  font-size: .46rem;
  line-height: 1.5;
  color: rgba(232, 224, 246, .84);
  white-space: pre-wrap
}

.fan-mail-empty {
  padding: .9rem .6rem;
  border: 1px dashed rgba(214, 181, 255, .16);
  border-radius: 16px;
  color: rgba(222, 205, 255, .48);
  text-align: center;
  font-size: .46rem
}

.hm-action.mail {
  border-color: rgba(169, 122, 255, .28);
  background: rgba(169, 122, 255, .09);
  color: rgba(225, 210, 255, .9)
}

.hm-action.mail.on {
  border-color: rgba(255, 196, 78, .42);
  box-shadow: 0 0 16px rgba(255, 196, 78, .18)
}

.hm-mail-badge {
  display: inline-block;
  margin-left: .26rem;
  min-width: 1.1rem;
  padding: .02rem .2rem;
  border-radius: 999px;
  background: rgba(255, 196, 78, .2);
  color: rgba(255, 236, 184, .95);
  font-size: .38rem;
  text-align: center
}

.persona-spotlight {
  display: grid;
  gap: .48rem;
  padding: .62rem;
  border: 1px solid rgba(255, 236, 184, .14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 196, 78, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.persona-spotlight-top {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: .62rem;
  align-items: center
}

.persona-portrait-slot {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 181, 255, .16);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .08), rgba(255, 140, 207, .08));
  display: grid;
  place-items: center;
  text-align: center;
  padding: .35rem;
  font-size: .42rem;
  line-height: 1.35;
  color: rgba(244, 236, 255, .72);
  letter-spacing: .08em;
  text-transform: uppercase
}

.persona-spotlight-name {
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255, 240, 214, .96)
}

.persona-spotlight-sub {
  font-size: .43rem;
  color: rgba(222, 205, 255, .56);
  letter-spacing: .08em;
  text-transform: uppercase
}

.persona-spotlight-quote {
  font-size: .5rem;
  line-height: 1.5;
  color: rgba(235, 225, 248, .84)
}

.persona-spotlight-scoreboard {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem
}

.persona-spotlight-pill {
  font-size: .4rem;
  color: rgba(255, 241, 205, .84);
  border: 1px solid rgba(255, 236, 184, .18);
  border-radius: 999px;
  padding: .12rem .34rem;
  background: rgba(255, 255, 255, .035)
}

.persona-spotlight-survival {
  padding: .38rem .46rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 181, 255, .12);
  background: rgba(255, 255, 255, .03);
  display: grid;
  gap: .12rem
}

.persona-spotlight-survival.at-risk {
  border-color: rgba(255, 140, 161, .28);
  background: rgba(255, 140, 161, .08)
}

.persona-spotlight-survival.safe {
  border-color: rgba(120, 215, 175, .3);
  background: rgba(120, 215, 175, .08)
}

.persona-spotlight-survival strong {
  font-size: .42rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(255, 236, 184, .88)
}

.persona-spotlight-survival span {
  font-size: .44rem;
  line-height: 1.45;
  color: rgba(236, 226, 248, .78)
}

.persona-spotlight-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .34rem
}

.persona-spotlight-btn {
  min-height: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 181, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: rgba(244, 236, 255, .9);
  cursor: pointer;
  font-size: .44rem;
  letter-spacing: .08em
}

.persona-spotlight-btn.primary {
  border-color: rgba(184, 255, 211, .32);
  background: rgba(184, 255, 211, .1);
  color: rgba(227, 255, 238, .94)
}

.persona-spotlight-btn.following {
  border-color: rgba(120, 215, 175, .58);
  background: rgba(120, 215, 175, .16);
  color: rgba(220, 255, 236, .96)
}

.persona-spotlight-btn.tip {
  border-color: rgba(255, 196, 78, .3);
  background: rgba(255, 196, 78, .1);
  color: rgba(255, 223, 140, .95)
}

.persona-spotlight-empty {
  padding: .7rem;
  border: 1px dashed rgba(214, 181, 255, .14);
  border-radius: 16px;
  color: rgba(222, 205, 255, .46);
  text-align: center;
  font-size: .46rem
}

#stage-hud {
  position: fixed;
  top: calc(1.85rem + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 22;
  display: flex;
  align-items: center;
  gap: .38rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(169, 122, 255, .14);
  border-radius: 999px;
  background: rgba(5, 3, 14, .26);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(169, 122, 255, .52);
  pointer-events: none;
  transition: color .5s, border-color .5s, background .5s;
  white-space: nowrap
}

.stage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(169, 122, 255, .4);
  display: inline-block;
  flex-shrink: 0;
  transition: background .5s, box-shadow .5s
}

#stage-hud.active {
  color: rgba(190, 155, 255, .72);
  border-color: rgba(169, 122, 255, .24)
}

#stage-hud.deep {
  color: rgba(140, 90, 255, .88);
  border-color: rgba(130, 80, 255, .42);
  background: rgba(8, 3, 22, .4)
}

#stage-hud.deep .stage-dot {
  background: #a070ff;
  box-shadow: 0 0 8px rgba(140, 80, 255, .6)
}

#stage-hud.fulldeep {
  color: rgba(100, 55, 255, .96);
  border-color: rgba(90, 50, 240, .62);
  background: rgba(4, 0, 18, .5)
}

#stage-hud.fulldeep .stage-dot {
  background: #6830ff;
  box-shadow: 0 0 12px rgba(90, 50, 255, .8), 0 0 26px rgba(70, 30, 255, .32);
  animation: stg-pulse 1.8s ease-in-out infinite
}

@keyframes stg-pulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(90, 50, 255, .65), 0 0 20px rgba(70, 30, 255, .28)
  }

  50% {
    box-shadow: 0 0 18px rgba(110, 70, 255, .9), 0 0 36px rgba(90, 50, 255, .5)
  }
}

@keyframes portal-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .45), 0 0 0 0 rgba(185, 150, 255, .32), 0 0 18px rgba(255, 255, 255, .14)
  }

  50% {
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .01), 0 0 0 48px rgba(185, 150, 255, 0), 0 0 32px rgba(255, 255, 255, .24)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 0 0 0 rgba(185, 150, 255, 0), 0 0 18px rgba(255, 255, 255, .08)
  }
}

#channel-ident {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .38s ease;
  background: radial-gradient(ellipse at center, rgba(8, 2, 24, .95), rgba(0, 0, 8, .99))
}

#channel-ident.visible {
  opacity: 1;
  pointer-events: auto
}

#channel-ident.fade-out {
  opacity: 0
}

.ident-brand {
  font-size: .42rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(169, 122, 255, .55);
  margin-bottom: .9rem
}

.ident-name {
  font-size: clamp(1.9rem, 9vw, 3.4rem);
  font-weight: 200;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244, 236, 255, .95);
  text-align: center;
  text-shadow: 0 0 70px var(--ident-hue, rgba(169, 122, 255, .7));
  line-height: 1.15;
  padding: 0 1.2rem
}

@keyframes ident-zoom {
  from {
    transform: scale(1.07);
    opacity: 0
  }

  to {
    transform: scale(1);
    opacity: 1
  }
}

#channel-ident.visible .ident-name {
  animation: ident-zoom .5s cubic-bezier(.16, 1, .3, 1) both
}

.ident-rule {
  width: 3.6rem;
  height: 1px;
  background: var(--ident-hue, rgba(169, 122, 255, .42));
  margin: .88rem auto;
  box-shadow: 0 0 12px var(--ident-hue, rgba(169, 122, 255, .28))
}

.ident-sub {
  font-size: .38rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(222, 205, 255, .42);
  margin-top: .32rem
}

#drop-announce {
  position: fixed;
  left: 50%;
  bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 25;
  padding: .18rem .62rem;
  border: 1px solid rgba(169, 122, 255, .28);
  border-radius: 999px;
  background: rgba(5, 3, 14, .62);
  backdrop-filter: blur(12px);
  font-size: .38rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(184, 150, 255, .7);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  white-space: nowrap
}

#drop-announce.visible {
  opacity: 1
}

body.gate-active #topbar,
body.gate-active #auth-shell,
body.gate-active #always-deeper-banner,
body.gate-active #track-wrap,
body.gate-active #steering-note,
body.gate-active #stage-hud,
body.gate-active #vr-posture,
body.gate-active #vr-hud,
body.gate-active #action-dock,
body.gate-active #request-shell,
body.gate-active #tag-shell,
body.gate-active #mini-shell,
body.gate-active #persona-shell,
body.gate-active #channel-ident,
body.gate-active #drop-announce {
  opacity: 0 !important;
  pointer-events: none !important
}

body.immersive-playback #topbar,
body.immersive-playback #auth-shell,
body.immersive-playback #request-shell,
body.immersive-playback #tag-shell,
body.immersive-playback #mini-shell,
body.immersive-playback #persona-shell {
  opacity: .05;
  pointer-events: none;
  transition: opacity .32s ease
}

body.immersive-playback #track-meta,
body.immersive-playback #status {
  opacity: .24;
  transition: opacity .32s ease
}

body.immersive-playback #steering-note {
  opacity: .18;
  transition: opacity .32s ease
}

body.deep-session #track-meta,
body.deep-session #status,
body.deep-session #steering-note {
  opacity: .08
}

body.deep-session #stage-hud {
  opacity: .16;
  transform: translateX(-50%) scale(.98)
}
