.theano-story .series {letter-spacing:.06em;color:#705525;font-family:Georgia,serif;font-size:1.18em}
.theano-story .ga-session {margin-block:1.6em;padding:clamp(10px,2vw,24px)}
.theano-story .ga-session .ga-slide {aspect-ratio:16 / 9;max-width:960px;object-fit:contain;background:#101720}
.theano-story .ga-controls button,.theano-story .ga-controls label {min-height:44px}
.theano-story .ga-controls label {display:inline-flex;align-items:center;gap:.35em}

html.player-open {overflow:hidden}
#ga-session.window-player {box-sizing:border-box;position:fixed;inset:0;z-index:2147483647;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;background:#0e141d;color:#faf7f1;overflow:auto}
#ga-session.window-player h2 {display:none}
#ga-session.window-player .ga-slide {flex:1 1 0;min-height:0;width:100%;max-width:none;height:0;margin:0;border-radius:0;object-fit:contain;background:transparent}
#ga-session.window-player .ga-controls,#ga-session.window-player .ga-progress {flex:none;margin:.25em auto}
#ga-session.window-player .ga-progress {width:100%}
#ga-session.window-player label,#ga-session.window-player #ga-time {color:#faf7f1}
#ga-session.window-player button:focus-visible {outline:3px solid #ffe298;outline-offset:2px}

.plate-reader {margin:1.4em 0; min-width:0}
.plate-figure {margin:.6em 0 1em}
.plate-figure img {display:block;width:100%;height:auto}
.plate-figure figcaption,.plate-ref,.plate-help {font-size:.92em;line-height:1.5}
.plate-figure figcaption {padding:.6em 0}
.plate-tools,.plate-tools [role=group] {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.plate-tools {justify-content:space-between;row-gap:10px}
.plate-reader [hidden] {display:none}
.plate-tools button {font:inherit;padding:.42em .7em;min-height:42px;color:#403721;background:#fffaf0;border:1px solid #bca16f;border-radius:8px;cursor:pointer}
.plate-tools button[aria-pressed=true] {background:#554265;color:#fff;border-color:#554265}
.plate-tools button:disabled {opacity:.45;cursor:default}
.plate-tools output {min-width:3em;text-align:center}
.plate-reader.is-ready .plate-port {overflow:auto;max-width:100%;height:clamp(230px,52vw,490px);background:#241e1a;border-radius:10px;overscroll-behavior:contain;direction:ltr}
.plate-reader.is-ready .plate-canvas {position:relative;margin:auto}
.plate-reader.is-ready .plate-figure img {position:absolute;max-width:none!important;max-height:none;top:50%;left:50%;user-select:none;height:auto}
.plate-reader.zoomed .plate-port {cursor:grab}
.plate-reader.zoomed .plate-port:active {cursor:grabbing}
.plate-translation {margin:1em 0;background:#fffaf0;border:1px solid #d9c39a;border-radius:.55em;padding:.8em 1em}
.plate-translation summary {font-weight:bold;cursor:pointer}
.plate-translation ol {padding-left:2.3em;line-height:1.7}
.plate-translation li::marker {color:#786240;font-variant-numeric:tabular-nums}

.theano-story .story-number {text-align:center;color:#604578;font-family:Georgia,serif;letter-spacing:.04em;font-size:clamp(1.16rem,2.8vw,1.48rem);margin:1.15em 0 .5em}
.theano-story .story-byline {font-size:1.1em}
.theano-story .story-memory {margin:1em 0}
.theano-story .story-memory p {margin:.35em 0}
.theano-story .plate-help {margin:.15em 0 .65em;color:#604578}
.theano-story .ga-drawer-toggle {display:none}
#ga-session.window-player {padding:0;display:block;overflow:hidden;background:#080b12;isolation:isolate}
#ga-session.window-player .ga-slide {position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;aspect-ratio:auto;object-fit:contain;object-position:center}
#ga-session.window-player .ga-drawer-toggle {
  position:absolute; z-index:2; display:grid; place-items:center;
  right:max(14px, env(safe-area-inset-right)); bottom:max(14px, env(safe-area-inset-bottom));
  box-sizing:border-box; width:49px; height:49px; min-width:0; padding:0; border-radius:50%;
  border:1px solid #f0d4a1; color:#ffebc4; opacity:.5;
  background:linear-gradient(150deg,#423d43,#191a24 68%);
  box-shadow:inset 0 0 0 3px #211f29,inset 0 0 0 4px #87785e,0 2px 8px #0005;
  cursor:pointer;
}
#ga-session.window-player .drawer-arrow {display:block;overflow:visible;transition:transform .22s ease}
#ga-session.window-player .ga-drawer-toggle[aria-expanded="true"] .drawer-arrow {transform:rotate(180deg)}
#ga-session.window-player .ga-drawer-toggle:focus-visible {opacity:1}
@media (prefers-reduced-motion:reduce) {#ga-session.window-player .drawer-arrow {transition:none}}
.theano-story .story-scene {margin:1.35em 0 1.65em}
.theano-story .story-scene img {display:block;width:100%;height:auto;border-radius:8px}
.theano-story .story-scene figcaption {margin:.55em 0 0;text-align:center;color:#584a49;font:italic 1em/1.4 Georgia,serif}
#ga-session.window-player .ga-drawer {position:absolute;z-index:1;inset:auto 0 0;box-sizing:border-box;background:#15111ef2;padding:.7rem max(64px,calc(env(safe-area-inset-right) + 62px)) max(.75rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left));transform:translateY(102%);opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease,visibility 0s .2s}
#ga-session.window-player.drawer-open .ga-drawer {transform:translateY(0);opacity:1;visibility:visible;transition:transform .2s ease,opacity .2s ease}
#ga-session.window-player .ga-controls {display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap}
#ga-session.window-player .ga-progress {max-width:76rem}
@media (prefers-reduced-motion:reduce) {#ga-session.window-player .ga-drawer,#ga-session.window-player.drawer-open .ga-drawer {transition:none}}