:root {
  --ink: #080808;
  --ink-2: #0f0f0f;
  --ink-3: #141414;
  --ink-warm: #111008;
  --gold: #D4AF37;
  --gold-dim: rgba(212,175,55,0.5);
  --gold-faint: rgba(212,175,55,0.12);
  --gold-glow: rgba(212,175,55,0.25);
  --cream: #f5f5f0;
  --cream-dim: rgba(245,245,240,0.45);
  --cream-faint: rgba(245,245,240,0.15);
  --red-dim: rgba(139,0,0,0.4);
  --border: rgba(255,255,255,0.07);
  --border-gold: rgba(212,175,55,0.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
  --header-h: 68px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body { height: 100%; background: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; -webkit-tap-highlight-color: transparent; }
input, textarea { font-family: var(--font-sans); }

/* SPLASH */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; align-items: center; justify-content: center; transition: opacity 0.7s ease; }
.splash.out { opacity: 0; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-ring { width: 110px; height: 110px; border-radius: 50%; border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; animation: ring-breathe 3s ease-in-out infinite; }
.splash-ring-inner { position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.15); }
@keyframes ring-breathe { 0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(212,175,55,0)} 50%{transform:scale(1.04);box-shadow:0 0 30px 0 rgba(212,175,55,0.1)} }
.splash-mark { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }
.splash-name { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 6px; }
.splash-sub { font-size: 11px; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 8px; }
.splash-by { font-family: var(--font-serif); font-style: italic; font-size: 13px; color: rgba(212,175,55,0.4); }

/* APP */
.app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--ink); }
.app.hidden { display: none; }

/* HEADER */
.app-header { flex-shrink: 0; height: calc(var(--header-h) + var(--safe-top)); padding: var(--safe-top) 20px 0; background: var(--ink); border-bottom: 1px solid rgba(212,175,55,0.1); display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 12px; position: relative; }
.app-header::after { content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.header-left { display: flex; align-items: center; gap: 11px; }
.header-ring { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.header-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.15); }
.header-mark { font-family: var(--font-serif); font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.05em; }
.header-name { font-family: var(--font-serif); font-size: 16px; font-weight: 500; color: var(--cream); line-height: 1.1; }
.header-sub { font-size: 9px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); margin-top: 2px; }
.header-thermo { text-align: right; }
.thermo-lbl { font-size: 8px; color: rgba(255,255,255,0.2); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; }
.thermo-track { width: 110px; height: 2px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: visible; position: relative; }
.thermo-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #8B0000, var(--gold), #FFD700); transition: width 2.5s cubic-bezier(.16,1,.3,1); width: 2.5%; position: relative; }
.thermo-fill::after { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.thermo-vals { display: flex; justify-content: space-between; font-size: 7px; color: rgba(255,255,255,0.18); margin-top: 5px; width: 110px; }

/* MAIN */
.main { flex: 1; overflow: hidden; position: relative; }
.screen { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.screen.active { opacity: 1; pointer-events: auto; }
.pad { padding: 28px 22px calc(var(--nav-h) + var(--safe-bottom) + 28px); }

/* TYPOGRAPHY */
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 14px; }
.hero-h { font-family: var(--font-serif); font-size: 36px; font-weight: 400; line-height: 1.2; color: var(--cream); margin-bottom: 8px; }
.hero-h em { font-style: italic; color: var(--gold); }
.hero-line { width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 16px; }
.hero-body { font-size: 13px; font-weight: 300; color: var(--cream-dim); line-height: 1.8; margin-bottom: 24px; }
.section-lbl { font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.pull-quote { font-family: var(--font-serif); font-style: italic; font-size: 14px; line-height: 1.65; color: rgba(212,175,55,0.8); border-left: 1px solid var(--border-gold); padding-left: 16px; border-radius: 0; margin-bottom: 16px; }
.body-text { font-size: 13px; font-weight: 300; color: var(--cream-dim); line-height: 1.8; margin-bottom: 22px; }
.body-text em { font-style: italic; color: rgba(255,255,255,0.7); }
.hint-text { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.2); margin-bottom: 10px; }
.gold-rule { width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold-dim), transparent); margin-bottom: 24px; }

/* DECLARATION CARD */
.decl-card { background: linear-gradient(145deg, #111008, #0d0c07); border: 1px solid var(--border-gold); border-radius: 22px; padding: 24px; margin-bottom: 22px; position: relative; overflow: hidden; }
.decl-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.card-eyebrow { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 14px; }
.decl-text { font-family: var(--font-serif); font-size: 16px; font-weight: 400; line-height: 1.75; color: var(--cream); margin-bottom: 20px; }
.speak-row { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: 0.06em; padding: 0; }
.speak-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold); flex-shrink: 0; }

/* NAV GRID */
.nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.nav-card { background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 18px 16px; text-align: left; transition: border-color 0.2s, background 0.2s; position: relative; overflow: hidden; }
.nav-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.12), transparent); }
.nav-card:active { background: var(--ink-3); border-color: var(--border-gold); }
.nav-card-ico { font-size: 22px; color: var(--gold-dim); margin-bottom: 12px; display: block; }
.nav-card-name { font-family: var(--font-serif); font-size: 14px; font-weight: 400; color: var(--cream); margin-bottom: 4px; }
.nav-card-desc { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.28); }

/* STREAK */
.streak-box { background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.streak-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.streak-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
.streak-ct { font-family: var(--font-serif); font-size: 14px; color: var(--gold); }
.streak-dots { display: flex; gap: 6px; }
.streak-dot { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.06); }
.streak-dot.done { background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }

/* COACH CTA */
.coach-cta { width: 100%; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #0f0d00, #1e1a00); border: 1px solid var(--border-gold); color: var(--gold); font-family: var(--font-serif); font-size: 16px; font-style: italic; font-weight: 400; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; position: relative; overflow: hidden; }
.coach-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.coach-cta i { font-size: 20px; }
.checkin-link { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: transparent; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.3); text-align: center; letter-spacing: 0.04em; }

/* COACH SCREEN */
.coach-wrap { display: flex; flex-direction: column; height: 100%; }
.coach-header { flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 16px 20px 14px; border-bottom: 1px solid rgba(212,175,55,0.1); background: var(--ink); position: relative; }
.coach-header::after { content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.coach-header-title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--cream); }
.coach-live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dim); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); animation: live-pulse 2s ease-in-out infinite; }
@keyframes live-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.coach-msgs { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 20px 12px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 90%; }
.coach-msg { align-self: flex-start; }
.user-msg { align-self: flex-end; }
.msg-from { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 6px; }
.msg-bubble { padding: 14px 17px; border-radius: 20px; font-size: 13px; font-weight: 300; line-height: 1.72; }
.coach-msg .msg-bubble { background: #111008; border: 1px solid rgba(212,175,55,0.14); color: var(--cream); border-radius: 4px 20px 20px 20px; position: relative; }
.coach-msg .msg-bubble::before { content: ''; display: block; width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold-glow), transparent); margin-bottom: 11px; }
.user-msg .msg-bubble { background: rgba(212,175,55,0.07); border: 1px solid var(--border-gold); color: var(--cream); border-radius: 20px 20px 4px 20px; }
.typing-wrap { align-self: flex-start; }
.typing-bubble { display: flex; gap: 5px; padding: 14px 17px; background: #111008; border: 1px solid rgba(212,175,55,0.14); border-radius: 4px 20px 20px 20px; width: fit-content; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dim); animation: td 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes td { 0%,60%,100%{transform:translateY(0);opacity:0.35} 30%{transform:translateY(-5px);opacity:1} }

/* INPUT AREA */
.coach-input-area { flex-shrink: 0; padding: 10px 16px calc(var(--safe-bottom) + 14px); background: var(--ink); border-top: 1px solid rgba(212,175,55,0.08); }
.quick-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick-chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 7px 15px; border-radius: 22px; border: 1px solid var(--border-gold); background: transparent; font-size: 11px; color: var(--gold-dim); white-space: nowrap; transition: all 0.15s; }
.chip:active { background: var(--gold-faint); color: var(--gold); }
.voice-status { text-align: center; font-size: 11px; color: var(--gold-dim); letter-spacing: 0.08em; min-height: 16px; margin-bottom: 8px; font-style: italic; }
.input-row { display: flex; gap: 9px; align-items: center; }
.text-input { flex: 1; height: 44px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 22px; padding: 0 16px; font-size: 13px; color: var(--cream); outline: none; transition: border-color 0.2s; }
.text-input:focus { border-color: var(--border-gold); }
.text-input::placeholder { color: rgba(255,255,255,0.15); }
.mic-btn { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1a1500, #2a2000); border: 1px solid var(--border-gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; transition: all 0.15s; position: relative; }
.mic-btn.recording { border-color: var(--gold); background: linear-gradient(135deg, #2a1800, #3a2200); }
.mic-btn.recording::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(212,175,55,0.35); animation: mic-pulse 1.1s ease-out infinite; }
@keyframes mic-pulse { 0%{transform:scale(1);opacity:0.9} 100%{transform:scale(1.5);opacity:0} }
.send-btn { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1a1500, #2a2000); border: 1px solid var(--border-gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: transform 0.12s; }
.send-btn:active { transform: scale(0.92); }

/* SCREEN HEADER */
.screen-hdr { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.back-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 18px; flex-shrink: 0; }
.screen-title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--cream); }

/* IDENTITY */
.two-up { display: flex; align-items: center; gap: 14px; background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin-bottom: 26px; position: relative; overflow: hidden; }
.two-up::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-faint), transparent); }
.two-up-side { flex: 1; }
.two-up-lbl { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 7px; }
.two-up-amt { font-family: var(--font-serif); font-size: 24px; font-weight: 400; }
.two-up-amt.dim { color: rgba(255,255,255,0.2); }
.two-up-amt.gold { color: var(--gold); text-shadow: 0 0 24px var(--gold-glow); }
.two-up-arrow { font-size: 14px; color: var(--gold-dim); font-weight: 300; }
.decl-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.decl-item { background: var(--ink-2); border: 1px solid var(--border); border-radius: 16px; padding: 18px; text-align: left; width: 100%; transition: all 0.18s; position: relative; overflow: hidden; }
.decl-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.08), transparent); }
.decl-item.sel { border-color: var(--border-gold); background: rgba(212,175,55,0.04); }
.decl-item.sel::before { background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.decl-item-text { font-family: var(--font-serif); font-size: 14px; line-height: 1.65; color: var(--cream); margin-bottom: 7px; text-align: left; }
.decl-item-tag { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.22); text-align: left; }
.decl-item.sel .decl-item-tag { color: var(--gold-dim); }
.identity-ta { width: 100%; background: var(--ink-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px; font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--cream); line-height: 1.65; resize: none; outline: none; transition: border-color 0.2s; margin-bottom: 14px; }
.identity-ta:focus { border-color: var(--border-gold); }
.identity-ta::placeholder { color: rgba(255,255,255,0.14); }
.primary-btn { width: 100%; padding: 15px; border-radius: 14px; background: linear-gradient(135deg, #1a1500, #2a2000); border: 1px solid var(--border-gold); color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; position: relative; overflow: hidden; transition: opacity 0.15s; }
.primary-btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.primary-btn:active { opacity: 0.85; }
.secondary-btn { width: 100%; padding: 13px; border-radius: 14px; background: transparent; border: 1px solid var(--border); color: rgba(255,255,255,0.3); font-size: 12px; margin-top: 12px; }
.save-confirm { display: none; font-size: 12px; color: var(--gold-dim); margin-top: 12px; align-items: center; gap: 7px; }
.pattern-box { background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin-top: 24px; }
.pattern-lbl { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 16px; }
.pattern-step { display: flex; align-items: flex-start; gap: 13px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.pattern-step.last { border-bottom: none; }
.p-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.1); flex-shrink: 0; margin-top: 5px; }
.p-dot.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold-glow); }
.p-text { font-size: 13px; font-weight: 300; color: var(--cream-dim); line-height: 1.5; }
.p-text.gold { color: var(--cream); font-weight: 400; }

/* INTERRUPT */
.alert-box { background: #100808; border: 1px solid var(--red-dim); border-left: 3px solid rgba(139,0,0,0.7); border-radius: 0 16px 16px 0; padding: 18px; display: flex; gap: 14px; margin-bottom: 20px; }
.alert-ico { font-size: 22px; color: var(--gold-dim); flex-shrink: 0; margin-top: 2px; }
.alert-title { font-family: var(--font-serif); font-size: 15px; color: var(--cream); margin-bottom: 6px; }
.alert-body { font-size: 12px; font-weight: 300; color: var(--cream-faint); line-height: 1.65; }
.q-block { background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin-bottom: 12px; position: relative; overflow: hidden; }
.q-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.07), transparent); }
.q-num { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-dim); margin-bottom: 9px; }
.q-text { font-family: var(--font-serif); font-size: 14px; line-height: 1.6; color: var(--cream); margin-bottom: 16px; }
.q-opts { display: flex; flex-direction: column; gap: 7px; }
.q-opt { padding: 12px 14px; border-radius: 11px; border: 1px solid var(--border); font-size: 12px; font-weight: 300; color: var(--cream-dim); text-align: left; line-height: 1.55; background: transparent; transition: all 0.14s; }
.q-opt.sel { border-color: var(--border-gold); background: rgba(212,175,55,0.05); color: var(--cream); }
.result-box { background: #100f08; border: 1px solid var(--border-gold); border-radius: 18px; padding: 22px; margin-top: 18px; display: none; position: relative; overflow: hidden; }
.result-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.result-verdict { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 13px; }
.result-verdict.aligned { color: var(--gold); }
.result-verdict.pattern { color: #cc5555; }
.result-verdict.unclear { color: rgba(255,255,255,0.3); }
.result-msg { font-family: var(--font-serif); font-size: 14px; line-height: 1.75; color: var(--cream); }

/* ASSUME */
.focal-card { text-align: center; padding: 36px 20px; background: linear-gradient(160deg, #0f0d00, #080800); border: 1px solid var(--border-gold); border-radius: 24px; margin-bottom: 26px; position: relative; overflow: hidden; }
.focal-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.focal-card::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(212,175,55,0.07); }
.focal-eyebrow { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 12px; }
.focal-amount { font-family: var(--font-serif); font-size: 52px; font-weight: 400; color: var(--gold); line-height: 1; margin-bottom: 10px; text-shadow: 0 0 50px var(--gold-glow); }
.focal-sub { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.2); letter-spacing: 0.08em; }
.scene-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.scene-item { background: var(--ink-2); border: 1px solid var(--border); border-radius: 14px; padding: 15px 17px; font-size: 13px; font-weight: 300; color: var(--cream-dim); text-align: left; line-height: 1.55; transition: all 0.15s; width: 100%; }
.scene-item.sel { border-color: var(--border-gold); background: rgba(212,175,55,0.04); color: var(--cream); }
.scene-detail { background: #100f08; border: 1px solid var(--border-gold); border-radius: 18px; padding: 22px; margin-bottom: 20px; position: relative; overflow: hidden; }
.scene-detail::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.scene-text { font-family: var(--font-serif); font-style: italic; font-size: 14px; line-height: 1.75; color: var(--cream); margin-bottom: 20px; }
.hold-btn { width: 100%; padding: 15px; border-radius: 14px; background: linear-gradient(135deg, #1a1500, #2a2000); border: 1px solid var(--border-gold); color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; position: relative; overflow: hidden; }
.hold-btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.hold-progress { margin-top: 18px; }
.hold-track { height: 2px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.hold-fill { height: 100%; background: linear-gradient(90deg, #8B0000, var(--gold)); border-radius: 2px; width: 0%; transition: width 0.5s linear; }
.hold-countdown { text-align: center; font-family: var(--font-serif); font-size: 40px; color: var(--gold); text-shadow: 0 0 24px var(--gold-glow); }
.hold-done { text-align: center; padding: 18px 0; }
.done-text { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--cream); line-height: 1.65; }
.sleep-card { background: var(--ink-2); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }

/* IMPRINT */
.stmt-card { background: linear-gradient(145deg, #111008, #0d0c07); border: 1px solid var(--border-gold); border-radius: 18px; padding: 20px; margin-bottom: 22px; position: relative; overflow: hidden; }
.stmt-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.stmt-lbl { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 11px; }
.stmt-text { font-family: var(--font-serif); font-size: 14px; line-height: 1.75; color: var(--cream); }
.day-tabs { display: flex; gap: 7px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex-shrink: 0; padding: 9px 20px; border-radius: 24px; border: 1px solid var(--border); font-size: 12px; color: rgba(255,255,255,0.28); background: transparent; transition: all 0.15s; }
.day-tab.active { background: rgba(212,175,55,0.08); border-color: var(--border-gold); color: var(--gold); }
.day-tab.complete { background: linear-gradient(135deg, #1a1500, #2a2000); border-color: var(--border-gold); color: var(--gold); font-weight: 500; }
.prog-row { margin-bottom: 9px; }
.prog-lbl { font-size: 12px; color: rgba(255,255,255,0.25); }
.prog-track { height: 2px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.prog-fill { height: 100%; background: linear-gradient(90deg, #8B0000, var(--gold)); border-radius: 2px; width: 0%; transition: width 0.25s; }
.grid-55 { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; margin-bottom: 20px; }
.grid-cell { aspect-ratio: 1; border-radius: 4px; background: #111; border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 8px; color: rgba(255,255,255,0.14); cursor: pointer; transition: all 0.1s; position: relative; }
.grid-cell.done { background: #1a1500; border-color: rgba(212,175,55,0.3); color: transparent; }
.grid-cell.done::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 6px var(--gold-glow); }
.day-complete { background: linear-gradient(135deg, #111008, #0d0c07); border: 1px solid var(--border-gold); border-radius: 16px; padding: 18px 20px; font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--gold); line-height: 1.7; text-align: center; position: relative; overflow: hidden; }
.day-complete::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }

/* CHECKIN */
.streak-full { background: linear-gradient(145deg, #111008, #0a0900); border: 1px solid var(--border-gold); border-radius: 20px; padding: 20px; margin-bottom: 24px; position: relative; overflow: hidden; }
.streak-full::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); }
.streak-full-dots { display: flex; gap: 7px; margin-bottom: 12px; }
.streak-full-dot { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.05); }
.streak-full-dot.done { background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.streak-full-dot.today { background: rgba(139,0,0,0.5); }
.streak-full-ct { font-family: var(--font-serif); font-size: 16px; color: var(--cream); }
.checkin-block { margin-bottom: 24px; }
.checkin-time { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 12px; }
.checkin-list { display: flex; flex-direction: column; gap: 3px; }
.checkin-item { display: flex; align-items: flex-start; gap: 13px; background: var(--ink-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.14s; }
.checkin-item.checked { background: rgba(212,175,55,0.04); border-color: var(--border-gold); }
.check-circle { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; transition: all 0.14s; }
.checkin-item.checked .check-circle { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.check-text { font-size: 13px; font-weight: 300; color: var(--cream-dim); line-height: 1.65; }
.checkin-item.checked .check-text { color: rgba(255,255,255,0.22); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.1); }
.one-rule { background: #0e0800; border-left: 2px solid rgba(212,175,55,0.45); border-radius: 0 16px 16px 0; padding: 20px; margin-bottom: 20px; }
.rule-lbl { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 9px; }
.rule-text { font-family: var(--font-serif); font-size: 15px; line-height: 1.75; color: var(--cream); }
.today-done { text-align: center; margin-top: 14px; font-size: 12px; color: var(--gold-dim); letter-spacing: 0.06em; }

/* UTILITIES */
.hidden { display: none !important; }

/* BOTTOM NAV */
.bottom-nav { flex-shrink: 0; display: flex; background: #050505; border-top: 1px solid rgba(212,175,55,0.08); height: calc(var(--nav-h) + var(--safe-bottom)); padding-bottom: var(--safe-bottom); position: relative; }
.bottom-nav::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.22), transparent); }
.nav-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: rgba(255,255,255,0.2); transition: color 0.15s; padding-bottom: 4px; }
.nav-btn.active { color: var(--gold); }
.nav-btn i { font-size: 22px; }
.nav-btn span { font-size: 9px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .splash-ring, .live-dot, .mic-btn.recording::before { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
