/* =========================================================
   CTF 101 — presentation styles
   Design language: black canvas, electric-cyan glow titles,
   solid cyan cards beside thin outlined cards, pill labels,
   glowing light strips (after the "Electric Blue and Black
   Modern Computer Security" Canva template).
   Slides are authored on a fixed 1600×900 canvas and scaled
   to fit the screen, so layouts never reflow on projectors.
   ========================================================= */

:root {
  --bg: #000;
  --bg-2: #050c0e;
  --panel: #071316;
  --cyan: #36e2ea;
  --cyan-2: #8ff4f8;
  --cyan-ink: #021417;
  --text: #e9fbfc;
  --muted: #9dbcc0;
  --line: rgba(54, 226, 234, .42);
  --line-soft: rgba(54, 226, 234, .18);
  --good: #6ef2a8;
  --bad: #ff5c7a;
  --accent: var(--cyan);
  --scale: 1;

  /* category accents */
  --c-osint: #ffb547;
  --c-crypto: #36e2ea;
  --c-stego: #ff6ad5;
  --c-forensics: #5b9bff;
  --c-web: #b6f25a;
  --c-reverse: #ff8f4d;
  --c-pwn: #ff5c7a;
  --c-misc: #a68bff;

  --f-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%;
  background: var(--bg); color: var(--text);
  font-family: var(--f-body);
  overflow: hidden;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
code, .mono { font-family: var(--f-mono); }

/* ---------- stage & scaling ---------- */
#stage {
  position: fixed; left: 50%; top: 50%;
  width: 1600px; height: 900px;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center;
  background: var(--bg);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  padding: 72px 96px 84px;
  opacity: 0; visibility: hidden;
  transform: translateX(48px);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
  display: flex; flex-direction: column;
  font-size: 22px; line-height: 1.45;
}
.slide.past { transform: translateX(-48px); }
.slide.active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.slide .notes { display: none; }

/* staggered entrance */
.slide.active .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.active { transition: opacity .2s; transform: none !important; }
  .slide.active .rise { animation: none; }
  .beam, .pulse, .scanline { animation: none !important; }
}

/* glowing light strips (Canva motif) */
.slide::before, .slide::after {
  content: ""; position: absolute; pointer-events: none; height: 26px;
  background: linear-gradient(180deg, rgba(54, 226, 234, .55), rgba(54, 226, 234, 0));
  filter: blur(.3px);
}
.slide::before { top: 0; left: 96px; width: 280px; }
.slide::after { bottom: 0; right: 96px; width: 220px; transform: scaleY(-1); }
.slide.no-strips::before, .slide.no-strips::after { display: none; }

/* ---------- typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--f-title); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--f-title); }
.title {
  font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  color: var(--accent); line-height: 1.02;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 2px color-mix(in srgb, var(--accent) 80%, transparent);
}
.t-xxl { font-size: 150px; }
.t-xl { font-size: 92px; }
.t-lg { font-size: 68px; }
.t-md { font-size: 54px; }
.lead { font-size: 28px; line-height: 1.4; color: var(--text); max-width: 1100px; }
.muted { color: var(--muted); }
.small { font-size: 18px; }
.tiny { font-size: 15px; }
h3 { font-size: 26px; font-weight: 600; letter-spacing: .01em; }
h4 { margin: 0 0 6px; font: 600 15px/1.2 var(--f-title); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
p { margin: 0; }
strong { color: #fff; font-weight: 650; }
.accent { color: var(--accent); }
.hl { color: var(--accent); font-weight: 600; }

/* ---------- building blocks ---------- */
.card {
  border: 1.5px solid var(--line); border-radius: 18px;
  padding: 22px 24px; background: linear-gradient(180deg, rgba(54, 226, 234, .05), rgba(54, 226, 234, 0) 60%);
  position: relative;
}
.slide[style*="--accent"] .card { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%); }
.card.fill, .slide[style*="--accent"] .card.fill {
  background: var(--accent); color: var(--cyan-ink); border-color: var(--accent);
  box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 30%, transparent);
}
.card.fill strong, .card.fill h3, .card.fill h4 { color: var(--cyan-ink); }
.card.fill a { color: var(--cyan-ink); font-weight: 600; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 20px; }
.card.compact { padding: 16px 18px; border-radius: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 26px; border-radius: 999px;
  background: var(--accent); color: var(--cyan-ink);
  font: 600 20px/1 var(--f-body);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 45%, transparent);
}
.pill.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--text); font-size: 17px; line-height: 1.2; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font: 700 12px/1.4 var(--f-title); letter-spacing: .1em; text-transform: uppercase;
  vertical-align: middle;
}
.badge.web-tool { background: rgba(54, 226, 234, .16); color: var(--cyan); border: 1px solid rgba(54, 226, 234, .5); }
.badge.install { background: rgba(166, 139, 255, .14); color: #c7b7ff; border: 1px solid rgba(166, 139, 255, .5); }
.badge.builtin { background: rgba(110, 242, 168, .12); color: var(--good); border: 1px solid rgba(110, 242, 168, .45); }
.badge.adv { background: rgba(255, 92, 122, .12); color: #ff9db0; border: 1px solid rgba(255, 92, 122, .45); }
.badge.free { background: rgba(110, 242, 168, .12); color: var(--good); border: 1px solid rgba(110, 242, 168, .45); }
.badge.freemium { background: rgba(255, 181, 71, .12); color: #ffd08a; border: 1px solid rgba(255, 181, 71, .45); }
.badge.acct { background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid rgba(255, 255, 255, .22); }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-box {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; flex: none;
  border: 1.5px solid color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--accent); font-size: 32px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--accent) 12%, transparent);
}
.icon-box.sm { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; }

.jargon {
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 3px solid var(--accent); padding: 10px 16px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border-radius: 0 12px 12px 0; font-size: 18px; line-height: 1.4;
}
.jargon .icon { font-size: 22px; color: var(--accent); margin-top: 2px; }
.jargon b { color: var(--accent); font-weight: 650; }

.term {
  font-family: var(--f-mono); font-size: .92em;
  padding: 1px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.code {
  font-family: var(--f-mono); font-size: 19px; line-height: 1.55;
  background: #02090b; border: 1.5px solid var(--line-soft); border-radius: 14px;
  padding: 16px 20px; color: #cfeff1; white-space: pre; overflow: hidden;
}
.code .c { color: #5e7f84; }
.code .p { color: var(--accent); }
.code .k { color: #ffd08a; }
.code .s { color: var(--good); }
.code .m { background: color-mix(in srgb, var(--accent) 25%, transparent); color: #fff; border-radius: 4px; padding: 0 3px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { font-size: .9em; }
.link-arrow:hover { text-decoration: underline; }

.circle-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent);
  display: inline-grid; place-items: center; color: var(--accent); font-size: 22px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--accent); background: transparent; color: var(--accent);
  font-weight: 600; font-size: 19px; text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: var(--cyan-ink); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent); outline: none; }
.btn.solid { background: var(--accent); color: var(--cyan-ink); }
.btn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 18%, transparent); color: #fff; }

/* reveal panels */
.reveal { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s, transform .35s; }
.reveal.shown { opacity: 1; transform: none; pointer-events: auto; }

/* Web exploitation slide */
.web-exploit-slide > .grid.mt {
  align-items: start;
  min-height: 0;
}
.web-exploit-slide > .grid.mt > .col:first-child {
  min-width: 0;
}
.web-exploit-slide #devtools .code {
  height: auto;
  min-height: 159px;
  overflow: hidden;
  white-space: pre;
  line-height: 1.35;
  font-size: 15px;
  tab-size: 2;
  padding: 10px 18px;
}
.web-exploit-slide .tools {
  gap: 5px;
}
.web-exploit-slide .tool {
  grid-template-columns: 236px 1fr;
  align-items: start;
  line-height: 1.25;
}
.web-exploit-slide .tool > a,
.web-exploit-slide .tool > span.name {
  width: 236px;
}
.web-exploit-slide .tool > .why {
  grid-column: 1 / -1;
  font-size: 15px;
  margin-top: 1px;
}
.web-exploit-slide .practice {
  align-items: center;
  gap: 10px 16px;
  font-size: 18px;
}
.web-exploit-slide .grid.g2 .card.compact { padding: 12px 18px; }
/* DevTools toggle sits in the mock browser's address bar, like a real toolbar button */
.web-exploit-slide .devtools-btn { padding: 6px 16px; font-size: 16px; gap: 8px; }

/* layout helpers */
.row { display: flex; gap: 24px; }
.col { display: flex; flex-direction: column; gap: 16px; }
.grow { flex: 1; min-width: 0; }
.center { align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 40px; } .mt-auto { margin-top: auto; }
.mb-s { margin-bottom: 12px; } .mb { margin-bottom: 24px; }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; min-height: 32px; font-size: 20px; line-height: 1.35; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 700 16px/1 var(--f-title);
  background: var(--accent); color: var(--cyan-ink);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
}

/* tool rows (category slides) */
.tools { display: flex; flex-direction: column; gap: 10px; }
.tool { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; font-size: 18px; line-height: 1.35; }
.tool > a, .tool > span.name { font-weight: 700; font-size: 19px; white-space: nowrap; }
.tool > .why { grid-column: 1 / -1; color: var(--muted); }
.tool > .why b { color: var(--text); font-weight: 600; }

.practice {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 19px;
}
.practice .lbl { font: 700 14px/1 var(--f-title); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* challenge card mock */
.chal {
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: #03090b;
}
.chal header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; background: color-mix(in srgb, var(--accent) 14%, transparent);
  font: 600 19px/1.2 var(--f-title);
}
.chal header .pts { font-family: var(--f-mono); font-size: 16px; color: var(--accent); }
.chal .body { padding: 14px 18px 16px; font-size: 19px; line-height: 1.4; }
.chal .file { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--f-mono); font-size: 16px; color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); padding: 4px 12px; border-radius: 8px; }
.chal .flagbox { margin-top: 10px; display: flex; gap: 8px; }
.chal .flagbox span { flex: 1; font-family: var(--f-mono); font-size: 15px; color: #4c6a6e; border: 1px solid #16323a; border-radius: 8px; padding: 6px 10px; }
.chal .flagbox b { font-size: 14px; background: var(--accent); color: var(--cyan-ink); border-radius: 8px; padding: 7px 12px; }
.illus-note { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #5e7f84; margin-top: 6px; }

/* category header */
.cat-head { display: flex; align-items: center; gap: 22px; }
.cat-num { font: 300 84px/1 var(--f-title); color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.level { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--f-title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.level i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--accent); display: inline-block; }
.level i.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* illustration frame (Canva "thick cyan frame" motif) */
.frame {
  border: 14px solid var(--accent); border-radius: 22px;
  box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 30%, transparent);
  background: #02090b; overflow: hidden;
}
svg.illus { display: block; width: 100%; height: auto; }
svg .glow { filter: drop-shadow(0 0 6px currentColor); }

.beam { animation: beam 5s ease-in-out infinite; transform-origin: center; }
@keyframes beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.pulse { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.caret::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- interactive widgets ---------- */
input[type="text"], textarea {
  font-family: var(--f-mono); font-size: 20px; color: #fff;
  background: #02090b; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 14px; width: 100%; outline: none;
}
input[type="text"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }

.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; font-size: 21px; font-weight: 600;
  border: 1.5px solid var(--line); background: rgba(54, 226, 234, .04); color: var(--text);
  transition: border-color .2s, background .2s, transform .15s;
}
.quiz-opt:hover { border-color: var(--accent); transform: translateY(-2px); }
.quiz-opt .icon-box { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; }
.quiz-opt.picked { background: var(--accent); color: var(--cyan-ink); border-color: var(--accent); }
.quiz-opt.picked .icon-box { color: var(--cyan-ink); border-color: var(--cyan-ink); }
.feedback { display: none; }
.feedback.shown { display: block; animation: rise .4s both; }

/* LSB pixel demo */
.pixels { display: grid; gap: 2px; }
.pixels i { display: block; aspect-ratio: 1; border-radius: 2px; transition: background-color .5s; }

/* buffer overflow demo */
.mem { display: flex; gap: 6px; flex-wrap: nowrap; }
.mem .cell {
  width: 52px; height: 64px; border-radius: 10px;
  display: grid; place-items: center; font: 600 24px var(--f-mono);
  border: 1.5px solid var(--line); background: #02090b; color: #fff;
  transition: background .25s, border-color .25s;
}
.mem .cell.used { background: color-mix(in srgb, var(--accent) 20%, transparent); border-color: var(--accent); }
.mem .cell.ret { border-color: #ffd08a; color: #ffd08a; font-size: 16px; }
.mem .cell.smash { background: rgba(255, 92, 122, .3); border-color: var(--bad); color: #fff; }
.mem-label { font: 600 13px/1.2 var(--f-title); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- UI chrome (outside stage) ---------- */
#progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); z-index: 30; transition: width .4s ease; }
#brand {
  position: fixed; left: 18px; bottom: 14px; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--f-title); letter-spacing: .14em; text-transform: uppercase; color: #6c8f94;
}
#brand .icon { color: var(--cyan); font-size: 18px; }
#controls {
  position: fixed; right: 16px; bottom: 12px; z-index: 30;
  display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: rgba(3, 12, 14, .82); border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
  transition: opacity .4s;
}
body.idle #controls, body.idle #brand { opacity: 0; }
body.idle { cursor: none; }
#controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--cyan);
  display: grid; place-items: center; cursor: pointer; font-size: 20px;
}
#controls button:hover, #controls button:focus-visible { background: rgba(54, 226, 234, .16); outline: none; }
#controls button[aria-pressed="true"] { background: rgba(54, 226, 234, .22); }
#counter { font: 600 15px/1 var(--f-mono); color: var(--text); min-width: 74px; text-align: center; letter-spacing: .04em; }
#counter b { color: var(--cyan); }

/* overview grid */
#overview {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .94);
  display: none; flex-direction: column; padding: 28px 36px;
}
#overview.open { display: flex; }
#overview header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--cyan); font: 600 18px var(--f-title); letter-spacing: .16em; text-transform: uppercase; }

#overview .grid-wrap { overflow-y: auto; flex: 1; padding: 6px; }
#overview .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 18px; }
.thumb { cursor: pointer; border: 0; padding: 0; background: none; text-align: left; color: var(--muted); }
.thumb .mini { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 10px; border: 1.5px solid var(--line-soft); background: #000; }
.thumb .mini > .slide { width: 1600px; height: 900px; transform-origin: 0 0; opacity: 1; visibility: visible; transition: none; pointer-events: none; }
.thumb .mini > .slide .rise { animation: none; }
.thumb.current .mini, .thumb:hover .mini, .thumb:focus-visible .mini { border-color: var(--cyan); box-shadow: 0 0 18px rgba(54, 226, 234, .4); }
.thumb:focus-visible { outline: none; }
.thumb span { display: block; margin-top: 8px; font-size: 14px; }
.thumb span b { color: var(--cyan); font-family: var(--f-mono); margin-right: 6px; }

/* speaker notes drawer */
#notes {
  position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%);
  width: min(900px, 94vw); max-height: 42vh; overflow-y: auto; z-index: 40;
  background: rgba(4, 14, 16, .97); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 24px; font-size: 17px; line-height: 1.55; color: #d6eef0;
  display: none; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
#notes.open { display: block; }
#notes h5 { margin: 0 0 8px; font: 700 13px/1 var(--f-title); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
#notes ul { margin: 6px 0 0; padding-left: 20px; }
#notes p + p { margin-top: 8px; }

/* help */
#help {
  position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(0, 0, 0, .8);
}
#help.open { display: grid; }
#help .box { background: #041012; border: 1px solid var(--line); border-radius: 18px; padding: 26px 32px; min-width: 420px; }
#help h5 { margin: 0 0 14px; color: var(--cyan); font: 700 15px var(--f-title); letter-spacing: .16em; text-transform: uppercase; }
#help table { border-collapse: collapse; font-size: 16px; }
#help td { padding: 6px 14px 6px 0; }
#help kbd { font-family: var(--f-mono); font-size: 14px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--cyan); }

[contenteditable="true"] { outline: none; border-bottom: 1px dashed transparent; }
[contenteditable="true"]:hover, [contenteditable="true"]:focus { border-bottom-color: var(--line); }

@media print {
  html, body { overflow: visible; }
  #controls, #progress, #brand, #overview, #notes, #help { display: none !important; }
  #stage { position: static; transform: none; width: auto; height: auto; overflow: visible; }
  .slide { position: relative; width: 1600px; height: 900px; opacity: 1; visibility: visible; transform: none; page-break-after: always; break-after: page; }
  .reveal { opacity: 1; }
}

/* slide 2: larger scenario cards */
.imagine .card { padding: 28px 30px; }
.imagine .card p { font-size: 24px; }
.imagine .icon-box { width: 72px; height: 72px; font-size: 36px; }

/* slide 29/30: fill the canvas with bigger step & mistake cards */
.method .card.compact { flex: 1; padding: 18px 20px; }
.method .card.compact p { font-size: 21px; }
.mistakes .card { justify-content: center; gap: 16px !important; }
.mistakes .card > p:first-child { font-size: 24px; }
.mistakes .card > p.small { font-size: 21px; }

/* slide 34: larger day cards */
.days h3 { font-size: 24px !important; }
.days p.small { font-size: 20px; }

/* links from slides to the Markdown guides in docs/ */
.pill.doc-link { padding: 8px 18px; font-size: 16px; text-decoration: none; white-space: nowrap; }
.pill.doc-link:hover { filter: brightness(1.12); }
