:root {
  color-scheme:dark;
  font-family:"Segoe UI",Helvetica,Arial,sans-serif;
  background:#081823;
  color:#eef6fa;
  --surface:#0e283a;
  --cyan:#a1edf0;
  --sky:#87dfe5;
  --muted:#abc0cd;
  --line:#35576c;
  --inset:clamp(1rem,3.7vw,4rem);
}
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; }
button { color:inherit; font:inherit; cursor:pointer; }
[hidden] { display:none!important; }
a { color:var(--cyan); }
:focus-visible { outline:2px solid var(--cyan); outline-offset:3px; }
#title:focus { outline:none; }
.shell { min-height:100svh; display:flex; flex-direction:column; }
.toolbar,.footer { background:#081923; }
.toolbar { border-bottom:1px solid #274657; }
.bar { width:min(100%,108rem); padding-inline:var(--inset); margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:.75rem; }
.toolbar .bar { min-height:3.82rem; }
.identity { display:flex; align-items:center; gap:.72rem; color:#f2f7fa; font-weight:730; line-height:1.16; }
.identity small { display:block; color:var(--muted); font-size:.75rem; margin-top:.2rem; font-weight:560; }
.mark { display:grid; width:1.5rem; height:1.5rem; grid-template-columns:repeat(2,1fr); gap:3px; transform:skewY(-10deg); flex:none; }
.mark i { background:#8ce7eb; border-radius:1px; }
.mark i:nth-child(2),.mark i:nth-child(3) { opacity:.45; }
.controls { display:flex; align-items:center; gap:.38rem; }
.button { border:1px solid #466b80; border-radius:.37rem; color:#e9f3f8; background:#132d3e; padding:.45rem .78rem; min-height:2.38rem; font-size:.87rem; font-weight:670; white-space:nowrap; }
.button:hover { background:#23485c; }
.button.next { color:#0a2630; border-color:#a7eaec; background:#a1ecef; padding-inline:1.08rem; }
.button.next:hover { background:#c1f5f4; }
.slide {
  flex:1; width:min(100%,108rem); margin-inline:auto; padding:clamp(1.1rem,2.35vh,2.05rem) var(--inset) clamp(1.35rem,3vh,2.6rem);
}
.slide-heading { border-bottom:1px solid #375769; padding-bottom:.79rem; margin-bottom:clamp(.85rem,1.75vh,1.28rem); }
.chapter { margin:0 0 .39rem; color:var(--cyan); font-size:.81rem; font-weight:700; letter-spacing:.105em; text-transform:uppercase; }
h1 { font-size:clamp(2rem,4.25vw,5rem); line-height:1.03; letter-spacing:-.058em; margin:0; font-weight:725; text-wrap:balance; }
.takeaway { font-size:clamp(1rem,1.48vw,1.4rem); margin:.45rem 0 0; line-height:1.3; color:#c2d7e4; }
.content { display:grid; grid-template-columns:minmax(0,1.10fr) minmax(0,1fr); gap:clamp(.95rem,2.1vw,2.27rem); align-items:start; }
.scene { margin:0; min-width:0; }
.scene-frame { position:relative; aspect-ratio:16/9; border:1px solid #386078; border-radius:.55rem; overflow:hidden; background:#0c2233; box-shadow:0 12px 38px #040d1461; }
.scene-frame :is(img,canvas) { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.scene-frame canvas { outline:none; }
.scene-caption { margin:.75rem 0 0; padding-left:.66rem; border-left:2px solid #72d3db; color:#b9cedb; font-size:clamp(.90rem,1.15vw,1.06rem); line-height:1.36; }
.evidence { min-width:0; }
.footer { position:sticky; z-index:4; bottom:0; }
.progress { height:1px; background:#294b5a; }
.progress span { height:1px; display:block; width:0; background:#76d2dc; }
.footer-inner { min-height:3.25rem; padding-block:.35rem; }
.counter { color:#bcd0dc; font-variant-numeric:tabular-nums; font-weight:670; font-size:.86rem; }
.index { width:min(60rem,calc(100% - 1.2rem)); max-height:min(49rem,calc(100svh - 1.6rem)); background:#0a2232; color:#e8f4fa; border:1px solid #426779; border-radius:.72rem; padding:0; }
.index::backdrop { background:#040e17de; }
.index-head { position:sticky; top:0; background:#0a2232; z-index:1; display:flex; justify-content:space-between; align-items:center; padding:.67rem .95rem; border-bottom:1px solid #33586e; }
.index-head h2 { font-size:1.4rem; margin:0; }
.index-content { padding:.75rem .96rem .99rem; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:1.06rem; }
.index-group h3 { color:#a1edf0; margin:.17rem 0 .24rem; font-size:.85rem; }
.index-entry { width:100%; border:0; border-radius:.25rem; padding:.34rem .41rem; min-height:2.14rem; display:grid; grid-template-columns:1.8rem 1fr; gap:.26rem; text-align:left; align-items:center; background:transparent; font-size:.89rem; line-height:1.25; }
.index-entry span { color:#a4bdcb; font-variant-numeric:tabular-nums; }
.index-entry:hover,.index-entry[aria-current="page"] { background:#1b455b; }
.noscript { margin:1rem; }

body.presenting { overflow:hidden; }
body.presenting .shell { display:block; height:100svh; overflow:hidden; }
body.presenting :is(.toolbar,.footer) { display:none; }
body.presenting .slide {
  position:relative; left:50%; width:100vw; max-width:none;
  transform:translateX(-50%) scale(var(--presentation-scale,1)); transform-origin:center top;
  padding:clamp(.72rem,2.3vh,1.8rem) clamp(1rem,3.7vw,4.2rem) 1rem;
}
body.presenting .slide-heading { margin-bottom:.76rem; padding-bottom:.61rem; }
body.presenting h1 { font-size:clamp(1.78rem,3.8vw,4.7rem); }
body.presenting .content { gap:clamp(.65rem,1.65vw,1.6rem); }
body.presenting .scene-frame { box-shadow:none; }
body.presenting .takeaway { margin-top:.34rem; }
body.presenting .inline-evidence { font-size:clamp(.86rem,1.06vw,1rem); }
@media(max-width:54rem) {
  .content { grid-template-columns:1fr; }
  body.presenting,.presenting .shell { overflow:auto; }
  body.presenting .slide { transform:translateX(-50%); }
}
@media(max-width:32rem) {
  .toolbar .bar { min-height:3.2rem; }
  .identity { gap:.46rem; font-size:.92rem; }
  .identity small { display:none; }
  .mark { width:1.10rem; height:1.10rem; }
  .button { min-height:2.12rem; padding-inline:.51rem; font-size:.81rem; }
  .index-content { grid-template-columns:1fr; }
}
