.code-output {
  display: grid;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  color: #dff7ff;
  background: rgba(0, 0, 0, 0.34);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.section,
.hero,
.live-top {
  scroll-margin-top: 190px;
}

.asset-card.gold-frame,
.macro-country.gold-frame,
.macro-summary.gold-frame {
  border-color: rgba(212, 175, 55, 0.82) !important;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(14, 17, 22, 0.96);
}

.macro-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#macroKpiGrid > span {
  display: grid !important;
  gap: 0.15rem;
  min-width: 0;
}

#macroKpiGrid > span b,
#macroKpiGrid > span small {
  display: block;
}

#macroKpiGrid > span b {
  color: var(--gold-2);
  font-size: 1.35rem;
  line-height: 1.1;
}

#macroKpiGrid > span small {
  margin-top: 0.22rem;
  color: var(--muted);
}

.payment-address {
  padding: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.08);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.download-tabs {
  margin-top: 0.5rem;
}

.download-tab {
  min-width: 138px;
}

.download-panel {
  animation: panel-in 180ms ease-out;
}

#manifestStatus {
  margin: 0.85rem 0 0;
  color: var(--gold-2);
}

.library-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.7fr) auto minmax(220px, 1fr);
  gap: 0.75rem;
  align-items: end;
  margin: 0.85rem 0 0;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.library-controls .compact-text {
  margin: 0 0 0.35rem;
}

.settings-toggle {
  white-space: nowrap;
}

.control-bar[hidden] {
  display: none !important;
}

.settings-open .site-header {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.control-bar {
  padding: 0.75rem 0 0.9rem !important;
}

.server-admin-card {
  border-color: rgba(113, 215, 255, 0.36);
}

.danger-action {
  border-color: rgba(255, 91, 91, 0.5) !important;
  color: #ffb1a8 !important;
}

.danger-action:hover {
  border-color: rgba(255, 91, 91, 0.82) !important;
  background: rgba(255, 91, 91, 0.08) !important;
}

.admin-delete-root-file {
  justify-self: start;
}

.download-card.gold-frame {
  border-color: rgba(212, 175, 55, 0.82) !important;
}

.spatial-hero {
  background:
    radial-gradient(circle at 72% 48%, rgba(113, 215, 255, 0.18), transparent 28%),
    radial-gradient(circle at 24% 18%, rgba(212, 175, 55, 0.12), transparent 24%),
    linear-gradient(180deg, #05070a 0%, #0b1018 44%, #05070a 100%);
}

body[data-avatar-scene="boardroom"] .spatial-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(244, 210, 122, 0.2), transparent 28%),
    linear-gradient(115deg, rgba(12, 16, 22, 0.55) 0 40%, rgba(54, 45, 24, 0.36) 40% 64%, rgba(4, 7, 12, 0.92) 64%),
    linear-gradient(180deg, #07080a 0%, #11141a 52%, #05070a 100%);
}

body[data-avatar-scene="quantum-lab"] .spatial-hero {
  background:
    radial-gradient(circle at 68% 42%, rgba(113, 215, 255, 0.26), transparent 32%),
    radial-gradient(circle at 24% 22%, rgba(214, 245, 255, 0.1), transparent 20%),
    linear-gradient(180deg, #03080d 0%, #081622 48%, #04070a 100%);
}

body[data-avatar-scene="dyson"] .spatial-hero {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 226, 133, 0.28), transparent 18%),
    conic-gradient(from 112deg at 72% 38%, rgba(244, 210, 122, 0.16), transparent 16%, rgba(113, 215, 255, 0.12), transparent 44%),
    radial-gradient(circle at 20% 76%, rgba(113, 215, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #05070a 0%, #111216 52%, #040507 100%);
}

body[data-avatar-scene="earth"] .spatial-hero,
body[data-avatar-scene="zug"] .spatial-hero {
  background:
    radial-gradient(circle at 76% 46%, rgba(212, 175, 55, 0.18), transparent 28%),
    radial-gradient(circle at 28% 18%, rgba(113, 215, 255, 0.16), transparent 22%),
    linear-gradient(145deg, rgba(13, 21, 28, 0.95), rgba(18, 18, 16, 0.96) 58%, rgba(5, 7, 10, 1));
}

body[data-avatar-scene="alien"] .spatial-hero {
  background:
    radial-gradient(circle at 70% 38%, rgba(255, 77, 77, 0.16), transparent 28%),
    linear-gradient(180deg, #090305 0%, #10080b 52%, #05070a 100%);
}

.spatial-hero::before,
.spatial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spatial-hero::before {
  background:
    linear-gradient(100deg, transparent 0 18%, rgba(212, 175, 55, 0.12) 18.3% 18.6%, transparent 19% 82%, rgba(113, 215, 255, 0.09) 82.2% 82.5%, transparent 83%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 118px);
  opacity: 0.72;
  animation: room-lightflow 14s linear infinite;
}

.spatial-hero::after {
  inset: auto 0 0;
  height: 46%;
  background:
    linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.9)),
    repeating-linear-gradient(105deg, rgba(212, 175, 55, 0.18) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(75deg, rgba(113, 215, 255, 0.14) 0 1px, transparent 1px 64px);
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center bottom;
}

.hologram-column {
  position: absolute;
  right: max(3.5vw, 2rem);
  bottom: 1.25rem;
  width: min(34vw, 360px);
  height: min(74vh, 710px);
  border: 1px solid rgba(180, 235, 255, 0.44);
  border-radius: 50% / 7%;
  background:
    radial-gradient(ellipse at 50% 4%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(ellipse at 50% 96%, rgba(244, 210, 122, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(113, 215, 255, 0.2) 42%, rgba(244, 210, 122, 0.14) 50%, rgba(113, 215, 255, 0.18) 58%, rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(180deg, rgba(180, 235, 255, 0.2) 0 1px, transparent 1px 18px);
  box-shadow:
    inset 30px 0 38px rgba(255, 255, 255, 0.06),
    inset -32px 0 42px rgba(0, 0, 0, 0.38),
    inset 0 0 62px rgba(113, 215, 255, 0.22),
    0 0 48px rgba(113, 215, 255, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.32);
  backdrop-filter: blur(2px) saturate(1.25);
  z-index: 1;
  animation: holo-column 5.4s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hologram-column::before,
.hologram-column::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 11%;
  border: 1px solid rgba(244, 210, 122, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(244, 210, 122, 0.22);
}

.hologram-column::before {
  top: -2%;
  background: radial-gradient(ellipse at center, rgba(244, 210, 122, 0.26), transparent 62%);
}

.hologram-column::after {
  bottom: -2%;
  background: radial-gradient(ellipse at center, rgba(113, 215, 255, 0.22), transparent 64%);
}

.hero-avatar-main {
  z-index: 2;
  mix-blend-mode: screen;
}

body.is-speaking .hero-avatar-main {
  animation: avatar-speak-idle 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(113, 215, 255, 0.42)) saturate(1.12);
}

body.is-speaking .lip-sync-aura {
  opacity: 0.82;
  animation: voice-aura 920ms ease-in-out infinite;
}

.room-shell {
  position: absolute;
  inset: 9rem 0 0;
  z-index: 0;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.9;
}

.room-wall,
.room-ceiling,
.room-floor-grid {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background:
    linear-gradient(90deg, rgba(113, 215, 255, 0.05), transparent 34%, rgba(212, 175, 55, 0.05)),
    repeating-linear-gradient(90deg, rgba(113, 215, 255, 0.07) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.05) 0 1px, transparent 1px 74px);
  box-shadow: inset 0 0 42px rgba(113, 215, 255, 0.08);
}

.wall-back {
  left: 18%;
  right: 18%;
  top: 4%;
  height: 54%;
}

.wall-left {
  left: -9%;
  top: 8%;
  width: 35%;
  height: 63%;
  transform: rotateY(48deg);
  transform-origin: right center;
}

.wall-right {
  right: -8%;
  top: 8%;
  width: 36%;
  height: 63%;
  transform: rotateY(-48deg);
  transform-origin: left center;
}

.room-ceiling {
  left: 12%;
  right: 12%;
  top: -2%;
  height: 19%;
  transform: rotateX(-58deg);
  transform-origin: center top;
}

.room-floor-grid {
  left: -8%;
  right: -8%;
  bottom: -8%;
  height: 48%;
  transform: rotateX(64deg);
  transform-origin: center bottom;
  background:
    radial-gradient(circle at 78% 20%, rgba(113, 215, 255, 0.2), transparent 28%),
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.22) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(113, 215, 255, 0.18) 0 1px, transparent 1px 74px);
  animation: floor-scan 10s linear infinite;
}

.data-rack,
.quantum-core,
.server-light-row {
  position: absolute;
  pointer-events: none;
}

.data-rack {
  top: 18%;
  width: min(15vw, 190px);
  height: 50%;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.38)),
    repeating-linear-gradient(180deg, rgba(113, 215, 255, 0.18) 0 3px, transparent 3px 30px),
    repeating-linear-gradient(90deg, rgba(244, 210, 122, 0.16) 0 1px, transparent 1px 28px),
    rgba(5, 8, 12, 0.88);
  box-shadow:
    inset 0 0 34px rgba(113, 215, 255, 0.14),
    0 0 28px rgba(212, 175, 55, 0.12);
  transform-style: preserve-3d;
  animation: server-leds 2.7s steps(4, end) infinite;
}

.rack-left {
  left: 4%;
  transform: perspective(850px) rotateY(38deg);
}

.rack-right {
  right: 21%;
  transform: perspective(850px) rotateY(-28deg);
}

.quantum-core {
  left: 43%;
  top: 17%;
  width: min(16vw, 210px);
  aspect-ratio: 1;
  border: 1px solid rgba(113, 215, 255, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 4%, rgba(113, 215, 255, 0.24) 5% 16%, transparent 17%),
    conic-gradient(from 0deg, rgba(244, 210, 122, 0.28), transparent, rgba(113, 215, 255, 0.34), transparent, rgba(244, 210, 122, 0.28)),
    radial-gradient(circle, rgba(113, 215, 255, 0.16), transparent 60%);
  box-shadow:
    0 0 34px rgba(113, 215, 255, 0.36),
    inset 0 0 36px rgba(244, 210, 122, 0.18);
  animation: quantum-spin 11s linear infinite;
}

.quantum-core::before,
.quantum-core::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(244, 210, 122, 0.42);
  border-radius: 50%;
}

.quantum-core::before {
  transform: rotateX(68deg);
}

.quantum-core::after {
  transform: rotateY(68deg);
}

.server-light-row {
  left: 18%;
  right: 20%;
  top: 58%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(113, 215, 255, 0.72), rgba(244, 210, 122, 0.58), transparent);
  box-shadow: 0 0 18px rgba(113, 215, 255, 0.34);
  animation: room-sweep 4.8s linear infinite;
}

.beam-core {
  position: absolute;
  right: max(6vw, 4rem);
  bottom: 1.5rem;
  width: min(28vw, 280px);
  height: min(78vh, 720px);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.28), transparent 54%),
    linear-gradient(90deg, transparent, rgba(113, 215, 255, 0.34), rgba(244, 210, 122, 0.28), transparent),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0 2px, transparent 2px 20px);
  filter: blur(0.2px);
}

.beam-core::before,
.beam-core::after {
  content: "";
  position: absolute;
  inset: 0 12%;
  border-radius: 50% / 7%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 16px),
    radial-gradient(ellipse at center, rgba(113, 215, 255, 0.28), transparent 58%);
  mix-blend-mode: screen;
}

.beam-core::after {
  inset: 4% 22%;
  background:
    repeating-linear-gradient(180deg, rgba(244, 210, 122, 0.42) 0 1px, transparent 1px 12px),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.24), transparent 55%);
}

body.avatar-beam-active .beam-core {
  animation: avatar-beam 1.45s ease-out;
}

body.avatar-beam-active .hologram-column {
  animation: holo-column 5.4s ease-in-out infinite, beam-column-pulse 1.45s ease-out;
}

body.avatar-beam-active .hero-avatar-main {
  animation: avatar-materialize 1.45s ease-out;
}

.python-note {
  max-width: 720px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.pricing-grid span {
  display: grid;
  gap: 0.18rem;
  padding: 0.68rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.06);
}

.pricing-grid b,
.gold-premium {
  color: var(--gold-2);
}

.pricing-grid small {
  color: var(--muted);
}

.premium-offer-portal {
  margin-top: 1rem;
}

.compact-head {
  margin-bottom: 0.85rem;
}

.premium-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.premium-offer-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-height: 210px;
  padding: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.24)),
    rgba(8, 10, 13, 0.82);
}

.premium-offer-card h4 {
  margin: 0;
  color: var(--gold-2);
  font-size: 1rem;
}

.premium-offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.download-card .btn.gold {
  justify-self: start;
}

.premium-unlocked .download-card .pill.warn {
  border-color: rgba(90, 255, 185, 0.42);
  color: #b8ffe0;
}

.noblesse-hero-panel {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.noblesse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.noblesse-tab {
  min-width: 54px;
  padding: 0.38rem 0.52rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.noblesse-tab.active,
.noblesse-tab:hover {
  color: #05070a;
  border-color: rgba(244, 210, 122, 0.9);
  background: linear-gradient(135deg, #fff3a8, #d4af37 62%, #8a6a10);
}

.noblesse-chart-wrap {
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-radius: 8px;
  background: #05070a;
  box-shadow: inset 0 0 32px rgba(212, 175, 55, 0.08);
}

#noblesseChart {
  display: block;
  width: 100%;
  height: auto;
}

.noblesse-coin-tape {
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  background: #05070a;
}

.noblesse-tape-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  min-width: 100%;
  padding: 0.42rem 0.7rem;
  animation: noble-tape 42s linear infinite;
}

.noblesse-tape-item {
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 0.42rem;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.34));
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}

.coin-render {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #171006;
  font-size: 0.66rem;
  font-weight: 800;
  background: radial-gradient(circle at 35% 28%, #fff7c2, #f4d27a 30%, #b9861f 62%, #5a3b09 100%);
  box-shadow: inset -4px -4px 8px rgba(60, 38, 0, 0.45), 0 0 12px rgba(212, 175, 55, 0.2);
}

.noblesse-tape-item b {
  color: var(--gold-2);
}

.noblesse-tape-item small {
  color: var(--muted);
}

@keyframes noble-tape {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

.noblesse-chart-meta {
  display: grid;
  gap: 0.22rem;
  padding: 0.6rem;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
}

.noblesse-chart-meta strong {
  color: var(--gold-2);
}

.noblesse-chart-meta span,
.noblesse-chart-meta small {
  color: var(--muted);
}

.access-login-ribbon {
  position: sticky;
  top: 0;
  z-index: 76;
  display: grid;
  grid-template-columns: auto minmax(110px, 190px) minmax(90px, 150px) auto auto minmax(140px, 1fr);
  gap: 0.38rem;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(5, 7, 10, 0.93);
  backdrop-filter: blur(12px);
}

.access-role-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.access-role-button {
  min-height: 28px;
  padding: 0.28rem 0.44rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.7rem;
  cursor: pointer;
}

.access-role-button.active {
  color: #05070a;
  background: linear-gradient(135deg, #f4d27a, #d4af37);
}

.access-login-ribbon input {
  min-height: 30px;
  padding: 0.3rem 0.45rem;
  font-size: 0.76rem;
}

.access-login-ribbon .btn {
  min-height: 30px;
  padding: 0.32rem 0.54rem;
  font-size: 0.72rem;
}

.access-login-ribbon span {
  color: var(--muted);
  font-size: 0.72rem;
}

.status-led-rail {
  position: fixed;
  left: 0.7rem;
  top: 7.4rem;
  z-index: 75;
  display: grid;
  gap: 0.28rem;
  width: 4.2rem;
  padding: 0.38rem;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.88);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.38);
}

.status-led-row {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  opacity: 0.38;
}

.status-led-row b {
  max-width: 4.8rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.48rem;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.status-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #333;
  filter: grayscale(1);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.1);
}

.status-led.green { background: radial-gradient(circle at 35% 28%, #fff, #76ff9f 22%, #0da949 58%, #03230d); }
.status-led.yellow { background: radial-gradient(circle at 35% 28%, #fff, #ffe56e 24%, #d4af37 62%, #422f05); }
.status-led.blue { background: radial-gradient(circle at 35% 28%, #fff, #81dfff 24%, #2373ff 62%, #071b4d); }
.status-led.red { background: radial-gradient(circle at 35% 28%, #fff, #ff9082 24%, #e02e2e 62%, #4a0707); }

body.admin-unlocked [data-led="admin"],
body.access-premium [data-led="premium"],
body.access-franchise [data-led="franchise"],
body.access-user [data-led="user"] {
  opacity: 1;
}

body.admin-unlocked [data-led="admin"] .status-led,
body.access-premium [data-led="premium"] .status-led,
body.access-franchise [data-led="franchise"] .status-led,
body.access-user [data-led="user"] .status-led {
  filter: none;
  box-shadow: 0 0 18px currentColor, 0 0 36px rgba(244, 210, 122, 0.18), inset 0 0 16px rgba(255, 255, 255, 0.3);
}

body.access-premium [data-led="user"],
body.access-franchise [data-led="user"],
body.access-admin [data-led="user"] {
  opacity: 0.28;
}

.window-zoom-control {
  display: grid;
  gap: 0.2rem;
  color: var(--gold-2);
  font-size: 0.52rem;
  text-align: center;
}

.window-zoom-control input {
  min-height: auto;
  padding: 0;
}

body {
  --window-zoom: 1;
}

.section > .container,
.card,
.download-panel {
  transform-origin: top left;
}

.windowed-layout .section > .container {
  max-height: min(82vh, 880px);
  overflow: auto;
  resize: vertical;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  padding: calc(1rem * var(--window-zoom));
  background: rgba(5, 7, 10, 0.18);
}

.windowed-layout .card,
.windowed-layout .download-panel {
  position: relative;
  padding-top: 2.05rem;
  max-height: 620px;
  overflow: auto;
  resize: both;
  scrollbar-color: rgba(212, 175, 55, 0.8) rgba(255, 255, 255, 0.08);
}

.window-controls {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: -1.75rem -0.2rem 0.45rem auto;
  padding: 0.16rem;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.72));
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.window-control-button {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-2);
  font-size: 0.74rem;
  line-height: 1;
  cursor: pointer;
}

.window-control-button:hover {
  background: rgba(212, 175, 55, 0.18);
}

.movable-window.is-minimized {
  max-height: 3.2rem !important;
  min-height: 3.2rem;
  overflow: hidden;
  resize: none;
}

.movable-window.is-maximized {
  position: fixed !important;
  inset: 4.8rem 1rem 1rem 5.2rem !important;
  z-index: 220 !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
}

.movable-window.is-closed {
  display: none !important;
}

.windowed-layout .card > h3,
.windowed-layout .section-head,
.windowed-layout .compact-head {
  cursor: grab;
}

.noblesse-live-dashboard,
.noblesse-kpi-grid,
.noblesse-supply-grid,
.noblesse-exchange-grid,
.noblesse-jurisdiction-grid {
  display: grid;
  gap: 0.75rem;
}

.source-row,
.button-row,
.market-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.source-row .btn,
.button-row .btn,
.market-source-row .btn,
.noblesse-exchange-card .btn,
.portal-chip-grid .btn,
.starter-button {
  width: auto;
  min-height: 34px;
  padding: 0.42rem 0.62rem;
  font-size: 0.76rem;
  line-height: 1.1;
}

.noblesse-chart-wrap {
  padding: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.74);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.16)),
    #05070a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 16px 44px rgba(0, 0, 0, 0.26);
}

#noblesseValueChart {
  width: 100%;
  height: auto;
  min-height: 300px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 8px;
  background: #05070a;
}

.noblesse-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.noblesse-kpi-grid span {
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.07);
}

.noblesse-kpi-grid b {
  color: var(--gold-2);
  font-size: 1.05rem;
}

.noblesse-kpi-grid small,
.noblesse-supply-card small {
  color: var(--muted);
}

.noblesse-supply-grid,
.noblesse-exchange-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.noblesse-supply-card,
.noblesse-exchange-card {
  display: grid;
  gap: 0.48rem;
  padding: 0.82rem;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.noblesse-supply-card.non-additive {
  opacity: 0.78;
  border-color: rgba(255, 207, 112, 0.36);
}

.noblesse-supply-card h4,
.noblesse-exchange-card h4,
.noblesse-jurisdiction-grid h4 {
  margin: 0;
  color: var(--gold-2);
}

.noblesse-supply-card dl {
  display: grid;
  gap: 0.28rem;
  margin: 0;
}

.noblesse-supply-card dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.noblesse-supply-card dt {
  color: var(--muted);
}

.noblesse-supply-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.noblesse-admin-panel {
  display: none;
}

body.admin-unlocked .noblesse-admin-panel {
  display: block;
}

.premium-only,
.franchise-only,
.admin-only {
  display: none !important;
}

body.access-premium .premium-only,
body.access-franchise .premium-only,
body.access-franchise .franchise-only,
body.access-admin .premium-only,
body.access-admin .franchise-only,
body.access-admin .admin-only {
  display: revert !important;
}

.jurisdiction-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-height: 15rem;
  overflow: auto;
  padding: 0.25rem;
  line-height: 1.65;
  word-break: normal;
}

.jurisdiction-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: normal;
}

.jurisdiction-pill.good { color: #b8ffe0; border-color: rgba(120, 224, 154, 0.42); }
.jurisdiction-pill.warn { color: #ffdf8c; border-color: rgba(255, 207, 112, 0.45); }
.jurisdiction-pill.blocked { color: #ffb1a8; border-color: rgba(255, 139, 114, 0.45); }

.jurisdiction-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.35rem;
  max-height: 18rem;
  overflow: auto;
}

.jurisdiction-review-button {
  display: grid;
  gap: 0.1rem;
  align-content: center;
  min-height: 42px;
  padding: 0.34rem 0.46rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.72rem;
  text-align: left;
  cursor: pointer;
}

.jurisdiction-review-button small {
  color: var(--muted);
}

.space-portal-card {
  overflow: visible;
}

.space-portal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 640px) minmax(280px, 1fr);
  gap: 1rem;
  align-items: start;
}

.space-portal-frame {
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 1px solid rgba(212, 175, 55, 0.74);
  border-radius: 8px;
  overflow: hidden;
  background: #05070a;
}

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

.space-portal-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.78rem;
}

.space-portal-ring {
  position: absolute;
  inset: 12%;
  z-index: 2;
  border: 2px solid rgba(244, 210, 122, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 58%, rgba(113, 215, 255, 0.18) 62%, transparent 72%);
  box-shadow: 0 0 30px rgba(113, 215, 255, 0.28), inset 0 0 28px rgba(212, 175, 55, 0.18);
  cursor: pointer;
  animation: portal-spin 6s linear infinite;
}

.future-target {
  opacity: 0.7;
}

.future-target small {
  display: block;
  color: #ffdf8c;
  font-size: 0.58rem;
}

.exoplanet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.35rem;
  max-height: 18rem;
  overflow: auto;
}

.exoplanet-grid span {
  padding: 0.35rem;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
}

@keyframes portal-spin {
  to { transform: rotate(360deg); }
}

.book-title-link {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 44px;
  white-space: normal;
  line-height: 1.25;
  text-align: left;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.38rem;
}

.book-grid .mini-link-button {
  width: 100%;
  padding: 0.34rem 0.42rem;
  font-size: 0.72rem;
}

.book-grid .mini-link-button small {
  font-size: 0.58rem;
  opacity: 0.82;
}

#krakenAdvisor .control-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.slot-profit-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

#krakenAdvisorOutput {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
}

#krakenAdvisorOutput .robo-slot-row {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.55rem;
  min-height: 160px;
  padding: 0.72rem;
}

#krakenAdvisorOutput .robo-slot-row > div {
  min-width: 0;
}

#krakenAdvisorOutput .robo-slot-row strong,
#krakenAdvisorOutput .robo-slot-row span,
#krakenAdvisorOutput .robo-slot-result {
  white-space: normal;
}

#krakenAdvisorOutput .robo-slot-result {
  justify-content: space-between;
}

.protected-content {
  -webkit-user-select: none;
  user-select: none;
}

.protected-content p,
.protected-content small {
  -webkit-user-select: text;
  user-select: text;
}

.premium-plan-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.premium-plan-row span {
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(244, 210, 122, 0.42);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.78rem;
  background: rgba(212, 175, 55, 0.08);
}

.avatar-card em,
.mini-link-button small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-style: normal;
}

.avatar-card.unavailable {
  position: relative;
  opacity: 0.54;
  cursor: not-allowed;
  border-color: rgba(255, 91, 91, 0.65);
}

.avatar-card.unavailable::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: #ff4d4d;
  transform: rotate(-11deg);
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.55);
}

.avatar-card.unavailable strong,
.avatar-card.unavailable span,
.avatar-card.unavailable em {
  color: #ffb1a8;
}

.book-missing {
  opacity: 0.55;
  cursor: default;
  border-color: rgba(255, 91, 91, 0.38) !important;
}

.book-missing small {
  color: #ffb1a8;
}

@keyframes avatar-beam {
  0% {
    opacity: 0;
    transform: translateY(-18px) scaleX(0.72);
  }
  18% {
    opacity: 0.92;
    transform: translateY(-6px) scaleX(1);
  }
  74% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translateY(12px) scaleX(1.08);
  }
}

@keyframes avatar-materialize {
  0% {
    opacity: 0.18;
    transform: translateY(-42px) scale(0.94);
    filter: brightness(1.8) saturate(1.6) drop-shadow(0 0 32px rgba(113, 215, 255, 0.6));
  }
  55% {
    opacity: 0.92;
    transform: translateY(0) scale(1.01);
  }
  100% {
    opacity: 0.86;
    transform: translateY(0) scale(1);
  }
}

@keyframes beam-column-pulse {
  0% {
    box-shadow:
      inset 30px 0 38px rgba(255, 255, 255, 0.06),
      inset -32px 0 42px rgba(0, 0, 0, 0.38),
      0 0 20px rgba(113, 215, 255, 0.18);
  }
  35% {
    box-shadow:
      inset 0 0 78px rgba(255, 255, 255, 0.2),
      0 0 62px rgba(113, 215, 255, 0.58),
      0 0 92px rgba(244, 210, 122, 0.28);
  }
  100% {
    box-shadow:
      inset 30px 0 38px rgba(255, 255, 255, 0.06),
      inset -32px 0 42px rgba(0, 0, 0, 0.38),
      0 0 36px rgba(113, 215, 255, 0.22);
  }
}

.advisor-tabs {
  margin: 0 0 1rem;
}

.advisor-domain-tab {
  min-width: 148px;
}

.advisor-domain-panel {
  margin-bottom: 1rem;
}

.slot-profit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.slot-profit-control {
  display: grid;
  gap: 0.35rem;
  padding: 0.58rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.slot-profit-control label,
.portal-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.slot-profit-control b {
  color: var(--gold-2);
  font-size: 0.88rem;
}

.robo-slot-row.eligible {
  border-color: rgba(120, 224, 154, 0.42);
}

.robo-slot-row.blocked {
  border-color: rgba(255, 139, 114, 0.42);
  opacity: 0.78;
}

.robo-slot-result {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  min-width: 8.5rem;
}

.robo-slot-result a {
  color: var(--gold-2);
  font-size: 0.78rem;
  text-decoration: underline;
}

.broker-vault-panel {
  border-color: rgba(113, 215, 255, 0.28);
}

.portal-chip-grid {
  display: grid;
  gap: 0.5rem;
  max-height: 31rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.portal-chip {
  padding: 0.62rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.portal-chip > span {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #101010;
  background: linear-gradient(135deg, #fff3a8, #d4af37 62%, #8a6a10);
  font-weight: 800;
}

.portal-chip div {
  min-width: 0;
}

.portal-chip strong,
.portal-chip small {
  display: block;
}

.portal-chip small {
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-link-button {
  padding: 0.32rem 0.52rem;
  border: 1px solid rgba(244, 210, 122, 0.42);
  border-radius: 8px;
  color: var(--gold-2);
  font-size: 0.76rem;
}

.required-file-list,
.book-status-grid {
  display: grid;
  gap: 0.45rem;
}

.required-file,
.book-status-grid span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.required-file b,
.book-status-grid b {
  color: var(--gold-2);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.required-file.missing b {
  color: #ffb1a8;
}

.required-file.present b {
  color: #8bf0a4;
}

.book-status-grid small {
  color: var(--muted);
}

.progress-shell {
  height: 12px;
  margin: 0.8rem 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
}

#bookProgressBar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #71d7ff);
  box-shadow: 0 0 18px rgba(113, 215, 255, 0.42);
  transition: width 320ms ease;
}

.compact-report-card {
  max-width: 780px;
}

@keyframes holo-column {
  0%, 100% {
    opacity: 0.58;
    filter: saturate(1);
  }
  50% {
    opacity: 0.82;
    filter: saturate(1.35);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes room-lightflow {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 240px 0, 118px 0;
  }
}

@keyframes floor-scan {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 148px 0, 0 148px;
  }
}

.gold-frame,
.tv-widget-shell,
.tradingview-widget-container,
.avatar-card img,
.astra-selected-visual img,
.hero-avatar-main,
.content-thumb,
#macroCanvas,
#hologramRoom {
  border-color: rgba(212, 175, 55, 0.82) !important;
}

.design-swatch {
  min-height: 150px;
  display: grid;
  align-content: space-between;
}

.design-swatch.ibm {
  background: linear-gradient(135deg, rgba(113, 215, 255, 0.12), rgba(212, 175, 55, 0.08));
}

.design-swatch.mono {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18));
}

.design-swatch.glass,
.design-swatch.unreal,
.design-swatch.strobe {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(113, 215, 255, 0.08));
}

.timeline {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.1rem;
}

.timeline li {
  padding: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.local-meter b {
  display: block;
  color: var(--gold-2);
  font-size: 1.15rem;
}

.robo-slot-row b {
  color: var(--gold-2);
  white-space: nowrap;
}

.content-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.tv-widget-shell iframe,
.tradingview-widget-container iframe {
  border: 1px solid rgba(212, 175, 55, 0.74) !important;
  border-radius: 8px !important;
}

.admin-tools {
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(212, 175, 55, 0.04);
}

.site-footer {
  padding: 2rem 0;
  background: #05070a;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin: 0.25rem 0;
}

.site-footer a:hover {
  color: var(--gold-2);
}

[contenteditable="true"] {
  outline: 0;
}

[contenteditable="true"]:focus {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.45);
  border-radius: 4px;
}

body[data-effect="strobe"] .gold-frame,
body[data-effect="strobe"] .tv-widget-shell {
  animation: gold-pulse 2.8s ease-in-out infinite;
}

.guide-panel {
  width: min(820px, calc(100vw - 2rem)) !important;
}

.guide-popup-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(220px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.guide-counter-card,
.guide-avatar-card {
  padding: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.guide-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.75rem 0;
}

.guide-counter-grid span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.guide-counter-grid b {
  color: var(--gold-2);
  font-size: 1.15rem;
  line-height: 1.05;
}

.guide-counter-grid small {
  color: var(--muted);
  font-size: 0.76rem;
}

#guidePanelAvatarImage {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center bottom;
  border: 1px solid rgba(212, 175, 55, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 80%, rgba(113, 215, 255, 0.22), transparent 48%),
    rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.world-continent-grid,
.megastructure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.continent-card,
.mega-card {
  display: grid;
  gap: 0.32rem;
  padding: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.continent-card {
  cursor: pointer;
}

.continent-card.active,
.continent-card:hover,
.mega-card:hover {
  border-color: rgba(244, 210, 122, 0.8);
  background: rgba(212, 175, 55, 0.08);
}

.continent-card b,
.mega-card b,
.space-row h4 {
  color: var(--gold-2);
}

.continent-card span,
.mega-card span,
.space-row p,
.space-row small {
  color: var(--muted);
  font-size: 0.84rem;
}

.world-country-list {
  max-height: 760px;
  overflow: auto;
  padding-right: 0.25rem;
}

.space-big-number {
  margin: 0.25rem 0;
  color: var(--gold-2);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.space-table {
  display: grid;
  gap: 0.75rem;
}

.space-row {
  display: grid;
  gap: 0.38rem;
  padding: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.space-row span {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.mega-card h4,
.space-row h4 {
  margin: 0;
}

@keyframes gold-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18), 0 16px 42px rgba(0, 0, 0, 0.38);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(244, 210, 122, 0.55), 0 22px 58px rgba(212, 175, 55, 0.16);
  }
}

@keyframes server-leds {
  0%, 100% {
    filter: brightness(0.95);
  }
  50% {
    filter: brightness(1.28);
  }
}

@keyframes quantum-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes room-sweep {
  0% {
    transform: translateX(-18%) scaleX(0.62);
    opacity: 0.18;
  }
  42% {
    opacity: 0.92;
  }
  100% {
    transform: translateX(18%) scaleX(1);
    opacity: 0.18;
  }
}

@keyframes avatar-speak-idle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.008);
  }
}

@keyframes voice-aura {
  0%, 100% {
    transform: scale(0.98);
    filter: blur(0.2px);
  }
  50% {
    transform: scale(1.08);
    filter: blur(1.2px);
  }
}

@media (max-width: 760px) {
  .macro-kpis {
    grid-template-columns: 1fr;
  }

  .library-controls {
    grid-template-columns: 1fr;
  }

  .guide-popup-layout {
    grid-template-columns: 1fr;
  }

  .guide-counter-grid {
    grid-template-columns: 1fr;
  }

  .data-rack,
  .quantum-core,
  .server-light-row {
    opacity: 0.42;
  }

  .rack-right {
    display: none;
  }
}
