/* CSSOS_STYLE_V1_MARKER */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@700;900&family=Space+Grotesk:wght@300;400;500;600&family=Syne:wght@600;700&display=swap");

@font-face {
  font-family: "GEETYPE-YinlongGBT-Flash";
  src: local("GEETYPE-YinlongGBT-Flash"), local("GEETYPE YinlongGBT Flash"),
    url("/fonts/GEETYPE-YinlongGBT-Flash.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "KouzanBrushFontSousyo";
  src: local("KouzanBrushFontSousyo"), local("Kouzan Brush Font Sousyo"),
    url("/fonts/KouzanBrushFontSousyo.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #020302;
  --green: #00f5a0;
  --green-soft: rgba(0, 245, 160, 0.25);
  --emerald: #0bffb9;
  --blue: #0bf7ff;
  --panel: rgba(7, 16, 12, 0.75);
  --panel-strong: rgba(4, 10, 8, 0.92);
  --border: rgba(0, 245, 160, 0.35);
  --glow: rgba(0, 245, 160, 0.6);
  --text: #e8fdf4;
  --muted: rgba(232, 253, 244, 0.6);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --wc1: rgba(0, 245, 160, 0.55);
  --wc2: rgba(4, 10, 8, 0.75);
  --wc3: rgba(0, 140, 100, 0.5);
  --wc4: rgba(1, 3, 2, 0.85);
  --bg-intensity: 0.48;
  --bg-motion-scale: 0.24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #010101;
  isolation: isolate;
}

.bg-blob {
  position: absolute;
  inset: auto;
  width: 52vmax;
  height: 52vmax;
  border-radius: 50%;
  opacity: calc(0.14 + var(--bg-intensity) * 0.46);
  filter: blur(calc(32px + var(--bg-intensity) * 48px));
  transform: translate3d(0, 0, 0);
  animation: bgFloat calc(34s - var(--bg-motion-scale) * 12s) ease-in-out infinite alternate;
}

.bg-blob-a {
  background: radial-gradient(circle at top, rgba(0, 255, 170, 0.55), transparent 65%);
  top: -15vmax;
  left: -10vmax;
}

.bg-blob-b {
  background: radial-gradient(circle at 30% 30%, rgba(11, 247, 255, 0.4), transparent 60%);
  bottom: -20vmax;
  right: -15vmax;
  animation-delay: -8s;
}

.bg-blob-c {
  background: radial-gradient(circle at 70% 40%, rgba(0, 255, 135, 0.45), transparent 62%);
  top: 25vmax;
  left: 20vmax;
  animation-delay: -14s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: calc(0.03 + var(--bg-intensity) * 0.08);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.92), transparent 88%);
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 220ms ease, transform 220ms ease;
}

.bg::after {
  inset: -16%;
}

body[data-background-mode="aurora"] .bg {
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 245, 160, calc(0.08 + var(--bg-intensity) * 0.14)), transparent 38%),
    radial-gradient(circle at 84% 76%, rgba(11, 247, 255, calc(0.05 + var(--bg-intensity) * 0.1)), transparent 34%),
    #010101;
}

body[data-background-mode="aurora"] .bg::before {
  background: radial-gradient(circle at 52% 42%, rgba(0, 255, 170, calc(0.06 + var(--bg-intensity) * 0.16)), transparent 46%);
  filter: blur(42px);
  animation: bgDrift calc(38s - var(--bg-motion-scale) * 10s) ease-in-out infinite alternate;
}

body[data-background-mode="aurora"] .bg::after {
  background: radial-gradient(circle at 50% 58%, rgba(1, 130, 92, calc(0.08 + var(--bg-intensity) * 0.18)), transparent 52%);
  filter: blur(70px);
  animation: bgDrift calc(44s - var(--bg-motion-scale) * 12s) ease-in-out infinite alternate-reverse;
}

body[data-background-mode="ribbon"] .bg {
  background: #030404;
}

body[data-background-mode="ribbon"] .bg-blob {
  opacity: 0;
}

body[data-background-mode="ribbon"] .bg::before {
  background:
    linear-gradient(118deg,
      transparent 0 26%,
      rgba(162, 198, 255, calc(0.16 + var(--bg-intensity) * 0.18)) 28%,
      rgba(255, 170, 56, calc(0.18 + var(--bg-intensity) * 0.26)) 44%,
      rgba(255, 89, 162, calc(0.14 + var(--bg-intensity) * 0.22)) 58%,
      transparent 76%);
  filter: blur(18px) saturate(1.08);
  transform: rotate(-12deg) translate3d(2%, -2%, 0);
  animation: bgRibbonSweep calc(42s - var(--bg-motion-scale) * 10s) linear infinite;
}

body[data-background-mode="ribbon"] .bg::after {
  background:
    linear-gradient(122deg,
      transparent 0 30%,
      rgba(255, 201, 102, calc(0.12 + var(--bg-intensity) * 0.18)) 38%,
      rgba(123, 96, 255, calc(0.14 + var(--bg-intensity) * 0.2)) 56%,
      transparent 74%);
  filter: blur(28px);
  transform: rotate(-8deg) translate3d(12%, 8%, 0);
  animation: bgRibbonSweep calc(54s - var(--bg-motion-scale) * 12s) linear infinite reverse;
}

body[data-background-mode="watercolor"] .bg {
  background:
    radial-gradient(circle at 18% 24%, rgba(122, 177, 255, calc(0.06 + var(--bg-intensity) * 0.12)), transparent 26%),
    radial-gradient(circle at 72% 18%, rgba(255, 174, 54, calc(0.07 + var(--bg-intensity) * 0.15)), transparent 28%),
    radial-gradient(circle at 70% 76%, rgba(255, 96, 214, calc(0.07 + var(--bg-intensity) * 0.14)), transparent 30%),
    #030404;
}

body[data-background-mode="watercolor"] .bg::before {
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.05), transparent 42%),
    radial-gradient(circle at 58% 52%, rgba(255, 128, 210, calc(0.08 + var(--bg-intensity) * 0.14)), transparent 36%),
    radial-gradient(circle at 44% 60%, rgba(124, 154, 255, calc(0.07 + var(--bg-intensity) * 0.12)), transparent 42%);
  filter: blur(40px);
  animation: bgWatercolor calc(52s - var(--bg-motion-scale) * 12s) ease-in-out infinite alternate;
}

body[data-background-mode="watercolor"] .bg::after {
  background:
    radial-gradient(circle at 66% 38%, rgba(255, 176, 90, calc(0.08 + var(--bg-intensity) * 0.14)), transparent 34%),
    radial-gradient(circle at 60% 66%, rgba(142, 110, 255, calc(0.08 + var(--bg-intensity) * 0.12)), transparent 40%);
  filter: blur(54px);
  animation: bgWatercolor calc(66s - var(--bg-motion-scale) * 14s) ease-in-out infinite alternate-reverse;
}

body[data-background-mode="ink"] .bg {
  background:
    radial-gradient(circle at 24% 30%, rgba(0, 200, 140, calc(0.05 + var(--bg-intensity) * 0.08)), transparent 20%),
    radial-gradient(circle at 74% 76%, rgba(6, 86, 58, calc(0.06 + var(--bg-intensity) * 0.1)), transparent 24%),
    #010101;
}

body[data-background-mode="ink"] .bg::before {
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 42, 28, calc(0.12 + var(--bg-intensity) * 0.18)), transparent 44%),
    radial-gradient(circle at 42% 46%, rgba(4, 22, 16, calc(0.18 + var(--bg-intensity) * 0.24)), transparent 58%);
  filter: blur(34px);
  animation: bgDrift calc(48s - var(--bg-motion-scale) * 10s) ease-in-out infinite alternate;
}

body[data-background-mode="ink"] .bg::after {
  background:
    radial-gradient(circle at 48% 56%, rgba(0, 245, 160, calc(0.03 + var(--bg-intensity) * 0.06)), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.16), transparent 64%);
  filter: blur(76px);
  animation: bgDrift calc(62s - var(--bg-motion-scale) * 12s) ease-in-out infinite alternate-reverse;
}

@keyframes bgFloat {
  from { transform: translate3d(-1.5%, -1%, 0) scale(0.98); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.02); }
}

@keyframes bgDrift {
  from { transform: translate3d(-2%, -1.5%, 0); }
  to { transform: translate3d(2%, 1.5%, 0); }
}

@keyframes bgWatercolor {
  from { transform: translate3d(-1%, -0.5%, 0) scale(0.985); }
  to { transform: translate3d(1%, 0.8%, 0) scale(1.015); }
}

@keyframes bgRibbonSweep {
  from { transform: rotate(-12deg) translate3d(-4%, -2%, 0) scale(1); }
  to { transform: rotate(-8deg) translate3d(4%, 2%, 0) scale(1.02); }
}

.palette-presets {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 0 48px 6px 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-presets .cta {
  flex: 0 0 auto;
  border-radius: 999px;
  white-space: nowrap;
  scroll-snap-align: start;
}

.palette-presets .cta.active {
  border-color: rgba(0, 245, 160, 0.7);
  color: var(--mint);
  box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.2) inset;
}

.version-switch {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: calc(16px + env(safe-area-inset-left));
  z-index: 50;
}

.version-toggle {
  width: 40px;
  height: 32px;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0.2em;
  cursor: grab;
  display: grid;
  place-items: center;
  padding-left: 6px;
}

.version-menu {
  margin-top: 10px;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background:
    linear-gradient(180deg, rgba(4, 16, 12, 0.96), rgba(2, 7, 5, 0.94)),
    radial-gradient(circle at top right, rgba(11, 247, 255, 0.12), transparent 35%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 12px;
}

.version-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 253, 244, 0.48);
}

.version-current {
  font-size: 13px;
  color: rgba(232, 253, 244, 0.72);
  letter-spacing: 0.04em;
}

.version-hero {
  display: grid;
  gap: 8px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.12);
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.07), rgba(0, 0, 0, 0.08));
}

.version-badge {
  font-family: "Rubik", "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f1fff8;
}

.version-headline {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 19px;
  line-height: 1.2;
  color: #f7fff9;
}

.version-copy {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(232, 253, 244, 0.72);
}

.version-highlights {
  display: grid;
  gap: 8px;
}

.version-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 253, 244, 0.84);
  font-size: 13px;
}

.version-highlight::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex: 0 0 6px;
  background: linear-gradient(180deg, var(--emerald), var(--blue));
  box-shadow: 0 0 10px rgba(11, 247, 255, 0.35);
}

.version-details {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.version-details summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(232, 253, 244, 0.66);
}

.version-details summary::-webkit-details-marker {
  display: none;
}

.version-details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.version-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 10px;
}

.version-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 8px 0;
}

.version-actions {
  display: flex;
  gap: 8px;
}

.version-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.version-item strong {
  font-size: 13px;
  font-weight: 600;
}

.version-item span {
  color: rgba(232, 253, 244, 0.62);
}

.version-item:hover {
  border-color: rgba(0, 245, 160, 0.4);
  background: rgba(0, 245, 160, 0.08);
}

.version-item.active {
  border-color: rgba(0, 245, 160, 0.7);
  background: rgba(0, 245, 160, 0.16);
}

.stage {
  position: relative;
  z-index: 1;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  position: absolute;
  width: min(70vw, 820px);
  background: transparent;
  border-radius: var(--radius);
  border: 1px solid var(--panel-accent, var(--border));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 86vh;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.panel.flow {
  background: transparent;
}

.panel.flow::before {
  content: none;
}

.panel.flow::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(0, 245, 160, 0.2);
  box-shadow: 0 0 28px rgba(0, 245, 160, 0.25);
  pointer-events: none;
}

.panel-front::before,
.panel-active::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    120deg,
    rgba(0, 245, 160, 0.15),
    rgba(0, 245, 160, 0.9),
    rgba(11, 247, 255, 0.55),
    rgba(0, 245, 160, 0.9),
    rgba(0, 245, 160, 0.15)
  );
  background-size: 380% 380%;
  animation: borderFlow 4.2s linear infinite;
  box-shadow: 0 0 22px rgba(0, 245, 160, 0.55), 0 0 46px rgba(11, 247, 255, 0.35);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

.logo-panel.panel-front::before,
.logo-panel.panel-active::before {
  content: none;
}

.logo-panel.panel.flow::after {
  content: none;
}

.logo-panel.panel-active,
.logo-panel.panel-front,
.logo-panel.panel-locked,
.logo-panel.dragging {
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.panel:not(.hidden) {
  animation: panelReveal 0.6s ease;
}

.panel-active {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(0, 245, 160, 0.45);
  border-color: var(--panel-accent, rgba(0, 245, 160, 0.55));
}

.panel.dragging {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(11, 247, 255, 0.45);
  filter: drop-shadow(0 0 12px rgba(11, 247, 255, 0.35));
}

.panel.dragging .panel-bar {
  cursor: grabbing;
}

.panel-locked .panel-bar {
  cursor: default;
}

.panel-locked {
  border-color: rgba(0, 245, 160, 0.75);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 245, 160, 0.45);
}

.panel-locked .panel-bar {
  background: rgba(0, 245, 160, 0.12);
  border-bottom-color: rgba(0, 245, 160, 0.35);
}

.panel-locked .panel-actions .icon-btn[aria-label="lock"] {
  background: rgba(0, 245, 160, 0.32);
  border-color: rgba(0, 245, 160, 0.75);
  color: #00160d;
  box-shadow: 0 0 14px rgba(0, 245, 160, 0.55);
}

.panel-locked .resize-handle {
  display: none;
}

.panel-collapsed .panel-body {
  display: none;
}

.panel-collapsed {
  height: auto;
}

.panel-collapsed .resize-handle {
  display: none;
}

.panel.maximized {
  border-radius: 18px;
}

.panel.hidden {
  opacity: 0;
  pointer-events: none;
  filter: blur(8px) saturate(140%);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 245, 160, 0.2);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: grab;
  user-select: none;
}

.panel-bar::before {
  content: "•••";
  color: var(--green);
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 1;
  flex: 0 0 auto;
  opacity: 0.95;
}

.drag-handle {
  color: var(--green);
  font-size: 18px;
  cursor: grab;
}

.panel-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 245, 160, 0.12);
  color: var(--green);
  font-size: 18px;
}

.panel-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  font-family: "Syne", "Space Grotesk", sans-serif;
  text-transform: uppercase;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.icon-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  cursor: pointer;
}

a.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.logo-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mirror {
  position: relative;
}

[data-hold="mic"],
.mirror-text,
.mirror-slogan {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.holding-mic {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.longpress-guard,
body.longpress-guard * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

.hold-ring {
  position: absolute;
  inset: var(--hold-ring-inset, 84px);
  display: block;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
  transition: opacity 0.18s ease;
  transform: scale(var(--hold-ring-scale, 1));
  transform-origin: center;
  z-index: var(--hold-ring-z, 0);
}

.hold-ring.is-on {
  opacity: 1;
}

.hold-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hold-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 6;
}

.hold-ring-fg {
  fill: none;
  stroke: rgba(60, 255, 120, 0.95);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
}

.profile-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-account-shell {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: start;
}

.profile-avatar-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.profile-avatar-image,
.profile-avatar-fallback {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  border: 1px solid rgba(0, 245, 160, 0.24);
  background: rgba(0, 245, 160, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.profile-avatar-image {
  object-fit: cover;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: "Syne", sans-serif;
  font-size: 28px;
  color: var(--text);
}

.profile-avatar-cta {
  width: 100%;
  justify-content: center;
}

.profile-account-main {
  display: grid;
  gap: 8px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-label {
  font-size: 14px;
  opacity: 0.9;
}

.profile-actions {
  display: flex;
  gap: 10px;
}

.profile-hint {
  font-size: 13px;
  opacity: 0.92;
  white-space: pre-wrap;
}

.profile-account-latest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.profile-mini-card {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 8px;
}

.profile-mini-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-mini-value {
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.panel-body {
  padding: 24px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#foryou-panel .panel-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  isolation: isolate;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

#foryou-panel .panel-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(11, 247, 255, 0.12), transparent 28%),
    radial-gradient(circle at 76% 26%, rgba(0, 245, 160, 0.16), transparent 32%),
    radial-gradient(circle at 54% 78%, rgba(255, 209, 102, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(3, 8, 7, 0.68), rgba(0, 0, 0, 0.88));
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
  z-index: 0;
}

#foryou-panel.has-preview-background .panel-body::before {
  opacity: 1;
}

#foryou-panel .panel-body > * {
  position: relative;
  z-index: 1;
}

.engine-progress-shell {
  order: 0;
  display: grid;
  gap: 4px;
  align-content: start;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 6px 10px 5px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(4, 12, 10, 0.88), rgba(4, 12, 10, 0.72));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 245, 160, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease;
}

.engine-progress-shell[hidden] {
  display: none !important;
}

.engine-progress-shell.is-fading {
  opacity: 0;
  transform: translateY(-12px);
  filter: blur(6px);
  pointer-events: none;
}

.engine-progress-shell.paused {
  border-color: rgba(255, 215, 124, 0.38);
}

.engine-progress-shell.canceled {
  border-color: rgba(255, 126, 126, 0.34);
}

.engine-progress-shell.running {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 245, 160, 0.08) inset;
}

.engine-progress-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 249, 239, 0.76);
}

.engine-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.engine-progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f5a0, #25d4ff);
  box-shadow: 0 0 18px rgba(37, 212, 255, 0.32);
  transition: width 0.36s ease;
}

.engine-progress-detail {
  min-height: 12px;
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(217, 246, 235, 0.52);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.foryou-compact {
  display: none;
  order: 2;
}

.foryou-works-list {
  gap: 10px;
}

.foryou-full {
  order: 1;
  display: grid;
  grid-template-rows: minmax(240px, 1fr);
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}

#foryou-panel.foryou-panel-compact .foryou-full {
  display: none;
}

#foryou-panel.foryou-panel-compact .foryou-compact {
  display: grid;
  gap: 10px;
}

#foryou-panel .works-section {
  order: 2;
}

#foryou-panel.foryou-generating .panel-body {
  overflow: hidden;
}

.foryou-thumb {
  width: 68px;
  height: 68px;
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(0, 245, 160, 0.35), transparent 60%),
    rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 18px rgba(0, 245, 160, 0.2);
}

.foryou-thumb-video,
.foryou-thumb-image,
.foryou-thumb-fallback {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.foryou-thumb-video,
.foryou-thumb-image {
  object-fit: cover;
  display: none;
}

.foryou-thumb-fallback {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
}

.foryou-meta {
  gap: 5px;
  align-content: center;
}

.foryou-seed-copy {
  display: none;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: rgba(232, 253, 244, 0.72);
}

.foryou-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.foryou-style {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.foryou-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.foryou-actions {
  align-items: center;
}

#foryou-panel:not(.search-revealed) .foryou-style,
#foryou-panel:not(.search-revealed) .foryou-tags,
#foryou-panel:not(.search-revealed) .foryou-seed-copy,
#foryou-panel:not(.search-revealed) .foryou-selection {
  display: none !important;
}

#foryou-panel.foryou-panel-compact .foryou-card {
  min-height: 92px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(0, 245, 160, 0.22);
  box-shadow: none;
}

#foryou-panel.foryou-panel-compact .foryou-style {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#foryou-panel.foryou-panel-compact .foryou-tags {
  display: none !important;
}

#foryou-panel.foryou-panel-compact .foryou-seed-copy {
  display: none !important;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#foryou-panel.foryou-panel-compact .foryou-actions {
  min-width: 96px;
  justify-self: end;
}

#foryou-panel.foryou-panel-compact .foryou-actions .mini-btn {
  min-width: 72px;
}

.foryou-structure {
  display: grid;
  gap: 8px;
}

.foryou-structure:empty {
  display: none;
}

.foryou-structure .work-hierarchy {
  gap: 8px;
  padding-top: 2px;
}

.foryou-structure .work-hierarchy-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 10px;
}

.foryou-structure .work-hierarchy-item > summary {
  padding: 0;
}

.foryou-structure .work-hierarchy-item > summary.is-selected {
  color: rgba(240, 255, 248, 0.98);
  text-shadow: 0 0 16px rgba(0, 245, 160, 0.28);
}

.foryou-structure .work-hierarchy-summary {
  margin-top: 8px;
  padding: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(232, 253, 244, 0.72);
}

.foryou-structure .work-hierarchy-actions {
  padding: 0;
  margin-top: 8px;
}

.foryou-selection {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.16);
  background: rgba(0, 0, 0, 0.26);
}

.foryou-shelf-card .work-tags {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.foryou-shelf-card .work-actions {
  min-width: 96px;
  justify-self: end;
}

.foryou-selection-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.foryou-selection-title {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  line-height: 1.15;
  color: rgba(244, 255, 251, 0.98);
}

.foryou-selection-lyrics {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Space Grotesk", monospace;
  line-height: 1.65;
  color: rgba(232, 253, 244, 0.88);
}

.status-card {
  display: grid;
  gap: 4px;
}

.status-bar {
  position: relative;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.92), rgba(12, 214, 255, 0.92));
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.22);
}

.status-title {
  position: static;
  display: block;
  padding: 0 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: nowrap;
}

.status-detail {
  min-height: 14px;
  padding: 0 2px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(232, 253, 244, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-panel {
  width: min(32vw, 520px);
}

.seed-script-panel {
  display: grid;
  gap: 10px;
}

.seed-script-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 48px 8px 0;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 52px;
}

.seed-script-tabs .cta {
  flex: 0 0 auto;
  min-height: 40px;
  line-height: 1.2;
  scroll-snap-align: start;
}

.seed-script-tabs .cta.active {
  background: rgba(0, 245, 160, 0.18);
  border-color: rgba(0, 245, 160, 0.45);
}

.seed-script-panes {
  display: grid;
}

.seed-script-pane {
  display: none;
}

.seed-script-pane.active {
  display: grid;
}

.lyrics-input-tabs {
  margin-bottom: 2px;
}

.lyrics-input-panes {
  margin-top: 2px;
}

.lyrics-input-upload-pane .advanced-panel-card {
  padding: 12px;
  border-radius: 14px;
}

.seed-pane-label-row {
  margin-bottom: 8px;
}

@media (max-width: 1200px) {
  .showcase-panel {
    width: min(90vw, 720px);
  }
}

.logo-panel {
  --mirror-size: 600px;
  --mirror-mask-inset: 12%;
  --hold-ring-inset: 84px;
  --spellcast-ring-scale: 1;
  --spellcast-glow-scale: 0.18;
  --spellcast-ring-z: 0;
  --hold-ring-scale: 1;
  --hold-ring-z: 0;
  width: min(70vw, 760px);
  height: min(720px, 82vh);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  transition: opacity 1.6s ease;
  z-index: 60;
  pointer-events: none;
}

.logo-panel.lyric-spellcast {
  --lyric-spellcast-primary: rgba(11, 247, 255, 0.72);
  --lyric-spellcast-secondary: rgba(0, 245, 160, 0.42);
  --lyric-spellcast-glow: rgba(132, 117, 255, 0.34);
  --lyric-spellcast-text: rgba(11, 247, 255, 0.44);
  z-index: 999999 !important;
}

.logo-panel::after {
  content: none;
}

.logo-body {
  text-align: center;
  padding: 10px 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
}

.mirror-stage,
.mic-capture-status {
  pointer-events: none;
}

.logo-panel .panel-settings,
.logo-panel .panel-settings *,
.logo-panel .mic-capture-status audio,
.logo-panel .mic-capture-status button,
.logo-panel .mic-capture-status [data-watch-mic-copy],
.logo-panel .mic-capture-status [data-watch-mic-clear],
.logo-panel .mic-capture-status [data-watch-mic-delete-raw] {
  pointer-events: auto;
}

.logo-panel .mirror {
  pointer-events: none;
}

.logo-panel .mirror-stage {
  pointer-events: auto;
  cursor: grab;
}

.panel-settings {
  position: absolute;
  top: 56px;
  right: 18px;
  width: min(320px, 78vw);
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.25);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 4;
  max-height: calc(100% - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.panel.show-settings .panel-settings {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-settings .panel-settings-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.panel-settings label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.field-shell {
  position: relative;
}

.field-shell-rich textarea,
.field-shell input[type="text"] {
  padding-right: 44px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.08);
  color: var(--green);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.field-action-btn:hover {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(0, 245, 160, 0.6);
  background: rgba(0, 245, 160, 0.16);
}

.field-action-btn.is-busy {
  transform: translateY(-1px) scale(1.06);
  border-color: rgba(11, 247, 255, 0.75);
  background: radial-gradient(circle at 35% 35%, rgba(11, 247, 255, 0.34), rgba(0, 245, 160, 0.16) 58%, rgba(0, 0, 0, 0.24));
  color: #eaffff;
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.14) inset, 0 0 18px rgba(11, 247, 255, 0.24);
  animation: wandCastRapidPulse 0.34s ease-in-out infinite;
}

.field-action-btn.is-busy::after {
  content: "✦";
  position: absolute;
  top: -6px;
  right: -2px;
  font-size: 10px;
  color: #bdfbff;
  opacity: 0.9;
  animation: wandSparkle 0.5s ease-in-out infinite;
}

.field-debug-status {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 253, 244, 0.72);
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0.02em;
}

.field-debug-status[hidden] {
  display: none !important;
}

.field-debug-status[data-state="pending"] {
  border-color: rgba(11, 247, 255, 0.32);
  color: #d9fbff;
}

.field-debug-status[data-state="success"] {
  border-color: rgba(0, 245, 160, 0.34);
  color: #ddffe9;
}

.field-debug-status[data-state="error"] {
  border-color: rgba(255, 120, 120, 0.34);
  color: #ffd7d7;
}

@keyframes wandCastPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.12) inset, 0 0 14px rgba(11, 247, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.22) inset, 0 0 26px rgba(11, 247, 255, 0.34);
  }
}

@keyframes wandSparkle {
  0%,
  100% {
    transform: translateY(0) scale(0.85);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
  }
}

@keyframes wandCastRapidPulse {
  0%,
  100% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.14) inset, 0 0 12px rgba(11, 247, 255, 0.18);
  }
  50% {
    transform: translateY(-1px) scale(1.12);
    box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.28) inset, 0 0 28px rgba(11, 247, 255, 0.42);
  }
}

.panel-settings input[type="text"],
.panel-settings input[type="number"],
.panel-settings input[type="range"],
.panel-settings input[type="color"],
.panel-settings input[type="file"] {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  padding: 8px 10px;
  font-family: "Space Grotesk", sans-serif;
}

.panel-settings input[type="color"] {
  padding: 0;
  height: 36px;
}

.panel-settings .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.panel-settings .row.row-single {
  grid-template-columns: minmax(0, 1fr);
}

.panel-settings .actions {
  display: flex;
  gap: 8px;
}

.panel-settings .actions .cta {
  padding: 10px 12px;
  font-size: 11px;
}

.is-hidden {
  display: none;
}

.language-body {
  display: grid;
  gap: 16px;
}

.language-current {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.language-banner {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.language-settings {
  display: none;
  gap: 12px;
  font-size: 12px;
}

.language-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#language-panel[data-mode="settings"] .language-grid,
#language-panel[data-mode="settings"] .language-current,
#language-panel[data-mode="settings"] #language-more,
#language-panel[data-mode="settings"] #language-list-more,
#language-panel[data-mode="settings"] .language-status,
#language-panel[data-mode="settings"] .language-banner {
  display: none !important;
}

#language-panel[data-mode="settings"] .language-settings {
  display: grid;
}

.lang-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.55);
  box-shadow: 0 8px 18px rgba(0, 245, 160, 0.15);
}

.lang-card.active {
  border-color: rgba(0, 245, 160, 0.85);
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.35);
}

.lang-flag {
  font-size: 20px;
}

.lang-name {
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-native {
  font-size: 12px;
  color: var(--muted);
}

.lang-card.lang-pending {
  opacity: 0.7;
}

@media (hover: hover) and (pointer: fine) {
  .lang-card:hover .lang-name {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none), (pointer: coarse) {
  .lang-name { display: none; }
}

.language-status {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.login-body {
  display: grid;
  gap: 16px;
}

.login-status {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.login-user {
  font-size: 13px;
  color: var(--text);
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.login-summary {
  grid-column: 1 / -1;
}

.login-hint {
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.06);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(225, 255, 245, 0.9);
}

.login-diagnostic-hint {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 245, 160, 0.18);
  color: rgba(198, 255, 231, 0.86);
}

.login-me {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.45);
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.18), rgba(11, 247, 255, 0.08));
  padding: 12px 14px;
}

.login-source-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(180, 255, 229, 0.7);
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(11, 247, 255, 0.11));
  padding: 14px;
}

.login-source-badge {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 255, 233, 0.7);
  background: rgba(0, 0, 0, 0.28);
}

.login-source-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.login-me-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #06251a;
  background: linear-gradient(140deg, rgba(0, 245, 160, 0.95), rgba(201, 255, 233, 0.92));
}

.login-me-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 255, 233, 0.84);
}

.login-me-user {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
}

.login-me-source {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(215, 255, 241, 0.95);
}

.login-me-source-name {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 700;
}

.login-me-linked {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(201, 255, 233, 0.84);
}

.login-switch-hint {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(201, 255, 233, 0.95);
}

.login-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.login-card.enabled {
  border-color: rgba(0, 245, 160, 0.8);
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.3);
}

.login-card.linked {
  border-color: rgba(180, 255, 229, 0.92);
  box-shadow: 0 0 22px rgba(180, 255, 229, 0.3);
  background: linear-gradient(120deg, rgba(0, 245, 160, 0.12), rgba(0, 0, 0, 0.24));
}

.login-card.active {
  border-color: rgba(120, 227, 255, 0.92);
  box-shadow: 0 0 26px rgba(37, 212, 255, 0.28);
}

.login-card.disabled {
  opacity: 0.45;
  border-color: rgba(255, 255, 255, 0.08);
  cursor: default;
}

.login-card:focus-visible {
  outline: 2px solid rgba(120, 227, 255, 0.78);
  outline-offset: 2px;
}

.login-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.28);
  overflow: hidden;
  position: relative;
}

.login-card.disabled .login-icon {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.login-logo {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.login-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  opacity: 0;
}

.login-logo-glyph {
  font-size: 18px;
}

.provider-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.provider-login-modal.hidden {
  display: none;
  pointer-events: none;
}

.provider-login-modal:not(.hidden) {
  display: grid;
  pointer-events: auto;
}

.provider-login-dialog {
  width: min(420px, calc(100vw - 32px));
  border-radius: 24px;
  border: 1px solid rgba(144, 212, 255, 0.34);
  background:
    radial-gradient(circle at 18% 16%, rgba(52, 171, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.98), rgba(4, 9, 20, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.provider-login-brand {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
}

.provider-login-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.26), rgba(129, 176, 255, 0.18));
  border: 1px solid rgba(145, 208, 255, 0.4);
}

.provider-login-brand-title {
  font-size: 24px;
  font-weight: 700;
}

.provider-login-brand-copy {
  margin-top: 4px;
  color: rgba(222, 242, 255, 0.8);
  line-height: 1.45;
}

.provider-login-field {
  display: grid;
  gap: 8px;
}

.provider-login-field span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(199, 228, 255, 0.78);
}

.provider-login-field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(124, 182, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
}

.provider-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.login-logo-glyph.brand-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.login-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.login-title-wrap {
  min-width: 0;
}

.login-action-tag {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(201, 255, 233, 0.72);
}

.login-linked-badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 255, 233, 0.5);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(224, 255, 243, 0.96);
  background: rgba(0, 245, 160, 0.14);
}

.login-unlink-btn {
  white-space: nowrap;
}

.creation-console {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
}

.creation-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding: 0 48px 6px 0;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creation-tab {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.creation-tab.active {
  border-color: rgba(0, 245, 160, 0.7);
  color: var(--green);
}

.creation-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding: 0 56px 4px 0;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creation-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  scroll-snap-align: start;
}

.creation-chip.active {
  border-color: rgba(0, 245, 160, 0.8);
  background: rgba(0, 245, 160, 0.14);
}

.creation-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}

.creation-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creation-actions {
  display: flex;
  justify-content: flex-end;
}

.creation-style-shell {
  margin-bottom: 2px;
}

.creation-summary {
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(225, 255, 245, 0.92);
  min-height: 36px;
}

.creation-universe-card {
  margin-top: 10px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  border-radius: 18px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 75% 20%, rgba(0, 245, 160, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(4, 12, 10, 0.96), rgba(7, 30, 22, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  min-height: 88px;
  display: grid;
  gap: 10px;
}

.creation-universe-card.is-empty {
  color: rgba(187, 221, 209, 0.74);
}

.creation-universe-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(130, 230, 194, 0.72);
}

.creation-universe-headline {
  font-size: 16px;
  line-height: 1.35;
  color: rgba(244, 255, 250, 0.96);
  font-weight: 700;
}

.creation-universe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creation-universe-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 255, 246, 0.88);
  background: rgba(0, 245, 160, 0.08);
}

.creation-universe-body {
  color: rgba(213, 239, 230, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.work-pricing-editor {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.inline-chip-editor {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.editable-chip {
  cursor: text;
}

.inline-chip-input,
.inline-chip-select {
  min-width: 0;
  width: var(--inline-chip-width, auto);
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(5, 14, 10, 0.96);
  color: rgba(244, 255, 250, 0.96);
  padding: 0 12px;
  font-size: 12px;
  box-sizing: border-box;
}

.inline-chip-select {
  min-width: 0;
}

.work-price-field {
  display: grid;
  gap: 6px;
  min-width: 120px;
}

.work-price-field span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(187, 221, 209, 0.78);
}

.work-price-field input {
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(5, 14, 10, 0.92);
  color: rgba(244, 255, 250, 0.94);
  padding: 10px 12px;
}

.work-price-field select {
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(5, 14, 10, 0.92);
  color: rgba(244, 255, 250, 0.94);
  padding: 10px 12px;
}

.work-type-field {
  min-width: 140px;
}

.creation-defaults-row[hidden] {
  display: none;
}

.works-empty-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.08);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.works-empty-title {
  font-size: 16px;
  font-weight: 600;
}

.works-empty-text {
  font-size: 13px;
  color: var(--muted);
}

.works-body {
  display: grid;
  gap: 18px;
}

.works-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.works-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(0, 245, 160, 0.18);
  border: 1px solid rgba(0, 245, 160, 0.4);
  color: var(--text);
}

.works-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 0;
  box-shadow: none;
}

.works-meta {
  display: grid;
  gap: 6px;
}

.works-name {
  font-size: 16px;
  font-weight: 600;
}

.works-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.works-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.28);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.works-section {
  display: grid;
  gap: 10px;
}

.section-title {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.works-list {
  display: grid;
  gap: 12px;
}

.panel-pull-search {
  display: grid;
  gap: 8px;
  margin: -8px 0 4px;
  padding: 8px 10px 10px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.18);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.22s ease, margin 0.22s ease;
}

.panel.search-revealed .panel-pull-search {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  margin: 0 0 10px;
}

.panel-search-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210, 246, 235, 0.62);
}

.panel-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.panel-search-input {
  flex: 1 1 220px;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 12px;
}

.panel-search-input--narrow {
  flex-basis: 140px;
}

.panel-search-count {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(218, 246, 236, 0.72);
  white-space: nowrap;
}

.panel-search-select {
  min-width: 112px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 12px;
}

.panel-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.panel-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.panel-filter-pills.is-empty::before {
  content: "No active filters";
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(218, 246, 236, 0.42);
}

html[lang^="zh"] .panel-filter-pills.is-empty::before {
  content: "当前没有启用筛选";
}

.panel-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 245, 160, 0.08);
  font-size: 11px;
  color: rgba(225, 255, 245, 0.82);
}

.panel-filter-pill-remove {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 13px;
  opacity: 0.78;
}

.panel-filter-pill-remove:hover {
  opacity: 1;
}

.market-tip-shell {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.market-tip-shell[hidden] {
  display: none !important;
}

.market-tip-input {
  min-width: 148px;
}

.market-inline-action {
  display: inline-flex;
  align-items: center;
}

.works-payout-note,
.seller-payout-note {
  margin-top: 8px;
}

.panel-filter-clear {
  white-space: nowrap;
}

.work-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.28);
  min-height: 92px;
  cursor: default;
}

.work-cover {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(0, 245, 160, 0.2);
  border: 1px solid rgba(0, 245, 160, 0.35);
  overflow: hidden;
}

.work-cover[data-work-toggle],
.work-cover[data-market-toggle],
.work-title[data-work-toggle],
.work-title[data-market-toggle] {
  cursor: pointer;
}

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

.work-info {
  display: grid;
  gap: 5px;
  min-width: 0;
  align-content: center;
}

.work-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-tags {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-owner-chain {
  font-size: 11px;
  color: rgba(186, 232, 217, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  align-items: center;
}

.price-chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.12);
}

.price-chip.ghost-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 209, 102, 0.4);
  background: rgba(255, 209, 102, 0.12);
  color: #ffd98d;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-peek {
  position: relative;
}

.scroll-peek::after {
  content: "";
  position: sticky;
  right: 0;
  width: 42px;
  min-width: 42px;
  align-self: stretch;
  margin-left: -42px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 12, 0), rgba(5, 8, 12, 0.9) 72%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 12px 12px 0;
}

.scroll-peek.is-at-end::after,
.scroll-peek:not(.is-scrollable)::after {
  opacity: 0;
}

.work-extra {
  display: none;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(232, 253, 244, 0.74);
  white-space: pre-line;
}

.work-card.is-expanded .work-extra {
  display: block;
}

.work-details {
  display: none;
  grid-column: 1 / -1;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.work-card.is-expanded .work-details {
  display: grid;
}

.work-hierarchy {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.work-hierarchy-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 10px;
}

.work-hierarchy-item > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.work-hierarchy-item > summary::-webkit-details-marker {
  display: none;
}

.work-hierarchy-role,
.work-hierarchy-time {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(186, 232, 217, 0.68);
}

.work-hierarchy-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 255, 250, 0.94);
}

.work-hierarchy-summary {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(232, 253, 244, 0.72);
}

.work-hierarchy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.work-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-self: end;
  gap: 8px;
  align-self: center;
  min-width: 110px;
}

.mini-btn {
  border: 0;
  border-radius: 999px;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0, 245, 160, 0.24);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mini-btn.tiny {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 10px;
}

.mini-btn.ghost {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 245, 160, 0.22);
}

.mini-btn.market-preview-btn {
  background: linear-gradient(135deg, rgba(11, 247, 255, 0.22), rgba(0, 245, 160, 0.18));
  border: 1px solid rgba(11, 247, 255, 0.42);
  color: #eaffff;
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.08) inset;
}

.work-admin-actions {
  display: flex;
  justify-content: flex-end;
}

.mini-btn.market-buyout-btn {
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.28);
  color: #ffe2a3;
}

.mini-btn.is-owned {
  background: rgba(0, 245, 160, 0.18);
  border: 1px solid rgba(0, 245, 160, 0.42);
  color: #dcfff2;
}

.mini-btn.is-pending {
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.34);
  color: #ffe7b2;
}

.mini-btn[disabled] {
  opacity: 0.78;
  cursor: default;
}

.market-card .work-title,
.market-card .work-tags,
.market-card .work-extra {
  max-width: 100%;
}

.market-card .work-extra {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.market-card .work-hierarchy {
  display: none;
}

.market-card.is-expanded .work-extra {
  display: -webkit-box;
  -webkit-line-clamp: unset;
}

.market-card.is-expanded .work-hierarchy {
  display: grid;
}

.work-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.palette-color-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding: 0 56px 6px 0;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

.palette-color-card {
  flex: 0 0 auto;
  min-width: 168px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  scroll-snap-align: start;
}

.palette-color-card span {
  font-size: 12px;
  color: var(--muted);
}

.works-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.seller-body {
  display: grid;
  gap: 16px;
}

.seller-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.seller-grid {
  align-items: start;
}

.seller-list {
  display: grid;
  gap: 10px;
}

.seller-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.16);
  background: rgba(0, 0, 0, 0.22);
}

.seller-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.seller-item-meta {
  font-size: 11px;
  color: var(--muted);
}

.comment-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
}

.works-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.mirror-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
}

.mirror {
  position: relative;
  width: var(--mirror-size, 600px);
  height: var(--mirror-size, 600px);
  display: grid;
  place-items: center;
  animation: mirrorBreath 14s ease-in-out infinite;
  cursor: grab;
  transition: opacity 1.6s ease, transform 1.6s ease;
  outline: none;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.mirror-core {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.08) 40%, rgba(0, 0, 0, 0) 62%),
    radial-gradient(circle at 62% 40%, rgba(0, 255, 224, 0.55), rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 45% 65%, rgba(255, 74, 158, 0.42), rgba(0, 0, 0, 0) 58%),
    radial-gradient(circle at 68% 68%, rgba(255, 214, 74, 0.38), rgba(0, 0, 0, 0) 60%);
  filter: saturate(1.4) brightness(1.12);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: mirrorCoreHue 24s linear infinite, mirrorCorePulse 7s ease-in-out infinite;
}

.mirror:focus,
.mirror:focus-visible,
.mirror-img:focus,
.mirror-img:focus-visible {
  outline: none;
  box-shadow: none;
}

.logo-panel.lyric-spellcast .mirror {
  animation: mirrorSpellcastBreath 0.42s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--halo .mirror::before {
  content: "";
  position: absolute;
  inset: var(--mirror-mask-inset, 12%);
  border-radius: 50%;
  border: 2px solid var(--lyric-spellcast-primary);
  box-shadow: 0 0 calc(10px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-primary),
    0 0 calc(26px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-secondary),
    inset 0 0 calc(10px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-glow);
  pointer-events: none;
  animation: mirrorSpellcastHalo 0.42s ease-in-out infinite;
  transform: scale(var(--spellcast-ring-scale, 1));
  transform-origin: center;
  z-index: var(--spellcast-ring-z, 0);
}

.logo-panel.lyric-spellcast--breath .mirror {
  animation: mirrorSpellcastBreathRapid 0.26s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--breath .mirror-img {
  filter: drop-shadow(0 0 32px var(--lyric-spellcast-primary));
}

.logo-panel.lyric-spellcast--breath .mirror-img.mirror-a {
  animation: mirrorSpellcastSwapA 0.36s steps(1, end) infinite, mirrorSpellcastImageBreath 0.26s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--breath .mirror-img.mirror-b {
  animation: mirrorSpellcastSwapB 0.36s steps(1, end) infinite, mirrorSpellcastImageBreath 0.26s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--prism .mirror {
  animation: mirrorSpellcastPrismPulse 0.62s cubic-bezier(0.32, 0, 0.18, 1) infinite;
}

.logo-panel.lyric-spellcast--prism .mirror::before,
.logo-panel.lyric-spellcast--prism .mirror::after {
  content: "";
  position: absolute;
  inset: var(--hold-ring-inset, 84px);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: scale(var(--spellcast-ring-scale, 1));
  transform-origin: center;
  z-index: var(--spellcast-ring-z, 0);
}

.logo-panel.lyric-spellcast--prism .mirror::before {
  border: 2px solid color-mix(in srgb, var(--lyric-spellcast-primary) 78%, white 22%);
  box-shadow: 0 0 calc(10px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-primary),
    0 0 calc(22px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-secondary),
    inset 0 0 calc(10px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-glow);
  animation: mirrorPrismShell 0.62s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--prism .mirror::after {
  inset: var(--hold-ring-inset, 84px);
  background:
    radial-gradient(circle at 28% 24%, color-mix(in srgb, var(--lyric-spellcast-primary) 65%, transparent) 0, transparent 52%),
    radial-gradient(circle at 72% 32%, color-mix(in srgb, var(--lyric-spellcast-secondary) 62%, transparent) 0, transparent 48%),
    radial-gradient(circle at 50% 76%, color-mix(in srgb, var(--lyric-spellcast-glow) 58%, transparent) 0, transparent 54%);
  filter: blur(calc(2px + 4px * var(--spellcast-glow-scale, 0.18)));
  animation: mirrorPrismAura 0.62s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--oracle .mirror {
  animation: mirrorOraclePulse 0.84s cubic-bezier(0.2, 0, 0.12, 1) infinite;
}

.logo-panel.lyric-spellcast--oracle .mirror::before,
.logo-panel.lyric-spellcast--oracle .mirror::after {
  content: "";
  position: absolute;
  inset: var(--hold-ring-inset, 84px);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: scale(var(--spellcast-ring-scale, 1));
  transform-origin: center;
  z-index: var(--spellcast-ring-z, 0);
}

.logo-panel.lyric-spellcast--oracle .mirror::before {
  border: 1px solid color-mix(in srgb, var(--lyric-spellcast-primary) 78%, white 22%);
  box-shadow: 0 0 calc(10px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-primary),
    0 0 calc(20px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-secondary),
    inset 0 0 calc(12px * var(--spellcast-glow-scale, 0.18)) var(--lyric-spellcast-glow);
  animation: mirrorOracleSigil 0.84s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--oracle .mirror::after {
  inset: var(--hold-ring-inset, 84px);
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg 48deg,
      color-mix(in srgb, var(--lyric-spellcast-primary) 58%, transparent) 72deg,
      transparent 108deg 180deg,
      color-mix(in srgb, var(--lyric-spellcast-secondary) 52%, transparent) 216deg,
      transparent 252deg 360deg
    );
  filter: blur(5px);
  animation: mirrorOracleWheel 1.2s linear infinite;
}

.logo-panel.lyric-spellcast--oracle .mirror-img {
  filter: drop-shadow(0 0 34px var(--lyric-spellcast-primary));
}

.logo-panel.lyric-spellcast--oracle .mirror-img.mirror-a {
  animation: mirrorOracleImageA 1.12s ease-in-out infinite;
}

.logo-panel.lyric-spellcast--oracle .mirror-img.mirror-b {
  animation: mirrorOracleImageB 1.12s ease-in-out infinite;
}

.logo-panel.lyric-spellcast .mirror-slogan,
.logo-panel.lyric-spellcast .mirror-title,
.logo-panel.lyric-spellcast .mirror-subtitle {
  filter: drop-shadow(0 0 12px var(--lyric-spellcast-text));
}

.mirror-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 26px rgba(0, 245, 160, 0.35));
  animation: mirrorFadeA 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  -webkit-user-drag: none;
  user-select: none;
}

.mirror-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 26px rgba(0, 245, 160, 0.35));
  transition: opacity 1.2s ease;
  pointer-events: none;
  z-index: 1;
}

.logo-panel.mirror-video-active .mirror-img {
  opacity: 0;
  animation-play-state: paused;
}

.logo-panel.mirror-video-active .mirror-video {
  opacity: 1;
}

.logo-panel.mirror-video-active .mirror::before {
  content: "";
  position: absolute;
  inset: var(--mirror-mask-inset, 12%);
  border-radius: 50%;
  border: 2px solid rgba(0, 245, 160, 0.45);
  box-shadow: 0 0 calc(14px * var(--spellcast-glow-scale, 0.18)) rgba(0, 245, 160, 0.7),
    0 0 calc(28px * var(--spellcast-glow-scale, 0.18)) rgba(11, 247, 255, 0.45),
    inset 0 0 calc(12px * var(--spellcast-glow-scale, 0.18)) rgba(0, 245, 160, 0.35);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: mirrorHaloPulse 6s ease-in-out infinite;
  transform: scale(var(--spellcast-ring-scale, 1));
  transform-origin: center;
  z-index: var(--spellcast-ring-z, 0);
}

.logo-panel.hidden .mirror {
  opacity: 0;
  transform: scale(0.96);
}

@media (pointer: coarse), (max-width: 900px) {
  .bg-blob,
  .bg-grid {
    animation: none !important;
    filter: none !important;
    opacity: 0.18;
  }

  .panel,
  .dock,
  .watch-overlay,
  .version-menu,
  .mic-capture-status,
  .watch-audio-card,
  .watch-tab {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mirror,
  .mirror-img,
  .mirror-video,
  .mirror-core,
  .logo-panel .mirror::before,
  .logo-panel .mirror::after,
  .logo-panel .mirror-img,
  .logo-panel .mirror-video,
  .logo-panel.lyric-spellcast .mirror,
  .logo-panel.lyric-spellcast .mirror::before,
  .logo-panel.lyric-spellcast .mirror::after,
  .logo-panel.lyric-spellcast .mirror-img,
  .logo-panel.mirror-video-active .mirror::before {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    box-shadow: none !important;
  }

  .mirror {
    transform: translateZ(0);
    contain: layout paint style;
  }

  .watch-play,
  .engine-progress-fill,
  .dock-preview-track::after,
  .music-waveform-bar {
    animation: none !important;
    filter: none !important;
  }
}

.logo-panel.dragging .mirror {
  cursor: grabbing;
}

.mirror-img.mirror-b {
  animation-name: mirrorFadeB;
}

.mirror-text {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  pointer-events: none;
  width: calc(100% - 120px);
}

.mirror-title {
  font-family: "Rubik", "Syne", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6.2vw, 80px);
  letter-spacing: 0.16em;
  color: #f1fff8;
  text-shadow: 0 0 28px rgba(0, 245, 160, 0.75);
}

.mirror-subtitle {
  font-size: clamp(16px, 2.8vw, 22px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
}

.mirror-slogan {
  max-width: 520px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
}

.mirror-slogan .spell {
  color: #f4fff9;
  font-weight: 900;
  font-size: 1.22em;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgba(0, 245, 160, 0.9),
    0 0 32px rgba(11, 247, 255, 0.65);
}

.mic-capture-status {
  width: min(560px, calc(100% - 40px));
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 6px;
}

.mic-capture-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.mic-capture-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1fff8;
}

.mic-capture-meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.mic-capture-debug {
  font-size: 12px;
  line-height: 1.55;
  color: #f1fff8;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(11, 247, 255, 0.16);
  background: rgba(4, 16, 16, 0.42);
  word-break: break-word;
  white-space: pre-wrap;
}

.mic-capture-audio {
  width: 100%;
  margin-top: 4px;
  filter: hue-rotate(-12deg) saturate(1.1);
}

.mic-capture-status[data-phase="recording"],
.mic-capture-status[data-phase="holding"] {
  border-color: rgba(11, 247, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.12), 0 0 28px rgba(11, 247, 255, 0.16);
}

.mic-capture-status[data-phase="captured"],
.mic-capture-status[data-phase="recognized"],
.mic-capture-status[data-phase="submitted"] {
  border-color: rgba(0, 245, 160, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.16), 0 0 32px rgba(0, 245, 160, 0.16);
}

.mic-capture-status[data-phase="permission_denied"],
.mic-capture-status[data-phase="error"],
.mic-capture-status[data-phase="transcribe_failed"] {
  border-color: rgba(255, 123, 91, 0.4);
}

.mv-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
}

.mv-title {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  letter-spacing: 0.2em;
}

.mv-sub {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.12);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.mv-governance-pulse {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background:
    radial-gradient(circle at top right, rgba(0, 245, 160, 0.14), transparent 38%),
    rgba(0, 0, 0, 0.46);
}

.mv-pulse-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mv-pulse-kicker,
.mv-pulse-label,
.mv-pulse-version {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.mv-pulse-title {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.mv-pulse-version {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: var(--emerald);
  text-align: right;
}

.mv-pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.mv-trust-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.mv-risk-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.mv-assurance-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.mv-resolution-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.mv-trust-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mv-trust-badge.healthy {
  color: #7cecb6;
  border-color: rgba(124, 236, 182, 0.35);
}

.mv-trust-badge.guarded {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.35);
}

.mv-trust-badge.risky,
.mv-trust-badge.untrusted {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.35);
}

.mv-trust-summary {
  color: rgba(244, 255, 249, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.mv-risk-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mv-risk-badge.low {
  color: #7cecb6;
  border-color: rgba(124, 236, 182, 0.35);
}

.mv-risk-badge.medium {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.35);
}

.mv-risk-badge.high,
.mv-risk-badge.critical {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.35);
}

.mv-risk-summary {
  color: rgba(244, 255, 249, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.mv-assurance-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mv-assurance-badge.normal {
  color: #7cecb6;
  border-color: rgba(124, 236, 182, 0.35);
}

.mv-assurance-badge.watch,
.mv-assurance-badge.protected {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.35);
}

.mv-assurance-badge.manual,
.mv-assurance-badge.recovery {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.35);
}

.mv-assurance-summary {
  color: rgba(244, 255, 249, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.mv-resolution-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mv-resolution-badge.resolved {
  color: #7cecb6;
  border-color: rgba(124, 236, 182, 0.35);
}

.mv-resolution-badge.stabilized,
.mv-resolution-badge.monitoring_only {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.35);
}

.mv-resolution-badge.escalated,
.mv-resolution-badge.under_manual_intervention {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.35);
}

.mv-resolution-summary {
  color: rgba(244, 255, 249, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.mv-pulse-card {
  min-height: 116px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(6, 12, 16, 0.68);
}

.mv-digest-pulse {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 247, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(7, 16, 12, 0.9), rgba(5, 18, 22, 0.84)),
    radial-gradient(circle at top right, rgba(11, 247, 255, 0.12), transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mv-digest-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.mv-digest-metric {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.64);
}

.mv-digest-metric span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mv-digest-metric strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.mv-digest-metric.is-waiting strong,
.mv-digest-metric.is-waiting span {
  color: rgba(232, 253, 244, 0.44);
}

.mv-digest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mv-digest-queue-list,
.mv-digest-alert-list,
.mv-digest-preview {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.mv-digest-queue {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.mv-digest-queue:hover,
.mv-digest-queue.is-active {
  border-color: rgba(0, 245, 160, 0.32);
  background: rgba(0, 245, 160, 0.1);
}

.mv-digest-queue.is-waiting {
  color: var(--muted);
  cursor: default;
}

.mv-digest-queue-title {
  font-size: 12px;
  font-weight: 600;
}

.mv-digest-queue-count {
  font-size: 12px;
  color: var(--emerald);
}

.mv-digest-preview-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
}

.mv-digest-preview-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.mv-digest-preview-meta,
.mv-digest-preview-body,
.mv-digest-preview-empty {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.mv-digest-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
}

.mv-digest-alert.is-waiting {
  color: var(--muted);
}

.mv-digest-alert-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-digest-alert-badge.warning {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.28);
}

.mv-digest-alert-badge.critical {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.28);
}

.mv-digest-alert-copy {
  color: rgba(244, 255, 249, 0.86);
  font-size: 12px;
  line-height: 1.45;
}

.mv-pulse-list {
  margin: 10px 0 0;
  padding-left: 16px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.mv-pulse-list li {
  color: rgba(244, 255, 249, 0.86);
}

.mv-digest-status-error {
  color: #ff8b8b;
}

.mv-workspace-strip {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.6);
}

.mv-workspace-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.mv-workspace-summary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.report-panel-body {
  display: grid;
  gap: 14px;
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-tab {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 12, 16, 0.56);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.report-tab:hover,
.report-tab.is-active {
  border-color: rgba(11, 247, 255, 0.32);
  background: rgba(11, 247, 255, 0.12);
  color: var(--text);
}

.report-shell {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(11, 247, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(7, 16, 12, 0.92), rgba(5, 18, 22, 0.84)),
    radial-gradient(circle at top right, rgba(11, 247, 255, 0.12), transparent 40%);
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.report-kicker {
  color: rgba(11, 247, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-title {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.report-meta,
.report-summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.report-body {
  display: grid;
  gap: 12px;
}

.report-export-shell {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.report-export-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.report-export-status {
  color: rgba(11, 247, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-export-status.is-error {
  color: #ff8b8b;
}

.report-export-sources,
.report-export-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-export-source,
.report-export-button {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 12, 16, 0.56);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}

.report-export-source:hover,
.report-export-source.is-active,
.report-export-button:hover,
.report-export-button.is-active {
  border-color: rgba(0, 245, 160, 0.32);
  background: rgba(0, 245, 160, 0.1);
}

.report-export-source:disabled,
.report-export-button:disabled {
  color: rgba(232, 253, 244, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.report-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-export-action {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 247, 255, 0.18);
  background: rgba(11, 247, 255, 0.08);
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
}

.report-export-action:hover {
  border-color: rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.1);
}

.report-export-action:disabled {
  color: rgba(232, 253, 244, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.report-history-item {
  display: grid;
  gap: 8px;
}

.report-history-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.report-history-select {
  margin-top: 2px;
}

.report-history-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.report-history-item.is-latest {
  border-color: rgba(11, 247, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.08);
}

.report-history-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(11, 247, 255, 0.22);
  background: rgba(11, 247, 255, 0.1);
  color: rgba(11, 247, 255, 0.92);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.report-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.report-stat-chip {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.report-preview-code {
  max-height: 180px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(232, 253, 244, 0.9);
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.report-export-action.is-muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.report-export-action.is-pinned {
  border-color: rgba(255, 209, 102, 0.3);
  background: rgba(255, 209, 102, 0.1);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.report-card {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.56);
}

.report-card-title {
  color: rgba(11, 247, 255, 0.88);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-card-value {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.report-card-copy,
.report-list,
.report-empty,
.report-chart-row-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.report-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.report-list-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
}

.delivery-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.delivery-ops-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
}

.delivery-ops-item.selected {
  border-color: rgba(90, 176, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(90, 176, 255, 0.18) inset;
}

.delivery-ops-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.delivery-ops-item-title {
  font-size: 14px;
  font-weight: 600;
}

.delivery-ops-item-meta,
.delivery-ops-item-body {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.delivery-ops-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-ops-status-card {
  display: grid;
  gap: 10px;
}

.delivery-ops-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.delivery-ops-status-title {
  font-size: 15px;
  font-weight: 700;
}

.delivery-ops-status-meta {
  font-size: 12px;
  color: var(--muted);
}

.delivery-ops-status-summary {
  font-size: 13px;
  line-height: 1.5;
}

.delivery-ops-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.delivery-ops-status-cell {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.delivery-ops-status-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.delivery-ops-status-value {
  font-size: 13px;
  line-height: 1.45;
}

.report-alert-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.report-badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-badge.warning {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.3);
}

.report-badge.success {
  color: #63f7c5;
  border-color: rgba(99, 247, 197, 0.3);
}

.report-badge.critical {
  color: #ff8b8b;
  border-color: rgba(255, 107, 107, 0.3);
}

.report-section-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.report-chart-list {
  display: grid;
  gap: 12px;
}

.report-chart-row {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.52);
}

.report-chart-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.report-chart-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(11, 247, 255, 0.9), rgba(0, 245, 160, 0.8));
}

.report-preview-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.report-link-button {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 247, 255, 0.2);
  background: rgba(11, 247, 255, 0.08);
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
}

.report-link-button:hover {
  border-color: rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.1);
}

@media (max-width: 960px) {
  .report-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .report-export-header {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.mv-actions-strip {
  display: grid;
  gap: 8px;
}

.mv-actions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mv-action-chip {
  appearance: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 12, 16, 0.68);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mv-action-chip.is-disabled,
.mv-action-chip.is-waiting {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
}

.mv-action-log-list {
  display: grid;
  gap: 8px;
}

.mv-action-log-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 12, 16, 0.68);
}

.mv-action-log-item.is-waiting {
  color: var(--muted);
}

.mv-action-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mv-action-log-kind {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.mv-action-log-time {
  color: var(--muted);
  font-size: 11px;
}

.mv-action-log-body {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mv-timeline-pulse {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mv-timeline-summary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mv-timeline-list {
  display: grid;
  gap: 10px;
}

.mv-timeline-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(6, 12, 16, 0.68);
}

.mv-timeline-item.is-current {
  border-color: rgba(11, 247, 255, 0.28);
}

.mv-timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.mv-timeline-item.status-neutral .mv-timeline-dot {
  background: rgba(255, 255, 255, 0.42);
}

.mv-timeline-item.status-escalated .mv-timeline-dot {
  background: #ff8a5b;
}

.mv-timeline-item.status-recovered .mv-timeline-dot {
  background: #00f5a0;
}

.mv-timeline-item.status-current .mv-timeline-dot {
  background: #0bf7ff;
}

.mv-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mv-timeline-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.mv-timeline-meta {
  color: var(--muted);
  font-size: 11px;
}

.mv-timeline-body {
  margin-top: 4px;
  color: rgba(244, 255, 249, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.mv-timeline-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.mv-timeline-flag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.4);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-card span {
  margin-left: 6px;
  color: var(--text);
}

.camera-board {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.camera-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 245, 160, 0.18);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.camera-row strong {
  font-weight: 600;
  color: var(--text);
}

.camera-mode {
  color: var(--emerald);
}

.lyric-flow {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.engine-lyrics {
  margin-top: 16px;
  min-height: 220px;
  max-height: min(46vh, 420px);
  overflow-y: auto;
}

.flow-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.1);
  overflow: hidden;
}

.flow-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mix-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.mix-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.mix-detail {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(223, 255, 242, 0.74);
}

.mix-level {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.1);
  overflow: hidden;
  margin-top: 10px;
}

.mix-level span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.camera-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.camera-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.4);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.camera-item span {
  color: var(--text);
  letter-spacing: 0.1em;
}

.cta.tiny {
  padding: 10px 16px;
  margin: 10px 0px 10px; 
  font-size: 11px;
}

.scene-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.scene-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 245, 160, 0.18);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.scene-status {
  color: var(--emerald);
  cursor: pointer;
}

.scene-status.queued {
  color: var(--muted);
}

.scene-status.rendering {
  color: var(--emerald);
}

.scene-status.paused {
  color: #ffd166;
}

.scene-status.canceled {
  color: #ff6b6b;
}

.scene-status.done {
  color: #7cecb6;
}

.scene-status.delete {
  color: #ff8b8b;
}

.scene-item.paused {
  border-color: rgba(255, 209, 102, 0.35);
}

.scene-item.canceled {
  opacity: 0.55;
  border-color: rgba(255, 107, 107, 0.25);
}

.scene-item.done {
  border-color: rgba(124, 236, 182, 0.3);
}

.scene-item.delete-armed {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.08);
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.engine-card {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.2);
}

.engine-title {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.engine-card p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.engine-meta {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

.engine-meta span {
  color: var(--text);
  margin-left: 6px;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 6px;
  align-items: end;
  margin: 18px 0 20px;
  height: 90px;
}

.music-runtime-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.video-runtime-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.kara-runtime-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.music-runtime-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.38);
}

.music-runtime-visualizer {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(11, 247, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(6, 28, 26, 0.9), rgba(3, 14, 20, 0.9)),
    rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.music-runtime-visualizer-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.music-runtime-visualizer-meta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.music-runtime-visualizer-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.music-runtime-visualizer-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.reply-harmony-unlock {
  appearance: none;
  border: 1px solid rgba(11, 247, 255, 0.22);
  background: rgba(11, 247, 255, 0.08);
  color: rgba(231, 252, 255, 0.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.reply-harmony-unlock.is-active {
  border-color: rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.12);
  color: rgba(238, 255, 248, 0.96);
}

.music-runtime-visualizer-empty {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(233, 244, 249, 0.72);
}

.reply-harmony-inspector {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 251, 231, 0.12);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 12px;
}

.reply-harmony-inspector-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.reply-harmony-inspector-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 251, 231, 0.9);
}

.reply-harmony-inspector-dirty {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.reply-harmony-inspector-dirty.is-clean {
  background: rgba(19, 43, 39, 0.54);
  color: rgba(158, 238, 220, 0.92);
}

.reply-harmony-inspector-dirty.is-dirty {
  background: rgba(61, 40, 18, 0.56);
  color: rgba(255, 223, 157, 0.96);
}

.reply-harmony-inspector-meta,
.reply-harmony-inspector-summary,
.reply-harmony-inspector-foot {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(226, 246, 239, 0.76);
}

.reply-harmony-clear {
  margin-left: auto;
}

.reply-harmony-inspector-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.reply-harmony-inspector-control {
  display: grid;
  gap: 8px;
}

.reply-harmony-inspector-control-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(238, 255, 248, 0.88);
}

.reply-harmony-inspector-control input[type="range"] {
  width: 100%;
  accent-color: rgb(11, 247, 255);
}

.reply-harmony-inspector-diff {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 18, 23, 0.44);
}

.reply-harmony-inspector-diff-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 251, 231, 0.86);
}

.reply-harmony-inspector-diff-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(226, 246, 239, 0.82);
}

.reply-harmony-inspector-diff-label {
  color: rgba(226, 246, 239, 0.74);
}

.reply-harmony-inspector-diff-values {
  font-variant-numeric: tabular-nums;
  color: rgba(245, 252, 248, 0.92);
}

.reply-harmony-inspector-diff-item.is-positive .reply-harmony-inspector-diff-values {
  color: rgba(255, 214, 143, 0.96);
}

.reply-harmony-inspector-diff-item.is-negative .reply-harmony-inspector-diff-values {
  color: rgba(141, 239, 220, 0.96);
}

.reply-harmony-inspector-history {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 14, 18, 0.38);
}

.reply-harmony-inspector-history-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 251, 231, 0.84);
}

.reply-harmony-inspector-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(226, 246, 239, 0.82);
}

.reply-harmony-inspector-history-label {
  color: rgba(226, 246, 239, 0.78);
}

.reply-harmony-inspector-history-meta {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 251, 231, 0.64);
  white-space: nowrap;
}

.reply-harmony-history-reload {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.24);
  background: rgba(0, 245, 160, 0.08);
  color: rgba(231, 255, 244, 0.9);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.reply-harmony-inspector-json {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reply-harmony-inspector-json-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.reply-harmony-inspector-json-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 251, 231, 0.88);
}

.reply-harmony-inspector-json-body {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 10, 14, 0.56);
  color: rgba(226, 246, 239, 0.88);
  font-size: 11px;
  line-height: 1.55;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.reply-harmony-window-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.reply-harmony-timeline {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.reply-harmony-structure {
  position: relative;
  height: 24px;
}

.reply-harmony-structure-chip {
  position: absolute;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  max-width: 100%;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 246, 239, 0.82);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.reply-harmony-structure-chip.is-active {
  border-color: rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.12);
  color: rgba(238, 255, 248, 0.96);
  box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.08), 0 6px 18px rgba(2, 16, 12, 0.22);
  transform: translateY(-1px);
}

.reply-harmony-structure-chip.is-tail {
  border-color: rgba(11, 247, 255, 0.22);
  background: rgba(11, 247, 255, 0.1);
  color: rgba(214, 251, 255, 0.94);
}

.reply-harmony-structure-chip.is-tail.is-active {
  border-color: rgba(11, 247, 255, 0.38);
  background: rgba(11, 247, 255, 0.16);
  color: rgba(233, 252, 255, 0.98);
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.1), 0 8px 18px rgba(3, 18, 26, 0.24);
}

.reply-harmony-timeline-lane {
  position: relative;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.reply-harmony-timeline-window {
  position: absolute;
  top: 2px;
  bottom: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.74), rgba(11, 247, 255, 0.74));
  opacity: 0.7;
}

.reply-harmony-timeline-window.is-active {
  opacity: 1;
  box-shadow: 0 0 16px rgba(11, 247, 255, 0.28);
}

.reply-harmony-timeline-window.is-locked {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 251, 231, 0.14), 0 0 18px rgba(255, 251, 231, 0.26);
}

.reply-harmony-timeline-playhead {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  border-radius: 999px;
  background: rgba(255, 251, 231, 0.96);
  box-shadow: 0 0 14px rgba(255, 251, 231, 0.5);
  transform: translateX(-50%);
}

.reply-harmony-timeline-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}

.reply-harmony-window {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.reply-harmony-window.is-active {
  border-color: rgba(11, 247, 255, 0.34);
  background: rgba(11, 247, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.1), 0 10px 24px rgba(3, 18, 26, 0.28);
  transform: translateY(-1px);
}

.reply-harmony-window.is-locked {
  border-color: rgba(255, 251, 231, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 251, 231, 0.1), 0 12px 28px rgba(18, 18, 8, 0.22);
}

.reply-harmony-window-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.reply-harmony-window-token {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.reply-harmony-window-timing {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.reply-harmony-window-sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 244, 249, 0.72);
}

.reply-harmony-window-playback {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(210, 240, 232, 0.66);
}

.reply-harmony-window.is-active .reply-harmony-window-playback {
  color: rgba(11, 247, 255, 0.92);
}

.reply-harmony-window-meters {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.reply-harmony-meter {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
}

.reply-harmony-meter-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.reply-harmony-meter-bar {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.reply-harmony-meter-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.92), rgba(11, 247, 255, 0.92));
}

.video-runtime-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.38);
}

.kara-runtime-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.38);
}

.music-runtime-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.video-runtime-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.kara-runtime-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.music-runtime-value {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.video-runtime-value {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.kara-runtime-value {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.waveform span {
  display: block;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  opacity: 0.85;
  animation: wave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.12s);
}

.waveform span.is-active {
  opacity: 1;
  box-shadow: 0 0 18px rgba(11, 247, 255, 0.38);
}

.track-list {
  display: grid;
  gap: 12px;
}

.track-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.1);
  overflow: hidden;
}

.track-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.track-value {
  min-width: 44px;
  text-align: right;
  color: var(--text);
  letter-spacing: 0.08em;
}

.storyboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.story-frame {
  height: 80px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(0, 245, 160, 0.3);
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-frame.is-complete {
  border-style: solid;
  border-color: rgba(124, 236, 182, 0.5);
  color: rgba(223, 255, 242, 0.96);
}

.story-frame.is-active {
  border-style: solid;
  border-color: rgba(11, 247, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.18), 0 0 20px rgba(11, 247, 255, 0.12);
  color: rgba(223, 255, 242, 0.96);
}

.video-script {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lyrics {
  margin: 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  font-family: "Space Grotesk", monospace;
  font-size: calc(14px * var(--lyrics-font-scale, 1));
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  scrollbar-width: thin;
}

.lyrics:empty {
  display: none;
}

.engine-lyrics:empty {
  display: block;
}

.status-card {
  cursor: pointer;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.status-card.running .status-bar span {
  animation: progressGlow 2.4s ease-in-out infinite;
}

.status-bar span {
  width: 0%;
  transition: width 0.6s ease;
}

.status-card.paused .status-bar span {
  background: linear-gradient(90deg, #ffd166, #ffb703);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.7);
}

.status-card.canceled {
  opacity: 0.5;
  border-color: rgba(255, 107, 107, 0.35);
}

.status-card.canceled .status-bar span {
  background: rgba(255, 107, 107, 0.4);
  box-shadow: none;
}

@keyframes progressGlow {
  0% {
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.45);
  }
  50% {
    box-shadow: 0 0 18px rgba(0, 245, 160, 0.85);
  }
  100% {
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.55);
  }
}

.lyrics.paused {
  opacity: 0.7;
}

.lyrics.canceled {
  opacity: 0.5;
  text-decoration: line-through;
}

.watch-body {
  display: grid;
  gap: 16px;
  height: 100%;
}

.watch-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 2px;
  padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  min-height: 52px;
}

.watch-tab {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 40px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.watch-tab.active {
  color: #03110b;
  background: linear-gradient(120deg, rgba(0, 245, 160, 0.92), rgba(11, 247, 255, 0.78));
  border-color: transparent;
}

.watch-pane {
  display: none;
}

.watch-pane.active {
  display: block;
}

.watch-frame {
  padding: 0;
  border-radius: 18px;
  background: transparent;
  border: none;
  flex: 1;
}

.watch-screen {
  height: min(76vh, 820px);
  min-height: 320px;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(0, 245, 160, 0.2), transparent 60%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.2), rgba(0, 245, 160, 0.12));
  display: grid;
  place-items: center;
  font-size: 20px;
  text-align: center;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.watch-screen::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(
    120deg,
    rgba(0, 245, 160, 0.12),
    rgba(0, 245, 160, 0.85),
    rgba(11, 247, 255, 0.5),
    rgba(0, 245, 160, 0.85),
    rgba(0, 245, 160, 0.12)
  );
  background-size: 360% 360%;
  animation: none;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.5), 0 0 36px rgba(11, 247, 255, 0.3);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

.watch-video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  background: #000;
  opacity: 0.95;
  filter: saturate(1.1) brightness(1.05);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.watch-svg {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  background: #000;
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
}

.watch-svg.glow {
  animation: svgGlow 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(0, 245, 160, 0.55))
    drop-shadow(0 0 42px rgba(0, 245, 160, 0.28));
}

.watch-overlay-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.45);
  background: rgba(4, 12, 10, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #eafff6;
  z-index: 4;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 245, 160, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
}

.watch-screen:hover .watch-overlay-play,
.watch-screen:focus-within .watch-overlay-play,
.watch-screen.is-paused .watch-overlay-play {
  opacity: 1;
  pointer-events: auto;
}

.watch-overlay-play:hover {
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 0 28px rgba(0, 245, 160, 0.34), 0 0 50px rgba(11, 247, 255, 0.18);
}

.watch-overlay-play:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.watch-overlay-play-ring {
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.55);
  box-shadow: inset 0 0 22px rgba(0, 245, 160, 0.12);
  animation: watchPlayPulse 2.4s ease-in-out infinite;
}

.watch-overlay-play-icon {
  position: relative;
  z-index: 1;
  font-size: 30px;
  line-height: 1;
  margin-left: 4px;
  text-shadow: 0 0 16px rgba(0, 245, 160, 0.55);
}

@keyframes watchPlayPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 0.76;
    transform: scale(0.99);
  }
}

@keyframes svgGlow {
  0% {
    opacity: 0.85;
    transform: scale(0.995);
  }
  50% {
    opacity: 1;
    transform: scale(1.01);
  }
  100% {
    opacity: 0.88;
    transform: scale(0.997);
  }
}

.watch-subtitle {
  font-family: "Syne", sans-serif;
  color: var(--emerald);
  text-shadow: 0 0 12px rgba(0, 245, 160, 0.6);
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.watch-commerce-actions {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: min(92%, 860px);
}

.watch-billing-card {
  width: 100%;
}

.watch-market-tip-shell {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  justify-content: center;
}

.watch-karaoke-line {
  position: absolute;
  left: 50%;
  bottom: 94px;
  transform: translateX(-50%) scale(var(--watch-karaoke-scale, 1));
  transform-origin: center bottom;
  z-index: 3;
  width: min(82%, 880px);
  text-align: center;
  display: grid;
  gap: 6px;
  pointer-events: none;
}

.watch-karaoke-prev,
.watch-karaoke-next {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(223, 255, 242, 0.48);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

.watch-karaoke-current {
  font-family: "Syne", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: rgba(235, 255, 246, 0.96);
  text-shadow: 0 0 16px rgba(11, 247, 255, 0.22), 0 0 26px rgba(0, 245, 160, 0.18);
  font-weight: 700;
}

.watch-karaoke-current.is-active {
  color: rgba(255, 245, 168, 0.98);
  text-shadow: 0 0 18px rgba(255, 226, 122, 0.4), 0 0 24px rgba(0, 245, 160, 0.18);
}

.watch-engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.watch-engine-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.38);
}

.watch-engine-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.watch-engine-progress {
  margin-top: 10px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.1);
  overflow: hidden;
}

.watch-engine-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.watch-engine-detail {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(223, 255, 242, 0.74);
}

.watch-seed-copy {
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(232, 253, 244, 0.72);
  white-space: pre-line;
}

.watch-audio-preview {
  width: 100%;
  margin-top: 14px;
  display: block;
  accent-color: var(--green);
  filter: drop-shadow(0 0 14px rgba(0, 245, 160, 0.16));
}

.watch-music-stage {
  --watch-music-accent-1: #00f5a0;
  --watch-music-accent-2: #0bf7ff;
  --watch-music-accent-3: #8fffe0;
  --watch-music-shadow: rgba(0, 245, 160, 0.24);
  --watch-music-secondary-shadow: rgba(11, 247, 255, 0.18);
  --watch-music-shadow-live: var(--watch-music-shadow);
  --watch-music-secondary-shadow-live: var(--watch-music-secondary-shadow);
  --watch-aura-scale: 1;
  --watch-aura-opacity: 0.86;
  --watch-ring-glow: 0.22;
  --watch-progress-glow: 0.4;
  --watch-disc-lift: 0px;
  --watch-flash-ring-scale: 0.94;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  margin-bottom: 10px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 9, 7, 0.24), rgba(1, 5, 4, 0.74)),
    var(--watch-music-bg, radial-gradient(circle at center, rgba(0, 245, 160, 0.12), rgba(0, 0, 0, 0.82) 65%));
}

.watch-music-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--watch-music-art-image);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: blur(20px) saturate(1.06);
  transform: scale(1.08);
}

.watch-music-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(276px * var(--watch-flash-ring-scale));
  height: calc(276px * var(--watch-flash-ring-scale));
  transform: translate(-50%, -50%) scale(calc(0.998 + var(--watch-ring-glow) * 0.012));
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 78%, color-mix(in srgb, var(--watch-music-accent-1) 34%, transparent) 88%, transparent 100%),
    radial-gradient(circle at center, transparent 0 72%, color-mix(in srgb, var(--watch-music-accent-2) 16%, transparent) 90%, transparent 100%);
  mix-blend-mode: screen;
  opacity: calc(0.05 + var(--watch-ring-glow) * 0.12);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
}

.watch-music-aura {
  position: absolute;
  width: calc(276px * var(--watch-flash-ring-scale));
  height: calc(276px * var(--watch-flash-ring-scale));
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 74%, color-mix(in srgb, var(--watch-music-accent-1) 24%, transparent) 86%, transparent 100%);
  filter: blur(4px);
  opacity: calc(var(--watch-aura-opacity) * 0.28);
  transform: scale(calc(0.998 + (var(--watch-aura-scale) - 1) * 0.08));
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  z-index: 0;
}

.watch-music-stage.is-playing .watch-music-aura {
  opacity: calc(var(--watch-aura-opacity) * 0.34);
  transform: scale(calc(0.999 + (var(--watch-aura-scale) - 1) * 0.1));
  filter: blur(5px);
}

.watch-music-ring {
  --watch-progress: 0deg;
  position: relative;
  width: 292px;
  height: 292px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(from -90deg, color-mix(in srgb, var(--watch-music-accent-1) 92%, white) 0deg, color-mix(in srgb, var(--watch-music-accent-2) 86%, white) var(--watch-progress), rgba(255, 255, 255, 0.06) var(--watch-progress), rgba(255, 255, 255, 0.06) 360deg);
  box-shadow:
    0 0 10px var(--watch-music-shadow-live),
    0 0 18px var(--watch-music-secondary-shadow-live);
  z-index: 1;
}

.watch-music-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(2, 8, 7, 0.86);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.44);
}

.watch-music-disc {
  position: relative;
  width: 244px;
  height: 244px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 22px, transparent 24px),
    repeating-radial-gradient(circle at center, rgba(255,255,255,0.06) 0 2px, rgba(255,255,255,0.01) 2px 7px, rgba(0,0,0,0.45) 7px 11px),
    #0b0f0f;
  box-shadow: inset 0 0 36px rgba(0,0,0,0.55), 0 0 24px var(--watch-music-shadow-live);
  animation: none;
  transform: translateY(calc(var(--watch-disc-lift) * -1));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 2;
}

.watch-music-art {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background-image: var(--watch-music-art-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) brightness(1.02);
}

.watch-music-hole {
  position: absolute;
  inset: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #0a1210 0 40%, #03110b 60%, rgba(255,255,255,0.12) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 3;
}

.watch-music-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--watch-music-accent-1) 42%, transparent);
  background: rgba(2, 12, 9, 0.42);
  color: #eafff6;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 24px var(--watch-music-shadow-live);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.watch-music-play:hover {
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 0 32px var(--watch-music-shadow-live), 0 0 60px var(--watch-music-secondary-shadow-live);
}

.watch-music-stage.is-playing .watch-music-play {
  background: rgba(2, 12, 9, 0.28);
  box-shadow:
    0 0 32px var(--watch-music-shadow-live),
    0 0 82px var(--watch-music-secondary-shadow-live);
}

.watch-music-play span {
  font-size: 34px;
  line-height: 1;
  margin-left: 4px;
  text-shadow: 0 0 16px color-mix(in srgb, var(--watch-music-accent-1) 55%, transparent);
}

@keyframes watchDiscSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.watch-info-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.28);
}

.watch-mic-capture-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.watch-audio-debug {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 247, 255, 0.18);
  background: rgba(4, 10, 12, 0.44);
}

.watch-audio-debug-line {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(225, 255, 245, 0.88);
  word-break: break-all;
}

.watch-mic-capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch-info-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.watch-editor {
  min-height: 260px;
  width: 100%;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(0, 0, 0, 0.38);
  color: var(--text);
  font: inherit;
}

.watch-editor-short {
  min-height: 120px;
}

.watch-meta-copy {
  min-height: 84px;
  color: rgba(232, 253, 244, 0.84);
  line-height: 1.6;
  white-space: pre-line;
}

.watch-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.watch-activity {
  display: grid;
  gap: 10px;
}

.watch-activity.compact {
  gap: 8px;
}

.watch-activity-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.watch-activity-title {
  font-size: 13px;
  color: var(--text);
}

.watch-activity-meta {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.watch-activity-empty {
  min-height: 64px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed rgba(0, 245, 160, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.watch-metric {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.work-billing-card,
.watch-billing-card {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.work-billing-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.work-billing-stat {
  display: grid;
  gap: 4px;
}

.work-billing-stat span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-billing-stat strong {
  font-size: 15px;
  color: #f1fff8;
}

.watch-metric-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.watch-metric-value {
  margin-top: 6px;
  font-size: 22px;
  font-family: "Syne", sans-serif;
}

.settings-body label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.settings-body input,
.settings-body textarea,
.settings-body select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.settings-body input[type="color"] {
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background: transparent;
}

.settings-body .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cta {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(120deg, var(--green), var(--blue));
  font-family: "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #00160d;
  cursor: pointer;
}

.cta.ghost {
  margin-bottom: 12px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--text);
}

.panel-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
}

.resize-handle {
  position: absolute;
  width: 32px;
  height: 32px;
  right: 6px;
  bottom: 6px;
  border-right: 2px solid rgba(0, 245, 160, 0.65);
  border-bottom: 2px solid rgba(0, 245, 160, 0.65);
  border-radius: 0 0 10px 0;
  background: radial-gradient(circle at bottom right, rgba(0, 245, 160, 0.18), transparent 65%);
  z-index: 2;
  cursor: se-resize;
  touch-action: none;
}

.resize-handle::after {
  content: "";
  position: absolute;
  inset: -10px;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  z-index: 10020;
  pointer-events: auto;
  --dock-scale: 1;
  transform-origin: center bottom;
}

.dock::-webkit-scrollbar {
  height: 0;
}

.dock {
  scrollbar-width: none;
}

.dock.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px) scale(var(--dock-scale));
  pointer-events: none;
}

.dock:not(.hidden) {
  transform: translateX(-50%) scale(var(--dock-scale));
}

.dock[data-dock-position="left"] {
  left: 24px;
  right: auto;
  top: 50%;
  bottom: auto;
  max-width: none;
  max-height: calc(100vh - 48px);
  flex-direction: column;
  transform: translateY(-50%) scale(var(--dock-scale));
  border-radius: 28px;
}

.dock[data-dock-position="right"] {
  left: auto;
  right: 24px;
  top: 50%;
  bottom: auto;
  max-width: none;
  max-height: calc(100vh - 48px);
  flex-direction: column;
  transform: translateY(-50%) scale(var(--dock-scale));
  border-radius: 28px;
}

.dock[data-dock-position="top"] {
  top: 24px;
  bottom: auto;
  transform: translateX(-50%) scale(var(--dock-scale));
}

.dock.is-snapping {
  box-shadow: 0 0 0 1px rgba(11, 247, 255, 0.22), 0 0 28px rgba(0, 245, 160, 0.28);
  border-color: rgba(11, 247, 255, 0.5);
}

.dock-item {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  -webkit-user-drag: element;
  pointer-events: auto;
}

.dock-item.is-dragging {
  opacity: 0.6;
  transform: scale(0.94);
  cursor: grabbing;
}

.dock-icon {
  cursor: pointer;
  pointer-events: none;
}

#logo-panel,
#logo-panel .panel-body,
#logo-panel .logo-body {
  pointer-events: none;
}

#logo-panel .panel-bar,
#logo-panel .panel-bar *,
#logo-panel .panel-actions,
#logo-panel .panel-actions *,
#logo-panel .mirror-stage,
#logo-panel .mirror-stage *,
#logo-panel button,
#logo-panel input,
#logo-panel textarea,
#logo-panel select,
#logo-panel a {
  pointer-events: none;
}

#logo-panel.panel-front .panel-bar,
#logo-panel.panel-front .panel-bar *,
#logo-panel.panel-front .panel-actions,
#logo-panel.panel-front .panel-actions *,
#logo-panel.panel-front .mirror-stage,
#logo-panel.panel-front .mirror-stage *,
#logo-panel.panel-front button,
#logo-panel.panel-front input,
#logo-panel.panel-front textarea,
#logo-panel.panel-front select,
#logo-panel.panel-front a,
#logo-panel.panel-active .panel-bar,
#logo-panel.panel-active .panel-bar *,
#logo-panel.panel-active .panel-actions,
#logo-panel.panel-active .panel-actions *,
#logo-panel.panel-active .mirror-stage,
#logo-panel.panel-active .mirror-stage *,
#logo-panel.panel-active button,
#logo-panel.panel-active input,
#logo-panel.panel-active textarea,
#logo-panel.panel-active select,
#logo-panel.panel-active a {
  pointer-events: auto;
}

.dock-item:hover,
.dock-icon:hover {
  cursor: pointer;
}

[data-drag-handle="true"] {
  cursor: grab;
}
.dock-item.is-hidden {
  display: none;
}

.dock-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(0, 245, 160, 0.12);
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 24px;
}

.dock-item[data-action="mic"] .dock-icon {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.dock-item[data-action="mic"] {
  gap: 0;
  width: 64px;
  min-width: 64px;
}

.dock-icon-media {
  width: 41px;
  height: 41px;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.dock-icon-media img,
.dock-icon-media video,
.dock-icon-media canvas,
.dock-icon-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dock-mic-icon {
  position: relative;
  width: 64px;
  height: 64px;
  transform: translateY(-8px);
  overflow: visible;
}

.dock-mic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}

.dock-mic-a {
  filter:
    brightness(2.1)
    saturate(0)
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.38))
    drop-shadow(0 0 10px rgba(214, 255, 248, 0.22));
  animation: dockMicPulseA 4.2s ease-in-out infinite;
}

.dock-mic-b {
  filter:
    brightness(1.05)
    saturate(1.08)
    drop-shadow(0 0 8px rgba(0, 245, 160, 0.28))
    drop-shadow(0 0 14px rgba(57, 176, 255, 0.22));
  animation: dockMicPulseB 4.2s ease-in-out infinite;
}

@keyframes dockMicPulseA {
  0%, 100% { opacity: 0.85; transform: scale(1.02); }
  50% { opacity: 0.38; transform: scale(0.96); }
}

@keyframes dockMicPulseB {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 0.78; transform: scale(1.03); }
}

@keyframes mirrorCoreHue {
  0% { filter: saturate(1.4) brightness(1.1) hue-rotate(0deg); }
  50% { filter: saturate(1.6) brightness(1.2) hue-rotate(160deg); }
  100% { filter: saturate(1.4) brightness(1.1) hue-rotate(320deg); }
}

@keyframes mirrorCorePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 0.95; transform: scale(1.02); }
}

.dock-item.active .dock-icon {
  background: rgba(0, 245, 160, 0.28);
  box-shadow: 0 0 14px rgba(0, 245, 160, 0.5);
}

.dock-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(6px);
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.dock.dock-labels-hidden .dock-label {
  display: none;
}

.advanced-panel-settings {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.advanced-panel-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.advanced-panel-settings[hidden] {
  display: none;
}

.advanced-panel-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  border-radius: 18px;
  background: rgba(4, 12, 10, 0.48);
}

.advanced-panel-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.advanced-panel-card[data-advanced-panel="membership"] {
  grid-column: 1 / -1;
  width: 100%;
}

.advanced-panel-card[data-advanced-panel="permission-overview"] {
  grid-column: 1 / -1;
  width: 100%;
}

.advanced-panel-card label {
  display: grid;
  gap: 6px;
}

.advanced-panel-card label span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.advanced-panel-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.advanced-panel-note {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(223, 255, 242, 0.68);
}

.panel-setting-readout {
  display: inline-flex;
  margin-top: 6px;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(226, 255, 240, 0.82);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.panel-settings-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.membership-matrix {
  display: grid;
  gap: 8px;
  margin: 6px 0 12px;
}

.membership-matrix-header,
.membership-matrix-row {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(116px, 1.1fr) minmax(86px, 0.8fr) minmax(150px, 1.5fr) minmax(130px, 1.2fr) minmax(140px, 1.2fr);
  gap: 10px;
  align-items: start;
}

.membership-matrix-header {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 255, 242, 0.54);
}

.membership-matrix-row {
  border: 1px solid rgba(0, 245, 160, 0.14);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 255, 250, 0.9);
}

@media (max-width: 1080px) {
  .membership-matrix-header,
  .membership-matrix-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.permission-overview-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.permission-overview-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 8px;
}

.permission-overview-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 10px;
  color: rgba(223, 255, 242, 0.74);
  font-size: 12px;
}

.permission-overview-header,
.permission-overview-row {
  display: grid;
  grid-template-columns: minmax(84px, 0.9fr) minmax(190px, 1.7fr) minmax(96px, 0.9fr) repeat(8, minmax(90px, 1fr));
  gap: 8px;
  min-width: 1280px;
  align-items: start;
}

.permission-overview-header {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 255, 242, 0.54);
}

.permission-overview-row {
  border: 1px solid rgba(0, 245, 160, 0.12);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(245, 255, 250, 0.88);
}

.permission-threshold-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 245, 160, 0.08);
  color: rgba(233, 255, 245, 0.92);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mic-debug-board {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.mic-debug-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(224, 248, 238, 0.92);
}

.mic-debug-timeline {
  position: relative;
  display: flex;
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mic-debug-segment {
  height: 100%;
}

.mic-debug-segment.is-pre {
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.58), rgba(0, 245, 160, 0.22));
}

.mic-debug-segment.is-post {
  background: linear-gradient(90deg, rgba(37, 212, 255, 0.22), rgba(37, 212, 255, 0.58));
}

.mic-debug-hit {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 245, 194, 0.96);
  box-shadow: 0 0 12px rgba(255, 245, 194, 0.68);
  transform: translateX(-50%);
}

.mic-debug-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(209, 243, 230, 0.72);
}

.mic-debug-transcript,
.mic-debug-title-result {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(228, 250, 240, 0.8);
}

.dock-dock-preview {
  position: fixed;
  border: 2px dashed rgba(0, 245, 160, 0.56);
  border-radius: 28px;
  background: rgba(0, 245, 160, 0.06);
  box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.08), 0 0 26px rgba(0, 245, 160, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.18s ease, border-color 0.18s ease;
  z-index: 9999;
}

.dock-settings-popover {
  position: fixed;
  z-index: 10000;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: linear-gradient(180deg, rgba(4, 16, 12, 0.96), rgba(2, 7, 5, 0.94));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.dock-settings-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dock-settings-popover[hidden] {
  display: none !important;
}

.dock-settings-popover:not(.is-visible) {
  display: none;
  pointer-events: none;
}

.mic-capture-status[hidden] {
  display: none !important;
}

.dock-settings-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 249, 239, 0.84);
}

.dock-settings-popover label {
  display: grid;
  gap: 6px;
}

.dock-settings-popover label span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(217, 246, 235, 0.64);
}

.dock-settings-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dock-dock-preview.is-visible {
  opacity: 1;
  animation: dockPreviewPulse 1.2s ease-in-out infinite;
}

.dock-dock-preview[data-position="left"],
.dock-dock-preview[data-position="right"] {
  border-radius: 32px;
}

#about-panel[data-content-density="compact"] .about-content {
  gap: 12px;
}

#about-panel[data-content-density="compact"] .about-section {
  padding: 12px 14px;
  margin-bottom: 10px;
}

#api-panel[data-billing-mode="compact"] .billing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#api-panel[data-billing-mode="compact"] .billing-card {
  padding: 12px;
}

#login-panel[data-panel-density="compact"] .login-grid,
#profile-panel[data-panel-density="compact"] .profile-grid,
#works-panel[data-focus-section="comments"] .works-grid .works-section:first-child,
#works-panel[data-focus-section="monetization"] .works-grid .works-section:last-child,
#works-panel[data-focus-section="works"] .works-section:first-of-type,
#seller-panel[data-focus-lane="orders"] #seller-orders-list,
#seller-panel[data-focus-lane="income"] #seller-ledger-list,
#cssmv-panel[data-default-section="digest"] #mv-digest-pulse,
#cssmv-panel[data-default-section="governance"] #mv-governance-pulse,
#cssmv-panel[data-default-section="timeline"] #mv-timeline-list,
#language-panel[data-default-mode="settings"] .language-settings {
  outline: 1px dashed rgba(0, 245, 160, 0.45);
  outline-offset: 4px;
  border-radius: 18px;
}

#login-panel[data-panel-density="compact"] .login-body,
#profile-panel[data-panel-density="compact"] .profile-grid {
  gap: 10px;
}

#language-panel[data-show-more="true"] #language-list-more {
  display: grid !important;
}

#delivery-reports-panel[data-report-density="compact"] .report-card,
#delivery-reports-panel[data-report-density="compact"] .report-export-shell,
#delivery-ops-panel[data-alert-density="compact"] .report-card {
  padding: 12px;
}

#delivery-reports-panel[data-focus-section="dashboard"] .report-export-shell:first-of-type,
#delivery-reports-panel[data-focus-section="export"] .report-export-shell:nth-of-type(2),
#delivery-reports-panel[data-focus-section="history"] #delivery-export-history,
#delivery-ops-panel[data-focus-lane="overview"] #delivery-ops-console-overview .report-card:first-child,
#delivery-ops-panel[data-focus-lane="subscriptions"] #delivery-ops-subscriptions,
#delivery-ops-panel[data-focus-lane="logs"] #delivery-ops-logs,
#delivery-ops-panel[data-focus-lane="recovery"] #delivery-ops-recovery-summary,
#delivery-ops-panel[data-focus-lane="actions"] #delivery-ops-console-actions {
  outline: 1px dashed rgba(0, 245, 160, 0.45);
  outline-offset: 4px;
  border-radius: 18px;
}

.dock-dock-preview[data-position="top"],
.dock-dock-preview[data-position="bottom"] {
  border-radius: 999px;
}

@keyframes dockPreviewPulse {
  0% {
    box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.08), 0 0 18px rgba(0, 245, 160, 0.1);
    border-color: rgba(0, 245, 160, 0.48);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.14), 0 0 30px rgba(11, 247, 255, 0.18);
    border-color: rgba(11, 247, 255, 0.62);
  }
  100% {
    box-shadow: inset 0 0 0 1px rgba(11, 247, 255, 0.08), 0 0 18px rgba(0, 245, 160, 0.1);
    border-color: rgba(0, 245, 160, 0.48);
  }
}

.dock-item:hover .dock-label,
.dock-item:focus-within .dock-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .dock-label {
    display: none !important;
  }
}

.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.25);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(6vw, -4vw, 0) scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes flowShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes panelReveal {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(140%);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.85;
  }
}

@keyframes mirrorBreath {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.12);
  }
}

@keyframes mirrorSpellcastBreath {
  0%,
  100% {
    transform: scale(1.01);
    filter: brightness(1.02);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.18);
  }
}

@keyframes mirrorSpellcastBreathRapid {
  0%,
  100% {
    transform: scale(1.012);
    filter: brightness(1.04);
  }
  50% {
    transform: scale(1.095);
    filter: brightness(1.26);
  }
}

@keyframes mirrorSpellcastHalo {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes mirrorSpellcastImageBreath {
  0%,
  100% {
    transform: scale(1.01);
    filter: brightness(1.06) saturate(1);
  }
  50% {
    transform: scale(1.075);
    filter: brightness(1.22) saturate(1.18);
  }
}

@keyframes mirrorSpellcastSwapA {
  0%,
  42% {
    opacity: 1;
  }
  43%,
  100% {
    opacity: 0;
  }
}

@keyframes mirrorSpellcastSwapB {
  0%,
  42% {
    opacity: 0;
  }
  43%,
  100% {
    opacity: 1;
  }
}

@keyframes mirrorSpellcastPrismPulse {
  0%,
  100% {
    transform: scale(1.015) rotate(0deg);
    filter: brightness(1.05) saturate(1.05);
  }
  50% {
    transform: scale(1.082) rotate(0.5deg);
    filter: brightness(1.24) saturate(1.18);
  }
}

@keyframes mirrorPrismShell {
  0%,
  100% {
    opacity: 0.64;
    transform: scale(0.98) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(6deg);
  }
}

@keyframes mirrorPrismAura {
  0%,
  100% {
    opacity: 0.56;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.08);
  }
}

@keyframes mirrorOraclePulse {
  0%,
  100% {
    transform: scale(1.015);
    filter: brightness(1.06) saturate(1.08);
  }
  50% {
    transform: scale(1.09);
    filter: brightness(1.28) saturate(1.26);
  }
}

@keyframes mirrorOracleSigil {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.96) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(18deg);
  }
}

@keyframes mirrorOracleWheel {
  from {
    opacity: 0.34;
    transform: rotate(0deg) scale(0.94);
  }
  50% {
    opacity: 0.92;
    transform: rotate(180deg) scale(1.04);
  }
  to {
    opacity: 0.34;
    transform: rotate(360deg) scale(0.94);
  }
}

@keyframes mirrorOracleImageA {
  0%,
  44%,
  100% {
    opacity: 1;
    transform: scale(1.01);
  }
  56% {
    opacity: 0.22;
    transform: scale(1.06);
  }
}

@keyframes mirrorOracleImageB {
  0%,
  44%,
  100% {
    opacity: 0.18;
    transform: scale(0.99);
  }
  56% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes settingsSpellcastBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-3px) scale(1.012);
    filter: brightness(1.08);
  }
}

@keyframes mirrorFadeA {
  0%,
  30% {
    opacity: 1;
  }
  50%,
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes mirrorFadeB {
  0%,
  30% {
    opacity: 0;
  }
  50%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mirrorHaloPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes watercolorDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.03);
    filter: blur(20px) saturate(138%);
    opacity: 0.82;
  }
  50% {
    transform: translate3d(-4%, 3%, 0) scale(1.09);
    filter: blur(24px) saturate(144%);
    opacity: 0.88;
  }
}

@keyframes watercolorDriftAlt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.04);
    filter: blur(22px) saturate(104%);
    opacity: 0.84;
  }
  50% {
    transform: translate3d(4%, -3%, 0) scale(1.1);
    filter: blur(26px) saturate(112%);
    opacity: 0.9;
  }
}

.drag-trail {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  animation: trailFade var(--trail-life, 0.9s) ease-out forwards;
  z-index: 6;
  --trail-rot: 0deg;
  --trail-size: 16px;
}

.drag-trail.star {
  width: var(--trail-size);
  height: var(--trail-size);
  border-radius: 50%;
  background: radial-gradient(circle, var(--trail-haze, rgba(0, 245, 160, 0.35)), transparent 65%);
  mix-blend-mode: screen;
  box-shadow: 0 0 18px var(--trail-haze, rgba(0, 245, 160, 0.45)),
    0 0 32px var(--trail-haze-2, rgba(11, 247, 255, 0.35));
  filter: blur(0.2px);
  overflow: visible;
  transform: translate(-50%, -50%) rotate(var(--trail-rot));
}

.drag-trail.nebula {
  width: var(--trail-nebula-size);
  height: var(--trail-nebula-size);
  background: radial-gradient(circle, var(--trail-haze, rgba(0, 245, 160, 0.3)), transparent 70%);
  filter: blur(2px);
  opacity: 0.8;
  animation: nebulaFade var(--trail-life, 1.2s) ease-out forwards;
}

.drag-trail.star::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--trail-color, var(--green)), var(--trail-color-2, var(--blue)));
  clip-path: polygon(
    50% 0%,
    62% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    38% 35%
  );
  box-shadow: 0 0 12px var(--trail-glow, rgba(0, 245, 160, 0.7));
  animation: twinkle 0.6s ease-in-out infinite;
}

.drag-trail.star::after {
  content: "";
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--trail-haze-2, rgba(11, 247, 255, 0.25)), transparent 70%);
  opacity: 0.7;
  filter: blur(6px);
}

.drag-trail.star.ambient {
  opacity: 0.55;
  filter: blur(0.4px);
}

.drag-trail.star.ambient::before {
  animation-duration: 1.2s;
}

@keyframes trailFade {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) rotate(var(--trail-rot)) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--trail-rot)) scale(1.4);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes nebulaFade {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.7);
  }
  70% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}

@media (max-width: 900px) {
  .panel {
    width: min(90vw, 720px);
  }

  .logo-panel {
    width: min(90vw, 680px);
  }

  .mirror {
    width: min(600px, 80vw);
    height: min(600px, 80vw);
  }

  .dock {
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .dock-item {
    width: 40px;
  }
}

@media (max-width: 600px) {
  .stage {
    overflow: hidden;
  }

  .logo-panel {
    width: 93%;
    transform: none;
    left: auto;
    top: auto;
  }

  .mirror {
    width: min(600px, 86vw);
    height: min(600px, 86vw);
  }
}

/* ===== Dock + Panel mobile fixes ===== */
.dock {
  gap: 10px !important;
  padding: 10px 14px !important;
}

.dock-item {
  margin: 0 !important;
}

.dock-label,
.dock .label,
.dock .dock-text {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .dock-item {
    position: relative;
  }

  .dock-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 245, 160, 0.25);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
  }

  .dock-item:hover::after,
  .dock-item:focus-within::after {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .panel {
    min-height: 240px !important;
    max-height: calc(100vh - 140px) !important;
  }

  #logo-panel {
    width: calc(100vw - 24px) !important;
    max-width: 560px !important;
    min-height: 360px !important;
  }
}

#version-toggle,
.version-toggle,
.top-left-menu {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#version-toggle:hover,
.version-toggle:hover {
  background: transparent !important;
}

/* ===== About / API panels ===== */
.about-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 52px;
}

.about-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.about-tab.active {
  background: rgba(0, 245, 160, 0.22);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.45);
}

.about-tab-content {
  display: none;
  gap: 16px;
}

.about-tab-content.active {
  display: grid;
}

.about-section h3 {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about-section p {
  color: var(--muted);
  line-height: 1.6;
}

.about-contact {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.about-social {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.api-section {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.api-endpoint {
  font-family: "Space Grotesk", monospace;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(0, 0, 0, 0.5);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.api-code {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.api-code-title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.api-code pre {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.6;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.billing-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 8px;
}

.billing-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.billing-value {
  font-size: 22px;
  font-family: "Space Grotesk", sans-serif;
}

.billing-select,
.billing-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.billing-history {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.billing-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.api-guest-notice {
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.08);
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(225, 255, 245, 0.95);
  display: grid;
  gap: 6px;
}

.api-cinema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.api-cinema-grid label,
.api-cinema-brief {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(225, 255, 245, 0.92);
}

.api-cinema-grid input,
.api-cinema-brief textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(9, 16, 18, 0.78);
  color: #f1fff8;
  padding: 10px 12px;
}

.api-cinema-note {
  align-self: end;
  font-size: 11px;
  line-height: 1.5;
}

.api-cinema-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.api-cinema-status {
  flex: 1 1 260px;
  font-size: 12px;
  line-height: 1.5;
}

.api-cinema-booking-brief-preview {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 245, 160, 0.14);
  display: grid;
  gap: 6px;
}

.api-cinema-booking-brief-preview[role="button"] {
  cursor: pointer;
}

.api-cinema-booking-brief-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210, 246, 235, 0.62);
}

.api-cinema-booking-brief-copy {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(232, 255, 246, 0.9);
}

.api-cinema-booking-brief-hint {
  font-size: 11px;
  color: rgba(0, 245, 160, 0.76);
}

@keyframes mirrorMicRecordingPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.44;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.92;
  }
}

@media (max-width: 640px) {
  .panel {
    min-height: 240px;
  }

  .panel-body {
    min-height: 180px;
    max-height: calc(100vh - 220px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.panel.center-stage {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(96vw, 1200px) !important;
  height: min(82vh, 760px) !important;
  z-index: 50;
}

.logo-panel.dimmed {
  opacity: 0.2;
  filter: saturate(0.8) blur(1px);
}

/* CSSOS_LOGO_MIRROR_COVER_BEGIN */
.mirror {
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 99.2%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 99.2%, transparent 100%);
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
  isolation: isolate;
  contain: paint;
}

.mirror-img,
.mirror-video {
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 99.2%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 99.2%, transparent 100%);
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
}
/* CSSOS_LOGO_MIRROR_COVER_END */

/* CSSOS_MV_OVERLAY_BEGIN */
.mv-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 5, 0.88);
  z-index: 99999;
  pointer-events: none;
}

.mv-overlay.show {
  display: flex;
  pointer-events: auto;
}

.mv-overlay:not(.show) {
  display: none;
  pointer-events: none;
}

.mv-overlay-inner {
  position: relative;
  width: min(96vw, 1200px);
  height: min(82vh, 760px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.mv-overlay-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mv-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  color: #eafff6;
  border: 1px solid rgba(0, 245, 160, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
/* CSSOS_MV_OVERLAY_END */

/* CSSOS_MOBILE_LOGO_FIRST_SCREEN_BEGIN */
@media (max-width: 768px) {
  html,
  body {
    height: 100%;
  }

  .stage {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
  }

  #logo-panel {
    margin: 0 !important;
  }
}
/* CSSOS_MOBILE_LOGO_FIRST_SCREEN_END */
