:root {
  --bg: #0a0a0a;
  --bg-dark: #050505;
  --bg-card: rgba(10, 10, 10, 0.95);
  --theme-dark-neon: #ffe600;
  --theme-dark-neon-dim: #c9aa00;
  --theme-dark-cyber-blue: #ffb400;
  --theme-dark-cyber-purple: #ff8c00;
  --theme-dark-neon-rgb: 255, 230, 0;
  --theme-dark-cyber-rgb: 255, 180, 0;
  --theme-dark-cyber-purple-rgb: 255, 140, 0;
  --theme-dark-border: #2a2400;
  --theme-dark-border-glow: rgba(255, 230, 0, 0.3);
  --theme-dark-text: #fff4a8;
  --theme-dark-text-dim: #9f9450;
  --theme-dark-log-process: #ffb400;
  --theme-dark-log-success: #ffe600;
  --theme-dark-log-waiting: #ffb020;
  --theme-light-neon: #d6a300;
  --theme-light-neon-dim: #b48200;
  --theme-light-cyber-blue: #e0ab00;
  --theme-light-cyber-purple: #c97b00;
  --theme-light-neon-rgb: 214, 163, 0;
  --theme-light-cyber-rgb: 224, 171, 0;
  --theme-light-cyber-purple-rgb: 201, 123, 0;
  --theme-light-border: #f0d56a;
  --theme-light-border-glow: rgba(214, 163, 0, 0.15);
  --theme-light-text: #5e4700;
  --theme-light-text-dim: #8c7a2c;
  --theme-light-log-process: #b57d00;
  --theme-light-log-success: #a97700;
  --theme-light-log-waiting: #d97706;
  --neon: var(--theme-dark-neon);
  --neon-dim: var(--theme-dark-neon-dim);
  --cyber-blue: var(--theme-dark-cyber-blue);
  --cyber-purple: var(--theme-dark-cyber-purple);
  --neon-rgb: var(--theme-dark-neon-rgb);
  --cyber-rgb: var(--theme-dark-cyber-rgb);
  --cyber-purple-rgb: var(--theme-dark-cyber-purple-rgb);
  --border: var(--theme-dark-border);
  --border-glow: var(--theme-dark-border-glow);
  --text: var(--theme-dark-text);
  --text-dim: var(--theme-dark-text-dim);
  --log-process: var(--theme-dark-log-process);
  --log-success: var(--theme-dark-log-success);
  --log-waiting: var(--theme-dark-log-waiting);
  --log-error: #ff3b3b;
  --log-bg: rgba(0, 0, 0, 0.8);
  --glow: 1;
  --scanline: 0.15;
}


html.light {
  --bg: #fff9df;
  --bg-dark: #fff1bb;
  --bg-card: rgba(255, 252, 240, 0.98);
  --neon: var(--theme-light-neon);
  --neon-dim: var(--theme-light-neon-dim);
  --cyber-blue: var(--theme-light-cyber-blue);
  --cyber-purple: var(--theme-light-cyber-purple);
  --neon-rgb: var(--theme-light-neon-rgb);
  --cyber-rgb: var(--theme-light-cyber-rgb);
  --cyber-purple-rgb: var(--theme-light-cyber-purple-rgb);
  --border: var(--theme-light-border);
  --border-glow: var(--theme-light-border-glow);
  --text: var(--theme-light-text);
  --text-dim: var(--theme-light-text-dim);
  --log-process: var(--theme-light-log-process);
  --log-success: var(--theme-light-log-success);
  --log-waiting: var(--theme-light-log-waiting);
  --log-error: #dc2626;
  --log-bg: rgba(255, 255, 255, 0.9);
  --glow: 0;
  --scanline: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--neon-dim);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}


* {
  scrollbar-width: thin;
  scrollbar-color: var(--neon-dim) rgba(0, 0, 0, 0.3);
}

html,
body {
  height: 100%;
  overflow: hidden;
}


@media (max-width: 767px) {

  html,
  body {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
  }
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, var(--scanline)) 0px,
      rgba(0, 0, 0, var(--scanline)) 1px,
      transparent 1px,
      transparent 2px);
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
}


html.light body::before {
  opacity: 0.3;
}


#constellation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

html.light #constellation {
  opacity: 0.3;
}


.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .container {
    height: auto;
    min-height: 100vh;
    padding: 12px;
  }
}


.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--neon-rgb), 0.15);
  flex-shrink: 0;
}

.logo {
  font-family: 'Audiowide', cursive;
  font-size: 24px;
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon), 3px 3px 0 #003322;
  letter-spacing: 3px;
  transition: all 0.3s ease;
}

.logo-sub {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


html.light .logo {
  text-shadow: 2px 2px 0 rgba(var(--cyber-rgb), 0.2);
}

html.light .user-trigger {
  background: rgba(var(--neon-rgb), 0.08);
}

html.light .auth-input,
html.light input,
html.light select {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
}

html.light .auth-input:focus,
html.light input:focus {
  box-shadow: 0 0 0 3px rgba(var(--neon-rgb), 0.15);
}

html.light .dropdown {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}


html.light .status-dot {
  box-shadow: 0 0 5px var(--neon);
}


.dropdown-wrap {
  position: relative;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(var(--neon-rgb), 0.05);
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-trigger:hover {
  background: rgba(var(--neon-rgb), 0.1);
}

.user-trigger .trigger-icon {
  color: var(--neon);
}

.user-trigger .trigger-arrow {
  font-size: 8px;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.dropdown.open+.user-trigger .trigger-arrow,
.dropdown-wrap:has(.dropdown.open) .trigger-arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: rgba(8, 12, 8, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  animation: dropdownIn 0.15s ease-out;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown.open {
  display: block;
}

.dropdown-section {
  padding: 12px 14px;
}

.dropdown-section:last-child {
  padding-bottom: 14px;
}

.dropdown-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyber-blue);
  margin-bottom: 6px;
}

.dropdown-credit {
  font-size: 28px;
  font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 15px var(--neon), 0 0 30px rgba(var(--neon-rgb), 0.3);
  letter-spacing: 2px;
}

.dropdown-email {
  font-size: 11px;
  color: var(--text);
  word-break: break-all;
}

.dropdown-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.dropdown .auth-field {
  margin-bottom: 10px;
}

.dropdown .auth-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  transition: all 0.2s;
}

.dropdown .auth-input:focus {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.dropdown .auth-input::placeholder {
  color: var(--text-dim);
}

.dropdown .auth-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.version {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.dev-credit {
  font-size: 11px;
  color: var(--text-dim);
}

.dev-credit a {
  color: var(--neon);
  text-decoration: none;
}


.footer {
  margin-top: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(var(--neon-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}

.footer-left a {
  color: var(--neon);
  text-decoration: none;
}

.footer-meta {
  color: var(--text-dim);
  font-size: 10px;
}

.footer-sep,
.metric-divider {
  color: var(--border);
}

.footer-link {
  text-decoration: none;
  font-size: 11px;
}

.footer-link--primary {
  color: var(--neon);
}

.footer-link--secondary {
  color: var(--cyber-blue);
}

.footer-accent--primary {
  color: var(--neon);
}

.footer-accent--secondary {
  color: var(--cyber-blue);
}

.footer-right {
  font-size: 11px;
  color: var(--text-dim);
}

.footer-right a {
  color: var(--cyber-purple);
  text-decoration: none;
  text-shadow: 0 0 8px var(--cyber-purple);
}

.footer-right .copy-inline {
  display: inline;
  cursor: pointer;
}

.footer-right .copy-inline:hover {
  text-decoration: underline;
}

.footer-right .copy-icon {
  width: 11px;
  height: 11px;
  vertical-align: middle;
  margin-left: 4px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s;
}

.footer-right .copy-icon:hover {
  color: var(--neon);
}


.donors-marquee {
  padding: 8px 12px;
  margin: 8px 0;
  overflow: hidden;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(var(--neon-rgb), 0.02);
  border: 1px solid rgba(var(--neon-rgb), 0.08);
  flex-shrink: 0;
}

.donors-track {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.donors-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.donor-item {
  display: inline-flex;
  gap: 4px;
  margin-right: 24px;
}

.donor-rank {
  color: var(--neon);
  font-weight: 700;
}

.donor-rank.top1 {
  color: #FFD700;
}

.donor-rank.top2 {
  color: #C0C0C0;
}

.donor-rank.top3 {
  color: #CD7F32;
}

.donor-name {
  color: var(--text);
}

.donor-amount {
  color: var(--cyber-blue);
}


.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}

.status-indicator--spaced {
  margin-top: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 5px var(--neon);
  }

  50% {
    box-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon);
  }
}


.grid {
  display: grid;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

.left-col,
.right-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 767px) {

  .left-col,
  .right-col {
    height: auto;
  }
}

.left-col .panel,
.right-col .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.left-col .panel-body,
.right-col .panel-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
}

@media (max-width: 767px) {

  .left-col .panel-body,
  .right-col .panel-body {
    overflow: visible;
    min-height: auto;
  }
}


.panel {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(5, 5, 5, 0.98));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.panel-header {
  padding: 10px 14px;
  background: rgba(var(--neon-rgb), 0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  transition: background 0.3s ease;
}

.panel-header::before {
  content: '//';
  color: var(--neon);
}

.panel-body {
  padding: 14px;
}


html.light .panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 248, 0.95));
  box-shadow: 0 2px 12px rgba(var(--cyber-rgb), 0.08);
}

html.light .panel::before {
  opacity: 0.5;
}

html.light .panel-header {
  background: rgba(var(--neon-rgb), 0.05);
}


.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(var(--neon-rgb), 0.02);
  border: 1px dashed rgba(var(--neon-rgb), 0.2);
  margin-bottom: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--neon);
  color: var(--neon);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.3);
}

.user-details {
  flex: 1;
}

.user-email {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 2px;
}

.user-credit {
  font-size: 18px;
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 10px var(--neon);
}

.user-credit span {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 400;
}

.user-actions {
  display: flex;
  gap: 6px;
}


.auth-field {
  margin-bottom: 10px;
}

.auth-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-label::before {
  content: '>';
  color: var(--neon);
}

.auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-left: 2px solid var(--neon);
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.auth-input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.2), inset 0 0 20px rgba(var(--neon-rgb), 0.05);
}

.auth-input::placeholder {
  color: var(--text-dim);
}


.btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 16px;
  border: 1px solid var(--neon);
  background: transparent;
  color: var(--neon);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.15s;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.2), transparent);
  transition: left 0.3s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: rgba(var(--neon-rgb), 0.1);
  box-shadow: 0 0 20px rgba(var(--neon-rgb), 0.3), inset 0 0 20px rgba(var(--neon-rgb), 0.1);
  text-shadow: 0 0 10px var(--neon);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(var(--neon-rgb), 0.2), rgba(var(--cyber-rgb), 0.1));
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-dim);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-sm {
  padding: 6px 10px;
  font-size: 10px;
}

.btn-run {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(var(--neon-rgb), 0.15), rgba(var(--cyber-rgb), 0.1));
  text-shadow: 0 0 10px var(--neon);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.3);
  }

  to {
    box-shadow: 0 0 25px rgba(var(--neon-rgb), 0.5), 0 0 50px rgba(var(--neon-rgb), 0.2);
  }
}


.setting-field {
  margin-bottom: 12px;
}

.setting-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.setting-label::before {
  content: '$';
  color: var(--cyber-blue);
}

.setting-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-left: 2px solid var(--cyber-blue);
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  outline: none;
  transition: all 0.2s;
}

.setting-input:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.2);
}

.setting-row {
  display: flex;
  gap: 10px;
}

.setting-row .setting-field {
  flex: 1;
}

.setting-row .setting-field.small {
  flex: 0 0 90px;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn-flex {
  flex: 1;
}

.btn-block {
  width: 100%;
}

.admin-tools {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(var(--neon-rgb), 0.12);
}

.admin-tools .btn + .btn {
  margin-top: 8px;
}

.input-with-action {
  position: relative;
}

.setting-input--with-action {
  padding-right: 42px;
}

.input-action-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 8px;
}

.right-col-layout {
  display: flex;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.log-panel--main {
  flex: 1 1 auto;
  width: 100%;
}

.panel-header--spread {
  justify-content: space-between;
}

.btn-icon-sm {
  padding: 4px 8px;
  font-size: 10px;
}

.right-col-layout .log-panel--main {
  flex: 1 1 auto;
  width: 100%;
}


.log-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.log {
  flex: 1;
  min-height: 0;
  background: var(--log-bg);
  border: 1px solid var(--border);
  padding: 16px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.log-block {
  --log-accent: var(--log-process);
  position: relative;
  padding: 6px 12px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.log-block::before {
  display: none;
}

.log-block.process {
  --log-accent: var(--log-process);
}

.log-block.success {
  --log-accent: var(--log-success);
}

.log-block.waiting {
  --log-accent: var(--log-waiting);
}

.log-block.error {
  --log-accent: var(--log-error);
}

html.light .log-block {
  background: transparent;
  border-color: var(--log-accent);
}

.log-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.log-icon {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--log-accent);
  flex-shrink: 0;
}

.log-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.log-block.process .log-time { color: rgba(var(--cyber-rgb), 0.65); }
.log-block.success .log-time { color: rgba(var(--neon-rgb), 0.65); }

.log-message {
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.log-block.process .log-message {
  color: var(--log-process);
}

.log-block.success .log-message {
  color: var(--log-success);
}

.log-block.waiting .log-message {
  color: #ffb020;
}

.log-block.error .log-message {
  color: #ff3b3b;
}

html.light .log-block.process .log-message {
  color: var(--log-process);
}

html.light .log-block.success .log-message {
  color: var(--log-success);
}

html.light .log-block.waiting .log-message {
  color: #9a3412;
}

html.light .log-block.error .log-message {
  color: #991b1b;
}


.noti-panel-fixed {
  position: fixed;
  right: 16px;
  top: 92px;
  width: 280px;
  max-height: calc(100vh - 120px);
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.noti-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  color: var(--cyber-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.noti-header::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--cyber-blue), var(--neon));
  border-radius: 2px;
}

.noti-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.noti-item {
  padding: 10px 12px;
  background: #000;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.5;
}

.noti-item .noti-time {
  font-size: 9px;
  color: #444;
  margin-top: 0;
}

.noti-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.noti-tag {
  font-weight: 700;
  font-size: 10px;
}

.noti-tag.info,
.noti-tag.success {
  color: var(--neon);
}

.noti-tag.warning {
  color: #f59e0b;
}

.noti-tag.error {
  color: #ff3333;
}

.noti-msg {
  color: #8a9a8e;
  font-size: 11px;
}

.noti-item.unread {
  border-color: rgba(var(--neon-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.08);
}

.noti-empty {
  text-align: center;
  padding: 20px;
  color: #444;
  font-size: 11px;
}


.discord-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  margin-top: 12px;
}

.discord-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discord-id {
  font-size: 13px;
  color: var(--cyber-purple);
  text-shadow: 0 0 10px var(--cyber-purple);
  cursor: pointer;
  padding: 4px 10px;
  border: 1px solid var(--cyber-purple);
  transition: all 0.2s;
}

.discord-id:hover {
  background: rgba(var(--cyber-purple-rgb), 0.1);
  box-shadow: 0 0 15px rgba(var(--cyber-purple-rgb), 0.3);
}


.typing::after {
  content: '_';
  animation: typingBlink 0.7s infinite;
}

@keyframes typingBlink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: linear-gradient(135deg, rgba(10, 15, 10, 0.98), rgba(5, 10, 5, 0.98));
  border: 1px solid var(--neon);
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(var(--neon-rgb), 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon);
}

.modal-header .icon {
  font-size: 18px;
}

.modal-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--neon);
}

.modal-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.modal-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(var(--neon-rgb), 0.1);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}


.modal.success {
  border-color: var(--neon);
}

.modal.success .modal-header {
  color: var(--neon);
}

.modal.success::before {
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.modal.error {
  border-color: #ff4444;
}

.modal.error .modal-header {
  color: #ff4444;
}

.modal.error::before {
  background: linear-gradient(90deg, transparent, #ff4444, transparent);
}

.modal.warning {
  border-color: #ffaa00;
}

.modal.warning .modal-header {
  color: #ffaa00;
}

.modal.warning::before {
  background: linear-gradient(90deg, transparent, #ffaa00, transparent);
}

.modal.info {
  border-color: var(--cyber-blue);
}

.modal.info .modal-header {
  color: var(--cyber-blue);
}

.modal.info::before {
  background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
}


@keyframes vpnSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes vpnShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

@keyframes vpnSlideOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-30px);
    opacity: 0;
  }
}

#vpn-modal {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  animation: vpnSlideUp 0.3s ease-out, vpnShake 0.5s 0.3s ease-out;
}

#vpn-modal.hiding {
  animation: vpnSlideOut 0.3s ease-out forwards;
}


.demo-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(var(--neon-rgb), 0.2);
}

.demo-btn {
  font-family: inherit;
  font-size: 9px;
  padding: 6px 10px;
  border: 1px solid var(--text-dim);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-btn:hover {
  border-color: var(--neon);
  color: var(--neon);
}


.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  border: none;
  color: var(--neon);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--neon));
}

.theme-toggle svg {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.theme-toggle--toggled .theme-toggle__dark-side {
  transform: rotate(180deg);
}

.color-picker-wrap {
  position: relative;
}

.color-picker-trigger.active,
.color-picker-trigger:hover {
  filter: drop-shadow(0 0 8px var(--neon));
}

.color-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 316px;
  background: rgba(8, 12, 8, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--neon-rgb), 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out;
  z-index: 1005;
}

.color-picker-panel.open,
.color-picker-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.color-picker-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-preview-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(var(--neon-rgb), 0.16), 0 0 14px rgba(var(--neon-rgb), 0.24);
  flex-shrink: 0;
}

.color-picker-preview-text {
  display: grid;
  gap: 2px;
}

.color-picker-preview-text strong {
  color: var(--text);
  font-size: 11px;
}

.color-picker-preview-text span {
  color: var(--text-dim);
  font-size: 10px;
}

.color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.color-swatch {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 8px 6px;
  border: 1px solid rgba(var(--neon-rgb), 0.08);
  background: rgba(var(--neon-rgb), 0.03);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.color-swatch:hover,
.color-swatch:focus-visible {
  border-color: rgba(var(--neon-rgb), 0.22);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(var(--neon-rgb), 0.1);
  outline: 0;
}

.color-swatch.is-active {
  border-color: rgba(var(--neon-rgb), 0.32);
  color: var(--neon);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.16);
}

.color-swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 12px currentColor;
}

.color-slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.color-hue-range {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      hsl(0, 100%, 50%),
      hsl(60, 100%, 50%),
      hsl(120, 100%, 50%),
      hsl(180, 100%, 50%),
      hsl(240, 100%, 60%),
      hsl(300, 100%, 55%),
      hsl(360, 100%, 50%));
  outline: none;
}

.color-hue-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.6);
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(var(--neon-rgb), 0.2), 0 0 16px rgba(var(--neon-rgb), 0.24);
  cursor: pointer;
}

.color-hue-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.6);
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(var(--neon-rgb), 0.2), 0 0 16px rgba(var(--neon-rgb), 0.24);
  cursor: pointer;
}

.color-picker-actions {
  display: flex;
  justify-content: flex-end;
}


.live-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  padding: 4px 10px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  transition: background 0.3s ease;
}


.exam-panel {
  padding: 14px;
  font-size: 13px;
  color: var(--text);
  max-height: 60vh;
  overflow-y: auto;
}


.exam-panel .q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.exam-panel .q-number {
  font-size: 11px;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.exam-panel .q-type {
  font-size: 10px;
  color: var(--text-dim);
  padding: 2px 8px;
  background: rgba(var(--neon-rgb), 0.1);
  border-radius: 4px;
}


.exam-panel .q-content {
  margin-bottom: 16px;
  line-height: 1.6;
}

.exam-panel .q-content p {
  margin-bottom: 8px;
}


.exam-panel audio {
  width: 100%;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 4px;
  outline: none;
}

.exam-panel .audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--cyber-blue);
  color: #000;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.exam-panel .audio-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 12px var(--cyber-blue);
}


.exam-panel .mcq-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exam-panel .mcq-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.exam-panel .mcq-option:hover {
  border-color: var(--neon);
  background: rgba(var(--neon-rgb), 0.05);
}

.exam-panel .mcq-option.selected {
  border-color: var(--neon);
  background: rgba(var(--neon-rgb), 0.1);
  box-shadow: 0 0 8px rgba(var(--neon-rgb), 0.2);
}

.exam-panel .mcq-option .letter {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
}

.exam-panel .mcq-option.selected .letter {
  background: var(--neon);
  color: #000;
}


.exam-panel input[type="text"],
.exam-panel textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-left: 3px solid var(--neon);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s;
}

.exam-panel input[type="text"]:focus,
.exam-panel textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.15);
}


.exam-panel .word-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg-dark);
  border: none;
  border-bottom: 2px dashed var(--border);
  border-radius: 0;
  min-height: 44px;
}

.exam-panel .word-token {
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  color: var(--text);
  font-size: 12px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.exam-panel .word-token:hover {
  border-bottom-color: var(--neon);
  color: var(--neon);
}

.exam-panel .word-token.used {
  opacity: 0.3;
  pointer-events: none;
}

.exam-panel .answer-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--neon);
  border-radius: 0;
  min-height: 44px;
}

.exam-panel .answer-slot {
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--neon);
  color: var(--neon);
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
}


.exam-panel .match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.exam-panel .match-item {
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.exam-panel .match-item:hover {
  border-color: var(--cyber-blue);
}

.exam-panel .match-item.selected {
  border-color: var(--cyber-blue);
  background: rgba(var(--cyber-rgb), 0.1);
}

.exam-panel .match-item.matched {
  border-color: var(--neon);
  background: rgba(var(--neon-rgb), 0.1);
  opacity: 0.6;
}


.exam-panel .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.exam-panel .page-btn {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.15s;
}

.exam-panel .page-btn:hover {
  border-bottom-color: var(--neon);
  color: var(--neon);
}

.exam-panel .page-btn.active {
  border-bottom-color: var(--neon);
  color: var(--neon);
  font-weight: 700;
}

.exam-panel .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.exam-panel .submit-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.exam-panel .exam-btn {
  flex: 1;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.exam-panel .exam-btn.primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-dim));
  color: #000;
}

.exam-panel .exam-btn.primary:hover {
  box-shadow: 0 4px 20px rgba(var(--neon-rgb), 0.3);
  transform: translateY(-1px);
}

.exam-panel .exam-btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.exam-panel .exam-btn.secondary:hover {
  border-color: var(--neon);
  color: var(--neon);
}




.right-col-inner {
  display: flex;
  gap: 12px;
  height: 100%;
}

.right-col-inner .log-panel {
  flex: 0 0 40%;
  min-width: 0;
}

.right-col-inner .live-exam-panel {
  flex: 0 0 58%;
  min-width: 0;
}

.right-col-layout .log-panel--main {
  flex: 1 1 auto;
  width: 100%;
}

@media (max-width: 900px) {
  .right-col-inner {
    flex-direction: column;
  }

  .right-col-inner .log-panel,
  .right-col-inner .live-exam-panel {
    flex: none;
    width: 100%;
  }
}


.live-exam-panel {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(5, 5, 5, 0.98));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.live-exam-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
  animation: scan 2.5s linear infinite;
}

.live-exam-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(var(--cyber-rgb), 0.03);
  border-bottom: 1px solid var(--border);
}

.live-exam-panel .panel-header::before {
  content: '//';
  color: var(--cyber-blue);
}

html.light .live-exam-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 248, 0.95));
}

html.light .live-exam-panel::before {
  opacity: 0.5;
}


.q-counter {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(var(--cyber-rgb), 0.15);
  border: 1px solid var(--cyber-blue);
  color: var(--cyber-blue);
  letter-spacing: 1px;
}


.live-exam-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  min-height: 300px;
  max-height: 60vh;
}

.live-waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 1px;
}

.live-waiting::before {
  content: '⏳';
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}


.q-block {
  animation: slideInQuestion 0.3s ease-out;
}

@keyframes slideInQuestion {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.q-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.q-type-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(var(--neon-rgb), 0.1);
  border: 1px solid var(--neon);
  color: var(--neon);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.q-type-badge.mcq {
  border-color: var(--cyber-blue);
  color: var(--cyber-blue);
  background: rgba(var(--cyber-rgb), 0.1);
}

.q-type-badge.fill {
  border-color: var(--neon);
  color: var(--neon);
}

.q-type-badge.audio {
  border-color: var(--cyber-purple);
  color: var(--cyber-purple);
  background: rgba(var(--cyber-purple-rgb), 0.1);
}

.q-type-badge.order {
  border-color: #ffb020;
  color: #ffb020;
  background: rgba(255, 176, 32, 0.1);
}

.q-id {
  font-size: 10px;
  color: var(--text-dim);
}


.q-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--cyber-blue);
}

html.light .q-content {
  background: rgba(var(--cyber-rgb), 0.03);
}


.q-audio-wrapper {
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(var(--cyber-purple-rgb), 0.05);
  border: 1px solid rgba(var(--cyber-purple-rgb), 0.2);
}

.q-audio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--cyber-purple);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.q-audio-label::before {
  content: '🎧';
}

.q-audio {
  width: 100%;
  height: 36px;
  border-radius: 0;
  outline: none;
}


.q-audio::-webkit-media-controls-panel {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(20, 10, 30, 0.95));
}

.q-audio::-webkit-media-controls-play-button,
.q-audio::-webkit-media-controls-mute-button {
  filter: brightness(1.5) hue-rotate(280deg);
}

.q-audio::-webkit-media-controls-current-time-display,
.q-audio::-webkit-media-controls-time-remaining-display {
  color: var(--cyber-purple);
}


.q-input {
  display: inline-block;
  min-width: 50px;
  max-width: 200px;
  padding: 4px 8px;
  margin: 0 4px;
  background: rgba(var(--neon-rgb), 0.05);
  border: none;
  border-bottom: 2px dashed var(--neon);
  color: var(--neon);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: all 0.2s;
}

.q-input:focus {
  background: rgba(var(--neon-rgb), 0.1);
  border-bottom-style: solid;
  box-shadow: 0 2px 10px rgba(var(--neon-rgb), 0.3);
}

.q-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.q-input.solved {
  border-color: var(--log-success);
  color: var(--log-success);
  background: rgba(var(--neon-rgb), 0.15);
}

html.light .q-input {
  background: rgba(var(--neon-rgb), 0.08);
}


.q-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .q-options {
    grid-template-columns: 1fr;
  }
}

.q-option {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.15s;
}

.q-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  transition: all 0.15s;
}

.q-option:hover {
  background: rgba(var(--cyber-rgb), 0.1);
  border-color: var(--cyber-blue);
}

.q-option:hover::before {
  background: var(--cyber-blue);
  box-shadow: 0 0 10px var(--cyber-blue);
}

.q-option.selected {
  background: rgba(var(--neon-rgb), 0.1);
  border-color: var(--neon);
}

.q-option.selected::before {
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.q-option.correct {
  background: rgba(var(--neon-rgb), 0.15);
  border-color: var(--neon);
}

.q-option.correct::before {
  background: var(--neon);
}

.q-option-label {
  font-weight: 700;
  color: var(--cyber-blue);
  margin-right: 8px;
}

html.light .q-option {
  background: rgba(255, 255, 255, 0.9);
}


.q-new-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 59, 59, 0.1);
  border: 1px solid var(--log-error);
  color: var(--log-error);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: pulseError 1.5s infinite;
}

@keyframes pulseError {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 59, 59, 0.3);
  }

  50% {
    box-shadow: 0 0 15px rgba(255, 59, 59, 0.6);
  }
}

.q-new-type::before {
  content: '⚠';
}


.q-raw-json {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--log-error);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
  max-height: 200px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.q-raw-json-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--log-error);
}

.q-raw-json-copy {
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--log-error);
  color: var(--log-error);
  font-size: 9px;
  cursor: pointer;
  transition: all 0.15s;
}

.q-raw-json-copy:hover {
  background: rgba(255, 59, 59, 0.1);
}


.q-order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-order-item {
  padding: 8px 14px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.3);
  color: #ffb020;
  font-size: 12px;
  cursor: grab;
  transition: all 0.15s;
}

.q-order-item:hover {
  background: rgba(255, 176, 32, 0.2);
  border-color: #ffb020;
}


.q-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 11px;
}

.q-status.solving {
  background: rgba(var(--cyber-rgb), 0.1);
  border-left: 3px solid var(--cyber-blue);
  color: var(--cyber-blue);
}

.q-status.solving::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyber-blue);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.q-status.solved {
  background: rgba(var(--neon-rgb), 0.1);
  border-left: 3px solid var(--neon);
  color: var(--neon);
}

.q-status.solved::before {
  content: '✓';
  font-weight: 700;
}

.q-status.failed {
  background: rgba(255, 59, 59, 0.1);
  border-left: 3px solid var(--log-error);
  color: var(--log-error);
}

.q-status.failed::before {
  content: '✗';
  font-weight: 700;
}




.btn-cyber {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.2), rgba(255, 136, 0, 0.1));
  border: 1px solid #ffb020;
  color: #ffb020;
  text-shadow: 0 0 10px rgba(255, 176, 32, 0.5);
  animation: cyberPulse 2s infinite;
}

.btn-cyber:hover {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.3), rgba(255, 136, 0, 0.2));
  box-shadow: 0 0 25px rgba(255, 176, 32, 0.4), inset 0 0 20px rgba(255, 176, 32, 0.1);
}

@keyframes cyberPulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 176, 32, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 176, 32, 0.5), 0 0 30px rgba(255, 176, 32, 0.2);
  }
}


.skill-issue-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay 0.3s ease-out;
}

.skill-issue-overlay.hidden {
  display: none !important;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.skill-issue-content {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.99));
  border: 2px solid #ffb020;
  box-shadow:
    0 0 40px rgba(255, 176, 32, 0.3),
    0 0 80px rgba(255, 176, 32, 0.1),
    inset 0 0 60px rgba(255, 176, 32, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: slideInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


.skill-issue-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffb020, transparent);
  animation: scanModal 2s linear infinite;
}

@keyframes scanModal {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}


.skill-issue-content::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 176, 32, 0.1) 50%);
  pointer-events: none;
}


.skill-issue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 176, 32, 0.05);
  border-bottom: 1px solid rgba(255, 176, 32, 0.3);
}

.skill-issue-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Audiowide', cursive;
  font-size: 18px;
  color: #ffb020;
  text-shadow: 0 0 20px rgba(255, 176, 32, 0.5);
  letter-spacing: 2px;
}

.skill-issue-icon {
  font-size: 20px;
  animation: iconBounce 1s infinite;
}

@keyframes iconBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.skill-issue-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-issue-counter .q-counter {
  background: rgba(255, 176, 32, 0.15);
  border-color: #ffb020;
  color: #ffb020;
}


.btn-close-cyber {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #ff4444;
  color: #ff4444;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close-cyber:hover {
  background: rgba(255, 68, 68, 0.2);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
  transform: rotate(90deg);
}


.skill-issue-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  min-height: 400px;
  max-height: calc(90vh - 150px);
}


.skill-issue-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  text-align: center;
}

.waiting-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.waiting-text {
  font-size: 16px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.waiting-hint {
  font-size: 12px;
  color: var(--text-dim);
}


.skill-issue-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 176, 32, 0.2);
}

.skill-issue-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neon);
}

.skill-issue-status .status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}


html.light .skill-issue-overlay {
  background: rgba(255, 255, 255, 0.95);
}

html.light .skill-issue-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.99));
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
}




.practice-questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.q-block.practice-mode {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--border);
  padding: 16px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.q-block.practice-mode:hover {
  border-color: rgba(255, 176, 32, 0.4);
  box-shadow: 0 0 20px rgba(255, 176, 32, 0.1);
}


.q-number {
  font-weight: 700;
  color: #ffb020;
  font-size: 14px;
  margin-right: 12px;
  text-shadow: 0 0 10px rgba(255, 176, 32, 0.3);
}


.practice-error .waiting-icon {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.practice-error .waiting-text {
  color: var(--log-error);
}


html.light .q-block.practice-mode {
  background: rgba(255, 255, 255, 0.9);
}

html.light .q-number {
  color: #d48900;
  text-shadow: none;
}

.user-widget,
.dropdown-wrap {
  position: relative;
}

.user-trigger,
.user-widget-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(var(--neon-rgb), 0.05);
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-trigger:hover,
.user-widget-trigger:hover,
.user-trigger.active,
.user-widget-trigger.active {
  background: rgba(var(--neon-rgb), 0.1);
}

.trigger-icon {
  color: var(--neon);
  display: inline-flex;
  align-items: center;
}

.user-widget-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text);
}

.trigger-arrow,
.user-widget-arrow {
  font-size: 8px;
  line-height: 1;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.user-trigger.active .trigger-arrow,
.user-widget-trigger.active .trigger-arrow,
.user-widget-trigger.active .user-widget-arrow {
  transform: rotate(180deg);
}

.dropdown,
.user-widget-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 252px;
  background: rgba(8, 12, 8, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--neon-rgb), 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.dropdown.open,
.dropdown.active,
.user-widget-dropdown.open,
.user-widget-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-section {
  padding: 12px 14px;
}

.dropdown-section + .dropdown-section {
  border-top: 1px solid rgba(var(--neon-rgb), 0.08);
}

.dropdown-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyber-blue);
  margin-bottom: 6px;
}

.uwd-summary {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

.uwd-actions,
.dropdown-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uwd-actions .btn,
.dropdown-actions .btn {
  width: 100%;
}

.uwd-summary-grid {
  display: grid;
  gap: 10px;
}

.uwd-row {
  display: grid;
  gap: 4px;
}

.uwd-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyber-blue);
}

.uwd-value {
  color: var(--text);
  word-break: break-word;
}

.uwd-email {
  color: var(--text);
  word-break: break-all;
}

.modal-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.modal-list {
  padding-left: 16px;
  line-height: 1.6;
  font-size: 12px;
  color: var(--text);
}

.modal-subnote {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-dim);
}

.toast-root {
  position: fixed;
  right: 16px;
  top: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 767px) {
  .right-col-layout {
    height: auto;
  }

  .footer-left {
    flex-wrap: wrap;
  }
}

@media (max-width: 1360px) {
  .noti-panel-fixed {
    width: 248px;
  }
}

@media (max-width: 900px) {
  .noti-panel-fixed {
    display: none;
  }
}

.uwd-value strong {
  color: var(--neon);
  font-weight: 700;
}

.uwd-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid rgba(var(--neon-rgb), 0.25);
  background: rgba(var(--neon-rgb), 0.06);
  color: var(--neon);
  border-radius: 999px;
  font-size: 10px;
}

.uwd-pill.is-warn {
  border-color: rgba(255, 176, 32, 0.35);
  background: rgba(255, 176, 32, 0.08);
  color: var(--log-waiting);
}

.uwd-pill.is-error {
  border-color: rgba(255, 59, 59, 0.35);
  background: rgba(255, 59, 59, 0.08);
  color: var(--log-error);
}

.log--compact {
  padding: 10px 12px;
  gap: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.log--compact .log-block {
  padding: 6px 10px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.log--compact .log-block::before {
  display: none;
}

.log--compact .log-block.waiting {
  animation: none;
}

.log--compact .log-line {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  align-items: start;
}

.log--compact .log-icon {
  min-width: 12px;
  text-shadow: none;
}

.log--compact .log-time {
  min-width: 56px;
  font-size: 11px;
  opacity: 0.75;
}

.log--compact .log-message {
  text-shadow: none;
}

.log--compact .log-block.process,
.log--compact .log-block.success,
.log--compact .log-block.waiting,
.log--compact .log-block.error {
  box-shadow: none !important;
  background: transparent !important;
}

.admin-credit-results,
.admin-credit-history {
  margin-top: 8px;
  border: 1px solid rgba(var(--neon-rgb), 0.12);
  background: rgba(var(--neon-rgb), 0.03);
  max-height: 180px;
  overflow-y: auto;
}

.admin-credit-empty {
  padding: 12px;
  font-size: 11px;
  color: var(--text-dim);
}

.admin-credit-result {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 10px 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-credit-result:last-child {
  border-bottom: 0;
}

.admin-credit-result:hover,
.admin-credit-result.active {
  background: rgba(var(--neon-rgb), 0.08);
}

.admin-credit-result strong {
  color: var(--neon);
}

.admin-credit-result-meta {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-dim);
}

.admin-credit-selected {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(var(--cyber-rgb), 0.2);
  background: rgba(var(--cyber-rgb), 0.05);
  font-size: 12px;
  line-height: 1.6;
}

.admin-credit-selected strong {
  color: var(--cyber-blue);
}

.admin-credit-history-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.admin-credit-history-row:last-child {
  border-bottom: 0;
}

.admin-credit-history-time {
  color: var(--text-dim);
}

.admin-credit-history-body strong {
  color: var(--neon);
}

/* Neon gold palette overrides */
.header {
  border-bottom-color: rgba(var(--neon-rgb), 0.15);
}

.footer {
  border-top-color: rgba(var(--neon-rgb), 0.15);
}

.logo {
  text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon), 3px 3px 0 #4f3d00;
}

html.light .logo {
  text-shadow: 2px 2px 0 rgba(132, 100, 0, 0.2);
}

html.light .user-trigger,
html.light .user-widget-trigger {
  background: rgba(var(--neon-rgb), 0.08);
}

html.light .auth-input:focus,
html.light input:focus {
  box-shadow: 0 0 0 3px rgba(var(--neon-rgb), 0.16);
}

.panel-header {
  background: rgba(var(--neon-rgb), 0.03);
}

html.light .panel {
  background: linear-gradient(135deg, rgba(255, 251, 230, 0.98), rgba(255, 247, 207, 0.95));
  box-shadow: 0 2px 12px rgba(128, 96, 0, 0.08);
}

html.light .panel-header {
  background: rgba(var(--neon-rgb), 0.05);
}

.user-info {
  background: rgba(var(--neon-rgb), 0.02);
  border-color: rgba(var(--neon-rgb), 0.2);
}

.auth-input:focus {
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.22), inset 0 0 20px rgba(var(--neon-rgb), 0.05);
}

.btn::before {
  background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.2), transparent);
}

.btn:hover {
  background: rgba(var(--neon-rgb), 0.1);
  box-shadow: 0 0 20px rgba(var(--neon-rgb), 0.3), inset 0 0 20px rgba(var(--neon-rgb), 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(var(--neon-rgb), 0.2), rgba(var(--cyber-rgb), 0.1));
}

.btn-run {
  background: linear-gradient(135deg, rgba(var(--neon-rgb), 0.15), rgba(var(--cyber-rgb), 0.1));
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.3);
  }

  to {
    box-shadow: 0 0 25px rgba(var(--neon-rgb), 0.5), 0 0 50px rgba(var(--neon-rgb), 0.2);
  }
}

.setting-input:focus {
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.22);
}

.log-block.process {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.2);
}

.log-block.success {
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.2);
}

.log-block.process .log-time {
  color: rgba(var(--cyber-rgb), 0.65);
}

.log-block.success .log-time {
  color: rgba(var(--neon-rgb), 0.65);
}

.noti-item.unread {
  border-color: rgba(var(--neon-rgb), 0.3);
  box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.1);
}

.user-trigger,
.user-widget-trigger {
  background: rgba(var(--neon-rgb), 0.05);
}

.user-trigger:hover,
.user-widget-trigger:hover,
.user-trigger.active,
.user-widget-trigger.active {
  background: rgba(var(--neon-rgb), 0.1);
}

.dropdown,
.user-widget-dropdown {
  border-color: rgba(var(--neon-rgb), 0.12);
}

.dropdown-section + .dropdown-section {
  border-top-color: rgba(var(--neon-rgb), 0.08);
}

.uwd-pill {
  border-color: rgba(var(--neon-rgb), 0.25);
  background: rgba(var(--neon-rgb), 0.06);
}

.admin-credit-history {
  border-color: rgba(var(--neon-rgb), 0.12);
  background: rgba(var(--neon-rgb), 0.03);
}

.admin-credit-result:hover,
.admin-credit-result.active {
  background: rgba(var(--neon-rgb), 0.08);
}

.admin-credit-selected {
  border-color: rgba(var(--cyber-rgb), 0.2);
  background: rgba(var(--cyber-rgb), 0.05);
}

.driver-popover {
  background: rgba(10, 10, 10, 0.98) !important;
  border: 1px solid var(--neon) !important;
  box-shadow: 0 0 30px rgba(var(--neon-rgb), 0.2) !important;
  color: var(--text) !important;
}

.driver-popover-title {
  color: var(--neon) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.driver-popover-description {
  color: var(--text) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
}

.driver-popover-progress-text {
  color: var(--text-dim) !important;
}

.driver-popover-navigation-btns button {
  background: rgba(var(--neon-rgb), 0.1) !important;
  border: 1px solid var(--neon) !important;
  color: var(--neon) !important;
  font-family: 'JetBrains Mono', monospace !important;
  padding: 6px 12px !important;
}

.driver-popover-navigation-btns button:hover {
  background: var(--neon) !important;
  color: #000 !important;
}

.driver-popover-close-btn {
  color: var(--text-dim) !important;
}

.driver-popover-close-btn:hover {
  color: var(--neon) !important;
}

.driver-popover-arrow-side-top {
  border-bottom-color: var(--neon) !important;
}

.driver-popover-arrow-side-bottom {
  border-top-color: var(--neon) !important;
}

.driver-popover-arrow-side-left {
  border-right-color: var(--neon) !important;
}

.driver-popover-arrow-side-right {
  border-left-color: var(--neon) !important;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-overlay.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay::before,
.intro-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-overlay::before {
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--neon-rgb), 0.25), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72));
}

.intro-overlay::after {
  background: repeating-linear-gradient(0deg,
      rgba(var(--neon-rgb), 0.035) 0px,
      rgba(var(--neon-rgb), 0.035) 1px,
      transparent 1px,
      transparent 3px);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.intro-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--cyber-rgb), 0.12), transparent 25%),
    radial-gradient(circle at 80% 25%, rgba(var(--neon-rgb), 0.16), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(var(--neon-rgb), 0.08), transparent 35%),
    rgba(4, 4, 4, 0.92);
}

.intro-shell {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  padding: 42px 36px 32px;
  border: 1px solid rgba(var(--neon-rgb), 0.26);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(10, 10, 10, 0.98));
  box-shadow:
    0 0 40px rgba(var(--neon-rgb), 0.1),
    0 0 140px rgba(var(--neon-rgb), 0.08),
    inset 0 0 0 1px rgba(var(--neon-rgb), 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.intro-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.08), transparent);
  transform: translateX(-120%);
  animation: intro-scan 2.4s ease-in-out infinite;
  pointer-events: none;
}

.intro-frame {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--neon-rgb), 0.55), transparent);
}

.intro-frame--top {
  top: 16px;
}

.intro-frame--bottom {
  bottom: 16px;
}

.intro-skip {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(var(--neon-rgb), 0.28);
  background: rgba(var(--neon-rgb), 0.05);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.intro-skip:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(var(--neon-rgb), 0.12);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.16);
}

.intro-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 34px;
}

.intro-logo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}

.intro-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--neon-rgb), 0.28);
  box-shadow:
    0 0 24px rgba(var(--neon-rgb), 0.22),
    inset 0 0 18px rgba(var(--neon-rgb), 0.08);
  animation: intro-pulse 1.9s ease-in-out infinite;
}

.intro-logo-ring::before,
.intro-logo-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(var(--cyber-rgb), 0.22);
  border-radius: 50%;
}

.intro-logo-ring::after {
  inset: -7px;
  border-style: dashed;
  border-color: rgba(var(--neon-rgb), 0.12);
}

.intro-logo-image {
  position: relative;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(var(--neon-rgb), 0.46))
    drop-shadow(0 0 28px rgba(var(--neon-rgb), 0.26));
}

.intro-kicker {
  color: var(--cyber-blue);
  font-size: 11px;
  letter-spacing: 0.32em;
}

.intro-title {
  font-family: 'Audiowide', cursive;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: 0.18em;
  color: var(--neon);
  text-shadow:
    0 0 8px rgba(var(--neon-rgb), 0.9),
    0 0 24px rgba(var(--neon-rgb), 0.36),
    0 0 60px rgba(var(--neon-rgb), 0.16);
}

.intro-subtitle {
  max-width: 520px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  opacity: 0.86;
}

.intro-console {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid rgba(var(--neon-rgb), 0.18);
  background:
    linear-gradient(180deg, rgba(var(--neon-rgb), 0.03), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.54);
  box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), 0.04);
}

.intro-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.intro-badge {
  padding: 6px 10px;
  border: 1px solid rgba(var(--neon-rgb), 0.24);
  color: var(--neon);
  font-size: 11px;
  letter-spacing: 0.16em;
  background: rgba(var(--neon-rgb), 0.05);
}

.intro-percent {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.intro-progress {
  height: 10px;
  border: 1px solid rgba(var(--neon-rgb), 0.16);
  background: rgba(var(--neon-rgb), 0.05);
  overflow: hidden;
}

.intro-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--cyber-rgb), 0.8), rgba(var(--neon-rgb), 1));
  box-shadow:
    0 0 12px rgba(var(--neon-rgb), 0.28),
    0 0 24px rgba(var(--neon-rgb), 0.16);
  transition: width 0.16s linear;
}

.intro-metric {
  margin-top: 12px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.16em;
}

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

.intro-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(var(--neon-rgb), 0.08);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.4;
  transform: translateY(6px);
  transition: all 0.24s ease;
}

.intro-status-item.is-active {
  border-color: rgba(var(--neon-rgb), 0.22);
  background: rgba(var(--neon-rgb), 0.06);
  color: var(--text);
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.08);
}

body.intro-active .container {
  transform: scale(0.986);
  filter: blur(10px);
  opacity: 0.52;
  transition: transform 0.55s ease, filter 0.55s ease, opacity 0.55s ease;
}

body.intro-active .noti-panel-fixed {
  opacity: 0;
}

@keyframes intro-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes intro-scan {
  0% {
    transform: translateX(-120%);
  }

  55%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 767px) {
  .intro-shell {
    width: min(94vw, 560px);
    padding: 36px 18px 22px;
  }

  .intro-skip {
    top: 12px;
    right: 12px;
    padding: 8px 10px;
  }

  .intro-logo-wrap {
    width: 88px;
    height: 88px;
  }

  .intro-logo-image {
    width: 58px;
    height: 58px;
  }

  .intro-subtitle {
    font-size: 12px;
  }

  .intro-console {
    padding: 16px;
  }

  .intro-status-item {
    padding: 10px;
    font-size: 10px;
  }
}

.intro-overlay {
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.intro-overlay::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(var(--neon-rgb), 0.32), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(var(--neon-rgb), 0.12), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.intro-overlay::after {
  background: repeating-linear-gradient(0deg,
      rgba(var(--neon-rgb), 0.032) 0px,
      rgba(var(--neon-rgb), 0.032) 1px,
      transparent 1px,
      transparent 4px);
  opacity: 0.34;
}

.intro-backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--neon-rgb), 0.14), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(var(--cyber-rgb), 0.12), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(var(--neon-rgb), 0.1), transparent 36%),
    linear-gradient(90deg, rgba(var(--neon-rgb), 0.04), transparent 16%, transparent 84%, rgba(var(--neon-rgb), 0.04)),
    rgba(3, 3, 3, 0.94);
}

.intro-shell {
  width: min(1040px, calc(100vw - 48px));
  padding: 46px 36px 28px;
  border-color: rgba(var(--neon-rgb), 0.22);
  box-shadow:
    0 0 40px rgba(var(--neon-rgb), 0.1),
    0 0 120px rgba(var(--neon-rgb), 0.1),
    inset 0 0 0 1px rgba(var(--neon-rgb), 0.07);
}

.intro-shell::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(var(--neon-rgb), 0.08);
  pointer-events: none;
}

.intro-shell::before {
  animation-duration: 3.6s;
}

.intro-skip {
  padding: 10px 16px;
  letter-spacing: 0.24em;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(200px, 240px);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.intro-side {
  position: relative;
  z-index: 1;
}

.intro-side-card {
  position: relative;
  min-height: 206px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(var(--neon-rgb), 0.14);
  background:
    linear-gradient(180deg, rgba(var(--neon-rgb), 0.04), rgba(0, 0, 0, 0.32)),
    rgba(0, 0, 0, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(var(--neon-rgb), 0.04),
    0 0 28px rgba(var(--neon-rgb), 0.05);
}

.intro-side-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--neon-rgb), 0.4), transparent);
}

.intro-side-label {
  margin-bottom: 18px;
  color: var(--cyber-blue);
  font-size: 11px;
  letter-spacing: 0.26em;
}

.intro-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(var(--neon-rgb), 0.06);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.intro-side-item:last-child {
  border-bottom: 0;
}

.intro-side-item span:last-child {
  color: var(--text);
}

.intro-side-graph {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 88px;
  margin: 10px 0 18px;
}

.intro-side-graph span {
  flex: 1;
  min-width: 14px;
  border: 1px solid rgba(var(--neon-rgb), 0.18);
  background: linear-gradient(180deg, rgba(var(--neon-rgb), 0.88), rgba(var(--neon-rgb), 0.16));
  box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.12);
  transform-origin: bottom;
  animation: intro-graph 2.6s ease-in-out infinite;
}

.intro-side-graph span:nth-child(1) {
  height: 34%;
  animation-delay: -0.2s;
}

.intro-side-graph span:nth-child(2) {
  height: 56%;
  animation-delay: -0.7s;
}

.intro-side-graph span:nth-child(3) {
  height: 88%;
  animation-delay: -1.05s;
}

.intro-side-graph span:nth-child(4) {
  height: 52%;
  animation-delay: -1.35s;
}

.intro-side-graph span:nth-child(5) {
  height: 70%;
  animation-delay: -1.7s;
}

.intro-side-copy {
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  opacity: 0.88;
}

.intro-brand {
  gap: 12px;
  margin-bottom: 0;
}

.intro-logo-wrap {
  width: 132px;
  height: 132px;
}

.intro-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(var(--neon-rgb), 0.1);
  transform: rotate(45deg);
}

.intro-logo-ring {
  border-color: rgba(var(--neon-rgb), 0.3);
  animation-duration: 2.2s;
}

.intro-logo-image {
  width: 82px;
  height: 82px;
  filter:
    drop-shadow(0 0 14px rgba(var(--neon-rgb), 0.46))
    drop-shadow(0 0 34px rgba(var(--neon-rgb), 0.22));
}

.intro-kicker {
  letter-spacing: 0.34em;
}

.intro-title {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0.22em;
  text-shadow:
    0 0 8px rgba(var(--neon-rgb), 0.9),
    0 0 28px rgba(var(--neon-rgb), 0.42),
    0 0 80px rgba(var(--neon-rgb), 0.2);
}

.intro-subtitle {
  max-width: 560px;
  line-height: 1.8;
  opacity: 0.88;
}

.intro-console,
.intro-trace {
  position: relative;
  border: 1px solid rgba(var(--neon-rgb), 0.16);
  background:
    linear-gradient(180deg, rgba(var(--neon-rgb), 0.03), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 0 1px rgba(var(--neon-rgb), 0.04);
}

.intro-console {
  padding: 22px;
  margin-bottom: 16px;
}

.intro-console::before,
.intro-trace::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 16px;
  width: 72px;
  height: 72px;
  border-top: 1px solid rgba(var(--neon-rgb), 0.12);
  border-right: 1px solid rgba(var(--neon-rgb), 0.12);
  opacity: 0.5;
}

.intro-trace {
  padding: 18px 20px;
}

.intro-console-head,
.intro-trace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.intro-badge,
.intro-trace-label {
  padding: 7px 11px;
  border: 1px solid rgba(var(--neon-rgb), 0.22);
  color: var(--neon);
  font-size: 11px;
  letter-spacing: 0.18em;
  background: rgba(var(--neon-rgb), 0.05);
}

.intro-percent,
.intro-trace-state {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.intro-progress {
  position: relative;
  height: 12px;
}

.intro-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-100%);
  animation: intro-scan 2.2s ease-in-out infinite;
  opacity: 0.6;
}

.intro-progress-bar {
  transition: width 0.18s linear;
}

.intro-status-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.intro-status-item {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 76px;
  gap: 10px;
  opacity: 0.34;
  transform: translateY(8px) scale(0.985);
}

.intro-status-item span:last-child {
  color: rgba(var(--neon-rgb), 0.65);
}

.intro-status-item.is-active {
  transform: translateY(0) scale(1);
}

.intro-trace-list {
  display: grid;
  gap: 8px;
}

.intro-trace-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(var(--neon-rgb), 0.08);
  background: rgba(255, 255, 255, 0.012);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.38;
  transform: translateY(8px);
  transition: all 0.24s ease;
}

.intro-trace-line span:first-child {
  color: var(--cyber-blue);
}

.intro-trace-line span:last-child {
  color: rgba(var(--neon-rgb), 0.7);
}

.intro-trace-line.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(var(--neon-rgb), 0.18);
  background: rgba(var(--neon-rgb), 0.05);
  box-shadow: 0 0 20px rgba(var(--neon-rgb), 0.06);
}

body.intro-active {
  overflow: hidden;
}

body.intro-active .container {
  transform: scale(0.974) translateY(8px);
  filter: blur(16px);
  opacity: 0.34;
  transition: transform 0.72s ease, filter 0.72s ease, opacity 0.72s ease;
}

body.intro-active .noti-panel-fixed,
body.intro-active .driver-popover,
body.intro-active .modal-overlay {
  opacity: 0;
  pointer-events: none;
}

@keyframes intro-graph {
  0%,
  100% {
    transform: scaleY(0.88);
    opacity: 0.72;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .intro-shell {
    width: min(92vw, 760px);
    padding: 44px 22px 24px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-side-card {
    min-height: 0;
  }

  .intro-status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .intro-shell {
    padding: 38px 16px 20px;
  }

  .intro-kicker {
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .intro-title {
    font-size: clamp(32px, 12vw, 52px);
    letter-spacing: 0.14em;
  }

  .intro-logo-wrap {
    width: 96px;
    height: 96px;
  }

  .intro-logo-image {
    width: 62px;
    height: 62px;
  }

  .intro-subtitle,
  .intro-side-copy {
    font-size: 11px;
  }

  .intro-console,
  .intro-trace {
    padding: 14px;
  }

  .intro-status-list {
    grid-template-columns: 1fr;
  }

  .intro-trace-line {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .intro-trace-line span:last-child {
    grid-column: 2;
    justify-self: start;
  }
}

.intro-shell {
  width: min(740px, calc(100vw - 72px));
  padding: 26px 22px 18px;
  border-radius: 30px;
  transform: scale(var(--intro-fit-scale, 1));
  transform-origin: center center;
  transition: transform 0.24s ease;
}

.intro-shell::after {
  inset: 12px;
  border-radius: 22px;
}

.intro-frame {
  left: 24px;
  right: 24px;
}

.intro-grid {
  grid-template-columns: minmax(132px, 154px) minmax(0, 1fr) minmax(146px, 176px);
  gap: 14px;
}

.intro-side-card {
  min-height: 138px;
  padding: 14px 14px 12px;
  border-radius: 20px;
}

.intro-brand {
  gap: 8px;
}

.intro-logo-wrap {
  width: 98px;
  height: 98px;
}

.intro-logo-image {
  width: 60px;
  height: 60px;
}

.intro-title {
  font-size: clamp(28px, 4.6vw, 48px);
  letter-spacing: 0.16em;
}

.intro-subtitle {
  max-width: 420px;
  font-size: 11px;
  line-height: 1.65;
}

.intro-side-copy,
.intro-side-item,
.intro-status-item,
.intro-trace-line,
.intro-enter-copy {
  font-size: 10px;
}

.intro-side-copy {
  line-height: 1.65;
}

.intro-console,
.intro-trace {
  border-radius: 22px;
}

.intro-console {
  padding: 14px 14px 12px;
  margin-bottom: 10px;
}

.intro-trace {
  padding: 14px 14px 12px;
}

.intro-console-head,
.intro-trace-head {
  margin-bottom: 10px;
}

.intro-badge,
.intro-trace-label {
  padding: 5px 9px;
  font-size: 10px;
}

.intro-percent,
.intro-trace-state,
.intro-metric {
  font-size: 11px;
}

.intro-progress {
  height: 10px;
}

.intro-status-list {
  gap: 8px;
}

.intro-status-item {
  min-height: 58px;
  padding: 10px 10px 9px;
  border-radius: 16px;
}

.intro-trace-list {
  gap: 6px;
}

.intro-trace-line {
  padding: 8px 10px;
  border-radius: 16px;
}

.intro-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding: 12px 14px 2px;
}

.intro-enter-copy {
  color: var(--text-dim);
  letter-spacing: 0.12em;
  opacity: 0.84;
}

.intro-enter {
  min-width: 196px;
  padding: 12px 18px;
  border: 1px solid rgba(var(--neon-rgb), 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--neon-rgb), 0.18), rgba(var(--neon-rgb), 0.08));
  color: var(--neon);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(var(--neon-rgb), 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
}

.intro-enter:disabled {
  cursor: default;
}

.intro-overlay.is-complete .intro-enter {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.intro-overlay.is-complete .intro-enter:hover {
  border-color: rgba(var(--neon-rgb), 0.48);
  box-shadow: 0 0 36px rgba(var(--neon-rgb), 0.2);
  transform: translateY(-1px) scale(1.01);
}

.intro-overlay.is-complete .intro-enter:focus-visible {
  outline: 0;
  border-color: rgba(var(--neon-rgb), 0.58);
  box-shadow: 0 0 0 3px rgba(var(--neon-rgb), 0.14), 0 0 36px rgba(var(--neon-rgb), 0.2);
}

.intro-overlay:not(.is-complete) .intro-enter-copy {
  opacity: 0.58;
}

@media (max-width: 960px) {
  .intro-shell {
    width: min(92vw, 640px);
    padding: 22px 16px 16px;
    border-radius: 28px;
  }

  .intro-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 6px 2px;
  }

  .intro-enter {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .intro-shell {
    width: min(94vw, 480px);
    padding: 20px 12px 14px;
    border-radius: 24px;
  }

  .intro-shell::after {
    inset: 10px;
    border-radius: 18px;
  }

  .intro-grid {
    gap: 14px;
  }

  .intro-side-card,
  .intro-console,
  .intro-trace,
  .intro-status-item,
  .intro-trace-line {
    border-radius: 16px;
  }

  .intro-actions {
    gap: 12px;
    margin-top: 10px;
  }

  .intro-enter-copy {
    font-size: 10px;
    text-align: center;
  }

  .intro-enter {
    padding: 13px 16px;
    font-size: 11px;
  }
}

/* Accent variable cleanup + responsive overrides */
.logo {
  text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon), 3px 3px 0 rgba(var(--cyber-rgb), 0.42);
}

html.light .logo {
  text-shadow: 2px 2px 0 rgba(var(--cyber-rgb), 0.18);
}

html.light .user-trigger,
html.light .user-widget-trigger {
  background: rgba(var(--neon-rgb), 0.08);
}

html.light .auth-input:focus,
html.light input:focus {
  box-shadow: 0 0 0 3px rgba(var(--neon-rgb), 0.15);
}

html.light .panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(var(--neon-rgb), 0.08));
  box-shadow: 0 2px 12px rgba(var(--cyber-rgb), 0.08);
}

html.light .panel-header {
  background: rgba(var(--neon-rgb), 0.05);
}

.dropdown-credit {
  text-shadow: 0 0 15px var(--neon), 0 0 30px rgba(var(--neon-rgb), 0.3);
}

.discord-id,
.vip-btn {
  background: rgba(var(--cyber-rgb), 0.1);
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.3);
}

.donors-marquee {
  background: rgba(var(--neon-rgb), 0.02);
  border-color: rgba(var(--neon-rgb), 0.08);
}

.modal-header {
  border-bottom-color: rgba(var(--neon-rgb), 0.2);
}

.modal-footer {
  border-top-color: rgba(var(--neon-rgb), 0.1);
}

#vpn-modal .vpn-list,
.question-bank,
.manual-practice-notice,
.result-box,
.result-box.active,
.skill-issue-content,
.terminal-content {
  background-color: rgba(var(--neon-rgb), 0.05);
}

.setting-input:focus,
.setting-select:focus,
.exam-search-input:focus,
.exam-answer-input:focus {
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.22);
}

.log-block.process {
  box-shadow: 0 0 15px rgba(var(--cyber-rgb), 0.2);
}

.log-block.success {
  box-shadow: 0 0 15px rgba(var(--neon-rgb), 0.2);
}

@media (max-width: 767px) {
  .header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .logo {
    font-size: clamp(18px, 7vw, 22px);
    letter-spacing: 2px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .header-actions > .status-indicator {
    order: 10;
    width: 100%;
    justify-content: center;
  }

  .header-actions > .btn,
  .header-actions > .theme-toggle,
  .header-actions > .color-picker-wrap,
  .header-actions > .user-widget {
    flex: 0 0 auto;
  }

  #quickStartBtn,
  .user-widget-trigger,
  .color-picker-trigger,
  .theme-toggle {
    min-height: 36px;
  }

  #quickStartBtn {
    padding: 8px 10px;
    font-size: 10px;
  }

  .theme-toggle,
  .color-picker-trigger {
    padding: 7px;
  }

  .user-widget-trigger {
    padding: 8px 12px;
  }

  .user-widget-name {
    max-width: 80px;
  }

  .dropdown-wrap.user-widget,
  .dropdown-wrap.color-picker-wrap {
    position: static;
  }

  .user-widget-dropdown,
  .color-picker-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 96px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
  }

  .color-swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid {
    gap: 10px;
  }

  .right-col-layout .log-panel--main .log {
    min-height: 260px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-left,
  .live-stats,
  .footer-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-left {
    flex-wrap: wrap;
  }

  .modal,
  .terminal-modal,
  #ban-modal,
  #deposit-modal-content {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
  }

  .modal-footer {
    flex-wrap: wrap;
  }

  .toast-root {
    left: 12px;
    right: 12px;
    top: 12px;
  }
}

