/* demo.css — everything a browser can't honestly do becomes INVISIBLE or LOCKED, never broken.
 * Scoped to html.demo; the shipping app never carries this file. */

/* Settings: Tauri-only tabs and panes */
html.demo .set-tab[data-tab="ai"],
html.demo .set-tab[data-tab="citations"],
html.demo .set-tab[data-tab="import"],
html.demo .set-pane[data-pane="ai"],
html.demo .set-pane[data-pane="citations"],
html.demo .set-pane[data-pane="import"] { display: none !important; }

/* Scene shelf (pack downloads), scene rotation, and the audio-restart escape hatch */
html.demo #s-packs { display: none !important; }
html.demo .f-row:has([data-rot]) { display: none !important; }
html.demo #modal .hint:has(#s-audio-restart) { display: none !important; }   /* the whole sentence, not just the link */

/* The fourth typing voice stays in the app (JS also prunes the option) */
html.demo #s-sound option[value="wafer"] { display: none !important; }

/* Editor-side Ember surfaces the showcase doesn't intercept */
html.demo .ed-flame, html.demo [data-ai-action], html.demo .pg-ember { display: none !important; }

/* ── the Ember showcase ─────────────────────────────────────────────────────────────────── */
#demo-ember { position: fixed; inset: 0; z-index: 4000; background: rgba(8,9,11,.7);
  backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; }
#demo-ember .de-card { width: min(680px, 92vw); max-height: 84vh; overflow: auto; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13); background: rgba(15,16,19,.97); box-shadow: 0 30px 80px rgba(0,0,0,.55);
  color: #E8E3DD; font: 14px/1.55 -apple-system, "SF Pro Text", Helvetica, sans-serif; }
#demo-ember .de-head { display: flex; align-items: center; gap: 9px; padding: 13px 16px;
  font-size: 11px; letter-spacing: .12em; color: rgba(232,227,221,.55); border-bottom: 1px solid rgba(255,255,255,.07); }
#demo-ember .de-flame { width: 9px; height: 9px; border-radius: 50%; background: #D6B24A; box-shadow: 0 0 10px rgba(214,178,74,.8); }
#demo-ember .de-x { margin-left: auto; border: 0; background: none; color: rgba(232,227,221,.6); font-size: 13px; cursor: pointer; }
#demo-ember .de-x:hover { color: #E8E3DD; }
#demo-ember .de-chat { padding: 16px; }
#demo-ember .de-q { background: rgba(214,178,74,.13); border: 1px solid rgba(214,178,74,.25);
  border-radius: 12px; padding: 10px 14px; margin: 0 0 12px 60px; font-size: 13.5px; }
#demo-ember .de-a { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 12px 15px; margin-right: 60px; font-size: 13.5px; }
#demo-ember .de-a p { margin: 0 0 9px; }
#demo-ember .de-src { font-size: 11px; color: rgba(232,227,221,.5); border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 8px; margin-top: 4px; }
#demo-ember .de-foot { display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; color: rgba(232,227,221,.6); }
.de-cta { flex: none; background: rgba(214,178,74,.9); color: #241b06;
  padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 12.5px; }
.de-cta:hover { background: #D6B24A; }
#demo-ember .de-foot .de-cta { margin-left: auto; }

/* ── the nudge ──────────────────────────────────────────────────────────────────────────── */
#demo-nudge { position: fixed; inset: 0; z-index: 4000; background: rgba(8,9,11,.6);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; }
#demo-nudge .dn-card { width: min(430px, 90vw); border-radius: 15px; padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.13); background: rgba(15,16,19,.97); box-shadow: 0 26px 70px rgba(0,0,0,.55);
  color: #E8E3DD; font: 13.5px/1.55 -apple-system, "SF Pro Text", Helvetica, sans-serif; }
#demo-nudge .dn-t { font-weight: 700; font-size: 15px; margin-bottom: 7px; }
#demo-nudge p { margin: 0 0 14px; color: rgba(232,227,221,.78); }
#demo-nudge .dn-row { display: flex; align-items: center; gap: 12px; }
#demo-nudge .dn-x { margin-left: auto; border: 0; background: none; color: rgba(232,227,221,.6);
  font-size: 12.5px; cursor: pointer; text-decoration: underline; }
#demo-nudge .dn-x:hover { color: #E8E3DD; }

/* ── the ribbon ─────────────────────────────────────────────────────────────────────────── */
#demo-ribbon { position: fixed; right: 14px; bottom: 12px; z-index: 3500;
  display: flex; align-items: center; gap: 12px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(15,16,19,.88); backdrop-filter: blur(8px);
  color: rgba(232,227,221,.72); font: 11.5px/1 -apple-system, "SF Pro Text", Helvetica, sans-serif; }
#demo-ribbon .dr-dot { width: 7px; height: 7px; border-radius: 50%; background: #D6B24A; box-shadow: 0 0 8px rgba(214,178,74,.7); }
#demo-ribbon a { color: #D6B24A; text-decoration: none; font-weight: 600; }
#demo-ribbon a:hover { text-decoration: underline; }

/* collapsed ribbon: a quiet dot-pill in the corner; hover brings it back */
#demo-ribbon { transition: opacity .25s; }
#demo-ribbon.dr-min { gap: 0; padding: 7px 9px; opacity: .75; }
#demo-ribbon.dr-min .dr-label, #demo-ribbon.dr-min a { display: none; }
#demo-ribbon.dr-min:hover { opacity: 1; }

/* ---- mobile gate (demo.js adds .demo-mgate under 768px at load) ---- */
html.demo-mobile { overflow: hidden; }
.demo-mgate {
  position: fixed; inset: 0; z-index: 99999;
  background: radial-gradient(120% 90% at 50% 0%, #1a1d24 0%, #0F1013 62%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px 26px; text-align: center;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif; color: #e8e6e1;
}
.demo-mgate-arch { width: 96px; height: 96px; object-fit: contain; opacity: .96; filter: drop-shadow(0 10px 28px rgba(0,0,0,.5)); }
.demo-mgate-name { font-size: 26px; font-weight: 650; letter-spacing: .04em; }
.demo-mgate-line { font-size: 15px; line-height: 1.55; color: #b9b6af; max-width: 30ch; }
.demo-mgate-cta {
  margin-top: 10px; padding: 12px 22px; border-radius: 999px; text-decoration: none;
  background: #e8e6e1; color: #16171b; font-weight: 600; font-size: 15px;
}
.demo-mgate-alt { color: #8f8c86; text-decoration: none; font-size: 13px; border-bottom: 1px solid #3a3d44; padding-bottom: 1px; }

/* Oasis: prepped in code 8/18 but never dialed/approved — not in his app, not offered here */
#modal [data-scene="oasis"] { display: none; }
