.new-player-guide-trigger{color:#efd49a;background:#201c13;border-color:#806b3f}.new-player-guide-dialog[data-slot=dialog-content]{color:#f1dfb7;background:#17160f;border:1px solid #977d48;border-radius:3px;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(1280px,96vw);max-width:96vw;max-height:96dvh;padding:16px}.new-player-guide-dialog>header,.new-player-guide-dialog>footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.new-player-guide-dialog [data-slot=dialog-title]{font-size:22px}.new-player-guide-close{cursor:pointer;color:#e4c992;place-items:center;width:40px;height:40px;display:grid}.new-player-guide-picture{min-height:0;overflow:auto}.new-player-guide-picture>img{object-fit:contain;width:100%;height:auto;max-height:calc(96dvh - 136px);display:block}.new-player-guide-dialog>footer a,.new-player-guide-link{color:#dfc18a;text-underline-offset:4px;font-size:14px;text-decoration:underline}.new-player-guide-link{align-items:center;gap:5px;display:inline-flex}.new-player-guide-link svg{width:15px;height:15px}.new-player-guide-fallback{padding:24px;font-size:18px;line-height:1.8}.new-player-guide-fallback p+p{margin-top:16px}.new-player-guide-dialog>footer button{color:#fff0cb;background:#71552c}@media (max-width:600px){.new-player-guide-dialog[data-slot=dialog-content]{padding:10px}.new-player-guide-dialog [data-slot=dialog-title]{font-size:18px}.new-player-guide-dialog>footer{gap:8px}}.terror-meter .terror-meter-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.terror-help-button{color:#c9b88e;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;padding:4px;display:inline-flex}.terror-help-button svg{width:17px;height:17px}.terror-help-button:hover{color:#ffe3a7;background:#57442b}.terror-help-button:focus-visible{outline-offset:2px;outline:2px solid #e9c882}.terror-meter .terror-value{border-radius:3px;display:block}.terror-meter .terror-value-flash{animation:1.2s ease-out terror-value-pulse}.terror-move-toast{z-index:70;text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;color:#ffab8d;letter-spacing:.06em;text-shadow:0 2px 5px #000,0 0 16px #310c05,0 0 32px #000;width:max-content;max-width:calc(100vw - 32px);margin:0;font:600 clamp(24px,3vw,38px)/1.4 Tomb Serif,serif;animation:1.6s ease-out both terror-move-rise;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.terror-rules[data-slot=popover-content]{overscroll-behavior:contain;color:#e7d8ba;background:#211c14;border:1px solid #8e7349;width:min(370px,100vw - 32px);max-height:calc(100dvh - 40px);padding:16px 18px;font-family:Tomb Serif,serif;overflow-y:auto}.terror-rules-heading{color:#f0d2a2;justify-content:space-between;align-items:center;gap:12px;display:flex}.terror-rules-heading .terror-rules-title{font-size:18px}.terror-rules dl{margin:0}.terror-rules dl>div+div{margin-top:12px}.terror-rules dt{color:#dfb67c;font-size:14px;font-weight:600}.terror-rules dd{color:#d2c3a7;margin:4px 0 0;font-size:14px;line-height:1.65}@keyframes terror-value-pulse{0%,48%,to{color:#ddc998;text-shadow:none;background:0 0}20%,68%{color:#ffb09c;text-shadow:0 0 10px #c94929;background:#713328}}@keyframes terror-move-rise{0%{opacity:0;transform:translate(-50%,calc(18px - 50%))}15%,65%{opacity:1}to{opacity:0;transform:translate(-50%,calc(-50% - 54px))}}@media (prefers-reduced-motion:reduce){.terror-meter .terror-value-flash{color:#ffb09c;background:#713328;animation:none}.terror-move-toast{animation:none}}@media (pointer:coarse){.terror-help-button{width:44px;height:44px}}.run-shell[inert],.settlement-screen[inert]{isolation:isolate}.room-transition{z-index:80;pointer-events:auto;color:#ee765f;background:#000;place-items:center;display:grid;position:fixed;inset:0}.room-transition[data-phase=fade-out]{animation:.224s ease-in both room-blackout}.room-transition[data-phase=fade-in]{animation:.455s ease-in-out both room-reveal}.room-transition[data-phase=event]{z-index:45}.room-transition-terror{color:#ee765f;text-align:center;text-shadow:0 0 24px #b8353570;padding:24px;font-size:clamp(24px,3.5vw,40px);font-weight:700;animation:.77s ease-out both room-terror-rise}.room-transition-terror small{color:#e4b5a9;max-width:90vw;margin-top:14px;font-size:clamp(14px,1.7vw,22px);line-height:1.6;display:block}.room-transition-encounter{letter-spacing:.14em;text-shadow:0 0 40px;font-size:clamp(56px,10vw,112px);font-weight:900;animation:.525s ease-out both room-encounter-impact}.room-transition[data-nature=ghost]{color:#62bfee}@keyframes room-blackout{0%{opacity:0}to{opacity:1}}@keyframes room-reveal{0%{opacity:1}to{opacity:0}}@keyframes room-terror-rise{0%{opacity:0;transform:translateY(20px)}20%,70%{opacity:1}to{opacity:0;transform:translateY(-32px)}}@keyframes room-encounter-impact{0%{opacity:0;transform:scale(1.5)}18%{opacity:1;transform:scale(.96)}30%,74%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.04)}}@media (prefers-reduced-motion:reduce){.room-transition,.room-transition-terror,.room-transition-encounter{animation:none!important}}.run-shell.run-left-map{--run-map-width:35%;grid-template-columns:minmax(280px, var(--run-map-width)) minmax(0, 1fr);grid-template-rows:124px minmax(0,1fr) auto;grid-template-areas:"hud hud""map scene""map console";height:100dvh;min-height:0;display:grid;overflow:hidden}.run-shell.run-left-map.map-wide{--run-map-width:55%}.run-left-map>.run-hud{grid-area:hud}.run-left-map>.scene-stage{grid-area:scene;min-width:0;min-height:0}.run-left-map .scene-utility-stack{z-index:35;pointer-events:none;flex-direction:column;align-items:flex-end;gap:12px;max-width:calc(100% - 36px);display:flex;position:absolute;top:16px;right:18px}.run-left-map .scene-backpack-button{pointer-events:auto;color:#fff0cd;background:#67502c;border:2px solid #d9b671;flex-shrink:0;gap:10px;min-width:150px;height:58px;padding:12px 18px;font-size:20px;font-weight:700;position:static;box-shadow:0 4px 18px #000a,inset 0 0 14px #e3b76c20}.run-left-map .scene-backpack-button>svg{width:28px;height:28px}.run-left-map .scene-backpack-button b{color:#e0c393;font-size:15px}.run-left-map .scene-backpack-button:hover:not(:disabled),.run-left-map .scene-backpack-button[aria-expanded=true]{background:#856536;border-color:#f8d999}.run-left-map .room-search-status{letter-spacing:.04em;text-align:right;overflow-wrap:anywhere;min-width:0;max-width:100%;line-height:1.5;position:static}.run-left-map .room-search-status svg{flex:0 0 16px}.run-left-map .scene-utility-stack>.run-notice,.run-left-map .scene-utility-stack>.event-boost-indicator,.run-left-map .scene-utility-stack>.combat-clock{overflow-wrap:anywhere;flex-shrink:0;max-width:100%;position:static;transform:none}.run-left-map .scene-utility-stack>.run-notice{width:440px}.run-left-map .scene-utility-stack>.run-notice button{pointer-events:auto;flex:0 0 26px}.run-left-map .map-move-hint{color:#edcc8a;margin-top:10px}.extraction-hint{color:#edd5a3;background:#211d15;border:1px solid #a18552;max-width:min(360px,90vw);padding:16px}.extraction-hint p{color:#d6bda0;margin:0}.run-left-map>.run-map-sidebar{background:#171710;border-right:1px solid #75603d;flex-direction:column;grid-area:map;min-width:0;min-height:0;display:flex}.run-map-sidebar>.route-map-sidebar{z-index:auto;flex-direction:column;flex:1;min-height:150px;display:flex}.route-map-sidebar>.map-sidebar-heading{flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px 4px;display:flex}.map-sidebar-heading h2{color:#e1c58b;margin:0 auto 0 0;font-size:18px}.map-sidebar-heading span{color:var(--nature);font-size:13px}.route-map-sidebar>.map-controls{background:#171710;border:0;border-radius:0;flex-wrap:wrap;flex:none;align-items:center;gap:5px;height:auto;padding:6px 10px 10px;display:flex;position:static;overflow:visible}.route-map-sidebar .map-control-button{justify-content:center;align-items:center;gap:4px;width:auto;min-width:32px;height:auto;min-height:34px;padding:5px 8px;font-size:12px;display:flex}.route-map-sidebar .map-control-button.reset{width:auto}.route-map-sidebar .map-controls output{min-width:34px;font-size:12px}.run-left-map .run-map-sidebar .route-map-sidebar>.interactive-route-map{width:100%;height:auto;min-height:0;box-shadow:none;border:0;border-top:1px solid #403b2f;flex:1;position:relative;inset:auto}.route-map-sidebar .map-gesture-hint{text-align:center;pointer-events:none;font-size:11px;bottom:6px;left:10px;right:10px}.route-map-sidebar .map-node.selected{outline-offset:5px;outline:2px solid #ead29b}.map-room-detail{background:#211d15;border-top:1px solid #75603d;flex:none;padding:12px 14px}.map-room-detail h2{overflow-wrap:anywhere;margin:0 0 5px;font-size:18px;line-height:1.4}.map-room-detail p{color:#c5b79a;margin:4px 0;font-size:13px;line-height:1.45}.map-room-detail .map-boss-advice{color:#c9ac79;font-size:12px}.map-room-detail .map-travel-button{white-space:normal;color:#f4dfb3;background:#70572e;border:1px solid #bc9756;width:100%;height:auto;min-height:38px;margin-top:9px}.map-room-detail .map-travel-button:disabled{color:#b1a58d;opacity:1;background:#2b2c27;border-color:#4f4e43}.run-left-map>.run-console{flex-direction:column;grid-area:console;gap:8px;min-width:0;min-height:0;padding:10px 14px;display:flex;position:relative}.run-left-map .party-status{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.run-left-map .party-card{gap:6px;min-width:0;padding:5px}.run-left-map .party-card small{line-height:1.3}.run-left-map .party-portrait{width:34px;height:42px}.run-left-map .run-panel{min-height:0;position:relative}.run-left-map .run-panel-heading{min-height:34px}.run-left-map .run-panel-tabs{border:1px solid #403f36;height:34px}.run-left-map .run-panel-tabs button{min-width:110px}.run-left-map .run-tip{background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:5px 8px;min-height:0;padding:0;display:flex}.run-left-map .run-tip>svg{flex:0 0 16px;width:16px;height:16px}.run-left-map .run-tip>span{font-size:12px;line-height:1.4}.run-left-map .run-tip>small{display:none}.run-left-map .ultimate-panel{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;height:148px;min-height:0;padding:4px}.run-left-map .ultimate-card{aspect-ratio:auto;gap:2px;height:136px;padding:8px 4px}.run-left-map .ultimate-icon{width:48px;height:48px}.run-left-map .ultimate-card kbd{top:6px;left:6px}.run-left-map .run-inventory{z-index:30;background:#171911;border:1px solid #a17f47;flex-direction:column;gap:8px;height:300px;min-height:0;padding:10px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 -8px 28px #0009}.run-left-map .run-inventory .inventory-grid{aspect-ratio:auto;flex:1;width:min(100%,576px);min-width:0;height:100%;min-height:0;max-height:100%;margin-left:auto}.run-left-map .run-inventory .inventory-item-popover{overscroll-behavior:contain;overflow-y:auto}@media (max-width:1100px){.run-shell.run-left-map{grid-template-columns:minmax(230px, var(--run-map-width)) minmax(0, 1fr);grid-template-rows:auto minmax(360px,48dvh) auto;height:auto;min-height:100dvh;overflow:visible}.run-left-map .run-hud{min-height:124px}.run-left-map .party-status{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.run-left-map .scene-utility-stack{gap:10px;max-width:calc(100% - 20px);top:10px;right:10px}.run-left-map .scene-backpack-button{gap:6px;min-width:112px;height:50px;padding:9px 12px;font-size:17px}.run-left-map .room-search-status{padding:8px 10px;font-size:12px}.run-shell.run-left-map{grid-template-columns:minmax(128px, var(--run-map-width)) minmax(0, 1fr)}.run-left-map .run-hud{padding:12px}.run-left-map .hud-meters>div{min-width:60px;padding:6px}.run-left-map .extraction-controls{min-width:0}.run-left-map .map-sidebar-heading{gap:5px;padding:10px 8px 4px}.run-left-map .map-sidebar-heading h2{width:100%;font-size:16px}.run-left-map .map-controls{gap:3px;padding:6px}.run-left-map .map-expand-button{width:100%}.run-left-map .map-controls output{display:none}.run-left-map .map-room-detail{padding:10px 8px}.run-left-map .map-room-detail h2{font-size:16px}.run-left-map .map-gesture-hint{display:none}.run-left-map>.run-console{padding:8px}.run-left-map .party-status{grid-template-columns:minmax(0,1fr)}.run-left-map .ultimate-panel{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}.run-left-map .ultimate-card{min-height:124px}.run-left-map .run-panel-heading{gap:8px}.run-left-map .inventory-total{font-size:12px}}@media (prefers-reduced-motion:reduce){.run-left-map .route-map-world{transition:none}}main.game-shell{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.game-shell>.topbar{flex:none}.game-shell>.preparation-grid{overscroll-behavior:contain;flex:1 1 0;min-width:0;height:auto;min-height:0;overflow:auto}.game-shell>.expedition-bar{z-index:3;flex:none;min-height:92px;position:relative}.game-shell .team-strip{flex-wrap:wrap;min-width:0}.game-shell .expedition-actions{flex-shrink:0}@media (max-width:1100px){.game-shell>.expedition-bar{gap:12px;padding-block:12px}}@media (max-width:700px){.game-shell>.topbar{flex-wrap:wrap;gap:10px}.game-shell .expedition-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.game-shell .expedition-actions>button{width:100%;min-width:0;padding-inline:8px}}
