@font-face{font-family:Literata;src:url('assets/literata.woff2') format('woff2');font-weight:200 900;font-display:swap}@font-face{font-family:Manrope;src:url('/assets/manrope-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('/assets/manrope-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--paper:#f0ede3;--sheet:#fbf9f1;--ink:#29332f;--green:#243f3d;--muted:#58625b;--line:#b9bdb1;--rust:#8d4939;--text-size:20px;color-scheme:light;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer;background:none;border:0}button{min-height:44px;padding:10px 14px;border-radius:4px}button:hover{background:#dfe3d8}button:disabled{cursor:default;opacity:.48}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a34d2b;outline-offset:4px}::selection{background:#b4c9b7;color:#152c26}textarea,input{caret-color:var(--rust)}*{scrollbar-color:#758477 var(--paper);scrollbar-width:thin}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:-60px;z-index:99;background:var(--paper);padding:14px}.skip:focus{top:12px}.site-bar{height:62px;padding:0 3.3%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c8c9be;gap:18px}.studio{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:13px;font-weight:700}.studio img{border-radius:6px}.site-bar nav{display:flex;align-items:center;gap:20px;font-size:12px}.site-bar nav button{font-size:12px;padding:6px 0}#menu{position:relative;min-height:calc(100svh - 62px);isolation:isolate;display:flex;align-items:stretch;overflow:hidden}.menu-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;object-position:center}.menu-paper{width:43%;max-width:625px;min-width:480px;padding:clamp(32px,5.5vh,72px) 4.5% 36px;background:var(--paper);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.menu-paper h1{font:500 clamp(50px,5.1vw,82px)/1.04 Literata,Georgia,serif;letter-spacing:-.04em;margin:0 0 30px}.menu-paper h1 em{font-weight:400;color:var(--green)}.menu-lead{font:400 clamp(19px,1.8vw,25px)/1.5 Literata,serif;margin:0 0 16px}.menu-copy{font-size:14px;line-height:1.8;max-width:35ch;margin:0 0 26px}.menu-actions{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:5px;max-width:360px}.menu-actions button{text-align:left;padding:13px 16px;font-size:13px}.primary{background:var(--green);color:var(--sheet);padding:13px 20px;font-weight:700}.primary:hover{background:#355754;color:var(--sheet)}.primary span{float:right;margin-left:18px}.menu-actions button:not(.primary){padding-left:0;text-decoration:underline;text-underline-offset:5px}.small{font-size:12px;line-height:1.7;color:var(--muted)}#resume-note{max-width:37ch;margin:16px 0 5px}.sound-link{padding:6px 0;min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.content-note{font-size:11px;line-height:1.7;color:var(--muted);max-width:43ch;margin:12px 0 0}.menu-date{position:absolute;bottom:28px;right:32px;color:#fff9ec;background:#29332fdb;padding:8px 12px;font-size:12px}#game{max-width:1600px;margin:auto;padding:0 3.3% 16px}.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 14px}#chapter{font-size:12px;color:var(--muted);margin:0 0 4px}#scene-title{font:500 clamp(24px,2.5vw,36px)/1.2 Literata,serif;margin:0;letter-spacing:-.02em}.scene-meta{display:flex;flex-direction:column;text-align:right;gap:5px;font-size:12px;color:var(--muted)}#year{font-size:18px;color:var(--green)}#save-status{max-width:26ch}#stage{position:relative;height:clamp(270px,43svh,560px);background:#4c6157;isolation:isolate;overflow:hidden;border-radius:3px}#backdrop{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-3}.changing #backdrop{animation:scene-in .8s cubic-bezier(.16,1,.3,1)}#atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none}#stage[data-place=cellar] #atmosphere{background:radial-gradient(ellipse at 24% 63%,#e29a3d12,transparent 28%);animation:stove-light 6s ease-in-out infinite}#actors{position:absolute;inset:0;pointer-events:none}.actor{position:absolute;bottom:6%;height:68%;max-height:300px;width:17%;background-repeat:no-repeat;background-position:center bottom;background-size:contain;transform-origin:center bottom;animation:breathe 7s ease-in-out infinite;filter:drop-shadow(4px 4px 4px #101a1640)}.actor:nth-child(even){animation-delay:-3s}.actor.speaking{filter:drop-shadow(3px 3px 5px #111b1555);animation-duration:4s}#walker{position:absolute;bottom:4%;height:68%;width:18%;max-height:300px;background:url('assets/walk.webp') 0 0/400% 200% no-repeat;left:8%;filter:drop-shadow(4px 4px 4px #101a1640);pointer-events:none}.spot{position:absolute;transform:translate(-50%,-50%);padding:7px 11px;min-width:44px;min-height:44px;display:flex;align-items:center;gap:7px;border-radius:4px;font-size:12px;background:#f9f7ecf2;color:#233f37;box-shadow:0 4px 12px #111c1520;z-index:3}.spot:before{content:'';width:7px;height:7px;border:1px solid currentColor;border-radius:50%;display:block}.spot.done{background:#203e37e8;color:#f5f5e8}.spot.done:before{background:currentColor}.spot:hover{background:var(--sheet)}.spot.done:hover{color:var(--green)}.stage-caption{position:absolute;bottom:10px;left:16px;font-size:11px;color:#fffdf0;background:#20382fce;padding:6px 9px;pointer-events:none}#source-caption{position:absolute;right:14px;top:0;max-width:40ch;padding:8px 10px;background:#f2efdfeb;font-size:12px;line-height:1.6;color:var(--ink);margin:12px 0;pointer-events:none}#source-caption:empty{display:none}#narrative{display:flex;gap:22px;padding:24px 2% 12px;min-height:186px}#portrait{width:70px;height:104px;flex:0 0 70px;background-position:center top;background-repeat:no-repeat;background-size:cover;align-self:flex-start;border-radius:2px}.speech{width:100%;max-width:1000px}#speaker{font-size:12px;font-weight:700;color:var(--green);margin:0 0 7px;min-height:15px}#line{font:400 var(--text-size)/1.65 Literata,Georgia,serif;margin:0;max-width:76ch;overflow-wrap:anywhere}#line-controls{display:flex;align-items:center;gap:12px;margin-top:14px;min-height:44px}#line-controls .page-count{font-size:11px;color:var(--muted);margin-right:auto}#line-controls button{font-size:12px}.next-line{color:var(--green);font-weight:700;min-width:105px}#scene-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 2% 18px}.props-list{display:flex;gap:5px;flex-wrap:wrap}.props-list button{font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:6px}.scene-buttons{display:flex;gap:8px;flex-wrap:wrap}.scene-buttons button{font-size:12px}.game-dock{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:30px}.game-dock button{font-size:12px;padding:13px 16px}.game-dock button:hover{color:var(--green)}dialog{border:0;border-radius:8px;padding:26px 32px;width:min(760px,calc(100% - 32px));max-height:calc(100svh - 36px);background:var(--sheet);color:var(--ink);box-shadow:0 18px 80px #14261e50;overscroll-behavior:contain}dialog::backdrop{background:#172b25a6;backdrop-filter:blur(3px)}.modal-head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #c9cdbf;padding-bottom:16px;margin-bottom:22px}.modal-head h2{font:500 28px/1.25 Literata,serif;margin:0;letter-spacing:-.02em}.modal-head button{font-size:28px;padding:0 5px;line-height:1;min-width:44px}#modal-body p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}#modal-body .literary{font:400 var(--text-size)/1.7 Literata,serif}.modal-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:22px}.modal-actions button{font-size:13px}.intent-list{display:flex;flex-direction:column;gap:0;border-bottom:1px solid var(--line);margin:16px 0}.intent{display:grid;grid-template-columns:20px 1fr;gap:6px 12px;padding:16px 8px;border-top:1px solid var(--line);cursor:pointer}.intent:has(input:checked){background:#e1e8dd}.intent input{accent-color:var(--green);width:18px;height:18px;align-self:start}.intent strong{font-size:14px;font-weight:700}.intent small{font-size:12px;line-height:1.75;color:var(--muted);grid-column:2}.intent:has(input:disabled){opacity:.55}.writing-label{display:block;font-size:13px;font-weight:700;margin-top:24px}.manuscript{display:block;width:100%;min-height:150px;resize:vertical;background:#fffdf7;color:var(--ink);border:1px solid #a9b2a2;border-radius:4px;padding:16px;margin:12px 0;font:400 var(--text-size)/1.65 Literata,serif}.meaning{background:#e4e9dc;padding:16px 20px;margin:20px 0}.meaning h3{font-size:13px;margin:0 0 8px}.meaning p{margin:0!important}.danger{color:#8a342a}.confirm-danger{display:flex;gap:12px;font-size:14px;line-height:1.7;margin:18px 0}.confirm-danger input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--rust)}.task-picture{height:230px;width:100%;max-width:440px;margin:auto;background-repeat:no-repeat;background-position:center;background-size:contain}.task-steps{display:flex;flex-direction:column;gap:6px;margin-top:16px}.task-steps button{text-align:left;border-bottom:1px solid var(--line);border-radius:0;font-size:14px}.task-steps .done{color:var(--muted)}.task-steps .current{background:#e3eadf;color:var(--green)}.material-photo,.cutscene-image{width:100%;height:auto;border-radius:3px}.material-list,.event-list{list-style:none;margin:0;padding:0}.event-list li,.material-list li{padding:16px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.75}.event-list small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.material-list button{padding-left:0;font-weight:700;font-size:14px}.permissions{font-size:12px;line-height:1.8;white-space:pre-line;color:var(--muted)}.book-page{padding:20px 0;border-bottom:1px solid var(--line)}.book-page h3{font:500 20px Literata,serif}.book-page .meaning{font-size:12px}.book-page .literary{white-space:pre-wrap}.book-page textarea{min-height:120px}.settings-row{display:flex;flex-direction:column;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.settings-row input[type=range]{width:100%;accent-color:var(--green)}.settings-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--green)}.settings-row.check{flex-direction:row;align-items:center}.score-details{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;padding:16px 0;color:var(--green)}.awards-list li{padding:10px 0;font-size:14px}.end-title{font:500 36px/1.3 Literata,serif;margin:10px 0}.save-line{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.inline-error{color:#84382a;font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:13px 20px;background:var(--green);color:var(--sheet);box-shadow:0 7px 25px #172b2530;border-radius:5px;font-size:13px;line-height:1.7;z-index:40;pointer-events:none;opacity:0;transition:opacity .2s}#toast.show{opacity:1}.replay-controls{display:flex;flex-wrap:wrap;gap:8px}.replay-controls input{width:100%;accent-color:var(--green)}.motion-off *, .paused *{animation:none!important;scroll-behavior:auto!important;transition:none!important}@keyframes breathe{0%,100%{transform:scaleY(1) rotate(-.25deg)}50%{transform:scaleY(1.008) rotate(.25deg)}}@keyframes stove-light{0%,100%{opacity:.45}50%{opacity:1}}@keyframes scene-in{from{filter:blur(5px);opacity:.65}to{filter:blur(0);opacity:1}}
@media(min-width:1700px){.menu-paper{padding-left:75px}}@media(max-width:1050px){.menu-paper{min-width:410px;padding-left:35px;padding-right:32px}.menu-paper h1{font-size:58px}.site-bar{padding-inline:24px}.actor{height:66%;width:19%}#stage{height:clamp(270px,39svh,440px)}}@media(max-width:700px){:root{--text-size:18px}.site-bar{height:56px;padding:0 16px;gap:10px}.studio{font-size:11px;gap:7px}.site-bar nav{gap:14px;font-size:11px}.site-bar nav button{font-size:11px}#menu{min-height:calc(100svh - 56px);display:block;padding-top:47vw}.menu-art{height:56vw;object-position:right center;z-index:-2}.menu-paper{min-width:0;width:100%;max-width:none;padding:28px 24px 26px;display:block;position:relative;border-radius:18px 18px 0 0}.menu-paper h1{font-size:clamp(46px,10.7vw,68px);line-height:1.02;margin-bottom:22px}.menu-paper h1 br{display:none}.menu-paper h1 em{display:block}.menu-lead{font-size:20px;margin-bottom:14px}.menu-copy{font-size:13px;max-width:40ch;margin-bottom:20px}.menu-actions{max-width:none}.menu-actions button{font-size:12px;min-height:47px}.menu-date{top:14px;bottom:auto;left:16px;right:auto;font-size:10px;padding:6px 8px}.content-note{font-size:11px;max-width:50ch}.menu-art{opacity:1}#game{padding:0 12px 10px}.scene-heading{padding:16px 0 12px;gap:10px}#chapter{font-size:10px;max-width:27ch}#scene-title{font-size:23px}.scene-meta{font-size:10px}#year{font-size:16px}#save-status{max-width:15ch}#stage{height:clamp(260px,72vw,360px);border-radius:4px}#backdrop{object-position:55% center}.actor{width:25%;height:65%;bottom:10%}#walker{width:27%;height:63%;bottom:6%}.spot{font-size:10px;padding:6px;min-height:40px;gap:4px;max-width:100px}.stage-caption{font-size:9px;left:7px;bottom:6px;max-width:calc(100% - 14px);padding:5px 7px}#source-caption{font-size:10px;right:7px;margin-top:7px;max-width:28ch}#narrative{padding:19px 4px 10px;gap:12px;min-height:200px}#portrait{width:44px;height:77px;flex-basis:44px}#speaker{font-size:11px}#line{font-size:var(--text-size);line-height:1.7}#line-controls{margin-top:12px;gap:5px}#line-controls button{padding:7px 8px;font-size:11px;min-width:44px}#line-controls .page-count{font-size:10px}.props-list{gap:3px}.props-list button{font-size:11px}.scene-buttons{width:100%;justify-content:space-between}.scene-buttons button{font-size:12px;padding:12px}#scene-actions{padding:0 4px 12px;gap:10px}.game-dock{gap:0;justify-content:space-between;position:sticky;bottom:0;background:var(--paper);z-index:5;padding:3px 0}.game-dock button{font-size:10px;padding:10px 7px;min-height:48px}dialog{width:calc(100% - 20px);max-height:calc(100svh - 24px);padding:22px 19px;border-radius:6px}.modal-head{margin-bottom:18px}.modal-head h2{font-size:24px}#modal-body p{font-size:14px}.intent{padding:15px 3px;gap:6px 10px}.intent strong{font-size:13px}.intent small{font-size:12px}.manuscript{font-size:var(--text-size);padding:12px}.task-picture{height:210px}.end-title{font-size:28px}.save-line{align-items:flex-start;flex-wrap:wrap}.modal-actions{gap:8px}.meaning{padding:14px}.score-details{gap:12px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}.changing #backdrop,.actor,#atmosphere{animation:none!important}*{transition:none!important}}

.scene-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:0 0 12px}.scene-context button{font-size:11px;min-height:32px;padding:3px 0;text-decoration:underline;text-underline-offset:4px}#chapter{font:inherit;color:inherit;margin:0;max-width:none}@media(max-width:700px){.scene-context{font-size:10px;gap:7px;padding-bottom:10px}.scene-context button{font-size:10px}}

/* Every figure and prop shares the painting's 1600 × 900 ground plane. */
#stage{height:clamp(480px,max(62svh,37.5vw),680px);background:#293e36;isolation:isolate;touch-action:pan-y}
#scene-world{position:absolute;left:0;top:0;width:1600px;height:900px;transform-origin:0 0;transition:transform .65s cubic-bezier(.16,1,.3,1)}
#scene-world #backdrop{inset:0;width:1600px;height:900px;z-index:0;object-fit:fill}
#scene-world #atmosphere{z-index:1}#actors{z-index:auto}#scene-world #foreground{position:absolute;inset:0;width:1600px;height:900px;object-fit:fill;z-index:1000;pointer-events:none}
#scene-world .actor,#scene-world #walker{position:absolute;bottom:auto;max-height:none;max-width:none;transform:translate(-50%,-100%);background:none;filter:none;animation:none;pointer-events:none;transform-origin:center bottom}
#scene-world .actor:before,#scene-world #walker:before{content:'';position:absolute;width:70%;height:3%;left:15%;bottom:-1%;border-radius:50%;background:#17251c55;filter:blur(5px);z-index:-1}
#scene-world .actor.no-shadow:before{display:none}.actor-body{display:block;width:100%;height:100%;object-fit:contain;transform:scaleX(var(--facing,1));transform-origin:center bottom;animation:standing-breath 9s ease-in-out infinite}
.actor:nth-child(2n) .actor-body{animation-delay:-3s}.actor.speaking .actor-body{animation-duration:6s}
.actor-name{position:absolute;top:-32px;left:50%;transform:translateX(-50%);font:600 15px/1.4 Manrope,sans-serif;padding:4px 9px;color:var(--ink);background:var(--sheet);border-radius:3px;white-space:nowrap;opacity:0;transition:opacity .15s}
.actor.speaking .actor-name{opacity:1}.walker-body{width:100%;height:100%;background-repeat:no-repeat;background-position:center bottom;background-size:contain;transform-origin:center bottom}
#scene-world #spots{position:absolute;inset:0;pointer-events:none;z-index:1400}
#scene-world .spot{pointer-events:auto;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:block;overflow:hidden;font-size:0;background:#fbf9f1eb;border:1px solid #526b5b;border-radius:50%;box-shadow:0 3px 8px #14281d35}
#scene-world .spot:before{position:absolute;left:15px;top:15px;width:12px;height:12px;border-color:var(--green)}
#scene-world .spot:hover,#scene-world .spot:focus-visible{width:auto;min-width:44px;overflow:visible;font-size:15px;white-space:nowrap;padding:10px 15px 10px 36px;border-radius:4px;z-index:10}
#scene-world .spot.done{background:#243f3de8;border-color:#fbf9f1}.spot.done:before{border-color:var(--sheet)!important}
#source-caption{z-index:1500;max-width:46ch}.stage-caption{z-index:1500;max-width:calc(100% - 32px)}
#interaction-panel{padding:22px 2%;border-bottom:1px solid var(--line);background:var(--sheet)}
.interaction-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.interaction-head h2{font:500 24px/1.3 Literata,serif;margin:0}.interaction-head button{font-size:12px;text-decoration:underline;text-underline-offset:4px}
.interaction-status{font-size:12px;color:var(--muted);line-height:1.7;margin:10px 0 16px}.interaction-reply{font:400 var(--text-size)/1.7 Literata,serif;max-width:72ch}
#interaction-panel .task-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 12px}#interaction-panel .task-step{padding:14px 16px;text-align:left;border:0;line-height:1.7;min-height:72px}
#interaction-panel .task-step.current{background:var(--green);color:var(--sheet)}#interaction-panel .task-step.done{background:#e3eadf;color:var(--green)}#interaction-panel .auto-task{font-size:12px;padding-left:0;text-decoration:underline;text-underline-offset:4px}
.actor.working .actor-body{animation:work-breath 5s ease-in-out infinite}.paused .actor-body,.cinema-open .actor-body{animation-play-state:paused!important}
@keyframes standing-breath{0%,100%{transform:scaleX(var(--facing,1)) scaleY(1)}50%{transform:scaleX(var(--facing,1)) scaleY(1.003)}}
@keyframes work-breath{0%,100%{transform:scaleX(var(--facing,1)) rotate(0)}50%{transform:scaleX(var(--facing,1)) rotate(.45deg)}}
@media(max-width:1050px){#stage{height:clamp(400px,60svh,620px)}}
@media(max-width:700px){#stage{height:clamp(300px,43svh,420px)}#scene-world .spot{width:72px;height:72px;min-width:72px;min-height:72px}#scene-world .spot:before{left:26px;top:26px;width:18px;height:18px}#scene-world .spot:hover,#scene-world .spot:focus-visible{font-size:21px;padding:20px 20px 20px 60px}.actor-name{font-size:23px;top:-43px;padding:5px 11px}#interaction-panel{padding:18px 12px}.interaction-head h2{font-size:21px}.interaction-head button{font-size:10px}#interaction-panel .task-steps{grid-template-columns:1fr;gap:5px}#interaction-panel .task-step{padding:11px 14px;min-height:44px;font-size:12px}.stage-caption{font-size:9px;max-width:calc(100% - 14px)}#source-caption{max-width:36ch}}
@media(prefers-reduced-motion:reduce){#scene-world{transition:none}.actor-body{animation:none!important}}
#scene-world .spot{width:calc(44px / var(--scene-scale,1));height:calc(44px / var(--scene-scale,1));min-width:calc(44px / var(--scene-scale,1));min-height:calc(44px / var(--scene-scale,1));max-width:none}
#scene-world .spot:before{left:calc(17px / var(--scene-scale,1));top:calc(17px / var(--scene-scale,1));width:calc(8px / var(--scene-scale,1));height:calc(8px / var(--scene-scale,1))}
#scene-world .spot:hover,#scene-world .spot:focus-visible{font-size:calc(12px / var(--scene-scale,1));padding:calc(10px / var(--scene-scale,1)) calc(12px / var(--scene-scale,1)) calc(10px / var(--scene-scale,1)) calc(34px / var(--scene-scale,1));width:auto}
.actor-name{font-size:calc(11px / var(--scene-scale,1));top:calc(-29px / var(--scene-scale,1));padding:calc(4px / var(--scene-scale,1)) calc(7px / var(--scene-scale,1))}

/* The cinema keeps paper captions outside the painting, readable at every text size. */
body.cinema-open{overflow:hidden}.cinema-open .actor,.cinema-open #atmosphere{animation-play-state:paused!important}
#cinema{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;padding:0;border-radius:0;background:var(--paper);box-shadow:none;overflow:hidden;color:var(--ink);grid-template-rows:auto minmax(90px,1fr) auto auto}
#cinema[open]{display:grid}#cinema::backdrop{background:var(--green);backdrop-filter:none}
.cinema-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px max(24px,4vw);border-bottom:1px solid var(--line)}
#cinema-title{font:500 clamp(21px,2.1vw,30px)/1.3 Literata,serif;margin:0;letter-spacing:-.02em;text-wrap:balance}
#cinema-skip{font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:5px}
.cinema-frame{position:relative;overflow:hidden;background:#263e37;isolation:isolate;min-height:0}
#cinema-image{width:100%;height:100%;object-fit:cover;display:block;transform-origin:center}
#cinema[data-loading=true] #cinema-image{opacity:.45}
#cinema-load{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:65ch;width:calc(100% - 48px);padding:14px 20px;margin:0;background:var(--paper);color:var(--green);font-size:13px;line-height:1.8;text-align:center}
#cinema-caption{width:100%;max-height:32dvh;overflow:auto;padding:18px max(24px,calc((100vw - 1000px)/2)) 16px}
#cinema-caption:focus-visible{outline:3px solid var(--rust);outline-offset:-4px}
#cinema-source{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 9px}
#cinema-copy{font:400 var(--text-size)/1.65 Literata,serif;max-width:72ch;margin:0;overflow-wrap:anywhere}
.cinema-controls{padding:8px max(24px,4vw) max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}
.cinema-playback,.cinema-controls nav{display:flex;gap:12px;align-items:center}.cinema-playback{flex-wrap:wrap}
.cinema-controls button,.cinema-controls label{font-size:12px}.cinema-controls label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.cinema-controls input{accent-color:var(--green);width:18px;height:18px;margin:0}#cinema-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:38px}
.film-list{list-style:none;margin:12px 0;padding:0}.film-list li{border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:12px 0}.film-list img{width:124px;aspect-ratio:16/9;object-fit:cover;border-radius:2px}.film-list button{text-align:left;padding:10px 0;font-size:14px;line-height:1.5}.film-list small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
@media(max-width:700px){.cinema-head{padding:10px 14px;gap:8px}#cinema-title{font-size:21px}#cinema-skip{font-size:11px;padding:8px 4px;white-space:normal;max-width:95px}#cinema-caption{padding:15px 20px;max-height:35dvh}#cinema-source{font-size:10px}#cinema-copy{line-height:1.65}.cinema-controls{padding:6px 12px max(10px,env(safe-area-inset-bottom));gap:2px;display:block}.cinema-playback{gap:8px;justify-content:space-between}.cinema-controls nav{justify-content:space-between;gap:6px}.cinema-controls button,.cinema-controls label{font-size:11px}.cinema-controls button{padding:10px 8px}.film-list{margin-top:4px}.film-list img{width:88px}.film-list li{gap:14px}.film-list button{font-size:13px}}
@media(max-height:450px) and (min-width:701px){.cinema-head{padding-block:3px}#cinema-caption{padding-block:8px;max-height:30dvh}.cinema-controls{padding-block:3px}#cinema-source{margin-bottom:3px}}
