/* ============================================
   QUIROMANTE — Design tokens & global styles
   ============================================ */

:root {
  /* Surfaces */
  --bg-deep: #0D0A1E;
  --bg-elevated: #15102E;
  --bg-card: #1B1540;
  --bg-card-2: #221950;

  /* Gold */
  --gold: #C9A84C;
  --gold-light: #E8C975;
  --gold-dim: #8E7530;
  --gold-faint: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.35);

  /* Type */
  --cream: #F5F0E1;
  --cream-soft: #D8CFB5;
  --muted: #9C92B5;
  --muted-2: #6F6588;

  /* Accents */
  --purple-accent: #6B4FBB;
  --rose: #C68A9C;

  /* Lines */
  --hairline: rgba(201, 168, 76, 0.18);
  --hairline-soft: rgba(245, 240, 225, 0.08);

  /* Fonts */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-mystic: "Cinzel", "Trajan Pro", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* ============================================
   App shell — mobile-first, max 480px on desktop
   ============================================ */

.app-root {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
}

/* Desktop chrome around the phone container */
@media (min-width: 481px) {
  .app-root {
    background:
      radial-gradient(ellipse at 50% 0%, #1A1438 0%, #0D0A1E 50%, #07051A 100%);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
  }
}

.app-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 481px) {
  .app-frame {
    min-height: min(900px, calc(100dvh - 64px));
    height: min(900px, calc(100dvh - 64px));
    border-radius: 36px;
    border: 1px solid var(--hairline);
    box-shadow:
      0 0 0 1px rgba(201, 168, 76, 0.06),
      0 30px 80px -20px rgba(0, 0, 0, 0.7),
      0 0 120px rgba(107, 79, 187, 0.15);
  }
}

/* ============================================
   Background — starfield + soft glow
   ============================================ */

.bg-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-stars::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 79, 187, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--cream);
  border-radius: 50%;
  opacity: 0.7;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.star.lg { width: 2px; height: 2px; box-shadow: 0 0 4px rgba(245, 240, 225, 0.6); }
.star.gold { background: var(--gold-light); box-shadow: 0 0 4px var(--gold-glow); }

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ============================================
   Screen container + transitions
   ============================================ */

.screen {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  animation: screenIn 600ms var(--ease-out);
}

@media (min-width: 481px) {
  .screen { min-height: min(900px, calc(100dvh - 64px)); }
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Wordmark
   ============================================ */

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mystic);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

.wordmark-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ============================================
   Typography
   ============================================ */

.eyebrow {
  font-family: var(--font-mystic);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display-xl { font-size: clamp(36px, 9vw, 44px); }
.display-lg { font-size: clamp(30px, 7.5vw, 36px); }
.display-md { font-size: clamp(24px, 6vw, 28px); }

.body-lg {
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-soft);
  text-wrap: pretty;
}

.body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-soft);
  text-wrap: pretty;
}

.body-sm {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.caption {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms;
  position: relative;
  overflow: hidden;
  width: 100%;
}

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

.btn-primary {
  background: linear-gradient(180deg, #D9B85A 0%, #B89238 100%);
  color: #1A1438;
  box-shadow:
    0 0 0 1px rgba(232, 201, 117, 0.5) inset,
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 12px 32px -8px rgba(201, 168, 76, 0.45),
    0 0 40px rgba(201, 168, 76, 0.15);
  font-weight: 600;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 4s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 60% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover { background: var(--gold-faint); border-color: var(--gold-dim); }

.btn-ghost {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-mystic);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 12px 16px;
  height: auto;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.card-ornate {
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--hairline);
}

/* Ornamental corner marks */
.corner-marks {
  position: absolute;
  inset: 8px;
  pointer-events: none;
}
.corner-marks::before,
.corner-marks::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold-dim);
  opacity: 0.6;
}
.corner-marks::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-marks::after { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ============================================
   Hand illustration container
   ============================================ */

.hand-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hand-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(107, 79, 187, 0.2) 0%, transparent 70%);
  filter: blur(8px);
  animation: aura 6s ease-in-out infinite;
}

@keyframes aura {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ============================================
   Hero specific
   ============================================ */

.hero-screen {
  justify-content: space-between;
  padding-top: 28px;
}

.hero-top { padding-top: 16px; }

.hero-hand-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 8px 0;
}

.hero-text { text-align: center; }
.hero-text .display { margin-bottom: 16px; }
.hero-text .body-lg { max-width: 38ch; margin: 0 auto; }

.hero-footer { padding-top: 28px; }

.hero-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-dim);
}

/* ============================================
   Upload screen
   ============================================ */

.upload-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 24px;
  border: 1.5px dashed var(--gold-dim);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  cursor: pointer;
  transition: all 300ms var(--ease-out);
  overflow: hidden;
}

.upload-area:hover { border-color: var(--gold); background: rgba(201, 168, 76, 0.05); }

.upload-area.has-image {
  border-style: solid;
  border-color: var(--gold);
  padding: 0;
}

.upload-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.05);
}

.upload-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 50%,
    rgba(13, 10, 30, 0.6) 90%,
    rgba(13, 10, 30, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.upload-retake {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(13, 10, 30, 0.7);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--cream);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.upload-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(107, 79, 187, 0.1);
  border: 1px solid rgba(107, 79, 187, 0.25);
  border-radius: 14px;
  margin-top: 16px;
}

.upload-tip-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--gold-light);
  margin-top: 1px;
}

/* ============================================
   Loading screen
   ============================================ */

.loading-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 36px;
}

.loading-geometry {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geometry-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hairline);
}

.geometry-ring.r1 { inset: 0; animation: spin-slow 30s linear infinite; }
.geometry-ring.r2 { inset: 24px; animation: spin-slow 22s linear infinite reverse; border-color: rgba(201, 168, 76, 0.25); }
.geometry-ring.r3 { inset: 48px; animation: spin-slow 16s linear infinite; border-style: dashed; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-status {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loading-message {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
  animation: messageIn 600ms var(--ease-out);
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading-progress {
  width: 200px;
  height: 1px;
  background: var(--hairline-soft);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.loading-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 60%;
  animation: progressSlide 2s ease-in-out infinite;
}

@keyframes progressSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ============================================
   Paywall
   ============================================ */

.paywall-header {
  text-align: center;
  margin-bottom: 24px;
}

.paywall-checkmark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.paywall-checkmark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.reading-preview {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px 22px 28px;
  position: relative;
  overflow: hidden;
}

.preview-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-section:last-child { border-bottom: none; }
.preview-section:first-child { padding-top: 6px; }

.preview-section-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: rgba(201, 168, 76, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.preview-section-text { flex: 1; }
.preview-section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 4px;
}

.preview-blur-line {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.3), rgba(245, 240, 225, 0.15));
  filter: blur(2px);
  margin-bottom: 4px;
  opacity: 0.6;
}

.preview-section-lock {
  color: var(--gold-dim);
  flex-shrink: 0;
}

.price-block {
  text-align: center;
  margin: 24px 0 18px;
}

.price-block .eyebrow { margin-bottom: 8px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-amount .currency {
  font-size: 22px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.price-amount .cents {
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(245, 240, 225, 0.03);
  border-radius: 12px;
  margin-bottom: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.trust-item svg { color: var(--gold); flex-shrink: 0; }

.fine-print {
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ============================================
   Result screen
   ============================================ */

.result-header {
  text-align: center;
  padding: 12px 0 24px;
  position: relative;
}

.result-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 28px;
  color: var(--gold-dim);
}

.result-divider::before,
.result-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.result-divider-mark {
  font-family: var(--font-mystic);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.reading-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 24px;
  margin-bottom: 16px;
  position: relative;
}

.reading-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reading-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background:
    radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.reading-card-titles { flex: 1; }
.reading-card-eyebrow {
  font-family: var(--font-mystic);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.reading-card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
  line-height: 1.2;
}

.reading-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-soft);
  margin-bottom: 12px;
}

.reading-card-body p:last-child { margin-bottom: 0; }

.share-btn {
  margin: 20px 0 28px;
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
}

.share-btn:hover { background: var(--gold-faint); border-color: var(--gold); }

.upsell-card {
  background:
    radial-gradient(ellipse at top right, rgba(107, 79, 187, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 24px;
  margin-bottom: 24px;
}

.upsell-eyebrow {
  font-family: var(--font-mystic);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.upsell-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 8px;
  text-wrap: balance;
}

.upsell-body {
  font-size: 14px;
  color: var(--cream-soft);
  margin-bottom: 18px;
  text-wrap: pretty;
}

/* ============================================
   Header bar (back button)
   ============================================ */

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all 200ms;
}

.icon-btn:hover { background: var(--gold-faint); border-color: var(--gold-dim); }

/* ============================================
   Utility
   ============================================ */

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.center-text { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.hidden-input { display: none; }

/* Pulse for icons */
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 6px var(--gold-glow)); }
  50% { filter: drop-shadow(0 0 14px var(--gold-glow)); }
}

.glow { animation: glowPulse 3s ease-in-out infinite; }

/* Line draw animation for hand */
@keyframes lineDraw {
  from { stroke-dashoffset: var(--len, 200); }
  to { stroke-dashoffset: 0; }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Hide scrollbar but allow scroll */
.scroll-region {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}

/* ============================================
   Dev navigation (prototype screen jumper)
   Sits outside the phone frame on desktop.
   ============================================ */

.dev-nav-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

.dev-nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1B1540, #15102E);
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  font-family: var(--font-mystic);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 76, 0.1);
  transition: transform 200ms;
}
.dev-nav-toggle:hover { transform: scale(1.05); }

.dev-nav {
  background: linear-gradient(180deg, #1B1540 0%, #15102E 100%);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px;
  min-width: 200px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.dev-nav-label {
  font-family: var(--font-mystic);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

.dev-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--cream-soft);
  text-align: left;
  transition: background 150ms;
}

.dev-nav-item:hover { background: rgba(201, 168, 76, 0.08); }
.dev-nav-item.is-active {
  background: rgba(201, 168, 76, 0.12);
  color: var(--cream);
}

.dev-nav-num {
  font-family: var(--font-mystic);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  width: 22px;
}

@media (max-width: 480px) {
  .dev-nav-wrap { bottom: 12px; right: 12px; }
}
