/* Guess the Plot · Observation deck. Shared theme and header: /assets/atmos.css */
.gtp [hidden],.gtp-archive[hidden],.gtp[hidden]{display:none!important}
/* paper block */
.gtp-paper h2{margin:.35rem 0 0;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:clamp(1.45rem,3vw,2.1rem);line-height:1.1;letter-spacing:-.02em}
.gtp-paper h2 a{color:inherit;text-decoration-color:var(--gl);text-underline-offset:.18em}
.gtp-fulltitle{margin:.45rem 0 0;font-size:1.15rem;font-style:italic;color:var(--fg2);max-width:52rem;line-height:1.4}
.gtp-byline{margin:.3rem 0 0;color:var(--fg2)}
.gtp-test{display:inline-block;margin:.7rem 0 0;padding:.35rem .8rem;border-radius:999px;background:rgba(217,191,138,.2);color:var(--fg);font-size:.88rem;font-weight:600}

/* figure on a paper surface */
.gtp-stage{margin:0;min-width:0}
.well{position:relative;background:var(--card);border-radius:14px;padding:clamp(.5rem,1.4vw,1rem);box-shadow:inset 0 0 0 1px rgba(28,25,21,.08),0 20px 50px -28px rgba(0,0,0,.6)}
.gtp-figure{position:relative;overflow:hidden;border-radius:6px;background:var(--card)}
.gtp-figure img{display:block;width:100%;height:auto}
.gtp-cover{position:absolute;border-radius:8px;pointer-events:none;display:flex;align-items:center;justify-content:center;color:#7a5c22;font-family:Fraunces,Georgia,serif;font-size:clamp(.8rem,1.8vw,1.15rem);
  background:radial-gradient(120% 140% at 30% 30%,rgba(255,253,248,.98),rgba(236,226,206,.97));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:inset 0 0 0 1px rgba(138,106,47,.3),0 0 18px 6px rgba(246,241,231,.75);
  transition:opacity .9s var(--ease),transform .9s var(--ease),filter .9s var(--ease)}
.gtp-cover::after{content:"?"}
.gtp-figure.is-revealed .gtp-cover{opacity:0;filter:blur(14px);transform:scale(1.35) translateY(-14%)}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(1){transition-delay:0ms}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(2){transition-delay:90ms}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(3){transition-delay:180ms}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(4){transition-delay:270ms}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(5){transition-delay:360ms}
.gtp-figure.is-revealed .gtp-cover:nth-of-type(n+6){transition-delay:450ms}
.gtp-credit{margin:.7rem .1rem 0;color:var(--fg2);font-size:.9rem;line-height:1.45}
.gtp-credit a{color:var(--lnk)}
.gtp-doi:not(:empty)::before{content:"DOI: "}

/* options as glass cards */
.gtp-options{display:grid;gap:.7rem}
.gtp-opt{appearance:none;display:flex;gap:.75rem;align-items:flex-start;width:100%;text-align:left;font:inherit;font-size:1rem;line-height:1.4;cursor:pointer;color:var(--fg);
  background:rgba(246,241,231,.07);border:1px solid var(--edge);border-radius:16px;padding:.95rem 1rem;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transition:border-color .25s,background .3s,transform .3s var(--ease),opacity .4s}
.ctx-light .gtp-opt{background:rgba(255,253,248,.78)}
.gtp-opt .k{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:50%;background:#6e521d;color:var(--paper);font-weight:600;font-size:.85rem}
.gtp-opt:hover:not(:disabled){border-color:var(--gl);transform:translateY(-2px)}
.gtp-opt:focus-visible{outline:2px solid var(--gl);outline-offset:3px}
.gtp-opt:disabled{cursor:default}
.gtp-opt.is-correct{border-color:var(--ok);background:rgba(31,77,69,.55);box-shadow:0 0 0 1px var(--ok)}
.ctx-light .gtp-opt.is-correct{background:#e3efe8}
.gtp-opt.is-correct .k{background:var(--teal)}
.gtp-opt.is-wrong{border-color:var(--no);background:rgba(154,59,36,.38)}
.ctx-light .gtp-opt.is-wrong{background:#f5e3dc}
.gtp-opt.is-wrong .k{background:var(--rust)}
.gtp-opt.is-dim{opacity:.5}
.gtp-feedback{margin:.9rem 0 0;font-weight:600;min-height:1.2em}
.gtp-feedback:empty{margin:0;min-height:0}
.gtp-feedback.ok{color:var(--ok)}
.gtp-feedback.no{color:var(--no)}
.q{margin:0 0 .8rem;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:1.3rem}

/* buttons */
.btns{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.6rem}
.btn{appearance:none;font:600 1rem "Source Sans 3",sans-serif;border-radius:999px;padding:.8rem 1.35rem;cursor:pointer;border:1px solid transparent;display:inline-flex;align-items:center;gap:.55rem;transition:transform .3s var(--ease),box-shadow .3s,background .2s}
.btn.primary{background:var(--gl);color:var(--ink)}
.ctx-light .btn.primary{background:var(--ink);color:var(--paper)}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px -12px rgba(0,0,0,.5)}
.btn:focus-visible{outline:2px solid var(--gl);outline-offset:3px}
.btn::after{content:"↓";transition:transform .3s var(--ease)}
.btn:hover::after{transform:translateY(2px)}

/* authors' point */
.gtp-reveal:focus{outline:none}
.gtp-reveal:not([hidden]){animation:gtp-in .7s var(--ease)}
@keyframes gtp-in{from{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.gtp-text p{margin:0}
.gtp-text p+p,.gtp-text p+ul,.gtp-text ul+p{margin-top:.6rem}
.gtp-why{margin:.9rem 0 0;color:var(--fg2)}
.gtp-idea{display:inline-block;margin-top:.8rem;font-weight:600;color:var(--lnk);text-decoration:none}
.gtp-idea:hover{text-decoration:underline}
.point-h{margin:0 0 .7rem;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.15}

/* archive */
.gtp-archive h2{margin:0 0 .9rem;font-family:Fraunces,Georgia,serif;font-weight:500;font-size:1.7rem}
.gtp-weeks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.8rem}
.gtp-weeks a,.gtp-weeks .cur{display:block;height:100%;border:1px solid rgba(28,25,21,.14);background:rgba(255,253,248,.85);border-radius:16px;padding:.9rem 1.05rem;color:var(--ink);text-decoration:none;transition:border-color .2s,transform .35s var(--ease)}
.gtp-weeks a:hover{border-color:var(--ink);transform:translateY(-3px)}
.gtp-weeks .d{display:block;color:#7a5c22;font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.gtp-weeks .t{display:block;font-family:Fraunces,Georgia,serif;font-size:1.12rem;line-height:1.2;margin:.25rem 0 .15rem}
.gtp-weeks .s{display:block;color:#4f4a41;font-size:.9rem}
.gtp-weeks .cur{border-color:var(--gold);box-shadow:inset 3px 0 0 var(--gold)}
.hint{color:#4f4a41;margin:.9rem 0 0}

@media (prefers-reduced-motion:reduce){
  .gtp-cover,.gtp-opt,.gtp-weeks a,.btn{transition:none!important}
  .gtp-figure.is-revealed .gtp-cover{transform:none;filter:none}
  .gtp-reveal:not([hidden]){animation:none}
}


/* ---------- Open sky ----------
   The deck is no longer a glass box: it sits on the sky, with a soft edgeless scrim from atmos.js only where the sky gets too light for its
   paper text. The figure keeps its paper plate and corner marks, without the shadow stack. The authors' point is set off by a gold rule,
   not a box. The archive is a list on the sky: date with a dot, title underlined as the link. */
body.atmos-gtp .deck{border:0;border-radius:0;padding:.4rem 0 0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
body.atmos-gtp .well{box-shadow:none}
body.atmos-gtp .gtp-opt{-webkit-backdrop-filter:none;backdrop-filter:none}
body.atmos-gtp .readout{border:0;border-left:3px solid var(--gl);border-radius:0;background:none;box-shadow:none;padding:.2rem 0 .2rem 1.2rem}
body.atmos-gtp .btn::after{content:none}
body.atmos-gtp .gtp-archive{border-top:0;color:var(--tx,var(--ink))}
body.atmos-gtp .gtp-archive>h2{width:fit-content;color:var(--tx,var(--ink))}
body.atmos-gtp .hint{color:var(--tx2,#4f4a41)}
body.atmos-gtp .gtp-weeks{gap:1.4rem 2rem}
body.atmos-gtp .gtp-weeks>li{--tx:var(--ink);--tx2:#3d372f;--dc:#6e521d}
body.atmos-gtp .gtp-weeks>li:is(.sky-dk,.sky-scrim:not(.scrim-lt)){--tx:var(--paper);--tx2:#e3dccf;--dc:var(--gl)}
body.atmos-gtp .gtp-weeks a,body.atmos-gtp .gtp-weeks .cur{border:0;border-radius:0;background:none;box-shadow:none;padding:.15rem 0;color:var(--tx)}
body.atmos-gtp .gtp-weeks a:hover{transform:none}
body.atmos-gtp .gtp-weeks .d{display:inline-flex;align-items:center;gap:.5rem;color:var(--dc)}
body.atmos-gtp .gtp-weeks .cur .d::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:var(--gold)}
body.atmos-gtp .gtp-weeks a .t{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:.18em}
body.atmos-gtp .gtp-weeks a:hover .t{text-decoration-thickness:4px}
body.atmos-gtp .gtp-weeks .s{color:var(--tx2)}
