:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f3ddbc;--muted:#b9a595;--line:#51404a;--paper:#f6e1bb;--display:"Noto Serif SC", "Songti SC", SimSun, serif;background:#211c26;font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;background:radial-gradient(at 52% 12%,#392b35 0,#2a222e 46%,#211c26 78%);place-items:center;min-height:100svh;margin:0;display:grid}button{font:inherit;cursor:pointer}button:focus-visible,#play-area:focus-visible{outline-offset:3px;outline:2px solid #f6c47e}.game-shell{width:min(1112px,100vw - 72px,150svh - 237px);min-width:min(570px,100vw - 72px);margin-inline:auto;padding-block:21px 16px}.masthead{justify-content:space-between;align-items:center;gap:12px;margin:0 1px 18px;display:flex}.brand{align-items:center;gap:13px;display:flex}h1{font:700 clamp(24px, 3vw, 36px)/1.06 var(--display);letter-spacing:.09em;color:#f8e4c5;margin:0}.brand p{color:#cba68b;letter-spacing:.22em;margin:8px 0 0;font:400 12px/1.15 Georgia,serif}.cabin-mark{background:linear-gradient(#53403f,#3a3039);border:1px solid #72514d;border-radius:12px;place-items:center;width:48px;height:48px;display:grid;box-shadow:inset 0 0 0 3px #46373b}.cabin-mark i{clip-path:polygon(0 45%,11% 45%,11% 35%,22% 35%,22% 25%,33% 25%,33% 15%,45% 15%,45% 5%,55% 5%,55% 15%,67% 15%,67% 25%,78% 25%,78% 35%,89% 35%,89% 45%,100% 45%,100% 57%,87% 57%,87% 96%,13% 96%,13% 57%,0 57%);background:#d69670;width:27px;height:25px;position:relative}.cabin-mark i:before{content:"";background:#f3c184;position:absolute;inset:14px 4px 1px}.cabin-mark i:after{content:"";background:#854e4b;width:5px;height:7px;position:absolute;bottom:1px;right:6px;box-shadow:-9px -2px #ffe0a2}.environment{border:1px solid var(--line);color:#ddc2aa;white-space:nowrap;background:#2c2633;border-radius:8px;align-items:center;gap:9px;min-height:37px;padding:0 13px;font-size:12px;display:flex}.environment i{background:#906f67;border-radius:50%;width:3px;height:3px}.light-icon{border-radius:50%;width:13px;height:13px;margin:-2px -1px 2px 3px;box-shadow:-3px 2px #e9bc81}.environment[data-light=day] .light-icon{background:#e9bc81;transform:scale(.78);box-shadow:0 0 0 2px #6e523e}.play-frame{background:#4a3437;border:1px solid #745247;border-radius:12px;padding:5px;box-shadow:0 0 0 2px #30262e,0 15px 45px #170f1b80}#play-area{aspect-ratio:3/2;touch-action:none;background:#202539;border-radius:6px;width:100%;position:relative;overflow:hidden}#play-area canvas{image-rendering:pixelated;display:block}.control-bar{background:#302631;border:1px solid #493842;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:clamp(12px,2vw,26px);min-height:56px;margin-top:9px;padding:8px 12px;display:grid}.action-status{color:#ead0ae;align-items:center;gap:9px;font-size:13px;line-height:1.4;display:flex}.action-status>span:first-child{color:#eab477;font-size:15px}.control-legend,.control-legend>span{align-items:center;display:flex}.control-legend{color:var(--muted);gap:15px;font-size:11px}.control-legend>span{white-space:nowrap;gap:3px}.key-text{margin-left:4px}kbd{color:#f1d4b2;background:#463643;border:1px solid #614952;border-bottom-width:2px;border-radius:4px;place-items:center;min-width:23px;height:23px;padding:0 4px;font:600 11px/1 ui-monospace,Consolas,monospace;display:inline-grid}.utility{gap:7px;display:flex}.icon-button{color:#e8c5a1;background:#3b2e3a;border:1px solid #5d4651;border-radius:6px;place-items:center;width:32px;height:32px;font-family:Georgia,serif;font-size:17px;display:grid}.icon-button[hidden],.game-shell[hidden],.shared-entry[hidden]{display:none}.shared-entry{color:#51382e;width:min(420px,100vw - 28px);margin-block:24px}.shared-entry h1{color:#51382e}.shared-entry input,.shared-entry select{color:#523732;width:100%;font:inherit;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff1d7;border:1px solid #bb8d72;border-radius:5px;padding:8px}.shared-entry label{gap:4px;display:grid}.shared-entry button{color:#fff0d3;background:#a86459;border:1px solid #8f5650;border-radius:6px;padding:8px 15px}.control-bar .shared-control{width:auto;min-width:34px;padding-inline:5px;font-family:inherit;font-size:12px}.icon-button:hover,.touch-controls button:hover{background:#514050}.expand-icon{clip-path:polygon(0 0,37% 0,37% 37%,63% 37%,63% 0,100% 0,100% 37%,63% 37%,63% 63%,100% 63%,100% 100%,63% 100%,63% 63%,37% 63%,37% 100%,0 100%,0 63%,37% 63%,37% 37%,0 37%);border:1px solid;border-radius:1px;width:13px;height:13px}.touch-controls{touch-action:none;-webkit-user-select:none;user-select:none;display:none}.dpad{grid-template-rows:repeat(2,40px);grid-template-columns:repeat(3,42px);gap:3px;display:grid}.dpad button,.touch-action{color:#eed2aa;touch-action:none;background:#413341;border:1px solid #725455;border-radius:7px}.dpad button{font-size:13px}.dpad button[data-direction=up]{grid-area:1/2}.dpad button[data-direction=left]{grid-area:2/1}.dpad button[data-direction=down]{grid-area:2/2}.dpad button[data-direction=right]{grid-area:2/3}.dpad button[data-held],.touch-action:active{background:#76545a}.touch-action{color:#ffd6a3;min-width:72px;min-height:52px;padding:4px 10px}.touch-action span:first-child{padding-right:5px}.note-dialog{color:#51382e;background:#d49f75;border:1px solid #a36a52;border-radius:12px;width:min(466px,100% - 28px);max-height:calc(100% - 28px);padding:5px;box-shadow:0 18px 70px #0c071c99}.note-dialog::backdrop{background:#18121dc4}.note-paper{background:#f7e3bf;border:1px solid #c38e67;border-radius:7px;padding:19px 25px 24px}.note-top{justify-content:space-between;align-items:center;display:flex}.note-icon{color:#a9615b;font-size:21px}.note-x{color:#805148;background:#f6dbb8;border:1px solid #d8ad88;border-radius:6px;place-items:center;width:35px;height:35px;padding:0;font-size:22px;display:grid}.note-paper h2{font:700 24px/1.3 var(--display);margin:5px 0 13px}.note-body{color:#62453a;white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:1.85}.note-body:empty,.note-media:empty{display:none}.birthday-cake{width:min(192px,100%);height:auto;image-rendering:pixelated;margin:10px auto 0;display:block}.photo-dialog{width:min(660px,100% - 20px)}.photo-dialog .note-paper{padding-inline:clamp(12px,4vw,25px)}.album-photo{object-fit:contain;background:#2a222c;border-radius:6px;width:100%;height:min(55svh,500px);display:block}.photo-navigation{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.photo-navigation button{color:#654239;background:#f4d9af;border:1px solid #be896e;border-radius:6px;min-height:40px;padding:4px 11px}.photo-navigation button:hover{background:#edc89f}.photo-status{color:#62453a;margin:5px 0;font-size:14px}.note-confirm{color:#fff0d3;background:#a86459;border:1px solid #8f5650;border-radius:6px;margin-top:21px;padding:8px 17px}.note-confirm:hover{background:#91554d}.note-dialog button:focus-visible{outline-color:#704648}.environment:hover{border-color:#a97c65}.panel-dialog{width:min(560px,100% - 20px)}.panel-dialog .note-paper{padding-inline:clamp(13px,4vw,25px)}.note-media label{gap:5px;font-size:13px;display:grid}.note-media label[hidden]{display:none}.note-media input:not([type=checkbox]),.note-media select,.note-media textarea{color:#523732;width:100%;min-width:0;font:inherit;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff1d7;border:1px solid #bb8d72;border-radius:5px;padding:7px 8px}.note-media textarea{resize:vertical}.note-media button{color:#5e3b36;background:#f3d4ab;border:1px solid #b68a70;border-radius:6px;min-height:34px;padding:6px 10px}.note-media button:hover:not(:disabled){background:#ebbd94}.note-media button[aria-pressed=true]{color:#fff3d8;background:#975951;border-color:#80463f}.note-media button:disabled{opacity:.65;cursor:default}.panel-switch{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.panel-form{justify-items:start;gap:8px;margin-top:13px;display:grid}.panel-form[hidden]{display:none}.panel-form>label{width:100%}.environment-options{flex-wrap:wrap;gap:8px;width:100%;display:flex}.environment-options label{flex:88px}.birthday-form{border-top:1px solid #d1a686;padding-top:13px}.panel-status{color:#725045;margin:0;font-size:12px}.wardrobe-lineup{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.wardrobe-card{background:#f4d7af;border:1px solid #d3a884;border-radius:7px;padding:9px}.wardrobe-card canvas{width:72px;image-rendering:pixelated;margin:0 auto 6px;display:block}.board-list,.mail-list{gap:5px;margin:9px 0;padding:0;list-style:none;display:grid}.board-list li,.mail-list li,.letter-page{overflow-wrap:anywhere;background:#ffedce;border:1px solid #d8ad87;border-radius:6px;padding:8px 10px}.board-item{white-space:pre-wrap}.board-list .board-item label{align-items:baseline;display:flex}.board-list small{color:#7d574b}.board-list .panel-switch{margin-top:4px}.board-list button{min-height:28px;padding:3px 8px;font-size:12px}.mail-list li{justify-content:space-between;align-items:center;gap:8px;display:flex}.letter-page h3{margin:0 0 6px}.letter-page p,.photo-memory{white-space:pre-line;margin:0;line-height:1.65}.photo-memory:not(:empty){margin-block:8px}.note-media:has(.photo-navigation)>button{margin-top:8px}.game-shell:fullscreen{background:#211c26;align-content:center;justify-items:stretch;width:100%;padding-inline:max(14px,50vw + -75dvh + 118.5px);display:grid}@media (width<=780px),(pointer:coarse){.game-shell{width:min(100vw - 28px,820px);min-width:0}.control-legend{display:none}.control-bar{grid-template-columns:minmax(0,1fr) auto;min-height:46px;padding:6px 9px}.touch-controls{justify-content:space-between;align-items:center;padding:10px 2px 0;display:flex}.touch-action{font-size:13px}.masthead{margin-bottom:12px}.cabin-mark{border-radius:9px;width:41px;height:41px}.brand{gap:9px}.brand p{margin-top:5px;font-size:10px}}@media (width<=540px){body{align-items:start}.game-shell{padding-top:max(24px, env(safe-area-inset-top))}.play-frame{border-radius:8px;padding:3px}.environment{gap:6px;min-height:32px;padding-inline:8px;font-size:11px}}@media (orientation:landscape) and (height<=550px) and (any-pointer:coarse){.game-shell{width:min(100vw - 22px,150svh + 63.5px);padding-block:5px}.masthead{margin-bottom:4px}h1{font-size:19px}.brand p{display:none}.cabin-mark{width:31px;height:31px}.cabin-mark i{transform:scale(.75)}.environment{min-height:27px}.game-grid{grid-template-columns:112px minmax(0,1fr) 80px;align-items:end;gap:8px;display:grid}.play-frame{grid-area:1/2;padding:3px}.touch-controls{display:contents}.dpad{grid-area:1/1;grid-template-columns:repeat(3,35px)}.touch-action{grid-area:1/3}.control-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:31px;margin:4px 88px 0 120px;padding:3px 5px}.control-legend{display:none}.control-bar .icon-button{width:24px;height:24px}.game-shell:fullscreen{padding-inline:max(11px,50vw + -75dvh - 31.75px)}}
