/* Playable Social Receipt, Phase 0 styles.
   Design tokens in :root are lifted verbatim from the live app's served CSS
   (https://socialreceipt.netlify.app, fetched Oct 23, 2026).
   Component rules follow the live app's own classes: .app-shell, .topbar,
   .brand-lockup, .status-pill, .verdict-card, .evidence-panel,
   .receipt-card, .spike-line. */

:root{
  --bg:#0c0b09; --bg-soft:#111009; --surface:#161410;
  --surface-2:#1c1a15; --surface-3:#222019;
  --border:rgba(255,245,220,0.07); --border-warm:rgba(212,170,90,0.22);
  --border-strong:rgba(255,245,220,0.13);
  --text:#f2ece0; --muted:#9c9280; --muted-2:#635d50;
  --gold:#c9a84c; --gold-2:#e2c06a;
  --gold-glow:rgba(201,168,76,0.13); --gold-glow-2:rgba(201,168,76,0.07);
  --green:#3db870; --yellow:#d4a535; --red:#c94040;
  --shadow:0 20px 60px rgba(0,0,0,0.55); --shadow-sm:0 8px 24px rgba(0,0,0,0.35);
  --radius-xl:26px; --radius-lg:20px; --radius-md:14px; --radius-sm:10px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --font-serif:'DM Serif Display',Georgia,serif;
  --font-mono:'DM Mono','Courier New',monospace;
  --font-sans:'DM Sans',system-ui,sans-serif;
  --mode-accent:var(--gold); --mode-glow:var(--gold-glow); --mode-border:var(--border-warm);
}

*{box-sizing:border-box;}
html{min-height:100%;}
body{
  margin:0;min-height:100%;background:var(--bg);color:var(--text);
  font-family:var(--font-sans);-webkit-font-smoothing:antialiased;
  display:flex;justify-content:center;overflow-x:hidden;
}

.app-shell{
  width:100%;max-width:460px;min-height:100vh;position:relative;
  padding:22px 18px calc(48px + var(--safe-bottom));
  border-left:1px solid var(--border);border-right:1px solid var(--border);
  box-shadow:0 0 100px rgba(0,0,0,0.4);
}

/* Header, lifted from the live app .topbar family */
.topbar{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;}
.brand-lockup h1{margin:0;font-family:var(--font-serif);font-size:26px;font-weight:400;letter-spacing:-0.01em;line-height:1.05;color:var(--text);}
.brand-lockup p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:300;line-height:1.4;}
.status-pill{padding:7px 12px;border:1px solid var(--border-warm);background:var(--gold-glow-2);border-radius:999px;color:var(--gold);font-family:var(--font-mono);font-size:10px;letter-spacing:0.06em;display:flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0;}
.pulse-dot{width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulseGlow 2s infinite;}
@keyframes pulseGlow{0%,100%{opacity:1;}50%{opacity:0.35;}}

@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
@keyframes verdictIn{from{opacity:0;transform:translateY(12px) scale(0.99);}to{opacity:1;transform:translateY(0) scale(1);}}
.view{animation:fadeUp 0.28s cubic-bezier(0.22,1,0.36,1);}
.beat{animation:fadeUp 0.34s cubic-bezier(0.22,1,0.36,1);margin-bottom:22px;}

/* Picker */
.picker-prompt{font-family:var(--font-serif);font-size:26px;font-weight:400;line-height:1.15;letter-spacing:-0.01em;margin:6px 0 18px;color:var(--text);}
.circ-list{display:flex;flex-direction:column;gap:10px;}
.circ-card{
  display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;
  padding:15px;text-align:left;color:var(--text);cursor:pointer;
  border-radius:var(--radius-md);border:1px solid var(--border);
  background:linear-gradient(160deg,rgba(255,245,220,0.04) 0%,rgba(255,245,220,0.015) 100%);
  font-family:var(--font-sans);transition:transform 0.15s,border-color 0.15s;
}
.circ-card.playable:hover{border-color:var(--border-warm);transform:translateY(-1px);}
.circ-card .circ-label{font-family:var(--font-serif);font-size:19px;line-height:1.2;display:block;}
.circ-card .circ-line{font-size:13px;font-weight:300;color:var(--muted);line-height:1.5;display:block;margin-top:4px;}
.circ-card.soon{cursor:default;opacity:0.62;}
.tag-soon{font-family:var(--font-mono);font-size:9px;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted);border:1px solid var(--border-strong);border-radius:999px;padding:5px 9px;white-space:nowrap;flex-shrink:0;}
.circ-arrow{color:var(--gold);font-size:18px;flex-shrink:0;}

/* Beat chrome */
.beat-eyebrow{font-family:var(--font-mono);font-size:10px;letter-spacing:0.14em;text-transform:uppercase;color:var(--mode-accent);margin-bottom:9px;}
.back-link{display:inline-block;font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;color:var(--muted);text-decoration:none;margin-bottom:16px;}
.back-link:hover{color:var(--gold);}

/* Beat 1: demo conversation card.
   The DEMO pill and DEMO CONVERSATION footer labels are the episode record's own. */
.demo-card{background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;box-shadow:var(--shadow-sm);}
.demo-head{display:flex;justify-content:flex-end;margin-bottom:12px;}
.demo-pill{font-family:var(--font-mono);font-size:9px;letter-spacing:0.16em;color:#0c0b09;background:var(--gold);border-radius:999px;padding:4px 9px;font-weight:500;}
.bubble{max-width:82%;padding:11px 13px;border-radius:16px;font-size:14px;font-weight:300;line-height:1.55;margin-bottom:9px;}
.bubble-sent{margin-left:auto;background:var(--surface-3);border-bottom-right-radius:6px;}
.bubble-got{background:var(--surface-2);border:1px solid var(--border);border-bottom-left-radius:6px;font-size:16px;}
.skel{display:block;height:8px;border-radius:4px;background:rgba(255,245,220,0.13);margin:5px 0;}
.skel.w92{width:92%;}.skel.w100{width:100%;}.skel.w64{width:64%;}
.demo-foot{font-family:var(--font-mono);font-size:9px;letter-spacing:0.16em;color:var(--muted-2);text-align:center;margin-top:12px;}

/* Beat 2: the draft */
.draft-card{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:16px;cursor:pointer;}
.draft-text{font-size:15px;font-weight:300;line-height:1.6;color:var(--text);min-height:72px;white-space:pre-wrap;word-break:break-word;}
.caret{display:inline-block;width:2px;height:1.05em;background:var(--gold);vertical-align:text-bottom;margin-left:1px;animation:caretBlink 0.9s steps(1) infinite;}
@keyframes caretBlink{0%,55%{opacity:1;}56%,100%{opacity:0;}}
.draft-meta{display:flex;justify-content:space-between;align-items:center;margin-top:10px;}
.char-count{font-family:var(--font-mono);font-size:11px;color:var(--muted-2);}
.skip-btn{background:none;border:none;color:var(--muted);font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;cursor:pointer;padding:4px 2px;}
.skip-btn:hover{color:var(--gold);}

.verdict-eyebrow{font-family:var(--font-mono);font-size:10px;letter-spacing:0.14em;text-transform:uppercase;color:var(--mode-accent);margin-bottom:9px;}

/* Beat 3: the receipt, live app .verdict-card family */
.verdict-card{padding:24px;margin-bottom:10px;background:linear-gradient(150deg,rgba(201,168,76,0.13) 0%,rgba(255,245,220,0.03) 50%,rgba(201,168,76,0.06) 100%);border:1px solid var(--mode-border);border-radius:var(--radius-xl);box-shadow:var(--shadow);position:relative;overflow:hidden;animation:verdictIn 0.4s cubic-bezier(0.22,1,0.36,1);}
.verdict-card::before{content:'';position:absolute;top:-40px;right:-40px;width:150px;height:150px;background:radial-gradient(circle,var(--mode-glow) 0%,transparent 60%);pointer-events:none;}
.verdict-card::after{content:'RCPT';position:absolute;bottom:14px;right:18px;font-family:var(--font-mono);font-size:9px;letter-spacing:0.18em;color:var(--muted-2);opacity:0.35;}
.verdict-card h2{margin:0;font-family:var(--font-serif);font-size:24px;font-weight:400;line-height:1.15;letter-spacing:-0.01em;color:var(--text);}
.evidence-panel{border:1px solid var(--border);border-radius:10px;padding:11px 13px;margin-bottom:10px;background:var(--bg-soft);}
.panel-label{font-family:var(--font-mono);font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted-2);margin-bottom:6px;}
.evidence-item{font-size:12px;line-height:1.5;color:var(--text);padding:3px 0 3px 14px;position:relative;}
.evidence-item::before{content:'';position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:var(--gold);}
.mini-card{padding:18px;border-radius:var(--radius-md);background:linear-gradient(160deg,rgba(255,245,220,0.04) 0%,rgba(255,245,220,0.015) 100%);border:1px solid var(--border);margin-bottom:10px;}
.mini-label{font-family:var(--font-mono);font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted-2);margin-bottom:8px;}
.mini-big{font-family:var(--font-serif);font-size:22px;line-height:1.15;color:var(--text);}
.mini-sub{font-family:var(--font-mono);font-size:12px;color:var(--gold);margin-top:5px;}
.mini-body{font-size:13px;font-weight:300;color:var(--muted);line-height:1.55;margin-top:6px;}

/* Beat 4: roads. The not-taken card follows the live app .spike-line family. */
.road-no{margin:0 0 10px;padding:14px 16px;background:linear-gradient(90deg,rgba(201,64,64,0.1),rgba(201,64,64,0.04));border:1px solid rgba(201,64,64,0.25);border-radius:var(--radius-md);}
.road-no .road-line{font-family:var(--font-serif);font-size:15px;font-style:italic;color:#e07070;line-height:1.4;margin-top:6px;}
.road-label{font-family:var(--font-mono);font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted-2);}
.road-taken{padding:16px;border-radius:var(--radius-md);border:1px solid var(--mode-border);background:var(--gold-glow-2);}
.road-taken .road-line{font-family:var(--font-serif);font-size:19px;color:var(--text);margin-top:6px;}
.road-taken .road-sub{font-family:var(--font-mono);font-size:12px;color:var(--gold);margin-top:4px;}

/* Beat 5: result */
.share-card{background:var(--bg-soft);border:1px solid var(--border-warm);border-radius:var(--radius-lg);padding:20px;margin-bottom:12px;}
.share-brand{font-family:var(--font-mono);font-size:10px;letter-spacing:0.18em;color:var(--gold);margin-bottom:10px;}
.share-circ{font-family:var(--font-serif);font-size:26px;line-height:1.1;color:var(--text);}
.share-line{font-size:14px;font-weight:300;color:var(--text);margin-top:8px;line-height:1.5;}
.share-url{font-family:var(--font-mono);font-size:11px;color:var(--muted);margin-top:10px;word-break:break-all;}
.copy-btn{width:100%;padding:13px;border-radius:var(--radius-md);border:1px solid var(--border-warm);background:transparent;color:var(--gold);font-family:var(--font-sans);font-size:14px;font-weight:500;cursor:pointer;margin-bottom:14px;}
.copy-btn:hover{background:var(--gold-glow-2);}
.share-btn{width:100%;padding:13px;border-radius:var(--radius-md);border:1px solid var(--gold);background:var(--gold);color:#0c0b09;font-family:var(--font-sans);font-size:14px;font-weight:600;cursor:pointer;margin-bottom:10px;}
.takeaway-block{margin-bottom:14px;}
.takeaway-img{width:100%;height:auto;display:block;border-radius:var(--radius-lg);border:1px solid var(--border-warm);margin-bottom:10px;}
.card-note{font-size:12px;font-weight:300;color:var(--muted);line-height:1.5;margin:0 0 4px;}
.share-btn:hover{background:var(--gold-2);}
.cta-note{font-size:12px;font-weight:300;color:var(--muted);line-height:1.5;margin:0 0 10px;text-align:center;}
.app-link{display:block;text-align:center;font-family:var(--font-sans);font-size:14px;font-weight:600;color:var(--gold);text-decoration:none;margin:0 0 12px;}
.cta{display:block;text-align:center;padding:15px;border-radius:var(--radius-md);background:var(--gold);color:#0c0b09;font-family:var(--font-sans);font-size:15px;font-weight:600;text-decoration:none;margin-bottom:14px;}
.cta:hover{background:var(--gold-2);}
.email-slot{border:1px dashed var(--border-warm);border-radius:var(--radius-md);padding:14px 16px;margin-bottom:16px;}
.email-slot .slot-label{font-family:var(--font-mono);font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);margin-bottom:6px;}
.email-slot p{margin:0;font-size:12px;font-weight:300;color:var(--muted-2);line-height:1.55;}
.next-card{background:var(--bg-soft);border:1px solid var(--border-warm);border-radius:var(--radius-lg);padding:20px;margin-bottom:16px;}
.next-label{font-family:var(--font-mono);font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;}
.next-head{font-family:var(--font-serif);font-size:24px;line-height:1.15;color:var(--text);margin-bottom:8px;}
.next-body{margin:0 0 12px;font-size:13px;font-weight:300;color:var(--muted);line-height:1.55;}
.next-link{font-family:var(--font-sans);font-size:14px;font-weight:600;color:var(--gold);text-decoration:none;}
.replay-link{display:block;text-align:center;color:var(--muted);font-size:13px;font-weight:300;text-decoration:none;padding:8px;}
.replay-link:hover{color:var(--gold);}

/* Continue */
.continue-btn{width:100%;padding:14px;border-radius:var(--radius-md);border:1px solid var(--border-warm);background:var(--gold-glow-2);color:var(--gold);font-family:var(--font-sans);font-size:14px;font-weight:500;cursor:pointer;margin-top:2px;}
.continue-btn:hover{background:var(--gold-glow);}

/* Narration controls: small pill pair under the topbar, same mono
   pill language as .status-pill. */
.audio-controls{display:flex;gap:8px;justify-content:flex-end;margin:-6px 0 14px;}
.audio-btn{font-family:var(--font-mono);font-size:10px;letter-spacing:0.08em;text-transform:uppercase;color:var(--gold);background:var(--gold-glow-2);border:1px solid var(--border-warm);border-radius:999px;padding:6px 11px;cursor:pointer;}
.audio-btn:hover{background:var(--gold-glow);}

/* The choice beat and the scene, between the draft and the receipt. */
.choice-prompt{font-family:var(--font-serif);font-size:22px;font-weight:400;line-height:1.2;color:var(--text);margin:2px 0 14px;}
.choice-btns{display:flex;flex-direction:column;gap:10px;}
.choice-btn{
  width:100%;padding:14px 15px;text-align:left;color:var(--text);cursor:pointer;
  border-radius:var(--radius-md);border:1px solid var(--border);
  background:linear-gradient(160deg,rgba(255,245,220,0.04) 0%,rgba(255,245,220,0.015) 100%);
  font-family:var(--font-sans);font-size:15px;font-weight:500;
  transition:transform 0.15s,border-color 0.15s;
}
.choice-btn:hover{border-color:var(--border-warm);transform:translateY(-1px);}
.skip-scene-btn{display:block;margin:8px auto 0;background:none;border:none;color:var(--muted);font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;cursor:pointer;padding:6px 4px;}
.skip-scene-btn:hover{color:var(--gold);}
.scene-label{font-size:12px;font-weight:300;font-style:italic;color:var(--muted);line-height:1.55;border:1px dashed var(--border-warm);border-radius:var(--radius-md);padding:11px 13px;margin:0 0 14px;}
.scene-beat{font-size:15px;font-weight:300;line-height:1.65;color:var(--text);margin:0 0 12px;animation:fadeUp 0.34s cubic-bezier(0.22,1,0.36,1);}

[hidden]{display:none !important;}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important;transition:none !important;}
}

.take-img{display:block;width:170px;margin:4px auto 14px;border-radius:8px;}
.print-link{display:block;text-align:center;color:var(--gold);font-family:var(--font-sans);font-size:13px;font-weight:500;text-decoration:none;padding:4px 8px 12px;}

/* Bring Your Own Moment: the fourth door. Same tokens, same cards;
   the new pieces are the writing surface, the pending receipt, and
   the closing line. */
.byom-head{font-family:var(--font-serif);font-size:26px;font-weight:400;line-height:1.15;letter-spacing:-0.01em;margin:2px 0 10px;color:var(--text);}
.byom-body{font-size:14px;font-weight:300;color:var(--muted);line-height:1.6;margin:0 0 16px;}
.byom-label{display:block;font-family:var(--font-mono);font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted-2);margin-bottom:8px;}
.byom-textarea{
  width:100%;min-height:132px;resize:vertical;padding:14px;
  background:var(--surface);color:var(--text);
  border:1px solid var(--border-strong);border-radius:var(--radius-md);
  font-family:var(--font-sans);font-size:15px;font-weight:300;line-height:1.6;
}
.byom-textarea:focus{outline:none;border-color:var(--border-warm);}
.byom-submit{border:none;width:100%;margin-top:12px;}
.byom-submit:disabled{opacity:0.45;cursor:default;}
.byom-privacy{font-size:12px;font-weight:300;color:var(--muted);line-height:1.55;border:1px dashed var(--border-warm);border-radius:var(--radius-md);padding:11px 13px;margin:14px 0 0;}
.byom-error{font-size:13px;color:#e07070;line-height:1.5;margin:12px 0 0;}
.pending-card{background:var(--bg-soft);border:1px solid var(--border-warm);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-sm);}
.pending-head{font-family:var(--font-serif);font-size:22px;line-height:1.2;color:var(--text);margin-bottom:14px;}
.pending-paper{border-top:1px dashed var(--border-strong);border-bottom:1px dashed var(--border-strong);padding:12px 2px;margin-bottom:14px;}
.pending-line{font-family:var(--font-mono);font-size:12px;letter-spacing:0.04em;color:var(--gold);margin:0 0 8px;animation:fadeUp 0.34s cubic-bezier(0.22,1,0.36,1);}
.byom-closing{font-size:14px;font-weight:300;font-style:italic;color:var(--muted);line-height:1.6;margin:0 0 14px;text-align:center;}
.byom-again{background:none;border:none;cursor:pointer;width:100%;font-family:var(--font-sans);}

/* Email capture card (The Clear Message Map), result screens only.
   Rides the .next-card chrome; the form pieces match the input and
   button language already on the page. */
.email-form{margin-top:2px;}
.email-label{display:block;font-family:var(--font-sans);font-size:13px;font-weight:500;color:var(--text);margin-bottom:8px;}
.email-input{width:100%;box-sizing:border-box;padding:13px;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-family:var(--font-sans);font-size:15px;margin-bottom:10px;}
.email-input:focus{outline:none;border-color:var(--border-warm);}
.email-submit{width:100%;border:none;cursor:pointer;}
.email-submit:disabled{opacity:.6;cursor:wait;}
.email-note{font-size:12px;font-weight:300;color:var(--muted);line-height:1.5;margin:0 0 6px;}
.email-status{font-size:13px;color:var(--text);line-height:1.5;margin:8px 0 0;}

/* Viewer submissions page (submit.html). Rides the existing input,
   textarea, and button language (.byom-textarea, .email-input, .cta);
   the new pieces are the field spacing, the radio rows, and the
   consent row. */
.submit-form{margin-top:18px;}
.submit-form fieldset{border:none;padding:0;margin:0;}
.submit-field{margin-bottom:18px;}
.radio-group{display:flex;flex-direction:column;gap:10px;}
.radio-row{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:linear-gradient(160deg,rgba(255,245,220,0.04) 0%,rgba(255,245,220,0.015) 100%);cursor:pointer;font-size:14px;font-weight:400;color:var(--text);}
.radio-row input{accent-color:var(--gold);width:16px;height:16px;flex-shrink:0;cursor:pointer;}
.consent-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;font-weight:300;color:var(--muted);line-height:1.55;}
.consent-row input{accent-color:var(--gold);width:16px;height:16px;flex-shrink:0;margin-top:2px;cursor:pointer;}
.submit-note{font-size:12px;font-weight:300;color:var(--muted);line-height:1.5;margin:0;}
.submit-form .cta{border:none;width:100%;cursor:pointer;}

/* Read feedback: one anonymous tap under the Yours receipt. The vote
   is a count, never content: no draft text and no receipt text is
   attached to it, in line with the page's analytics rule. */
.feedback-block{margin:6px 0 14px;padding:16px 18px;border-radius:var(--radius-md);border:1px solid var(--border-warm);background:linear-gradient(160deg,rgba(255,245,220,0.04) 0%,rgba(255,245,220,0.015) 100%);}
.feedback-prompt{font-family:var(--font-serif);font-size:19px;color:var(--text);margin:0 0 12px;}
.feedback-btns{display:flex;gap:10px;}
.feedback-btn{flex:1;text-align:center;}
.feedback-note{font-size:12.5px;color:var(--muted);margin:12px 0 0;line-height:1.5;}

/* Product Hunt launch banner (added Nov 10, 2026): one slim strip at the
   top of the picker, the first screen only. The element lives inside
   #view-picker, so it never renders on the arc screens or the Yours door,
   and it sits in normal flow, covering nothing. */
.ph-banner{
  display:block;margin:0 0 16px;padding:9px 12px;text-align:center;
  font-family:var(--font-sans);font-size:12px;font-weight:500;letter-spacing:0.01em;
  color:var(--gold);background:var(--gold-glow-2);
  border:1px solid var(--border-warm);border-radius:var(--radius-sm);
  text-decoration:none;white-space:nowrap;
}
.ph-banner:hover{color:var(--gold-2);}
@media (max-width:420px){.ph-banner{font-size:10.5px;letter-spacing:0;}}
@media (max-width:360px){.ph-banner{font-size:9.5px;}}
