:root{--ink:#233b37;--moss:#296b5d;--line:#cfd9d0;--paper:#f6f4ec;--gold:#d8b768;--uv:#a37bff}
body.arcade-page{font-family:'Zen Maru Gothic',sans-serif}
.arcade-header{height:60px}
.arcade-stage{height:calc(100svh - 190px);min-height:400px;background:#1a2b3c}
.arcade-controls{display:flex;flex-wrap:nowrap;gap:14px;min-height:72px;padding:10px 16px;justify-content:space-between}
.arcade-hud{left:14px;top:12px;transform:none;background:#f5f7eff2;border:0;border-radius:6px}
.arcade-stat{padding:6px 14px;min-width:84px}.arcade-stat>strong{font-size:17px}.arcade-stat>span{font-size:10px}
.arcade-status{max-width:min(620px,calc(100% - 28px));font-weight:500;background:#f5f6eaf2;padding:8px 15px;border-radius:6px;bottom:12px;z-index:4}
.arcade-overlay{background:#0f1f2a66}.arcade-dialog{width:360px;background:#f6f4ecf7}.arcade-dialog h2{font-size:21px}.arcade-result-score{font-size:26px}
.arcade-result-detail{white-space:pre-line;line-height:1.75;text-align:left}
.esc-resume{margin-bottom:10px;background:#1f4f45;font-size:14px}
/* 3D上の調べられる場所 */
.esc-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}
.esc-spot{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;border:0;background:none;color:#fff;pointer-events:auto;touch-action:manipulation;will-change:transform}
.esc-spot-ring{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f6f1dcf2;color:#24473e;border:2px solid #e2c47a;box-shadow:0 3px 14px #0a1a2a80;transition:transform .15s}
.esc-spot-ring svg{width:21px;height:21px}
.esc-spot-label{font-size:12px;font-weight:700;line-height:1.2;padding:3px 7px;border-radius:4px;background:#13262ed9;white-space:nowrap}
.esc-spot:hover .esc-spot-ring,.esc-spot:focus-visible .esc-spot-ring{transform:scale(1.1);background:#fff8df}
.esc-spot.is-new .esc-spot-ring{animation:esc-pulse 1.8s ease-in-out infinite}
.esc-spot.is-done .esc-spot-ring{background:#dfe8e2e6;border-color:#9fb8ab;color:#5d7a6e}
.esc-spot.is-done .esc-spot-label{background:#13262e99;color:#d6e2dc}
@keyframes esc-pulse{0%,100%{box-shadow:0 0 0 0 #ffd97a99,0 3px 14px #0a1a2a80}60%{box-shadow:0 0 0 10px #ffd97a00,0 3px 14px #0a1a2a80}}
.esc-objective{position:absolute;right:14px;top:12px;margin:0;max-width:300px;background:#13262ee8;color:#f5f1da;font-size:13px;line-height:1.6;padding:8px 13px;border-left:3px solid var(--gold);z-index:3;pointer-events:none;border-radius:0 4px 4px 0}
.esc-uv-badge{position:absolute;left:50%;top:12px;transform:translateX(-50%);margin:0;background:#5b2fa8e8;color:#fff;font-size:12px;font-weight:700;padding:5px 12px;border-radius:20px;z-index:3;pointer-events:none;box-shadow:0 0 18px #a37bff99}
.arcade-stage.is-uv::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:radial-gradient(ellipse at 50% 55%,#a37bff10 30%,#4a1f8a66 100%)}
.esc-look{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:64px;border:0;border-radius:6px;background:#13262e88;color:#f5f1da;display:grid;place-items:center;padding:0}
.esc-look span{display:none}.esc-look:hover{background:#13262ecc}.esc-look--l{left:8px}.esc-look--r{right:8px}
.esc-fade{position:absolute;inset:0;background:#0b1520;opacity:0;pointer-events:none;transition:opacity .22s;z-index:5}.esc-fade.is-on{opacity:1}
/* 操作列：持ち物・部屋・道具 */
.esc-inventory{display:flex;gap:6px;align-items:center;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px}
.esc-inv{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}
.esc-inv svg{width:18px;height:18px}.esc-inv:hover{background:#f3f7f2}
.esc-inv.is-held{background:#efe7ff;border-color:var(--uv);box-shadow:0 0 0 2px #a37bff55}
.esc-inv-empty{font-size:12px;color:#7a8a84}
.esc-rooms{display:flex;gap:3px;flex-shrink:0}
.esc-room{display:flex;align-items:center;gap:4px;min-height:44px;padding:6px 11px;border:1px solid transparent;border-radius:6px;background:#eef2ee;color:var(--ink);font-size:13px;font-weight:700}
.esc-room[aria-current=location]{background:#d9eadf;border-color:#9fc0ae;color:#1e5a48}
.esc-room svg{width:13px;height:13px}
.esc-tools{display:flex;gap:6px;flex-shrink:0}.esc-tool{width:44px;height:44px}.esc-tool span{display:none}
/* パネル */
.escape-panel{position:fixed;inset:0;background:#0d1d22c4;display:flex;align-items:center;justify-content:center;padding:14px;z-index:60;overflow:auto}
.escape-sheet{width:540px;max-width:100%;max-height:100%;overflow:auto;background:var(--paper);color:var(--ink);border-radius:8px;border:1px solid #dcd8c6;padding:18px 20px;box-shadow:0 18px 60px #0005;overscroll-behavior:contain}
.escape-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;position:sticky;top:-18px;background:inherit;padding-top:2px;z-index:6}
.escape-sheet h2{font-size:19px;line-height:1.4;margin:0}.escape-sheet header button{flex-shrink:0;width:42px;height:42px}
#puzzle-message{font-size:14px;line-height:1.6;margin:12px 0 0;padding:9px 12px;border-radius:6px;background:#efe9d6;color:#5d4a26;text-align:center}
#puzzle-message[data-kind=good]{background:#e1efe3;color:#1f5a3c}#puzzle-message[data-kind=bad]{background:#f6e3dc;color:#8a3a22}
#puzzle-message:empty{display:none}
.esc-text{font-size:15px;line-height:1.85;margin:0 0 12px}
.esc-ending{font-size:15.5px}
.esc-inscription{font-size:13px;line-height:1.7;margin:0 0 12px;color:#50655a;border-left:3px solid var(--gold);padding-left:10px}
.esc-caption{font-size:12.5px;line-height:1.6;color:#5f746b;margin:10px 0 0;text-align:center}
.esc-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.esc-actions .arcade-button{min-height:44px;white-space:normal;padding:9px 14px;font-size:13px;border-radius:6px}
.esc-actions .arcade-button svg{width:18px;height:18px}
/* 手紙・紙もの */
.esc-letter{position:relative;background:#fbf6e6;border:1px solid #e3d8b8;border-radius:4px;padding:18px 20px;box-shadow:inset 0 0 40px #d8c49a33;font-size:14.5px;line-height:1.9}
.esc-letter p{margin:0 0 10px}.esc-letter--old{background:#f4ead0 radial-gradient(ellipse at 30% 20%,#fff6dc 0,transparent 60%)}
.esc-letter--new{background:#fdfcf6;border-color:#d8dfe6}
.esc-letter-head{font-weight:700;font-size:15.5px}.esc-letter-from{text-align:right;font-weight:700;margin-top:14px!important}
.esc-uv-ink,.esc-uv-line{opacity:0;transition:opacity .4s;pointer-events:none}
.esc-uv-ink{position:absolute;left:16px;bottom:10px;display:flex;align-items:center;gap:6px;font-size:28px;font-weight:900;color:#d9c2ff;text-shadow:0 0 10px #b48cff,0 0 22px #8a52ff}
.esc-uv-num{font-size:22px}
.esc-uv-line{margin:12px 0 0;text-align:center;font-weight:700;color:#e6d6ff;text-shadow:0 0 10px #b48cff}
.is-uv .escape-sheet{background:#1e1636;color:#d8d0ee;border-color:#5b3fa0;box-shadow:0 0 50px #7b4dff55}
.is-uv .esc-letter{background:#2a1f4a;border-color:#5b3fa0;color:#bdb2d8;box-shadow:none;background-image:none}
.is-uv .esc-uv-ink,.is-uv .esc-uv-line{opacity:1}
.is-uv .esc-inscription,.is-uv .esc-caption{color:#b6a9d8}.is-uv .esc-poster{background:#2a1f4a}
.is-uv #puzzle-message{background:#3a2a66;color:#efe6ff}
.is-uv .esc-hint{background:#2a1f4a;border-color:#5b3fa0}.is-uv .esc-hint small{color:#c9b3ff}.is-uv .esc-notebook-task{border-color:#5b3fa0}.is-uv .esc-entry b{color:#9fc0ff}
.esc-entry{display:flex;gap:12px}.esc-entry b{min-width:84px;color:#2f5a7a}.esc-entry-note{font-size:13px;color:#7a7a6a}
.esc-pinned{margin-bottom:14px;font-size:13.5px;line-height:1.8}
.esc-memo .esc-cipher-line{font-size:24px;letter-spacing:2px;text-align:center;font-weight:700;margin:6px 0}
/* 書架とワゴン */
.esc-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px 10px 10px;background:#5a4635;border-radius:4px;border-bottom:10px solid #3e3024}
.esc-slot{min-height:132px;border:2px dashed #c9b48a;border-radius:3px;background:#2e241a;color:#d8c8a0;display:grid;place-items:center;padding:6px}
.esc-slot:disabled{opacity:1}.esc-slot.is-filled{border:1px solid #0003;border-left:7px solid #ffffff30;background:var(--c);color:#fff}
.esc-spine{writing-mode:vertical-rl;font-weight:700;font-size:14px;line-height:1.4}
.esc-cart{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px;background:#e0e3d8;border-radius:4px;margin-top:6px}
.esc-book{min-height:128px;border:1px solid #0003;border-radius:3px 6px 6px 3px;background:var(--c);color:#fff;padding:8px 5px;display:grid;place-items:center;box-shadow:3px 3px 0 #0002;transition:transform .15s}
.esc-book[aria-pressed=true]{outline:3px solid #e3bb62;outline-offset:2px;transform:translateY(-6px)}
.esc-book-front strong{font-size:13px;line-height:1.45}
.esc-book.is-back{background:linear-gradient(var(--c) 0 18%,#f4efe0 18%);color:var(--ink)}
.esc-book-back{display:flex;flex-direction:column;align-items:center;gap:2px;padding-top:12px}.esc-book-back strong{font:700 22px Georgia,serif;border:2px solid #333;padding:0 6px;background:#fff}.esc-book-back small{font-size:11px}.esc-book-back em{font-size:9.5px;font-style:normal;color:#6a6a5a;margin-top:6px}
/* 時計 */
.esc-clock{position:relative;width:170px;height:170px;margin:8px auto 14px;border:7px solid #aa935b;border-radius:50%;background:#efeadb;box-shadow:inset 0 0 0 3px #d5ceb4}
.esc-clock>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--a)) translateY(-60px) rotate(calc(-1 * var(--a)));font:700 16px Georgia,serif;color:#2d3a35}
.esc-hand{display:block;position:absolute;left:50%;bottom:50%;width:5px;height:44px;background:#284b43;transform-origin:50% 100%;border-radius:3px}.esc-hand--minute{height:60px;width:3px}
.esc-clock::after{content:'';position:absolute;width:11px;height:11px;border-radius:50%;background:#d6b768;left:50%;top:50%;transform:translate(-50%,-50%)}
.esc-time{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.esc-stepper{display:flex;align-items:center;gap:6px}.esc-stepper output{width:52px;text-align:center;font-weight:700;font-size:17px;font-variant-numeric:tabular-nums}
.esc-clock-back{width:170px;height:170px;margin:8px auto 14px;border-radius:50%;background:#6d5640;border:7px solid #4c3a2a;display:grid;place-items:center}
.esc-battery-box{width:96px;height:44px;border:3px solid #2a2016;border-radius:5px;background:#3a2c1f;display:grid;place-items:center;color:#c9b48a;font-size:12px}
.esc-battery{display:block;width:80px;height:28px;border-radius:5px;background:linear-gradient(90deg,#e8c35a 0 35%,#2f6f9a 35%);color:#fff;font-size:12px;font-weight:700;text-align:center;line-height:28px}
/* めくれるカード */
.esc-card{perspective:900px;margin:0 auto 10px;width:220px}
.esc-card-inner{position:relative;transition:transform .5s;transform-style:preserve-3d;display:grid}
.esc-card-face{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:grid;place-items:center}
.esc-card-back{transform:rotateY(180deg)}
.esc-card--item{width:min(260px,70vw)}.esc-card--small{width:100%;margin:0}
.esc-item-art{width:100%;aspect-ratio:1;background:radial-gradient(#fff,#ece7d8);border-radius:10px;border:1px solid #ddd4bd}
.esc-item-art svg{width:100%;height:100%;display:block}
.esc-item-art--wide{max-width:380px;margin:12px auto 0}
.esc-combine{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.esc-combine .esc-caption{flex-basis:100%;margin:0 0 4px}
.esc-combine-btn{font-size:12px;min-height:40px}
/* 掲示板 */
.esc-poster{background:#fbf7ea;border:1px solid #d9cfb2;border-radius:4px;padding:14px;text-align:center}
.esc-poster-head{margin:0 0 12px;font-weight:700;color:#2f5a4f}
.esc-poster-dots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;justify-items:center}
.esc-dot{width:76px;height:76px;border-radius:50%;background:var(--c);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 -5px 0 #0002}
.esc-dot b{font:700 30px/1 Georgia,serif}.esc-dot small{font-size:11px}
/* 錠 */
.esc-dials{display:flex;justify-content:center;gap:10px;margin:8px 0}
.esc-dial{display:flex;flex-direction:column;align-items:center;gap:4px;background:#2f3b38;border-radius:8px;padding:6px}
.esc-dial output{width:46px;height:52px;display:grid;place-items:center;background:#f2ead2;border-radius:4px;font:700 30px Georgia,serif;color:#2a2a24}
.esc-dial-btn{width:46px;height:40px;border:0;border-radius:5px;background:#4c5b57;color:#fff;display:grid;place-items:center;padding:0}.esc-dial-btn span{display:none}.esc-dial-btn:hover{background:#5e706b}
.esc-stepper .esc-dial-btn{background:#e4eade;color:var(--ink)}
.esc-kana-slots{display:flex;justify-content:center;gap:8px;margin:6px 0 12px}
.esc-kana-slots span{width:46px;height:50px;display:grid;place-items:center;background:#2f3b38;color:#f2ead2;border-radius:6px;font-size:24px;font-weight:700}
.esc-kana-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;max-width:440px;margin:0 auto}
.esc-kana{min-height:38px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);font-size:16px;font-weight:700;padding:0}
.esc-kana:hover{background:#f1f5ef}
/* 書庫 */
.esc-calendar{width:100%;border-collapse:collapse;font-size:14px;text-align:center;background:#fff;color:#333}
.esc-calendar th{background:#3d5a7a;color:#fff;padding:5px 0;font-weight:700}.esc-calendar th.is-closed{background:#8a96a3}
.esc-calendar td{border:1px solid #e1e4e8;height:42px;vertical-align:top;padding:3px 0;position:relative}
.esc-calendar td.is-closed{background:#f0f1f3;color:#999}
.esc-calendar td.is-fum span{display:inline-grid;place-items:center;width:28px;height:28px;border:2.5px solid #c0392b;border-radius:50%;color:#c0392b;font-weight:700}
.esc-calendar td small{display:block;font-size:9.5px;color:#c0392b;line-height:1}
.esc-stacks{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.esc-stack-btn{flex-direction:column;gap:4px;padding:10px 4px;font-size:12px;min-height:64px}
.esc-balance{position:relative;height:120px;margin:0 auto 12px;max-width:360px}
.esc-beam{position:absolute;left:8%;right:8%;top:22px;height:6px;background:#c9a95c;border-radius:3px;transform:rotate(var(--tilt));transition:transform .5s cubic-bezier(.3,1.6,.5,1);display:flex;justify-content:space-between}
.esc-pan{width:110px;height:54px;margin-top:22px;border-bottom:6px solid #c9a95c;border-radius:0 0 50% 50%;display:flex;align-items:flex-end;justify-content:center;transform:rotate(calc(-1 * var(--tilt)));transition:transform .5s;position:relative}
.esc-pan:first-child{margin-left:-40px}.esc-pan:last-child{margin-right:-40px}
.esc-pan::before{content:'';position:absolute;left:50%;top:-22px;height:22px;width:2px;background:#9a8148}
.esc-pan span{display:flex;flex-direction:column;align-items:center;font-size:11px;padding-bottom:4px}.esc-pan svg{width:26px;height:26px}.esc-pan small{font-size:11px;color:#7a6a4a}
.esc-post{position:absolute;left:50%;top:22px;bottom:0;width:8px;margin-left:-4px;background:#a88a48;border-radius:3px}.esc-post::after{content:'';position:absolute;left:-30px;right:-30px;bottom:0;height:10px;background:#a88a48;border-radius:4px}
.esc-bookends{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.esc-bookend{display:flex;flex-direction:column;gap:5px;background:#eef0e8;border-radius:6px;padding:6px;border:2px solid transparent}
.esc-bookend.is-on{border-color:var(--gold);background:#f8f1da}
.esc-be-front,.esc-be-back{display:flex;flex-direction:column;align-items:center;justify-content:center;height:72px;width:100%;background:#d9c38a;border-radius:6px;color:#4a3a1a;gap:3px}
.esc-be-front svg{width:28px;height:28px}.esc-be-front small,.esc-be-back small{font-size:11px;font-weight:700}
.esc-be-back{background:#8a7550;color:#fff}.esc-be-back b{font:700 28px/1 Georgia,serif}
.esc-be-actions{display:flex;flex-direction:column;gap:4px}
.esc-mini{min-height:36px;border:1px solid var(--line);background:#fff;border-radius:5px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:3px;padding:2px 4px;color:var(--ink)}
.esc-mini svg{width:14px;height:14px}
/* 司書室 */
.esc-case{display:grid;grid-template-columns:24px repeat(5,1fr);gap:4px;max-width:340px;margin:0 auto;background:#5a3a2c;padding:8px;border-radius:4px;align-items:center}
.esc-case b{color:#f0d890;text-align:center;font-size:14px}
.esc-cell{aspect-ratio:1;min-height:44px;border:0;border-radius:2px;background:linear-gradient(90deg,var(--c) 0 22%,#0002 22% 24%,var(--c) 24% 46%,#0002 46% 48%,var(--c) 48% 70%,#0002 70% 72%,var(--c) 72%);box-shadow:inset 0 -4px 0 #0003}
.esc-cell:hover{filter:brightness(1.15)}
.esc-photo{width:220px;aspect-ratio:4/3;background:#c9b48c;border:8px solid #f4efe2;box-shadow:0 2px 8px #0003;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;color:#5a4630;font-size:11px;padding-bottom:4px}
.esc-photo-img{flex:1;width:100%;background:radial-gradient(circle at 50% 30%,#7b6448 0 14%,transparent 15%),linear-gradient(#a8916c,#8a7354);position:relative}
.esc-photo-img::before{content:'';position:absolute;left:28%;bottom:0;width:12%;height:55%;background:#4a3a2a;border-radius:40% 40% 0 0}
.esc-photo-img::after{content:'';position:absolute;right:30%;bottom:0;width:8%;height:36%;background:#6b3a3a;border-radius:40% 40% 0 0}
.esc-photo--back{background:#f4efe2;justify-content:center;font-size:14px;color:#5a5040;font-family:serif}
/* 時計塔 */
.esc-axles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#6f6252;border-radius:6px;padding:10px}
.esc-axle{min-height:120px;border:2px solid #9a8a6e;border-radius:6px;background:#544838;color:#f0e2c0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px}
.esc-axle small{font-size:12px;font-weight:700;background:#efe2c2;color:#4a3a1a;padding:1px 8px;border-radius:3px}
.esc-axle-pin{width:18px;height:18px;border-radius:50%;background:#c9a95c;box-shadow:0 0 0 6px #3a3024}
.esc-gear svg{display:block;width:76px;height:76px}.esc-gear-pick svg{width:58px;height:58px}
.esc-gear-tray{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.esc-gear-pick{display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:6px 10px;font-size:11px;color:var(--ink)}
.esc-gear-pick[aria-pressed=true]{outline:3px solid var(--gold);background:#fbf3dc}
.esc-chart{position:relative;width:min(420px,100%);aspect-ratio:1;margin:0 auto}
.esc-chart canvas{width:100%;height:100%;display:block}
.esc-star{position:absolute;width:30px;height:30px;transform:translate(-50%,-50%);border-radius:50%;border:2px solid #ffffff55;background:#ffffff10;padding:0;z-index:2}
.esc-star:hover,.esc-star:focus-visible{border-color:#ffe9a8;background:#ffe9a833}
.esc-bookmark{position:absolute;width:33.33%;aspect-ratio:1;pointer-events:none;z-index:1;transition:left .35s,top .35s,transform .35s}
.esc-bookmark::before{content:'';position:absolute;inset:8%;border-radius:50%;box-shadow:0 4px 12px #0008;transition:box-shadow .4s}
.esc-bookmark svg{width:100%;height:100%;display:block}
.esc-bookmark.is-aligned::before{box-shadow:0 0 0 3px #ffd97a,0 0 22px 6px #ffd97acc}
/* 手帳・ヒント */
.esc-notebook-task{font-weight:700;line-height:1.7;padding-bottom:10px;border-bottom:1px solid var(--line);margin:0 0 12px}
.esc-notes{display:flex;flex-direction:column;gap:6px}.esc-note-btn{justify-content:flex-start;font-size:13.5px}
.esc-word{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap}.esc-word small{flex-basis:100%;text-align:center;font-size:12px;color:#5f746b}
.esc-word span{display:flex;flex-direction:column;align-items:center;background:#2a1f4a;color:#e6d6ff;border-radius:6px;padding:4px 10px}.esc-word i{font-style:normal;font-size:12px}.esc-word b{font-size:20px}
.esc-hint{background:#fff;border:1px solid var(--line);border-radius:6px;padding:9px 12px;margin-bottom:8px}.esc-hint small{font-weight:700;color:var(--moss)}.esc-hint p{margin:2px 0 0;line-height:1.7;font-size:14px}
/* 説明文 */
.esc-about{max-width:780px;margin:0 auto;padding:28px 20px 36px;line-height:1.9;font-size:15px;color:var(--ink)}
.esc-about h2{font-size:19px;margin:28px 0 10px;padding-left:10px;border-left:4px solid var(--moss)}
.esc-about ul{padding-left:1.3em;margin:0}.esc-about li{margin-bottom:6px}
.esc-about table{border-collapse:collapse;width:100%;font-size:14px}.esc-about th,.esc-about td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}.esc-about th{background:#eef2ee;white-space:nowrap}
@media(max-width:760px){
 .arcade-controls{flex-wrap:wrap;gap:6px;padding:8px 10px}
 .esc-inventory{order:-1;flex-basis:100%;min-height:46px}
 .esc-rooms{flex:1;min-width:0}.esc-room{flex:1;justify-content:center;padding:6px 3px;font-size:12px;min-width:0}
 .arcade-stage{height:calc(100svh - 236px);min-height:380px}
}
@media(max-width:640px){
 .arcade-header{gap:6px;height:56px;padding:7px 9px}.arcade-header h1{font-size:14px}.arcade-brand img{width:26px;height:26px}.arcade-tools{gap:1px}.arcade-tools .arcade-icon{width:34px;height:40px}
 .arcade-stage{height:calc(100svh - 228px);min-height:360px}
 .arcade-hud{left:8px;top:8px}.arcade-stat{padding:4px 8px;min-width:62px}.arcade-stat>strong{font-size:14px}.arcade-stat>span{font-size:9px}
 .esc-objective{left:8px;right:auto;top:56px;max-width:calc(100% - 16px);font-size:12px;padding:5px 10px}
 .esc-uv-badge{top:auto;bottom:52px}
 .esc-spot-ring{width:40px;height:40px}.esc-spot-label{font-size:11px;padding:2px 6px}
 .esc-look{width:30px;height:54px}
 .esc-tool{width:40px}.esc-inv{padding:5px 8px;font-size:11px}
 .escape-panel{padding:6px}.escape-sheet{padding:12px 13px}.escape-sheet>header{top:-12px}.escape-sheet h2{font-size:17px}
 .esc-letter{padding:14px 14px;font-size:14px;line-height:1.85}
 .esc-slot,.esc-book{min-height:112px}.esc-shelf,.esc-cart{gap:5px;padding:8px 6px}.esc-book-front strong{font-size:12px}
 .esc-dials{gap:6px}.esc-dial output{width:40px;height:46px;font-size:26px}.esc-dial-btn{width:40px}
 .esc-kana-grid{gap:3px}.esc-kana{min-height:36px;font-size:15px}
 .esc-bookends{gap:5px}.esc-be-front,.esc-be-back{height:62px}
 .esc-stacks{gap:4px}.esc-stack-btn{font-size:11px;padding:8px 2px}
 .esc-balance{height:108px}.esc-pan{width:86px}
 .arcade-status{font-size:12px;bottom:8px}
 .arcade-footer{min-height:52px}
}
@media(max-height:500px) and (orientation:landscape){
 .arcade-header{height:44px}.arcade-stage{height:calc(100svh - 106px);min-height:240px}
 .arcade-controls{min-height:58px;padding:5px 10px;flex-wrap:nowrap}.esc-inventory{order:0;flex-basis:auto}.arcade-footer{display:none}
 .arcade-hud{left:8px;top:6px}.arcade-stat{padding:3px 8px;min-width:58px}.arcade-stat>strong{font-size:13px}
 .esc-objective{top:6px;right:52px;left:auto;max-width:240px;font-size:11px;padding:4px 9px}
 .esc-uv-badge{top:8px;bottom:auto}
 .esc-chart{width:min(300px,62svh)}
 .esc-spot-ring{width:36px;height:36px}.esc-spot-label{font-size:10.5px}
 .esc-room{padding:6px 7px;font-size:12px}
 .escape-sheet{width:640px;padding:10px 16px}.escape-sheet h2{font-size:16px}.escape-sheet>header{margin-bottom:6px;top:-10px}
 .esc-clock,.esc-clock-back{width:130px;height:130px}.esc-clock>span{transform:translate(-50%,-50%) rotate(var(--a)) translateY(-44px) rotate(calc(-1 * var(--a)));font-size:12px}.esc-hand--hour{height:30px}.esc-hand--minute{height:44px}
 .esc-chart{width:min(300px,100%)}.esc-slot,.esc-book{min-height:96px}
 .arcade-dialog{width:min(420px,92vw)}
}
@media(prefers-reduced-motion:reduce){.esc-spot.is-new .esc-spot-ring{animation:none}.esc-card-inner,.esc-bookmark,.esc-beam,.esc-pan{transition:none}}
