:root {
  --bg: #070a12;
  --sea: #0c1222;
  --sea-elevated: rgba(14, 20, 36, 0.72);
  --text: #e8ecf4;
  --muted: #8b95a8;
  --beam: rgba(255, 220, 160, 0.45);
  --accent: #f0c878;
  --accent-dim: rgba(240, 200, 120, 0.15);
  --border: rgba(120, 140, 180, 0.22);
  --border-focus: rgba(240, 200, 120, 0.55);
  --glass: rgba(12, 18, 34, 0.58);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --health: #8fd4b6;
  --wealth: #f0c878;
  --mind: #aeb8f4;
  --health-dim: rgba(120, 200, 160, 0.12);
  --wealth-dim: rgba(240, 200, 120, 0.14);
  --mind-dim: rgba(160, 180, 240, 0.12);
  --font-sans: "DM Sans", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --top-right-control-height: 32px;
  --top-right-inner-fill-ratio: 0.69;
  --site-locale-trigger-size: var(--top-right-control-height);
  --site-locale-icon-size: calc(
    var(--site-locale-trigger-size) * var(--top-right-inner-fill-ratio) / (16.5 / 24)
  );
  --home-topbar-control-border: rgba(230, 235, 243, 0.28);
  --home-topbar-control-bg: rgba(248, 250, 252, 0.06);
  --home-topbar-control-fg: #c4c8d2;
  --home-topbar-control-fg-hover: #f2f5fa;
  --home-topbar-control-border-hover: rgba(238, 242, 250, 0.62);
  --home-topbar-control-bg-hover: rgba(248, 250, 252, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sky-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(36, 52, 88, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(20, 28, 48, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(15, 22, 40, 0.35) 0%, transparent 35%),
    var(--bg);
}

.sky-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42vh;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 14, 28, 0.35) 45%,
    rgba(6, 10, 20, 0.85) 100%
  );
  pointer-events: none;
}

.sky-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 12%, rgba(255, 255, 255, 0.22) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 55%, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
}

/* 顶栏 */
.site-topbar {
  position: relative;
  z-index: 10;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 0;
}

.topbar-inner {
  max-width: min(960px, calc(100vw - 2rem));
  margin: 0 auto;
  position: relative;
  min-height: var(--top-right-control-height);
  padding: 0 0.25rem;
}

.topbar-home-link {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease;
}

.topbar-home-link:hover {
  color: var(--accent);
}

.header-right.top-right-tools {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.vizna-home .header-right.top-right-tools {
  gap: 16px;
}

.login-btn {
  text-decoration: none;
  color: var(--home-topbar-control-fg-hover);
  background: var(--home-topbar-control-bg);
  border: 1px solid var(--home-topbar-control-border);
  border-radius: 18px;
  padding: 0 11px;
  min-height: var(--top-right-control-height);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}

.site-locale-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-locale-picker__trigger {
  margin: 0;
  padding: 0;
  width: var(--site-locale-trigger-size);
  height: var(--site-locale-trigger-size);
  border-radius: 50%;
  border: 1px solid var(--home-topbar-control-border);
  background: var(--home-topbar-control-bg);
  color: var(--home-topbar-control-fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.site-locale-picker__trigger:hover,
.site-locale-picker.is-open .site-locale-picker__trigger {
  background: var(--home-topbar-control-bg-hover);
  color: var(--home-topbar-control-fg-hover);
  border-color: var(--home-topbar-control-border-hover);
  box-shadow: 0 0 20px rgba(240, 200, 120, 0.12);
}

.site-locale-picker__trigger:focus-visible {
  outline: 2px solid rgba(238, 242, 250, 0.38);
  outline-offset: 2px;
}

.site-locale-picker__icon {
  display: block;
  width: var(--site-locale-icon-size);
  height: var(--site-locale-icon-size);
}

.site-locale-picker__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1200;
  min-width: 168px;
  max-height: min(320px, 60vh);
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(230, 235, 243, 0.22);
  background-color: #121620;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.site-locale-picker__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background-color: transparent;
  color: #d8dee8;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.site-locale-picker__option:hover,
.site-locale-picker__option.is-active {
  background: #2a3344;
  color: #eef3fb;
}

.site-locale-picker__option.is-active {
  font-weight: 600;
}

.user-center .avatar {
  width: var(--top-right-control-height);
  height: var(--top-right-control-height);
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--home-topbar-control-bg);
  border: 1px solid var(--home-topbar-control-border);
  color: var(--home-topbar-control-fg);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.user-center:hover .avatar {
  border-color: var(--home-topbar-control-border-hover);
  background: var(--home-topbar-control-bg-hover);
  box-shadow: 0 0 18px rgba(240, 200, 120, 0.15);
}

.avatar-logo {
  width: 31px;
  height: 31px;
  display: block;
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
}

html[dir="rtl"] .site-locale-picker__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .site-locale-picker__option {
  text-align: right;
}

.beam {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    var(--beam) 48%,
    transparent 54%,
    transparent 100%
  );
  opacity: 0;
  transform: translateX(-120%);
}

.beam.sweep {
  animation: sweep 1.4s ease-out forwards;
}

@keyframes sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.wrap {
  width: 100%;
  max-width: min(960px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 4vw, 2rem) 3rem;
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  text-align: center;
  padding: 0.5rem 0 1.25rem;
}

.lighthouse-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 0.15rem;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  border: 1px dashed rgba(240, 200, 120, 0.18);
  box-shadow: 0 0 40px rgba(240, 200, 120, 0.08), inset 0 0 24px rgba(240, 200, 120, 0.04);
  animation: orbit-spin 48s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(120, 160, 220, 0.08);
}

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

.lighthouse-mark {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

.lighthouse-svg {
  width: 46px;
  height: 60px;
  filter: drop-shadow(0 0 16px rgba(240, 200, 120, 0.35));
}

.lighthouse-beacon {
  animation: beacon-pulse 3.5s ease-in-out infinite;
}

@keyframes beacon-pulse {
  0%,
  88%,
  100% {
    opacity: 0.35;
  }
  92% {
    opacity: 1;
  }
}

.brand-primary {
  margin: 0;
  font-size: clamp(2rem, 8vw, 2.45rem);
  letter-spacing: 0.14em;
  font-weight: 600;
  background: linear-gradient(180deg, #f4f6fa 0%, #c8d0e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-secondary {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

.tagline {
  margin: 0.65rem auto 0.85rem;
  max-width: 36em;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.pillar-creed {
  margin: 0 auto 0.85rem;
  padding: 0;
  max-width: 36em;
  border: none;
}

@media (min-width: 720px) {
  .pillar-creed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem 1.25rem;
    max-width: none;
    text-align: left;
  }

  .pillar-creed p {
    margin: 0;
    font-size: 0.85rem;
  }

  .pillar-creed p::before {
    display: block;
    content: none;
  }
}

.pillar-creed p {
  margin: 0.28rem 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b0bacc;
  font-weight: 400;
}

.pillar-creed p::before {
  content: "· ";
  color: var(--accent);
  opacity: 0.85;
}

.creed-card {
  border-radius: var(--radius-sm);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

@media (min-width: 720px) {
  .creed-card {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    background: rgba(8, 12, 22, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .creed-card:hover {
    transform: translateY(-2px);
  }

  .creed-card--health {
    border-color: rgba(120, 200, 160, 0.28);
    background: linear-gradient(165deg, var(--health-dim), rgba(8, 12, 22, 0.5));
  }

  .creed-card--wealth {
    border-color: rgba(240, 200, 120, 0.32);
    background: linear-gradient(165deg, var(--wealth-dim), rgba(8, 12, 22, 0.5));
  }

  .creed-card--mind {
    border-color: rgba(160, 180, 240, 0.28);
    background: linear-gradient(165deg, var(--mind-dim), rgba(8, 12, 22, 0.5));
  }

  .creed-card--health {
    color: #c4e8d8;
  }

  .creed-card--wealth {
    color: #f5e2b8;
  }

  .creed-card--mind {
    color: #d0d8f8;
  }
}

.hero-fade {
  height: 1px;
  margin: 0 auto 1.15rem;
  max-width: min(720px, 88%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 200, 120, 0.35) 20%,
    rgba(140, 170, 220, 0.25) 50%,
    rgba(120, 200, 160, 0.3) 80%,
    transparent
  );
  opacity: 0.75;
}

.agent-kernel {
  margin: 0.5rem auto 0;
  max-width: 36em;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0.92;
}

.hero--compact {
  padding-bottom: 0.75rem;
}

.hero--compact .brand-secondary {
  text-align: center;
  margin-bottom: 0.5rem;
}

.pillar-creed--compact {
  margin-bottom: 0.5rem;
}

.pillar-creed--compact p {
  font-size: 0.82rem;
}

.auth-wrap {
  padding-top: 0.75rem;
}

.auth-shell {
  max-width: 440px;
  margin: 0 auto;
  padding-top: 1.15rem;
}

.auth-shell .auth-panel {
  max-width: none;
  position: relative;
  z-index: 1;
}

.auth-shell .auth-tabs {
  position: relative;
  z-index: 1;
}

body[data-page="auth"] .auth-tabs {
  max-width: none;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.pillar {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #a8b2c4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pillar:nth-child(1) {
  border-color: rgba(120, 200, 160, 0.35);
  color: #9fd4b8;
}
.pillar:nth-child(2) {
  border-color: rgba(240, 200, 120, 0.35);
  color: var(--accent);
}
.pillar:nth-child(3) {
  border-color: rgba(160, 180, 240, 0.35);
  color: #b8c4f0;
}

.locale-fallback-note {
  margin: 0.5rem auto 0;
  max-width: 24em;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Main panel */
.glass-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.75rem) 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(16, 22, 38, 0.72), var(--glass));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.glass-panel__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 38%,
    transparent 100%
  );
  opacity: 0.55;
}

.glass-panel__shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 200, 120, 0.45), transparent);
}

.glass-panel__row {
  position: relative;
  z-index: 1;
}

.compose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.15rem 0 0;
}

@media (min-width: 720px) {
  textarea#message {
    min-height: 7rem;
  }

  .one-liner {
    font-size: 1.08rem;
  }
}

.silent-default {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(120, 140, 180, 0.22);
  background: rgba(0, 0, 0, 0.12);
  line-height: 1.5;
}

.timeline-section {
  margin-bottom: 1rem;
}

.timeline-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(8, 12, 22, 0.45);
  max-height: min(200px, 28vh);
  overflow-y: auto;
}

@media (min-width: 720px) {
  .timeline-list {
    max-height: 220px;
  }
}

.timeline-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  font: inherit;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.timeline-item + .timeline-item {
  border-top: 1px solid rgba(120, 140, 180, 0.12);
}

.timeline-item button:hover {
  background: var(--accent-dim);
  border-left-color: var(--accent);
}

.timeline-meta {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.12rem;
}

.timeline-teaser {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
}

.depth-field {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.depth-field legend {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  padding: 0;
}

.depth-segment__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.depth-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.depth-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.depth-opt span {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.depth-opt input:checked + span {
  background: linear-gradient(135deg, rgba(201, 160, 74, 0.35), rgba(240, 200, 120, 0.25));
  color: #fff8eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #b4bdd0;
}

textarea,
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  background: rgba(4, 8, 16, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea::placeholder {
  color: rgba(139, 149, 168, 0.75);
}

textarea:focus,
.field input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(240, 200, 120, 0.12);
}

.voice-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.voice-hint.listening {
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.85rem;
}

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: linear-gradient(135deg, #d4ad5a, var(--accent));
  color: #1a1208;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(240, 200, 120, 0.25);
}

.btn-illuminate {
  min-width: min(100%, 12rem);
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-illuminate {
    width: 100%;
    padding: 0.72rem 1rem;
  }
}

.btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 22px rgba(240, 200, 120, 0.32);
}

.btn.voice {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 400;
}

.btn.voice:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.voice.listening {
  border-color: var(--accent);
  color: #1a1208;
  background: var(--accent);
  animation: voice-pulse 1.2s ease-in-out infinite;
}

@keyframes voice-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 200, 120, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(240, 200, 120, 0);
  }
}

.chk {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}

.chk input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.card {
  margin-top: 1.15rem;
  padding: 1.05rem 1.15rem 1.1rem 1.25rem;
  background: linear-gradient(145deg, rgba(10, 14, 28, 0.92), rgba(8, 12, 22, 0.88));
  border: 1px solid rgba(240, 200, 120, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--wealth), rgba(240, 200, 120, 0.35));
  border-radius: 3px 0 0 3px;
}

.card.is-lit {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 48px rgba(240, 200, 120, 0.12), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-label {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.one-liner {
  margin: 0;
  line-height: 1.6;
  font-size: 1.03rem;
}

.questions {
  margin: 0.85rem 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.questions li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  border-top: 1px solid rgba(120, 140, 180, 0.12);
}

.questions li:first-child {
  border-top: none;
  padding-top: 0.15rem;
}

.questions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
  box-shadow: 0 0 8px rgba(240, 200, 120, 0.35);
}

.hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.85rem;
  text-align: center;
}

.hint.status-line:not(:empty) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 180, 0.2);
  background: rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.status-line.status--busy {
  border-color: rgba(240, 200, 120, 0.28);
  color: #dcc99a;
}

.status-line.status--ok {
  border-color: rgba(120, 200, 160, 0.35);
  color: #a8dcc4;
}

.status-line.status--err {
  border-color: rgba(240, 160, 120, 0.35);
  color: #f0b898;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Auth */
.auth-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.auth-tabs.segmented {
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 0.5rem 0.5rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.auth-tab.is-active {
  border-color: rgba(240, 200, 120, 0.25);
  color: #fff8eb;
  background: linear-gradient(135deg, rgba(201, 160, 74, 0.35), rgba(240, 200, 120, 0.22));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.auth-panel {
  max-width: 400px;
}

.auth-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.auth-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-switch a {
  color: var(--accent);
}

.auth-error {
  color: #f0a878;
  font-size: 0.85rem;
}

.auth-error.hidden {
  display: none !important;
}

@media (max-width: 400px) {
  .depth-segment__inner {
    grid-template-columns: 1fr;
  }
  .brand-secondary {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beam.sweep,
  .lighthouse-beacon,
  .btn.voice.listening,
  .hero-orbit {
    animation: none;
  }
  .card,
  .creed-card,
  .pillar {
    transition: none;
  }
}
