/* ══════════════════════════════════════════
   SETTINGS — Split-Pane Navigation
   ══════════════════════════════════════════ */

/* ── Header (kept from app.html) ── */
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--header-grad);
  border-bottom: 1px solid var(--bdr);
}

/* ── Layout ── */
.stg-layout {
  display: flex;
  height: calc(100vh - 49px);
}
.stg-nav {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid var(--bdr);
  background: var(--sf);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.stg-detail {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}
.stg-detail.stg-anim {
  animation: stgFadeIn 0.2s ease-out;
}
.stg-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--dim);
  gap: 12px;
  opacity: 0.5;
}
.stg-empty p { font-size: 14px; }
.stg-nav-bar { display: none; }
.stg-back, .stg-forward { display: none; }

@keyframes stgFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Mobile: drill-down pattern ── */
@media (max-width: 640px) {
  .stg-layout {
    display: block;
    height: auto;
    min-height: calc(100vh - 49px);
  }
  .stg-nav {
    width: 100%;
    border-right: none;
    height: auto;
    background: transparent;
    backdrop-filter: none;
  }
  .stg-detail {
    padding: 16px;
  }
  .stg-layout.detail-open .stg-nav {
    display: none;
  }

  .stg-layout:not(.detail-open) .stg-detail {
    display: none;
  }
  .stg-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 12px;
  }
  .stg-back, .stg-forward {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--acc);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 4px 0;
  }
}

/* ═══════════════════════════════════
   NAVIGATION PANEL
   ═══════════════════════════════════ */

/* Search bar — liquid glass */
.stg-nav-search-wrap {
  padding: 12px 16px 4px;
}
.stg-nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--dim);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.stg-nav-search:focus-within {
  border-color: var(--acc);
  background: rgba(255,255,255,0.09);
}
.stg-nav-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tx);
  font-size: 13px;
  font-family: inherit;
}
.stg-nav-search-input::placeholder {
  color: var(--dim);
  opacity: 0.7;
}
.stg-nav-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--dim);
  cursor: pointer;
  padding: 2px;
  border-radius: 50%;
  transition: color 0.15s ease;
}
.stg-nav-search-clear:hover {
  color: var(--wh);
}

/* Profile mini card */
.stg-nav-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--flat-divider);
  cursor: pointer;
  transition: background 0.15s ease;
}
.stg-nav-profile:hover {
  background: var(--subtle-bg);
}
.stg-nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--acc-subtle);
  border: 2px solid var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--acc);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
}
.stg-nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stg-nav-user { flex: 1; min-width: 0; }
.stg-nav-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--wh);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stg-nav-email {
  font-size: 11px;
  color: var(--dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav list */
.stg-nav-list {
  flex: 1;
  padding: 8px 0;
}
.stg-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--tx);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  border-left: 3px solid transparent;
  animation: fadeUp var(--anim-slow) var(--ease-out) both;
}
.stg-nav-item:hover {
  background: var(--subtle-bg);
}
.stg-nav-item.active {
  background: var(--acc-subtle);
  border-left-color: var(--acc);
}
.stg-nav-item.active .stg-nav-label {
  color: var(--acc);
}
.stg-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--acc-subtle);
  color: var(--acc);
}
.stg-nav-text { flex: 1; min-width: 0; }
.stg-nav-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--wh);
}
.stg-nav-desc {
  font-size: 11px;
  color: var(--dim);
  margin-top: 1px;
}
.stg-nav-chevron {
  color: var(--dim);
  flex-shrink: 0;
  opacity: 0.5;
}
.stg-nav-footer {
  padding: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  opacity: 0.5;
}

/* ═══════════════════════════════════
   DETAIL PANEL COMPONENTS
   ═══════════════════════════════════ */

.stg-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--wh);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s var(--ease-out) both;
}

/* Card */
.stg-card {
  border-radius: var(--r);
  background: var(--sf);
  border: 1px solid var(--bdr);
  box-shadow: var(--elev-1);
  overflow: hidden;
  margin-bottom: 16px;
  animation: fadeUp var(--anim-slow) var(--ease-out) 60ms both;
}
.stg-card + .stg-card {
  animation-delay: 120ms;
}
.stg-card + .stg-card + .stg-card {
  animation-delay: 180ms;
}

/* Danger card */
.stg-danger-card {
  border-color: var(--red-border);
  background: var(--red-soft);
}
.stg-danger-text { color: var(--red) !important; }

/* Row */
.stg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--flat-divider);
  transition: background 0.15s ease, transform var(--anim-fast) ease;
}
.stg-row:last-child { border-bottom: none; }
.stg-row.clickable { cursor: pointer; }
.stg-row.clickable:hover { background: var(--subtle-bg); }
.stg-row.clickable:active { background: var(--track-bg); transform: scale(0.99); }

.stg-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--acc-subtle);
  color: var(--acc);
}
.stg-row-body { flex: 1; min-width: 0; }
.stg-row-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--wh);
}
.stg-row-hint {
  font-size: 11px;
  color: var(--dim);
  margin-top: 1px;
}
.stg-row-hint.mono {
  font-family: "SF Mono", "JetBrains Mono", monospace;
  font-size: 10px;
  word-break: break-all;
}
.stg-row-action {
  color: var(--dim);
  flex-shrink: 0;
}

/* Button (small) */
.stg-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--bdr);
  cursor: pointer;
  background: transparent;
  color: var(--acc);
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.stg-btn:hover {
  background: var(--acc-subtle);
  border-color: var(--acc);
}
.stg-btn.danger {
  color: var(--red);
  border-color: var(--red-border);
}
.stg-btn.danger:hover {
  background: var(--red-soft);
}

/* Toggle */
.stg-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.stg-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.stg-toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bdr2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stg-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wh);
  transition: transform 0.2s ease;
}
.stg-toggle input:checked + .stg-toggle-track {
  background: var(--acc);
}
.stg-toggle input:checked + .stg-toggle-track::after {
  transform: translateX(20px);
}

/* Select */
.stg-select {
  background: var(--cd);
  border: 1px solid var(--bdr2);
  border-radius: var(--r2);
  color: var(--tx);
  font-size: 12px;
  font-family: inherit;
  padding: 5px 8px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}
.stg-select:focus {
  border-color: var(--acc);
  box-shadow: var(--focus-ring);
}

/* Badge */
.stg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-family: "SF Mono", "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.stg-badge.free { background: var(--subtle-bg); color: var(--dim); }
.stg-badge.premium { background: var(--acc-subtle); color: var(--acc); }

/* ═══════════════════════════════════
   PROFILE HERO
   ═══════════════════════════════════ */
.stg-profile-hero {
  display: flex;
  justify-content: center;
  padding: 24px 16px 16px;
}
.stg-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--acc-subtle);
  border: 3px solid var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acc);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
}
.stg-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════
   VISUAL STYLE PICKER
   ═══════════════════════════════════ */
.stg-style-picker {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}
.stg-style-card {
  flex: 1;
  padding: 14px 10px;
  border-radius: var(--r2);
  background: var(--cd);
  border: 2px solid var(--bdr);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}
.stg-style-card:hover {
  border-color: var(--bdr2);
}
.stg-style-card.active {
  border-color: var(--acc);
  background: var(--acc-subtle);
}
.stg-style-swatches {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}
.stg-style-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--bdr);
}
.stg-style-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--wh);
}
.stg-style-tag {
  font-size: 11px;
  color: var(--dim);
  margin-top: 2px;
}
.stg-style-check {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--acc);
}

/* ═══════════════════════════════════
   SOUND PICKER
   ═══════════════════════════════════ */
.stg-sound-list {
  padding: 0 16px 12px;
}
.stg-sound-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r2);
  transition: background 0.15s ease;
  margin-bottom: 2px;
}
.stg-sound-item.active {
  background: var(--acc-subtle);
}
.stg-sound-item:hover:not(.active) {
  background: var(--subtle-bg);
}
.stg-radio {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
.stg-radio input {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}
.stg-radio-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bdr2);
  transition: all 0.15s ease;
}
.stg-radio input:checked + .stg-radio-dot {
  border-color: var(--acc);
  background: var(--acc);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.stg-sound-info { flex: 1; min-width: 0; }
.stg-sound-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--wh);
}
.stg-sound-desc {
  font-size: 11px;
  color: var(--dim);
}
.stg-play-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ═══════════════════════════════════
   LOG VIEWER (Terminal Style)
   ═══════════════════════════════════ */
.stg-log-panel {
  margin-top: 16px;
  animation: fadeUp var(--anim-slow) var(--ease-out) 120ms both;
}

/* Filter tabs */
.stg-log-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.stg-log-tab {
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid var(--bdr);
  background: transparent;
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stg-log-tab:hover {
  border-color: var(--bdr2);
  color: var(--tx);
}
.stg-log-tab.active {
  background: var(--acc-subtle);
  border-color: var(--acc);
  color: var(--acc);
}
.stg-log-count {
  font-size: 10px;
  opacity: 0.7;
}

/* Search */
.stg-log-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--cd);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  margin-bottom: 8px;
  color: var(--dim);
}
.stg-log-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tx);
  font-size: 12px;
  font-family: inherit;
}
.stg-log-input::placeholder {
  color: var(--dim);
}

/* Terminal — theme-aware */
.stg-log-terminal {
  background: var(--cd);
  border-radius: var(--r2);
  border: 1px solid var(--bdr);
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.7;
  max-height: 450px;
  overflow-y: auto;
  padding: 12px;
  scrollbar-width: thin;
}
.stg-log-terminal::-webkit-scrollbar { width: 4px; }
.stg-log-terminal::-webkit-scrollbar-thumb { background: var(--bdr2); border-radius: 4px; }

.stg-log-empty {
  text-align: center;
  color: var(--dim);
  padding: 40px 0;
  font-size: 12px;
}
.stg-log-line {
  display: flex;
  gap: 8px;
  padding: 2px 0;
  white-space: nowrap;
  border-bottom: 1px solid var(--flat-divider);
}
.stg-log-line:last-child { border-bottom: none; }
.stg-log-ts {
  color: var(--dim);
  flex-shrink: 0;
  min-width: 110px;
}
.stg-log-tag {
  flex-shrink: 0;
  min-width: 56px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.stg-log-tag.system   { color: var(--acc); }
.stg-log-tag.error    { color: var(--red); }
.stg-log-tag.sync     { color: var(--grn); }
.stg-log-tag.auth     { color: var(--amb); }
.stg-log-tag.nav      { color: var(--cyn); }
.stg-log-tag.exam     { color: var(--acc); }
.stg-log-tag.feedback { color: var(--pur); }
.stg-log-tag.cert     { color: var(--cyn); }
.stg-log-msg {
  color: var(--tx2, var(--tx));
  overflow: hidden;
  text-overflow: ellipsis;
}
.stg-log-data {
  color: var(--dim);
  font-size: 10px;
}

/* Log actions bar */
.stg-log-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════
   HINT BOX
   ═══════════════════════════════════ */
.stg-hint-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r2);
  background: var(--acc-subtle);
  border: 1px solid rgba(10,132,255,0.15);
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 12px;
}

/* ═══════════════════════════════════
   INSTALL STEPS (modal — keep)
   ═══════════════════════════════════ */
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.install-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--tx);
  line-height: 1.5;
}
.install-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--text-on-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.install-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r2);
  background: var(--amb-soft);
  border: 1px solid var(--amb-border);
  color: var(--amb);
  font-size: 12px;
  margin-top: 12px;
}

/* ═══════════════════════════════════
   CERT PICKER — EDITORIAL
   ═══════════════════════════════════ */
.cp-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.cp-overlay.visible { opacity: 1; }
.cp-overlay.hiding { opacity: 0; }

.cp-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Hero ── */
.cp-hero {
  padding: 80px 0 0;
}
.cp-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--acc);
  margin-bottom: 20px;
}
.cp-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--wh);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}
.cp-hero-sub {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
  margin: 20px 0 0;
  max-width: 380px;
}

/* ── Proof line ── */
.cp-proof {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.02em;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Section labels ── */
.cp-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--acc);
  margin-bottom: 20px;
}

/* ── Certifications ── */
.cp-certs {
  padding-top: 40px;
}

/* Vendor filter pills */
.cp-vendors {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cp-vendor {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cp-vendor:hover:not(.locked) {
  color: var(--wh);
  border-color: rgba(255,255,255,0.15);
}
.cp-vendor.active {
  color: var(--acc);
  border-color: var(--acc);
}
.cp-vendor.locked {
  opacity: 0.3;
  cursor: default;
}

/* Cert rows — track listing style */
.cp-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: opacity 0.2s;
  opacity: 0;
  animation: cpFadeUp 0.4s var(--ease-out) forwards;
}
.cp-row:first-child {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cp-row:hover {
  opacity: 0.8;
}
.cp-row:hover .cp-row-arrow { opacity: 1; transform: translateX(3px); }
.cp-row:active { opacity: 0.6; }

@keyframes cpFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cp-row-left {
  flex: 1;
  min-width: 0;
}
.cp-row-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--wh);
  letter-spacing: -0.01em;
}
.cp-row-full {
  font-size: 12px;
  color: var(--dim);
  margin-top: 2px;
}
.cp-row-salary {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.cp-row-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cp-row-free {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grn);
  background: var(--grn-soft);
  padding: 2px 7px;
  border-radius: 3px;
}
.cp-row-premium {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--acc);
  background: var(--amb-soft);
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.cp-row-progress {
  font-size: 12px;
  font-weight: 700;
}
.cp-row-arrow {
  color: var(--dim);
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}

/* Empty state */
.cp-empty {
  padding: 48px 0;
  text-align: center;
}
.cp-empty-text {
  font-size: 14px;
  color: var(--dim);
}

/* ── Career timeline ── */
.cp-careers {
  padding-top: 40px;
}
.cp-careers-sub {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  margin: -12px 0 28px;
}
.cp-timeline {
  position: relative;
  padding-left: 28px;
}
.cp-tl-item {
  position: relative;
  padding-bottom: 28px;
}
.cp-tl-item.cp-tl-last {
  padding-bottom: 0;
}
.cp-tl-line {
  position: absolute;
  left: -22px;
  top: 10px;
  bottom: -18px;
  width: 2px;
  opacity: 0.2;
}
.cp-tl-last .cp-tl-line {
  display: none;
}
.cp-tl-dot {
  position: absolute;
  left: -25px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cp-tl-content {}
.cp-tl-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--wh);
}
.cp-tl-salary {
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

/* ── Footer ── */
.cp-footer {
  text-align: center;
  padding: 40px 0;
}
.cp-start-btn {
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  background: var(--acc);
  color: var(--text-on-color);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--elev-2);
}
.cp-start-btn:hover {
  box-shadow: var(--elev-3);
  transform: translateY(-1px);
}
.cp-start-btn:active {
  transform: scale(0.97);
}

/* Shake for locked vendors */
@keyframes cpShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── Trial banner ── */
.cp-trial-banner {
  margin: 24px 0;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--amb-border);
}
.cp-trial-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.cp-trial-sub {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 14px;
}
.cp-trial-btn {
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  background: var(--acc);
  color: var(--text-on-color);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cp-trial-btn:hover { transform: translateY(-1px); }
.cp-trial-btn:active { transform: scale(0.97); }

/* ── Trial gate overlay ── */
.cp-gate-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cp-gate-card {
  background: var(--cd);
  border-radius: var(--r);
  padding: 32px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  border: 1px solid var(--bdr);
}
.cp-gate-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: var(--dim);
  font-size: 22px;
  cursor: pointer;
  font-family: inherit;
}
.cp-gate-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cp-gate-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--wh);
  margin-bottom: 20px;
}
.cp-gate-trial-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background: var(--acc);
  color: var(--text-on-color);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cp-gate-trial-btn:hover { transform: translateY(-1px); }
.cp-gate-trial-btn:active { transform: scale(0.97); }
.cp-gate-fine {
  font-size: 11px;
  color: var(--dim);
  margin-top: 8px;
}
.cp-gate-skip {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--dim);
  text-decoration: none;
}
.cp-gate-skip:hover { color: var(--wh); }

/* ── Responsive ── */
@media (max-width: 480px) {
  .cp-hero { padding: 56px 0 0; }
  .cp-hero-title { font-size: 30px; }
  .cp-row-salary { font-size: 11px; }
  .cp-row-name { font-size: 14px; }
}

/* ══════════════════════════════════════
   DEVELOPER EASTER EGG
   ══════════════════════════════════════ */

/* Toast */
.dev-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card-bg);
  color: var(--acc);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--acc);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.dev-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ASCII banner */
.dev-ascii {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.2;
  color: var(--acc);
  text-align: center;
  overflow-x: auto;
  padding: 12px 8px;
  margin: 0;
  white-space: pre;
}

/* Confetti */
.party-confetti {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 12px;
  opacity: 0.9;
  animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Matrix canvas */
.matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 99999;
  cursor: pointer;
  transition: opacity 0.6s ease;
}

/* ── About Page ── */
.stg-about-hero {
  text-align: center;
  padding: 24px 16px;
}
.stg-about-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--acc), var(--pur));
  color: var(--text-on-accent);
  margin-bottom: 12px;
}
.stg-about-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.3px;
}
.stg-about-tagline {
  font-size: 13px;
  color: var(--dim);
  margin-top: 4px;
}
.stg-about-text {
  font-size: 13px;
  color: var(--tx2);
  line-height: 1.6;
  padding: 4px 16px 12px;
}
.stg-about-version {
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  padding: 16px 0 8px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.stg-about-version .icon-wrap,
.stg-about-version i { color: var(--red); }
