:root{color-scheme:dark;font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,sans-serif;color:#fff3de;background:#191e28;font-synthesis:none;--muted: #c4b8a5;--line: #56504c;--gold: #f5c879}*,*:before,*:after{box-sizing:border-box}body{min-height:100vh;min-height:100dvh;display:grid;place-items:center;margin:0;background:radial-gradient(ellipse at 50% 5%,#343039,transparent 70%),#191e28}.game{width:min(100% - 48px,1440px,max(650px,(100dvh - 154px) * 16 / 9));padding-block:12px}.masthead,.game-panel,.foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.masthead{min-height:48px;padding:0 4px 9px}h1,p{margin:0}h1{display:flex;align-items:baseline;gap:10px;font-size:clamp(15px,2vw,23px);letter-spacing:-.045em;line-height:1}.wordmark{font:800 clamp(27px,4vw,42px)/.95 Georgia,serif;color:var(--gold);letter-spacing:-.085em;padding-right:.07em}.wordmark small{font-size:.56em;letter-spacing:-.05em}.title-divider{color:var(--muted)}.chapter{font-size:clamp(11px,1.65vw,15px);font-weight:700;text-align:right;word-break:keep-all}.chapter span{margin-right:.45em;color:var(--gold);white-space:nowrap}.chapter strong{font-weight:inherit}.scene{position:relative;overflow:hidden;border:1px solid #a98a68;border-radius:12px;background:#d9b286;box-shadow:0 0 0 4px #141820,0 12px 34px #10111891;aspect-ratio:16 / 9}[hidden]{display:none!important}#story-layer{position:absolute;inset:0;z-index:3}#story-layer.roster-host{position:relative;inset:auto}.game[data-screen=roster] #stage{visibility:hidden}.game:not([data-screen=play]) :is(.game-panel,.foot,.health,.ko-panel,.chapter-overlay){display:none}.health{position:absolute;z-index:1;inset:clamp(6px,1.2vw,14px) auto auto clamp(6px,1.2vw,14px);display:flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid #d3a376;border-radius:8px;background:#29222c;box-shadow:0 2px 6px #16101555;font-size:clamp(11px,1.25vw,14px);font-weight:700;pointer-events:none}#health2{inset-inline:auto clamp(6px,1.2vw,14px)}.game:not([data-players="2"]) :is(#health2,.health-player,.coop-keys),.game[data-players="2"] :is(.solo-keys,.movement){display:none}.health-player,.coop-keys strong{color:var(--gold)}.health-hearts{display:flex;gap:3px;color:#ff8793;font-size:clamp(16px,2vw,24px);line-height:1}.health[data-health="2"] .health-hearts span:nth-child(3),.health[data-health="1"] .health-hearts span:nth-child(n+2),.health[data-health="0"] .health-hearts span{color:#77616c}.ko-panel,.chapter-overlay{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:12px;background:#191620a8}.ko-card,.chapter-card{display:grid;justify-items:center;gap:12px;padding:clamp(12px,3vw,24px) clamp(24px,6vw,54px);border:1px solid #d3a376;border-radius:12px;background:#29222c;box-shadow:0 8px 24px #14101888}.ko-card h2,.chapter-card h2{margin:0;font-size:clamp(17px,3vw,30px)}.chapter-overlay{align-items:safe center;overflow-y:auto;background:#191620ca;padding:clamp(6px,1.5vw,16px)}.chapter-overlay button{touch-action:manipulation}#chapter-picker{z-index:5}.chapter-card{width:min(100%,410px);gap:clamp(7px,1.5vw,14px);padding:clamp(8px,2.5vw,25px);text-align:center}.chapter-result{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:.07em}.chapter-actions,.chapter-picker-heading{display:flex;align-items:center;justify-content:center;gap:8px}.chapter-picker-card{width:min(100%,490px);justify-items:stretch}.chapter-picker-heading{justify-content:space-between;align-items:center}.chapter-picker-heading h2{font-size:clamp(15px,2.3vw,23px)}#close-picker{min-height:30px;min-width:30px;padding:1px 5px;font-size:20px}.chapter-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.chapter-choices button{padding:4px 8px;text-align:left;font-size:clamp(11px,1.65vw,14px);min-height:32px}.chapter-choices span{margin-right:.3em;color:var(--gold);white-space:nowrap}.speech{position:absolute;z-index:2;width:max-content;max-width:72%;transform:translate(-50%,-100%);pointer-events:none}#story-nav{display:flex;gap:8px}#story-nav button{background:transparent;color:#dfcfb6;font-size:12px;min-height:32px}canvas{display:block;width:100%;height:100%}canvas:focus-visible{outline:2px solid #fff3de;outline-offset:-4px}.game-panel{min-height:61px;padding:10px 4px;border-bottom:1px solid var(--line)}.chapter-guide{display:grid;gap:2px;min-width:0}#chapter-objective{color:var(--gold);font-size:clamp(12px,1.7vw,15px);font-weight:700;line-height:1.45}#cue{color:var(--muted);font-size:clamp(11px,1.45vw,13px);line-height:1.5}.controls,.movement{display:flex;align-items:center;gap:5px}.controls{gap:6px 10px;flex:0 1 auto;flex-wrap:wrap;min-width:0}.movement{flex-wrap:wrap;min-width:0}button{margin:0;min-width:44px;min-height:40px;padding:5px 12px;border:1px solid #746758;border-radius:8px;background:#302d34;color:#fff3de;font:inherit;font-size:14px;font-weight:700;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}button:is(:hover,:active){background:#494039}#left,#right{font-size:20px;line-height:1}#action,#ko-retry,#next-chapter{min-width:99px;border-color:#f9dc9f;background:var(--gold);color:#24202a}:is(#action,#ko-retry,#next-chapter):is(:hover,:active){background:#ffe0a3}button:focus-visible,a:focus-visible{outline:2px solid #ffeac5;outline-offset:3px}.foot{padding:7px 4px 0;font-size:11px;color:var(--muted)}.foot-links{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;gap:4px 10px}#stage-select{min-height:32px;padding:3px 8px;color:var(--gold);font-size:12px;touch-action:manipulation}.foot kbd{font:inherit;color:#fff3de}.coop-keys{display:grid;gap:3px;line-height:1.5}.foot p span{margin-inline:.22em}.foot a{color:inherit;text-decoration-color:#8b8176;text-underline-offset:.25em}.foot a:hover{color:#fff3de}@media(max-width:620px){.game{width:calc(100% - 24px)}.masthead{min-height:40px}.scene{border-radius:8px}.game-panel{flex-wrap:wrap;gap:8px}.chapter-guide,.controls{width:100%}.controls{justify-content:space-between}button{min-height:44px}.movement button{padding-inline:8px}.foot{flex-wrap:wrap}.foot-links{width:100%}.chapter-card{padding:8px}.chapter-choices button{padding-inline:5px}}@media(max-width:360px){h1{gap:5px}.masthead{gap:7px}.chapter span{margin-right:0}.game[data-players="2"] .health{gap:4px;padding-inline:6px}}@media(orientation:landscape)and (max-height:530px){.game{width:min(100% - 24px,max(350px,(100dvh - 109px) * 16 / 9));padding-block:4px}.masthead{min-height:34px;padding-bottom:5px}.wordmark{font-size:27px}.game-panel{min-height:48px;padding-block:5px;flex-wrap:wrap}.chapter-guide,.controls{width:auto}button{min-height:36px}.foot{padding-top:4px}}.ink-balloon{--balloon-paper: #fff2d3;--balloon-mark: #9e744c;position:relative;isolation:isolate;min-inline-size:67px}.ink-balloon[data-speaker=eraser]{--balloon-paper: #ffe2d5;--balloon-mark: #ab6656}.ink-balloon__art{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;pointer-events:none;filter:drop-shadow(1px 3px 0 #392b254a)}.ink-balloon__outline{fill:var(--balloon-paper);stroke:#3e2b24;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round}.ink-balloon__hatching{fill:none;stroke:var(--balloon-mark);opacity:.32;stroke-width:.85px;stroke-linecap:round}.ink-balloon__copy{margin:0;padding:.68em 1.25em .77em;color:#32241e;font-family:Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,sans-serif;font-size:clamp(14px,1.6vw,21px);font-weight:750;line-height:1.4;text-align:center;text-wrap:balance;text-shadow:none;word-break:keep-all;overflow-wrap:anywhere}@media(max-width:560px){.ink-balloon__copy{padding:.65em 1.12em .72em;font-size:13px}}.desk-opening{position:absolute;inset:0;z-index:20;isolation:isolate;overflow:hidden;color:#fff4df;background:#32283e;font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif}.desk-opening-stage,.desk-opening-art,.desk-opening-plate,.desk-opening-vignette,.desk-opening-letterbox{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.desk-opening-stage{overflow:hidden}.desk-opening-art{display:block;transform-origin:53% 64%}.desk-opening-plate{opacity:0;transform-origin:53% 64%}.desk-opening-plate img,.desk-opening-detail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.desk-film-paper-scale text{font:italic 700 15px Segoe Print,cursive;stroke:none}.desk-film-paper-scale{opacity:.74}.desk-opening-shadows{mix-blend-mode:multiply}.desk-opening[data-beat="2"] .desk-film-paper-shadow{transform-origin:0 0;animation:desk-film-paper-shadow 1.38s cubic-bezier(.32,.05,.24,1) both}.desk-film-viseme{display:none}.desk-opening:is(:not([data-mouth]),[data-mouth=closed]) [data-pose=closed],.desk-opening[data-mouth=open] [data-pose=open],.desk-opening[data-mouth=round] [data-pose=round],.desk-opening[data-mouth=tight] [data-pose=tight],.desk-opening[data-mouth=wide] [data-pose=wide]{display:inline}.desk-opening-vignette{background:radial-gradient(ellipse at 51% 56%,transparent 42%,#23172e74 100%)}.desk-opening-letterbox{box-shadow:inset 0 clamp(14px,3vh,32px) #251a31,inset 0 clamp(-32px,-3vh,-14px) #251a31}.desk-film-night,.desk-film-awaken{opacity:0}.desk-film-ruler text{stroke:none;fill:#6a4b48;font:700 16px Malgun Gothic,sans-serif;text-anchor:middle}.desk-film-ruler>text{font-size:12px}.desk-opening[data-beat="1"] .desk-opening-art,.desk-opening[data-beat="1"] .desk-opening-plate[data-film="1"]{animation:desk-film-wide var(--desk-opening-duration) ease-out both}.desk-opening[data-beat="2"] .desk-opening-art,.desk-opening[data-beat="2"] .desk-opening-plate[data-film="2"]{animation:desk-film-close var(--desk-opening-duration) ease-out both}.desk-opening[data-beat="3"] .desk-opening-art,.desk-opening[data-beat="3"] .desk-opening-plate[data-film="3"]{animation:desk-film-reveal var(--desk-opening-duration) ease-out both}.desk-opening[data-beat="3"] .desk-opening-plate[data-film="3"]{animation-name:desk-film-plate-reveal}.desk-opening[data-beat="1"] .desk-opening-plate[data-film="1"],.desk-opening[data-beat="2"] .desk-opening-plate[data-film="2"],.desk-opening[data-beat="3"] .desk-opening-plate[data-film="3"]{opacity:1}.desk-opening[data-beat="1"][data-plate-desk] .desk-opening-art,.desk-opening[data-beat="2"][data-plate-shrink] .desk-opening-art,.desk-opening[data-beat="3"][data-plate-awake] .desk-opening-art{visibility:hidden}.desk-opening[data-beat="2"] .desk-film-night,.desk-opening[data-beat="3"] .desk-film-night{opacity:1}.desk-opening[data-beat="2"] .desk-film-child{animation:desk-film-child .95s cubic-bezier(.2,.65,.4,1) both;transform-box:fill-box;transform-origin:center bottom}.desk-opening[data-beat="3"] .desk-film-ruler,.desk-opening[data-beat="3"] .desk-film-child{opacity:0}.desk-opening[data-beat="3"] .desk-film-night{filter:brightness(.73) saturate(.75)}.desk-opening[data-beat="3"] .desk-film-awaken{opacity:1}.desk-opening[data-beat="3"] .desk-film-actor{animation:desk-film-actor 1.25s cubic-bezier(.16,.73,.29,1) both}.desk-opening[data-beat="3"] .desk-film-face{animation:desk-film-face .1s .95s both}.desk-opening[data-beat="3"] .desk-film-mouth{transform-box:fill-box;transform-origin:center;animation:desk-film-mouth .43s 1.15s 6 alternate ease-in-out}.desk-opening[data-beat="3"] .desk-film-crumbs{animation:desk-film-crumbs 1.5s .3s both}.desk-opening-place{position:absolute;top:clamp(36px,6vh,68px);left:clamp(16px,4vw,54px);padding:.38em .78em;max-width:calc(100% - 32px);border-left:2px solid #f8d193;background:#35253cd4;color:#fff1d7;font-size:clamp(.78rem,1.8vw,.95rem);font-weight:650;letter-spacing:.04em}.desk-opening-words{position:absolute;z-index:1;left:50%;top:45%;transform:translate(-50%);width:max-content;max-width:min(460px,calc(100% - 36px));margin:0}.desk-opening[data-beat="1"] .desk-opening-words{top:28%;left:47%;animation:desk-film-dialog .4s .45s ease-out both}.desk-opening[data-beat="2"] .desk-opening-words{left:46.5%;top:39%;animation:desk-film-dialog .4s .9s ease-out both}.desk-opening[data-beat="3"] .desk-opening-words{top:33%;animation:desk-film-dialog .35s .9s ease-out both}.desk-opening[data-beat="1"][data-plate-desk] .desk-opening-words{left:clamp(50%,65%,calc(100% - 125px))}.desk-opening[data-beat="3"][data-plate-awake] .desk-opening-words{top:19%;left:54%}.desk-opening[data-beat="3"][data-reply=jun] .desk-opening-words{top:59%;left:36%}.desk-opening-controls{position:absolute;left:clamp(12px,4vw,54px);right:clamp(12px,4vw,54px);bottom:clamp(26px,6vh,64px);display:grid;grid-template-columns:1fr auto 1fr;gap:clamp(6px,1.8vw,24px);align-items:center}.desk-opening-controls button{min-height:44px;padding:.62em .9em;margin:0;border-radius:10px;border:1px solid #fff1d76b;font:750 clamp(.76rem,1.75vw,.95rem)/1.25 "Malgun Gothic",sans-serif;white-space:nowrap;cursor:pointer}.desk-opening-controls button:focus-visible{outline:3px solid #fff3cc;outline-offset:3px}.desk-opening-skip{justify-self:start;color:#fff4df;background:#312636d9}.desk-opening-skip:hover{background:#523548}.desk-opening-next{justify-self:end;color:#432d3a;background:#ffdfae}.desk-opening-next:hover{background:#ffefcd}.desk-opening-next span{margin-left:.15em}.desk-opening-progress{display:flex;gap:5px}.desk-opening-progress i{position:relative;overflow:hidden;width:clamp(12px,3vw,36px);height:4px;background:#34253cdd;border:1px solid #fae7d596;border-radius:9px}.desk-opening-progress i:after{content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:#ffdcaa}.desk-opening-progress i[data-state=finished]:after{transform:none}.desk-opening-progress i[data-state=active]:after{animation:desk-film-progress var(--desk-opening-duration) linear both}@keyframes desk-film-wide{0%{transform:scale(1.015)}to{transform:scale(1.075) translate(-1%,-1%)}}@keyframes desk-film-close{0%{transform:scale(1.2) translateY(3%);filter:brightness(.68)}to{transform:scale(1.055);filter:brightness(1)}}@keyframes desk-film-reveal{0%{transform:scale(1.045);filter:brightness(.7)}to{transform:scale(1.12) translateY(-1%);filter:brightness(1)}}@keyframes desk-film-plate-reveal{0%{transform:scale(1.045);filter:brightness(.72)}20%{transform:scale(1.09) translateY(-1.5%) rotate(-.5deg);filter:brightness(1)}28%{transform:scale(1.08) translateY(.2%)}to{transform:scale(1.12) translateY(-1%);filter:brightness(1)}}@keyframes desk-film-child{0%{scale:2.35;opacity:.3}to{scale:1;opacity:1}}@keyframes desk-film-paper-shadow{0%{transform:scale(3.6,2.8)}30%{transform:scale(3.25,2.5)}80%{transform:scale(.95,.94)}to{transform:scale(1)}}@keyframes desk-film-actor{0%{transform:translateY(28px) rotate(-1deg)}38%{transform:translateY(-24px) rotate(1deg)}68%{transform:translateY(6px) rotate(-.3deg)}to{transform:none}}@keyframes desk-film-face{0%{opacity:0}to{opacity:1}}@keyframes desk-film-mouth{0%{scale:1 .43}to{scale:1 1.2}}@keyframes desk-film-crumbs{0%{transform:translateY(10px);opacity:0}42%{transform:translateY(-17px);opacity:1}to{transform:none;opacity:1}}@keyframes desk-film-dialog{0%{opacity:0;transform:translate(-50%,7px)}to{opacity:1;transform:translate(-50%)}}@keyframes desk-film-progress{to{transform:scaleX(1)}}@media(max-width:550px){.desk-opening-controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1.2fr)}}@media(max-aspect-ratio:1/1){.desk-opening[data-beat="1"] .desk-opening-words,.desk-opening[data-beat="1"][data-plate-desk] .desk-opening-words{left:50%}.desk-opening-plate[data-film="1"] img{object-position:74% center}.desk-opening[data-beat="3"][data-plate-awake] .desk-opening-words{left:57%}}@media(prefers-reduced-motion:reduce){.desk-opening *,.desk-opening *:before,.desk-opening *:after{animation:none!important}.desk-opening-progress i[data-state=active]:after{transform:scaleX(.5)}.desk-opening .desk-film-viseme{display:none}.desk-opening .desk-film-viseme[data-pose=closed]{display:inline}}.scene:has(.roster-host){aspect-ratio:auto;background:#211e22}.scene:has(.roster-host)>canvas{display:none}.roster-host{background:radial-gradient(ellipse at 50% 0%,#4b3930 0%,transparent 68%),repeating-linear-gradient(140deg,#ffffff04 0 1px,transparent 1px 10px),#241f24}.roster{display:grid;gap:clamp(14px,2vw,25px);max-width:1120px;margin-inline:auto;padding:clamp(15px,3vw,44px)}.roster-heading{text-align:center}.roster-heading h2{margin:0 0 6px;color:#ffefcf;font-size:clamp(21px,3vw,39px);letter-spacing:-.06em;line-height:1.15}.roster-heading h2:focus{outline:none}.roster-heading p{margin:0;color:#e2c8a8;font-size:clamp(12px,1.5vw,15px)}.roster-modes,.roster-selection{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px}.roster-modes{margin-block:10px 6px}.roster-modes button,button.roster-revise{padding:5px 12px;border:1px solid #a98e74;border-radius:8px;background:#342824;color:#ffefcf;font-size:clamp(12px,1.4vw,14px)}.roster-modes button[aria-pressed=true]{border-color:#f4ce94;background:#f4ce94;color:#31231d}.roster-modes button:focus-visible,button.roster-revise:focus-visible{outline:2px solid #fff1de;outline-offset:2px}button.roster-revise[hidden]{display:none}.roster-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(9px,1.6vw,20px)}button.roster-card{--card-bg: #512a2b;--card-accent: #ffc0a4;position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-width:0;padding:0;overflow:hidden;border:1px solid var(--card-accent);border-radius:12px;background:var(--card-bg);color:#fff2dc;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}button.roster-card--explorer{--card-bg: #253a37;--card-accent: #f7d18b}button.roster-card--cool{--card-bg: #303347;--card-accent: #c7c9ff}button.roster-card:is(:hover,:focus-visible,:active){background:var(--card-bg);box-shadow:0 8px 22px #0f0c12a8}button.roster-card:focus-visible{outline-color:var(--card-accent)}@media(hover:hover)and (prefers-reduced-motion:no-preference){button.roster-card:hover{transform:translateY(-3px)}}.roster-portrait{display:block;width:100%;height:clamp(125px,20vw,260px);overflow:hidden;background:#e8ba99;border-bottom:1px solid var(--card-accent)}.roster-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}.roster-card--explorer .roster-portrait img{object-position:center 66%}.roster-copy{display:block;padding:clamp(9px,1.35vw,18px)}.roster-copy strong{display:block;padding-right:23px;font-size:clamp(15px,2.1vw,27px);letter-spacing:-.06em;line-height:1.15}.roster-personality,.roster-quote{display:block;font-size:clamp(11px,1.15vw,14px);line-height:1.45;word-break:keep-all}.roster-personality{margin-top:4px;color:var(--card-accent);font-weight:700}.roster-quote{margin-top:9px;color:#fff1e1}.roster-arrow{position:absolute;right:clamp(9px,1.35vw,18px);top:calc(clamp(125px,20vw,260px) + clamp(9px,1.35vw,18px));color:var(--card-accent);font-size:clamp(14px,1.75vw,22px);line-height:1}@media(max-width:550px){.roster-cards{grid-template-columns:1fr}button.roster-card{flex-direction:row;align-items:stretch;min-height:92px;border-radius:8px}.roster-portrait{flex:0 0 clamp(73px,25%,105px);height:auto;border-right:1px solid var(--card-accent);border-bottom:0}.roster-copy{align-self:center}.roster-arrow{top:12px}.roster-quote{margin-top:4px}}@media(orientation:landscape)and (max-height:530px)and (min-width:551px){.roster{padding:10px;gap:8px}.roster-portrait{height:clamp(55px,23dvh,150px)}.roster-arrow{top:calc(clamp(55px,23dvh,150px) + clamp(9px,1.35vw,18px))}.roster-quote{margin-top:4px}}#chapter-clear .comic-card{width:min(100%,900px);color:#442f25;background:#f1e1bf;border:3px solid #493427;border-radius:6px;box-shadow:4px 6px #291f2280;padding:clamp(12px,2vw,24px);gap:clamp(8px,1.2vw,14px)}.comic-card .chapter-result{color:#815038;margin-bottom:4px}.comic-card h2{line-height:1.2;text-wrap:balance}.chapter-comic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px;list-style:none;margin:0;padding:0}.chapter-comic li{display:flex;flex-direction:column-reverse;justify-content:space-between;min-width:0;overflow:hidden;border:2px solid #543a2c;background:#d3a479}.chapter-comic li[data-kid=cool]{background-color:#b4aabc}.chapter-comic li[data-kid=explorer]{background-color:#c7b37f}.comic-portrait{position:relative;overflow:hidden;width:100%;height:clamp(115px,16vw,206px);background:#f0cfb4}.comic-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 23%;transform:scale(1.035)}.chapter-comic [data-shot=gesture] img{object-position:50% 15%}.chapter-comic [data-shot=back] img{object-position:50% 28%}.comic-portrait strong{position:absolute;bottom:4px;left:5px;padding:2px 8px;border:1px solid #614936;background:#fff1d6;color:#382c25;font-size:13px}.comic-balloon{position:relative;z-index:1;margin:5px 5px -7px}.comic-balloon .ink-balloon__copy{font-size:clamp(13px,1.45vw,18px);padding:.65em .85em}.comic-map-preview{position:relative;width:auto;max-width:100%;padding:0;overflow:hidden;border:2px solid #6e5339;border-radius:1px;background:#e2c998}.comic-map-preview img{display:block;width:auto;max-width:100%;height:clamp(95px,12vw,155px);object-fit:contain}.comic-map-preview span{position:absolute;right:5px;bottom:4px;padding:3px 7px;color:#fff7e7;background:#3e3329;font-size:13px}#room-map-dialog{width:min(92vw,890px);max-height:92dvh;padding:0;border:2px solid #674936;border-radius:6px;color:#392b22;background:#f1e1bf}#room-map-dialog::backdrop{background:#17141de5}.room-map-sheet{padding:clamp(10px,2vw,20px)}.room-map-sheet header{display:flex;align-items:center;justify-content:space-between;gap:10px}.room-map-sheet h2{margin:0;font-size:clamp(18px,3vw,26px)}.room-map-sheet img{display:block;width:100%;max-height:66dvh;object-fit:contain;margin-block:8px}.room-map-sheet p{font-size:14px}@media(max-width:650px)and (orientation:portrait){.scene:has(#chapter-clear:not([hidden])){aspect-ratio:auto}.scene:has(#chapter-clear:not([hidden])) #stage{position:absolute;inset:0}#chapter-clear:not([hidden]){position:relative}#chapter-clear .comic-card{padding:9px}.chapter-comic{grid-template-columns:1fr;gap:4px}.chapter-comic li{flex-direction:row;align-items:start}.comic-portrait{width:34%;min-height:105px;height:auto;align-self:stretch}.comic-portrait img{position:absolute;inset:0}.comic-balloon{width:66%;margin:3px 4px 12px -7px;align-self:center}.comic-balloon .ink-balloon__copy{font-size:14px}.foot-links{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.chapter-comic li{--beat: .08s}.chapter-comic li:nth-child(2){--beat: .82s}.chapter-comic li:nth-child(3){--beat: 1.54s}#chapter-clear:not([hidden]) .comic-portrait img{animation:var(--reaction) .92s ease-in-out var(--beat) both}.chapter-comic [data-kid=joker]{--reaction: comic-shrug}.chapter-comic [data-kid=explorer]{--reaction: comic-inspect}.chapter-comic [data-kid=cool]{--reaction: comic-glance}@keyframes comic-shrug{0%,to{transform:scale(1.035)}40%{transform:translateY(-2%) rotate(-1.2deg) scale(1.065)}68%{transform:translateY(.5%) rotate(.5deg) scale(1.045)}}@keyframes comic-inspect{0%{transform:scale(1.035);transform-origin:55% 34%}to{transform:scale(1.105);transform-origin:55% 34%}}@keyframes comic-glance{0%{transform:translate(1.2%) scale(1.06)}to{transform:translate(-.8%) scale(1.035)}}}
