@media(pointer:coarse){html,body{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}body{-webkit-user-select:none;user-select:none}input,textarea,select,[contenteditable],.selectable{-webkit-user-select:text;user-select:text}img,canvas{-webkit-user-drag:none;-webkit-touch-callout:none}}.frontier-panel .frontier-row{border-top:1px solid #d9caa4;padding:8px 0;font-size:13px;line-height:1.5}.frontier-panel .frontier-row .frontier-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.frontier-panel .frontier-row em{font-style:normal;font-size:12px;padding:0 7px;border-radius:9px;background:#e5dfca;color:#5b5140}.frontier-panel .frontier-row[data-state=danger] em{background:#f3d9a5;color:#7a4a12}.frontier-panel .frontier-row[data-state=settled] em{background:#cfe6bd;color:#2f5a2a}.frontier-panel .frontier-row p{margin:2px 0}.frontier-panel .frontier-progress{color:#6a5a3a}.frontier-panel .frontier-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}#regions-panel .frontier-actions button,.frontier-panel .frontier-actions button{display:inline-block;width:auto;min-height:0;margin:0;padding:3px 10px;font-size:12px;line-height:1.5}.frontier-panel>p b{display:inline}@media(max-width:760px){.frontier-panel h2{margin-left:44px}}#replay-bar{position:absolute;left:50%;bottom:132px;transform:translate(-50%);z-index:6;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;max-width:calc(100% - 32px);padding:8px 12px;border-radius:12px;background:#243e35ee;color:#eef1df;box-shadow:0 8px 30px #153e3440;font-size:12px}#replay-bar button{padding:5px 9px;font-size:11px;background:#f7f6e9;color:#2f4a3a;border-color:#d7dec8}#replay-bar input{width:min(220px,40vw);accent-color:#cfad65}#replay-bar #replay-time{font-variant-numeric:tabular-nums;min-width:86px;text-align:center;color:#cfd7c0}.replay-list{line-height:2.1;font-size:12px}.replay-list button{padding:3px 8px;font-size:11px;margin-left:6px}.replay-list small{color:#8e957f}#watch-toggle.active{background:#415f44;color:#fff}.photo-mode #world-highlights,.photo-mode #toast,.photo-mode .bottom-dock,.photo-mode .camera-controls,.photo-mode #replay-bar{visibility:hidden}#photo-bar{position:absolute;left:50%;top:18px;transform:translate(-50%);z-index:7;display:flex;gap:6px;align-items:center;padding:8px 12px;border-radius:12px;background:#fffff1f2;box-shadow:0 3px 12px #24413930;font-size:12px}#photo-bar input{width:min(240px,40vw);font:inherit;padding:5px 8px;border:1px solid #d8ddce;border-radius:6px}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.album-grid figure{margin:0;border:1px solid #dddaca;border-radius:9px;background:#fffdf5;padding:6px}.album-grid img{width:100%;border-radius:6px;display:block}.album-grid figcaption{font-size:10px;line-height:1.6;color:#6f7864;margin-top:4px}.album-grid figcaption a,.album-grid figcaption button{font-size:10px;padding:2px 6px;margin-right:4px}@media(max-width:600px){#replay-bar{bottom:150px}}#sound-panel{position:absolute;right:64px;bottom:178px;z-index:7;display:grid;gap:6px;width:220px;padding:10px 12px;border-radius:12px;background:#fffff1f4;box-shadow:0 3px 12px #24413930;font-size:12px}#sound-panel label{display:grid;grid-template-columns:auto 1fr;gap:6px;align-items:center}#sound-panel small{color:#8e957f;font-size:10px;line-height:1.6}#sound-panel label{min-height:44px}#sound-panel input[type=range]{min-height:44px;margin:0}#sound-track{display:grid;grid-template-columns:1fr 1fr;gap:6px}#sound-track button{min-height:44px;border:1px solid #c9cdb4;border-radius:10px;background:#fff;font:inherit;color:#3b4033;padding:0 6px}#sound-track button[aria-checked=true]{background:#fff0b8;border-color:#d8a830;font-weight:700}@media(max-height:480px){#sound-panel{z-index:45;bottom:8px;top:auto;width:min(460px,calc(100% - 140px));max-height:calc(100% - 16px);overflow:auto;grid-template-columns:1fr 1fr;column-gap:12px}#sound-panel>b,#sound-panel>small,#sound-panel>#sound-track{grid-column:1/-1}#sound-track{grid-template-columns:repeat(5,1fr)}#sound-track button{font-size:11px;padding:0 3px}#sound-panel>small{display:none}}#keepsakes-dialog{width:min(860px,95vw);max-width:95vw;text-align:left}#keepsakes-dialog>h2{font-size:18px;margin:0 44px 8px 0}.keepsakes-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.keepsakes-tabs button{min-height:44px;min-width:120px;padding:7px 14px;font-size:13px}.keepsakes-tabs button.active{background:#315b40;color:#fff6d1}#keepsakes-open{min-height:44px}#keepsakes-body .replay-list button,#keepsakes-body .album-grid figcaption button{min-height:44px;min-width:44px;font-size:12px}#keepsakes-body .album-grid figcaption a{display:inline-block;min-height:44px;line-height:44px;font-size:12px}#bio-body{border:1px solid #dddaca;border-radius:10px;background:#fffdf5;padding:14px 16px;margin:10px 0;line-height:1.8;font-size:12px;text-align:left}#objective-strip{position:absolute;left:50%;bottom:14px;transform:translate(-50%);z-index:41;max-width:min(560px,calc(100% - 24px));display:flex;align-items:center;gap:8px;padding:7px 14px 7px 12px;border-radius:999px;background:var(--paper,#fbf1dc);color:var(--ink,#4a3420);border:2px solid var(--wood,#a8743f);box-shadow:0 3px 10px #4a342033;font:700 13px/1.4 "M PLUS Rounded 1c",Noto Sans JP,sans-serif;cursor:pointer;text-align:left}#objective-strip:hover{background:#fff7e6}#objective-strip .objective-mark{color:var(--leaf,#4f7d3a);flex:none}#objective-strip .objective-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}#objective-strip .objective-full{display:none;white-space:normal;font-weight:500;color:var(--ink-soft,#7a5a3a);margin-top:4px}#app #objective-strip[aria-expanded=true]{border-radius:16px;align-items:flex-start;background:var(--paper,#fbf1dc);color:var(--ink,#4a3420);border-color:var(--wood,#a8743f);box-shadow:0 3px 10px #4a342033}#objective-strip[aria-expanded=true] .objective-line{white-space:normal}#objective-strip[aria-expanded=true] .objective-full{display:block}#objective-strip.first-minutes{box-shadow:0 0 0 4px #f0bd6f66,0 3px 10px #4a342033}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#objective-strip{left:8px;right:8px;bottom:132px;transform:none;max-width:none;border-radius:12px;padding:6px 10px;font-size:12px}}html:not(.app-ready) #objective-strip{display:none}#objective-strip.crisis .objective-mark{color:#b4532a}#objective-strip.crisis .objective-full{white-space:pre-line}.top-menu #top-status .resources{cursor:pointer;min-height:44px;align-items:center;border-radius:12px;padding:0 6px}.top-menu #top-status .resources:hover,.top-menu #top-status .resources.open{background:#7854281a}.top-menu #top-status .resources:focus-visible{outline:2px solid #4c7a4e;outline-offset:1px}.top-menu #top-status .resources>span{display:flex;align-items:center;gap:4px}.top-menu #top-status .resources .resources-more{font-size:11px;color:#8a6a3a;margin-left:-2px}#water-stock-chip small{display:none}#resource-list{position:fixed;z-index:70;top:calc(var(--menu-height,96px) + 6px);left:12px;width:min(520px,calc(100vw - 24px));padding:10px 12px 12px;border-radius:14px;background:#fbf2de;border:2px solid #b08a54;box-shadow:0 8px 24px #3c280a4d;color:#4a3418}#resource-list[hidden]{display:none}#resource-list .resource-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}#resource-list .resource-heading strong{font-size:15px}#resource-list .resource-heading span{flex:1;font-size:11px;color:#7a6440}#resource-list .resource-heading button{min-width:44px;min-height:44px;font-size:18px;border-radius:10px;border:1px solid #c9a96b;background:#fff8e8}#resource-list ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px}#resource-list li{display:flex;align-items:center;gap:5px;min-height:28px;font-size:13px}#resource-list li .resource-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#resource-list li b{margin-left:4px;font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;font-size:14px}#resource-list li small{font-size:10px;color:#8a7650}#resource-list .ui-icon{width:20px;height:20px}@media(orientation:landscape)and (max-height:500px){#resource-list{top:calc(var(--menu-height,52px) + 4px);left:8px;width:calc(100vw - 16px);padding:6px 10px 8px;max-height:calc(100dvh - var(--menu-height,52px) - 10px);overflow:auto}#resource-list ul{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px 8px}#resource-list li{font-size:12px;min-height:24px}#resource-list .resource-heading{margin-bottom:2px}#resource-list .resource-heading span{font-size:10px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-status .resources>span:nth-child(3){display:flex!important}.top-menu #top-status .resources>span:nth-child(4){display:none!important}}.top-menu #top-status .resources{flex-shrink:1;min-width:0}.top-menu #top-status .resources>span:not(.material-chips){flex-shrink:0}.top-menu #top-status .resources>.material-chips{flex:0 1 auto;min-width:0;overflow:hidden;gap:4px;padding-left:6px;border-left:1px solid #c9ab7a}.resources .mat-chip,.resources .mat-more{display:inline-flex;align-items:baseline;gap:2px;flex:none;padding:2px 6px;border-radius:9px;background:#f3e5c4;white-space:nowrap}.resources .mat-chip:has(>.resource-mat-icon){align-items:center;padding-inline:4px}.resources .mat-chip .resource-mat-icon{width:14px;height:14px}.resources .mat-chip i{font-style:normal;font-size:11px;color:#6d5330}.resources .mat-chip b{font-size:13px}.resources .mat-more{font-size:11px;font-weight:700;color:#7a5a2a;background:#ead6aa}.resources .material-chips[hidden],.resources .mat-chip[hidden],.resources .mat-more[hidden]{display:none!important}#resource-list li .resource-sites{flex-basis:100%;display:flex;flex-wrap:wrap;gap:0 8px;margin-top:-4px;line-height:1.35}#resource-list li .resource-sites span{white-space:nowrap}#resource-list li:has(.resource-sites){flex-wrap:wrap}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-status .resources:has(>.material-chips:not([hidden])){flex-wrap:wrap;align-content:center;row-gap:1px;column-gap:5px;flex-grow:1}.top-menu #top-status .resources:has(>.material-chips:not([hidden]))>span:not(.material-chips){font-size:11px}.top-menu #top-status .resources:has(>.material-chips:not([hidden])) b{font-size:13px}.top-menu #top-status .resources:has(>.material-chips:not([hidden])) .ui-icon{width:17px;height:17px}.top-menu #top-status .resources>.material-chips{order:9;flex:0 0 auto;width:0;min-width:100%;padding-left:0;border-left:0;gap:3px}.resources .mat-chip,.resources .mat-more{padding:0 4px;border-radius:7px;line-height:16px}.resources .mat-chip:has(>.resource-mat-icon){padding-inline:2px}.resources .mat-chip i,.resources .mat-more{font-size:10px}.top-menu #top-status .resources .mat-chip b{font-size:11.5px}}#resource-list{width:min(920px,calc(100vw - 24px))}#resource-list .resource-tabs{display:none}#resource-list .resource-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:4px 18px}#resource-list section h3{margin:2px 0 4px;padding-bottom:2px;font-size:12px;color:#8a6a3a;border-bottom:1px solid #e3cfa4}#resource-list section ul{display:flex;flex-direction:column;gap:5px}#resource-list section li{flex-wrap:wrap;min-height:0;row-gap:0}#resource-list li .resource-how{flex-basis:100%;font-size:10.5px;line-height:1.35;color:#8a7650}#resource-list li.illustrated{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}#resource-list .resource-material{display:flex;align-items:center;gap:4px}#resource-list .resource-material b{margin-left:0}#resource-list .resource-detail .resource-how{display:block}#resource-list .resource-detail .resource-sites{margin-top:2px;overflow-wrap:anywhere}#resource-list .resource-detail .resource-sites span{white-space:normal}#resource-list .resource-how-icon{width:clamp(40px,10vw,64px);height:auto}#resource-list li.zero .resource-name,#resource-list li.zero b{opacity:.45}#resource-list li.locked .resource-how{color:#a8977a}.resources .mat-chip.zero{opacity:.5}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#resource-list .resource-heading span{display:none}#resource-list .resource-tabs{display:flex;gap:6px;flex:1;justify-content:flex-end}#resource-list .resource-tabs button{min-height:44px;padding:0 14px;border-radius:10px;border:1px solid #c9a96b;background:#fff8e8;font-size:13px;color:#5a4224}#resource-list .resource-tabs button[aria-pressed=true]{background:#e9d3a2;font-weight:700}#resource-list .resource-sections{display:block}#resource-list section:not(.current),#resource-list section h3{display:none}#resource-list section ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 14px}}@media(max-width:520px)and (orientation:portrait){#resource-list [data-section=materials] ul{grid-template-columns:repeat(2,minmax(0,1fr))}}#resource-list .resource-note{margin:0 0 4px;font-size:10.5px;color:#8a7650}#tool-palette.hand-palette #tool-groups{display:none}#tool-palette.hand-palette #tools i:not(.hand-icon){display:none}#tool-palette.hand-palette #tools{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;max-height:none!important;overflow:visible!important}#tool-palette.hand-palette #tools button.hand-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px!important;min-width:0;padding:4px 3px;font-size:12px!important;line-height:1.15;text-align:center;border-bottom:3px solid var(--hand-row,#b9a67a)}#tool-palette.hand-palette #tools button.hand-chip[data-hand-row=touch]{--hand-row:#6f9a62}#tool-palette.hand-palette #tools button.hand-chip[data-hand-row=prank]{--hand-row:#c0705a}#tool-palette.hand-palette #tools button.hand-chip[data-hand-row=give]{--hand-row:#d3a54a}#tool-palette.hand-palette #tools .hand-icon{display:block!important;border:0!important;box-shadow:none!important;flex:none;width:24px;height:24px;margin:0;background:center/contain no-repeat}#tool-palette.hand-palette #tools .hand-name{display:block!important;max-width:100%;overflow-wrap:anywhere;font:inherit!important;font-size:inherit!important;color:inherit;margin:0;line-height:1.15}@media(orientation:landscape)and (max-height:500px){.top-menu.observation-layout #tool-palette.hand-palette .hud-heading{min-height:38px!important;padding:2px 6px 2px 12px!important}.top-menu.observation-layout #tool-palette.hand-palette #tools{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;padding:6px 8px!important}.top-menu.observation-layout #tool-palette.hand-palette #tools button.hand-chip{min-height:46px!important;font-size:11px!important;gap:1px}.top-menu.observation-layout #tool-palette.hand-palette #tools .hand-icon{width:18px;height:18px}.top-menu.observation-layout #tool-palette.hand-palette #tools .hand-name{word-break:keep-all;overflow-wrap:normal;line-height:1.05}}@media(max-width:500px)and (orientation:portrait){.top-menu.observation-layout #tool-palette.hand-palette #tools{grid-template-columns:repeat(3,minmax(0,1fr))!important}}.subject-controls :is(.primary-actions:has([data-subject-act=pet]),.request-actions,.extra-actions,.rare-actions){position:relative;margin-top:14px}.subject-controls :is(.primary-actions:has([data-subject-act=pet]),.request-actions,.extra-actions,.rare-actions):before{position:absolute;left:2px;top:-13px;font-size:11px;line-height:12px;font-weight:700;letter-spacing:.06em;color:#6f7f63;pointer-events:none}.subject-controls .primary-actions:has([data-subject-act=pet]):before{content:"さわる"}.subject-controls .request-actions:before{content:"たのむ"}.subject-controls .extra-actions:before{content:"いたずら"}.subject-controls .extra-actions.mischief-actions:before{content:"手のいたずら"}.subject-controls .rare-actions:before{content:"そのほか"}.subject-controls .rare-actions{padding-top:0}@media(orientation:landscape)and (max-height:500px){#app .subject-panel.phone-sheet .subject-controls :is(.primary-actions:has([data-subject-act=pet]),.request-actions,.extra-actions,.rare-actions){margin-top:10px}#app .subject-panel.phone-sheet .subject-controls :is(.primary-actions,.request-actions,.extra-actions,.rare-actions):before{top:-10px;font-size:9.5px;line-height:10px}}#guide-panel .guide-flow-intro{display:block;height:auto;padding:0;margin:0 0 10px;background:none;border:0;color:inherit}.guide-flow-intro>span{font-size:11px;letter-spacing:.12em;color:#687b56}#guide-panel .guide-flow-intro h2{margin:6px 0 8px;font-size:21px;line-height:1.35}.guide-flow-intro p{margin:0;font-size:13px;line-height:1.7}.flow-steps{display:grid;gap:10px;margin:12px 0}.flow-step{display:flex;gap:12px;padding:12px 14px;border:1px solid #d5ddc8;border-radius:12px;background:#fffef8}.flow-number{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#4f7a50;color:#fff;font-weight:800;font-size:15px}.flow-step h3{margin:0 0 4px!important;font-size:15px!important}.flow-say{margin:0 0 8px;font-size:13px;line-height:1.75}.where{display:flex;flex-wrap:wrap;align-items:center;gap:4px 5px;margin:4px 0;font-size:12px}.where-chip{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:2px 9px 2px 6px;border-radius:999px;background:#f1ecd9;border:1px solid #d8c9a0;color:#4a3a1c;font-weight:600;line-height:1.2}.where-chip img{width:20px;height:20px;object-fit:contain}.where-chip i{font-style:normal;font-size:14px;width:18px;text-align:center}.where-arrow{color:#9a8a62;font-size:12px}.guide-map h3,.manual-more{margin:18px 0 6px;font-size:15px}.guide-map ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.guide-map li{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.6}.guide-map li .where-chip{flex:none;min-width:104px}.manual-more{padding-top:12px;border-top:1px dashed #cdbf98}@media(orientation:landscape)and (max-height:500px){#guide-panel .guide-flow-intro h2{font-size:17px}.flow-step{padding:9px 10px;gap:8px}.guide-map li .where-chip{min-width:96px}}#app button.ui-help{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:24px;min-width:24px;height:24px;padding:0;margin:0 0 0 6px;border:1px solid #bac4ac;border-radius:50%;background:#f5f6ed;color:#53634c;font-size:12px;font-weight:600;line-height:1;flex-shrink:0;transform:none}#app button.ui-help:hover,#app button.ui-help:focus-visible{background:#e5ecd9;border-color:#718466}#ui-help-tooltip{position:fixed;z-index:1500;width:max-content;max-width:min(320px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:12px 14px;border:1px solid #cbd2bb;border-radius:10px;background:#fffff5;color:#364d3b;box-shadow:0 5px 20px #173b3730;font-size:12px;font-weight:400;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.help-control-row{display:flex;align-items:center;gap:2px;margin:6px 0}.help-control-row>button:first-child{flex:1}#enemy-order-panel{position:absolute;z-index:24;left:50%;transform:translate(-50%);bottom:100px;width:360px;max-width:calc(100% - 24px);max-height:calc(100% - 120px);overflow:auto;padding:16px;border:1px solid #b9bd9d;border-radius:12px;background:#fffff5;color:#293f35;box-shadow:0 5px 22px #183b3440}#enemy-order-panel h3{margin:0 0 8px;font-size:16px}#enemy-order-panel p{margin:8px 0;line-height:1.65;font-size:12px}#enemy-order-panel div{display:flex;gap:8px;margin-top:12px}#enemy-order-panel button{min-height:44px}#enemy-order-panel button:disabled{opacity:.5;cursor:default;transform:none}#first-run-hint{position:absolute;left:50%;bottom:14px;transform:translate(-50%);z-index:42;max-width:min(520px,calc(100% - 24px));display:flex;align-items:center;gap:8px;padding:6px 4px 6px 12px;border-radius:14px;background:var(--paper,#fbf1dc);color:var(--ink,#4a3420);border:2px solid var(--leaf,#4f7d3a);box-shadow:0 0 0 4px #f0bd6f55,0 3px 10px #4a342033;font:700 13px/1.5 "M PLUS Rounded 1c",Noto Sans JP,sans-serif;opacity:0;pointer-events:none;transition:opacity .15s}#first-run-hint.shown{opacity:1}#first-run-hint .hint-close{pointer-events:auto}#first-run-hint[hidden]{display:none}#app:has(#hud-settings:not([hidden]),#workspace:not([hidden])) #first-run-hint{display:none}#first-run-hint .hint-step{flex:none;font-size:12px;color:var(--leaf,#4f7d3a);letter-spacing:.04em}#first-run-hint p{margin:0;min-width:0}#first-run-hint .hint-close{flex:none;width:44px;height:44px;min-width:44px;padding:0;border-radius:12px;font-size:18px;line-height:1}#app.first-hint-open #objective-strip{display:none}@media(max-width:760px){#first-run-hint{left:calc(8px + env(safe-area-inset-left,0px));right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(60px + env(safe-area-inset-bottom,0px));transform:none;max-width:none}}@media(orientation:landscape)and (max-height:500px){#first-run-hint{left:calc(72px + env(safe-area-inset-left,0px));right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));transform:none;max-width:min(48vw,420px)}}@media(prefers-reduced-motion:reduce){#first-run-hint{transition:none}}.art-loading{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#10261ff5;color:#fff7dc;font-family:Noto Sans JP,sans-serif}.art-loading-box{width:min(440px,100%);display:grid;gap:14px;text-align:center}.art-loading h2{margin:0;font-size:18px;font-weight:700;letter-spacing:.04em;color:#ffe8ac}.art-loading-bar{height:14px;border-radius:999px;background:#ffffff1f;border:1px solid #ffffff33;overflow:hidden}.art-loading-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(#ffe8ac,#eecb79);transition:width .2s ease-out}.art-loading-count{margin:0;font-size:14px;font-variant-numeric:tabular-nums}.art-loading small{font-size:11px;line-height:1.7;color:#c8d2c0}.art-loading-skip{justify-self:center;margin-top:6px;min-height:44px;padding:8px 20px;border-radius:3px;border:1px solid #ffffff55;background:transparent;color:#fff7dc;font:inherit;font-size:13px;cursor:pointer}.art-loading-skip:hover{background:#ffffff1a}.art-loading-busy i{width:35%;animation:art-loading-slide 1.2s ease-in-out infinite alternate;transition:none}@keyframes art-loading-slide{0%{margin-left:0}to{margin-left:65%}}@media(prefers-reduced-motion:reduce){.art-loading-busy i{animation:none;width:100%;opacity:.5}}:root{font-family:Noto Sans JP,sans-serif;color:#283d38;background:#f4f3ed;font-synthesis:none;font-size:13px;--green:#385d48;--light:#f5f5ef;--line:#e4e6dc;--muted:#879187}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:9px 13px;background:#fff;color:inherit;transition:background .15s,transform .15s}button:hover{background:#edf0e5;transform:translateY(-1px)}button:focus-visible{outline:3px solid #cfad65;outline-offset:2px}button.active{background:#e6ecdc;color:#365f3a;border-color:#c2d3b4}button.primary{background:var(--green);color:#fff;border:0}button[hidden],[hidden]{display:none!important}header{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);gap:18px;background:#fafaf5}h1{font-size:24px;letter-spacing:.08em;line-height:1.3;margin:0}.resources{display:flex;gap:30px}.resources>span{display:grid;grid-template-columns:18px auto;align-items:center;column-gap:8px;color:#8f7952}.resources b{font-size:20px;color:#364d3b;font-weight:600}.resources small{grid-column:2;color:#979a8c;font-size:10px}.subtle{background:transparent;font-size:11px}main{display:grid;grid-template-columns:minmax(0,1fr) 340px;height:calc(100dvh - 119px);min-height:530px}#world-wrap{position:relative;overflow:hidden;background:#578f96}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.season{display:flex;align-items:center;gap:12px;background:#fffff1ed;padding:11px 18px;border-radius:11px;box-shadow:0 3px 12px #24413915}.season>span{font-size:29px;color:#b89248}.season b{font-size:14px;font-weight:600}.season small{display:block;color:#8a917c;font-size:10px;margin-top:3px}.speed-controls{pointer-events:auto;background:#fffff1ed;border-radius:10px;display:flex;align-items:center;padding:5px;align-self:flex-start;gap:3px;box-shadow:0 3px 12px #24413915}.speed-controls button{border:0;background:transparent;padding:9px 12px}.speed-controls button.active{background:#415f44;color:#fff}.camera-controls{position:absolute;right:19px;bottom:178px;display:flex;flex-direction:column;gap:5px}.camera-controls button{width:35px;height:35px;padding:0;background:#fffff1e8;font-size:20px}.bottom-dock{position:absolute;bottom:40px;left:50%;transform:translate(-50%);max-width:calc(100% - 30px);text-align:center}#tool-details{display:inline-block;background:#243e35d9;color:#eef1df;font-size:11px;border-radius:6px;padding:7px 15px;margin-bottom:10px;white-space:nowrap}#tools{display:flex;gap:3px;padding:8px;background:#fffff5f5;border:1px solid #fff7;border-radius:14px;box-shadow:0 8px 30px #153e3426}#tools button{border:0;background:transparent;padding:7px 8px;min-width:52px;white-space:nowrap;font-size:10px}#tools button span{display:block;font-family:serif;font-size:26px;line-height:30px;margin-bottom:4px;color:#667950}#tools button.active{background:#e0e8d3}#tools button.active span{color:#36563c}#tools i{height:45px;align-self:center;margin:0 5px;border-left:1px solid #dfe4d3}#toast{position:absolute;top:140px;left:50%;transform:translate(-50%);background:#fffdf1;color:#49604c;border:1px solid #e5e3d2;padding:12px 20px;border-radius:9px;box-shadow:0 5px 20px #173b3730;opacity:0;transition:opacity .2s;pointer-events:none;font-size:12px;max-width:90%}#toast.show{opacity:1}#toast.has-actions{pointer-events:auto;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:7px}#toast .toast-action{padding:5px 9px;font-size:11px;color:#365d43;border-color:#d7dec8;background:#f7f6e9}#toast .toast-action:hover{background:#e8eedb}aside{background:#fafaf5;overflow-y:auto;scrollbar-width:thin;border-left:1px solid var(--line)}.tabs{display:flex;position:sticky;top:0;z-index:2;background:#fafaf5;border-bottom:1px solid var(--line);padding:8px 18px 0;gap:20px}.tabs button{background:none;border:0;border-radius:0;color:#949b8e;font-size:12px;padding:14px 5px}.tabs button.active{border-bottom:2px solid #546e44;color:#394f39;font-weight:700}#event-dot{color:#b49664;margin-left:4px}.profile{text-align:center;padding:25px 18px 18px}.portrait{width:79px;height:79px;border:1px solid #e5e4d7;border-radius:50%;overflow:hidden;margin:0 auto 12px;background:#f4f0e4}.portrait img{width:100%;height:100%;object-fit:cover}.eyebrow{font-size:9px;letter-spacing:.12em;color:#9b9c87}h2{font-size:24px;margin:7px 0;letter-spacing:.06em}.profile p{font-size:10px;margin:7px;color:#8b927e}.thought{margin:0 22px 20px;background:#eef0e6;border-radius:10px;padding:15px 17px;position:relative}.thought:before{content:"";position:absolute;top:-7px;left:calc(50% - 7px);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #eef0e6}.thought>span{font-size:9px;color:#869079}.thought p{font-size:13px;line-height:1.85;margin:8px 0;color:#435b41}.thought small{font-size:9px;color:#89917d}#needs{margin:0 24px 22px;display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.need-row{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:10px;color:#858f7c}.need-row b{font-weight:500;color:#607652}.need-track{grid-column:1/-1;height:4px;background:#e6e9dd;border-radius:4px;overflow:hidden}.need-track i{display:block;height:100%;background:#94aa75;border-radius:4px}.need-track i.low{background:#c68c70}.section-title{margin:18px 24px 11px;font-size:11px;font-weight:700;letter-spacing:.04em}.section-title>span{display:block;font-size:9px;color:#a2a696;font-weight:400;margin-top:4px}.habit{margin:0 24px;color:#929783;font-size:11px;line-height:1.8}.relationship{display:flex;align-items:center;gap:9px;margin:7px 24px;padding:9px 0;border-bottom:1px solid #eceee3}.relationship .heart{color:#b79275;font-size:18px}.relationship b{font-size:11px;font-weight:500}.relationship small{display:block;font-size:9px;color:#9b9e8f;margin-top:3px}.relationship>span:last-child{margin-left:auto;color:#7f9470;font-size:10px}.memory{margin:8px 24px;font-size:10px;line-height:1.7;color:#89917c;padding-left:11px;border-left:2px solid #dfe4d4}.memory small{font-size:8px;display:block;color:#b0b19f}.resident-actions{display:flex;flex-wrap:wrap;gap:6px;margin:20px 22px}.resident-actions button{font-size:10px;padding:8px 12px;background:#f8f9f0}.filters{display:flex;gap:5px;padding:5px 22px 17px}.filters button{font-size:10px;padding:7px 10px}#events{padding:0 22px}.event{display:block;text-align:left;width:100%;background:none;border:0;border-bottom:1px solid #e5e8dc;border-radius:0;padding:15px 0}.event small{font-size:9px;color:#a1a795}.event p{font-size:11px;margin:7px 0;line-height:1.9}.event.danger p{color:#ab7261}.event>span{font-size:9px;color:#889675}.event em{display:block;font-size:9px;font-style:normal;color:#b09278;line-height:1.7}dialog{border:1px solid #dce2d0;border-radius:18px;background:#fafaf3;color:#3a513e;box-shadow:0 30px 150px #082d3c55;width:620px;max-width:calc(100vw - 30px);padding:36px;text-align:center;max-height:90dvh;overflow:auto}dialog::backdrop{background:#123d404f;backdrop-filter:blur(5px)}.close-dialog{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:22px;color:#a0a58e}dialog h2{font-size:27px;margin:12px 0 18px}dialog>p{font-size:12px;color:#8b9580;line-height:2}.welcome-art{font-size:54px;color:#8b9b65;margin-bottom:8px}.help-grid{display:grid;grid-template-columns:1fr 1fr 1fr;text-align:left;gap:18px;margin:27px 0}.help-grid b{font-size:11px}.help-grid p{font-size:10px;line-height:1.9;color:#969c88}.muted{font-size:10px!important;color:#a9ac98!important}#start{display:block;width:100%;padding:14px;margin-top:23px}#start span{float:right}textarea{display:block;width:100%;height:150px;resize:vertical;border:1px solid #d4ddc9;border-radius:8px;padding:12px;background:#fffefa;font-size:11px;margin:20px 0 10px}.dialog-actions{display:flex;justify-content:center;gap:8px;margin-top:20px}#code-info{font-size:11px;line-height:1.8;color:#99806b;word-break:break-word}#import-confirm{background:#eeeede;padding:15px;border-radius:10px;margin-top:20px}#import-confirm p{font-size:11px;line-height:1.7}@media(min-width:1550px){main{grid-template-columns:minmax(0,1fr) 370px}#tools button{min-width:62px}}@media(max-width:1100px){header{padding:0 18px}.resources{gap:18px}main{grid-template-columns:minmax(0,1fr) 300px}#tools{gap:0;padding:5px}#tools button{min-width:44px;padding:5px;font-size:9px}#tools i{margin:0 2px}.speed-controls button{padding:8px}.season{padding:9px 12px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){header{height:65px;padding:0 12px}h1{font-size:18px}.resources{gap:12px}.resources small{display:none}.resources b{font-size:15px}.resources>span{gap:2px;font-size:11px}#save-open{font-size:9px;padding:7px;max-width:70px}main{height:auto;min-height:0;display:flex;flex-direction:column}#world-wrap{height:65dvh;min-height:480px}aside{max-height:55dvh;border-left:0;border-top:1px solid var(--line)}.season b{font-size:12px}.season>span{font-size:21px}.bottom-dock{bottom:32px;width:calc(100% - 18px);max-width:none}#tools{overflow-x:auto;justify-content:flex-start;gap:4px;border-radius:10px}#tools button{min-width:48px;flex-shrink:0}#tool-details{font-size:9px;white-space:normal;max-width:100%}.camera-controls{bottom:160px;right:12px}.profile{padding-top:18px}.help-grid{gap:10px}dialog{padding:28px 20px}dialog h2{font-size:22px}.dialog-actions{flex-wrap:wrap}.portrait{width:70px;height:70px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){h1{font-size:17px;white-space:nowrap}.resources{gap:8px}header{gap:10px}}.region-heading{position:absolute;top:115px;left:26px;color:#f8f4db;text-shadow:0 2px 9px #2e4f44}.region-heading h2{font-size:22px;margin:6px 0 10px}.region-heading button{font-size:9px;border:1px solid #f8f4db66;background:#304f4059;color:#f8f4db;padding:6px 12px}#regions-panel{position:absolute;top:211px;left:24px;width:310px;max-width:calc(100% - 48px);max-height:calc(100% - 355px);overflow:auto;background:#f9f8efed;border:1px solid #fff8;border-radius:12px;padding:7px;z-index:3;box-shadow:0 10px 30px #193e3940}#regions-panel button{display:block;text-align:left;width:100%;border:0;background:transparent;padding:11px 12px}#regions-panel button:hover{background:#e7eddf}#regions-panel b{display:block;font-size:12px;margin-bottom:5px}#regions-panel small{font-size:10px;line-height:1.7;color:#86947b}.bottom-dock{bottom:40px}#tools button{min-width:48px}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.region-heading{top:100px;left:17px}.region-heading h2{font-size:17px;margin:3px 0 6px}#regions-panel{top:183px;left:15px;max-height:calc(100% - 290px)}#tools button{min-width:48px}}#personal-log{margin:18px 0}#personal-log summary{cursor:pointer;font-weight:700;font-size:13px}#resident-history{max-height:290px;overflow:auto}#personal-log .filters{margin:12px 0}#history-more{margin-top:8px}.collection-actions{display:flex;gap:6px;padding:10px 16px;border-bottom:1px solid var(--line)}.collection-actions button{padding:8px;font-size:11px}.collection-actions b{font-weight:500;color:#997c45}#frailty-status{margin:10px 24px}.quirks{display:flex;gap:5px;flex-wrap:wrap}.quirks span{padding:4px 7px;background:#ece8dc;color:#86714e;border-radius:5px;font-size:10px}.crisis{background:#f6e5d9;padding:10px;border-radius:6px;margin-top:10px;color:#975138}.crisis p{font-size:10px;line-height:1.8}.crisis progress{display:block;width:100%;height:6px;accent-color:#bc684a;margin-top:8px}.memorial{margin-top:10px;line-height:1.8;font-size:11px}.memorial ol{padding-left:18px}#trophy-dialog{width:min(940px,95vw);max-width:95vw;padding:0;text-align:left;max-height:calc(100dvh - 24px);overflow:hidden}#trophy-dialog[open]{display:flex;flex-direction:column}#trophy-dialog .trophy-dialog-bar{display:flex;justify-content:flex-end;align-items:center;flex:0 0 auto;min-height:44px;padding:6px 12px 0;background:#fafaf3;z-index:1}#trophy-dialog .trophy-dialog-bar .close-dialog{position:static;padding:2px 9px;margin:0}#trophy-dialog .trophy-dialog-body{overflow:auto;min-height:0;padding:0 30px 30px;scrollbar-gutter:stable}#trophy-dialog h2{font-size:27px}#trophy-dialog .trophy-dialog-body>p{font-size:12px;color:#879080}#trophy-progress{background:#eae8db;border-radius:12px;padding:16px 20px;display:flex;gap:14px;flex-wrap:wrap;align-items:baseline}#trophy-progress strong{font-size:32px;color:#947447}#trophy-progress small{font-size:14px;font-weight:400}#trophy-progress span{font-size:11px;color:#7d826d}#trophy-progress progress{width:100%;height:6px;accent-color:#a17f48}.trophy-controls{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.trophy-controls label{font-size:10px;color:#838a74;display:grid;gap:5px;flex:1;min-width:120px}.trophy-controls select,.trophy-controls input{width:100%;font:inherit;font-size:12px;padding:9px;border:1px solid #d8ddce;border-radius:6px;background:#fff;color:#4d6149}#trophy-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trophy-card{display:flex;align-items:flex-start;gap:13px;padding:17px;border:1px solid #dddaca;border-radius:9px;background:#fffdf5;min-width:0}.trophy-card>div:last-child{min-width:0;flex:1}.trophy-medal{width:38px;min-width:38px;height:45px;background:#eee9dc;border:1px solid #dad4c5;border-radius:8px 8px 18px 18px;display:grid;place-items:center;font-size:24px;color:#9c9582}.trophy-card.bronze .trophy-medal{color:#75462e;background:#e5bc92;border-color:#bf9570}.trophy-card.silver .trophy-medal{color:#526777;background:#d8e2e8}.trophy-card.gold .trophy-medal{color:#79602a;background:#f6df93}.trophy-card small{display:block;font-size:9px;color:#8e957f}.trophy-card h3{font-size:14px;margin:5px 0}.trophy-card p{font-size:11px;line-height:1.8;margin:7px 0;color:#838b77}.trophy-card span{font-size:10px;color:#a0865d}.trophy-card.locked{background:#f3f3ed;border-style:dashed}.trophy-card.locked h3{color:#87917f}.trophy-card details{font-size:11px;line-height:1.8;margin-top:10px}.trophy-card summary{cursor:pointer;color:#637751}.trophy-card details b{display:block;margin-top:8px}.trophy-card ol{padding-left:17px;overflow-wrap:anywhere}.hazard-options{display:flex;gap:8px;flex-wrap:wrap}#hazard-dialog{text-align:left}.hazard-options button{font-size:12px}#hazard-dialog h3{font-size:13px;margin-top:22px}#hazard-dialog p{line-height:1.9;font-size:12px}@media(max-width:600px){#trophy-dialog{padding:0}#trophy-dialog .trophy-dialog-body{padding:0 16px 20px}#trophy-dialog h2{font-size:22px}#trophy-grid{grid-template-columns:1fr}.trophy-controls{gap:7px}.trophy-controls label{min-width:90px}#trophy-progress{padding:12px}.collection-actions{justify-content:center}.trophy-card{padding:13px}}.reset-section{border-top:1px solid #dddaca;margin-top:24px;padding-top:14px;text-align:left}.reset-section h3{font-size:14px}.reset-section p{font-size:11px;line-height:1.8}.reset-section button{margin:4px 4px 4px 0;font-size:11px}#confirm-reset{background:#975943;color:#fff}#reset-confirm{padding:12px;background:#f5e9df;border-radius:8px;margin-top:10px}#reset-error{color:#934b36}#autonomy{display:block;margin:0 0 5px auto;padding:6px 12px;font-size:11px;background:#fffbed;border:1px solid #d7dec6;border-radius:8px;color:#3e5845}#autonomy[aria-pressed=true]{background:#dbeacb;border-color:#668b54}.bottom-dock{width:calc(100% - 30px);min-width:0}#tools{max-width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}#tools button{flex-shrink:0}#tool-details{max-width:100%;white-space:normal}#tool-header{background:#faf9ee;border-radius:12px 12px 0 0;padding:8px 12px;text-align:left;border-bottom:1px solid #d2d9c5}#tool-current{display:block;font-size:12px;color:#294e38;margin-bottom:6px}#tool-groups{display:flex;gap:5px;flex-wrap:wrap}#tool-groups button{font-size:11px;padding:6px 10px}#tool-groups .active,#tools button.active,.tabs button.active{background:#315b40!important;color:#fff9d8!important;box-shadow:inset 0 0 0 2px #e9c969}#tools{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(76px,1fr));max-height:164px;overflow-y:auto;overflow-x:hidden;padding:8px;gap:5px;border-radius:0 0 12px 12px}#tools button{min-height:58px!important;min-width:0!important;font-size:11px!important;position:relative}#tools button.active:after{content:"✓";position:absolute;right:5px;top:3px;font-size:13px}#tools button[hidden]{display:none!important}#tools i{display:none}.tabs{position:sticky;top:0;z-index:4;background:#fafaf3;padding:8px;gap:6px}.tabs button{border-radius:7px;min-height:40px}#revive-quick{position:absolute;top:100px;right:24px;z-index:5;background:#fff0b7;color:#523d20;border:2px solid #b88a35;font-size:14px;font-weight:700;padding:12px;box-shadow:0 4px 16px #0003}.camera-controls{bottom:300px!important}#autonomy{margin-bottom:4px}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#tools{grid-template-columns:repeat(4,minmax(0,1fr));max-height:126px}#tools button{font-size:10px!important;min-height:54px!important}#tool-header{padding:6px}#tool-groups button{font-size:10px;padding:5px 7px}#revive-quick{right:12px;top:90px;font-size:12px}.camera-controls{bottom:280px!important}}@media(min-width:761px){.camera-controls{bottom:380px!important}}.bottom-dock{bottom:32px;width:min(850px,calc(100% - 24px));max-width:calc(100% - 24px)}#tool-header{padding:6px 10px}.tool-title{display:flex;align-items:center;gap:8px}.tool-title strong{flex:1;margin:0!important;font-size:11px!important}.tool-title button{font-size:11px;padding:5px 9px}#tool-groups{margin-top:5px;flex-wrap:nowrap;overflow-x:auto}#tool-groups button{flex-shrink:0;padding:5px 10px}#tools{max-height:126px;grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}#tools button{min-height:48px!important}#tools button span{font-size:22px;line-height:23px;margin:0}#tool-details{display:none}#autonomy{font-size:11px;padding:5px 10px;margin:0 0 4px;background:#fdfbef}.folded #tools{display:none!important}.folded #tool-header{border-radius:10px}.camera-controls{bottom:166px!important}#development-panel{padding:16px}#development-panel h2{font-size:20px}#development-panel p{font-size:12px;line-height:1.7}.development-card{padding:12px;margin:10px 0;border:1px solid #d4dec8;border-radius:9px;background:#f2f4e9}.development-card b{font-size:13px}.development-card div{display:flex;flex-wrap:wrap;gap:6px}.development-card button{font-size:12px;padding:9px}.tabs{gap:2px;padding:6px}.tabs button{font-size:11px;padding:10px 7px}#forecast{line-height:1.5}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.bottom-dock{width:calc(100% - 16px);max-width:none;bottom:26px}#tool-header{padding:5px 7px}#tool-groups button{font-size:10px;padding:6px 8px}.tool-title{gap:4px}.tool-title button{font-size:10px;padding:6px}#tools{grid-template-columns:repeat(4,minmax(0,1fr));max-height:118px}.camera-controls{bottom:155px!important}#autonomy{font-size:10px}.region-heading h2{font-size:16px}.region-heading{top:98px}}.quest-card{background:#eee8d5;border:1px solid #b8a779;border-radius:10px;padding:12px;margin-bottom:18px}.quest-card button{font-size:11px;padding:8px;margin:3px}.quest-card h2{margin-top:0}#collection-dialog{width:820px;text-align:left}#collection-dialog>h2,#collection-dialog>p{text-align:center}.collection-tabs,.book-filters,.book-paging{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin:14px 0}.collection-tabs .active{background:#315b40;color:#fff6d1}.book-filters label{font-size:12px}.book-filters input,.book-filters select{padding:8px;border:1px solid #c9d4bb;border-radius:6px;background:#fffef6;max-width:100%}#book-count,#island-records-summary{font-size:12px;color:#647354}#book-cards,#milestone-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-card,.milestone-card{border:1px solid #d6ddc9;border-radius:10px;padding:14px;background:#f3f4eb;overflow-wrap:anywhere}.book-card h3,.milestone-card h3{font-size:15px;margin:7px 0}.book-card p,.milestone-card p{font-size:12px;line-height:1.7}.book-card small,.milestone-card small{font-size:10px;color:#7a8269}.book-death{color:#996c57}.book-card summary{font-size:12px;cursor:pointer;padding:10px 0}.book-card h4{font-size:12px}.milestone-card.earned{border-color:#ba9b4d;background:#f5edce}.milestone-card progress{display:block;width:100%;margin:10px 0;accent-color:#6c8953}.collection-actions{flex-wrap:wrap}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#book-cards,#milestone-cards{grid-template-columns:1fr}#collection-dialog{padding:28px 14px}.book-filters{justify-content:flex-start}.collection-tabs button{font-size:12px}}.collection-tabs button{background:#fafbf4!important;color:#31513a!important}.collection-tabs button.active{background:#315b40!important;color:#fff6d1!important}.material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:10px 0}.material-grid span{display:flex;justify-content:space-between;padding:4px 8px;background:#f4eddd;border-radius:4px;color:#384e44;font-size:12px}.town-controls{display:flex;flex-wrap:wrap;gap:5px}.development-card button:disabled{opacity:.5;cursor:not-allowed}#world-alerts{position:absolute;top:155px;right:16px;display:flex;flex-direction:column;gap:6px;max-width:260px}#world-alerts button{background:#fff1dd;color:#764e36;text-align:left;font-size:11px;box-shadow:0 2px 8px #172e2d33}.town-controls [aria-pressed=true]{background:#385d48;color:#fff}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#forecast{max-width:170px;max-height:30px;overflow:hidden}.season{max-width:205px}.season>span{display:none}#world-alerts{top:125px;max-width:190px;right:8px}#world-alerts button{font-size:10px;padding:6px}}#life-controls,#life-focus,#life-site{padding:12px 16px;border-bottom:1px solid var(--line);background:#f8f8ef;font-size:12px;line-height:1.65}#life-controls:has(#favorite-strip:empty){padding-top:8px;padding-bottom:8px}.life-control-row{display:flex;gap:6px}.life-control-row button{font-size:11px;padding:5px 8px}#favorite-strip{display:flex;gap:5px;overflow-x:auto;margin-bottom:7px}#favorite-strip:empty{display:none}#favorite-strip button{min-width:82px;max-width:115px;padding:7px;text-align:left;flex-shrink:0;font-size:11px}#favorite-strip small{display:block;font-size:9px;line-height:1.4;white-space:normal}.actor-dot{display:inline-flex;justify-content:center;align-items:center;width:19px;height:19px;margin-right:4px;border-radius:50%;background:var(--actor-color);color:#fff;font-size:11px;vertical-align:middle}.life-scene-title{display:flex;align-items:center;gap:8px}.life-scene-title small{color:#7d8571}.life-scene-title button{margin-left:auto;padding:0 6px;border:0;background:none}.scene-actors{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.scene-actors button{padding:3px 5px;font-size:10px}#life-focus ol{padding-left:19px;margin:9px 0 5px}#life-focus li{margin:4px 0;font-size:11px}#life-focus summary{cursor:pointer;font-size:11px;color:#687558}.moment-link{display:block;width:100%;text-align:left;margin:4px 0;padding:6px;font-size:10px}.life-intro{margin:0;color:#6d775f;font-size:11px}#life-site p{margin:5px 0}.life-control-row #life-sound{margin-left:auto}#life-next{display:flex;gap:5px;margin-bottom:12px}#life-next button{font-size:11px;padding:6px 9px}#resident-chooser{position:absolute;z-index:12;max-height:200px;overflow:auto;width:210px;background:#fffdf1;border:1px solid #849478;border-radius:10px;padding:8px;box-shadow:0 5px 18px #25362d55}#resident-chooser small{display:block;margin:3px}#resident-chooser button{display:block;width:100%;text-align:left;font-size:11px;margin:3px 0;padding:5px}.profile{padding:16px 15px 12px}.portrait{width:60px;height:60px;margin:0 auto 9px}.profile h2{font-size:23px;margin:6px 0}.profile p{margin:4px}.thought{margin-top:8px}#thought-text{white-space:pre-line}.bottom-dock #tool-details{display:block;background:#faf8e9;padding:5px 12px;font-size:10px;line-height:1.5;border-radius:8px 8px 0 0;max-height:44px;overflow:auto}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#life-controls,#life-focus,#life-site{padding:9px 12px}.scene-actors button{min-height:30px}.profile{padding:10px}.portrait{width:45px;height:45px}.bottom-dock #tool-details{font-size:9px;max-height:38px}#favorite-strip button{min-width:92px}}.bottom-dock #tool-details{color:#365341}#life-next{display:block;padding:10px 16px;margin:0;border-bottom:1px solid var(--line);background:#edf2e5}#local-objective{font-size:11px;line-height:1.7;margin:0 0 6px}#life-next-actions{display:flex;gap:5px}#welcome{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;text-align:left;overflow:auto;background:#173c3d;color:#fff7dc;isolation:isolate}#welcome::backdrop{background:#173c3d;backdrop-filter:none}#welcome .close-dialog{z-index:3;right:24px;top:18px;color:#f8edcf;border:1px solid #f3ebd055;width:36px;height:36px;padding:0;border-radius:0;background:#183a3866}#title-world{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;image-rendering:pixelated}.title-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#102b32f5,#102b32df 28%,#102b3250 60%,#102b3210),linear-gradient(0deg,#102b32 0%,#102b32c9 17%,transparent 55%,#102b3277 100%)}.title-shell{position:relative;max-width:1600px;min-height:100%;margin:auto;padding:30px clamp(28px,5.5vw,88px) 18px;display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:auto 1fr auto auto;column-gap:36px;row-gap:24px}.title-topline,.title-bottom{grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:.16em;color:#ddd9b9}.title-topline{padding-right:40px}.title-topline span:last-child{font-size:11px;color:#e2e5cc}.title-main{padding:clamp(20px,4vh,48px) 0 12px;align-self:center;z-index:1}.title-kicker{color:#f4d591;font-size:14px;letter-spacing:.18em;margin:0 0 18px}.title-main h2{font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:clamp(64px,7vw,108px);font-weight:900;letter-spacing:-.06em;line-height:1.1;margin:0;color:#fff3ce;white-space:nowrap;text-shadow:0 4px 0 #50644e,0 8px 0 #17332e,0 12px 35px #081f28}.title-main h2 span{color:#f3ce78;display:inline-block;transform:rotate(-7deg);margin-left:6px}.title-roman{font-size:11px;color:#d2c68d;letter-spacing:.19em;margin:17px 0 30px;padding-left:4px}.title-roman{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.title-version{padding:2px 8px;border:1px solid #d2c68d88;border-radius:999px;letter-spacing:.08em;white-space:nowrap}.title-copy{font-size:clamp(20px,2.1vw,30px);letter-spacing:.08em;line-height:1.65;margin:0 0 18px}.title-copy strong{font-weight:700;color:#ffdc94}.title-lead{font-size:14px;line-height:1.9;color:#e1e5d7;margin:0;text-shadow:0 2px 4px #102b32}#welcome #start{display:flex;justify-content:space-between;align-items:center;width:min(365px,100%);padding:17px 23px;margin:26px 0 0;background:linear-gradient(#ffe8ac,#eecb79);border:1px solid #fff2c7;border-radius:3px;box-shadow:0 4px #96723e,0 10px 26px #081d2955;color:#273d36;font-size:14px;font-weight:700;letter-spacing:.06em}#welcome #start:hover{background:#fff0bd;transform:translateY(-2px)}#welcome #start span{float:none}#welcome #start b{font-size:12px}#start-detail{display:block;color:#c8d2c0;font-size:12px;line-height:1.8;margin:12px 0 0}.title-warning{max-width:365px;margin:12px 0 0;padding:10px 12px;border-left:3px solid #f0bd6f;background:#372e2466;color:#fff0cd;font-size:13px;line-height:1.7}.title-how-link{display:inline-block;padding:10px 0;color:#efe2b7;text-decoration:none;font-size:13px}.title-how-link:hover{text-decoration:underline}.title-how-link span{margin-left:20px}.title-cast{align-self:end;justify-self:center;text-align:center;position:relative;margin-bottom:15px;filter:drop-shadow(0 6px 8px #142d3255);opacity:0;transition:opacity .5s}.title-cast.ready{opacity:1}.title-cast-caption{text-align:left;color:#fff4d9;font-weight:700;font-size:20px;line-height:1.65;letter-spacing:.09em;text-shadow:0 2px 5px #102b32;transform:rotate(-5deg);margin:0 0 -12px 4px}.title-actors{display:flex;align-items:end;justify-content:center;gap:0;height:220px}.title-actors img{image-rendering:auto;object-fit:contain;object-position:bottom;width:210px;height:210px}.title-actors #title-chibi{width:125px;height:145px;margin-left:-18px;margin-bottom:-8px;image-rendering:auto}.title-actors img:not([src]){visibility:hidden}.title-cast>p{font-size:12px;letter-spacing:.15em;color:#fff5d7;text-shadow:0 2px 4px #16322f}.title-guide{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;border-top:1px solid #e7d5a85c;padding-top:22px;scroll-margin:20px}.title-guide>div{position:relative;padding-left:34px}.title-number{position:absolute;left:0;top:3px;font-family:serif;font-size:14px;color:#e1c88e}.title-guide h3{font-size:17px;font-weight:600;letter-spacing:.04em;margin:0 0 10px;color:#ffedc3}.title-guide p{font-size:13px;line-height:1.8;color:#d1dbd1;margin:0;max-width:370px}.title-bottom{font-size:11px;color:#b5c5bb;border-top:1px solid #bed1bf29;padding-top:14px;letter-spacing:.08em}@media(min-width:1600px){.title-main{padding-top:70px;padding-bottom:60px}}@media(max-width:800px){.title-shell{padding:24px;gap:20px;grid-template-columns:1fr}.title-topline{font-size:11px;letter-spacing:.05em}.title-topline span:last-child{display:none}.title-main{padding-top:22px;padding-bottom:0}.title-main h2{font-size:clamp(59px,14vw,92px)}.title-kicker{font-size:13px;letter-spacing:.09em}.title-roman{margin-bottom:25px;font-size:10px}.title-copy{font-size:22px}.title-lead{font-size:13px;max-width:450px}.title-lead br{display:none}.title-shade{background:linear-gradient(90deg,#102b32e8,#102b3266),linear-gradient(0deg,#102b32 5%,#102b32b0 50%,#102b3210)}.title-cast{position:absolute;right:18px;top:170px;margin:0;opacity:.6;z-index:-1}.title-cast-caption,.title-cast>p{display:none}.title-actors{height:175px}.title-actors img{width:125px;height:170px}.title-actors #title-chibi{width:85px;height:110px}.title-guide{gap:17px;grid-template-columns:1fr;padding-top:20px}.title-guide h3{font-size:14px;margin-bottom:5px}.title-guide p{max-width:none;font-size:13px}.title-bottom{font-size:10px;gap:8px}.title-topline{grid-column:1}.title-menu{max-width:365px}#welcome #start{margin-top:22px}}.title-move-note{max-width:365px;margin:10px 0 0;padding:8px 10px;border-left:3px solid #9fc4a0;background:#1f4a4466;color:#dcebd9;font-size:12px;line-height:1.6}.title-move-note[hidden]{display:none}@media(orientation:landscape)and (max-height:500px){dialog#welcome .title-shell{grid-template-columns:minmax(0,1fr) minmax(0,.5fr);grid-template-rows:1fr auto auto;column-gap:16px;row-gap:8px;padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}dialog#welcome .title-topline,dialog#welcome .title-roman,dialog#welcome .title-lead,dialog#welcome .title-copy br,dialog#welcome .title-cast-caption,dialog#welcome .title-cast>p{display:none}dialog#welcome .title-main{padding:0;align-self:center}dialog#welcome .title-kicker{font-size:12px;letter-spacing:.1em;margin:0 0 2px}dialog#welcome .title-main h2{font-size:clamp(40px,15vh,64px);line-height:1}dialog#welcome .title-copy{font-size:15px;line-height:1.4;letter-spacing:.04em;margin:4px 0 8px}dialog#welcome .title-menu{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:6px 8px;max-width:520px;align-items:stretch}dialog#welcome .title-menu>*{margin:0}dialog#welcome .title-menu #start{width:100%;margin:0;min-height:52px;padding:10px 16px;font-size:14px}dialog#welcome .title-menu #start{grid-area:1/1;height:56px;min-height:56px;box-sizing:border-box}dialog#welcome .title-menu #title-load{grid-area:1/2;margin:0;height:56px;min-height:56px;box-sizing:border-box;font-size:13px}dialog#welcome .title-menu .title-warning,dialog#welcome .title-menu #orientation-hint,dialog#welcome .title-menu #start-detail,dialog#welcome .title-menu .title-move-note{grid-column:1/-1;max-width:none}dialog#welcome .title-menu #start-detail{font-size:12px;line-height:1.5}dialog#welcome .title-menu .title-move-note{padding:5px 8px;font-size:12px;line-height:1.45}dialog#welcome .title-menu .title-how-link{grid-column:1/-1;padding:0;min-height:44px;display:flex;align-items:center}dialog#welcome .title-cast{grid-row:1;grid-column:2;align-self:center;margin:0;top:auto;right:auto;opacity:0;position:relative;z-index:0}dialog#welcome .title-cast.ready{opacity:1}dialog#welcome .title-actors{height:min(46vh,170px)}dialog#welcome .title-actors img{width:min(30vh,120px);height:min(46vh,165px)}dialog#welcome .title-actors #title-chibi{width:min(20vh,80px);height:min(30vh,105px)}dialog#welcome .title-guide{grid-column:1/-1}}@media(orientation:landscape)and (max-height:350px){dialog#welcome .title-kicker{display:none}}@media(prefers-reduced-motion:reduce){#welcome button{transition:none}}#first-care{margin:10px 14px;padding:12px;border:1px solid #cfbc85;border-radius:12px;background:#f4efd9;font-size:12px;line-height:1.6}#first-care[hidden],#placement-advice[hidden]{display:none}#first-care p{margin:6px 0}#first-care button{font-size:11px;margin:3px;padding:7px 10px}#first-care [data-first-dismiss]{float:right;padding:0 6px}#placement-advice{background:#fffbed;border:1px solid #b7bf96;border-radius:8px;padding:8px 12px;font-size:12px;line-height:1.5;max-height:180px;overflow:auto}#placement-advice p{margin:3px 0}#placement-advice button{margin:5px 4px 0 0;padding:8px 12px}#placement-advice summary{cursor:pointer}#world-alerts button small{display:block;font-size:10px;max-width:250px;line-height:1.4}#world-alerts button b{font-size:11px}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#first-care{margin:8px 10px;padding:9px;font-size:11px}#placement-advice{font-size:11px;max-height:170px}#world-alerts button small{max-width:180px;font-size:9px}}#hover-info{position:absolute;z-index:18;pointer-events:none;width:max-content;min-width:120px;max-width:min(270px,calc(100% - 16px));word-break:auto-phrase;padding:11px 14px;border:1px solid #b9bd9d;border-radius:10px;background:#fffff3f5;color:#293f35;box-shadow:0 3px 14px #183b3426;font-size:12px;line-height:1.6}#hover-info p{white-space:pre-line;margin:4px 0 0}#hover-info.hover-resident{min-width:210px}#hover-info .hover-head{display:flex;align-items:center;justify-content:space-between;gap:10px}#hover-info .hover-feeling{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;color:#5b4a3a;white-space:nowrap}#hover-info .hover-feeling img{width:26px;height:26px;margin:-4px 0}#hover-info .hover-alert{display:flex;flex-wrap:wrap;gap:2px 10px;margin:6px -4px 0;padding:3px 7px;border-radius:6px;background:#fbe1d8;color:#a32e25;font-weight:700}#hover-info .hover-alert span{display:inline-flex;align-items:center;gap:4px}#hover-info .hover-alert img{width:18px;height:18px}#hover-info .hover-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:7px}#hover-info .hover-gauge{display:flex;align-items:center;gap:4px;min-width:0}#hover-info .hover-gauge img{width:18px;height:18px;flex:none}#hover-info .hover-heart{width:18px;flex:none;font-style:normal;font-size:16px;line-height:1;text-align:center;color:#c0564a}#hover-info .hover-gauge-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}#hover-info .hover-bar{flex:1;height:8px;border-radius:4px;background:#e4dcc6;box-shadow:inset 0 0 0 1px #5a40261f;overflow:hidden}#hover-info .hover-bar span{display:block;height:100%;border-radius:4px;background:#6f9a5e}#hover-info .hover-gauge.low .hover-bar{background:#f3d3ca}#hover-info .hover-gauge.low .hover-bar span{background:#c9513e}#hover-info .hover-gauge.low .hover-heart{color:#c9513e}#app #hover-info.hover-danger{border-color:#c9513e!important}#guide-panel{padding:20px;line-height:1.8}#guide-panel h2{font-size:20px}#guide-panel h3{font-size:15px;margin:22px 0 5px}#guide-panel p{font-size:13px}.guide-actions{display:flex;flex-wrap:wrap;gap:6px}.guide-actions button,#view-settings button,#sandbox-controls button{padding:8px 10px;margin:3px 0}#resident-panel>.profile{padding:18px 20px 12px}#resident-panel .portrait{width:64px;height:64px}#resident-panel .profile h2{font-size:24px;margin:8px 0}#resident-panel>details{margin:10px 16px;padding:12px;border:1px solid #e3e4d4;border-radius:9px}#resident-panel>details>summary{cursor:pointer;font-weight:600}#resident-panel #life-controls{padding:10px 16px}#resident-panel #life-focus{padding:8px 0}#survival-status{font-size:12px;color:#576850}#resident-context{white-space:pre-line;font-size:12px;line-height:1.8}#town-context #autonomy{margin:8px 16px}#town-context #first-care{margin:12px 16px}#journal-panel .collection-actions{padding:12px;position:static}.tabs{display:grid;grid-template-columns:repeat(4,1fr)}.tabs button{min-width:0;padding:12px 3px;font-size:12px}@media(max-width:700px){#hover-info{font-size:11px;max-width:min(230px,calc(100% - 16px))}.region-heading{pointer-events:none}.region-heading button{pointer-events:auto}}.camera-controls #hover-toggle{width:auto;min-width:44px;padding:7px 9px;font-size:11px;white-space:nowrap}#hover-toggle[aria-pressed=false]{opacity:.7}#guidance-status{padding:10px 12px;border-left:3px solid #91a87d;background:#f0f3e8;border-radius:8px;font-size:12px;line-height:1.7}.construction-controls p{line-height:1.6}#autonomous-projects article+article{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}#force-reset-confirm{padding:12px;background:#f5e9df;border:1px solid #b36b56;border-radius:8px;margin-top:10px}#confirm-force-reset{background:#863e32;color:#fff}#force-reset-error,#force-reset-status{color:#863e32}.grab-hint{position:fixed;z-index:20;pointer-events:none;color:#fff9ce;text-shadow:0 1px 3px #20382c;font:700 15px sans-serif;white-space:nowrap;background:#20382cbd;border:1px solid #fff4b7;border-radius:20px;padding:3px 9px}.grab-hint.will-throw{font-size:40px;color:#ffe38b;background:transparent;border:0;padding:0}.grab-hint[hidden]{display:none}#welcome #title-load{display:block;width:min(365px,100%);margin-top:12px;background:#fffff0e8;color:#294737;border-color:#d5dec8}.speed-controls{position:relative}#speed-performance{position:absolute;right:0;top:100%;white-space:nowrap;background:#fff9e9ed;color:#76542e;padding:3px 7px;border-radius:5px;font-size:10px;pointer-events:auto}.save-checkpoint{font-size:12px;text-align:center;color:#58765a;margin:8px 0}#guide-panel .manual-intro{display:block;height:auto;padding:0;margin:0;background:none;border:0;color:inherit}.manual-intro>span{font-size:11px;letter-spacing:.12em;color:#687b56}#guide-panel .manual-intro h2{margin:8px 0 12px;font-size:23px}#guide-panel .manual-tip{padding:12px;background:#ecefdf;border-radius:8px;font-size:12px}.manual-chapters>details{margin:10px 0;border:1px solid #d5ddc8;border-radius:9px;background:#fffef8;padding:0 14px}.manual-chapters summary{cursor:pointer;padding:14px 0;font-size:14px;font-weight:600;line-height:1.7}.manual-chapters summary:focus-visible{outline:2px solid #587846;outline-offset:3px}.manual-chapters dl{font-size:13px;line-height:1.8}.manual-chapters dt{font-weight:600;margin-top:12px}.manual-chapters dd{margin:4px 0 14px}.manual-chapters .guide-actions{padding-bottom:14px}[data-tool].stage-locked{opacity:.55;filter:grayscale(.7);position:relative}[data-tool].stage-locked:after{content:attr(data-stage-need) "で";position:absolute;right:4px;top:4px;font-size:9px;line-height:1;padding:2px 4px;border-radius:6px;background:#4a3420cc;color:#fbf1dc;letter-spacing:0}.stage-progress{font-size:12px;color:#5b6a4c;margin:2px 0 6px}#world-highlights{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.world-signal{position:absolute;left:0;top:0;--signal:#4f7d3a;--signal-size:48px;transition:opacity .15s ease-out}.world-signal.enter,.world-signal.leave{opacity:0}.world-signal[data-kind=danger]{--signal:#d14b3f}.world-signal[data-kind=rescue]{--signal:#3f7fb5}.world-signal[data-kind=notice]{--signal:#b88a3e}.signal-ring{position:absolute;width:var(--signal-size);height:calc(var(--signal-size) * .26);left:calc(var(--signal-size) * -.5);top:calc(var(--signal-size) * .2);border:2px solid var(--signal);border-top-color:transparent;border-radius:50%;box-shadow:0 1px 1px #4a342066;opacity:.9}#app .signal-label{position:absolute;transform:translate(-50%,-100%);display:inline-flex;align-items:center;gap:4px;width:max-content;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1.5px solid var(--signal);border-radius:9px;background:#fbf1dcf2;color:#4a3420;font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;font-weight:700;font-size:12px;line-height:1.3;padding:3px 8px 3px 5px;box-shadow:0 1px 3px #4a342059;pointer-events:auto;transition:opacity .15s}#app .signal-label:hover{transform:translate(-50%,-100%);background:#fff7e6;border-color:var(--signal);filter:none}.signal-mark,.signal-watch{width:16px;height:16px;object-fit:contain;flex:none;image-rendering:auto}.signal-watch{width:13px;height:13px;margin-left:1px;opacity:.9}.offscreen .signal-ring{display:none}#app .offscreen .signal-label{border-style:dashed}.cargo-controls{margin-top:8px;padding-top:7px;border-top:1px dashed #d3ddcb}.cargo-controls p{font-size:11px;line-height:1.6;margin:0 0 7px}.cargo-controls button{font-size:10px;padding:6px;margin-right:4px}.cargo-controls small{display:block;font-size:9px;color:#956142;margin-top:4px}#selected-cargo{padding:0 22px 14px}#player-cargo{display:flex;align-items:center;gap:9px;text-align:left;padding:9px 12px;margin-bottom:5px;border:2px solid #b0a375;background:#fff8dd;border-radius:8px;font-size:11px;flex-wrap:wrap}#player-cargo span{flex:1}#player-cargo button{font-size:11px;padding:6px 9px}#world-wrap:has(#player-cargo:not([hidden])) .camera-controls{bottom:215px!important}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app .signal-label{font-size:11px;max-width:170px;padding:3px 7px 3px 4px}.signal-mark{width:15px;height:15px}#player-cargo{font-size:10px;padding:6px;gap:5px}}.camera-controls,.bottom-dock{z-index:5}#highlight-overflow{position:absolute;pointer-events:auto;font-size:11px;padding:6px 10px;height:32px;max-width:166px;background:#fff8e5;color:#624c32;border:1px solid #b4a47d;box-shadow:0 2px 4px #082d3c55}#app .world-signal[data-kind=notice] .signal-label{font-weight:600;opacity:.92}#hud-danger[data-level=notice]{color:#6b5634;background:#f6efdc}#app .world-signal.mark-only .signal-label{background:none;border:0;box-shadow:none;border-radius:22px;padding:0 0 11px;min-width:44px;min-height:44px;max-width:none;display:flex;align-items:flex-end;justify-content:center;overflow:visible;transform:translate(-50%,calc(-100% + 11px))}#app .world-signal.mark-only .signal-label:hover{transform:translate(-50%,calc(-100% + 11px))}#app .world-signal.mark-only .signal-label:hover{background:#fbf1dc55}.world-signal.mark-only .signal-text,.world-signal.mark-only .signal-watch{display:none}.world-signal.mark-only .signal-mark{width:22px;height:22px;filter:drop-shadow(0 0 1.5px #fbf1dc) drop-shadow(0 0 1.5px #fbf1dc) drop-shadow(0 1px 2px #4a342066)}.world-signal[data-kind=goal]{--signal:#6b4426}.subject-destination{display:flex;align-items:center;gap:6px;width:100%;min-height:32px;margin:4px 0 6px;padding:4px 8px;text-align:left;font-size:12px;line-height:1.3;border:1px solid #c9b27f;border-radius:8px;background:#fff8e5;color:#4a3420}.subject-destination img{width:18px;height:18px;flex:none}.subject-destination .destination-why{display:inline-block;font-style:normal}.subject-destination .destination-prefix{font-weight:inherit}.subject-destination span{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25}#workspace-nav{display:flex;gap:5px}#workspace-nav button{font-size:12px;padding:6px 10px}#workspace{position:absolute;top:72px;right:14px;width:600px;height:560px;z-index:45;background:#fafaf2;border:1px solid #bac8b2;border-radius:12px;box-shadow:0 14px 50px #19322240;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}#desk-lanes{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}#desk-lanes>.desk-lane{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.desk-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:20px;font-size:14px;line-height:1.7;scrollbar-width:thin}.desk-body p{margin:5px 0 12px}.desk-body button{font-size:12px;padding:7px 10px;margin:2px}.desk-body h2{font-size:18px;margin:20px 0 10px}.desk-body details{padding:10px 0}.desk-body summary{cursor:pointer;font-weight:600}#desk-lanes>.desk-inspector{position:static;inset:auto;display:block;flex:1;min-width:0;max-width:none;width:auto;height:auto;max-height:none;overflow:auto;border:0;border-radius:0;background:transparent;box-shadow:none;padding:20px;overscroll-behavior:contain}#workspace .tabs,#workspace #details-close{display:none}#workspace #town-context,#workspace #development-panel{padding:0}#workspace #development-panel{display:block}#workspace #development-panel>*,#workspace #town-context>*{margin:0 0 16px}#workspace .quest-card{padding:16px}#workspace #journal-panel,#workspace #guide-panel{max-width:1100px;margin:auto}#workspace #events,#workspace #resident-history{max-height:none;overflow:visible}.desk-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.desk-table caption{text-align:left;padding:0 0 16px;color:#5c725a}.desk-table th,.desk-table td{padding:12px;border-bottom:1px solid #d5ddcb;vertical-align:top}.desk-table thead th{position:sticky;top:-20px;background:#edf1e5;z-index:1}.desk-table small{display:block;margin-top:4px;color:#5c725a}.desk-table td:last-child{min-width:180px}.desk-filters{display:flex;gap:8px;padding:10px 20px}.desk-filters input{flex:1;min-width:0}.desk-filters input,.desk-filters select{font:inherit;border:1px solid #c2ceb8;border-radius:6px;padding:8px;background:#fffef7}.town-sections{display:flex;gap:6px;padding:10px 20px;flex-wrap:wrap}.town-sections button{font-size:12px;padding:7px 10px}.activity-row{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #d9e0d0}.activity-row>div:first-child{flex:1}.activity-row p,.desk-pre{white-space:pre-line}.subject-panel{width:378px;left:334px;bottom:78px;max-height:calc(100dvh - 140px);display:flex;flex-direction:column;overflow:hidden}.subject-panel .hud-heading{flex-shrink:0}.subject-panel .hud-heading>div{display:flex;gap:5px}.subject-tabs{display:flex;gap:4px;padding:0 12px 9px;border-bottom:1px solid #d9e0d0;flex-shrink:0}.subject-tabs button{padding:5px 8px;font-size:12px;flex:1;white-space:nowrap}.subject-body{padding:10px 14px;min-height:0;overflow-y:auto;overscroll-behavior:contain;font-size:13px;line-height:1.6;scrollbar-width:thin}.subject-body p{margin:4px 0 9px}.subject-body h3{font-size:14px;margin:14px 0 7px}.subject-body button{font-size:12px;padding:6px 8px}.subject-body progress{width:100%;height:7px;accent-color:#467653}.subject-panel[data-section=memory] .subject-body,.subject-panel[data-section=history] .subject-body{height:300px}.subject-reason{font-weight:600;color:#355842}.subject-vitals{display:flex;gap:18px;font-size:12px;margin-bottom:8px}.subject-vitals b{margin-left:4px}.subject-intent{font-size:12px;color:#65765d}.subject-actions{display:flex;flex-wrap:wrap;gap:5px;padding:0 14px 10px}.subject-body .subject-actions{padding:0}.subject-actions button{font-size:12px;padding:7px 9px}.primary-actions{flex-shrink:0;border-top:1px solid #d9e0d0;padding-top:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.primary-actions button{padding:7px 3px;font-size:12px;white-space:nowrap}.subject-body .cargo-controls{margin:5px 0;padding:0;border:0;background:none}.subject-body .cargo-controls p{margin:4px 0}.subject-body .cargo-controls small{font-size:11px;display:block}.subject-body .cargo-controls button{font-size:12px;padding:5px 7px;margin:2px}.subject-panel [data-subject-act=ignite],.subject-panel [data-subject-act=hit]{color:#89503a}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#workspace{width:calc(100vw - 16px)}.desk-body{padding:12px}.desk-table{font-size:12px}.desk-table th,.desk-table td{padding:8px}.desk-table thead{display:none}.desk-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #c7d2bd;padding:8px 0}.desk-table th,.desk-table td{border:0}.desk-table td:last-child{grid-column:1/-1}.desk-filters{padding:8px}.desk-filters select{max-width:130px}.subject-panel{width:min(378px,calc(100vw - 16px));left:8px;bottom:66px;max-height:52dvh}.subject-panel[data-section=memory] .subject-body,.subject-panel[data-section=history] .subject-body{height:220px}.subject-body{padding:8px 12px}.primary-actions button{padding:7px 2px}.activity-row{display:block}.town-sections{padding:8px;gap:4px}.town-sections button{font-size:11px;padding:6px}#workspace-nav button{font-size:11px;padding:5px 7px}}.subject-panel:not([data-section=now]){max-height:min(450px,52dvh)}.subject-window{box-sizing:border-box;min-width:0;min-height:0}.observation-layout #subject-panel{z-index:50}.subject-window .hud-heading{cursor:default;touch-action:none;user-select:none}.subject-window .subject-body{flex:1;min-height:0;height:auto!important}.subject-window[data-section=memory] .subject-body,.subject-window[data-section=history] .subject-body{height:auto}.subject-window .subject-tabs{overflow-x:auto}.subject-window .subject-tabs button{min-width:68px}.observation-layout.management-open #workspace{z-index:55}.shortcut-settings{border-top:1px solid #d5ddcb;margin-top:14px;padding-top:8px}.shortcut-settings h3{margin:3px 0}.shortcut-settings p{line-height:1.5}.shortcut-presets{display:flex;gap:4px;flex-wrap:wrap}.shortcut-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 48px;gap:4px;align-items:center;margin:5px 0;font-size:12px}.shortcut-row button{min-width:0;padding:5px 2px}.shortcut-status{min-height:1.5em;color:#6b4a2b}#workspace{container-type:inline-size;container-name:management}.desk-window-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;flex-shrink:0;background:#e9efdf;border-bottom:1px solid #c8d2bd;cursor:grab;touch-action:none;user-select:none}.desk-window-heading strong{font-size:14px}.desk-window-heading>div{display:flex;gap:5px}.desk-window-heading button{font-size:11px;padding:5px 9px}#workspace .desk-body,#workspace .desk-inspector{padding:12px 14px 22px}#workspace .desk-table{font-size:13px}#workspace .desk-table td,#workspace .desk-table th{padding:8px}#workspace .desk-table thead th{top:-12px}#workspace .desk-table td:last-child{min-width:126px}#workspace .desk-table button{font-size:11px;padding:6px 7px}#workspace .town-sections{padding:8px;gap:4px}#workspace .town-sections button{padding:6px;font-size:11px}#workspace #journal-panel .collection-actions{padding:0 8px;gap:4px}#workspace .collection-actions button{font-size:11px;padding:6px}#workspace .filters{padding:8px;gap:4px;flex-wrap:wrap}#workspace #events{padding:0 8px}#workspace #journal-new{margin-left:8px}[data-window-resize]{position:absolute;right:0;bottom:0;width:25px;height:25px;padding:0;border-radius:8px 0 0;cursor:ew-resize;touch-action:none;z-index:5;background:#e9efdf;font-size:18px}@container management (max-width:480px){.desk-table thead{display:none}.desk-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #c7d2bd;padding:5px 0}.desk-table th,.desk-table td{border:0}.desk-table td:last-child{grid-column:1/-1}.activity-row{display:block}}[data-window-resize=left]{left:0;right:auto;border-radius:0 8px 0 0;cursor:nesw-resize}.subject-body .resident-reference{display:inline;padding:0 2px;border:0;border-bottom:1px dotted currentColor;border-radius:2px;background:transparent;color:#376a55;font:inherit;font-weight:700;cursor:pointer}.subject-body .resident-reference:hover,.subject-body .resident-reference:focus-visible{background:#e0ebd5;outline:2px solid #7b985b;outline-offset:2px}.attention-heading h2{margin:0 0 6px}.attention-heading p{font-size:12px;color:#66765c}.attention-row{padding:12px 0;border-bottom:1px solid #d7dfcc}.attention-row b,.attention-row small{display:block}.attention-row b,.attention-label{color:#8b4e2b}.attention-row small{font-size:11px;color:#607658}.attention-row p{font-size:12px;margin:5px 0 8px}.attention-empty{padding:20px 0;color:#536c4c}.activity-navigation{flex-shrink:0;padding:8px 12px;border-bottom:1px solid #d5ddcb}.activity-categories{display:flex;flex-wrap:wrap;gap:4px}.activity-categories button{font-size:12px;padding:6px}.page-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 0;font-size:11px}.page-controls button{font-size:11px;padding:6px;white-space:nowrap}.page-controls button:disabled{opacity:.4;cursor:default}#workspace #journal-more{margin:0}#workspace[data-mode=journal] .desk-inspector{display:flex;flex-direction:column;padding:8px 14px}#workspace #journal-panel{width:100%;min-height:0;flex:1;display:flex;flex-direction:column}#workspace #journal-panel>#events{overflow:auto;min-height:0;flex:1}#workspace #journal-panel>.filters,#workspace #journal-panel>.page-controls,#workspace #journal-panel>.collection-actions{flex-shrink:0}#workspace .desk-body{padding-bottom:46px}.board-ongoing{border-top:1px solid #d5ddcb;margin-top:5px}.board-ongoing summary{padding:8px 0;font-size:11px;cursor:pointer}.observation-layout.management-open #activity-board .board-ongoing{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.observation-layout #board-feed .recent{display:flex}.observation-layout #workspace-nav [data-desk-open=journal]{display:block}.observation-layout #activity-board{max-height:30dvh}.observation-layout #activity-board .board-ongoing{display:none}}.observation-layout[data-management-mode=journal] #activity-board{display:none}.people-navigation{display:flex;gap:6px;padding:8px;border-bottom:1px solid #d5ddcb;flex-shrink:0}.people-navigation button{flex:1;padding:7px;font-size:12px}.people-pages,.facility-pages{flex-shrink:0;padding:0 14px 8px;border-bottom:1px solid #d5ddcb}#workspace .direct-section>summary{display:none}#workspace .direct-section{padding-top:0}#workspace [aria-pressed=true]{background:#dce8cf;border-color:#819a6d;color:#294d32}#workspace[data-mode=journal] .collection-actions{order:2;border-top:1px solid #d5ddcb;padding:8px 0 2px;display:flex;flex-wrap:wrap}.subject-ident{display:flex;align-items:center;gap:10px;margin:0 0 8px}.subject-ident p{margin:0;font-size:12px;color:#5f7156;line-height:1.5}.subject-face{flex:0 0 auto;position:relative;overflow:hidden;box-sizing:border-box;width:52px;height:52px;border-radius:50%;border:2px solid #b9c7a8;background:#fbf8ee}.subject-face:before{content:"";position:absolute;left:0;top:0;width:96px;height:96px;transform:scale(.5);transform-origin:0 0;background-repeat:no-repeat;image-rendering:auto}.subject-face.chibi:before{background-image:url(/assets/chibi-reference.png);background-size:150px 150px;background-position:-20px -12px}.subject-face.furana:before{background-image:var(--furana-face,url(/assets/furana-reference.png));inset:0;width:auto;height:auto;transform:none;background-size:192% auto;background-position:49% 18%}.subject-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 9px}.subject-gauges label{display:grid;gap:3px;font-size:11.5px;color:#4d6246}.subject-gauges meter{width:100%;height:9px;accent-color:#53764b}.subject-gauges label.low meter{accent-color:#b5503c}.subject-gauges label.low{color:#9a3f2e;font-weight:600}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.subject-window .primary-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.subject-window .primary-actions button{font-size:11.5px;padding:7px 1px}.subject-ident{margin-bottom:5px;gap:8px}.subject-face{width:40px;height:40px}.subject-gauges{margin-bottom:5px}}.desk-table thead th{white-space:nowrap;font-size:12px;font-weight:700;letter-spacing:.04em;color:#6a7d5e;background:transparent;border-bottom:2px solid #c9d4bd}.desk-table tbody th{font-weight:800;word-break:keep-all;overflow-wrap:normal;min-width:6.5em}.desk-table tbody th small{font-weight:400}.desk-table th.num,.desk-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;width:4em}.desk-table tbody td,.desk-table tbody th{border-bottom:1px solid #e6ebdd}.desk-table tbody tr:hover{background:#f4f7ec}#workspace .desk-table tbody td{line-height:1.5}#app #workspace .desk-table td button{background:transparent;box-shadow:none;border-color:transparent;color:#4a6a3a;text-decoration:underline;text-underline-offset:3px;font-weight:700}#app #workspace .desk-table td button:hover{background:#eaf1de;border-color:#c5d3b2}#app #workspace .desk-table td button:disabled{text-decoration:none;opacity:.5}.desk-note,.desk-empty{margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#f2f6e8;color:#56694d;font-size:13px}.desk-empty button{margin-left:8px}.page-controls span{font-variant-numeric:tabular-nums;color:#5c725a}.page-controls:not(:has(button:not([hidden]))){padding-block:2px}.page-controls:not(:has(button:not([hidden]))){display:none}.sheet-fold{display:none}.subject-window:not(.phone-sheet){overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.subject-window:not(.phone-sheet)>*{flex-shrink:0}.subject-window:not(.phone-sheet)[data-section=memory],.subject-window:not(.phone-sheet)[data-section=history]{max-height:min(560px,calc(100dvh - var(--menu-height,52px) - 30px))!important}.subject-window:not(.phone-sheet) .hud-heading{position:sticky;top:0;z-index:2;background:var(--paper)}.subject-window:not(.phone-sheet) .subject-body{flex:none;overflow:visible}.subject-window .hud-heading{padding:7px 10px 6px 12px;gap:6px}.subject-window .hud-heading button{min-height:28px;padding:0 9px;font-size:12px}.subject-window .subject-tabs{padding:0 10px 7px;gap:4px}.subject-window .subject-tabs button{padding:5px 6px;font-size:12px;min-width:0}.subject-window .subject-body{padding:8px 12px 6px;font-size:13px;line-height:1.5}.subject-window .subject-body p{margin:3px 0 7px}.subject-window .subject-ident{margin:0 0 6px;gap:8px}.subject-window .subject-face{width:40px;height:40px}.subject-window .subject-gauges{margin:0 0 4px;gap:8px}.subject-controls{flex:none;display:flex;flex-wrap:wrap;gap:5px;padding:7px 10px 8px;border-top:1px solid #e8dcc3;background:var(--paper)}.subject-controls .control-main{display:contents}.subject-controls .primary-actions,.subject-controls .request-actions{flex:1 1 100%}.subject-window:not(.phone-sheet) .subject-controls{position:sticky;bottom:0;z-index:2}.subject-window:not(.phone-sheet) .subject-controls>:last-child{padding-right:22px}.subject-controls .subject-actions{display:grid;gap:5px;padding:0;border:0}.subject-controls .primary-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.subject-controls .request-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.subject-controls .extra-actions,.subject-controls .rare-actions{grid-auto-flow:column;grid-auto-columns:auto}.subject-controls .extra-actions{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))}.subject-controls .subject-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 2px;font-size:12px;white-space:nowrap;min-height:34px}.subject-controls .request-actions>button{background:#f3f6ea}.subject-controls :is(.extra-actions,.rare-actions)>button{min-height:30px;padding:4px 9px;font-size:11.5px;background:transparent;color:#5a6d52}.subject-controls .act-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:center/contain no-repeat;font-size:16px;line-height:1;color:var(--wood-dark)}.subject-controls :is(.extra-actions,.rare-actions) .act-icon{width:15px;height:15px}.subject-controls .act-pet:before{content:"♡";font-size:17px;color:#c0564a}.subject-controls .act-grab{background-image:url(/assets/ui-marks/rescue-48.png)}.subject-controls .act-follow:before{content:"⌖";font-size:18px}.subject-controls .act-watch{background-image:url(/assets/ui-icons/watch-48.png)}.subject-controls .act-hit{background-image:url(/assets/ui-marks/hit-48.png)}.subject-controls .act-ignite{background-image:url(/assets/ui-marks/fire-48.png)}.subject-controls .primary-actions>button[data-subject-act=grab] .button-word{font-size:0}.subject-controls .primary-actions>button[data-subject-act=grab] .button-word:before{content:"つかむ";font-size:12px}#app #resident-chooser{max-height:none;overflow:visible;width:auto;min-width:210px;max-width:320px;display:flex;flex-wrap:wrap;gap:4px}#app #resident-chooser small{flex:1 1 100%}#app #resident-chooser button{flex:1 1 calc(50% - 4px);min-width:120px}html,body{width:100%;height:100%;overflow:hidden}#app.observation-layout{position:relative;width:100%;height:100dvh;min-height:0;overflow:hidden;display:block}#app.observation-layout main{position:absolute;inset:0;display:block!important;width:100%;height:100%;min-height:0;margin:0}.observation-layout #world-wrap{position:absolute;inset:0;width:100%;height:100%!important;min-height:0!important;border-radius:0}.observation-layout #world{width:100%;height:100%}.observation-layout>header{position:absolute;inset:0 0 auto;height:50px;min-height:0;z-index:55;gap:10px;padding:5px 14px;justify-content:flex-start;background:#fafbf2f5}.observation-layout .resources{gap:12px}.observation-layout .resources>span{display:flex;gap:5px;font-size:12px}.observation-layout .resources b{font-size:14px}.observation-layout .resources small{display:none}.observation-layout header .season{padding:0;gap:6px;box-shadow:none;background:none;margin-left:auto}.observation-layout .season>span{font-size:19px}.observation-layout .season b{font-size:12px}.observation-layout #forecast{display:none}.observation-layout .season small{font-size:10px;margin:0}.observation-layout .speed-controls{padding:2px;gap:0;align-self:center;box-shadow:none;background:#e9efdf}.observation-layout .speed-controls button{padding:6px 9px;font-size:12px}.observation-layout header>button{font-size:12px;padding:6px 9px;white-space:nowrap}.observation-layout #details-toggle{font-size:12px}.observation-layout .hud-panel{position:absolute;background:#fcfcf2f7;color:#304b38;border:1px solid #c5d1b9;border-radius:11px;box-shadow:0 5px 18px #18362426;z-index:25;min-width:0}.hud-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px}.hud-heading strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-heading button{font-size:11px;padding:4px 7px}.hud-heading>div{display:flex;gap:4px}.observation-layout #activity-board{left:14px;top:66px;width:304px;display:block;max-height:none;border:1px solid #c5d1b9;overflow:hidden}#board-summary{display:block;width:100%;font-size:11px!important;border:0;border-radius:0;padding:2px 12px 8px!important;margin:0;color:#5b6f50;text-align:left;background:none}#board-feed{padding:0 10px 8px}.feed-row{display:flex;gap:3px;align-items:center;border-top:1px solid #e0e6d8;padding:2px 0}.feed-row>button:first-child{display:block;flex:1;min-width:0;text-align:left;background:none;border:0;font-size:12px;padding:6px 2px}.feed-row button{font-size:11px;padding:5px 7px}.feed-row b{font-weight:600;font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-row small{display:block;font-size:10px;color:#61745b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feed-row.urgent b{color:#9a422d}.feed-row.recent button span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.5}.feed-row.recent small{font-size:9px}.observation-layout #watch-panel{top:66px;left:336px;width:188px}#watch-panel [data-board-list]{padding:0 10px}#watch-panel>[data-board-action]{font-size:11px;margin:5px 10px 10px;padding:5px 8px}.watch-empty{font-size:11px;margin:0 0 8px;line-height:1.6;color:#627359}.observation-layout #island-map{right:14px;top:66px;width:168px;padding-bottom:10px}.observation-layout #island-map-canvas{width:144px;height:144px;margin:0 auto;cursor:crosshair;touch-action:none}.observation-layout .region-heading{position:static;text-shadow:none;color:#49633e;padding:0 12px 7px}.observation-layout .region-heading h2{font-size:12px;margin:0 0 5px}.observation-layout .region-heading button{font-size:10px;color:#49633e;border:1px solid #d5deca;background:#f7f9ec;padding:4px 8px}.observation-layout #regions-panel{z-index:42;left:auto;right:14px;top:66px;max-height:calc(100% - 150px);width:330px}.observation-layout #interaction-dock{position:absolute;left:14px;right:14px;bottom:12px;transform:none;max-width:none;width:auto;display:flex;align-items:center;gap:10px;text-align:left;z-index:50;pointer-events:none}.observation-layout #interaction-dock>*{pointer-events:auto}.observation-layout #tool-header{background:#fcfcf2f7;border:1px solid #c5d1b9;border-radius:10px;padding:8px 10px;flex:1;box-shadow:0 3px 10px #18362422}.observation-layout .tool-title{display:flex;gap:8px;align-items:center}.observation-layout #tool-current{font-size:12px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.observation-layout .tool-title button{font-size:12px;padding:6px 10px}.observation-layout #tool-reset{margin-left:auto}.observation-layout .camera-controls{position:static;bottom:auto!important;display:flex;flex-direction:row;gap:4px}.observation-layout .camera-controls button{width:33px;height:36px;font-size:18px;background:#fcfcf2}.observation-layout .camera-controls #hover-toggle{font-size:10px;width:58px}.observation-layout #tool-palette{left:50%;transform:translate(-50%);bottom:76px;width:min(740px,calc(100vw - 28px));z-index:56;max-height:calc(100dvh - 145px);display:flex;flex-direction:column;overflow:hidden}.observation-layout #tool-groups{display:flex;flex-wrap:wrap;overflow:visible;padding:0 12px 10px;gap:5px;margin:0}.observation-layout #tool-groups button{font-size:12px;padding:7px 10px}.observation-layout #tools{position:static;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));min-height:0;max-height:360px;overflow:auto;overscroll-behavior:contain;box-shadow:none;border:0;border-top:1px solid #d5deca;border-radius:0;background:#f3f6e9;padding:12px;gap:6px}.observation-layout #tools button{min-width:0;font-size:12px;min-height:66px!important;padding:6px!important;background:#fffdf5}.observation-layout #tools button.active{background:#d9e6ca}.observation-layout #tools i{display:none}.observation-layout #tool-details{position:static;max-height:none;overflow:visible;white-space:normal;padding:10px 14px;margin:0;font-size:12px;border-radius:0;color:#3e5c3d;background:#f8faef}.observation-layout #player-cargo{right:14px;bottom:78px;max-width:330px;padding:10px;margin:0;z-index:35}.observation-layout #player-cargo strong{display:none}.observation-layout #placement-advice{right:14px;bottom:78px;width:320px;max-width:calc(100vw - 28px);max-height:45dvh;overflow:auto;padding:12px;z-index:36;margin:0}.observation-layout #toast{top:62px;left:55%;max-width:50%;z-index:54;padding:8px 12px;font-size:12px}.observation-layout #hud-back{position:absolute;top:64px;left:55%;z-index:40;font-size:12px;background:#fffbe7}.observation-layout #hud-settings{right:14px;top:60px;width:280px;z-index:65}.hud-settings-body{padding:0 14px 14px}.hud-settings-body label{display:block;margin:10px 0;font-size:13px}.hud-settings-body p{font-size:12px;line-height:1.7;color:#63745b}.hud-settings-body input{margin-right:7px}.hud-settings-body button{font-size:12px}.observation-layout button:hover{transform:none}.observation-layout button[aria-pressed=true]{background:#e3edda;color:#315833;border-color:#9bb18a}.observation-layout #resident-chooser{z-index:41;max-height:250px;overflow:auto}.observation-layout #revive-quick{top:auto;bottom:78px;left:50%;z-index:24}.observation-layout #hud-danger{font-size:11px;padding:5px 8px;color:#963d29}.observation-layout.management-open #hud-danger{background:#ffe8d3}@media(max-width:1050px){.observation-layout #season-text{display:none}.observation-layout>header{gap:6px;padding:4px 8px}.observation-layout #watch-panel{left:332px}.observation-layout .resources{gap:8px}.observation-layout #save-open{font-size:0;max-width:44px}.observation-layout #save-open:after{content:"保存";font-size:11px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.observation-layout>header{height:50px;gap:4px;flex-wrap:nowrap}.observation-layout .resources,.observation-layout header .season,.observation-layout #details-toggle,.observation-layout #workspace-nav [data-desk-open=journal]{display:none}.observation-layout .speed-controls{margin-left:auto}.observation-layout .speed-controls button{font-size:11px;padding:6px}.observation-layout header>button{font-size:11px;padding:6px}.observation-layout #activity-board{left:8px;top:60px;width:min(276px,calc(100vw - 80px));max-height:28dvh}.observation-layout #board-feed .recent{display:none}.observation-layout #board-feed .feed-row:nth-child(n+3){display:none}.observation-layout #watch-panel{top:60px;left:auto;right:8px;width:56px}.observation-layout #watch-panel .hud-heading{padding:6px 3px}.observation-layout #watch-panel .hud-heading strong{font-size:10px}.observation-layout #watch-panel .hud-heading button{padding:1px 4px}.observation-layout #watch-panel [data-board-list]{padding:0 4px}.observation-layout #watch-panel .feed-row b{font-size:10px}.observation-layout #watch-panel .feed-row small,.observation-layout #watch-panel>.watch-empty,.observation-layout #watch-panel>[data-board-action],.observation-layout #watch-panel .watch-empty{display:none}.observation-layout #watch-panel .feed-row:nth-child(n+3){display:none}.observation-layout #island-map{top:200px;right:8px;width:104px;padding-bottom:6px}.observation-layout #island-map-canvas{width:88px;height:88px}.observation-layout #island-map .hud-heading{padding:6px}.observation-layout #island-map .hud-heading strong{font-size:10px}.observation-layout #island-map .region-heading h2{display:none}.observation-layout #island-map .region-heading{padding:0 5px 5px}.observation-layout #interaction-dock{left:8px;right:8px;bottom:8px;gap:4px}.observation-layout .camera-controls{gap:2px}.observation-layout .camera-controls button{width:27px;height:35px;font-size:16px}.observation-layout .camera-controls #hover-toggle,.observation-layout .camera-controls #home-view{display:none}.observation-layout #tool-header{padding:5px}.observation-layout .tool-title{gap:3px}.observation-layout #tool-current{font-size:10px;max-width:65px}.observation-layout .tool-title button{font-size:10px;padding:6px}.observation-layout #tool-reset{font-size:0;padding:6px;min-width:27px}.observation-layout #tool-reset:after{content:"解除";font-size:10px}.observation-layout #tool-palette{bottom:65px}.observation-layout #tools{grid-template-columns:repeat(3,minmax(0,1fr));max-height:43dvh;padding:8px}.observation-layout #tool-groups{padding:0 8px 8px}.observation-layout #tool-groups button{font-size:11px;padding:6px}.observation-layout #player-cargo{right:8px;bottom:65px;max-width:220px;z-index:37}.observation-layout #placement-advice{bottom:65px}.observation-layout #toast{top:52px;left:50%;max-width:85%;font-size:11px}.observation-layout #hud-back{left:8px;top:32dvh;font-size:11px}.observation-layout #hud-danger{font-size:0;min-width:28px}.observation-layout #hud-danger:after{content:attr(data-count);font-size:11px}.observation-layout #hud-settings-open{max-width:57px;font-size:10px;white-space:normal;padding:4px}.observation-layout #hud-settings{max-width:calc(100vw - 16px)}}.observation-layout #player-cargo{position:static;max-width:300px;padding:7px 10px;background:#fff8dd;border:1px solid #c4b57b;border-radius:9px;flex-shrink:0;font-size:12px}.observation-layout #player-cargo button{font-size:12px}.observation-layout #player-cargo span{white-space:nowrap}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.observation-layout #interaction-dock:has(#player-cargo:not([hidden])) .camera-controls,.observation-layout #interaction-dock:has(#player-cargo:not([hidden])) #tool-current{display:none}.observation-layout #player-cargo{max-width:180px;padding:5px;font-size:10px;gap:3px}.observation-layout #player-cargo button{font-size:10px;padding:5px}.observation-layout #hud-back{max-width:65%}}.observation-layout #workspace-nav{flex-shrink:0}.observation-layout #workspace-nav button{white-space:nowrap}.observation-layout #workspace #life-site{display:none}#journal-new{position:sticky;top:0;z-index:3;background:#fff2c9}#journal-more{margin:12px 22px}.observation-layout #world-alerts{display:none}.subject-crisis{color:#943e2f;background:#fff0dc;padding:7px;border-radius:5px}.hud-settings-body>button{margin:4px 5px 0 0}.compact-panel-toggle{display:none}.observation-layout #hud-back{z-index:56}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.compact-panel-toggle{display:block}.compact-folded>:not(.hud-heading):not(#board-summary){display:none!important}.observation-layout #island-map .hud-heading strong{display:none}.observation-layout #island-map.compact-folded{padding-bottom:0}.observation-layout #island-map .hud-heading{gap:4px}.observation-layout #island-map .compact-panel-toggle{padding:4px;font-size:10px;white-space:nowrap}.observation-layout #activity-board.compact-folded{max-height:none}.observation-layout #activity-board.compact-folded .hud-heading{padding-bottom:4px}.observation-layout #activity-board.compact-folded #board-summary{font-size:10px!important}}#workspace .event{padding:9px 0}#workspace .event p{font-size:13px;line-height:1.6;margin:3px 0}#workspace .event>span{display:none}#workspace .event small{font-size:10px}#hover-controls{margin-top:12px}#hover-controls button{display:block;margin:7px 0}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.observation-layout #workspace-nav [data-desk-open=journal]{display:block}.observation-layout #board-feed .recent{display:flex}.observation-layout #activity-board{max-height:30dvh}.observation-layout #activity-board .board-ongoing{display:none}}.observation-layout header #autonomy{margin:0;padding:6px 9px;font-size:12px;flex-shrink:0}.observation-layout header #autonomy[aria-pressed=true]{background:#e2ecd7;border-color:#8aa577}@media(max-width:1100px){.observation-layout>header{overflow-x:auto;overflow-y:hidden}.observation-layout>header>*{flex-shrink:0}.observation-layout header #autonomy{font-size:11px;padding:6px}}.building-autonomy-options{padding:0 12px 14px}.building-autonomy-options button{width:100%;text-align:left;padding:10px;font-size:13px}.building-autonomy-options button[aria-pressed=true]{background:#e2ecd7;border-color:#8aa577}.building-autonomy-options p{font-size:11px;line-height:1.6;margin:5px 0 13px;color:#607357}.building-autonomy-options small{display:block;font-size:11px;line-height:1.7}.observation-layout #activity-board{display:flex;flex-direction:column;width:304px;max-height:calc(100dvh - 160px)}.observation-layout[data-management-mode=journal] #activity-board{display:flex}.log-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 10px;flex-shrink:0;border-bottom:1px solid #d5ddcb}.log-controls label{font-size:11px;display:flex;align-items:center;gap:4px}.log-controls select{font:inherit;max-width:120px;padding:5px;border:1px solid #bdccb1;background:#fffef6;border-radius:5px}.log-filter-choices,.log-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px;width:100%}.log-filter-choices label,.log-filter-actions label{padding:3px 5px;border:1px solid #bdccb1;border-radius:5px;background:#fffef6;white-space:nowrap}.log-filter-actions button{font-size:10px;padding:4px 6px}.log-filter-actions small{font-size:9px;color:#62765c;line-height:1.4}.log-filter-choices input,.log-filter-actions input{margin:0 2px 0 0}.log-controls .log-latest{margin-left:auto;font-size:11px;padding:5px 7px}.log-controls .page-controls{width:100%;padding:0;font-size:10px}.log-controls .page-controls button{font-size:10px;padding:5px}.observation-layout #board-feed{height:330px;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:0 10px;flex:1 1 auto;scrollbar-width:thin}.log-entries .event{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #dce3d3;border-radius:0;color:#304b38;padding:7px 2px;margin:0;cursor:pointer}.log-entries .event small{display:block;font-size:10px;color:#62765c}.log-entries .event p{font-size:12px;line-height:1.55;margin:3px 0;white-space:normal;overflow-wrap:anywhere}.log-entries .event em{font-size:10px;display:block;color:#687555}.log-entries .event.danger{border-left:3px solid #b66644;padding-left:6px}.log-entries .event.talk p{color:#64547a}.log-entries .event.build p{color:#766039}.log-entries .event.death{border-left:3px solid #775c73;padding-left:6px}.log-entries .event.death p{color:#674e64}.log-entries .event:hover,.log-entries .event:focus-visible{background:#e7eedc;outline:2px solid #859c6b;outline-offset:-2px}.log-empty{font-size:12px;padding:8px}.log-entries{overflow-anchor:none}#board-ongoing{padding:0 10px;max-height:170px;overflow:auto;flex-shrink:1}#workspace #journal-panel>.log-controls{flex-shrink:0}#workspace #journal-panel>#events{flex:1;min-height:0;overflow:auto}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.observation-layout #activity-board{width:calc(100vw - 128px);max-height:38dvh}.observation-layout #board-feed{height:175px;min-height:60px}.observation-layout #activity-board .hud-heading{padding:6px 8px}.observation-layout #activity-board .hud-heading strong{font-size:11px}.observation-layout #board-summary{font-size:9px!important;padding:0 8px 3px!important}.log-controls{padding:4px 6px;gap:3px}.log-controls .log-latest{font-size:10px;padding:4px}.log-controls label{font-size:10px}.log-controls select{max-width:98px;padding:3px}.log-controls .page-controls{font-size:9px}.log-controls .page-controls button{font-size:9px;padding:4px}.log-entries .event p{font-size:11px}.observation-layout #board-ongoing{display:none}}#board-danger{padding:0 10px;max-height:180px;overflow:auto;flex-shrink:0}#board-danger:empty{display:none}.observation-layout #activity-board.compact-folded>#board-danger:not(:empty){display:block!important}.log-entries .log-talk-group{border-bottom:1px solid #dce3d3}.log-entries .log-talk-group>summary{cursor:pointer;font-size:11px;color:#64547a;padding:6px 2px;list-style:none;user-select:none}.log-entries .log-talk-group>summary:before{content:"▸ "}.log-entries .log-talk-group[open]>summary:before{content:"▾ "}.log-entries .log-talk-group .event{padding-left:12px}.log-entries .event.build,.log-entries .event.death,.log-entries .event.danger,.log-entries .event.promotion{border-left-width:4px;border-left-style:solid;padding-left:6px}.log-entries .event.build{border-left-color:#7d9a52}.log-entries .event.build p,.log-entries .event.death p,.log-entries .event.danger p,.log-entries .event.promotion p{font-weight:700;font-size:13px}#app .log-entries button.event.build,#app .log-entries button.event.death,#app .log-entries button.event.danger,#app .log-entries button.event.promotion{border-left-width:4px;border-left-style:solid}#app .log-entries button.event.build{border-left-color:#7d9a52}#app .log-entries button.event.death{border-left-color:#775c73}#app .log-entries button.event.danger{border-left-color:#b66644}#app .log-entries button.event.promotion{border-left-color:#c79a2e;background:#fbe9b4}.log-entries .event.promotion p{color:#7a5a12}#tool-tooltip{position:fixed;z-index:500;pointer-events:none;box-sizing:border-box;width:300px;max-width:calc(100vw - 16px);padding:12px 14px;border:1px solid #aab99b;border-radius:10px;background:#fffef3;color:#365341;box-shadow:0 5px 18px #18362430;font-size:13px;line-height:1.7}#tool-tooltip[hidden]{display:none}#tool-tooltip strong{display:block;font-size:14px}#tool-tooltip p{margin:5px 0 0}#app.top-menu{--menu-height:88px}.top-menu.observation-layout>header{height:var(--menu-height);display:flex;flex-direction:column;align-items:stretch;gap:0;padding:4px 12px;overflow:visible}#top-primary,#top-status{display:flex;align-items:center;gap:8px;min-width:0;flex:1}#top-primary button{white-space:nowrap;font-size:12px;padding:7px 11px}#top-tools{display:flex;gap:5px;align-items:center}.top-menu #workspace-nav{display:flex;gap:5px}.top-menu #workspace-nav button{font-size:12px;padding:7px 11px}.top-menu #save-open{font-size:12px;max-width:none}.top-menu #save-open:after{content:none}.top-menu #hud-danger{position:static;max-width:150px;flex-shrink:0}.top-menu #top-status .resources{display:flex;gap:10px;flex-shrink:0}.top-menu #top-status .season{margin-left:auto;white-space:nowrap}.top-menu #top-status .season #season-text,.top-menu #top-status .season #forecast{display:none}.top-menu #top-status .temperature-reading{display:inline-block;font-size:13px;font-weight:600;color:#69785e;white-space:nowrap}.top-menu #top-status .speed-controls{flex-shrink:0;margin-left:0}.top-menu.observation-layout #interaction-dock{position:static;display:flex;flex:1;min-width:0;gap:6px;transform:none;width:auto;max-width:none;pointer-events:auto;order:0}.top-menu.observation-layout #tool-header{border:0;box-shadow:none;background:transparent;padding:0;min-width:0;flex:1}.top-menu.observation-layout .tool-title{gap:6px;min-width:0}.top-menu.observation-layout #tool-current{max-width:none;min-width:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-menu.observation-layout #tool-reset{margin-left:0;padding:4px 8px;font-size:11px;flex-shrink:0}.top-menu.observation-layout #tool-reset:after{content:none}.top-menu.observation-layout #player-cargo{max-width:220px;padding:3px 6px;font-size:10px;flex-wrap:nowrap;margin:0}.top-menu #player-cargo button{padding:4px;font-size:10px}.top-menu.observation-layout #tool-palette{top:calc(var(--menu-height) + 8px);bottom:auto;left:12px;transform:none;width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - var(--menu-height) - 22px)}.top-menu.observation-layout #tools{max-height:min(360px,calc(100dvh - 260px))}.top-menu.observation-layout #tool-groups{padding-bottom:7px}#combat-settings{display:flex;gap:6px;padding:6px 0 0}#combat-settings[hidden]{display:none}#combat-settings button{font-size:12px;padding:6px 9px}#combat-settings [aria-pressed=true]{background:#dce8cf;border-color:#819a6d}.top-menu.observation-layout #activity-board,.top-menu.observation-layout #watch-panel,.top-menu.observation-layout #island-map{top:calc(var(--menu-height) + 14px)}.top-menu.observation-layout #activity-board{max-height:calc(100dvh - var(--menu-height) - 36px - 48px)}.top-menu.observation-layout #island-map .camera-controls{position:static;display:flex;flex-wrap:wrap;justify-content:center;padding:7px 4px 0;gap:3px}.top-menu.observation-layout .camera-controls button{width:32px;height:30px;font-size:16px}.top-menu.observation-layout #regions-panel,.top-menu.observation-layout #hud-settings{top:calc(var(--menu-height) + 8px)}.top-menu.observation-layout #hud-settings{max-height:calc(100dvh - var(--menu-height) - 20px);overflow:auto}.top-menu.observation-layout #toast{top:calc(var(--menu-height) + 8px)}.top-menu.observation-layout #hud-back{top:auto;bottom:14px;left:14px;max-width:calc(100vw - 28px)}.top-menu.observation-layout #placement-advice{bottom:14px}.hide-label-danger .world-signal[data-kind=danger] :is(.signal-label,.signal-stem),.hide-label-rescue .world-signal[data-kind=rescue] :is(.signal-label,.signal-stem),.hide-label-rescue .rescue-link,.hide-label-lost .world-signal[data-kind=notice]:not([data-highlight=castle]) :is(.signal-label,.signal-stem),.hide-label-buildings .world-signal[data-highlight=castle] :is(.signal-label,.signal-stem),.hide-label-watch .world-signal[data-kind=watch] :is(.signal-label,.signal-stem){display:none}.hud-label-group{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;padding:6px 0 2px}.hud-label-group>strong{grid-column:1/-1;font-size:12px;opacity:.85}@media(max-width:1050px){.top-menu #top-status .resources{display:flex;gap:6px}.top-menu #top-status .resources>span{gap:2px;font-size:11px}.top-menu #top-status .resources b{font-size:12px}.top-menu #hud-danger{position:static;max-width:90px;padding:4px;font-size:10px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app.top-menu{--menu-height:116px}.top-menu.observation-layout>header{padding:4px 6px}#top-primary,#top-status{gap:4px}#top-primary{flex-wrap:wrap;align-content:center}#top-tools{flex:1 1 100%;justify-content:flex-start}.top-menu #workspace-nav{flex:1}#top-primary button,.top-menu #workspace-nav button{font-size:11px;padding:7px 6px}#top-tools,.top-menu #workspace-nav{gap:3px}.top-menu #workspace-nav [data-desk-open=journal]{display:block}.top-menu #save-open{font-size:11px;padding:7px 6px}.top-menu #hud-danger{font-size:0;min-width:24px;max-width:24px;padding:4px}.top-menu #hud-danger:after{content:attr(data-count);font-size:11px}.top-menu #top-status .season{display:none}.top-menu #top-status .speed-controls button{padding:6px;font-size:10px}.top-menu.observation-layout #tool-current{font-size:10px;max-width:none}.top-menu.observation-layout #tool-reset{font-size:10px;padding:4px;min-width:28px}.top-menu.observation-layout #player-cargo{position:absolute;top:calc(var(--menu-height) + 84px);bottom:auto;right:auto;left:50%;max-width:min(260px,calc(100vw - 24px));transform:translate(-50%);z-index:40;white-space:nowrap}.top-menu.observation-layout #activity-board{max-height:38dvh;width:calc(100vw - 128px)}.top-menu.observation-layout #island-map{top:240px}.top-menu.observation-layout #island-map .camera-controls{display:grid;grid-template-columns:repeat(2,1fr);padding:5px;justify-items:center}.top-menu.observation-layout #island-map .camera-controls #home-view{display:block}.top-menu.observation-layout #tool-palette{left:8px;width:calc(100vw - 16px)}.top-menu.observation-layout #tools{max-height:45dvh}.top-menu.observation-layout #hud-settings-open{max-width:none;font-size:11px;padding:7px}}.top-menu.observation-layout #tool-current{flex:0 1 auto}.top-menu.observation-layout #tool-reset{margin-left:0}.top-menu #climate-badge{font-size:11px;white-space:nowrap;color:#385d48;padding:0 5px;font-weight:600}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #climate-badge{font-size:10px;padding:0 2px}.top-menu #interaction-dock{max-width:112px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-status .resources{gap:4px}.top-menu #top-status .resources>span:nth-child(3){display:none}.top-menu #climate-badge{display:none}}.top-menu #top-tools{padding-right:6px;border-right:1px solid #d5ddc9}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-tools{border-right:0;padding-right:0}}@media(min-width:761px){.top-menu #hud-danger{white-space:nowrap;max-width:none}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-status .speed-controls button{min-width:30px;min-height:32px;padding:6px 7px}.top-menu [data-panel-hide],.top-menu .compact-panel-toggle+button,.top-menu #toast button,.top-menu .hud-heading button[aria-label]{min-width:32px;min-height:32px}.top-menu.observation-layout #watch-panel{width:92px}}@media(max-width:1050px){.top-menu #climate-badge .climate-year{display:none}.top-menu.observation-layout #tool-current{min-width:4.5em}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #hud-danger{max-width:none;white-space:nowrap}.top-menu #hud-danger:after{white-space:nowrap}}.top-menu #tool-current .hint-touch{display:none}@media(pointer:coarse){.top-menu #tool-current .hint-mouse{display:none}.top-menu #tool-current .hint-touch{display:inline}}@media(max-width:1050px){.top-menu #tool-current .tool-hint{display:none}}@media(min-width:761px)and (max-width:1050px){.top-menu #hud-danger{font-size:0;min-width:34px;max-width:none;padding:4px 6px;white-space:nowrap}.top-menu #hud-danger:after{content:attr(data-count);font-size:12px;font-weight:700}.top-menu #top-status .speed-controls button{padding:6px 8px}.top-menu.observation-layout #tool-reset{padding:4px 7px}}.top-menu.observation-layout #tool-current{flex:0 0 auto}.top-menu.observation-layout #interaction-dock,.top-menu.observation-layout #tool-header{flex:0 1 auto}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu.observation-layout #island-map.compact-folded{top:calc(var(--menu-height) + 8px);right:8px;padding:0;width:auto;border-radius:9px}.top-menu.observation-layout #island-map.compact-folded .hud-heading{padding:3px;gap:0}}#app:has(#tool-palette:not([hidden])) #hud-back{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-tools #interaction-dock{max-width:none;margin-left:auto;flex:0 1 auto;justify-content:flex-end}.top-menu #top-tools #tool-header{flex:0 1 auto}.top-menu.observation-layout #top-tools #tool-current{font-size:11px}}#hud-settings .hud-heading{flex-wrap:wrap;gap:6px}#hud-settings .settings-bar{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 100%;order:3;justify-content:flex-start}#hud-settings .settings-destinations,#hud-settings .settings-tabs{display:flex;flex-wrap:wrap;gap:4px}#hud-settings .settings-destinations{padding-right:6px;border-right:1px solid #d5ddc9}#hud-settings .settings-tabs button[aria-pressed=true]{background:#5c725a;color:#fff}#hud-settings .settings-section>button{margin:4px 5px 0 0}#hud-settings .settings-section .building-autonomy-options{display:flex;flex-direction:column;gap:6px}#hud-settings [data-settings-section=labels] .hud-label-group>strong{display:none}#journal-actions{position:sticky;top:-12px;z-index:3;flex:none;display:flex;flex-wrap:wrap;gap:4px;padding:6px 0;background:var(--paper,#fbf1dc);border-bottom:1px solid #d5ddc9}#journal-actions>button{min-height:36px;font-size:12px}#journal-actions .journal-actions-more{align-self:center;font-size:12px;opacity:.8}#journal-actions[hidden]{display:none!important}.desk-inspector:has(#journal-panel[hidden]) #journal-actions{display:none!important}.subject-panel .furana-policy-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.subject-panel .furana-target-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.subject-panel :is(.furana-policy-actions,.furana-target-actions)>button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject-panel .furana-target-actions>span{grid-column:1/-1;font-size:12px}.top-menu #top-date{display:inline-flex;align-items:baseline;gap:7px;white-space:nowrap;flex:0 0 auto}.top-menu #top-date #clock,.top-menu #top-date #total-day{font-size:12px;font-weight:700;color:var(--wood-dark);font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;font-variant-numeric:tabular-nums}@media(max-width:1050px){.top-menu #top-date .total-word{display:none}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu #top-status #top-date{display:inline-grid;grid-template-columns:auto auto;column-gap:4px;row-gap:1px;align-items:baseline;justify-items:start;flex:0 0 auto}.top-menu #top-status #top-date #total-day{grid-column:1/-1;font-size:9px;line-height:1.1}.top-menu #top-status #top-date .total-word{display:inline}.top-menu #top-status #top-date #climate-badge{display:inline;font-size:10px;padding:0}.top-menu #top-status #top-date #clock{font-size:10px}.top-menu #top-status:has(#interaction-dock) #top-date{display:none}}:root{--wood-dark:#6b4426;--wood:#a8743f;--wood-light:#d9b47c;--paper:#fbf1dc;--paper-deep:#f2e2bf;--ink:#4a3420;--ink-soft:#7a5a3a;--leaf:#4f7d3a;--leaf-light:#e3efcf}#app{color:var(--ink)}#app button{background:var(--paper);border:1px solid var(--wood-light);color:var(--ink);font-weight:700;box-shadow:0 2px 0 var(--wood-light)}#app button:hover{background:#fff7e6;border-color:var(--wood)}#app button:active{transform:translateY(2px);box-shadow:0 0 0 var(--wood-light)}#app button.active,#app button[aria-pressed=true],#app button[aria-expanded=true]{background:var(--leaf);border-color:#3a6129;color:#fff;box-shadow:0 2px #2f4f22}.top-menu.observation-layout>header{background:linear-gradient(#f8ecd2f7,#f1dfbaf5);border-bottom:2px solid var(--wood);box-shadow:0 3px 10px #4a342033}.top-menu #top-primary button,.top-menu #workspace-nav button{font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;font-size:13px}.top-menu #top-tools{border-right-color:var(--wood-light)}.top-menu #top-status .resources b,.top-menu #top-status .season b{color:var(--wood-dark);font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif}.top-menu #top-status .temperature-reading,.top-menu #climate-badge,.top-menu.observation-layout #tool-current{color:var(--ink-soft)}.top-menu #hud-danger{background:#fbe2d6;border-color:#c46a4c;color:#8a2e17;box-shadow:0 2px #c46a4c}.top-menu #hud-danger[data-level=notice]{background:var(--paper-deep);border-color:var(--wood-light);color:var(--ink-soft);box-shadow:0 2px 0 var(--wood-light)}.hud-panel,#workspace,.subject-panel,#hover-info,#tool-tooltip{background:var(--paper)!important;color:var(--ink)!important;border:2px solid var(--wood)!important;box-shadow:0 4px 14px #4a342040!important}.hud-heading strong,#workspace h2,.subject-panel h2,.subject-panel h3{font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;color:var(--wood-dark)}#highlight-overflow{background:var(--paper);border-color:var(--wood);color:var(--ink)}#toast{background:var(--paper);color:var(--ink);border:2px solid var(--wood);box-shadow:0 4px 14px #4a342040;font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;font-weight:700}#toast .toast-action{background:var(--paper-deep);border:1px solid var(--wood-light);color:var(--ink);box-shadow:0 2px 0 var(--wood-light)}#save-dialog{background:var(--paper);color:var(--ink);border:2px solid var(--wood);box-shadow:0 18px 60px #1b120866}#save-dialog h2,#save-dialog h3{font-family:"M PLUS Rounded 1c",Noto Sans JP,sans-serif;color:var(--wood-dark)}#save-dialog .eyebrow,#save-dialog p{color:var(--ink-soft)}#save-dialog textarea{background:#fffaf0;border:1px solid var(--wood-light);color:var(--ink)}#save-dialog .close-dialog{color:var(--ink-soft)}.ui-icon{width:22px;height:22px;object-fit:contain;vertical-align:-5px;user-select:none;-webkit-user-drag:none}.resources .ui-icon{width:22px;height:22px}#weather .ui-icon{width:26px;height:26px;vertical-align:middle}.camera-controls button .ui-icon{width:20px;height:20px;vertical-align:middle}.camera-controls button .ui-icon-suffix{font-size:10px;margin-left:1px;vertical-align:middle}#photo-bar b .ui-icon{vertical-align:-6px;margin-right:2px}.muted .ui-icon{width:16px;height:16px;vertical-align:-3px}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}@media(max-width:760px),(orientation:landscape)and (max-height:500px){html,body{touch-action:manipulation;overscroll-behavior:none;overflow:hidden;height:100dvh}#app{touch-action:manipulation}#app.observation-layout{height:100dvh}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px!important}:root{--phone-safe-top:env(safe-area-inset-top,0px);--phone-safe-bottom:env(safe-area-inset-bottom,0px);--phone-safe-left:env(safe-area-inset-left,0px);--phone-safe-right:env(safe-area-inset-right,0px);--tap:44px}#app.top-menu{--menu-height:calc(96px + var(--phone-safe-top))}.top-menu.observation-layout>header{height:var(--menu-height);padding:calc(4px + var(--phone-safe-top)) calc(6px + var(--phone-safe-right)) 4px calc(6px + var(--phone-safe-left));gap:4px;overflow:visible;justify-content:center}#top-primary{flex:0 0 var(--tap);flex-wrap:nowrap;gap:4px;align-items:stretch;min-width:0}#top-tools{flex:0 0 auto;gap:4px}.top-menu #workspace-nav{flex:1 1 auto;gap:4px;min-width:0}#top-primary button,.top-menu #workspace-nav button,.top-menu #save-open{font-size:13px;padding:0 9px;min-height:var(--tap);line-height:1.2;border-radius:10px}#top-status{flex:0 0 40px;gap:4px;min-width:0;flex-wrap:nowrap;overflow:visible}#top-status>*{flex-shrink:0}.top-menu #top-status #top-date{flex-shrink:1;min-width:0}.top-menu #top-status .speed-controls{gap:2px;padding:2px}.top-menu #top-status .resources{gap:4px}.top-menu.observation-layout #hud-danger{position:absolute;left:calc(8px + var(--phone-safe-left));top:calc(100% + 64px);min-width:var(--tap);min-height:var(--tap);padding:0 12px;font-size:0;border-radius:12px;z-index:52}.top-menu.observation-layout #hud-danger:after{font-size:14px;font-weight:800}.top-menu.observation-layout.tool-idle:not(:has(#player-cargo:not([hidden]))) #hud-danger{top:calc(100% + 8px)}.top-menu #top-status .resources{gap:6px}.top-menu #top-status .resources>span{font-size:12px;gap:3px}.top-menu #top-status .resources b{font-size:14px}.top-menu #top-status .speed-controls{margin-left:auto}.top-menu #top-status .speed-controls button{min-width:40px;min-height:40px;padding:0;font-size:13px;border-radius:9px}.top-menu #top-status .speed-controls button[hidden]{display:none}.top-menu #hud-danger{display:inline-flex;align-items:center;justify-content:center}.top-menu.observation-layout header>#interaction-dock{position:absolute;left:calc(8px + var(--phone-safe-left));right:auto;top:calc(100% + 8px);bottom:auto;transform:none;width:auto;max-width:calc(100vw - 150px);height:auto;flex:none;display:flex;align-items:center;gap:6px;padding:0 4px 0 12px;background:var(--paper);border:2px solid var(--wood);border-radius:12px;box-shadow:0 4px 14px #4a342040;z-index:52;pointer-events:auto}.top-menu.observation-layout header>#interaction-dock #tool-header{flex:1 1 auto;min-width:0}.top-menu.observation-layout header>#interaction-dock .tool-title{gap:6px}.top-menu.observation-layout header>#interaction-dock #tool-current{font-size:13px;min-width:0;max-width:none;color:var(--ink)}.top-menu.observation-layout header>#interaction-dock #tool-reset{min-height:var(--tap);min-width:56px;font-size:13px;padding:0 10px;margin:3px 0}.top-menu.observation-layout.tool-idle header>#interaction-dock:not(:has(#player-cargo:not([hidden]))){display:none}.top-menu.observation-layout header>#interaction-dock #player-cargo{position:static;transform:none;max-width:none;font-size:12px;padding:4px 6px;margin:0 0 0 4px}.top-menu.observation-layout #island-map.compact-folded{top:calc(var(--menu-height) + 8px);right:calc(8px + var(--phone-safe-right))}.top-menu.observation-layout #island-map.compact-folded .hud-heading{padding:0}.top-menu .compact-panel-toggle{min-height:var(--tap);min-width:var(--tap);padding:0 12px;font-size:13px}.top-menu.observation-layout #island-map:not(.compact-folded){top:calc(var(--menu-height) + 8px);right:calc(8px + var(--phone-safe-right));width:min(220px,calc(100vw - 16px))}.top-menu.observation-layout #island-map:not(.compact-folded) #island-map-canvas{width:160px;height:160px}.top-menu.observation-layout #island-map .camera-controls{grid-template-columns:repeat(3,1fr);gap:6px;padding:8px}.top-menu.observation-layout #island-map .camera-controls button{width:var(--tap);height:var(--tap);font-size:20px}.top-menu .hud-heading button[aria-label],.top-menu [data-panel-hide]{min-width:var(--tap);min-height:var(--tap)}.top-menu.observation-layout #hud-back{bottom:calc(14px + var(--phone-safe-bottom));left:calc(8px + var(--phone-safe-left));min-height:var(--tap);font-size:13px;padding:0 14px}.top-menu.observation-layout #toast{top:calc(var(--menu-height) + 60px);left:50%;transform:translate(-50%);max-width:calc(100vw - 24px);font-size:13px}.top-menu.observation-layout #toast button{min-height:40px}#objective-strip{left:calc(8px + var(--phone-safe-left));right:calc(8px + var(--phone-safe-right));bottom:calc(60px + var(--phone-safe-bottom));min-height:40px;font-size:13px;padding:6px 12px}#app:has(#subject-panel:not([hidden])) #objective-strip,#app:has(#placement-advice:not([hidden])) #objective-strip,#app:has(#workspace:not([hidden])) #objective-strip,#app:has(#tool-palette:not([hidden])) #objective-strip{display:none}.observation-layout #revive-quick{bottom:calc(70px + var(--phone-safe-bottom));min-height:var(--tap)}#app .subject-panel.phone-sheet{position:absolute;inset:auto 0 0!important;width:auto!important;height:auto!important;max-height:min(45dvh,430px)!important;margin:0;border-radius:18px 18px 0 0!important;border-bottom:0!important;padding-bottom:var(--phone-safe-bottom);display:flex;flex-direction:column;overflow:hidden;z-index:50;transition:max-height .1s ease-out}#app .subject-panel.phone-sheet.sheet-folded{max-height:calc(52px + var(--phone-safe-bottom))!important}#app:has(#placement-advice:not([hidden])) .subject-panel.phone-sheet,#app:has(#tool-palette:not([hidden])) .subject-panel.phone-sheet,#app.management-open .subject-panel.phone-sheet{display:none}#app .subject-panel.phone-sheet .hud-heading{cursor:pointer;padding:4px 8px 4px 14px;min-height:52px;gap:6px;position:relative;touch-action:manipulation}#app .subject-panel.phone-sheet .hud-heading:before{content:"";position:absolute;left:50%;top:5px;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:var(--wood-light)}#app .subject-panel.phone-sheet .hud-heading strong{font-size:16px;flex:1 1 auto;min-width:0}#app .subject-panel.phone-sheet .hud-heading>div{gap:6px;flex:none}#app .subject-panel.phone-sheet .hud-heading button{min-height:var(--tap);min-width:var(--tap);font-size:13px;padding:0 10px}.sheet-fold{display:none}#app .subject-panel.phone-sheet .sheet-fold{display:inline-flex;align-items:center;justify-content:center}#app .subject-panel.phone-sheet .sheet-fold:before{content:"︿";font-size:16px;line-height:1}#app .subject-panel.phone-sheet.sheet-folded .sheet-fold:before{content:"﹀"}#app .subject-panel.phone-sheet .hud-heading [data-desk-place] .button-word{display:none}#app .subject-panel.phone-sheet .hud-heading [data-desk-place]:before{content:"⌖";font-size:22px;line-height:1}#app .subject-panel.phone-sheet .hud-heading button{width:var(--tap);padding:0;font-size:18px}#app .subject-panel.phone-sheet .subject-tabs{flex:none;gap:6px;padding:0 10px 6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}#app .subject-panel.phone-sheet .subject-tabs::-webkit-scrollbar{display:none}#app .subject-panel.phone-sheet .subject-tabs button{flex:0 0 auto;min-width:0;min-height:var(--tap);font-size:13px;padding:0 12px;white-space:nowrap}#app .subject-panel.phone-sheet .subject-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:8px 14px;font-size:14px;line-height:1.55;-webkit-overflow-scrolling:touch}#app .subject-panel.phone-sheet .subject-body button,#app .subject-panel.phone-sheet .subject-actions button{min-height:var(--tap);font-size:13px;padding:0 12px}#app .subject-panel.phone-sheet .subject-controls{flex:none;gap:6px;padding:6px 10px}#app .subject-panel.phone-sheet .control-main{display:grid;gap:6px}#app .subject-panel.phone-sheet .primary-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0}#app .subject-panel.phone-sheet .request-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:0}#app .subject-panel.phone-sheet .primary-actions button,#app .subject-panel.phone-sheet .request-actions button{min-height:var(--tap);font-size:13px;padding:0 2px}#app .subject-panel.phone-sheet :is(.extra-actions,.rare-actions){grid-auto-flow:row;gap:6px;padding:0}#app .subject-panel.phone-sheet .extra-actions,#app .subject-panel.phone-sheet .rare-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#app .subject-panel.phone-sheet :is(.extra-actions,.rare-actions) button{min-height:var(--tap);font-size:12px;padding:0 10px}#app .subject-panel.phone-sheet .control-main{display:grid}#app .subject-panel.phone-sheet .subject-gauges label{font-size:12px}#app .subject-panel.phone-sheet .subject-ident p{font-size:13px}#app .subject-panel.phone-sheet .subject-body,#app .subject-panel.phone-sheet .subject-tabs{overscroll-behavior:contain}.top-menu.observation-layout #placement-advice{left:0;right:0;bottom:0;width:auto;max-width:none;max-height:min(40dvh,360px);border-radius:18px 18px 0 0!important;border-bottom:0!important;padding:12px 14px calc(10px + var(--phone-safe-bottom));font-size:14px;line-height:1.5;z-index:53}.top-menu.observation-layout #placement-advice button{min-height:var(--tap);font-size:14px;padding:0 14px;margin:6px 6px 0 0}.top-menu.observation-layout #placement-advice summary{min-height:40px;display:flex;align-items:center}.top-menu.observation-layout #tool-palette{left:calc(8px + var(--phone-safe-left));right:calc(8px + var(--phone-safe-right));width:auto;top:calc(var(--menu-height) + 8px);max-height:calc(100dvh - var(--menu-height) - 16px - var(--phone-safe-bottom))}.top-menu.observation-layout #tool-palette .hud-heading{min-height:52px;padding:6px 8px 6px 14px}.top-menu.observation-layout #tool-palette .hud-heading strong{font-size:16px}.top-menu.observation-layout #tool-palette .hud-heading button{min-height:var(--tap);font-size:13px;padding:0 14px}.top-menu.observation-layout #tool-groups{gap:6px;padding:0 10px 8px}.top-menu.observation-layout #tool-groups button{min-height:40px;font-size:13px;padding:0 12px}.top-menu.observation-layout #tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;max-height:none;flex:1 1 auto;min-height:0}.top-menu.observation-layout #tools button{min-height:72px!important;font-size:13px}#combat-settings button{min-height:40px}#app #workspace{inset:auto 0 0!important;width:auto!important;height:min(64dvh,calc(100dvh - var(--menu-height) - 8px))!important;border-radius:18px 18px 0 0!important;border-bottom:0!important;padding-bottom:var(--phone-safe-bottom)}#app #workspace.window-expanded{height:calc(100dvh - var(--menu-height) - 4px)!important}#app #workspace [data-window-resize]{display:none}.desk-window-heading{min-height:52px;padding:6px 8px 6px 14px}.desk-window-heading button{min-height:var(--tap);min-width:var(--tap);font-size:13px;padding:0 12px}.people-navigation button,.town-sections button,#workspace .filters button,.activity-categories button,#workspace .collection-actions button{min-height:var(--tap);font-size:13px}.page-controls button{min-height:var(--tap)}#workspace .desk-table td button{min-height:var(--tap);padding:0 8px}#workspace input[data-people-search]{min-height:var(--tap)}#workspace .desk-body,#workspace .desk-inspector{padding-bottom:calc(24px + var(--phone-safe-bottom))}.top-menu.observation-layout #activity-board,.top-menu.observation-layout #watch-panel{top:calc(var(--menu-height) + 60px)}.top-menu.observation-layout #hud-settings,.top-menu.observation-layout #regions-panel{left:calc(8px + var(--phone-safe-left))!important;right:calc(8px + var(--phone-safe-right))!important;width:auto!important;top:calc(var(--menu-height) + 8px)!important;max-height:calc(100dvh - var(--menu-height) - 16px - var(--phone-safe-bottom))!important}.hud-settings-body label{min-height:40px;display:flex;align-items:center;font-size:15px}.hud-settings-body input[type=checkbox]{width:22px;height:22px;margin-right:10px}.hud-settings-body button,.building-autonomy-options button{min-height:var(--tap);font-size:14px}.observation-layout #resident-chooser button{min-height:var(--tap)}#highlight-overflow{height:44px;font-size:13px}#app .world-signal.offscreen .signal-label{min-height:var(--tap);padding:0 14px 0 10px;font-size:13px;border-radius:12px;gap:6px}#app .world-signal.offscreen .signal-mark{width:18px;height:18px}#save-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;border:0;padding:calc(18px + var(--phone-safe-top)) 18px calc(18px + var(--phone-safe-bottom));overflow:auto;box-sizing:border-box}#save-dialog button{min-height:var(--tap);font-size:15px}#save-dialog .close-dialog{top:calc(8px + var(--phone-safe-top));right:8px;width:var(--tap);height:var(--tap)}#save-dialog textarea{font-size:16px;min-height:120px}#welcome .title-menu button{min-height:52px}#welcome .close-dialog{top:calc(8px + var(--phone-safe-top));width:var(--tap);height:var(--tap)}}@media(orientation:landscape)and (max-height:500px){#app.top-menu{--menu-height:calc(52px + var(--phone-safe-top));--side:min(300px,40vw)}.top-menu.observation-layout>header{flex-direction:row;align-items:center;gap:6px;padding:calc(4px + var(--phone-safe-top)) calc(6px + var(--phone-safe-right)) 4px calc(6px + var(--phone-safe-left))}#top-primary{flex:0 1 auto;--top-menu-gap:8px}#top-primary button,.top-menu #workspace-nav button{padding:0 8px;font-size:13px}#top-status{flex:1 1 auto;justify-content:flex-end;gap:6px;min-width:min-content}.top-menu #top-status #top-date{grid-template-columns:auto;row-gap:0;flex-shrink:1;min-width:0;margin-left:auto}.top-menu #top-status #top-date #climate-badge,.top-menu #top-status #top-date #clock{font-size:11px;line-height:1.2}.top-menu #top-status #top-date #total-day{display:none}.top-menu #top-status .resources{display:flex;gap:4px}.top-menu #top-status .speed-controls{margin-left:0;gap:2px;padding:2px}.top-menu #top-status .speed-controls button{min-width:44px;min-height:44px}.top-menu.observation-layout header>#interaction-dock{top:calc(100% + 6px)}.top-menu.observation-layout #hud-danger{top:calc(100% + 58px)}.top-menu.observation-layout.tool-idle:not(:has(#player-cargo:not([hidden]))) #hud-danger{top:calc(100% + 6px)}.top-menu.observation-layout #island-map.compact-folded{top:calc(var(--menu-height) + 6px)}.top-menu.observation-layout #island-map:not(.compact-folded){top:var(--menu-height);right:0;bottom:0;width:var(--side);max-height:none;border-radius:18px 0 0!important;overflow:auto;padding-right:var(--phone-safe-right)}.top-menu.observation-layout #island-map:not(.compact-folded) #island-map-canvas{width:144px;height:144px}.top-menu.observation-layout #island-map .region-heading button{min-height:var(--tap);font-size:13px;padding:0 12px}#objective-strip{left:calc(8px + var(--phone-safe-left));right:auto;bottom:calc(8px + var(--phone-safe-bottom));max-width:min(48vw,420px);min-height:var(--tap);padding:4px 10px;font-size:12px}#objective-strip[aria-expanded=true]{bottom:calc(60px + var(--phone-safe-bottom));left:calc(8px + var(--phone-safe-left));max-width:min(60vw,460px)}.top-menu.observation-layout #hud-back{font-size:12px;padding:0 10px;min-height:var(--tap)}.top-menu.observation-layout #toast{top:auto;bottom:calc(64px + var(--phone-safe-bottom));left:calc(8px + var(--phone-safe-left));right:auto;transform:none;max-width:min(55vw,420px)}.observation-layout #revive-quick{bottom:calc(100px + var(--phone-safe-bottom));left:calc(8px + var(--phone-safe-left));transform:none}#app .subject-panel.phone-sheet{left:auto!important;right:0!important;top:var(--menu-height)!important;bottom:0!important;width:var(--side)!important;max-height:none!important;border-radius:18px 0 0!important;border-right:0!important;padding-right:var(--phone-safe-right);padding-bottom:var(--phone-safe-bottom)}#app .subject-panel.phone-sheet{width:var(--side)!important;bottom:auto!important;max-height:calc(100dvh - var(--menu-height) - var(--phone-safe-bottom))!important;overflow-y:auto;overscroll-behavior:contain;border-bottom:2px solid var(--wood)!important;border-radius:14px 0 0 14px!important;display:block}#app .subject-panel.phone-sheet.sheet-folded{bottom:auto!important;max-height:calc(100dvh - var(--menu-height) - var(--phone-safe-bottom))!important}#app .subject-panel.phone-sheet:not(.sheet-folded){bottom:0!important;border-bottom:0!important;border-radius:14px 0 0!important}#app .subject-panel.phone-sheet .hud-heading{position:sticky;top:0;z-index:2;background:var(--paper);flex-wrap:nowrap;padding:2px 10px;min-height:48px;gap:8px}#app .subject-panel.phone-sheet .hud-heading:before{display:none}#app .subject-panel.phone-sheet .hud-heading strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app .subject-panel.phone-sheet .hud-heading>div{gap:8px}#app .subject-panel.phone-sheet .hud-heading button{min-height:var(--tap);min-width:var(--tap);width:var(--tap);padding:0;font-size:18px;line-height:1}#app .subject-panel.phone-sheet .hud-heading [data-desk-place] .button-word{display:none}#app .subject-panel.phone-sheet .hud-heading [data-desk-place]:before{content:"⌖";font-size:22px}#app .subject-panel.phone-sheet .sheet-fold:before{content:"︿";font-size:16px}#app .subject-panel.phone-sheet.sheet-folded .sheet-fold:before{content:"﹀"}#app .subject-panel.phone-sheet .subject-tabs{padding:0 8px 6px;gap:8px}#app .subject-panel.phone-sheet .subject-tabs button{min-height:var(--tap);padding:0 10px;font-size:12px}#app .subject-panel.phone-sheet .subject-body{flex:none;overflow:visible;padding:6px 10px;font-size:14px;line-height:1.5}#app .subject-panel.phone-sheet .subject-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 6px}#app .subject-panel.phone-sheet.sheet-folded .subject-tabs,#app .subject-panel.phone-sheet.sheet-folded .subject-ident,#app .subject-panel.phone-sheet.sheet-folded .rare-actions,#app .subject-panel.phone-sheet.sheet-folded .subject-body>*:not(.subject-reason):not(.subject-gauges):not(.subject-crisis):not(.subject-actions):not(button):not(.cargo-controls):not(.attention-label):not(.construction-controls):not(progress){display:none}#app .subject-panel.phone-sheet.sheet-folded .subject-reason{-webkit-line-clamp:1}#app .subject-panel.phone-sheet.sheet-folded .crisis-hint{display:none}#app .subject-panel.phone-sheet.sheet-folded .subject-body:has(.subject-crisis)>.subject-reason{display:none}#app .subject-panel.phone-sheet.sheet-folded .subject-body>button{display:inline-flex}#app .subject-panel.phone-sheet.sheet-folded .cargo-controls{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0}#app .subject-panel.phone-sheet.sheet-folded .cargo-controls>*:not(button){display:none}#app .subject-panel.phone-sheet.sheet-folded .cargo-controls button{flex:1 1 auto;padding:0 8px;font-size:12px;white-space:nowrap}#app .subject-panel.phone-sheet.sheet-folded .subject-crisis{font-size:13px;line-height:1.3;padding:4px 6px}#app .subject-panel.phone-sheet.sheet-folded .subject-body>button{padding:0 8px}#app .subject-panel.phone-sheet.sheet-folded .subject-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:4px;align-items:center;padding:4px 10px}#app .subject-panel.phone-sheet.sheet-folded .subject-body>*{margin:0}#app .subject-panel.phone-sheet.sheet-folded .subject-body>.subject-reason,#app .subject-panel.phone-sheet.sheet-folded .subject-body>.subject-gauges,#app .subject-panel.phone-sheet.sheet-folded .subject-body>.attention-label{grid-column:1/-1}#app .subject-panel.phone-sheet .subject-gauges{gap:6px;margin:0 0 4px}#app .subject-panel.phone-sheet .subject-gauges label{font-size:11px}#app .subject-panel.phone-sheet .subject-controls{display:contents}#app .subject-panel.phone-sheet .control-main{position:sticky;bottom:0;z-index:2;display:grid;gap:4px;padding:5px 8px;background:var(--paper);border-top:1px solid #e8dcc3}#app .subject-panel.phone-sheet .request-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:0}#app .subject-panel.phone-sheet .request-actions>button{min-height:var(--tap);padding:0;font-size:12px;line-height:1.1;white-space:nowrap;border-radius:10px}#app .subject-panel.phone-sheet .extra-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0}#app .subject-panel.phone-sheet .mischief-actions{padding:6px 8px 4px}#app .subject-panel.phone-sheet.sheet-folded .mischief-actions{display:none}#app .subject-panel.phone-sheet .rare-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 8px 10px}#app .subject-panel.phone-sheet :is(.extra-actions,.rare-actions)>button{min-height:var(--tap);padding:0 6px;font-size:12px}#app .subject-panel.phone-sheet .primary-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;border:0}#app .subject-panel.phone-sheet .primary-actions>button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:44px;padding:1px 0;font-size:11px;line-height:1.1;white-space:nowrap;border-radius:10px}#app .subject-panel.phone-sheet .primary-actions>button .button-word{display:block;font-size:11px}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-act=grab] .button-word:before{content:"つかむ"}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-act=grab] .button-word{font-size:0}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-act=grab] .button-word:before{font-size:11px}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-watch] .button-word{font-size:0}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-watch] .button-word:before{content:"見守る";font-size:11px}#app .subject-panel.phone-sheet .primary-actions>button[data-subject-watch][aria-pressed=true] .button-word:before{content:"見守り中"}.top-menu.observation-layout #placement-advice{left:auto;right:0;top:var(--menu-height);bottom:0;width:var(--side);max-height:none;border-radius:18px 0 0!important;padding-right:calc(14px + var(--phone-safe-right))}.top-menu.observation-layout #tool-palette{left:auto;right:0;top:var(--menu-height);bottom:0;width:min(440px,58vw);max-height:none;border-radius:18px 0 0!important;padding-right:var(--phone-safe-right)}.top-menu.observation-layout #tool-palette .hud-heading{min-height:46px;padding:4px 8px 4px 12px}.top-menu.observation-layout #tool-groups{padding:0 8px 6px}.top-menu.observation-layout #tool-groups button{min-height:var(--tap);font-size:12px;padding:0 10px}.top-menu.observation-layout #tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.top-menu.observation-layout #tools button{min-height:64px!important;font-size:12px}#app #workspace{left:auto!important;right:0!important;width:min(460px,62vw)!important;top:var(--menu-height)!important;height:calc(100dvh - var(--menu-height))!important;border-radius:18px 0 0!important;padding-right:var(--phone-safe-right)}#app #workspace.window-expanded{width:calc(100vw - var(--phone-safe-left))!important;height:calc(100dvh - var(--menu-height))!important}.desk-window-heading{min-height:46px}.top-menu.observation-layout #hud-settings,.top-menu.observation-layout #regions-panel{left:auto!important;right:calc(6px + var(--phone-safe-right))!important;width:min(360px,52vw)!important;top:calc(var(--menu-height) + 6px)!important}.top-menu.observation-layout #activity-board,.top-menu.observation-layout #watch-panel{top:calc(var(--menu-height) + 56px)}.top-menu.observation-layout #activity-board{max-height:calc(100dvh - var(--menu-height) - 120px)}#save-dialog{padding:calc(10px + var(--phone-safe-top)) calc(16px + var(--phone-safe-right)) calc(16px + var(--phone-safe-bottom)) calc(16px + var(--phone-safe-left))}#save-dialog h2{font-size:22px;margin:4px 0 8px}#save-dialog>p{font-size:13px;margin:0 0 8px}#save-dialog textarea{min-height:72px}#welcome .title-shell{padding:12px calc(16px + var(--phone-safe-right)) 12px calc(16px + var(--phone-safe-left))}}@media(orientation:landscape)and (max-height:500px)and (max-width:700px){.top-menu #top-status .speed-controls [data-speed="2"]{display:none}#app.top-menu{--side:min(266px,40vw)}}#orientation-hint{display:none;margin:0 0 10px;padding:8px 12px;border-radius:10px;background:#fff7dc1f;border:1px solid #f0d79a66;color:#f6e7bd;font-size:13px;line-height:1.5}#orientation-hint span{display:inline-block;margin-right:4px;font-size:15px}@media(orientation:portrait)and (max-width:760px)and (pointer:coarse){#orientation-hint{display:block}}#chrome-toggle,#chrome-speed{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app.observation-layout #chrome-toggle{display:flex;align-items:flex-end;justify-content:center;position:absolute;left:50%;top:calc(var(--menu-height) - 14px);transform:translate(-50%);width:64px;height:44px;min-height:0;padding:0 0 9px;margin:0;border:0;border-radius:0;background:none;box-shadow:none;z-index:57;pointer-events:auto;touch-action:manipulation}#app.observation-layout #chrome-toggle:before{content:"";position:absolute;left:0;right:0;bottom:0;height:30px;border:2px solid var(--wood);border-top:0;border-radius:0 0 16px 16px;background:#fbf1dce6;box-shadow:0 3px 8px #4a342033}#app.observation-layout #chrome-toggle i{position:relative;display:block;width:12px;height:12px;border-left:3px solid var(--wood-dark);border-top:3px solid var(--wood-dark);transform:translateY(4px) rotate(45deg);transition:transform .1s}#app.observation-layout #chrome-toggle:hover,#app.observation-layout #chrome-toggle:active{transform:translate(-50%);background:none;box-shadow:none}#app.observation-layout #chrome-toggle:hover:before{background:#fff7e6}#app.observation-layout.chrome-folded #chrome-toggle{top:calc(var(--phone-safe-top) - 14px)}#app.observation-layout.chrome-folded #chrome-toggle:before{background:#fbf1dccc}#app.observation-layout.chrome-folded #chrome-toggle i{transform:translateY(-2px) rotate(225deg)}#app.observation-layout.chrome-folded{--menu-height:0px}#app.observation-layout.chrome-folded>header{height:0;min-height:0;padding-top:0;padding-bottom:0;border:0;box-shadow:none;background:none;overflow:visible;visibility:hidden;pointer-events:none}#app.observation-layout.chrome-folded>header #hud-danger{visibility:visible;pointer-events:auto;top:calc(8px + var(--phone-safe-top))}#app.observation-layout.chrome-folded header>#interaction-dock{display:none}#app.observation-layout.chrome-folded #island-map,#app.observation-layout.chrome-folded #objective-strip,#app.observation-layout.chrome-folded #hud-back,#app.observation-layout.chrome-folded #revive-quick,#app.observation-layout.chrome-folded #activity-board,#app.observation-layout.chrome-folded #watch-panel{display:none!important}#app.observation-layout #chrome-speed{display:none;position:absolute;left:calc(8px + var(--phone-safe-left));top:calc(8px + var(--phone-safe-top));min-width:var(--tap);min-height:var(--tap);padding:0 10px;border:2px solid var(--wood);border-radius:12px;background:#fbf1dce6;color:var(--wood-dark);font:800 15px "M PLUS Rounded 1c",Noto Sans JP,sans-serif;box-shadow:0 3px 8px #4a342033;z-index:52}#app.observation-layout.chrome-folded #chrome-speed:not([hidden]){display:inline-flex;align-items:center;justify-content:center}#app.observation-layout.chrome-folded:has(#hud-danger:not([hidden])) #chrome-speed{left:calc(60px + var(--phone-safe-left))}}#speed-cycle{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.phone-menu #top-primary{gap:var(--top-menu-gap,4px);min-width:calc(6 * var(--tap) + 5 * var(--top-menu-gap,4px))}.phone-menu #top-tools,.phone-menu #workspace-nav{flex-shrink:1;gap:var(--top-menu-gap,4px);min-width:calc(2 * var(--tap) + var(--top-menu-gap,4px))}.phone-menu #top-tools>button,.phone-menu #workspace-nav>button,.phone-menu #top-primary>:is(#combat-open,#hud-settings-open){display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:58px;min-width:var(--tap);min-height:48px;padding:3px 0 2px;font-size:11px;line-height:1.15;border-radius:12px;white-space:nowrap}.phone-menu .menu-caption{display:block;font-size:11px;font-weight:700;letter-spacing:-.03em}.phone-menu .menu-icon{display:block;width:26px;height:26px;background:center/contain no-repeat;image-rendering:auto}.phone-menu .menu-icon-hand{background-image:url(/assets/ui-icons/hand-48.png)}.phone-menu .menu-icon-build{background-image:url(/assets/ui-marks/build-48.png)}.phone-menu .menu-icon-residents{background-image:url(/assets/ui-icons/residents-48.png)}.phone-menu .menu-icon-furana{background-image:var(--furana-face);background-size:100px 100px;background-position:-36px -32px;border-radius:50%;border:1.5px solid var(--wood-light);background-color:#fffaf0;width:26px;height:26px}.phone-menu .menu-icon-settings{background-image:url(/assets/ui-icons/settings-48.png)}.phone-menu .menu-icon-battle{background-image:url(/assets/ui-icons/battle-48.png)}.phone-menu .menu-icon-menu{display:flex;align-items:center;justify-content:center;font:800 24px/1 "M PLUS Rounded 1c",Noto Sans JP,sans-serif;color:var(--wood-dark)}.phone-menu .menu-icon-menu:before{content:"≡"}.phone-menu #top-tools>button[aria-expanded=true] .menu-caption{color:#fff}.phone-menu .speed-controls [data-speed]:not([data-speed="0"]){display:none}.phone-menu .speed-controls #speed-cycle{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:44px;padding:0 8px;font-size:14px;font-weight:800;border-radius:9px}.phone-menu #island-map.compact-folded .compact-panel-toggle{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:56px;min-width:56px;min-height:48px;padding:3px 0 2px;font-size:0;border-radius:12px}.phone-menu #island-map.compact-folded .compact-panel-toggle:before{content:"";display:block;width:26px;height:26px;background:url(/assets/ui-icons/map-48.png) center/contain no-repeat}.phone-menu #island-map.compact-folded .compact-panel-toggle:after{content:"地図";font-size:11px;font-weight:700;line-height:1.15}}@media(orientation:landscape)and (max-height:500px)and (max-width:760px){.phone-menu #top-primary{--top-menu-gap:4px}}@media(orientation:landscape)and (max-height:500px)and (min-width:600px)and (max-width:760px){.phone-menu.observation-layout>header{--top-menu-gap:4px;--top-primary-min:calc(6 * var(--tap) + 5 * var(--top-menu-gap));--top-header-gap:6px;gap:var(--top-header-gap)}.phone-menu #top-primary{--top-menu-gap:inherit;min-width:var(--top-primary-min)}.phone-menu #top-status{flex-shrink:0;min-width:0;max-width:calc(100% - var(--top-primary-min) - var(--top-header-gap))}.phone-menu #top-status #top-date{flex:none;min-width:max-content}.phone-menu #top-status .resources{flex-shrink:1}}@media(orientation:landscape)and (max-height:500px)and (min-width:600px){#app.phone-menu #top-status .speed-controls [data-speed="1"],#app.phone-menu #top-status .speed-controls [data-speed="4"]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 2px;font-size:14px;font-weight:800;border-radius:9px}#app.phone-menu #top-status .speed-controls #speed-cycle{display:none}}@media(orientation:landscape)and (max-height:500px)and (min-width:701px){#app.phone-menu #top-status .speed-controls [data-speed="2"]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 2px;font-size:14px;font-weight:800;border-radius:9px}}.act-icon{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.phone-sheet .act-icon{display:flex;align-items:center;justify-content:center;width:22px;height:22px;background:center/contain no-repeat;font-size:18px;line-height:1;color:var(--wood-dark)}.phone-sheet .act-pet:before{content:"♡";font-size:20px;color:#c0564a}.phone-sheet .act-grab{background-image:url(/assets/ui-marks/rescue-48.png)}.phone-sheet .act-follow:before{content:"⌖";font-size:21px}.phone-sheet .act-watch{background-image:url(/assets/ui-icons/watch-48.png)}.phone-sheet .act-hit{background-image:url(/assets/ui-marks/hit-48.png)}.phone-sheet .act-ignite{background-image:url(/assets/ui-marks/fire-48.png)}.phone-sheet :is(.extra-actions,.rare-actions) .act-icon{width:16px;height:16px;flex:none}.phone-sheet [data-subject-watch][aria-pressed=true] .act-watch{filter:brightness(2)}}@media(max-width:760px)and (orientation:portrait){.phone-sheet .primary-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:5px}}#selected-marker{display:none}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#selected-marker{display:block;position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;z-index:4}#selected-marker[hidden]{display:none}#selected-marker i{position:absolute;left:-10px;top:-18px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:14px solid var(--wood-dark);filter:drop-shadow(0 0 1.5px #fbf1dc) drop-shadow(0 0 1.5px #fbf1dc) drop-shadow(0 1px 2px #4a342066);animation:selected-bob .9s ease-in-out infinite}@keyframes selected-bob{0%,to{top:-18px}50%{top:-11px}}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app #palette-close,#app [data-hud-settings-close],#app [data-desk-collapse],#app [data-subject-close]{min-width:var(--tap);min-height:var(--tap);width:var(--tap);padding:0;font-size:0!important;line-height:1;margin-left:auto;border-radius:12px}#app #palette-close:before,#app [data-hud-settings-close]:before,#app [data-desk-collapse]:before,#app [data-subject-close]:before{content:"×";font-size:24px;font-weight:700}.phone-menu #island-map:not(.compact-folded) .compact-panel-toggle{min-width:var(--tap);min-height:var(--tap);width:var(--tap);padding:0;font-size:0}.phone-menu #island-map:not(.compact-folded) .compact-panel-toggle:before{content:"︿";font-size:16px;line-height:1}.phone-menu #island-map:not(.compact-folded) .hud-heading{gap:8px}.phone-menu #island-map:not(.compact-folded) .hud-heading>div{display:flex;gap:8px;margin-left:auto}#app.phone-menu #island-map:not(.compact-folded) .compact-panel-toggle{order:1;background:var(--paper);color:var(--ink);border-color:var(--wood-light);box-shadow:0 2px 0 var(--wood-light)}.phone-menu [data-window-reset],.phone-menu [data-window-maximize]{display:none}}@media(orientation:landscape)and (max-height:500px){#app.observation-layout{--open-column:0px}#app.observation-layout:has(#subject-panel:not([hidden])){--open-column:var(--side)}#app.observation-layout:has(#placement-advice:not([hidden])){--open-column:var(--side)}#app.observation-layout:has(#island-map:not(.compact-folded)){--open-column:var(--side)}#app.observation-layout:has(#tool-palette:not([hidden])){--open-column:min(440px,58vw)}#app.observation-layout:has(#workspace:not([hidden])){--open-column:min(460px,62vw)}#app.observation-layout #chrome-toggle{left:calc((100vw - var(--open-column)) / 2)}.top-menu.observation-layout #island-map.compact-folded{right:calc(var(--open-column) + 8px + var(--phone-safe-right))}.top-menu.observation-layout #island-map:not(.compact-folded){bottom:auto;max-height:calc(100dvh - var(--menu-height) - var(--phone-safe-bottom));padding-bottom:8px}.top-menu.observation-layout #island-map:not(.compact-folded) .hud-heading{padding:6px 10px;min-height:52px}.top-menu.observation-layout #hud-settings{right:0!important;top:var(--menu-height)!important;width:min(360px,52vw)!important;max-height:calc(100dvh - var(--menu-height) - var(--phone-safe-bottom))!important;border-radius:14px 0 0!important;padding-right:var(--phone-safe-right)}.top-menu.observation-layout #hud-settings .hud-heading{padding:6px 10px;min-height:52px}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app .subject-panel.phone-sheet .subject-destination{min-height:var(--tap);font-size:12px;margin:0 0 6px;padding:2px 8px}#app .subject-panel.phone-sheet.sheet-folded .subject-body>button.subject-destination{display:flex;grid-column:1/-1;margin:0}#app .subject-panel.phone-sheet.sheet-folded .subject-body:has(.subject-destination)>.subject-reason{display:none}}@media(orientation:landscape)and (max-height:380px){#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>.subject-destination,>[data-desk-stop],>[data-stop-corpse-fire],>.cargo-controls button){display:flex;flex-wrap:nowrap;align-items:stretch;gap:6px}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>.subject-destination,>[data-desk-stop],>[data-stop-corpse-fire],>.cargo-controls button)>*:not(.subject-destination):not(.subject-reason):not([data-desk-stop]):not([data-stop-corpse-fire]):not(.cargo-controls){display:none}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>[data-desk-stop],>[data-stop-corpse-fire],>.cargo-controls button)>.subject-reason{flex:1 1 0;min-width:0;align-self:center;-webkit-line-clamp:2;font-size:12px;line-height:1.3}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body>.subject-destination{flex:2 1 0;min-width:44px;height:var(--tap);overflow:hidden}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body>:is([data-desk-stop],[data-stop-corpse-fire]),#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body>.cargo-controls button{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;height:var(--tap);min-width:var(--tap);padding:0 5px;font-size:11.5px;line-height:1.15;white-space:normal;text-wrap:balance;text-align:center}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body>.cargo-controls{flex:2 1 0;min-width:0;display:flex;flex-wrap:nowrap;gap:6px;margin:0}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>[data-desk-stop],>[data-stop-corpse-fire])>.subject-destination .destination-prefix{display:none}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>[data-desk-stop],>[data-stop-corpse-fire])>.subject-destination .destination-why{display:inline}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body>.subject-destination span{max-height:2.5em}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>.cargo-controls button)>.subject-destination{flex:none;width:var(--tap);justify-content:center;padding:0}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>.cargo-controls button)>.subject-destination span{display:none}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)) .subject-body:has(>.cargo-controls button):has(>[data-desk-stop],>[data-stop-corpse-fire])>.subject-destination{display:none}#app .subject-panel.phone-sheet.sheet-folded:has(.subject-crisis) .subject-body>.subject-destination{display:none}}@media(orientation:landscape)and (max-height:330px){#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)):has(.subject-body>:is(.subject-destination,[data-desk-stop],[data-stop-corpse-fire]),.subject-body>.cargo-controls button) .subject-controls :is(.primary-actions,.request-actions,.extra-actions){margin-top:0}#app .subject-panel.phone-sheet.sheet-folded:not(:has(.subject-crisis)):has(.subject-body>:is(.subject-destination,[data-desk-stop],[data-stop-corpse-fire]),.subject-body>.cargo-controls button) .subject-controls :is(.primary-actions,.request-actions,.extra-actions):before{content:none}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){.top-menu.observation-layout #hud-settings{left:calc(8px + var(--phone-safe-left))!important;right:calc(8px + var(--phone-safe-right))!important;width:auto!important;overflow:hidden!important}#hud-settings .hud-heading{flex-wrap:nowrap;min-height:var(--tap)!important;padding:4px 6px!important}#hud-settings .hud-heading>strong{display:none}#hud-settings .settings-bar{flex-wrap:nowrap;gap:4px;flex:1 1 auto;order:0}#hud-settings .settings-destinations button,#hud-settings .settings-tabs button{min-height:var(--tap);min-width:var(--tap);font-size:13px;padding:0 8px;white-space:nowrap}#hud-settings .settings-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;padding:4px 8px}#hud-settings .settings-section .hud-label-group,#hud-settings .settings-section .building-autonomy-options{display:contents}#hud-settings .settings-section .building-autonomy-options>.help-control-row{display:flex}#hud-settings .settings-section .building-autonomy-options>small{grid-column:1/-1}#hud-settings .settings-section>button,#hud-settings .settings-section button{margin:0;min-height:var(--tap)}#hud-settings .settings-section label{min-height:var(--tap);font-size:13px;line-height:1.2}#hud-settings .settings-section input[type=checkbox]{width:22px;height:22px;flex:none;margin-right:8px}#hud-settings .shortcut-settings,#hud-settings #hover-controls,#hud-settings .settings-section .ui-help{display:none!important}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#app .subject-panel.phone-sheet .furana-policy-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0}#app .subject-panel.phone-sheet .furana-target-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0}#app .subject-panel.phone-sheet :is(.furana-policy-actions,.furana-target-actions)>button{min-height:var(--tap);padding:0 4px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app .subject-panel.phone-sheet .furana-target-actions>span{grid-column:1/-1;font-size:12px;align-self:center}#app .subject-panel.phone-sheet .furana-moved-actions{display:grid;gap:4px;padding:6px 8px 4px}#app .subject-panel.phone-sheet.sheet-folded .furana-moved-actions{display:none}}@media(max-width:760px),(orientation:landscape)and (max-height:500px){#journal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:calc(2 * var(--tap) + 16px);overflow:hidden}#journal-actions>button{min-height:var(--tap);padding:2px 4px;font-size:11px;line-height:1.15;white-space:normal;overflow:hidden}#journal-actions .journal-actions-more{grid-column:1/-1}}
