:root {
  --ipod-width: min(78vw, 330px);
  --ipod-aspect: 0.61;
  --app-height: 100vh;
  --bg-top: #eef2f8;
  --bg-bottom: #dfe6f0;
  --page-top: #111214;
  --page-bottom: #050608;
  --page-halo: rgba(255, 255, 255, 0.1);
  --page-panel: rgba(255, 255, 255, 0.04);
  --page-rim: rgba(255, 255, 255, 0.08);
  --page-shadow: rgba(0, 0, 0, 0.42);
  --page-grain: rgba(255, 255, 255, 0.04);
  --page-accent-a: rgba(255, 248, 236, 0.05);
  --page-accent-b: rgba(184, 171, 156, 0.03);
  --page-accent-c: rgba(255, 255, 255, 0.012);
  --body-top: #848996;
  --body-bottom: #515765;
  --screen-frame: #050505;
  --screen-top: #f7f7f7;
  --screen-bottom: #ececec;
  --screen-glow: rgba(255, 255, 255, 0.35);
  --text-main: #111111;
  --text-soft: rgba(17, 17, 17, 0.65);
  --highlight: #0d7bca;
  --highlight-text: #ffffff;
  --dark-screen-top: #0c0c0f;
  --dark-screen-bottom: #010102;
  --dark-line: rgba(255, 255, 255, 0.14);
  --dark-text-main: #f7f7f9;
  --dark-text-soft: rgba(247, 247, 249, 0.72);
  --dark-highlight-top: #393a40;
  --dark-highlight-bottom: #18191d;
  --dark-highlight-text: #ffffff;
  --dark-playing-top: #d93d3d;
  --dark-playing-bottom: #8f1212;
  --app-font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  --app-font-color: #111111;
  --app-font-color-soft: rgba(17, 17, 17, 0.72);
  --wheel-top: #050505;
  --wheel-bottom: #020202;
  --wheel-shadow: rgba(19, 20, 24, 0.28);
  --wheel-icon-color: #f4f5f7;
  --wheel-icon-shadow: rgba(255, 255, 255, 0.08);
  --select-core-top: #717785;
  --select-core-bottom: #4f5663;
  --select-core-rim: rgba(255, 255, 255, 0.08);
  --select-core-gloss: rgba(255, 255, 255, 0.14);
  --engraving-color: rgba(228, 233, 238, 0.72);
  --engraving-highlight: rgba(255, 255, 255, 0.14);
  --engraving-shadow: rgba(0, 0, 0, 0.34);
  --portal-opacity: 0;
  --wheel-rotation: 0deg;
  --screen-beat-scale: 1;
  --wheel-beat-scale: 1;
  --beat-shadow: 0;
  --beat-aura-opacity: 0;
  --beat-ring-opacity: 0;
  --beat-ring-scale: 0.94;
  --beat-accent: rgba(255, 255, 255, 0);
  --beat-accent-soft: rgba(255, 255, 255, 0);
  --screen-beat-glow: 0px;
  --wheel-beat-glow: 0px;
}

* {
  box-sizing: border-box;
}

#videoPlayer:not(.inline-video-player):not(.fullscreen-video-player) {
  display: none;
}

.background-audio-element {
  position: fixed;
  left: -10000px;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0.001;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--app-font-family);
  color: #221d15;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.01) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.009) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 50% 12%, rgba(255, 249, 241, 0.018), transparent 14%),
    linear-gradient(180deg, #171412 0%, #090807 28%, #020202 100%);
  background-size:
    260px 260px,
    320px 320px,
    auto,
    auto;
}

.ipod,
.ipod *,
.fullscreen-ipod-shell,
.fullscreen-ipod-shell * {
  font-family: var(--app-font-family);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 50% 10%, var(--page-accent-a), transparent 16%),
    radial-gradient(circle at 50% 46%, var(--page-accent-b), transparent 20%),
    radial-gradient(circle at 50% 84%, var(--page-accent-c), transparent 14%);
  filter: blur(64px);
  opacity: 0.58;
}

body::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 12%),
    radial-gradient(ellipse at 50% 81%, rgba(255, 249, 241, 0.02), transparent 24%),
    radial-gradient(circle at 50% 46%, transparent 0 31%, rgba(255, 255, 255, 0.008) 31.3%, transparent 32.1%);
  opacity: 0.26;
}

html[data-theme="crystal-purple"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 130, 54, 0.16), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(224, 82, 255, 0.24), transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(80, 112, 255, 0.16), transparent 28%),
    linear-gradient(90deg, transparent 0 18%, rgba(104, 220, 255, 0.08) 18% 18.4%, transparent 18.4% 81.6%, rgba(255, 114, 209, 0.08) 81.6% 82%, transparent 82%);
  opacity: 0.9;
}

html[data-theme="crystal-rainbow"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 146, 64, 0.18), transparent 24%),
    radial-gradient(circle at 43% 44%, rgba(255, 74, 163, 0.18), transparent 14%),
    radial-gradient(circle at 57% 47%, rgba(65, 222, 101, 0.18), transparent 14%),
    radial-gradient(circle at 50% 42%, rgba(116, 110, 255, 0.16), transparent 18%),
    linear-gradient(90deg, transparent 0 15%, rgba(78, 220, 255, 0.08) 15% 15.4%, transparent 15.4% 84.6%, rgba(255, 238, 137, 0.08) 84.6% 85%, transparent 85%);
  opacity: 0.92;
}

html[data-theme="crystal-teal"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 136, 64, 0.16), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(78, 236, 255, 0.22), transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(44, 164, 255, 0.16), transparent 28%),
    linear-gradient(90deg, transparent 0 17%, rgba(78, 224, 255, 0.09) 17% 17.4%, transparent 17.4% 82.6%, rgba(107, 255, 224, 0.08) 82.6% 83%, transparent 83%);
  opacity: 0.9;
}

html[data-theme="crystal-red"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 146, 72, 0.18), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(255, 74, 92, 0.24), transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(255, 34, 76, 0.16), transparent 28%),
    linear-gradient(90deg, transparent 0 18%, rgba(80, 214, 255, 0.08) 18% 18.35%, transparent 18.35% 81.65%, rgba(255, 72, 118, 0.1) 81.65% 82%, transparent 82%);
  opacity: 0.9;
}

html[data-theme="crystal-green"] body::before {
  background:
    linear-gradient(180deg, rgba(255, 148, 72, 0.16), transparent 24%),
    radial-gradient(circle at 50% 44%, rgba(88, 255, 95, 0.24), transparent 18%),
    radial-gradient(circle at 50% 46%, rgba(32, 196, 69, 0.16), transparent 28%),
    linear-gradient(90deg, transparent 0 16%, rgba(82, 226, 255, 0.08) 16% 16.35%, transparent 16.35% 83.65%, rgba(80, 255, 106, 0.1) 83.65% 84%, transparent 84%);
  opacity: 0.9;
}

button,
input,
label {
  font: inherit;
}

button {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.import-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.preset-button:hover {
  transform: translateY(-1px);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 460px);
  grid-template-rows: 1fr auto;
  gap: 0;
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
  padding: 2rem;
}

.site-footer {
  width: min(92vw, 420px);
  margin-top: 1.1rem;
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.site-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.56);
}

html[data-show-footer="false"] .app-shell > .site-footer {
  display: none;
}

.legal-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2.25rem 1.25rem 1.5rem;
}

.legal-page-main {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 1.5rem 1.4rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 8, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.legal-page-main h1,
.legal-page-main h2 {
  color: #ffffff;
}

.legal-page-main h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

.legal-page-main h2 {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.legal-page-main p,
.legal-page-main li {
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.82);
}

.legal-page-main ul {
  padding-left: 1.2rem;
}

.legal-page-main a {
  color: #8cd8ff;
}

.legal-page .site-footer {
  width: 100%;
  margin-top: 1rem;
}

.signup-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2.25rem 1.25rem 1.5rem;
}

.signup-page-main {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 1.6rem 1.45rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 9, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.signup-page-main h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4.8vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.signup-page-main p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.signup-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(132, 216, 255, 0.12);
  color: #c2ebff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.signup-field {
  display: grid;
  gap: 0.36rem;
}

.signup-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(194, 203, 228, 0.82);
}

.signup-input {
  width: 100%;
  border: 1px solid rgba(149, 167, 214, 0.22);
  border-radius: 1rem;
  background: rgba(25, 28, 37, 0.88);
  color: #ffffff;
  padding: 0.92rem 1rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.signup-input:focus {
  border-color: rgba(110, 206, 255, 0.88);
  box-shadow:
    0 0 0 1px rgba(110, 206, 255, 0.25),
    0 0 0 6px rgba(110, 206, 255, 0.08);
  background: rgba(28, 32, 42, 0.96);
}

.signup-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  margin-top: 0.15rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signup-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  accent-color: #57cfff;
}

.signup-check label {
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.signup-check a,
.signup-alt-link,
.signup-page-main a {
  color: #8cd8ff;
}

.signup-actions {
  display: grid;
  gap: 0.7rem;
}

.signup-recovery-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(140, 216, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.signup-recovery-copy {
  min-width: 0;
}

.signup-recovery-title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.signup-recovery-text {
  margin-top: 0.16rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.signup-recovery-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(140, 216, 255, 0.1);
  border: 1px solid rgba(140, 216, 255, 0.22);
  color: #b8ebff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.signup-recovery-link:hover,
.signup-recovery-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(140, 216, 255, 0.16);
  border-color: rgba(140, 216, 255, 0.34);
  color: #e1f7ff;
}

.signup-button {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  padding: 0.98rem 1.05rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #081018;
  background: linear-gradient(180deg, #91e5ff, #43bff3);
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 16px 30px rgba(67, 191, 243, 0.22);
}

.signup-button:hover,
.signup-button:focus-visible {
  transform: translateY(-1px);
}

.signup-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.signup-secondary {
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.signup-alt-link {
  font-weight: 700;
}

@media (max-width: 560px) {
  .signup-recovery-card {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-recovery-link {
    width: 100%;
  }
}

.signup-notice {
  min-height: 1.15rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.74);
}

.signup-notice.error {
  color: #ffb2b2;
}

.signup-notice.success {
  color: #aef0c3;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2.25rem 1.25rem 1.5rem;
}

.admin-page-main {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 1.8rem 1.55rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.admin-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(136, 203, 255, 0.14);
  color: #c9ebff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page-main h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #ffffff;
  text-wrap: balance;
}

.admin-intro {
  max-width: 46rem;
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
}

.admin-auth-state {
  margin-top: 1.15rem;
}

.admin-auth-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(16, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 30px rgba(0, 0, 0, 0.14);
}

.admin-auth-card strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.admin-auth-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.56;
}

.admin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.admin-auth-button,
.admin-return-button,
.admin-refresh-button,
.admin-account-action {
  border: 0;
  border-radius: 0.95rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.admin-auth-button,
.admin-refresh-button,
.admin-account-action.primary {
  color: #081018;
  background: linear-gradient(180deg, #91e5ff, #43bff3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 24px rgba(67, 191, 243, 0.18);
}

.admin-return-button,
.admin-account-action.secondary {
  color: #f5f8ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(25, 30, 38, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-auth-button:hover,
.admin-return-button:hover,
.admin-refresh-button:hover,
.admin-account-action:hover {
  transform: translateY(-1px);
}

.admin-auth-button:disabled,
.admin-refresh-button:disabled,
.admin-account-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.admin-dashboard {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-summary-card {
  display: grid;
  gap: 0.34rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.18rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(16, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.14);
}

.admin-summary-card.premium {
  border-color: rgba(255, 216, 144, 0.22);
}

.admin-summary-card.basic {
  border-color: rgba(138, 212, 255, 0.16);
}

.admin-summary-card.pending {
  border-color: rgba(255, 179, 132, 0.22);
}

.admin-summary-label {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(198, 213, 241, 0.78);
}

.admin-summary-card strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.admin-summary-note {
  font-size: 0.92rem;
  line-height: 1.46;
  color: rgba(255, 255, 255, 0.64);
}

.admin-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: 1.28rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(14, 17, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 38px rgba(0, 0, 0, 0.16);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-panel-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(188, 215, 255, 0.74);
}

.admin-panel-head h2 {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.admin-panel-status {
  min-height: 1.1rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.72);
}

.admin-panel-status.success {
  color: #aef0c3;
}

.admin-panel-status.error {
  color: #ffb2b2;
}

.admin-accounts-list {
  display: grid;
  gap: 0.82rem;
}

.admin-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 1.08rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(19, 23, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-account-card.premium {
  border-color: rgba(255, 216, 144, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 216, 144, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(22, 19, 14, 0.96);
}

.admin-account-copy {
  min-width: 0;
  display: grid;
  gap: 0.42rem;
}

.admin-account-topline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.admin-account-topline strong {
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.admin-account-access,
.admin-account-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-account-access.basic {
  background: rgba(113, 205, 255, 0.12);
  color: #bfe9ff;
}

.admin-account-access.premium {
  background: rgba(255, 218, 147, 0.14);
  color: #ffe3aa;
}

.admin-account-access.admin,
.admin-account-pill.admin {
  background: rgba(198, 188, 255, 0.14);
  color: #d5cbff;
}

.admin-account-pill.muted {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.admin-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.admin-account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.admin-empty-state {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
  padding: 1.3rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.74);
}

.admin-empty-state strong {
  color: #ffffff;
}

.admin-secondary {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.admin-page-main a {
  color: #8cd8ff;
}

@media (max-width: 900px) {
  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-panel-head,
  .admin-account-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-account-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

.upgrade-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2.25rem 1.25rem 1.5rem;
}

.upgrade-page-main {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 1.7rem 1.5rem;
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.upgrade-page-main h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-wrap: balance;
}

.upgrade-page-main p {
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.8);
}

.upgrade-intro {
  max-width: 38rem;
  font-size: 1.03rem;
}

.upgrade-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 211, 124, 0.14);
  color: #ffe2a0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upgrade-plan-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.upgrade-plan-card {
  display: grid;
  gap: 0.82rem;
  padding: 1.15rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(16, 20, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(0, 0, 0, 0.18);
}

.upgrade-plan-card.current {
  border-color: rgba(123, 168, 234, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 36px rgba(45, 87, 140, 0.12);
}

.upgrade-plan-card.premium {
  position: relative;
  overflow: hidden;
  border-color: rgba(234, 191, 99, 0.42);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 133, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 241, 208, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(25, 19, 10, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 40px rgba(173, 120, 29, 0.16);
}

.upgrade-plan-card.premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(255, 235, 188, 0.14), transparent 18%);
}

.upgrade-plan-topline {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.upgrade-plan-label {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(194, 212, 245, 0.84);
}

.upgrade-plan-card.premium .upgrade-plan-label {
  color: #ffd992;
}

.upgrade-plan-title {
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.upgrade-plan-subtitle {
  margin-top: -0.18rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.66);
}

.upgrade-plan-list {
  display: grid;
  gap: 0.58rem;
}

.upgrade-plan-list span {
  position: relative;
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
}

.upgrade-plan-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #7de5ff, #299cff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.upgrade-checkout-block {
  margin-top: 1.12rem;
  display: grid;
  gap: 0.9rem;
  padding: 1.18rem 1.15rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(14, 17, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.16);
}

.upgrade-checkout-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.upgrade-checkout-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(188, 215, 255, 0.74);
}

.upgrade-checkout-heading h2 {
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.upgrade-price-badge {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  padding: 0.82rem 0.92rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 239, 195, 0.17), rgba(255, 220, 128, 0.07)),
    rgba(82, 56, 6, 0.34);
  border: 1px solid rgba(255, 220, 141, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(145, 105, 23, 0.12);
}

.upgrade-price-badge strong {
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff3cb;
}

.upgrade-price-badge span {
  margin-top: 0.16rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 231, 178, 0.8);
}

.upgrade-checkout-summary {
  display: grid;
  gap: 0.52rem;
}

.upgrade-checkout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.74rem 0.82rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.74);
}

.upgrade-checkout-row span {
  font-weight: 700;
}

.upgrade-checkout-row strong {
  color: #ffffff;
  text-align: right;
}

.upgrade-checkout-row.highlight {
  background:
    linear-gradient(180deg, rgba(255, 225, 147, 0.1), rgba(255, 225, 147, 0.03)),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 222, 149, 0.14);
}

.upgrade-checkout-row.highlight strong {
  color: #ffe2a0;
}

.upgrade-legal,
.upgrade-refund,
.upgrade-status {
  font-size: 0.94rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.76);
}

.upgrade-legal a,
.upgrade-page-main a {
  color: #8cd8ff;
}

.upgrade-refund {
  font-weight: 800;
  color: #ffc3b0;
}

.upgrade-actions {
  display: grid;
  gap: 0.72rem;
}

.upgrade-button {
  width: 100%;
  border: 0;
  border-radius: 1.08rem;
  padding: 1.05rem 1.1rem;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #09111b;
  background: linear-gradient(180deg, #ffe59b, #f6be51 62%, #df9b18);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 30px rgba(223, 155, 24, 0.18);
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
}

.upgrade-button:hover,
.upgrade-button:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 22px 34px rgba(223, 155, 24, 0.22);
}

.upgrade-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.upgrade-secondary {
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
}

.upgrade-status.error {
  color: #ffb2b2;
}

.upgrade-status.success {
  color: #aef0c3;
}

@media (max-width: 680px) {
  .upgrade-plan-grid {
    grid-template-columns: 1fr;
  }

  .upgrade-checkout-heading,
  .upgrade-checkout-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .upgrade-price-badge {
    justify-items: start;
  }

  .upgrade-checkout-row strong {
    text-align: left;
  }
}

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1800px;
  min-height: 720px;
  isolation: isolate;
}

.device-stage::before {
  content: none;
}

.device-stage::after {
  content: none;
}

.device-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0;
  width: min(92vw, 360px);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    filter 240ms ease;
}

.device-stage.is-backplate-visible .device-stack {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.988);
  filter: blur(1px);
}

.device-shadow {
  position: absolute;
  width: min(92vw, 420px);
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 248, 238, 0.014), rgba(35, 40, 50, 0.015) 34%, rgba(12, 14, 18, 0) 72%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.56), rgba(33, 35, 45, 0));
  transform: translateY(306px) rotateX(82deg);
  filter: blur(22px);
}

.ipod {
  position: relative;
  width: var(--ipod-width);
  aspect-ratio: var(--ipod-aspect);
  padding: 1.2rem 1.1rem 1.6rem;
  border-radius: 1.95rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 30%, transparent 40%),
    linear-gradient(180deg, var(--body-top), var(--body-bottom));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 18px 18px 30px rgba(255, 255, 255, 0.12),
    inset -14px -18px 28px rgba(5, 7, 12, 0.18),
    0 18px 40px rgba(44, 47, 57, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease;
  user-select: none;
}

html[data-theme="robot-punk"] .ipod {
  background:
    linear-gradient(90deg, rgba(17, 17, 18, 0.3) 49.6%, rgba(255, 239, 196, 0.06) 49.6% 50.4%, rgba(42, 28, 10, 0.28) 50.4%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(0, 0, 0, 0.03) 2px 4px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 24%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.28) 0 50%,
      rgba(255, 240, 196, 0.24) 50% 100%
    ),
    linear-gradient(90deg,
      #f3f7fc 0 9%,
      #c0c7d1 20%,
      #f8fbff 34%,
      #9ea8b4 49.6%,
      #e9c26f 50.4%,
      #b37a1a 71%,
      #f5d68f 86%,
      #8a5e15 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 18px 18px 28px rgba(255, 255, 255, 0.18),
    inset -14px -18px 24px rgba(74, 47, 8, 0.2),
    0 18px 40px rgba(19, 16, 12, 0.3);
}

html[data-theme="crystal-purple"] .ipod,
html[data-theme="crystal-rainbow"] .ipod,
html[data-theme="crystal-teal"] .ipod,
html[data-theme="crystal-red"] .ipod,
html[data-theme="crystal-green"] .ipod {
  background:
    linear-gradient(180deg, rgba(255, 128, 54, 0.13), transparent 26%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.34) 0 11%, rgba(69, 224, 255, 0.08) 11% 18%, transparent 18% 36%, rgba(255, 84, 228, 0.12) 36% 41%, transparent 41% 100%),
    linear-gradient(238deg, rgba(255, 255, 255, 0.22) 0 10%, transparent 10% 42%, rgba(63, 228, 255, 0.08) 42% 50%, transparent 50% 100%),
    linear-gradient(148deg, transparent 0 44%, rgba(255, 255, 255, 0.1) 44% 48%, transparent 48% 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 24px,
      rgba(77, 220, 255, 0.055) 24px 25px,
      transparent 25px 61px,
      rgba(255, 88, 213, 0.055) 61px 62px,
      transparent 62px 100%
    ),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.42), transparent 20%),
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--body-top) 56%, white) 0%, transparent 48%),
    radial-gradient(circle at 78% 74%, rgba(255, 255, 255, 0.14), transparent 24%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      rgba(255, 255, 255, 0.02) 2px 5px,
      rgba(0, 0, 0, 0.04) 5px 8px
    ),
    linear-gradient(180deg, color-mix(in srgb, var(--body-top) 82%, white), color-mix(in srgb, var(--body-bottom) 88%, black));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.48),
    inset 10px 12px 18px rgba(255, 255, 255, 0.16),
    inset -10px -14px 22px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 24px color-mix(in srgb, var(--body-top) 42%, transparent),
    0 18px 40px rgba(18, 20, 28, 0.3);
}

.ipod.is-dragging {
  cursor: grabbing;
  transition: box-shadow 180ms ease;
}

.ipod::before,
.ipod::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.ipod::before {
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 44%);
  transform: translateZ(8px);
}

html[data-theme="robot-punk"] .ipod::before {
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 50%, rgba(255, 240, 192, 0.2) 50% 100%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 46%);
}

html[data-theme="crystal-purple"] .ipod::before,
html[data-theme="crystal-rainbow"] .ipod::before,
html[data-theme="crystal-teal"] .ipod::before,
html[data-theme="crystal-red"] .ipod::before,
html[data-theme="crystal-green"] .ipod::before {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.44) 0 18%, transparent 18% 38%, rgba(255, 255, 255, 0.18) 38% 46%, transparent 46% 100%),
    linear-gradient(220deg, rgba(255, 255, 255, 0.24) 0 10%, transparent 10% 68%, rgba(255, 255, 255, 0.12) 68% 76%, transparent 76% 100%),
    linear-gradient(155deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48% 53%, transparent 53% 100%),
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.46), transparent 22%);
}

.ipod::after {
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateZ(4px);
}

html[data-theme="crystal-purple"] .ipod::after,
html[data-theme="crystal-rainbow"] .ipod::after,
html[data-theme="crystal-teal"] .ipod::after,
html[data-theme="crystal-red"] .ipod::after,
html[data-theme="crystal-green"] .ipod::after {
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -18px 26px rgba(0, 0, 0, 0.12);
}

.shell-reflection {
  position: absolute;
  inset: 14px 18px auto;
  height: 140px;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.55;
  pointer-events: none;
  transform: translateZ(18px);
}

html[data-theme="robot-punk"] .shell-reflection {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 50%, rgba(255, 232, 171, 0.14) 50% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.72;
}

html[data-theme="crystal-purple"] .shell-reflection,
html[data-theme="crystal-rainbow"] .shell-reflection,
html[data-theme="crystal-teal"] .shell-reflection,
html[data-theme="crystal-red"] .shell-reflection,
html[data-theme="crystal-green"] .shell-reflection {
  inset: 12px 14px auto;
  height: 168px;
  background:
    linear-gradient(180deg, rgba(255, 167, 90, 0.18), rgba(255, 255, 255, 0.08) 32%, transparent 78%),
    linear-gradient(112deg, rgba(84, 230, 255, 0.18) 0 18%, transparent 18% 40%, rgba(255, 92, 226, 0.18) 40% 46%, transparent 46% 100%),
    linear-gradient(156deg, transparent 0 54%, rgba(255, 255, 255, 0.1) 54% 60%, transparent 60% 100%);
  opacity: 0.88;
}

html[data-theme="crystal-purple"] .screen-wrap,
html[data-theme="crystal-rainbow"] .screen-wrap,
html[data-theme="crystal-teal"] .screen-wrap,
html[data-theme="crystal-red"] .screen-wrap,
html[data-theme="crystal-green"] .screen-wrap {
  border-color: color-mix(in srgb, var(--screen-frame) 72%, #1bd8ff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 10px 18px rgba(121, 228, 255, 0.18),
    0 0 0 1px rgba(255, 104, 199, 0.08),
    0 8px 18px rgba(3, 8, 14, 0.28);
}

html[data-theme="crystal-purple"] .status-bar,
html[data-theme="crystal-rainbow"] .status-bar,
html[data-theme="crystal-teal"] .status-bar,
html[data-theme="crystal-red"] .status-bar,
html[data-theme="crystal-green"] .status-bar {
  background:
    linear-gradient(180deg, rgba(21, 31, 47, 0.98), rgba(4, 8, 15, 0.98)),
    linear-gradient(90deg, rgba(79, 221, 255, 0.1), rgba(255, 91, 214, 0.08));
  border-bottom: 1px solid rgba(101, 217, 255, 0.24);
  color: #eff7ff;
}

html[data-theme="crystal-purple"] .wheel-panel,
html[data-theme="crystal-rainbow"] .wheel-panel,
html[data-theme="crystal-teal"] .wheel-panel,
html[data-theme="crystal-red"] .wheel-panel,
html[data-theme="crystal-green"] .wheel-panel {
  background:
    radial-gradient(circle at 50% 26%, rgba(92, 229, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 88, 213, 0.08), rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, color-mix(in srgb, var(--wheel-top) 94%, #1a1d25), color-mix(in srgb, var(--wheel-bottom) 94%, black));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(73, 221, 255, 0.1),
    0 14px 24px rgba(17, 17, 21, 0.28);
}

.secret-visualizer-hotspot {
  position: absolute;
  right: 0.22rem;
  bottom: 0.22rem;
  width: 1rem;
  height: 1rem;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  opacity: 0.01;
  z-index: 6;
  cursor: pointer;
}

html[data-route="video-player"] .secret-visualizer-hotspot {
  z-index: 8;
}

.fullscreen-visualizer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: none;
}

.fullscreen-visualizer.is-active {
  display: block;
}

.fullscreen-video-mount {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: #000;
}

.fullscreen-visualizer.is-video-mode .fullscreen-video-mount {
  display: block;
}

.fullscreen-visualizer.is-video-mode .fullscreen-visualizer-canvas {
  display: none;
}

.fullscreen-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.fullscreen-mirror-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.fullscreen-video-mini-monitor-copy {
  display: none;
}

.fullscreen-visualizer-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.fullscreen-visualizer-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.68));
  color: rgba(255, 255, 255, 0.92);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 260ms ease;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}

.fullscreen-visualizer-overlay.hidden {
  opacity: 0;
}

.fullscreen-visualizer-controls {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: center;
  width: 100%;
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.fullscreen-ipod-shell.ipod {
  width: min(78vw, 330px);
  min-width: 214px;
  transform: none;
  transition: opacity 260ms ease;
  cursor: default;
  pointer-events: auto;
}

.fullscreen-ipod-status-bar {
  color: inherit;
}

.fullscreen-ipod-status-title {
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fullscreen-ipod-status-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.58rem;
}

.fullscreen-ipod-status-play {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.fullscreen-ipod-status-play:not(.active) {
  opacity: 0.35;
}

.fullscreen-ipod-battery {
  position: relative;
  width: 17px;
  height: 9px;
  border: 1px solid #53772b;
  background: linear-gradient(180deg, #c8dd97, #89b24f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.fullscreen-ipod-battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -4px;
  width: 3px;
  height: 3px;
  background: #53772b;
}

.fullscreen-ipod-battery-fill {
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 72%;
  background: linear-gradient(180deg, #d9efa5, #7fad40);
}

.fullscreen-ipod-screen-inner {
  height: 100%;
  padding: 0.55rem 0.52rem 0.48rem;
  color: rgba(255, 255, 255, 0.96);
}

.fullscreen-ipod-counter {
  font-size: 0.42rem;
  font-weight: 800;
  margin-bottom: 0.42rem;
}

.fullscreen-ipod-now-playing {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.fullscreen-ipod-artwork {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(180deg, rgba(45, 46, 52, 0.92), rgba(14, 15, 19, 0.98));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.fullscreen-ipod-artwork.has-art {
  background-size: cover;
  background-position: center;
}

.fullscreen-ipod-copy {
  min-width: 0;
  padding-top: 0.18rem;
}

.fullscreen-ipod-track,
.fullscreen-ipod-artist,
.fullscreen-ipod-album {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.fullscreen-ipod-track {
  font-size: 0.56rem;
  font-weight: 800;
  margin-bottom: 0.18rem;
}

.fullscreen-ipod-artist {
  font-size: 0.46rem;
  font-weight: 800;
  margin-bottom: 0.12rem;
}

.fullscreen-ipod-album {
  font-size: 0.42rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.66);
}

.fullscreen-ipod-progress {
  position: relative;
  height: 0.55rem;
  margin-top: 0.58rem;
  border-radius: 0.16rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(42, 42, 46, 0.96), rgba(18, 18, 22, 0.98));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04);
}

.fullscreen-ipod-progress-fill {
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  width: 24%;
  background: linear-gradient(180deg, #ff727b, #d11e26);
  border-radius: 0.08rem;
}

.fullscreen-ipod-times {
  margin-top: 0.26rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.36rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.fullscreen-wheel-panel {
  grid-column: 1;
  width: min(66.7%, 220px);
  margin: 2rem auto 0;
  pointer-events: auto;
  touch-action: manipulation;
}

.fullscreen-visualizer-mode-hotspot {
  display: block;
  width: min(42%, 132px);
  height: 1.3rem;
  margin: 0.55rem auto -0.1rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.fullscreen-visualizer-overlay.hidden .fullscreen-ipod-shell {
  opacity: 0;
}

.fullscreen-wheel-touch {
  background: transparent;
  pointer-events: auto;
}

.fullscreen-wheel-button,
.fullscreen-select-button {
  pointer-events: auto !important;
  touch-action: manipulation;
}

.sticker-layer {
  position: absolute;
  left: 0.6rem;
  bottom: 0.7rem;
  width: 112px;
  height: 108px;
  display: grid;
  place-items: end start;
  z-index: 4;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  transform: translateZ(26px);
  transition: opacity 220ms ease;
}

.sticker-layer.is-visible {
  opacity: 1;
}

#stickerLayer.is-visible,
#backplateStickerLayer.is-visible,
#fullscreenStickerLayer.is-visible,
#bottomRightStickerLayer.is-visible,
#fullscreenBottomRightStickerLayer.is-visible {
  pointer-events: auto;
  cursor: grab;
}

#stickerLayer.is-dragging-sticker,
#backplateStickerLayer.is-dragging-sticker,
#fullscreenStickerLayer.is-dragging-sticker,
#bottomRightStickerLayer.is-dragging-sticker,
#fullscreenBottomRightStickerLayer.is-dragging-sticker {
  cursor: grabbing;
}

.fullscreen-sticker-layer {
  z-index: 5;
}

.backplate-sticker-layer {
  left: 50%;
  top: 24%;
  bottom: auto;
  width: 154px;
  height: 142px;
  place-items: center;
  margin-left: 0;
  transform: translate3d(-50%, 0, 0);
  z-index: 3;
}

.bottom-right-sticker-layer {
  left: auto;
  right: 0.58rem;
  bottom: 0.68rem;
  width: 106px;
  height: 104px;
  place-items: end end;
  z-index: 4;
}

.bottom-right-sticker-layer .sticker-shell {
  place-items: end end;
}

.bottom-right-sticker-layer .sticker-shell img {
  object-position: right bottom;
}

.backplate-sticker-layer .sticker-shell {
  place-items: center;
}

.backplate-sticker-layer .sticker-shell img {
  object-position: center;
  transform-origin: center center;
  filter:
    drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28))
    drop-shadow(0 2px 4px rgba(255, 255, 255, 0.08))
    saturate(1.04);
}

.backplate-device-name {
  position: absolute;
  left: 50%;
  top: 47.5%;
  z-index: 3;
  width: 100%;
  text-align: center;
  transform: translate3d(-50%, 0, 0);
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 3px 8px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.backplate-engraved-image {
  position: absolute;
  left: 50%;
  top: 60.02%;
  z-index: 2;
  width: 54%;
  height: 15.8%;
  max-height: none;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 220ms ease;
}

.backplate-engraved-image.is-visible {
  opacity: 0.96;
}

.backplate-engraved-image-asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.14))
    drop-shadow(0 3px 5px rgba(0, 0, 0, 0.18));
  mix-blend-mode: screen;
}

.backplate-now-playing-art {
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 2;
    width: 42.75%;
    height: auto;
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    display: flex;
    align-items: center;
  justify-content: center;
}

.backplate-now-playing-art.is-visible {
  opacity: 1;
}

.backplate-art-shell {
  position: relative;
  width: min(100%, 168px);
  aspect-ratio: 1;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 14px 24px rgba(255, 255, 255, 0.035),
    0 18px 28px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(255, 255, 255, 0.03);
  padding: 0.7rem;
}

.backplate-art-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 34%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.backplate-art-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 22%, transparent 82%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 2;
}

.backplate-art-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0.95rem;
  background: rgba(6, 8, 10, 0.26);
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.backplate-art-logo {
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
    filter: saturate(1.03) contrast(1.02) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.14));
  }

.backplate-art-reflection {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.32) 0 12%, rgba(255, 255, 255, 0.08) 12% 18%, transparent 18% 52%, rgba(255, 255, 255, 0.12) 52% 58%, transparent 58% 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 3;
}

.backplate-capacity-badge {
  position: absolute;
  left: 50%;
  top: 73.1%;
  z-index: 3;
  transform: translate3d(-50%, 0, 0);
  min-width: 76px;
  padding: 0.28rem 0.72rem 0.34rem;
  border-radius: 0.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(0, 0, 0, 0.08);
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  user-select: none;
}

.backplate-capacity-badge span {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em;
  font-size: clamp(0.88rem, 2vw, 1.28rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.backplate-fine-print {
  position: absolute;
  left: 50%;
  top: 80.35%;
  z-index: 3;
  width: 86%;
  transform: translate3d(-50%, 0, 0);
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  user-select: none;
}

.backplate-fine-print-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(0.34rem, 0.8vw, 0.5rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.backplate-fine-print-serial {
  margin-bottom: 0.06rem;
  font-size: clamp(0.38rem, 0.9vw, 0.56rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.backplate-compliance-row {
  position: absolute;
  left: 50%;
  top: 84.95%;
  z-index: 3;
  transform: translate3d(-50%, 0, 0);
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.16);
  pointer-events: none;
  user-select: none;
  max-width: calc(100% - 1.2rem);
}

.compliance-mark {
  position: relative;
  display: inline-block;
  height: 1.35rem;
  flex: 0 0 auto;
}

.mark-orbit {
  width: 2.08rem;
}

.orbit-ring {
  position: absolute;
  border: 0.16rem solid currentColor;
  border-radius: 999px;
}

.orbit-ring-outer {
  inset: 0.08rem 0.16rem 0.08rem 0.78rem;
}

.orbit-ring-inner {
  inset: 0.28rem 0.44rem 0.28rem 1.08rem;
}

.orbit-stem {
  position: absolute;
  left: 0.14rem;
  top: 0.08rem;
  width: 0.66rem;
  height: 1.18rem;
  border-left: 0.16rem solid currentColor;
  border-top: 0.16rem solid currentColor;
  border-bottom: 0.16rem solid currentColor;
  clip-path: polygon(0 0, 100% 0, 72% 48%, 100% 100%, 0 100%);
}

.mark-arcpair {
  width: 1.62rem;
}

.arc {
  position: absolute;
  top: 0.14rem;
  width: 0.62rem;
  height: 1.04rem;
  border: 0.15rem solid currentColor;
}

.arc-left {
  left: 0.06rem;
  border-right: none;
  border-radius: 999px 0 0 999px;
}

.arc-right {
  right: 0.06rem;
  border-left: none;
  border-radius: 0 999px 999px 0;
}

.mark-frame {
  width: 1.92rem;
}

.frame-outer,
.frame-inner {
  position: absolute;
  inset: 0;
  border: 0.12rem solid currentColor;
  border-radius: 0.26rem;
}

.frame-inner {
  inset: 0.18rem;
  border-width: 0.1rem;
  border-radius: 0.18rem;
}

.frame-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.mark-checkdisc {
  width: 1.32rem;
}

.checkdisc-circle {
  position: absolute;
  inset: 0.08rem;
  border: 0.15rem solid currentColor;
  border-radius: 50%;
}

.checkdisc-tick {
  position: absolute;
  left: 0.34rem;
  top: 0.48rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 0.15rem solid currentColor;
  border-bottom: 0.15rem solid currentColor;
  transform: rotate(-45deg);
}

.backplate-capacity-badge .capacity-infinity {
  display: inline-block;
  min-width: 1.15em;
  font-size: 1.62em;
  line-height: 0.76;
  text-align: center;
  transform: translateY(0.04em);
}

.backplate-engraving {
  position: absolute;
  left: 50%;
  top: 10.8%;
  width: 72%;
  transform: translate3d(-50%, 0, 0);
  text-align: center;
  white-space: pre-line;
  color: var(--engraving-color);
  font-size: clamp(0.58rem, 1.45vw, 0.82rem);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 700;
  text-shadow:
    0 1px 0 var(--engraving-highlight),
    0 -1px 1px var(--engraving-shadow);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.backplate-engraving.is-visible {
  opacity: 0.92;
}

html[data-theme="arctic-white"] .backplate-capacity-badge,
html[data-theme="champagne-gold"] .backplate-capacity-badge,
html[data-theme="nano-bronze"] .backplate-capacity-badge {
  border-color: rgba(20, 20, 20, 0.88);
  color: rgba(17, 17, 17, 0.92);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 4px rgba(255, 255, 255, 0.12);
}

html[data-theme="arctic-white"] .backplate-fine-print,
html[data-theme="champagne-gold"] .backplate-fine-print,
html[data-theme="nano-bronze"] .backplate-fine-print {
  color: rgba(20, 20, 20, 0.8);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(255, 255, 255, 0.08);
}

html[data-theme="arctic-white"] .backplate-compliance-row,
html[data-theme="champagne-gold"] .backplate-compliance-row,
html[data-theme="nano-bronze"] .backplate-compliance-row {
  color: rgba(20, 20, 20, 0.84);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(255, 255, 255, 0.08);
}

.backplate-actions-hidden {
  opacity: 0;
  pointer-events: none;
}

.sticker-shell {
  width: var(--sticker-width, 88px);
  height: var(--sticker-height, 88px);
  display: grid;
  place-items: end start;
  transform: translate3d(var(--sticker-offset-x, 0px), var(--sticker-offset-y, 0px), 0);
}

.sticker-shell img {
  width: 100%;
  height: 100%;
  padding: var(--sticker-padding, 4px);
  box-sizing: border-box;
  object-fit: contain;
  object-position: left bottom;
  filter:
    drop-shadow(0 9px 16px rgba(0, 0, 0, 0.24))
    drop-shadow(0 2px 3px rgba(255, 255, 255, 0.16))
    saturate(1.03);
  transform: rotate(var(--sticker-rotation, 0deg)) scaleX(var(--sticker-flip-scale-x, 1));
  transform-origin: center center;
}

.sticker-shell img.is-animated-sticker,
.sticker-art-thumb img.is-animated-sticker {
  filter: none;
}

.screen-wrap {
  position: relative;
  z-index: 1;
  border-radius: 0.62rem;
  overflow: hidden;
  border: 0.34rem solid var(--screen-frame);
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 10px 18px rgba(255, 255, 255, 0.01),
    0 6px 12px rgba(7, 8, 11, 0.16);
  transform: none;
  transform-origin: center center;
  will-change: auto;
  transition: box-shadow 110ms ease-out;
}

html[data-beat-reactive="true"][data-playback-active="true"] .screen-wrap {
  transform: none;
  will-change: auto;
  transition: box-shadow 110ms ease-out;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 10px 18px rgba(255, 255, 255, 0.035),
    0 6px 12px rgba(7, 8, 11, 0.16),
    0 0 var(--screen-beat-glow, 0px) var(--beat-accent-soft),
    0 0 4px var(--beat-accent);
}

html[data-dark-mode="true"] .screen-wrap {
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 10px 18px rgba(255, 255, 255, 0.01),
    0 6px 12px rgba(7, 8, 11, 0.22);
}

html[data-eternabox-mode="true"] .screen-wrap {
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.72), transparent 26%),
    radial-gradient(circle at 50% 88%, rgba(124, 214, 118, 0.16), transparent 38%),
    linear-gradient(180deg, #fbfff7 0%, #e7f8de 56%, #d4efcb 100%);
  box-shadow:
    inset 0 0 0 1px rgba(93, 163, 81, 0.18),
    inset 0 12px 18px rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(52, 98, 44, 0.12);
}

html[data-pink-mode="true"] .screen-wrap {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.74), transparent 26%),
    radial-gradient(circle at 50% 88%, rgba(255, 166, 210, 0.16), transparent 38%),
    linear-gradient(180deg, #fff9fd 0%, #ffeaf4 56%, #ffd8ea 100%);
  box-shadow:
    inset 0 0 0 1px rgba(210, 120, 169, 0.18),
    inset 0 12px 18px rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(129, 56, 96, 0.12);
}

html[data-custom-menu-color-mode="true"] .screen-wrap {
  background: var(--menu-mode-wrap-bg);
  box-shadow:
    var(--menu-mode-wrap-shadow);
}

.screen-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

html[data-dark-mode="true"] .screen-wrap::after {
  background: transparent;
}

html[data-eternabox-mode="true"] .screen-wrap::after,
html[data-pink-mode="true"] .screen-wrap::after {
  background: transparent;
}

.status-bar {
  height: 1.46rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.4rem 0 0.46rem;
  background: linear-gradient(180deg, #fefefe, #d9d9d9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

html[data-dark-mode="true"] .status-bar {
  background: linear-gradient(180deg, #111215, #040405);
  border-bottom: 1px solid var(--dark-line);
  color: var(--dark-text-main);
}

html[data-eternabox-mode="true"] .status-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 248, 223, 0.98)),
    linear-gradient(90deg, #eefbe7, #dcefd1);
  border-bottom: 1px solid rgba(77, 138, 68, 0.16);
  color: #264923;
  text-shadow: none;
}

html[data-pink-mode="true"] .status-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(253, 232, 242, 0.98)),
    linear-gradient(90deg, #fff0f7, #f8dce9);
  border-bottom: 1px solid rgba(188, 93, 142, 0.16);
  color: #6b2346;
  text-shadow: none;
}

html[data-custom-menu-color-mode="true"] .status-bar {
  background: var(--menu-mode-status-bg);
  border-bottom: 1px solid var(--menu-mode-status-border);
  color: var(--menu-mode-status-text);
  text-shadow: none;
}

.status-bar #statusTitle {
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.status-bar #statusMeta {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.58rem;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.status-play {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #1aa0dc;
  filter: drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.25));
}

html[data-dark-mode="true"] .status-play {
  border-left-color: #ffffff;
}

html[data-eternabox-mode="true"] .status-play {
  border-left-color: #53a53f;
}

html[data-pink-mode="true"] .status-play {
  border-left-color: #d64c92;
}

html[data-custom-menu-color-mode="true"] .status-play {
  border-left-color: var(--menu-mode-status-play);
}

html[data-dark-mode="true"][data-playing="true"] .status-play {
  border-left-color: #ffe7e7;
}

.status-play:not(.active) {
  opacity: 0.35;
}

.battery {
  position: relative;
  width: 20px;
  height: 10px;
  border: 1px solid #53772b;
  background: linear-gradient(180deg, #c8dd97, #89b24f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

html[data-dark-mode="true"] .battery {
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-eternabox-mode="true"] .battery {
  border-color: rgba(95, 150, 73, 0.68);
  background: linear-gradient(180deg, rgba(249, 255, 244, 0.98), rgba(220, 248, 209, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

html[data-pink-mode="true"] .battery {
  border-color: rgba(201, 104, 151, 0.68);
  background: linear-gradient(180deg, rgba(255, 246, 251, 0.98), rgba(255, 216, 235, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

html[data-custom-menu-color-mode="true"] .battery {
  border-color: var(--menu-mode-battery-border);
  background: var(--menu-mode-battery-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

.battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -4px;
  width: 3px;
  height: 4px;
  background: #53772b;
}

html[data-dark-mode="true"] .battery::after {
  background: rgba(255, 255, 255, 0.58);
}

html[data-eternabox-mode="true"] .battery::after {
  background: rgba(95, 150, 73, 0.82);
}

html[data-pink-mode="true"] .battery::after {
  background: rgba(201, 104, 151, 0.82);
}

html[data-custom-menu-color-mode="true"] .battery::after {
  background: var(--menu-mode-battery-cap);
}

.battery-fill {
  position: absolute;
  inset: 1px auto 1px 1px;
  background: linear-gradient(180deg, #d9efa5, #7fad40);
}

html[data-dark-mode="true"] .battery-fill {
  background: linear-gradient(180deg, #ffffff, #cfd2d8);
}

html[data-eternabox-mode="true"] .battery-fill {
  background: linear-gradient(180deg, #dff8b9, #74c94d);
}

html[data-pink-mode="true"] .battery-fill {
  background: linear-gradient(180deg, #ffb8dc, #e9559a);
}

html[data-custom-menu-color-mode="true"] .battery-fill {
  background: var(--menu-mode-battery-fill);
}

html[data-dark-mode="true"][data-playing="true"] .battery-fill {
  background: linear-gradient(180deg, #ffe1e1, #ff8e8e);
}

.status-time {
  font-size: 0.56rem;
  font-weight: 700;
}

.screen {
  height: min(42vw, 186px);
  padding: 0;
  background: #000;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-rainbow-mode="true"] .screen-wrap {
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 10px 18px rgba(255, 255, 255, 0.02),
    0 6px 18px rgba(155, 88, 255, 0.16);
}

html[data-rainbow-mode="true"] .status-bar {
  background: linear-gradient(90deg, #ff4d6d, #ff9f1c 18%, #ffe66d 34%, #5af78e 52%, #44d9e6 68%, #4d7cff 84%, #b14dff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

html[data-rainbow-mode="true"] .status-play {
  border-left-color: #ffffff;
}

html[data-rainbow-mode="true"] .battery {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

html[data-rainbow-mode="true"] .battery::after {
  background: rgba(255, 255, 255, 0.78);
}

html[data-rainbow-mode="true"] .battery-fill {
  background: linear-gradient(90deg, #ff6b6b, #ffd93d 45%, #6bffb8 78%, #6bc6ff);
}

html[data-route="songs"] .screen,
html[data-route="songs"] .song-row {
  touch-action: none;
}

html[data-route="photos"] .screen,
html[data-route="photos"] .photo-row {
  touch-action: none;
}

html[data-route="videos"] .screen,
html[data-route="videos"] .song-row {
  touch-action: none;
}

html[data-route="photo-viewer"] .status-bar {
  display: none;
}

html[data-route="photo-viewer"] .screen {
  height: min(42vw, 209px);
}

html[data-route="camera"] .status-bar {
  display: none;
}

html[data-route="camera"] .screen {
  height: min(42vw, 209px);
}

html[data-route="video-player"] .status-bar {
  display: none;
}

html[data-route="video-player"] .screen {
  height: min(42vw, 209px);
}

html[data-route="visualizer"] .status-bar {
  visibility: hidden;
  pointer-events: none;
  border-bottom-color: transparent;
  background: transparent;
}

html[data-route="visualizer"] .screen-wrap {
  height: calc(min(42vw, 196px) + 1.46rem);
}

html[data-route="visualizer"] .screen {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}

html[data-route="epub-reader"] .status-bar {
  display: none;
}

html[data-route="epub-reader"] .screen {
  height: min(42vw, 209px);
}

html[data-route="brick-game"] .status-bar {
  display: none;
}

html[data-route="brick-game"] .screen {
  height: min(42vw, 209px);
}

.wheel-panel {
  position: relative;
  z-index: 1;
  width: min(58vw, 220px);
  aspect-ratio: 1;
  margin: 2rem auto 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--wheel-top), var(--wheel-bottom));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.05),
    0 14px 24px var(--wheel-shadow);
  transform: none;
  transform-origin: center center;
  will-change: auto;
  transition: box-shadow 90ms ease-out;
}

html[data-beat-reactive="true"][data-playback-active="true"] .wheel-panel {
  transform: scale(var(--wheel-beat-scale, 1));
  will-change: transform;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, calc(0.04 + var(--beat-shadow, 0) * 0.08)),
    inset 0 -16px 22px rgba(0, 0, 0, calc(0.18 + var(--beat-shadow, 0) * 0.16)),
    0 14px 24px var(--wheel-shadow),
    0 0 var(--wheel-beat-glow, 0px) var(--beat-accent-soft),
    0 0 10px var(--beat-accent),
    0 0 calc(22px + var(--wheel-beat-glow, 0px)) color-mix(in srgb, var(--beat-accent-soft) 78%, transparent);
}

html[data-theme="phantom-black"] body {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.022), transparent 14%),
    radial-gradient(circle at 22% 72%, rgba(255, 255, 255, 0.012), transparent 20%),
    linear-gradient(180deg, #050505 0%, #010101 32%, #000000 100%);
}

html[data-theme="oled-friendly"] body {
  background:
    radial-gradient(circle at 50% 16%, rgba(141, 232, 255, 0.035), transparent 13%),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.012), transparent 18%),
    linear-gradient(180deg, #000000 0%, #000000 100%);
}

html[data-theme="rainbow-theme"] body {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.16), transparent 15%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(
      135deg,
      #ff718f 0%,
      #ffae63 15%,
      #ffe46f 28%,
      #84f598 42%,
      #69e3ff 58%,
      #7c8dff 74%,
      #c17dff 88%,
      #ff89d8 100%
    );
}

html[data-theme="oled-friendly"] .ipod {
  box-shadow:
    0 34px 54px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

html[data-theme="rainbow-theme"] .ipod {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)),
    linear-gradient(
      145deg,
      rgba(255, 113, 143, 0.94) 0%,
      rgba(255, 174, 99, 0.94) 17%,
      rgba(255, 228, 111, 0.93) 32%,
      rgba(132, 245, 152, 0.94) 49%,
      rgba(105, 227, 255, 0.95) 66%,
      rgba(124, 141, 255, 0.95) 82%,
      rgba(255, 137, 216, 0.94) 100%
    );
  box-shadow:
    0 30px 54px rgba(71, 28, 108, 0.34),
    0 0 40px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

html[data-theme="oled-friendly"] .shell-reflection {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 68%);
  opacity: 0.18;
}

html[data-theme="rainbow-theme"] .shell-reflection {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 58%);
  opacity: 0.42;
}

html[data-theme="oled-friendly"] .screen-wrap {
  background: linear-gradient(180deg, #020202, #000000);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 10px 18px rgba(255, 255, 255, 0.015),
    0 12px 24px rgba(0, 0, 0, 0.42);
}

html[data-theme="rainbow-theme"] .screen-wrap {
  background:
    linear-gradient(180deg, rgba(26, 18, 38, 0.96), rgba(8, 7, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 8px 16px rgba(255, 255, 255, 0.05),
    0 12px 24px rgba(39, 18, 59, 0.28);
}

html[data-theme="oled-friendly"] .status-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    #000000;
  border-bottom-color: rgba(141, 232, 255, 0.1);
}

html[data-theme="rainbow-theme"] .status-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(
      90deg,
      rgba(255, 113, 143, 0.22),
      rgba(255, 174, 99, 0.2),
      rgba(255, 228, 111, 0.18),
      rgba(132, 245, 152, 0.18),
      rgba(105, 227, 255, 0.18),
      rgba(124, 141, 255, 0.2),
      rgba(255, 137, 216, 0.22)
    ),
    rgba(9, 8, 17, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html:not([data-dark-mode="true"]):not([data-rainbow-mode="true"]):not([data-eternabox-mode="true"]):not([data-pink-mode="true"]):not([data-custom-menu-color-mode="true"]) .status-bar {
  background: linear-gradient(180deg, #ffffff, #e7e7e7);
  border-bottom-color: rgba(17, 17, 17, 0.22);
  color: var(--text-main);
  text-shadow: none;
}

html[data-dark-mode="true"]:not([data-rainbow-mode="true"]):not([data-eternabox-mode="true"]):not([data-pink-mode="true"]):not([data-custom-menu-color-mode="true"]) .status-bar {
  background: linear-gradient(180deg, #111215, #040405);
  border-bottom-color: color-mix(in srgb, var(--screen-frame) 42%, rgba(255, 255, 255, 0.16));
  color: var(--dark-text-main);
  text-shadow: none;
}

html[data-rainbow-mode="true"] .status-bar {
  background:
    linear-gradient(90deg, #ff4d6d, #ff9f1c 18%, #ffe66d 34%, #5af78e 52%, #44d9e6 68%, #4d7cff 84%, #b14dff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

html[data-theme="oled-friendly"] .wheel-panel {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.09), transparent 20%),
    radial-gradient(circle at 72% 78%, rgba(141, 232, 255, 0.04), transparent 20%),
    conic-gradient(
      from 180deg,
      #3b4148 0deg,
      #101418 46deg,
      #545b63 92deg,
      #06080b 138deg,
      #454b53 184deg,
      #0b0e12 230deg,
      #606872 276deg,
      #050608 320deg,
      #394049 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 -16px 24px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1.2px rgba(214, 220, 228, 0.18),
    inset 0 0 0 2.8px rgba(69, 75, 84, 0.24),
    0 18px 34px rgba(0, 0, 0, 0.58);
}

html[data-theme="rainbow-theme"] .wheel-panel {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.38), transparent 20%),
    radial-gradient(circle at 72% 76%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 48%),
    conic-gradient(
      from 180deg,
      #fff7fb 0deg,
      #ffd2ea 48deg,
      #ffe4b4 96deg,
      #fff6c6 144deg,
      #dbffd4 192deg,
      #d3f6ff 240deg,
      #d9d9ff 288deg,
      #f1d4ff 332deg,
      #fff7fb 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.62),
    inset 0 -16px 24px rgba(82, 30, 98, 0.18),
    inset 0 0 0 1.4px rgba(255, 255, 255, 0.62),
    inset 0 0 0 3px rgba(255, 255, 255, 0.24),
    0 20px 36px rgba(85, 29, 101, 0.28);
}

html[data-theme="oled-friendly"] .wheel-panel::before {
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.11), transparent 24%),
    linear-gradient(180deg, #15191d, #040506 70%, #000000);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 -8px 12px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(211, 217, 226, 0.16);
}

html[data-theme="rainbow-theme"] .wheel-panel::before {
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.44), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 221, 255, 0.94));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.68),
    inset 0 -8px 12px rgba(111, 61, 134, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

html[data-theme="oled-friendly"] .select-button {
  background:
    radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 68% 72%, rgba(141, 232, 255, 0.045), transparent 20%),
    conic-gradient(
      from 180deg,
      #50575f 0deg,
      #161a1f 48deg,
      #626b74 96deg,
      #0a0d10 144deg,
      #59616a 192deg,
      #12151a 240deg,
      #6b7480 288deg,
      #090b0e 332deg,
      #4d545c 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -10px 14px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(221, 228, 236, 0.14),
    0 0 18px rgba(141, 232, 255, 0.025);
}

html[data-theme="rainbow-theme"] .select-button {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.56), transparent 24%),
    radial-gradient(circle at 70% 74%, rgba(255, 255, 255, 0.16), transparent 18%),
    conic-gradient(
      from 180deg,
      #fff7fb 0deg,
      #ffd9ee 48deg,
      #ffe4b4 96deg,
      #fff6c6 144deg,
      #dcffd8 192deg,
      #d5f6ff 240deg,
      #ddd9ff 288deg,
      #f2d6ff 332deg,
      #fff7fb 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.74),
    inset 0 -10px 14px rgba(117, 65, 139, 0.12),
    inset 0 0 0 1.1px rgba(255, 255, 255, 0.54),
    0 0 22px rgba(255, 151, 223, 0.16);
}

html[data-theme="rainbow-theme"] .wheel-touch::before {
  content: "";
  position: absolute;
  inset: 10.4%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 63.9%, rgba(255, 255, 255, 0.76) 64.2% 64.85%, transparent 65.3%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%);
  opacity: 0.94;
}

html[data-theme="oled-friendly"] .wheel-button,
html[data-theme="oled-friendly"] .select-button {
  color: transparent;
  text-shadow: none;
}

html[data-theme="oled-friendly"] .menu-button {
  font-size: 0;
  color: transparent;
  text-shadow: none;
}

html[data-theme="oled-friendly"] .left-button::before,
html[data-theme="oled-friendly"] .left-button::after,
html[data-theme="oled-friendly"] .right-button::before,
html[data-theme="oled-friendly"] .right-button::after,
html[data-theme="oled-friendly"] .bottom-button::before,
html[data-theme="oled-friendly"] .bottom-button::after {
  opacity: 0;
}

html[data-theme="oled-friendly"] .wheel-touch::before {
  content: "";
  position: absolute;
  inset: 10.4%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 63.9%, rgba(215, 221, 228, 0.32) 64.2% 64.85%, transparent 65.3%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 36%);
  opacity: 0.9;
}

html[data-theme="phantom-black"] .wheel-panel {
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 72% 76%, rgba(255, 255, 255, 0.045), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035), transparent 48%),
    conic-gradient(
      from 180deg,
      #585d63 0deg,
      #1c1f24 44deg,
      #70757c 88deg,
      #101216 132deg,
      #666b73 176deg,
      #181b1f 220deg,
      #7a8087 264deg,
      #0b0d10 308deg,
      #5a5f66 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -18px 26px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1.4px rgba(224, 228, 235, 0.48),
    inset 0 0 0 3px rgba(92, 98, 108, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 34px rgba(0, 0, 0, 0.52),
    0 0 28px rgba(255, 255, 255, 0.03);
  transform: translateZ(22px);
}

html[data-theme="phantom-black"] .wheel-panel::before {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.11), transparent 24%),
    radial-gradient(circle at 68% 74%, rgba(255, 255, 255, 0.03), transparent 18%),
    linear-gradient(180deg, #161616, #060606 68%, #000000);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -10px 14px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1.2px rgba(212, 218, 226, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

html[data-theme="phantom-black"] .wheel-panel::after {
  content: "";
  position: absolute;
  inset: 7.8%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 52.8%, rgba(226, 231, 238, 0.62) 53.1% 54%, rgba(72, 76, 84, 0.2) 54.3% 54.7%, transparent 55.1%),
    radial-gradient(circle at 50% 50%, transparent 0 64.5%, rgba(214, 220, 228, 0.34) 65.05% 65.7%, transparent 66.3%);
  mask:
    radial-gradient(circle, transparent 0 56.8%, #000 57.4% 78.2%, transparent 78.8%);
  opacity: 0.95;
}

html[data-theme="robot-punk"] .wheel-panel {
  background:
    linear-gradient(90deg, rgba(17, 17, 18, 0.28) 49.7%, rgba(255, 245, 211, 0.08) 49.7% 50.3%, rgba(70, 45, 11, 0.24) 50.3%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(0, 0, 0, 0.025) 2px 4px
    ),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg,
      #f2f6fb 0 14%,
      #bcc4cf 24%,
      #fbfdff 40%,
      #97a0ac 49.7%,
      #e1b85d 50.3%,
      #a56d17 74%,
      #f2cf7d 88%,
      #7f5512 100%
    );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.16),
    0 14px 24px rgba(24, 18, 12, 0.24);
}

html[data-theme="crystal-purple"] .wheel-panel,
html[data-theme="crystal-teal"] .wheel-panel,
html[data-theme="crystal-red"] .wheel-panel,
html[data-theme="crystal-green"] .wheel-panel {
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, color-mix(in srgb, var(--wheel-top) 92%, #2b2b2b), color-mix(in srgb, var(--wheel-bottom) 92%, black));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22),
    0 14px 24px rgba(17, 17, 21, 0.28);
}

html[data-theme="crystal-rainbow"] .wheel-panel {
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, #fffefa, #ddd7cc);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.34),
    inset 0 -10px 18px rgba(0, 0, 0, 0.12),
    0 14px 24px rgba(25, 20, 16, 0.24);
}

.wheel-panel::before {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: linear-gradient(180deg, #656b78, #4f5663);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

html[data-theme="robot-punk"] .wheel-panel::before {
  background:
    linear-gradient(90deg, rgba(19, 19, 20, 0.2) 49.7%, rgba(255, 240, 196, 0.06) 49.7% 50.3%, rgba(74, 47, 10, 0.2) 50.3%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg,
      #f7fbff 0 18%,
      #ccd3dd 32%,
      #ffffff 45%,
      #aeb7c2 49.7%,
      #e7c168 50.3%,
      #ba8424 74%,
      #f5d688 90%,
      #8d6015 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.wheel-touch {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  touch-action: none;
  z-index: 1;
}

.wheel-touch::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  background:
    radial-gradient(circle, transparent 0 54.5%, color-mix(in srgb, var(--beat-accent) 92%, white 8%) 55.4%, transparent 58.4%),
    radial-gradient(circle, transparent 0 66.5%, var(--beat-accent-soft) 68.2%, transparent 72.8%),
    conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--beat-accent-soft) 64%, transparent) 48deg, transparent 116deg, color-mix(in srgb, var(--beat-accent) 74%, transparent) 180deg, transparent 252deg, color-mix(in srgb, var(--beat-accent-soft) 58%, transparent) 320deg, transparent 360deg);
  filter: blur(0.35px);
  transition:
    opacity 110ms ease-out,
    transform 110ms ease-out;
}

html[data-beat-reactive="true"][data-playback-active="true"] .wheel-touch::after {
  opacity: var(--beat-ring-opacity, 0);
  transform: scale(var(--beat-ring-scale, 0.94));
}

html[data-beat-reactive="true"][data-playback-active="true"] .wheel-panel {
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, calc(0.05 + var(--beat-shadow, 0) * 0.09)),
    0 14px 24px var(--wheel-shadow),
    0 0 var(--wheel-beat-glow, 0px) var(--beat-accent-soft),
    0 0 10px var(--beat-accent);
}

html[data-beat-reactive="true"][data-playback-active="true"] .select-button {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.14),
    inset 0 -10px 14px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, calc(0.05 + var(--beat-shadow, 0) * 0.08)),
    0 0 calc(8px + var(--wheel-beat-glow, 0px)) color-mix(in srgb, var(--beat-accent-soft) 78%, transparent);
  transition: box-shadow 90ms ease-out;
}

.wheel-button,
.select-button {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
}

html[data-theme="robot-punk"] .select-button {
  background:
    linear-gradient(90deg, rgba(19, 19, 20, 0.2) 49.7%, rgba(255, 240, 196, 0.06) 49.7% 50.3%, rgba(74, 47, 10, 0.18) 50.3%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045) 0 2px,
      rgba(0, 0, 0, 0.02) 2px 4px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.1)),
    linear-gradient(90deg,
      #f9fcff 0 18%,
      #ced7e0 33%,
      #ffffff 45%,
      #b0b9c3 49.7%,
      #e5bd63 50.3%,
      #ba8324 72%,
      #f4d485 88%,
      #906215 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-theme="phantom-black"] .wheel-button,
html[data-theme="phantom-black"] .select-button {
  color: transparent;
  text-shadow: none;
}

html[data-theme="phantom-black"] .menu-button {
  font-size: 0;
  color: transparent;
  text-shadow: none;
}

html[data-theme="phantom-black"] .left-button::before,
html[data-theme="phantom-black"] .left-button::after,
html[data-theme="phantom-black"] .right-button::before,
html[data-theme="phantom-black"] .right-button::after,
html[data-theme="phantom-black"] .bottom-button::before,
html[data-theme="phantom-black"] .bottom-button::after {
  opacity: 0;
}

html[data-theme="phantom-black"] .select-button {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 70% 74%, rgba(255, 255, 255, 0.04), transparent 18%),
    conic-gradient(
      from 180deg,
      #585d63 0deg,
      #1c1f24 44deg,
      #70757c 88deg,
      #101216 132deg,
      #666b73 176deg,
      #181b1f 220deg,
      #7a8087 264deg,
      #0b0d10 308deg,
      #5a5f66 360deg
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -10px 14px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1.1px rgba(214, 220, 228, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(255, 255, 255, 0.025);
  animation: phantom-black-select-spin 7.5s linear infinite;
  animation-play-state: paused;
  transform-origin: center;
}

html[data-theme="phantom-black"][data-playback-active="true"] .select-button {
  animation-play-state: running;
}

html[data-theme="phantom-black"] .select-button::before,
html[data-theme="phantom-black"] .select-button::after {
  display: none;
}

html[data-theme="phantom-black"] .wheel-touch::before {
  content: "";
  position: absolute;
  inset: 10.4%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 63.8%, rgba(218, 223, 230, 0.58) 64.15% 64.9%, rgba(70, 74, 82, 0.24) 65.2% 65.6%, transparent 66.1%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 36%);
  opacity: 0.9;
}

@keyframes phantom-black-select-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.wheel-button:focus-visible,
.select-button:focus-visible,
.secondary-button:focus-visible,
.import-button:focus-visible,
.preset-button:focus-visible {
  outline: 3px solid rgba(44, 95, 144, 0.45);
  outline-offset: 3px;
}

@media (hover: none) and (pointer: coarse) {
  html,
  body,
  .app-shell,
  .device-stage {
    background: #000000;
  }

  html,
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    width: 100%;
    min-height: var(--app-height, 100vh);
    overflow-x: hidden;
  }

  .app-shell {
    min-height: var(--app-height, 100vh);
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    padding:
      max(16px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .device-stage {
    min-height: 0;
    width: 100%;
    padding: 0;
    overflow: visible;
    contain: layout style;
  }

  .device-stack {
    width: min(84vw, 360px, calc((var(--app-height, 100vh) - 32px) * var(--ipod-aspect)));
    transform: none;
    backface-visibility: visible;
    contain: layout style;
  }

  .screen {
    height: min(49vw, 186px);
    min-height: min(174px, calc(var(--app-height, 100vh) * 0.24));
  }

  html[data-route="photo-viewer"] .screen,
  html[data-route="camera"] .screen,
  html[data-route="epub-reader"] .screen,
  html[data-route="brick-game"] .screen {
    height: min(52vw, 209px);
  }

  html[data-route="visualizer"] .screen-wrap {
    height: calc(min(49vw, 196px) + 1.46rem);
  }

  .ipod,
  .screen-wrap,
  .wheel-panel {
    backface-visibility: visible;
    transform-style: flat;
  }

  .secret-visualizer-hotspot {
    right: 0.5rem;
    bottom: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  html[data-route="now-playing"] .screen {
    height: min(48vw, 186px);
  }

  html[data-mobile-renderer="samsung-android"],
  html[data-mobile-renderer="samsung-android"] body,
  html[data-mobile-renderer="samsung-android"] .screen,
  html[data-mobile-renderer="samsung-android"] .screen * {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  html[data-mobile-renderer="samsung-chrome"],
  html[data-mobile-renderer="samsung-chrome"] body,
  html[data-mobile-renderer="samsung-chrome"] .screen,
  html[data-mobile-renderer="samsung-chrome"] .screen * {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  html[data-mobile-renderer="samsung-chrome"] .device-stage {
    contain: none;
  }

  html[data-mobile-renderer="samsung-chrome"] .device-stack {
    width: min(86vw, 360px, calc((var(--app-height, 100vh) - 32px) * var(--ipod-aspect)));
    contain: none;
    transform: none;
  }

  html[data-mobile-renderer="samsung-chrome"] .screen {
    overflow: hidden;
  }

  html[data-mobile-renderer="samsung-chrome"] .status-bar {
    font-size: 0.68rem;
  }

  html[data-mobile-renderer="samsung-chrome"] .status-bar #statusTitle {
    font-size: 0.7rem;
  }

  html[data-mobile-renderer="samsung-chrome"] .status-bar #statusMeta {
    font-size: 0.54rem;
  }

  html[data-mobile-renderer="samsung-chrome"] .menu-item,
  html[data-mobile-renderer="samsung-chrome"] .song-row,
  html[data-mobile-renderer="samsung-chrome"] .album-row {
    font-size: 0.94em;
  }

  html[data-mobile-renderer="samsung-chrome"] .song-submeta,
  html[data-mobile-renderer="samsung-chrome"] .album-artist,
  html[data-mobile-renderer="samsung-chrome"] .cover-flow-artist {
    font-size: 0.92em;
  }

  html[data-mobile-renderer="samsung-chrome"] .classic-now-playing .np-cover {
    width: 84px;
    height: 84px;
  }

  html[data-mobile-renderer="samsung-chrome"] .classic-progress-block {
    padding-bottom: 0.62rem;
  }

  html[data-mobile-renderer="samsung-chrome"] .classic-time-row {
    font-size: 0.72rem;
  }

  html[data-mobile-renderer="samsung-android"] .device-stage {
    contain: none;
  }

  html[data-mobile-renderer="samsung-android"] .device-stack {
    contain: none;
    transform: none;
  }

  html[data-mobile-renderer="samsung-android"] .ipod,
  html[data-mobile-renderer="samsung-android"] .screen-wrap,
  html[data-mobile-renderer="samsung-android"] .wheel-panel {
    transform-style: flat;
    will-change: auto;
  }

  html[data-mobile-renderer="samsung-android"] .ipod {
    transform: none !important;
  }

  html[data-mobile-renderer="samsung-android"] .screen-wrap {
    transform: none;
    transition: none;
  }

  html[data-mobile-renderer="samsung-android"] .wheel-panel {
    transform: none;
    transition: none;
  }

  html[data-mobile-renderer="samsung-android"][data-beat-reactive="true"][data-playback-active="true"] .wheel-panel {
    transform: scale(var(--wheel-beat-scale, 1));
  }

  html[data-mobile-renderer="samsung-android"] .fitted-menu-list .menu-item {
    min-height: 0;
    padding: 0 0.62rem;
  }

  html[data-mobile-renderer="samsung-android"] .screen {
    overflow: hidden;
  }

  html[data-mobile-renderer="samsung-android"] .list-viewport {
    min-height: 0;
    overflow: hidden;
  }

  html[data-mobile-renderer="samsung-android"] .list-viewport.full-width {
    display: flex;
    flex-direction: column;
  }

  html[data-mobile-renderer="samsung-android"] .list-viewport > .menu-list,
  html[data-mobile-renderer="samsung-android"] .list-viewport > .song-list,
  html[data-mobile-renderer="samsung-android"] .list-viewport > .album-list {
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    height: 100%;
  }

  html[data-mobile-renderer="samsung-android"] .list-viewport > .menu-list > .menu-item,
  html[data-mobile-renderer="samsung-android"] .list-viewport > .song-list > .song-row,
  html[data-mobile-renderer="samsung-android"] .list-viewport > .album-list > .album-row {
    min-height: 0;
  }

  html[data-mobile-renderer="samsung-android"] .list-viewport.full-width > .song-list,
  html[data-mobile-renderer="samsung-android"] .list-viewport.full-width > .album-list {
    flex: 1 1 auto;
    min-height: 0;
  }

  html[data-mobile-renderer="samsung-android"] .menu-item,
  html[data-mobile-renderer="samsung-android"] .song-row {
    min-height: 0;
    height: 100%;
    gap: 0.18rem;
    padding: 0 0.34rem;
    font-size: 0.56rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .song-copy {
    min-width: 0;
    gap: 0.04rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .song-meta,
  html[data-mobile-renderer="samsung-android"] .menu-label {
    min-width: 0;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .song-submeta {
    font-size: 0.36rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .song-time,
  html[data-mobile-renderer="samsung-android"] .menu-arrow {
    flex: 0 0 auto;
    font-size: 0.72rem;
    line-height: 1;
    text-align: right;
  }

  html[data-mobile-renderer="samsung-android"] .song-time {
    min-width: 1.76rem;
  }

  html[data-mobile-renderer="samsung-android"] .song-list-locked .song-row {
    min-height: 0;
    padding: 0 0.48rem;
  }

  html[data-mobile-renderer="samsung-android"] .access-summary {
    flex: 0 0 auto;
    padding: 0.18rem 0.34rem;
    font-size: 0.48rem;
    line-height: 1.08;
  }

  html[data-mobile-renderer="samsung-android"] .album-row {
    min-height: 0;
    height: 100%;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 0.24rem;
    padding: 0.06rem 0.3rem 0.06rem 0.18rem;
  }

  html[data-mobile-renderer="samsung-android"] .album-art {
    width: 25px;
    height: 25px;
  }

  html[data-mobile-renderer="samsung-android"] .album-copy {
    min-width: 0;
    gap: 0.05rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .album-title {
    font-size: 0.54rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .album-artist {
    font-size: 0.38rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-screen {
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 0.12rem 0.16rem 0.18rem;
    overflow: hidden;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-stage {
    min-height: 0;
    padding-top: 0.18rem;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card {
    top: 0.3rem;
    width: 62px;
    height: 62px;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card.center {
    transform: translateX(0) translateY(0) scale(1.16);
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card.left {
    transform: translateX(-60px) rotateY(58deg) scale(0.84);
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card.right {
    transform: translateX(60px) rotateY(-58deg) scale(0.84);
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card.far-left {
    transform: translateX(-92px) rotateY(66deg) scale(0.66);
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-card.far-right {
    transform: translateX(92px) rotateY(-66deg) scale(0.66);
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-reflection {
    bottom: 0.2rem;
    height: 12px;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-caption {
    min-height: 1.16rem;
    grid-template-rows: 0.56rem 0.44rem;
    padding: 0.1rem 0.28rem 0;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-title {
    font-size: 0.55rem;
    line-height: 0.56rem;
  }

  html[data-mobile-renderer="samsung-android"] .cover-flow-artist {
    margin-top: 0;
    font-size: 0.4rem;
    line-height: 0.44rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-now-playing {
    padding-top: 0.22rem;
  }

  html[data-mobile-renderer="samsung-android"] .np-classic-header {
    padding: 0.1rem 0.46rem 0;
    font-size: 0.54rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .np-classic-body {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 0.42rem;
    padding: 0.24rem 0.46rem 0;
  }

  html[data-mobile-renderer="samsung-android"] .classic-now-playing .np-cover {
    width: 62px;
    height: 62px;
  }

  html[data-mobile-renderer="samsung-android"] .np-classic-meta {
    gap: 0.18rem;
    padding-top: 0.04rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-now-playing .np-title {
    font-size: 0.62rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-now-playing .np-artist {
    font-size: 0.54rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-now-playing .np-album {
    font-size: 0.5rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-progress-block {
    padding: 0.4rem 0.42rem 0.34rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-progress-bar {
    height: 0.56rem;
  }

  html[data-mobile-renderer="samsung-android"] .scrub-mode-indicator {
    margin-top: 0.14rem;
    min-height: 0.5rem;
    font-size: 0.38rem;
  }

  html[data-mobile-renderer="samsung-android"] .shuffle-mode-indicator {
    margin-top: -0.5rem;
  }

  html[data-mobile-renderer="samsung-android"] .classic-time-row {
    margin-top: 0.2rem;
    padding-bottom: 0.02rem;
    font-size: 0.54rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .classic-time-row span {
    flex: 0 0 auto;
    min-width: 0;
  }

  html[data-mobile-renderer="samsung-android"] .auth-screen {
    grid-template-rows: minmax(0, 0.62fr) minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(0, 0.46fr) minmax(0, 0.34fr);
    gap: 0.08rem;
    padding: 0.1rem 0.16rem 0.12rem;
    overflow: hidden;
  }

  html[data-mobile-renderer="samsung-android"] .auth-hero,
  html[data-mobile-renderer="samsung-android"] .auth-input-card,
  html[data-mobile-renderer="samsung-android"] .auth-form-card,
  html[data-mobile-renderer="samsung-android"] .auth-form-row,
  html[data-mobile-renderer="samsung-android"] .auth-footer-hint,
  html[data-mobile-renderer="samsung-android"] .auth-notice {
    min-height: 0;
  }

  html[data-mobile-renderer="samsung-android"] .auth-hero {
    gap: 0.02rem;
    padding: 0.08rem 0.14rem;
  }

  html[data-mobile-renderer="samsung-android"] .auth-eyebrow,
  html[data-mobile-renderer="samsung-android"] .auth-input-label,
  html[data-mobile-renderer="samsung-android"] .auth-form-label {
    font-size: 0.26rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .auth-hero strong {
    font-size: 0.5rem;
    line-height: 0.94;
  }

  html[data-mobile-renderer="samsung-android"] .auth-hero-body {
    font-size: 0.34rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .auth-input-card {
    gap: 0.03rem;
    padding: 0.08rem 0.14rem;
  }

  html[data-mobile-renderer="samsung-android"] .auth-input-field {
    min-height: 0;
    padding: 0.08rem 0.14rem;
    font-size: 13px;
    line-height: 1.05;
  }

  html[data-mobile-renderer="samsung-android"] .auth-form-card {
    height: 100%;
  }

  html[data-mobile-renderer="samsung-android"] .auth-form-row {
    height: 100%;
    padding: 0.08rem 0.14rem;
    gap: 0.1rem;
  }

  html[data-mobile-renderer="samsung-android"] .auth-form-copy {
    gap: 0.01rem;
  }

  html[data-mobile-renderer="samsung-android"] .auth-form-value {
    font-size: 0.38rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .auth-form-action {
    font-size: 0.34rem;
    line-height: 1;
  }

  html[data-mobile-renderer="samsung-android"] .auth-footer-hint,
  html[data-mobile-renderer="samsung-android"] .auth-notice {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.06rem 0.12rem;
    font-size: 0.31rem;
    line-height: 1;
  }

  .classic-now-playing {
    padding-top: 0.25rem;
  }

  .classic-progress-block {
    padding: 0.8rem 0.7rem 1rem;
  }

  .classic-time-row {
    margin-top: 0.46rem;
    padding-bottom: 0.12rem;
  }

  body::before,
  body::after,
  .device-stage::before,
  .device-stage::after,
  .device-shadow {
    display: none;
  }

  .wheel-button:focus-visible,
  .select-button:focus-visible,
  .secondary-button:focus-visible,
  .import-button:focus-visible,
  .preset-button:focus-visible,
  .wheel-touch:focus-visible,
  .fullscreen-wheel-touch:focus-visible {
    outline: none;
    box-shadow: none;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  .app-shell,
  .device-stage,
  .device-stack,
  .ipod,
  .screen-wrap,
  .screen,
  .status-bar,
  .menu-list,
  .song-list,
  .album-list,
  .menu-item,
  .song-row,
  .album-row,
  .wheel-panel,
  .wheel-touch,
  .wheel-button,
  .select-button {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }

}

.menu-button {
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 16%;
  color: var(--wheel-icon-color);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  z-index: 5;
  text-shadow: 0 1px 0 var(--wheel-icon-shadow);
}

.top-button,
.bottom-button {
  left: 24%;
  width: 52%;
  height: 20%;
  z-index: 3;
}

.top-button {
  top: 2%;
}

.bottom-button {
  bottom: 0;
}

.left-button,
.right-button {
  top: 24%;
  width: 20%;
  height: 52%;
}

.left-button {
  left: 0;
  z-index: 3;
}

.right-button {
  right: 0;
  z-index: 3;
}

.left-button::before,
.right-button::before,
.bottom-button::before,
.left-button::after,
.right-button::after,
.bottom-button::after {
  position: absolute;
  color: var(--wheel-icon-color);
  font-weight: 700;
  content: "";
}

.left-button::before {
  left: 38%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 12px solid var(--wheel-icon-color);
}

.left-button::after {
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 12px solid var(--wheel-icon-color);
}

.right-button::before {
  left: 46%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--wheel-icon-color);
}

.right-button::after {
  left: 62%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--wheel-icon-color);
}

.bottom-button::before {
  left: 45%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--wheel-icon-color);
}

.bottom-button::after {
  left: 58%;
  top: 50%;
  width: 4px;
  height: 18px;
  transform: translate(-50%, -50%);
  background: var(--wheel-icon-color);
  box-shadow: 8px 0 0 var(--wheel-icon-color);
}

.select-button {
  inset: 29%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--select-core-top), var(--select-core-bottom));
  box-shadow:
    inset 0 1px 1px var(--select-core-gloss),
    inset 0 0 0 1px var(--select-core-rim);
  z-index: 4;
  overflow: hidden;
}

.select-button::before,
.select-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: var(--portal-opacity);
  transition: opacity 220ms ease;
}

.select-button::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 118, 12, 0.98) 0 17%, rgba(26, 146, 15, 0.94) 18% 31%, transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(212, 255, 116, 0.72) 0 10%, transparent 11%),
    conic-gradient(
      from 24deg,
      #d9ff74 0deg 24deg,
      #7dff23 24deg 56deg,
      #4ee11c 56deg 88deg,
      #bbff66 88deg 124deg,
      #36bc15 124deg 164deg,
      #9dff45 164deg 204deg,
      #279f13 204deg 244deg,
      #d4ff73 244deg 286deg,
      #65f61f 286deg 322deg,
      #e4ff8c 322deg 360deg
    );
  filter: saturate(1.18) contrast(1.06);
}

.select-button::after {
  inset: 4%;
  background:
    radial-gradient(circle at 50% 50%, rgba(22, 103, 10, 0.98) 0 14%, transparent 15%),
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.72) 0 3%, transparent 4%),
    radial-gradient(circle at 28% 14%, rgba(255, 255, 255, 0.68) 0 2.4%, transparent 3.4%),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.68) 0 2.7%, transparent 3.7%),
    radial-gradient(circle at 84% 34%, rgba(255, 255, 255, 0.72) 0 3%, transparent 4%),
    radial-gradient(circle at 84% 70%, rgba(255, 255, 255, 0.72) 0 3%, transparent 4%),
    radial-gradient(circle at 70% 86%, rgba(255, 255, 255, 0.68) 0 2.4%, transparent 3.4%),
    radial-gradient(circle at 36% 88%, rgba(255, 255, 255, 0.72) 0 3.2%, transparent 4.2%),
    radial-gradient(circle at 16% 72%, rgba(255, 255, 255, 0.68) 0 2.7%, transparent 3.7%),
    radial-gradient(circle at 10% 48%, rgba(255, 255, 255, 0.72) 0 2.8%, transparent 3.8%),
    conic-gradient(
      from 180deg,
      rgba(228, 255, 148, 0.84) 0deg 32deg,
      rgba(79, 224, 24, 0.9) 32deg 72deg,
      rgba(194, 255, 102, 0.84) 72deg 116deg,
      rgba(44, 152, 21, 0.92) 116deg 162deg,
      rgba(229, 255, 151, 0.84) 162deg 208deg,
      rgba(53, 181, 25, 0.92) 208deg 256deg,
      rgba(198, 255, 110, 0.84) 256deg 310deg,
      rgba(36, 133, 18, 0.93) 310deg 360deg
    );
  mix-blend-mode: screen;
  filter: blur(0.25px) saturate(1.1);
}

.controls-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0;
  width: 100%;
  z-index: 2;
  visibility: visible;
  overflow: hidden;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.controls-panel.backplate-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.985);
  filter: blur(1px);
}

.panel-card {
  padding: 1.2rem 1.1rem 1.6rem;
  border-radius: 1.95rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 0 1.2%, rgba(255, 255, 255, 0) 3.4%, rgba(255, 255, 255, 0) 96.6%, rgba(255, 255, 255, 0.4) 98.6%, rgba(255, 255, 255, 0.62) 100%),
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.24), transparent 18%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 30%, transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--body-top) 82%, white), color-mix(in srgb, var(--body-bottom) 88%, var(--body-top)) 38%, color-mix(in srgb, var(--body-bottom) 82%, white) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 18px 24px rgba(255, 255, 255, 0.05),
    inset 18px 18px 28px rgba(255, 255, 255, 0.08),
    inset -12px -16px 24px rgba(0, 0, 0, 0.18),
    0 18px 40px rgba(8, 10, 14, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

html[data-theme="crystal-purple"] .panel-card,
html[data-theme="crystal-rainbow"] .panel-card,
html[data-theme="crystal-teal"] .panel-card,
html[data-theme="crystal-red"] .panel-card,
html[data-theme="crystal-green"] .panel-card {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.28) 0 11%, rgba(255, 255, 255, 0.05) 11% 18%, transparent 18% 36%, rgba(255, 255, 255, 0.1) 36% 42%, transparent 42% 100%),
    linear-gradient(246deg, rgba(255, 255, 255, 0.16) 0 12%, transparent 12% 62%, rgba(255, 255, 255, 0.09) 62% 70%, transparent 70% 100%),
    linear-gradient(150deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 54%, transparent 54% 100%),
    radial-gradient(circle at 24% 15%, rgba(255, 255, 255, 0.34), transparent 18%),
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--body-top) 52%, white) 0%, transparent 46%),
    linear-gradient(180deg, color-mix(in srgb, var(--body-top) 78%, white), color-mix(in srgb, var(--body-bottom) 90%, black));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 10px 14px 22px rgba(255, 255, 255, 0.08),
    inset -14px -18px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px color-mix(in srgb, var(--body-top) 34%, transparent),
    0 18px 40px rgba(10, 12, 18, 0.28);
}

.hero-card h1,
.section-heading h2 {
  margin: 0;
}

.hero-card {
  position: relative;
  width: var(--ipod-width);
  min-height: calc(var(--ipod-width) / var(--ipod-aspect));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition:
    box-shadow 180ms ease;
}

.flip-hotspot-control {
  position: absolute;
  left: 50%;
  width: min(28vw, 104px);
  height: min(7.2vw, 28px);
  transform: translateX(-50%);
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: none;
}

.flip-hotspot-control::before {
  content: none;
}

.flip-hotspot-control::after {
  content: none;
}

.flip-hotspot-control:hover,
.flip-hotspot-control:focus-visible {
  opacity: 0;
  transform: translateX(-50%);
}

.frontplate-flip-hotspot {
  bottom: 0.4rem;
}

.backplate-flip-hotspot {
  bottom: 0.48rem;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.hero-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 32%);
}

.hero-card::after {
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.actions-row {
  display: grid;
  gap: 1rem;
  margin: 0;
  width: 100%;
  align-self: center;
  justify-items: center;
  transform: translateY(112px);
}

#musicInput,
#musicFolderInput,
#epubInput,
#backplateImageInput,
#stickerInput {
  display: none;
}

.import-button,
.secondary-button,
.preset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  width: min(100%, 280px);
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.import-button {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(8, 8, 8, 0.98));
  color: #fbf8f3;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 30px rgba(0, 0, 0, 0.26);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.4);
  color: #241d15;
  font-weight: 700;
  border: 1px solid rgba(73, 63, 44, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 18px rgba(71, 61, 42, 0.04);
}

.helper-text {
  margin: 0;
  color: rgba(34, 29, 21, 0.68);
  font-size: 0.94rem;
}

.hero-tip-panel {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(73, 63, 44, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 6px 14px rgba(59, 48, 32, 0.04);
}

.hero-tip-panel p {
  margin: 0;
  line-height: 1.42;
}

.sticker-import-button {
  justify-content: center;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.section-heading span {
  color: rgba(34, 29, 21, 0.65);
  font-size: 0.82rem;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.preset-button {
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(73, 63, 44, 0.08);
}

.preset-button.active {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(44, 95, 144, 0.34);
  box-shadow: 0 12px 20px rgba(44, 95, 144, 0.14);
}

.preset-swatch {
  display: inline-grid;
  grid-template-columns: repeat(3, 12px);
  gap: 4px;
}

.preset-swatch span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.preset-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.preset-copy strong {
  font-size: 0.92rem;
}

.preset-copy span {
  color: rgba(34, 29, 21, 0.68);
  font-size: 0.76rem;
}

.menu-list,
.song-list,
.album-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-viewport {
  overflow: hidden;
  background: #ffffff;
  touch-action: none;
}

.fitted-menu-list,
.main-menu-list {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  height: 100%;
}

.fitted-menu-list .menu-item,
.main-menu-list .menu-item {
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.list-viewport.full-width {
  height: 100%;
}

.menu-item,
.song-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.82rem;
  padding: 0 0.48rem 0 0.56rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  cursor: pointer;
}

.menu-item-main {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.menu-item .menu-label {
  min-width: 0;
}

.menu-item .sticker-art-thumb,
.menu-item .sticker-menu-badge {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.menu-item.active,
.song-row.active {
  background: linear-gradient(180deg, #3fb4ef, #0065b6);
  color: var(--highlight-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

html[data-dark-mode="true"] .menu-item,
html[data-dark-mode="true"] .song-row,
html[data-dark-mode="true"] .song-meta,
html[data-dark-mode="true"] .song-time {
  color: var(--dark-text-main);
}

html[data-dark-mode="true"] .song-submeta,
html[data-dark-mode="true"] .empty-state,
html[data-dark-mode="true"] .placeholder-screen,
html[data-dark-mode="true"] .now-playing-empty,
html[data-dark-mode="true"] .import-screen,
html[data-dark-mode="true"] .import-showcase-empty,
html[data-dark-mode="true"] .import-stream-empty {
  color: var(--dark-text-soft);
}

html[data-dark-mode="true"] .menu-item.active,
html[data-dark-mode="true"] .song-row.active {
  background: linear-gradient(180deg, var(--dark-highlight-top), var(--dark-highlight-bottom));
  color: var(--dark-highlight-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

html[data-dark-mode="true"][data-playing="true"] .menu-item.active,
html[data-dark-mode="true"][data-playing="true"] .song-row.active {
  background: linear-gradient(180deg, var(--dark-playing-top), var(--dark-playing-bottom));
  color: #fff6f6;
}

.song-copy {
  display: grid;
  min-width: 0;
}

html[data-rainbow-mode="true"] .split-screen,
html[data-rainbow-mode="true"] .list-viewport,
html[data-rainbow-mode="true"] .screen,
html[data-rainbow-mode="true"] .empty-state,
html[data-rainbow-mode="true"] .placeholder-screen,
html[data-rainbow-mode="true"] .import-screen,
html[data-rainbow-mode="true"] .now-playing,
html[data-rainbow-mode="true"] .now-playing-empty,
html[data-rainbow-mode="true"] .video-screen,
html[data-rainbow-mode="true"] .cover-flow-screen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #ff5c8a 0%, #ffb347 18%, #fff275 34%, #54f2b5 50%, #59d6ff 68%, #6a7bff 84%, #d46bff 100%);
  color: #111111;
}

html[data-eternabox-mode="true"] .split-screen,
html[data-eternabox-mode="true"] .list-viewport,
html[data-eternabox-mode="true"] .screen,
html[data-eternabox-mode="true"] .empty-state,
html[data-eternabox-mode="true"] .placeholder-screen,
html[data-eternabox-mode="true"] .import-screen,
html[data-eternabox-mode="true"] .now-playing,
html[data-eternabox-mode="true"] .now-playing-empty,
html[data-eternabox-mode="true"] .video-screen,
html[data-eternabox-mode="true"] .cover-flow-screen {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.42), transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(122, 215, 116, 0.14), transparent 34%),
    linear-gradient(180deg, #fbfff8 0%, #edf8e6 54%, #deeed6 100%);
  color: #274724;
}

html[data-pink-mode="true"] .split-screen,
html[data-pink-mode="true"] .list-viewport,
html[data-pink-mode="true"] .screen,
html[data-pink-mode="true"] .empty-state,
html[data-pink-mode="true"] .placeholder-screen,
html[data-pink-mode="true"] .import-screen,
html[data-pink-mode="true"] .now-playing,
html[data-pink-mode="true"] .now-playing-empty,
html[data-pink-mode="true"] .video-screen,
html[data-pink-mode="true"] .cover-flow-screen {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.44), transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(255, 154, 203, 0.14), transparent 34%),
    linear-gradient(180deg, #fffafd 0%, #ffedf5 54%, #f9dce9 100%);
  color: #5b2540;
}

html[data-custom-menu-color-mode="true"] .split-screen,
html[data-custom-menu-color-mode="true"] .list-viewport,
html[data-custom-menu-color-mode="true"] .screen,
html[data-custom-menu-color-mode="true"] .empty-state,
html[data-custom-menu-color-mode="true"] .placeholder-screen,
html[data-custom-menu-color-mode="true"] .import-screen,
html[data-custom-menu-color-mode="true"] .now-playing,
html[data-custom-menu-color-mode="true"] .now-playing-empty,
html[data-custom-menu-color-mode="true"] .video-screen,
html[data-custom-menu-color-mode="true"] .cover-flow-screen {
  background: var(--menu-mode-screen-bg);
  color: var(--menu-mode-text);
}

html[data-rainbow-mode="true"] .menu-item,
html[data-rainbow-mode="true"] .song-row,
html[data-rainbow-mode="true"] .song-meta,
html[data-rainbow-mode="true"] .song-time,
html[data-rainbow-mode="true"] .album-row,
html[data-rainbow-mode="true"] .album-title,
html[data-rainbow-mode="true"] .photo-row,
html[data-rainbow-mode="true"] .photo-row .album-title,
html[data-rainbow-mode="true"] .photo-row .album-artist,
html[data-rainbow-mode="true"] .photo-row .marquee-text,
html[data-rainbow-mode="true"] .photo-row .marquee-text > span {
  color: #101010;
}

html[data-eternabox-mode="true"] .menu-item,
html[data-eternabox-mode="true"] .song-row,
html[data-eternabox-mode="true"] .song-meta,
html[data-eternabox-mode="true"] .song-time,
html[data-eternabox-mode="true"] .album-row,
html[data-eternabox-mode="true"] .album-title,
html[data-eternabox-mode="true"] .photo-row,
html[data-eternabox-mode="true"] .photo-row .album-title,
html[data-eternabox-mode="true"] .photo-row .album-artist,
html[data-eternabox-mode="true"] .photo-row .marquee-text,
html[data-eternabox-mode="true"] .photo-row .marquee-text > span {
  color: #315d24;
}

html[data-pink-mode="true"] .menu-item,
html[data-pink-mode="true"] .song-row,
html[data-pink-mode="true"] .song-meta,
html[data-pink-mode="true"] .song-time,
html[data-pink-mode="true"] .album-row,
html[data-pink-mode="true"] .album-title,
html[data-pink-mode="true"] .photo-row,
html[data-pink-mode="true"] .photo-row .album-title,
html[data-pink-mode="true"] .photo-row .album-artist,
html[data-pink-mode="true"] .photo-row .marquee-text,
html[data-pink-mode="true"] .photo-row .marquee-text > span {
  color: #612243;
}

html[data-custom-menu-color-mode="true"] .menu-item,
html[data-custom-menu-color-mode="true"] .song-row,
html[data-custom-menu-color-mode="true"] .song-meta,
html[data-custom-menu-color-mode="true"] .song-time,
html[data-custom-menu-color-mode="true"] .album-row,
html[data-custom-menu-color-mode="true"] .album-title,
html[data-custom-menu-color-mode="true"] .photo-row,
html[data-custom-menu-color-mode="true"] .photo-row .album-title,
html[data-custom-menu-color-mode="true"] .photo-row .album-artist,
html[data-custom-menu-color-mode="true"] .photo-row .marquee-text,
html[data-custom-menu-color-mode="true"] .photo-row .marquee-text > span {
  color: var(--menu-mode-text);
}

html[data-rainbow-mode="true"] .song-submeta,
html[data-rainbow-mode="true"] .album-artist,
html[data-rainbow-mode="true"] .empty-state,
html[data-rainbow-mode="true"] .placeholder-screen,
html[data-rainbow-mode="true"] .now-playing-empty,
html[data-rainbow-mode="true"] .import-screen,
html[data-rainbow-mode="true"] .import-showcase-empty,
html[data-rainbow-mode="true"] .import-stream-empty,
html[data-rainbow-mode="true"] .cover-flow-artist {
  color: rgba(16, 16, 16, 0.72);
}

html[data-eternabox-mode="true"] .song-submeta,
html[data-eternabox-mode="true"] .album-artist,
html[data-eternabox-mode="true"] .empty-state,
html[data-eternabox-mode="true"] .placeholder-screen,
html[data-eternabox-mode="true"] .now-playing-empty,
html[data-eternabox-mode="true"] .import-screen,
html[data-eternabox-mode="true"] .import-showcase-empty,
html[data-eternabox-mode="true"] .import-stream-empty,
html[data-eternabox-mode="true"] .cover-flow-artist {
  color: rgba(66, 110, 54, 0.72);
}

html[data-pink-mode="true"] .song-submeta,
html[data-pink-mode="true"] .album-artist,
html[data-pink-mode="true"] .empty-state,
html[data-pink-mode="true"] .placeholder-screen,
html[data-pink-mode="true"] .now-playing-empty,
html[data-pink-mode="true"] .import-screen,
html[data-pink-mode="true"] .import-showcase-empty,
html[data-pink-mode="true"] .import-stream-empty,
html[data-pink-mode="true"] .cover-flow-artist {
  color: rgba(116, 47, 80, 0.72);
}

html[data-custom-menu-color-mode="true"] .song-submeta,
html[data-custom-menu-color-mode="true"] .album-artist,
html[data-custom-menu-color-mode="true"] .empty-state,
html[data-custom-menu-color-mode="true"] .placeholder-screen,
html[data-custom-menu-color-mode="true"] .now-playing-empty,
html[data-custom-menu-color-mode="true"] .import-screen,
html[data-custom-menu-color-mode="true"] .import-showcase-empty,
html[data-custom-menu-color-mode="true"] .import-stream-empty,
html[data-custom-menu-color-mode="true"] .cover-flow-artist {
  color: var(--menu-mode-subtext);
}

html[data-rainbow-mode="true"] .menu-item.active,
html[data-rainbow-mode="true"] .song-row.active,
html[data-rainbow-mode="true"] .album-row.active,
html[data-rainbow-mode="true"] .photo-row.active {
  background: linear-gradient(90deg, #ff3f7a, #ff9a3f 18%, #ffe95a 34%, #51f0a8 52%, #3fd7ff 68%, #5c7bff 84%, #ca5cff);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

html[data-eternabox-mode="true"] .menu-item.active,
html[data-eternabox-mode="true"] .song-row.active,
html[data-eternabox-mode="true"] .album-row.active,
html[data-eternabox-mode="true"] .photo-row.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(96, 184, 88, 0.96)),
    linear-gradient(90deg, #d3f0c3, #5aa04b);
  color: #f5fff4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 12px rgba(118, 200, 93, 0.12);
}

html[data-pink-mode="true"] .menu-item.active,
html[data-pink-mode="true"] .song-row.active,
html[data-pink-mode="true"] .album-row.active,
html[data-pink-mode="true"] .photo-row.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(237, 107, 171, 0.96)),
    linear-gradient(90deg, #ffd2e7, #df4f90);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 12px rgba(233, 98, 167, 0.12);
}

html[data-custom-menu-color-mode="true"] .menu-item.active,
html[data-custom-menu-color-mode="true"] .song-row.active,
html[data-custom-menu-color-mode="true"] .album-row.active,
html[data-custom-menu-color-mode="true"] .photo-row.active {
  background: var(--menu-mode-active-bg);
  color: #ffffff;
  box-shadow: var(--menu-mode-active-shadow);
}

html[data-rainbow-mode="true"] .menu-item.active .song-submeta,
html[data-rainbow-mode="true"] .song-row.active .song-submeta,
html[data-rainbow-mode="true"] .album-row.active .album-artist,
html[data-rainbow-mode="true"] .photo-row.active .album-artist,
html[data-rainbow-mode="true"] .photo-row.active .album-title,
html[data-rainbow-mode="true"] .photo-row.active .marquee-text,
html[data-rainbow-mode="true"] .photo-row.active .marquee-text > span {
  color: rgba(255, 255, 255, 0.96);
}

.album-list-viewport {
  height: 100%;
}

.album-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 46px;
  padding: 0.18rem 0.42rem 0.18rem 0.22rem;
  color: var(--text-main);
  cursor: pointer;
}

.epub-book-row {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0.72rem;
  min-height: 64px;
  padding: 0.34rem 0.48rem 0.34rem 0.28rem;
}

.album-row.active {
  background: linear-gradient(180deg, #3fb4ef, #0065b6);
  color: var(--highlight-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.photo-row,
.photo-row .album-title,
.photo-row .album-artist,
.photo-row .marquee-text,
.photo-row .marquee-text > span {
  color: #111111;
}

html[data-dark-mode="true"] .photo-row,
html[data-dark-mode="true"] .photo-row .album-title,
html[data-dark-mode="true"] .photo-row .album-artist,
html[data-dark-mode="true"] .photo-row .marquee-text,
html[data-dark-mode="true"] .photo-row .marquee-text > span {
  color: #ffffff;
}

.photo-row.active,
.photo-row.active .album-title,
.photo-row.active .album-artist,
.photo-row.active .marquee-text,
.photo-row.active .marquee-text > span {
  color: #ffffff;
}

html[data-font-color-customized="true"] .status-bar #statusTitle,
html[data-font-color-customized="true"] .status-bar #statusMeta,
html[data-font-color-customized="true"] .status-time,
html[data-font-color-customized="true"] .menu-item,
html[data-font-color-customized="true"] .song-row,
html[data-font-color-customized="true"] .song-meta,
html[data-font-color-customized="true"] .song-time,
html[data-font-color-customized="true"] .album-row,
html[data-font-color-customized="true"] .album-title,
html[data-font-color-customized="true"] .photo-row,
html[data-font-color-customized="true"] .photo-row .album-title,
html[data-font-color-customized="true"] .photo-row .album-artist,
html[data-font-color-customized="true"] .photo-row .marquee-text,
html[data-font-color-customized="true"] .photo-row .marquee-text > span,
html[data-font-color-customized="true"] .empty-state,
html[data-font-color-customized="true"] .placeholder-screen,
html[data-font-color-customized="true"] .import-screen,
html[data-font-color-customized="true"] .now-playing,
html[data-font-color-customized="true"] .now-playing-empty,
html[data-font-color-customized="true"] .np-classic-header,
html[data-font-color-customized="true"] .np-title,
html[data-font-color-customized="true"] .np-artist,
html[data-font-color-customized="true"] .np-album,
html[data-font-color-customized="true"] .classic-time-row,
html[data-font-color-customized="true"] .cover-flow-artist,
html[data-font-color-customized="true"] .video-empty-state,
html[data-font-color-customized="true"] .now-playing-inline-input {
  color: var(--app-font-color);
}

html[data-font-color-customized="true"] .song-submeta,
html[data-font-color-customized="true"] .album-artist,
html[data-font-color-customized="true"] .cover-flow-artist,
html[data-font-color-customized="true"] .import-meta,
html[data-font-color-customized="true"] .video-empty-state strong,
html[data-font-color-customized="true"] .empty-state strong {
  color: var(--app-font-color-soft);
}

html[data-font-color-customized="true"] .menu-item.active,
html[data-font-color-customized="true"] .song-row.active,
html[data-font-color-customized="true"] .album-row.active,
html[data-font-color-customized="true"] .photo-row.active,
html[data-font-color-customized="true"] .photo-row.active .album-title,
html[data-font-color-customized="true"] .photo-row.active .album-artist,
html[data-font-color-customized="true"] .photo-row.active .marquee-text,
html[data-font-color-customized="true"] .photo-row.active .marquee-text > span {
  color: var(--app-font-color);
}

html[data-font-color-customized="true"] .menu-item.active .song-submeta,
html[data-font-color-customized="true"] .song-row.active .song-submeta,
html[data-font-color-customized="true"] .album-row.active .album-artist {
  color: var(--app-font-color-soft);
}

.album-art-cell {
  display: grid;
  place-items: center;
}

.epub-book-row .album-art-cell {
  align-self: stretch;
}

.album-art {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(135deg, #2b3f5c, #1f6a63 52%, #384f6d);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.08);
}

.epub-book-row .album-art {
  width: 54px;
  height: 54px;
  border-radius: 0.22rem;
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow:
    0 2px 6px rgba(17, 17, 17, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-art {
  background: #050607;
}

.photo-art-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain !important;
  object-position: center;
  padding: 1px;
  background: #050607;
}

.album-art.fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.book-cover-art {
  background: #111;
  overflow: hidden;
}

.album-art img.book-cover-image,
.np-cover img.book-cover-image,
.cover-flow-card img.book-cover-image,
.book-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  padding: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.sticker-row {
  grid-template-columns: 42px minmax(0, 1fr);
}

.sticker-art-thumb,
.sticker-menu-badge {
  border-radius: 0.42rem;
}

.sticker-art-thumb img {
  object-fit: contain;
  padding: 0.14rem;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.sticker-menu-badge {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background:
    linear-gradient(180deg, rgba(58, 186, 240, 0.98), rgba(0, 101, 182, 0.98));
}

.sticker-delete-badge {
  background:
    linear-gradient(180deg, rgba(255, 131, 131, 0.98), rgba(168, 20, 20, 0.98));
}

.album-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.epub-book-copy {
  align-content: center;
  gap: 0.18rem;
}

.album-title,
.album-artist {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.album-title {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.epub-book-copy .album-title,
.epub-book-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.album-artist {
  font-size: 0.64rem;
  color: var(--text-soft);
  letter-spacing: -0.02em;
}

.epub-book-copy .album-artist,
.epub-book-subtitle {
  font-size: 0.74rem;
  letter-spacing: -0.024em;
  color: rgba(17, 17, 17, 0.7);
}

html[data-dark-mode="true"] .album-row {
  color: var(--dark-text-main);
}

html[data-dark-mode="true"] .album-artist {
  color: var(--dark-text-soft);
}

html[data-dark-mode="true"] .epub-book-copy .album-artist,
html[data-dark-mode="true"] .epub-book-subtitle {
  color: rgba(247, 247, 249, 0.76);
}

html[data-dark-mode="true"] .album-row.active {
  background: linear-gradient(180deg, var(--dark-highlight-top), var(--dark-highlight-bottom));
  color: var(--dark-highlight-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

html[data-dark-mode="true"][data-playing="true"] .album-row.active {
  background: linear-gradient(180deg, var(--dark-playing-top), var(--dark-playing-bottom));
  color: #fff6f6;
}

.cover-flow-screen {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  padding: 0.2rem 0.2rem 0.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.82) 58%, rgba(228, 233, 240, 0.78)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.cover-flow-stage {
  position: relative;
  perspective: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 142px;
  padding-top: 0.55rem;
}

.cover-flow-reflection {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.55rem;
  height: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.08), transparent 66%);
  filter: blur(4px);
}

.cover-flow-card {
  position: absolute;
  top: 0.9rem;
  width: 86px;
  height: 86px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(135deg, #2b3f5c, #1f6a63 52%, #384f6d);
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.16);
  border: 1px solid rgba(17, 17, 17, 0.1);
  transition: transform 160ms ease, opacity 160ms ease;
}

.cover-flow-card img,
.cover-flow-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
}

.cover-flow-fallback {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.cover-flow-card.center {
  z-index: 5;
  transform: translateX(0) translateY(2px) scale(1.32);
}

.cover-flow-card.left {
  z-index: 4;
  transform: translateX(-82px) rotateY(58deg) scale(0.96);
  transform-origin: right center;
}

.cover-flow-card.right {
  z-index: 4;
  transform: translateX(82px) rotateY(-58deg) scale(0.96);
  transform-origin: left center;
}

.cover-flow-card.far-left {
  z-index: 2;
  opacity: 0.55;
  transform: translateX(-132px) rotateY(66deg) scale(0.78);
  transform-origin: right center;
}

.cover-flow-card.far-right {
  z-index: 2;
  opacity: 0.55;
  transform: translateX(132px) rotateY(-66deg) scale(0.78);
  transform-origin: left center;
}

.cover-flow-caption {
  text-align: center;
  padding: 0.28rem 0.45rem 0;
  min-height: 2.15rem;
  display: grid;
  grid-template-rows: 1.05rem 0.9rem;
  align-content: start;
}

.cover-flow-title,
.cover-flow-artist {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.menu-label,
.song-meta,
.song-submeta,
.album-title,
.album-artist,
.np-title,
.np-artist,
.np-album,
.video-title,
.cover-flow-title,
.cover-flow-artist {
  display: block;
  min-width: 0;
}

.marquee-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.marquee-text > span {
  display: inline-block;
  min-width: 100%;
}

.marquee-text.is-scrolling {
  text-overflow: clip;
}

.marquee-text.is-scrolling > span {
  padding-right: 2.4rem;
  animation: marquee-scroll 8.2s linear infinite alternate;
}

.cover-flow-title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #181818;
  line-height: 1.05rem;
}

.video-screen {
  position: relative;
  height: 100%;
  background: #000;
}

.video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.inline-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.22rem;
  padding: 0.45rem 0.48rem 0.42rem;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28) 24%, rgba(0, 0, 0, 0.78));
  opacity: 1;
  transition: opacity 260ms ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.video-overlay .time-row {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.video-overlay .progress-bar {
  background: rgba(255, 255, 255, 0.22);
}

.video-overlay .progress-fill {
  background: linear-gradient(180deg, #ffffff, #c9d0d9);
}

.photo-row {
  grid-template-columns: 42px minmax(0, 1fr);
}

.photo-viewer {
  position: relative;
  height: 100%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #0d1117, #020305 72%);
}

.camera-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #0f1319, #040507 74%);
}

.camera-preview-mount {
  position: absolute;
  inset: 0;
  background: #000;
}

.camera-preview-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.camera-flash-layer {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.camera-screen.flash-active .camera-flash-layer {
  opacity: 1;
}

.camera-hud {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.58rem 0.52rem 0.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.24) 18%, rgba(0, 0, 0, 0.76));
}

.camera-chip-row {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.camera-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.13rem 0.34rem;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.camera-chip-success {
  background: rgba(35, 92, 57, 0.72);
  border-color: rgba(156, 255, 196, 0.18);
}

.camera-chip-recording,
.camera-chip-live {
  background: rgba(120, 10, 18, 0.82);
  border-color: rgba(255, 138, 152, 0.34);
  color: #fff4f5;
  box-shadow: 0 0 10px rgba(255, 72, 92, 0.18);
}

.camera-message {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.photo-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.photo-viewer-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.photo-viewer-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  image-orientation: from-image;
}

.photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.12rem;
  padding: 0.44rem 0.5rem 0.46rem;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.76));
  color: #ffffff;
  opacity: 1;
  transition: opacity 260ms ease;
}

.photo-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.photo-title {
  min-width: 0;
}

.photo-title-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.photo-subtitle {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.visualizer-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, #020202, #080808);
}

.visualizer-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.visualizer-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.14rem;
  padding: 0.34rem 0.52rem 0.44rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.58));
  color: #ffffff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 260ms ease;
}

.visualizer-overlay.hidden {
  opacity: 0;
}

.epub-reader-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #f4ead2, #e6d5b7);
  color: #17120c;
}

.epub-reader-screen::before,
.epub-reader-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.epub-reader-screen::before {
  top: 0;
  height: 0.68rem;
  background: linear-gradient(180deg, #f4ead2 0%, rgba(244, 234, 210, 0.98) 68%, rgba(244, 234, 210, 0));
}

.epub-reader-screen::after {
  bottom: 0.98rem;
  height: 0.1rem;
  background: transparent;
}

.epub-reader-overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.epub-reader-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 0.76rem 0.62rem 1.82rem;
  scrollbar-width: none;
}

.epub-reader-scroll::-webkit-scrollbar {
  display: none;
}

.epub-reader-copy {
  display: grid;
  gap: 0.54rem;
  min-height: 100%;
  padding-bottom: 1rem;
  opacity: 1;
  transition: opacity 220ms ease;
}

.epub-reader-copy.is-page-fading {
  opacity: 0;
}

.epub-paragraph {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.62;
  font-weight: 700;
  letter-spacing: 0.005em;
  word-break: break-word;
}

.epub-word {
  display: inline;
  border-radius: 0.16rem;
  padding: 0.02rem 0.03rem;
}

.epub-reader-screen,
.epub-reader-scroll,
.epub-reader-copy,
.epub-paragraph,
.epub-word {
  user-select: none;
  -webkit-user-select: none;
}

.epub-reader-copy *::selection {
  background: transparent;
}

.epub-reader-footer {
  bottom: 0;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: 0.94rem;
  align-items: center;
  padding: 0.06rem 0.58rem 0.05rem;
  background: rgba(230, 213, 183, 0.995);
  box-shadow: none;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(23, 18, 12, 0.66);
}

.epub-reader-footer::before {
  display: none;
}

.epub-summary {
  margin-bottom: 0.12rem;
}

.stopwatch-screen {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.62rem;
  padding: 1rem 0.85rem;
  text-align: center;
}

.stopwatch-status {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stopwatch-time {
  font-size: 1.76rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--text-main);
}

.stopwatch-progress-block {
  width: 100%;
  display: grid;
  gap: 0.34rem;
}

.pomodoro-meta {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--text-soft);
}

.pomodoro-progress-fill {
  background: linear-gradient(180deg, #ff9a4d, #d85b13);
}

.pomodoro-screen.is-alarming .stopwatch-time {
  color: #c62828;
}

.stopwatch-hints {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-soft);
}

html[data-dark-mode="true"] .stopwatch-status,
html[data-dark-mode="true"] .stopwatch-hints,
html[data-dark-mode="true"] .pomodoro-meta {
  color: var(--dark-text-soft);
}

html[data-dark-mode="true"] .stopwatch-time {
  color: var(--dark-text-main);
}

html[data-dark-mode="true"] .epub-reader-screen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, #1a1712, #0d0b08);
  color: #f4eee2;
}

html[data-dark-mode="true"] .epub-reader-screen::before {
  background: linear-gradient(180deg, #1a1712 0%, rgba(26, 23, 18, 0.98) 68%, rgba(26, 23, 18, 0));
}

html[data-dark-mode="true"] .epub-reader-screen::after {
  background: transparent;
}

html[data-dark-mode="true"] .epub-reader-footer {
  color: rgba(244, 238, 226, 0.68);
}

html[data-dark-mode="true"] .epub-reader-footer {
  background: rgba(13, 11, 8, 0.995);
  box-shadow: none;
}

html[data-dark-mode="true"] .epub-reader-footer::before {
  display: none;
}

.brick-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #11151b, #020304);
}

.brick-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.brick-hud {
  display: none;
}

html[data-dark-mode="true"] .brick-screen {
  background: linear-gradient(180deg, #11151b, #020304);
}

.visualizer-overlay.is-empty {
  align-content: end;
}

.visualizer-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visualizer-subtitle {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-dark-mode="true"] .video-screen {
  background: #000;
}

html[data-dark-mode="true"] .video-title {
  color: #ffffff;
}

html[data-rainbow-mode="true"] .video-title,
html[data-rainbow-mode="true"] .np-title,
html[data-rainbow-mode="true"] .np-artist,
html[data-rainbow-mode="true"] .np-album,
html[data-rainbow-mode="true"] .classic-time-row,
html[data-rainbow-mode="true"] .np-classic-header,
html[data-rainbow-mode="true"] .stopwatch-status,
html[data-rainbow-mode="true"] .stopwatch-time,
html[data-rainbow-mode="true"] .stopwatch-hints,
html[data-rainbow-mode="true"] .pomodoro-meta,
html[data-rainbow-mode="true"] .scrub-mode-indicator {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.cover-flow-artist {
  margin-top: 0.08rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(24, 24, 24, 0.72);
  line-height: 0.9rem;
}

html[data-dark-mode="true"] .cover-flow-screen {
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.96), rgba(6, 6, 8, 0.96) 58%, rgba(24, 24, 28, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

html[data-dark-mode="true"] .cover-flow-reflection {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 66%);
}

html[data-dark-mode="true"] .cover-flow-title {
  color: var(--dark-text-main);
}

html[data-dark-mode="true"] .cover-flow-artist {
  color: var(--dark-text-soft);
}

@keyframes marquee-scroll {
  0%,
  14% {
    transform: translateX(0);
  }
  86%,
  100% {
    transform: translateX(-42%);
  }
}

.empty-state,
.placeholder-screen,
.now-playing-empty,
.import-screen {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1rem 1rem 0.9rem;
  text-align: center;
  color: var(--text-soft);
  line-height: 1.45;
  background: #000;
}

.video-empty-state {
  color: rgba(255, 255, 255, 0.82);
}

.video-empty-state strong {
  color: #ffffff;
}

.import-screen {
  align-content: center;
  gap: 0.46rem;
  padding: 0.64rem 0.95rem 0.62rem;
}

.import-hero {
  width: min(19vw, 55px);
  max-width: 55px;
  aspect-ratio: 1;
  margin-top: 0;
  background-image: url("./phantom-black-icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 6px 12px rgba(255, 255, 255, 0.04));
}

.import-copy-minimal {
  width: 100%;
  max-width: 210px;
  gap: 0.16rem;
}

.import-copy {
  display: grid;
  gap: 0.35rem;
}

.import-copy strong {
  font-size: 0.92rem;
}

.import-copy-minimal strong {
  font-size: 0.84rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

html[data-eternabox-mode="true"] .menu-item.active .song-submeta,
html[data-eternabox-mode="true"] .song-row.active .song-submeta,
html[data-eternabox-mode="true"] .album-row.active .album-artist,
html[data-eternabox-mode="true"] .photo-row.active .album-artist,
html[data-eternabox-mode="true"] .photo-row.active .album-title,
html[data-eternabox-mode="true"] .photo-row.active .marquee-text,
html[data-eternabox-mode="true"] .photo-row.active .marquee-text > span,
html[data-pink-mode="true"] .menu-item.active .song-submeta,
html[data-pink-mode="true"] .song-row.active .song-submeta,
html[data-pink-mode="true"] .album-row.active .album-artist,
html[data-pink-mode="true"] .photo-row.active .album-artist,
html[data-pink-mode="true"] .photo-row.active .album-title,
html[data-pink-mode="true"] .photo-row.active .marquee-text,
html[data-pink-mode="true"] .photo-row.active .marquee-text > span {
  color: rgba(255, 255, 255, 0.96);
}

.import-copy-minimal div {
  min-height: 0.98rem;
  font-size: 0.66rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.64);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-summary {
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.35;
}

.song-list-locked .access-summary {
  margin-bottom: 0.34rem;
  padding: 0.34rem 0.48rem;
  font-size: 0.58rem;
  line-height: 1.24;
}

.song-list-locked .song-row {
  min-height: 1.62rem;
  padding: 0 0.44rem 0 0.5rem;
}

.song-list-locked .song-meta {
  font-size: 0.69rem;
}

.song-list-locked .song-submeta {
  font-size: 0.5rem;
}

html[data-dark-mode="true"] .access-summary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.account-upgrade-screen {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 0.34rem 0.36rem 0.36rem;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.97), transparent 26%),
    radial-gradient(circle at 84% 86%, rgba(222, 187, 111, 0.18), transparent 22%),
    linear-gradient(145deg, rgba(252, 253, 255, 0.995), rgba(239, 243, 249, 0.985) 54%, rgba(224, 230, 239, 0.99));
  color: #111;
  overflow: hidden;
}

.account-upgrade-stage {
  display: grid;
  gap: 0.26rem;
  align-content: start;
  min-height: 100%;
  transform: translateY(0);
  transition: transform 160ms ease;
}

.account-upgrade-stage.is-scrolled {
  transform: translateY(-0.72rem);
}

.account-upgrade-copy {
  display: grid;
  gap: 0.12rem;
  align-content: start;
  min-height: 0;
  padding: 0.28rem 0.34rem 0.3rem;
  border-radius: 0.72rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 248, 252, 0.66));
  border: 1px solid rgba(129, 145, 169, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(35, 49, 77, 0.08);
}

.account-upgrade-copy.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 0 0 2px rgba(141, 171, 214, 0.2),
    0 12px 28px rgba(49, 69, 100, 0.14);
}

.account-upgrade-copy strong {
  font-size: 0.72rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.account-upgrade-headerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.18rem;
}

.account-upgrade-kicker {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(123, 101, 59, 0.92);
  white-space: nowrap;
}

.account-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.18rem;
  margin-top: 0.06rem;
}

.account-plan-card {
  display: grid;
  gap: 0.08rem;
  padding: 0.18rem 0.2rem 0.2rem;
  border-radius: 0.54rem;
  border: 1px solid rgba(162, 173, 191, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(243, 246, 250, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.account-plan-card.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 0 0 2px rgba(141, 171, 214, 0.16),
    0 10px 20px rgba(49, 69, 100, 0.1);
}

.account-plan-card strong {
  font-size: 0.5rem;
  line-height: 1;
}

.account-plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.14rem;
}

.account-plan-account {
  min-width: 0;
  font-size: 0.34rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(70, 84, 109, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-plan-card-premium {
  border-color: rgba(199, 164, 89, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.92), rgba(245, 241, 230, 0.82)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 16px rgba(145, 118, 51, 0.08);
}

.account-plan-card-premium.active {
  border-color: rgba(198, 151, 50, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 0 0 2px rgba(220, 190, 114, 0.24),
    0 10px 18px rgba(161, 124, 41, 0.14);
}

.account-plan-label {
  font-size: 0.37rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(88, 102, 126, 0.9);
}

.account-plan-card-premium .account-plan-label {
  color: rgba(143, 103, 22, 0.96);
}

.account-plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08rem;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(129, 86, 7, 0.98);
}

.account-plan-price span {
  font-size: 0.31rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(143, 103, 22, 0.9);
}

.account-plan-list {
  display: grid;
  gap: 0.06rem;
}

.account-plan-list span {
  position: relative;
  padding-left: 0.4rem;
  color: rgba(36, 44, 57, 0.92);
  font-size: 0.42rem;
  font-weight: 700;
  line-height: 1.02;
}

.account-plan-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16rem;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #71b8f2, #4c7cbc);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.account-upgrade-body {
  font-size: 0.56rem;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: rgba(38, 49, 69, 0.88);
}

.account-checkout-summary {
  display: grid;
  gap: 0.08rem;
  margin-top: 0.1rem;
  padding: 0.18rem 0.2rem;
  border-radius: 0.56rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 248, 252, 0.62));
  border: 1px solid rgba(159, 172, 195, 0.2);
}

.account-checkout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.16rem;
  font-size: 0.42rem;
  line-height: 1.06;
  color: rgba(56, 68, 89, 0.82);
}

.account-checkout-row strong {
  font-size: 0.46rem;
  color: rgba(17, 27, 43, 0.96);
}

.account-checkout-row-renew strong {
  color: rgba(129, 86, 7, 0.98);
}

.account-checkout-legal,
.account-checkout-refund {
  font-size: 0.43rem;
  line-height: 1.08;
  color: rgba(62, 73, 92, 0.82);
}

.account-checkout-legal a {
  color: #0d67bf;
  font-weight: 800;
  text-decoration: none;
}

.account-checkout-legal a:hover,
.account-checkout-legal a:focus-visible {
  text-decoration: underline;
}

.account-checkout-refund {
  font-weight: 800;
  color: rgba(122, 66, 40, 0.92);
}

.account-tier-chip {
  justify-self: start;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(53, 111, 179, 0.15), rgba(98, 149, 209, 0.06));
  color: #3d689a;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-access-copy {
  color: rgba(17, 17, 17, 0.7);
  font-size: 0.49rem;
  line-height: 1.02;
}

.account-access-notice {
  color: #2c5f90;
  font-weight: 700;
}

.account-upgrade-card {
  display: grid;
  gap: 0.16rem;
  padding: 0.32rem 0.34rem 0.32rem;
  border-radius: 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 247, 252, 0.95));
  border: 1px solid rgba(188, 166, 118, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(199, 179, 132, 0.24),
    0 16px 26px rgba(58, 61, 78, 0.12);
  text-align: left;
  align-self: end;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.account-upgrade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.48), transparent 32%),
    linear-gradient(180deg, rgba(247, 227, 178, 0.18), transparent 56%);
  pointer-events: none;
}

.account-upgrade-card.active {
  border-color: rgba(86, 150, 222, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(210, 221, 245, 0.44),
    0 0 0 2px rgba(104, 168, 235, 0.22),
    0 18px 28px rgba(40, 74, 116, 0.18);
}

.account-upgrade-card strong {
  font-size: 0.65rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.account-upgrade-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
}

.account-upgrade-price {
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0d5db2;
}

.account-upgrade-price-suffix {
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(68, 89, 122, 0.82);
}

.account-upgrade-card-badge {
  justify-self: start;
  padding: 0.07rem 0.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(243, 214, 151, 0.95), rgba(215, 167, 56, 0.9));
  color: #5f4309;
  font-size: 0.34rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-upgrade-card div {
  font-size: 0.5rem;
  line-height: 1.04;
}

.account-upgrade-button {
  width: 100%;
  border: 0;
  border-radius: 0.64rem;
  padding: 0.38rem 0.58rem;
  background:
    linear-gradient(180deg, #5fc9ff, #0077d8 68%, #0065bf);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 8px 16px rgba(0, 101, 182, 0.2);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.account-upgrade-button:disabled {
  cursor: default;
  background: linear-gradient(180deg, #afb8c5, #8c98ab);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.account-upgrade-button.active {
  background:
    linear-gradient(180deg, #71d3ff, #0a85eb 66%, #006ecc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 2px rgba(69, 155, 229, 0.24),
    0 12px 24px rgba(0, 114, 204, 0.28);
  filter: saturate(1.08);
}

.account-upgrade-button-static {
  cursor: default;
  background: linear-gradient(180deg, #cbd4df, #aeb9c8);
  color: #223247;
}

.account-upgrade-hint {
  color: rgba(84, 90, 108, 0.74);
  font-size: 0.46rem;
  font-weight: 700;
  text-align: center;
}

.account-upgrade-sheen {
  position: absolute;
  right: -1.1rem;
  bottom: -1.35rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(246, 221, 164, 0.26), transparent 58%),
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.28), transparent 48%);
  pointer-events: none;
}

.auth-screen {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 0.22rem;
  padding: 0.26rem 0.28rem 0.3rem;
  background:
    radial-gradient(circle at top center, rgba(116, 148, 197, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 251, 0.94));
}

.auth-hero {
  display: grid;
  gap: 0.06rem;
  padding: 0.18rem 0.22rem 0.2rem;
  border-radius: 0.62rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 252, 0.72)),
    linear-gradient(135deg, rgba(121, 164, 231, 0.14), transparent 62%);
  border: 1px solid rgba(154, 174, 205, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 20px rgba(48, 65, 96, 0.08);
}

.auth-eyebrow {
  font-size: 0.36rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 104, 145, 0.86);
}

.auth-hero strong {
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(22, 31, 44, 0.96);
}

.auth-hero-body {
  font-size: 0.46rem;
  line-height: 1.06;
  color: rgba(55, 67, 86, 0.84);
}

.auth-form-card {
  display: grid;
  gap: 0.12rem;
}

.auth-input-card {
  display: grid;
  gap: 0.08rem;
  padding: 0.2rem 0.24rem 0.22rem;
  border-radius: 0.62rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 252, 0.76));
  border: 1px solid rgba(168, 180, 198, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 18px rgba(45, 64, 96, 0.08);
}

.auth-input-card.active {
  border-color: rgba(92, 148, 219, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 2px rgba(104, 168, 235, 0.18),
    0 12px 20px rgba(53, 82, 124, 0.12);
}

.auth-input-label {
  font-size: 0.38rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(82, 100, 126, 0.82);
}

.auth-input-field {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  border-radius: 0.46rem;
  padding: 0.2rem 0.22rem;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(24, 31, 40, 0.96);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  box-shadow:
    inset 0 0 0 1px rgba(167, 181, 202, 0.28),
    inset 0 1px 2px rgba(46, 63, 90, 0.08);
}

.auth-form-row {
  width: 100%;
  appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  padding: 0.18rem 0.22rem;
  border-radius: 0.56rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 247, 252, 0.74));
  border: 1px solid rgba(168, 180, 198, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.auth-form-row.active {
  border-color: rgba(92, 148, 219, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 2px rgba(104, 168, 235, 0.18),
    0 10px 16px rgba(53, 82, 124, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 253, 0.9)),
    linear-gradient(135deg, rgba(110, 168, 236, 0.08), transparent 60%);
}

.auth-form-row-submit {
  margin-top: 0.04rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 243, 0.98), rgba(246, 240, 228, 0.92)),
    linear-gradient(135deg, rgba(222, 190, 116, 0.14), transparent 58%);
  border-color: rgba(195, 170, 115, 0.26);
}

.auth-form-row-submit.active {
  border-color: rgba(208, 167, 70, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 0 2px rgba(223, 189, 112, 0.22),
    0 12px 20px rgba(145, 114, 41, 0.14);
}

.auth-form-copy {
  min-width: 0;
  display: grid;
  gap: 0.04rem;
}

.auth-form-label {
  font-size: 0.38rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(82, 100, 126, 0.82);
}

.auth-form-value {
  font-size: 0.52rem;
  line-height: 1.02;
  font-weight: 800;
  color: rgba(24, 31, 40, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-form-action {
  flex: 0 0 auto;
  font-size: 0.44rem;
  font-weight: 900;
  color: rgba(49, 86, 137, 0.88);
}

.auth-form-row-submit .auth-form-action {
  color: rgba(128, 86, 13, 0.94);
}

.auth-notice,
.auth-footer-hint {
  align-self: end;
  font-size: 0.46rem;
  line-height: 1.06;
  text-align: center;
  padding: 0.18rem 0.24rem;
  border-radius: 0.5rem;
}

.auth-footer-hint {
  color: rgba(68, 80, 102, 0.82);
  background: rgba(255, 255, 255, 0.52);
}

.auth-notice {
  color: #2c5f90;
  font-weight: 800;
  background: rgba(233, 243, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(119, 163, 225, 0.16);
}

html[data-dark-mode="true"] .account-plan-card {
  background: linear-gradient(180deg, rgba(31, 37, 48, 0.86), rgba(19, 23, 31, 0.84));
  border-color: rgba(108, 121, 146, 0.28);
}

html[data-dark-mode="true"] .auth-screen {
  background:
    radial-gradient(circle at top center, rgba(98, 132, 186, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 16, 24, 0.98), rgba(8, 10, 16, 0.98));
}

html[data-dark-mode="true"] .auth-hero,
html[data-dark-mode="true"] .auth-form-row {
  background:
    linear-gradient(180deg, rgba(24, 29, 39, 0.98), rgba(15, 19, 27, 0.96)),
    linear-gradient(135deg, rgba(102, 144, 214, 0.08), transparent 58%);
  border-color: rgba(100, 116, 143, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(0, 0, 0, 0.22);
}

html[data-dark-mode="true"] .auth-input-card {
  background:
    linear-gradient(180deg, rgba(24, 29, 39, 0.98), rgba(15, 19, 27, 0.96)),
    linear-gradient(135deg, rgba(102, 144, 214, 0.08), transparent 58%);
  border-color: rgba(100, 116, 143, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(0, 0, 0, 0.22);
}

html[data-dark-mode="true"] .auth-input-card.active {
  border-color: rgba(107, 162, 231, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 2px rgba(98, 158, 232, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.26);
}

html[data-dark-mode="true"] .auth-form-row-submit {
  background:
    linear-gradient(180deg, rgba(36, 29, 16, 0.96), rgba(24, 20, 11, 0.96)),
    linear-gradient(135deg, rgba(219, 177, 83, 0.1), transparent 56%);
  border-color: rgba(164, 132, 60, 0.3);
}

html[data-dark-mode="true"] .auth-form-row.active {
  border-color: rgba(107, 162, 231, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 2px rgba(98, 158, 232, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.26);
}

html[data-dark-mode="true"] .auth-form-row-submit.active {
  border-color: rgba(213, 175, 82, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 2px rgba(223, 189, 112, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.28);
}

html[data-dark-mode="true"] .auth-eyebrow,
html[data-dark-mode="true"] .auth-form-label,
html[data-dark-mode="true"] .auth-input-label {
  color: rgba(139, 171, 224, 0.82);
}

html[data-dark-mode="true"] .auth-hero strong,
html[data-dark-mode="true"] .auth-form-value,
html[data-dark-mode="true"] .auth-input-field {
  color: rgba(244, 247, 252, 0.96);
}

html[data-dark-mode="true"] .auth-input-field {
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(105, 125, 156, 0.28),
    inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

html[data-dark-mode="true"] .auth-hero-body,
html[data-dark-mode="true"] .auth-footer-hint {
  color: rgba(194, 206, 225, 0.76);
}

html[data-dark-mode="true"] .auth-footer-hint {
  background: rgba(255, 255, 255, 0.04);
}

html[data-dark-mode="true"] .auth-form-action {
  color: rgba(126, 181, 247, 0.92);
}

html[data-dark-mode="true"] .auth-form-row-submit .auth-form-action {
  color: rgba(239, 202, 120, 0.94);
}

html[data-dark-mode="true"] .auth-notice {
  color: rgba(165, 204, 255, 0.96);
  background: rgba(26, 47, 75, 0.7);
  box-shadow: inset 0 0 0 1px rgba(86, 127, 182, 0.28);
}

html[data-dark-mode="true"] .account-plan-card strong,
html[data-dark-mode="true"] .account-plan-list span {
  color: rgba(236, 240, 247, 0.94);
}

html[data-dark-mode="true"] .account-plan-account {
  color: rgba(184, 197, 219, 0.9);
}

html[data-dark-mode="true"] .account-plan-label {
  color: rgba(166, 182, 211, 0.88);
}

html[data-dark-mode="true"] .account-plan-card-premium {
  background: linear-gradient(180deg, rgba(56, 47, 24, 0.92), rgba(26, 22, 16, 0.88));
  border-color: rgba(190, 156, 79, 0.3);
}

html[data-dark-mode="true"] .account-plan-card-premium .account-plan-label {
  color: rgba(244, 214, 145, 0.96);
}

.import-progress {
  position: relative;
  width: min(100%, 210px);
  height: 0.18rem;
  margin-top: -0.02rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.import-screen-music .import-progress {
  height: 0.32rem;
}

.import-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, rgba(130, 199, 255, 0.98), rgba(66, 138, 214, 0.98));
  box-shadow: 0 0 10px rgba(91, 175, 255, 0.28);
}

html[data-dark-mode="true"] .import-progress {
  background: rgba(255, 255, 255, 0.16);
}

html[data-dark-mode="true"] .import-progress-fill {
  background: linear-gradient(90deg, #ff9f9f, #c12727);
  box-shadow: 0 0 10px rgba(255, 88, 88, 0.24);
}

html[data-rainbow-mode="true"] .import-progress {
  background: rgba(255, 255, 255, 0.26);
}

html[data-rainbow-mode="true"] .import-progress-fill {
  background: linear-gradient(90deg, #ff4a7c, #ffb347 22%, #fff16a 42%, #54f2b5 62%, #58d8ff 82%, #8f63ff);
  box-shadow: 0 0 12px rgba(164, 94, 255, 0.2);
}

.import-meta {
  display: flex;
  justify-content: space-between;
  width: min(100%, 210px);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  min-height: 0.68rem;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.54);
}

.import-screen-video {
  align-content: center;
  gap: 0.46rem;
  padding: 0.64rem 0.95rem 0.62rem;
}

.import-screen-video .import-copy {
  gap: 0.22rem;
}

.import-screen-video .import-copy strong {
  font-size: 0.86rem;
}

.import-screen-video .import-copy div {
  font-size: 0.7rem;
  line-height: 1.2;
}

.import-screen-video .import-progress {
  height: 0.18rem;
}

.import-screen-video .import-meta {
  font-size: 0.64rem;
}

.import-showcase {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.1rem 0;
}

.import-showcase-video {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0.28rem;
}

.import-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.28rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(135deg, #2b3f5c, #1f6a63 52%, #384f6d);
  border: 1px solid rgba(17, 17, 17, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 6px rgba(17, 17, 17, 0.08);
}

.import-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.import-cover-video {
  aspect-ratio: 16 / 9;
  border-radius: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.96), rgba(19, 28, 42, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 10px rgba(17, 17, 17, 0.18);
}

.import-cover-video img {
  object-fit: cover;
}

.import-cover.fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.import-showcase-empty {
  place-items: center;
  padding: 0.5rem 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
}

.import-stream {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(52px, 1fr);
  gap: 0.32rem;
  align-items: center;
  overflow: hidden;
  min-height: 58px;
  padding: 0.15rem 0;
}

.import-stream-video {
  grid-auto-columns: minmax(76px, 102px);
  justify-content: center;
  align-content: center;
  min-height: 66px;
  gap: 0.3rem;
  padding: 0.08rem 0;
}

.import-stream-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.22rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(135deg, #2b3f5c, #1f6a63 52%, #384f6d);
  border: 1px solid rgba(17, 17, 17, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 5px rgba(17, 17, 17, 0.08);
  animation: coverIn 220ms ease;
}

.import-stream-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.import-stream-cover-video {
  aspect-ratio: 16 / 9;
  border-radius: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.96), rgba(19, 28, 42, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 10px rgba(17, 17, 17, 0.18);
}

.import-stream-cover-video img {
  object-fit: cover;
}

.import-stream-cover.fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.import-stream-empty {
  place-items: center;
  color: rgba(17, 17, 17, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
}

.audiobook-summary {
  display: grid;
  gap: 0.08rem;
  padding: 0.3rem 0.52rem 0.38rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
}

.audiobook-summary strong {
  font-size: 0.72rem;
  line-height: 0.9rem;
}

.audiobook-summary span {
  font-size: 0.58rem;
  color: var(--text-soft);
  font-weight: 700;
}

.song-delete-summary {
  gap: 0.04rem;
  padding: 0.22rem 0.5rem 0.26rem;
}

.sticker-adjust-summary {
  gap: 0.05rem;
  padding: 0.24rem 0.5rem 0.3rem;
}

.sticker-adjust-summary .song-delete-title {
  font-size: 0.7rem;
}

.sticker-adjust-summary .song-delete-meta {
  white-space: normal;
  line-height: 0.72rem;
}

.song-delete-title {
  display: block;
  font-size: 0.66rem;
  line-height: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.song-delete-meta {
  display: block;
  line-height: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-accounts-screen,
.admin-account-detail-screen {
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(231, 236, 244, 0.96));
}

.admin-accounts-summary,
.admin-account-detail-summary {
  display: grid;
  gap: 0.08rem;
  padding: 0.32rem 0.52rem 0.34rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
}

.admin-accounts-summary strong,
.admin-account-detail-summary strong {
  font-size: 0.72rem;
  line-height: 0.88rem;
}

.admin-accounts-summary span,
.admin-account-detail-summary span {
  font-size: 0.57rem;
  line-height: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
}

.admin-account-row .song-copy {
  min-width: 0;
}

.admin-account-detail-list .menu-item {
  min-height: 1.34rem;
}

html[data-dark-mode="true"] .admin-accounts-screen,
html[data-dark-mode="true"] .admin-account-detail-screen {
  background: #000;
}

html[data-dark-mode="true"] .admin-accounts-summary,
html[data-dark-mode="true"] .admin-account-detail-summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-dark-mode="true"] .admin-accounts-summary span,
html[data-dark-mode="true"] .admin-account-detail-summary span {
  color: var(--dark-text-soft);
}

@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateX(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}


.split-screen {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  height: 100%;
}

html[data-mirrored-appearance="true"] .split-screen:not(.split-screen-single) {
  grid-template-columns: 0.98fr 1.02fr;
}

.split-screen-single {
  grid-template-columns: 1fr;
}

html[data-dark-mode="true"] .split-screen,
html[data-dark-mode="true"] .list-viewport,
html[data-dark-mode="true"] .screen,
html[data-dark-mode="true"] .empty-state,
html[data-dark-mode="true"] .placeholder-screen,
html[data-dark-mode="true"] .import-screen,
html[data-dark-mode="true"] .now-playing,
html[data-dark-mode="true"] .now-playing-empty {
  background: #000;
}

html[data-dark-mode="true"] .audiobook-summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-dark-mode="true"] .audiobook-summary span {
  color: var(--dark-text-soft);
}

.cover-panel {
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
  background: #000;
}

html[data-mirrored-appearance="true"] .split-screen:not(.split-screen-single) .cover-panel {
  order: -1;
  border-left: 0;
  border-right: 1px solid rgba(17, 17, 17, 0.18);
}

html[data-dark-mode="true"] .cover-panel {
  border-left-color: rgba(255, 255, 255, 0.12);
}

html[data-dark-mode="true"][data-mirrored-appearance="true"] .split-screen:not(.split-screen-single) .cover-panel {
  border-right-color: rgba(255, 255, 255, 0.12);
}

.cover-panel.cover-panel-empty {
  background: #000;
}

.cover-panel.cover-panel-empty::after {
  opacity: 0;
}

.cover-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 21% 27%, rgba(212, 216, 228, 0.95), transparent 8%),
    radial-gradient(circle at 22% 40%, rgba(84, 99, 141, 0.85), transparent 15%),
    radial-gradient(circle at 46% 24%, rgba(203, 206, 218, 0.95), transparent 7%),
    radial-gradient(circle at 47% 41%, rgba(47, 44, 81, 0.82), transparent 15%),
    radial-gradient(circle at 72% 26%, rgba(197, 198, 207, 0.9), transparent 7%),
    radial-gradient(circle at 72% 43%, rgba(55, 42, 88, 0.82), transparent 15%),
    radial-gradient(circle at 86% 41%, rgba(67, 71, 98, 0.86), transparent 12%),
    radial-gradient(circle at 54% 71%, rgba(216, 205, 192, 0.95), transparent 11%),
    radial-gradient(circle at 54% 83%, rgba(59, 52, 102, 0.88), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%);
  opacity: 0;
}

.main-cover::before {
  content: "chule";
  position: absolute;
  top: 0.1rem;
  left: 0.22rem;
  color: #f4ebcf;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  z-index: 1;
}

.menu-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #000;
}

.menu-art-empty {
  background: #000;
}

.menu-art img {
  position: absolute;
  inset: -3.5%;
  width: 107%;
  height: 107%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: menu-art-pan 14.2s cubic-bezier(0.32, 0.04, 0.14, 1) infinite alternate;
}

.menu-art img.photo-menu-preview-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #000;
  animation: none;
}

.visualizer-menu-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.06), transparent 15%),
    linear-gradient(180deg, rgba(245, 247, 250, 0.96), rgba(222, 225, 230, 0.98));
}

html[data-dark-mode="true"] .visualizer-menu-art {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.07), transparent 15%),
    linear-gradient(180deg, #090a0c, #000000 74%);
}

html[data-theme="phantom-black"] .visualizer-menu-art {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.085), transparent 16%),
    linear-gradient(180deg, #0b0d10, #000000 76%);
}

html[data-theme="oled-friendly"] .visualizer-menu-art {
  background:
    radial-gradient(circle at 50% 30%, rgba(141, 232, 255, 0.045), transparent 16%),
    linear-gradient(180deg, #010101, #000000 80%);
}

html[data-rainbow-mode="true"] .visualizer-menu-art {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.11), transparent 15%),
    linear-gradient(135deg, #ff648a, #ffc547 26%, #7cf58d 50%, #57c5ff 74%, #9e6cff);
}

.visualizer-preview-shell {
  position: relative;
  width: 70%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.visualizer-preview-bars {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.22rem;
}

.visualizer-preview-bars span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(115, 176, 255, 0.3));
  box-shadow: 0 0 12px rgba(132, 204, 255, 0.18);
  transform-origin: center bottom;
}

.visualizer-preview-bars span:nth-child(1) { height: 34%; }
.visualizer-preview-bars span:nth-child(2) { height: 68%; }
.visualizer-preview-bars span:nth-child(3) { height: 48%; }
.visualizer-preview-bars span:nth-child(4) { height: 82%; }
.visualizer-preview-bars span:nth-child(5) { height: 56%; }
.visualizer-preview-bars span:nth-child(6) { height: 40%; }

html[data-playing="true"] .visualizer-preview-bars span {
  animation: visualizer-preview-bounce 0.92s ease-in-out infinite alternate;
}

html[data-playing="true"] .visualizer-preview-bars span:nth-child(1) { animation-duration: 0.88s; animation-delay: -0.12s; }
html[data-playing="true"] .visualizer-preview-bars span:nth-child(2) { animation-duration: 0.72s; animation-delay: -0.28s; }
html[data-playing="true"] .visualizer-preview-bars span:nth-child(3) { animation-duration: 1.02s; animation-delay: -0.18s; }
html[data-playing="true"] .visualizer-preview-bars span:nth-child(4) { animation-duration: 0.66s; animation-delay: -0.34s; }
html[data-playing="true"] .visualizer-preview-bars span:nth-child(5) { animation-duration: 0.84s; animation-delay: -0.24s; }
html[data-playing="true"] .visualizer-preview-bars span:nth-child(6) { animation-duration: 0.94s; animation-delay: -0.4s; }

@keyframes visualizer-preview-bounce {
  0% {
    transform: scaleY(0.58);
    opacity: 0.72;
  }
  100% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

.menu-art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.08rem;
  padding: 0.08rem;
  background: #000;
}

.menu-art-grid-tile {
  position: relative;
  overflow: hidden;
  background: #000;
}

.menu-art-grid-tile img {
  inset: 0;
  width: 100%;
  height: 100%;
  animation-duration: 11.5s;
}

.menu-art-grid-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
  z-index: 2;
}

.menu-art-grid-label {
  position: absolute;
  left: 0.34rem;
  bottom: 0.28rem;
  z-index: 3;
  padding: 0.14rem 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.menu-art-fallback,
.menu-art-empty {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #000;
}

.menu-art-empty {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.video-menu-fallback {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.12), transparent 16%),
    linear-gradient(160deg, #10161f, #1f2d46 54%, #152129);
}

.video-menu-preview-shell {
  background: #000;
}

.video-menu-preview-mount {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.video-menu-preview-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.04);
  background: #000;
}

.menu-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.04);
  background: #000;
}

.menu-art.media-load-failed,
.video-menu-preview-shell.media-load-failed,
.album-art.media-load-failed,
.photo-stage.media-load-failed {
  background: #000;
}

.menu-art img.media-load-failed,
.video-menu-preview-fallback.media-load-failed,
.album-art img.media-load-failed,
.photo-viewer-image.media-load-failed {
  opacity: 0;
}

.menu-art.media-load-failed img,
.video-menu-preview-shell.media-load-failed .video-menu-preview-fallback,
.video-menu-preview-shell.media-load-failed .menu-preview-video,
.album-art.media-load-failed img,
.photo-stage.media-load-failed .photo-viewer-image {
  opacity: 0;
}

.video-menu-preview-label {
  position: absolute;
  left: 0.34rem;
  bottom: 0.28rem;
  z-index: 3;
  padding: 0.14rem 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.video-menu-fallback span {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.menu-art-fallback,
.menu-art-empty {
  background-size: 120% 120%;
  animation: menu-art-fallback-pan 14.2s cubic-bezier(0.32, 0.04, 0.14, 1) infinite alternate;
}

@keyframes menu-art-pan {
  0%,
  7%,
  14% {
    transform: translate3d(-1.92%, -0.92%, 0);
  }
  23% {
    transform: translate3d(-1.42%, -0.34%, 0);
  }
  34% {
    transform: translate3d(-0.72%, 0.02%, 0);
  }
  50% {
    transform: translate3d(0.08%, 0.32%, 0);
  }
  64% {
    transform: translate3d(0.88%, 0.12%, 0);
  }
  77% {
    transform: translate3d(1.48%, -0.18%, 0);
  }
  88%,
  100% {
    transform: translate3d(1.96%, -0.52%, 0);
  }
}

@keyframes menu-art-fallback-pan {
  0%,
  7%,
  14% {
    background-position: 48.05% 49%;
  }
  23% {
    background-position: 48.55% 49.22%;
  }
  34% {
    background-position: 49.25% 49.72%;
  }
  50% {
    background-position: 50.05% 50.02%;
  }
  64% {
    background-position: 50.85% 50.18%;
  }
  77% {
    background-position: 51.5% 50.42%;
  }
  88%,
  100% {
    background-position: 51.95% 50.64%;
  }
}

.song-meta {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.song-submeta {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.58rem;
  font-weight: 700;
  opacity: 0.72;
}

.song-time,
.menu-arrow {
  font-size: 1.04rem;
  font-weight: 700;
}

.now-playing {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.6rem 0.85rem 0.8rem;
}

.classic-now-playing {
  padding: 0.35rem 0 0;
  background:
    linear-gradient(180deg, #ffffff, #f4f4f4),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%);
}

.np-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.np-classic-header {
  padding: 0.2rem 0.7rem 0;
  font-size: 0.68rem;
  font-weight: 800;
  color: #111111;
}

.np-classic-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.45rem 0.7rem 0;
}

.np-classic-meta {
  display: grid;
  gap: 0.42rem;
  padding-top: 0.18rem;
}

.now-playing-meta-action {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.now-playing-meta-action:focus-visible {
  outline: 2px solid rgba(66, 142, 214, 0.6);
  outline-offset: 2px;
  border-radius: 0.18rem;
}

.np-classic-meta.is-editing {
  gap: 0.24rem;
}

.now-playing-inline-input {
  width: 100%;
  min-width: 0;
  height: 1.12rem;
  padding: 0 0.18rem 0.04rem;
  border: 0;
  border-radius: 0.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -2px 0 rgba(80, 155, 230, 0.54);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  outline: none;
  caret-color: #2f9bff;
  -webkit-user-select: text;
  user-select: text;
}

.now-playing-inline-input:focus {
  background:
    linear-gradient(180deg, rgba(73, 154, 245, 0.18), rgba(73, 154, 245, 0.045));
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(61, 168, 255, 0.92),
    0 0 10px rgba(61, 168, 255, 0.16);
}

.now-playing-edit-actions {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.1rem;
}

.now-playing-edit-button {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.16rem 0.46rem 0.18rem;
  color: #ffffff;
  font-size: 0.48rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.now-playing-edit-button.delete {
  background: linear-gradient(180deg, #ff4f5f, #b80f22);
}

.now-playing-edit-button.save {
  background: linear-gradient(180deg, #3aa8ff, #095ec6);
}

.now-playing-edit-button:active {
  transform: translateY(1px) scale(0.98);
}

.np-cover {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0.6rem auto 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(29, 34, 21, 0.15);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(64, 78, 38, 0.34));
}

.np-cover.has-artwork {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.classic-now-playing .np-cover {
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 0;
  border: 1px solid rgba(17, 17, 17, 0.24);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.12);
  cursor: pointer;
}

html[data-route="now-playing"][data-beat-reactive="true"][data-playback-active="true"] .np-cover {
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.16),
    0 0 var(--screen-beat-glow, 0px) var(--beat-accent-soft),
    0 0 8px var(--beat-accent);
  transition:
    box-shadow 110ms ease-out;
}

html[data-route="now-playing"][data-beat-reactive="true"][data-playback-active="true"] .np-cover::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, var(--beat-accent-soft), transparent 62%);
  mix-blend-mode: screen;
  opacity: var(--beat-aura-opacity, 0);
}

.np-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.np-cover.fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.np-title,
.np-artist {
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.np-title {
  font-size: 1rem;
  font-weight: 700;
}

.classic-now-playing .np-title,
.classic-now-playing .np-artist,
.classic-now-playing .np-album {
  text-align: left;
  color: #111111;
  margin: 0;
}

.classic-now-playing .np-title {
  font-size: 0.84rem;
  font-weight: 800;
}

.classic-now-playing .np-artist {
  font-size: 0.73rem;
  font-weight: 800;
}

.classic-now-playing .np-album {
  font-size: 0.71rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.9);
}

.np-artist {
  margin-top: 0.2rem;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.np-album {
  margin-top: 0.18rem;
  text-align: center;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.68rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.progress-block {
  margin-top: auto;
}

.progress-bar {
  position: relative;
  height: 0.46rem;
  border-radius: 999px;
  overflow: visible;
  background: rgba(29, 34, 21, 0.16);
}

.js-seek-bar {
  cursor: pointer;
  touch-action: none;
}

.classic-progress-block {
  margin-top: auto;
  padding: 0.85rem 0.7rem 0.75rem;
}

.classic-progress-bar {
  height: 0.66rem;
  border-radius: 2px;
  overflow: visible;
  background:
    linear-gradient(180deg, #fafafa, #d8dbe2 55%, #ffffff);
  border: 1px solid rgba(110, 118, 130, 0.5);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(0, 0, 0, 0.08);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--highlight);
}

.classic-progress-fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 42%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(180deg, #58d9ff, #0b7dd0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 4px rgba(31, 157, 229, 0.24);
}

.classic-progress-bar.seek-mode-active {
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.68),
    inset 0 -1px 1px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(88, 208, 255, 0.1),
    0 0 6px rgba(72, 196, 255, 0.08);
}

.scrub-mode-indicator {
  margin-top: 0.32rem;
  min-height: 0.72rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(54, 66, 86, 0.76);
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.scrub-mode-indicator.visible {
  opacity: 1;
  transform: translateY(0);
}

.shuffle-mode-indicator {
  margin-top: -0.72rem;
}

.video-scrub-mode-indicator {
  margin-top: 0.08rem;
  min-height: 0.62rem;
  color: rgba(255, 255, 255, 0.76);
}

html[data-dark-mode="true"] .progress-bar,
html[data-dark-mode="true"] .classic-progress-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

html[data-dark-mode="true"] .progress-fill,
html[data-dark-mode="true"] .classic-progress-fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, #ff7a7a, #a81414);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 4px rgba(197, 31, 31, 0.28);
}

html[data-rainbow-mode="true"] .progress-bar,
html[data-rainbow-mode="true"] .classic-progress-bar {
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

html[data-rainbow-mode="true"] .progress-fill,
html[data-rainbow-mode="true"] .classic-progress-fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    linear-gradient(90deg, #ff3f63, #ff9829 22%, #ffe44f 40%, #59ef63 58%, #37d6ff 76%, #8f5dff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 6px rgba(103, 71, 255, 0.14);
}

html[data-rainbow-mode="true"] .classic-progress-bar.seek-mode-active {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 8px rgba(185, 91, 255, 0.18);
}

html[data-rainbow-mode="true"] .scrub-mode-indicator {
  color: rgba(255, 255, 255, 0.82);
}

html[data-eternabox-mode="true"] .progress-bar,
html[data-eternabox-mode="true"] .classic-progress-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(219, 239, 210, 0.94));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(114, 171, 97, 0.16);
}

html[data-eternabox-mode="true"] .progress-fill,
html[data-eternabox-mode="true"] .classic-progress-fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, #dbefce, #7dcb6f 44%, #468b37 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 6px rgba(103, 180, 82, 0.12);
}

html[data-eternabox-mode="true"] .classic-progress-bar.seek-mode-active {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(156, 255, 141, 0.2),
    0 0 8px rgba(86, 255, 77, 0.2);
}

html[data-eternabox-mode="true"] .scrub-mode-indicator {
  color: rgba(67, 108, 54, 0.8);
}

html[data-pink-mode="true"] .progress-bar,
html[data-pink-mode="true"] .classic-progress-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 220, 234, 0.94));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.42),
    0 0 0 1px rgba(204, 124, 164, 0.16);
}

html[data-custom-menu-color-mode="true"] .progress-bar,
html[data-custom-menu-color-mode="true"] .classic-progress-bar {
  background: var(--menu-mode-progress-bg);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.34),
    0 0 0 1px var(--menu-mode-progress-border);
}

html[data-pink-mode="true"] .progress-fill,
html[data-pink-mode="true"] .classic-progress-fill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, #ffd7ea, #ff8cc0 42%, #d94887 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 6px rgba(223, 92, 155, 0.12);
}

html[data-custom-menu-color-mode="true"] .progress-fill,
html[data-custom-menu-color-mode="true"] .classic-progress-fill {
  background: var(--menu-mode-progress-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 6px var(--menu-mode-progress-glow);
}

html[data-pink-mode="true"] .classic-progress-bar.seek-mode-active {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 221, 236, 0.18),
    0 0 8px rgba(255, 99, 182, 0.18);
}

html[data-pink-mode="true"] .scrub-mode-indicator {
  color: rgba(125, 46, 83, 0.78);
}

html[data-custom-menu-color-mode="true"] .scrub-mode-indicator {
  color: var(--menu-mode-subtext);
}

html[data-dark-mode="true"] .classic-progress-bar.seek-mode-active {
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 6px rgba(255, 255, 255, 0.05);
}

html[data-dark-mode="true"] .scrub-mode-indicator {
  color: rgba(232, 238, 248, 0.74);
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.74rem;
}

.classic-time-row {
  margin-top: 0.42rem;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
}

html[data-dark-mode="true"] .np-title,
html[data-dark-mode="true"] .np-artist,
html[data-dark-mode="true"] .np-album,
html[data-dark-mode="true"] .classic-time-row,
html[data-dark-mode="true"] .np-classic-header {
  color: var(--dark-text-main);
}

html[data-eternabox-mode="true"] .np-title,
html[data-eternabox-mode="true"] .np-artist,
html[data-eternabox-mode="true"] .np-album,
html[data-eternabox-mode="true"] .classic-time-row,
html[data-eternabox-mode="true"] .np-classic-header {
  color: #315d24;
}

html[data-pink-mode="true"] .np-title,
html[data-pink-mode="true"] .np-artist,
html[data-pink-mode="true"] .np-album,
html[data-pink-mode="true"] .classic-time-row,
html[data-pink-mode="true"] .np-classic-header {
  color: #612243;
}

html[data-custom-menu-color-mode="true"] .np-title,
html[data-custom-menu-color-mode="true"] .np-artist,
html[data-custom-menu-color-mode="true"] .np-album,
html[data-custom-menu-color-mode="true"] .classic-time-row,
html[data-custom-menu-color-mode="true"] .np-classic-header {
  color: var(--menu-mode-text);
}

html[data-font-color-customized="true"] .np-title,
html[data-font-color-customized="true"] .np-artist,
html[data-font-color-customized="true"] .np-album,
html[data-font-color-customized="true"] .classic-time-row,
html[data-font-color-customized="true"] .np-classic-header,
html[data-font-color-customized="true"] .classic-time-row span {
  color: var(--app-font-color);
}

html[data-dark-mode="true"] .np-album {
  color: var(--dark-text-soft);
}

html[data-eternabox-mode="true"] .np-album {
  color: rgba(66, 110, 54, 0.76);
}

html[data-pink-mode="true"] .np-album {
  color: rgba(114, 47, 78, 0.76);
}

html[data-custom-menu-color-mode="true"] .np-album {
  color: var(--menu-mode-subtext);
}

html[data-font-color-customized="true"] .np-album {
  color: var(--app-font-color);
}

.mini-hint {
  margin-top: 0.55rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.74rem;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .device-stage {
    min-height: auto;
    padding-top: 1rem;
  }

  .device-shadow {
    transform: translateY(270px) rotateX(82deg);
  }

  .device-stack {
    width: min(100%, 360px);
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 1rem;
  }

  .preset-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
