/* =========================================================================
   PIP AI Growth Engine — web deck
   Engine + component styles. Canvas is 1920 × 1080, scaled to fit.
   ========================================================================= */

@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Slab"; src: url("../fonts/roboto-slab-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Slab"; src: url("../fonts/roboto-slab-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Slab"; src: url("../fonts/roboto-slab-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --pink: #D6007A;
  --pink-2: #EC4B97;
  --rose: #F4A3CB;
  --blush: #FDF3F8;
  --blush-2: #FBE4EF;
  --teal: #1B7F8C;
  --teal-2: #20A39E;
  --teal-soft: #E3F4F3;
  --gold: #C98A00;
  --gold-2: #E3A935;
  --gold-soft: #FBF1DC;
  --purple: #6E3FB0;
  --purple-soft: #EFE8FA;
  --green: #1E9E5A;
  --orange: #F08A1C;
  --ink: #2B2B2B;
  --ink-2: #463F45;
  --muted: #6D6168;
  --line: #EED5E1;
  --card: #FFFFFF;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --sans: "Jakarta", "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --slab: "Slab", "Roboto Slab", Rockwell, Georgia, serif;
  --accent: var(--pink);
  --accent-soft: var(--blush-2);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #12060D; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- viewport & stage ---------- */
.viewport { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(1200px 700px at 50% 40%, #2a0c1d, #0d0409 70%); }
.stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.slide {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--blush);
  opacity: 0; visibility: hidden;
  transform: translate3d(60px, 0, 0) scale(.985);
  transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s linear .8s;
  font-size: 26px; line-height: 1.35;
}
.slide.past { transform: translate3d(-60px, 0, 0) scale(.985); }
.slide.current { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s; z-index: 2; }
.no-anim .slide, .no-anim .slide * { transition: none !important; animation-duration: 0s !important; }

/* soft paper background shared by content slides */
.bg-paper::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(244, 163, 203, .45), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(244, 163, 203, .35), transparent 60%),
    linear-gradient(180deg, #FFF7FB 0%, #FDF0F6 100%);
}
.bg-paper::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  background-image: radial-gradient(rgba(214, 0, 122, .16) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(500px 340px at 100% 100%, #000, transparent 70%);
          mask-image: radial-gradient(500px 340px at 100% 100%, #000, transparent 70%);
}
.slide > .inner { position: absolute; inset: 0; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, -40px, 0) scale(1.12); } }

/* ---------- slide header ---------- */
.head { position: absolute; left: 80px; right: 80px; top: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 18%, transparent); }
.eyebrow .num { color: var(--muted); font-weight: 700; letter-spacing: .08em; }
h1.title { margin: 10px 0 0; font-family: var(--slab); font-weight: 800; font-size: 60px; line-height: 1.06; letter-spacing: -.01em; color: var(--ink); }
h1.title .hl { color: var(--accent); }
h1.title.sm { font-size: 46px; line-height: 1.1; }
h1.title.xs { font-size: 40px; line-height: 1.12; }
.title-rule { height: 6px; width: 120px; border-radius: 6px; margin-top: 16px; background: linear-gradient(90deg, var(--accent), var(--rose)); transform-origin: 0 50%; }
.lead { font-size: 30px; line-height: 1.32; color: var(--ink-2); font-weight: 500; }
.lead b, .lead strong { color: var(--ink); font-weight: 800; }

/* ---------- animation primitives ---------- */
[data-a] { opacity: 0; transition: opacity .7s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), filter .9s var(--ease) var(--d, 0ms); will-change: opacity, transform; }
[data-a="up"]    { transform: translate3d(0, 34px, 0); }
[data-a="down"]  { transform: translate3d(0, -34px, 0); }
[data-a="left"]  { transform: translate3d(-48px, 0, 0); }
[data-a="right"] { transform: translate3d(48px, 0, 0); }
[data-a="zoom"]  { transform: scale(.9); }
[data-a="pop"]   { transform: scale(.6); transition: opacity .5s var(--ease) var(--d, 0ms), transform .7s var(--ease-back) var(--d, 0ms); }
[data-a="blur"]  { filter: blur(14px); transform: scale(1.04); }
[data-a="rule"]  { transform: scaleX(0); }
[data-a="fade"]  { }
[data-a].shown { opacity: 1; transform: none; filter: none; }
.static [data-a] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }

/* step hint pulse on the counter while steps remain */
.has-more .count::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--rose); vertical-align: middle; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .4; } }

/* ---------- generic components ---------- */
.card { background: var(--card); border-radius: 26px; box-shadow: 0 22px 50px -26px rgba(140, 20, 80, .35), 0 2px 8px rgba(80, 0, 40, .05); position: relative; }
.card.pad { padding: 30px 34px; }
.card.tint-pink { background: linear-gradient(180deg, #fff, #FFF4F9); }
.card.tint-gold { background: linear-gradient(180deg, #fff, #FFFAF0); }
.card.tint-teal { background: linear-gradient(180deg, #fff, #F2FAFA); }
.card.glow { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent), 0 30px 60px -28px color-mix(in srgb, var(--accent) 60%, transparent); }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 21px; background: var(--accent-soft); color: var(--accent); }
.kicker { font-size: 19px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.muted { color: var(--muted); }
.ital { font-style: italic; }
.nowrap { white-space: nowrap; }
.up { color: var(--green); font-weight: 700; }
.tag-ill { font-size: 17px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* numbered steps (Score — / Propose — …) */
.steps { position: relative; display: flex; flex-direction: column; gap: 26px; }
.stp { display: grid; grid-template-columns: 76px 1fr; column-gap: 26px; position: relative; }
.stp .n { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--slab); font-weight: 800; font-size: 38px; color: #fff; background: radial-gradient(circle at 35% 30%, var(--n1, #F0C04A), var(--n2, #B47C00)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--n2, #B47C00) 80%, transparent), inset 0 -4px 0 rgba(0, 0, 0, .12); }
.stp:not(:last-child) .n::after { content: ""; position: absolute; left: 37px; top: 84px; bottom: -22px; border-left: 3px dotted color-mix(in srgb, var(--n2, #B47C00) 60%, transparent); }
.stp h3 { margin: 4px 0 4px; font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--accent); }
.stp h3 .dash { color: var(--accent); }
.stp p { margin: 0; font-size: 23px; line-height: 1.36; color: var(--ink-2); }
.stp p + p { margin-top: 6px; }
.stp .note { font-style: italic; font-size: 21px; color: var(--muted); }
.n-gold { --n1: #F2C452; --n2: #B27A00; }
.n-teal { --n1: #2DB7AE; --n2: #146C74; }
.n-pink { --n1: #F06AA8; --n2: #C2006E; }

/* KPI tiles */
.tiles { display: grid; gap: 22px; }
.tile { padding: 24px 22px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; }
.tile .ti { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: var(--accent); background: var(--accent-soft); }
.tile .big { font-family: var(--slab); font-weight: 800; font-size: 46px; line-height: 1; color: var(--accent); letter-spacing: -.01em; }
.tile .lbl { font-size: 21px; line-height: 1.28; color: var(--ink-2); }
.tile.row { flex-direction: row; text-align: left; align-items: center; gap: 20px; padding: 22px 24px; }
.tile.row .txt { display: flex; flex-direction: column; gap: 4px; }
.tile.punch { box-shadow: 0 0 0 3px var(--accent), 0 30px 60px -24px color-mix(in srgb, var(--accent) 70%, transparent); }
.tile.punch .big { animation: punchIn 1s var(--ease-back) both; }
@keyframes punchIn { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: none; } }

/* score / report panels */
.panel { padding: 30px 36px; }
.panel .ph { display: flex; align-items: center; gap: 14px; }
.panel h4 { margin: 8px 0 0; font-size: 30px; font-weight: 800; color: var(--ink); }
.score { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.score .big { font-family: var(--slab); font-size: 120px; font-weight: 800; line-height: .9; color: var(--accent); letter-spacing: -.02em; }
.score .of { font-family: var(--slab); font-size: 48px; font-weight: 700; color: var(--accent); }
.meter { display: grid; grid-template-columns: 1fr 130px; column-gap: 20px; align-items: center; padding: 5px 0; }
.meter .lab { font-size: 22px; color: var(--ink-2); }
.meter .val { font-size: 21px; font-weight: 700; text-align: right; color: var(--ink-2); }
.bar { grid-column: 1 / 2; height: 12px; border-radius: 10px; background: #F1E7EC; overflow: hidden; margin-top: 6px; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #fff)); transition: width 1.4s var(--ease) calc(var(--d, 0ms) + 250ms); }
.shown .bar > i, .bar.shown > i, .static .bar > i { width: var(--w); }
.rows .r { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 16px 0; border-top: 2px solid #F3E6EC; font-size: 25px; }
.rows .r:first-child { border-top: 0; }
.rows .r .v { text-align: right; font-weight: 800; font-size: 28px; color: var(--ink); }
.rows .r .v small { display: block; font-size: 18px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* "today" vs "we fix" band used by the three engine intro slides */
.band { position: absolute; left: 60px; right: 60px; bottom: 40px; height: 300px; padding: 26px 34px; display: grid; grid-template-columns: 1.08fr 2px 1fr; gap: 34px; }
.band .sep { background: linear-gradient(180deg, transparent, var(--line), transparent); }
.band .kicker { margin-bottom: 18px; }
.today { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.today .t { border-radius: 20px; padding: 20px 20px; background: var(--today-bg, #FBF1E3); display: flex; flex-direction: column; gap: 6px; min-height: 182px; }
.today .t .tt { display: flex; align-items: center; gap: 14px; font-size: 27px; font-weight: 800; color: var(--ink); line-height: 1.12; }
.today .t .tt .ic { font-size: 44px; color: var(--today-ic, var(--gold)); }
.today .t .ts { font-size: 20px; color: var(--muted); line-height: 1.3; }
.fix { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fix .f { border-radius: 20px; padding: 18px 22px; border: 2px solid color-mix(in srgb, var(--fc, var(--accent)) 28%, transparent); background: #fff; position: relative; overflow: hidden; }
.fix .f .fw { display: flex; align-items: center; gap: 14px; font-family: var(--slab); font-size: 44px; font-weight: 800; color: var(--fc, var(--accent)); line-height: 1; }
.fix .f .fw .ic { font-size: 46px; }
.fix .f .fs { font-size: 21px; font-weight: 700; color: var(--ink-2); margin: 8px 0 6px; }
.fix .f .fd { font-size: 20px; color: var(--muted); line-height: 1.3; }
.fix .f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-120%); }
.fix .f.shown::after { animation: sheen 1.4s var(--ease) calc(var(--d, 0ms) + 300ms) 1; }
@keyframes sheen { to { transform: translateX(120%); } }

/* analogy cards (Airbnb = PIP) */
.analogy { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; gap: 10px; }
.analogy .card { padding: 30px 34px; }
.analogy h3 { margin: 0 0 14px; font-family: var(--slab); font-size: 46px; font-weight: 800; color: var(--accent); line-height: 1; }
.analogy h3.alt { color: var(--ana, var(--gold)); }
.analogy p { margin: 0; font-size: 24px; line-height: 1.38; color: var(--ink-2); }
.analogy .hr { height: 3px; border-radius: 3px; background: var(--ana, var(--gold)); opacity: .55; margin: 18px 0; width: 70%; }
.analogy .eq { display: grid; place-items: center; font-family: var(--slab); font-size: 90px; font-weight: 800; color: var(--ana, var(--gold)); }

/* photos */
.photo { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(80, 0, 40, .55); background: #eee; }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.current .photo img, .static .photo img { transform: scale(1); }
.photo .cap { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 17px; font-weight: 700; color: var(--ink-2); }

/* ---------- original-view overlay ---------- */
.orig { position: absolute; inset: 0; z-index: 50; display: none; background: #000; }
.show-orig .orig { display: block; }
.orig img { width: 100%; height: 100%; object-fit: fill; }
.orig .ob { position: absolute; background: #FDECF4; filter: blur(0); box-shadow: 0 0 22px 18px #FDECF4; }
.orig .ot { position: absolute; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; font-family: "Aptos Slab Black", "Aptos Slab", var(--slab); font-weight: 900; color: #FDF3F8; -webkit-text-stroke: 1.2px #D6007A; text-shadow: 0 0 22px rgba(214, 0, 122, .55), 2px 3px 0 #D6007A; line-height: 1.12; }
.orig-badge { position: absolute; right: 22px; top: 18px; z-index: 51; padding: 8px 16px; border-radius: 999px; background: rgba(20, 6, 13, .78); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .1em; display: none; }
.show-orig .orig-badge { display: block; }

/* ---------- chrome: top progress + bottom controls ---------- */
.progress { position: fixed; left: 0; top: 0; height: 4px; z-index: 30; background: linear-gradient(90deg, var(--pink), var(--rose)); width: 0; transition: width .6s var(--ease); box-shadow: 0 0 12px rgba(214, 0, 122, .7); }
.chrome {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 18px;
  background: rgba(24, 8, 17, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #fff; font-size: 14px; transition: opacity .35s var(--ease), transform .35s var(--ease); max-width: calc(100vw - 20px);
}
.chrome.idle { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.chrome button { background: transparent; border: 0; color: #fff; height: 38px; min-width: 38px; padding: 0 10px; border-radius: 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.chrome button:hover { background: rgba(255, 255, 255, .12); }
.chrome button:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
.chrome button[aria-pressed="true"] { background: var(--pink); }
.chrome .ic { font-size: 19px; }
.chrome .nav { min-width: 46px; background: rgba(255, 255, 255, .08); }
.chrome .nav.next { background: var(--pink); }
.chrome .nav.next:hover { background: #EA1B8E; }
.chrome .count { min-width: 74px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; cursor: pointer; padding: 0 6px; }
.chrome .div { width: 1px; height: 24px; background: rgba(255, 255, 255, .16); margin: 0 4px; }
.segs { display: flex; gap: 4px; align-items: center; padding: 0 6px; }
.seg { position: relative; height: 26px; display: flex; align-items: center; cursor: pointer; }
.seg i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .22); overflow: hidden; position: relative; }
.seg i b { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--rose), var(--pink)); transition: width .5s var(--ease); }
.seg:hover i { background: rgba(255, 255, 255, .4); }
.seg .tip { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); background: #fff; color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.seg:hover .tip, .seg.cur .tip { opacity: 1; }
.chrome:not(:hover) .seg.cur .tip { opacity: 0; }
.lbl-sm { font-size: 13px; }
@media (max-width: 1100px) { .chrome .lbl-sm { display: none; } .segs { display: none; } }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(14, 4, 10, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; overflow: auto; }
.overlay.open { display: block; animation: ovIn .3s var(--ease); }
@keyframes ovIn { from { opacity: 0; } }
.ov-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; background: linear-gradient(180deg, rgba(14, 4, 10, .96), rgba(14, 4, 10, .6)); z-index: 2; }
.ov-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.ov-head .hint { font-size: 14px; opacity: .7; margin-left: 14px; font-weight: 500; }
.btn { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; padding: 9px 16px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; }
.btn:hover { background: rgba(255, 255, 255, .2); }
.btn.pink { background: var(--pink); border-color: var(--pink); }
.ov-sec { padding: 6px 28px 10px; }
.ov-sec h3 { margin: 14px 0 12px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); outline: 2px solid transparent; transition: transform .2s var(--ease), outline-color .2s; }
.thumb:hover, .thumb:focus-visible { transform: translateY(-3px); outline-color: var(--rose); }
.thumb.cur { outline-color: var(--pink); outline-width: 3px; }
.thumb .tclip { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; pointer-events: none; }
.thumb .tclip .slide { opacity: 1; visibility: visible; transform: none; transition: none; }
.thumb .tn { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 7px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.help .box { max-width: 760px; margin: 6vh auto; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.help h3 { margin: 0 0 12px; font-size: 24px; }
.help table { width: 100%; border-collapse: collapse; font-size: 16px; }
.help td { padding: 7px 6px; border-top: 1px solid #f0e4ea; vertical-align: top; }
.help td:first-child { white-space: nowrap; width: 46%; }
kbd { display: inline-block; min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 6px; border: 1px solid #d9c6cf; border-bottom-width: 3px; background: #fff; font: 700 13px/1.4 var(--sans); color: var(--ink); margin: 0 2px; }

/* reading mode */
.reading body, body.reading { overflow: auto; background: #1a0811; }
body.reading .viewport { position: relative; inset: auto; height: auto; background: transparent; overflow: visible; }
body.reading .stage { display: none; }
body.reading .chrome .hide-reading { display: none; }
.read-list { display: none; padding: 70px 12px 120px; }
body.reading .read-list { display: block; }
.read-item { position: relative; margin: 0 auto 22px; max-width: 1400px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); }
.read-item .tclip { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.read-item .tclip .slide { opacity: 1; visibility: visible; transform: none; transition: none; }

/* toast, laser, blackout, timer */
.toast { position: fixed; left: 50%; top: 22px; transform: translate(-50%, -20px); z-index: 80; background: rgba(24, 8, 17, .9); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.laser { position: fixed; z-index: 90; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; display: none; background: radial-gradient(circle, #fff 0 18%, #ff2b8a 30%, rgba(255, 43, 138, .5) 55%, transparent 72%); box-shadow: 0 0 18px 6px rgba(255, 43, 138, .55); }
body.laser-on { cursor: none; }
body.laser-on .laser { display: block; }
.blackout { position: fixed; inset: 0; z-index: 85; background: #000; display: none; }
.blackout.on { display: block; }
.mini-timer { position: fixed; right: 16px; top: 14px; z-index: 35; background: rgba(24, 8, 17, .78); color: #fff; padding: 6px 12px; border-radius: 10px; font: 700 16px/1.2 var(--sans); font-variant-numeric: tabular-nums; display: none; }
.mini-timer.on { display: block; }
.mode-pill { position: fixed; left: 16px; top: 14px; z-index: 35; display: flex; gap: 8px; }
.mode-pill span { background: var(--pink); color: #fff; padding: 6px 12px; border-radius: 999px; font: 800 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px -6px rgba(214, 0, 122, .8); }

/* section wipe */
.wipe { position: fixed; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(105deg, transparent 0 30%, rgba(214, 0, 122, .9) 45%, rgba(244, 163, 203, .9) 55%, transparent 70% 100%); transform: translateX(-110%); opacity: 0; }
.wipe.go { animation: wipe .9s var(--ease) 1; }
@keyframes wipe { 0% { transform: translateX(-110%); opacity: 1; } 100% { transform: translateX(110%); opacity: 1; } }

/* embed (presenter previews) */
body.embed .chrome, body.embed .progress, body.embed .mode-pill, body.embed .mini-timer { display: none !important; }
body.embed .viewport { background: #000; }

/* print: one slide per page */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { background: #fff; overflow: visible; height: auto; }
  .chrome, .progress, .overlay, .toast, .laser, .mode-pill, .mini-timer, .wipe, .orig, .orig-badge { display: none !important; }
  .viewport { position: static; overflow: visible; background: none; }
  .stage { position: static; transform: none !important; width: 1920px; height: auto; }
  .slide { position: relative; opacity: 1 !important; visibility: visible !important; transform: none !important; width: 1920px; height: 1080px; page-break-after: always; break-after: page; }
  .slide [data-a] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .slide .bar > i { width: var(--w) !important; transition: none !important; }
  video { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, [data-a], .bar > i, .photo img { transition-duration: .01s !important; }
  .blob, .wipe { animation: none !important; }
}
