* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0a14;
  color: #DDE0F0;
  min-height: 100vh;
}

.hidden { display: none !important; }

/* Navbar */
.navbar {
  background: #12121e;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #00e5ff;
  box-shadow: 0 2px 20px rgba(0, 229, 255, 0.3);
}
.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: #00e5ff;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.nav-user {
  color: #DDE0F0;
  font-size: 14px;
}

/* Login */
.login-card {
  max-width: 400px;
  margin: 120px auto;
  text-align: center;
  background: #12121e;
  padding: 48px 32px;
  border-radius: 12px;
  border: 1px solid #00e5ff;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}
.login-card h1 {
  font-size: 32px;
  color: #00e5ff;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}
.login-card p {
  color: #888;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-twitch { background: #9147ff; color: #fff; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #0099cc);
  color: #0a0014;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}
.btn-primary:hover { box-shadow: 0 0 25px rgba(0, 229, 255, 0.5); }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn:not(.btn-twitch):not(.btn-primary):not(.btn-danger) { background: #1a1a2e; color: #DDE0F0; border: 1px solid #2a2a3e; }

/* Container */
.container { max-width: 1150px; margin: 0 auto; padding: 24px; }

/* Status bar */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #12121e;
  border-radius: 8px;
  border: 1px solid #1a1a2e;
}

/* Overlay info */
.overlay-info {
  margin-bottom: 24px;
  padding: 16px;
  background: #12121e;
  border-radius: 8px;
  border: 1px solid #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}
.overlay-info h3 { color: #00e5ff; margin-bottom: 8px; }
.overlay-info label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.overlay-url-row { display: flex; gap: 8px; }
.overlay-url-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #00e5ff;
  border-radius: 4px;
  background: #0a0014;
  color: #ffaa00;
  font-family: monospace;
  font-size: 13px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}
.tab {
  padding: 10px 20px;
  background: #12121e;
  border: 1px solid #1a1a2e;
  border-radius: 6px 6px 0 0;
  color: #888;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active {
  background: #0a0014;
  border-color: #00e5ff;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

/* Dashboard sidebar layout */
.dashboard-layout { display: flex; gap: 24px; align-items: flex-start; }
.dashboard-layout .tabs.sidebar {
  flex: 0 0 210px;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 0;
  position: sticky;
  top: 16px;
}
.dashboard-layout .tab {
  text-align: left;
  border-radius: 6px;
  width: 100%;
  border-left: 3px solid transparent;
}
.dashboard-layout .tab.active {
  border-left-color: #00e5ff;
}
.dashboard-main { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-layout .tabs.sidebar {
    flex: none;
    flex-direction: row;
    position: static;
    overflow-x: auto;
  }
  .dashboard-layout .tab { width: auto; white-space: nowrap; }
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 18px; }

/* Commands table */
.commands-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.commands-table th, .commands-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #1a1a2e;
}
.commands-table th {
  color: #00e5ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.commands-table thead th {
  position: sticky;
  top: 0;
  background: #0a0a14;
  z-index: 2;
  border-bottom: 1px solid #1a1a2e;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.cmd-name { font-weight: 600; color: #00e5ff; font-family: monospace; }
.cmd-response {
  max-width: 400px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.4;
}
.clip-group-label, .group-label {
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  background: rgba(0, 229, 255, 0.05);
  border-top: 1px solid #2a2a3e;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-info { background: #15689A; color: #fff; }
.badge-stream_info { background: linear-gradient(135deg, #00e5ff, #0099cc); color: #0a0014; }
.badge-fun { background: linear-gradient(135deg, #ffaa00, #ff6600); color: #0a0014; }
.badge-mod { background: #e74c3c; color: #fff; }
.badge-utility { background: #9147ff; color: #fff; }
.badge-custom { background: #2ecc71; color: #fff; }
.badge.on { background: #2b1a00; color: #ffdd57; border: 1px solid #ffdd57; }
.badge.off { background: #002b18; color: #3ddc84; border: 1px solid #3ddc84; }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: #1a1a2e; border-radius: 11px; cursor: pointer; transition: 0.3s;
  border: 1px solid #2a2a3e;
}
.toggle-slider::before {
  content: ""; position: absolute; height: 16px; width: 16px;
  left: 3px; bottom: 3px; background: #666; border-radius: 50%; transition: 0.3s;
}
.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, #00e5ff, #0099cc);
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); background: #fff; }

/* Add command form */
.add-command-panel {
  margin-bottom: 16px;
  padding: 12px;
  background: #12121e;
  border-radius: 8px;
  border: 1px solid #1a1a2e;
}
.add-command-panel .form-grid {
  margin-bottom: 8px;
}
.add-command-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.add-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: #12121e;
  border-radius: 8px;
  border: 1px solid #1a1a2e;
}
.add-form input {
  padding: 8px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 4px;
  background: #0a0014;
  color: #DDE0F0;
  font-size: 13px;
}
.add-form input:focus {
  outline: none;
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.add-form input:first-child { flex: 0 0 150px; }

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 12px; color: #00e5ff; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input {
  padding: 10px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  background: #12121e;
  color: #DDE0F0;
  font-size: 14px;
}
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  background: #12121e;
  color: #DDE0F0;
  font: inherit;
  font-size: 14px;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: monospace;
}
.form-group input:focus {
  outline: none;
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.form-help {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.security-filter-panel {
  margin: 20px 0;
  padding: 16px;
  background: #12121e;
  border: 1px solid #1a1a2e;
  border-radius: 8px;
}

.timer-add-form {
  flex-wrap: wrap;
}

.timer-add-form textarea {
  flex: 1 1 100%;
  min-width: 100%;
  padding: 8px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 4px;
  background: #0a0014;
  color: #DDE0F0;
  font: inherit;
  resize: vertical;
}

.timer-card {
  margin-top: 14px;
  padding: 16px;
  background: #12121e;
  border: 1px solid #1a1a2e;
  border-radius: 8px;
}

.timer-card-header,
.timer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timer-name-input,
.timer-interval-input,
.timer-messages-input {
  padding: 9px 10px;
  border: 1px solid #2a2a3e;
  border-radius: 5px;
  background: #0a0014;
  color: #DDE0F0;
  font: inherit;
}

.timer-name-input {
  flex: 1;
  color: #00e5ff;
  font-weight: 600;
}

.timer-fields {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  margin: 14px 0;
}

.timer-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #00e5ff;
  font-size: 12px;
  text-transform: uppercase;
}

.timer-messages-input {
  min-height: 90px;
  resize: vertical;
  font-family: monospace;
  text-transform: none;
}

.timer-actions {
  justify-content: flex-start;
}

@media (max-width: 650px) {
  .timer-fields {
    grid-template-columns: 1fr;
  }
}

.inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00e5ff;
  font-size: 13px;
  cursor: pointer;
}

.inline-toggle input {
  accent-color: #00e5ff;
}

.muted { color: #666; font-size: 13px; margin-bottom: 16px; }

.favorite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #12121e;
  border-radius: 6px;
  margin-bottom: 6px;
  border: 1px solid #1a1a2e;
  transition: border-color 0.2s;
}
.favorite-row:hover {
  border-color: #00e5ff;
}
.fav-username {
  font-weight: 600;
  color: #00e5ff;
  font-family: monospace;
}

.social-command-list {
  margin-bottom: 24px;
}

.social-command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #12121e;
  border: 1px solid #1a1a2e;
  border-radius: 6px;
}

.social-command-name {
  color: #00e5ff;
  font-family: monospace;
  font-weight: 600;
}

.social-command-description {
  margin-top: 3px;
  color: #888;
  font-size: 12px;
}

.theme-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.theme-card {
  cursor: pointer;
  border: 2px solid #1a1a2e;
  border-radius: 8px;
  padding: 12px;
  background: #12121e;
  transition: all 0.2s;
  text-align: center;
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
}

.theme-card:hover {
  border-color: #00e5ff;
}

.theme-card.selected {
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.theme-name {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #DDE0F0;
}

.theme-card.selected .theme-name {
  color: #00e5ff;
}

.theme-preview {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-top {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-title {
  display: block;
  max-width: 95%;
  overflow: hidden;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-video {
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-placeholder {
  color: #555;
  font-size: 10px;
  font-style: italic;
}

.preview-bottom {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-bot {
  display: block;
  max-width: 95%;
  overflow: hidden;
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-preview-default {
  border: 1px solid #1BDDF1;
}

.theme-preview-default .preview-top {
  background: linear-gradient(135deg, #15689A, #212330);
  border-bottom: 1px solid #1BDDF1;
}

.theme-preview-default .preview-title {
  color: #DDE0F0;
}

.theme-preview-default .preview-bottom {
  background: linear-gradient(135deg, #212330, #15689A);
  border-top: 1px solid #1BDDF1;
}

.theme-preview-default .preview-bot {
  color: #1BDDF1;
}

.theme-preview-nord {
  border: 1px solid #88c0d0;
}

.theme-preview-nord .preview-top {
  background: linear-gradient(135deg, #3b4252, #2e3440);
  border-bottom: 1px solid #88c0d0;
}

.theme-preview-nord .preview-title {
  color: #eceff4;
}

.theme-preview-nord .preview-bottom {
  background: linear-gradient(135deg, #2e3440, #3b4252);
  border-top: 1px solid #81a1c1;
}

.theme-preview-nord .preview-bot {
  color: #88c0d0;
}

.theme-preview-gradient {
  border: 1px solid transparent;
  border-image: none;
  border-radius: 8px;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(135deg, #00e5ff, #ff00ff, #ffaa00) border-box;
}

.theme-preview-gradient .preview-top {
  background: linear-gradient(90deg, #00e5ff, #ff00ff);
}

.theme-preview-gradient .preview-title {
  color: #ffffff;
}

.theme-preview-gradient .preview-bottom {
  background: linear-gradient(90deg, #ff00ff, #ffaa00);
}

.theme-preview-gradient .preview-bot {
  color: #ffffff;
}

.theme-preview-bumblebee {
  border: 2px solid #ffc400;
  border-radius: 8px;
  background: #0d0d0d;
  box-shadow: 0 0 0 2px #0d0d0d, 0 0 8px rgba(255, 196, 0, 0.55);
}

.theme-preview-bumblebee .preview-top {
  background: #ffc400;
  border-bottom: 2px solid #0d0d0d;
  box-shadow: 0 2px 0 #7a5c00;
}

.theme-preview-bumblebee .preview-title {
  color: #0d0d0d;
}

.theme-preview-bumblebee .preview-video {
  background: #000;
}

.theme-preview-bumblebee .preview-bottom {
  background: #141414;
  border-top: 2px solid #ffc400;
}

.theme-preview-bumblebee .preview-bot {
  color: #ffc400;
}

.theme-preview-neurotic {
  border: 2px solid #00e5ff;
  border-radius: 8px;
  background: #0a141c;
  box-shadow: 0 0 0 2px #0a141c, 0 0 8px rgba(0, 229, 255, 0.55);
}

.theme-preview-neurotic .preview-top {
  background: linear-gradient(180deg, #10222f, #0a141c);
  border-bottom: 2px solid #00e5ff;
  box-shadow: inset 0 -1px 0 #5c6f82;
}

.theme-preview-neurotic .preview-title {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.8);
}

.theme-preview-neurotic .preview-bottom {
  background: #0a141c;
  border-top: 2px solid #5c6f82;
}

.theme-preview-neurotic .preview-bot {
  color: #00e5ff;
}

.theme-preview-terminal {
  border: 1px solid #00ff66;
  border-radius: 8px;
  background: #001008;
  box-shadow: inset 0 0 6px rgba(0, 255, 102, 0.25);
}

.theme-preview-terminal .preview-top {
  background: rgba(0, 24, 12, 0.95);
  border-bottom: 1px solid #00ff66;
}

.theme-preview-terminal .preview-title {
  color: #00ff66;
}

.theme-preview-terminal .preview-bottom {
  background: rgba(0, 24, 12, 0.95);
  border-top: 1px solid #00ff66;
}

.theme-preview-terminal .preview-bot {
  color: #66ff99;
}

.theme-preview-synthwave {
  border: 2px solid #ff2bd6;
  border-radius: 8px;
  background: #100021;
  box-shadow: inset 0 0 8px rgba(255, 43, 214, 0.35);
}

.theme-preview-synthwave .preview-top {
  background: linear-gradient(90deg, #210044, #5b075f, #210044);
  border-bottom: 2px solid #00e5ff;
}

.theme-preview-synthwave .preview-title {
  color: #ffffff;
  text-shadow: 1px 1px #ff2bd6;
}

.theme-preview-synthwave .preview-bottom {
  background: linear-gradient(90deg, #210044, #3a0752, #210044);
  border-top: 2px solid #ff2bd6;
  box-shadow: inset 0 1px 0 #00e5ff;
}

.theme-preview-synthwave .preview-bot {
  color: #00e5ff;
  text-shadow: 1px 0 #ff2bd6;
}

.theme-preview-monochrome {
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: #0b0b0b;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.12);
}

.theme-preview-monochrome .preview-top {
  background: #f2f2f2;
  border-bottom: 2px solid #ffffff;
}

.theme-preview-monochrome .preview-title {
  color: #080808;
}

.theme-preview-monochrome .preview-bottom {
  background: linear-gradient(180deg, #202020, #080808);
  border-top: 2px solid #ffffff;
}

.theme-preview-monochrome .preview-bot {
  color: #ffffff;
}

.theme-apply-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.theme-apply-row .muted {
  margin: 0;
}

/* Match the stream-widget settings header. */
.navbar {
  position: relative;
  justify-content: center;
  padding: 40px 24px 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  margin-bottom: 40px;
}

.nav-brand-wrap {
  text-align: center;
}

.navbar .nav-brand {
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1.2;
  background: linear-gradient(135deg, #00e5ff, #ff0080, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.nav-subtitle {
  margin: 0;
  color: #808080;
  font-size: 16px;
}

.navbar .nav-links {
  position: absolute;
  top: 18px;
  right: 24px;
}

/* Match the stream-widget dashboard palette. */
:root {
  --widget-bg: #0a0a14;
  --widget-panel: #12121e;
  --widget-border: #1a1a2e;
  --widget-border-light: #2a2a4a;
  --widget-cyan: #00e5ff;
  --widget-pink: #ff0080;
  --widget-yellow: #ffcc00;
  --widget-text: #ffffff;
  --widget-muted: #808080;
  --widget-secondary: #a0a0a0;
}

body {
  background: var(--widget-bg);
  color: var(--widget-text);
}

.navbar,
.login-card,
.status-bar,
.overlay-info,
.add-form,
.favorite-row,
.social-command-row,
.security-filter-panel,
.timer-card,
.theme-card {
  background: var(--widget-panel);
  border-color: var(--widget-border);
}

.navbar,
.overlay-info {
  border-color: var(--widget-cyan);
}

.navbar {
  border-bottom-color: var(--widget-cyan);
  box-shadow: 0 2px 20px rgba(0, 229, 255, 0.2);
}

.nav-brand,
.section-header h2,
.overlay-info h3,
.commands-table th,
.cmd-name,
.form-group label,
.social-command-name,
.fav-username,
.theme-card.selected .theme-name {
  color: var(--widget-cyan);
}

.nav-user,
.theme-name,
.form-group input,
.form-group select,
.form-group textarea,
.timer-name-input,
.timer-interval-input,
.timer-messages-input,
.add-form input,
.overlay-url-row input {
  color: var(--widget-text);
}

.muted,
.overlay-info label,
.social-command-description,
.form-help {
  color: var(--widget-muted);
}

.cmd-response {
  color: var(--widget-secondary);
}

.btn-primary,
.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--widget-cyan), #00b8d4);
}

.btn-primary {
  color: var(--widget-bg);
}

.btn:not(.btn-twitch):not(.btn-primary):not(.btn-danger),
.tab,
.form-group input,
.form-group select,
.form-group textarea,
.timer-name-input,
.timer-interval-input,
.timer-messages-input,
.add-form input,
.overlay-url-row input {
  background: var(--widget-bg);
  border-color: var(--widget-border-light);
}

.tab.active,
.theme-card:hover,
.favorite-row:hover {
  border-color: var(--widget-cyan);
}

.tab.active {
  color: var(--widget-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.toggle-slider {
  background: var(--widget-border);
  border-color: var(--widget-border-light);
}

.toggle-slider::before {
  background: var(--widget-muted);
}

.badge-info {
  background: var(--widget-border-light);
}

.badge-fun {
  background: linear-gradient(135deg, var(--widget-yellow), #d99f00);
  color: var(--widget-bg);
}

.theme-select {
  background: var(--widget-bg);
  border-color: var(--widget-cyan);
  color: var(--widget-text);
}

.navbar {
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 650px) {
  .theme-card {
    flex: 1 1 calc(50% - 8px);
    width: auto;
    max-width: none;
  }
}

/* Post-authorize mod-bot modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
.modal-card {
  max-width: 440px;
  width: 100%;
  background: #12121e;
  border: 1px solid #00e5ff;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}
.modal-card h2 { color: #00e5ff; margin-bottom: 12px; font-size: 22px; }
.modal-card p { color: #DDE0F0; font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.mod-cmd {
  display: block;
  background: #0a0a14;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  padding: 12px;
  font-size: 16px;
  color: #00e5ff;
  margin-bottom: 20px;
  user-select: all;
}
.modal-actions { display: flex; gap: 12px; justify-content: center; }
