:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--dpad-size:54px;--action-btn-width:136px;--action-btn-height:42px;--action-btn-gap:8px;--action-btn-font-size:.82rem;--action-btn-safe-left:25%;--action-btn-safe-right:8.5%;--action-btn-icon-offset:25%;--action-btn-right-pad:8.5%;--console-border-width:24px;--slot-size:28px;--inventory-gap:4px;--woodenbadge-min-width:140px;--health-bar-width:56px;background-color:#000;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}html,body{background-color:#000;height:100dvh;margin:0;padding:0;overflow:hidden}#root{justify-content:center;width:100%;height:100dvh;display:flex;overflow:hidden}.game-root-container{background-color:#000;flex-direction:column!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;display:flex!important;overflow:hidden!important}.game-card{min-width:280px;max-width:min(800px,80vh);margin:0 auto;border-radius:0!important;flex-direction:column!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;display:flex!important;overflow:hidden!important}.nimipalkki.card-header{z-index:120;flex-shrink:0;padding:6px 12px;position:relative;overflow:visible!important}.game-card-body{position:relative;flex-direction:column!important;flex:1!important;min-height:0!important;padding:8px!important;display:flex!important;overflow:hidden!important}.status-mode-panel{flex-shrink:0;padding:4px 8px!important}.status-bar-row1{gap:4px;flex-flow:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.status-bar-badges{flex-shrink:1;align-items:center;gap:6px;min-width:0;display:flex;flex-wrap:nowrap!important}.status-mode-badge,.status-turn-badge{white-space:nowrap;padding:3px 6px;font-size:.75rem}.status-toggle-container{white-space:nowrap;flex-shrink:0}.status-toggle-label{white-space:nowrap;font-size:.78rem}.status-bar-row2{margin-top:2px;flex-flow:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.speed-controls-group{align-items:center!important;gap:3px!important;display:flex!important}.speed-control-btn{opacity:.75;cursor:pointer;touch-action:manipulation;transition:all .16s ease-in-out;box-shadow:none!important;background-color:#0000!important;border:2px solid #0000!important;border-radius:6px!important;outline:none!important;flex:none!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:2px!important;display:inline-flex!important}.speed-control-btn:not(:disabled):hover{filter:brightness(1.22);transform:translateY(-1px);opacity:1!important;background-color:#ffffff38!important;box-shadow:0 0 8px #ffffff80!important}.speed-control-btn.selected,.speed-control-btn.active{opacity:1!important;background-color:#ffd70029!important;border:2px solid gold!important;box-shadow:0 0 8px #ffd70099!important}.speed-control-btn.selected:not(:disabled):hover,.speed-control-btn.active:not(:disabled):hover{filter:brightness(1.25);transform:translateY(-1px);opacity:1!important;background-color:#ffd7004d!important;border-color:#ffe033!important;box-shadow:0 0 12px #ffd700d9!important}.speed-control-btn:disabled{opacity:.12!important;cursor:not-allowed!important;pointer-events:none!important;box-shadow:none!important;background-color:#0000!important;border-color:#0000!important;transform:none!important}.speed-btn-img{object-fit:contain;pointer-events:none;width:28px;height:28px;display:block}.scene-viewport-wrapper{aspect-ratio:21/9;flex-shrink:0;margin-bottom:4px!important}.stats-bar-wrapper{flex-shrink:0;height:28px;min-height:28px;margin-bottom:2px}.health-bar-container{width:var(--health-bar-width,56px);flex-shrink:0;min-width:44px}.woodenbadge-wrapper{flex-shrink:0}.woodenbadge{min-width:var(--woodenbadge-min-width,140px);box-sizing:border-box;white-space:nowrap;padding:4px 8px;font-size:.72rem!important}.inventory-container{grid-auto-flow:column;grid-auto-columns:var(--slot-size,28px);grid-template-rows:var(--slot-size,28px);gap:var(--inventory-gap,4px);flex-shrink:0;align-items:center;display:grid;position:relative}.inventory-slot{box-sizing:border-box;line-height:1;transition:all .2s;overflow:hidden;width:var(--slot-size,28px)!important;height:var(--slot-size,28px)!important;min-width:var(--slot-size,28px)!important;max-width:var(--slot-size,28px)!important;min-height:var(--slot-size,28px)!important;max-height:var(--slot-size,28px)!important;flex:0 0 var(--slot-size,28px)!important}.fantasy-console-wrapper{box-sizing:border-box;z-index:30;border-style:solid;border-width:var(--console-border-width,24px);border-image-source:url(./console_frame_clean-D34MsnyI.png);border-image-slice:140 fill;border-image-width:var(--console-border-width,24px);background:#141211 url(./console_bg_clean-DMCEJDaH.png);border-image-repeat:repeat;position:relative;box-shadow:0 4px 16px #000c,inset 0 0 10px #000000e6;flex-direction:row!important;flex:1!important;min-height:0!important;margin:4px 0!important;display:flex!important;overflow:hidden!important}.fantasy-log-scroll-area{box-sizing:border-box;outline:none;scrollbar-width:none!important;-ms-overflow-style:none!important;flex:1!important;min-height:0!important;padding:2px 4px 2px 6px!important;overflow-y:scroll!important}.fantasy-log-scroll-area::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.log-entry{letter-spacing:.2px;word-break:normal;overflow-wrap:break-word;text-shadow:0 1px 2px #000000f2,0 0 5px #000c;margin-bottom:2.5px;padding-bottom:1.5px;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,Georgia,serif;font-size:.82rem;line-height:1.34;transition:color .15s,text-shadow .15s}.log-prompt-symbol{opacity:.85;margin-right:4px;font-weight:600}.log-entry-room-desc{color:#f0a85d}.log-entry-movement{color:#22d3ee}.log-entry-npc-action{color:#52e374}.log-entry-player-action{color:#fbbf24;font-weight:600}.log-entry-victory{color:#fef08a;text-shadow:0 0 10px #facc15cc,0 1px 2px #000;font-weight:700}.log-entry-danger{color:#f87171;text-shadow:0 0 8px #ef444499,0 1px 2px #000}.log-entry-item{color:#fed7aa}.log-entry-default{color:#e2e8f0}.log-entry-latest{animation:1.2s ease-out logGlow}.log-entry-latest-npc{color:#a7f3d0!important;text-shadow:0 0 8px #6ee7b7d9,0 0 3px #10b981e6,0 1px 2px #000!important}@keyframes logGlow{0%{filter:brightness(1.4);text-shadow:0 0 12px #ffffffe6,0 0 6px #ffd700cc}to{filter:brightness()}}.log-count-badge{color:#fde047;vertical-align:middle;background:#1e1810d9;border:1px solid #92753b;border-radius:4px;margin-left:6px;padding:1px 5px;font-family:system-ui,sans-serif;font-size:.68rem;font-weight:700;display:inline-block;box-shadow:0 1px 3px #0009,inset 0 1px 2px #ffd70033}.log-divider{opacity:.6;justify-content:center;align-items:center;gap:8px;margin:4px 0;display:flex}.log-divider-line{background:linear-gradient(90deg,#0000,#b48c46,#0000);flex:1;height:1px}.log-divider-gem{color:#e5b358;font-size:.65rem}.fantasy-scrollbar{-webkit-user-select:none;user-select:none;flex-direction:column;flex-shrink:0;justify-content:space-between;align-items:center;width:22px;margin-left:4px;padding:1px 0;display:flex;position:relative}.fantasy-scroll-arrow{cursor:pointer;z-index:2;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:16px;transition:transform .1s,filter .15s;display:flex;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.fantasy-scroll-arrow:hover{filter:brightness(1.3)drop-shadow(0 0 4px #ffd70099);transform:scale(1.1)}.fantasy-scroll-arrow:active{transform:scale(.92)}.fantasy-scroll-arrow img{pointer-events:none;width:14px;height:auto;display:block}.fantasy-scroll-track-wrapper{cursor:pointer;flex:1;justify-content:center;width:100%;margin:2px 0;display:flex;position:relative}.fantasy-scroll-groove{background:#0d0b0a;border:1px solid #a07d41b3;border-radius:999px;width:8px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);box-shadow:inset 0 2px 5px #000000f2,0 0 4px #000000b3}.fantasy-scroll-rail{background:linear-gradient(#594723,#a4823e 50%,#594723);border-radius:1px;width:2px;position:absolute;top:3px;bottom:3px;left:50%;transform:translate(-50%)}.fantasy-scroll-thumb{cursor:grab;z-index:3;touch-action:none;justify-content:center;align-items:center;width:22px;transition:filter .15s;display:flex;position:absolute;left:50%;transform:translate(-50%)}.fantasy-scroll-thumb:hover{filter:brightness(1.25)drop-shadow(0 0 6px #ffd700b3)}.fantasy-scroll-thumb:active,.fantasy-scroll-thumb.dragging{cursor:grabbing;filter:brightness(1.35)drop-shadow(0 0 8px #ffe132e6)}.fantasy-scroll-thumb img{pointer-events:none;width:20px;height:auto;display:block}.bottom-controls-wrapper{flex-shrink:0;margin-top:auto;padding:2px 0 0}.bottom-controls-panel{box-sizing:border-box;padding:0 8px;flex-flow:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;display:flex!important}.dpad-grid{grid-template-columns:repeat(3, var(--dpad-size,54px));grid-template-rows:repeat(3, var(--dpad-size,54px));z-index:30;flex-shrink:0;gap:0;display:grid;position:relative}.dpad-btn{width:var(--dpad-size,54px);height:var(--dpad-size,54px);cursor:pointer;touch-action:manipulation;outline:none;background-color:#0000!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:contain!important;border:none!important;margin:0!important;padding:0!important}.dpad-btn:active{transform:scale(.94)}.action-buttons-column{z-index:10;position:relative;gap:var(--action-btn-gap,8px)!important;width:var(--action-btn-width,136px)!important;max-width:var(--action-btn-width,136px)!important;flex-direction:column!important;flex:0 0 var(--action-btn-width,136px)!important;flex-shrink:0!important;display:flex!important}.game-log-console.classic-console{box-sizing:border-box;background-color:#000!important;border:1px solid #6c757d!important;border-radius:.375rem!important;flex:1!important;min-height:0!important;margin:6px 0!important;padding:6px 10px!important;overflow-y:auto!important}.classic-console .log-entry{font-family:var(--bs-font-monospace,SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace)!important;color:#198754!important;letter-spacing:-.2px!important;text-shadow:none!important;margin-bottom:2px!important;padding-bottom:2px!important;font-size:.78rem!important;line-height:1.22!important}.classic-console .log-prompt-symbol{color:#198754!important}.action-btn.btn{height:var(--action-btn-height,38px);white-space:nowrap;letter-spacing:.5px;touch-action:manipulation;border-radius:6px;justify-content:center;align-items:center;display:flex;box-shadow:0 2px 4px #0006;font-size:var(--action-btn-font-size,.82rem)!important;padding:0 8px!important;font-weight:700!important}.action-btn-enhanced{cursor:pointer;touch-action:manipulation;outline:none;transition:transform .12s,filter .15s,box-shadow .15s;box-shadow:0 4px 10px #000000b3;width:var(--action-btn-width,136px)!important;max-width:var(--action-btn-width,136px)!important;height:var(--action-btn-height,42px)!important;flex:0 0 var(--action-btn-height,42px)!important;background-color:#0000!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:100% 100%!important;border:none!important;border-radius:6px!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0!important;display:flex!important;position:relative!important;overflow:hidden!important}.action-btn-enhanced:hover{filter:brightness(1.22);transform:translateY(-1.5px)scale(1.01);box-shadow:0 0 12px #ffd70080,0 4px 14px #000000e6}.action-btn-enhanced:active{filter:brightness(.9);transform:scale(.96)translateY(1px);box-shadow:0 2px 6px #000c}.action-btn-enhanced:focus-visible{outline-offset:2px;outline:2px solid gold!important}.action-btn-use{background-image:url(./btn_use_item-BU0rbVgr.png)}.action-btn-take{background-image:url(./btn_take_item-CUsmIYSs.png)}.action-btn-drop{background-image:url(./btn_drop_item-BNYVJ_9i.png)}.auto-shrink-text-container{left:var(--action-btn-safe-left,25%)!important;right:var(--action-btn-safe-right,8.5%)!important;max-width:var(--action-btn-width,136px)!important;pointer-events:none!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0 2px!important;display:flex!important;position:absolute!important;top:0!important;bottom:0!important;overflow:visible!important}.action-btn-label{text-transform:uppercase;letter-spacing:.5px;color:#fff4d6;text-shadow:0 1px 2px #000000f2,0 2px 4px #000000e6,0 0 5px #000000d9;-webkit-user-select:none;user-select:none;pointer-events:none;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif;font-weight:800;line-height:1;white-space:nowrap!important;text-align:center!important;display:inline-block!important;overflow:visible!important}@media (width<=412px){:root{--dpad-size:52px;--action-btn-width:126px;--action-btn-height:39px;--action-btn-gap:8px;--action-btn-font-size:.8rem;--action-btn-safe-left:25%;--action-btn-safe-right:8.5%;--action-btn-icon-offset:25%;--action-btn-right-pad:8.5%;--console-border-width:20px;--woodenbadge-min-width:135px}.log-entry{letter-spacing:-.1px;font-size:.74rem;line-height:1.25}}@media (width<=380px){:root{--dpad-size:42px;--action-btn-width:114px;--action-btn-height:35px;--action-btn-gap:6px;--action-btn-font-size:.72rem;--action-btn-safe-left:25%;--action-btn-safe-right:8.5%;--action-btn-icon-offset:25%;--action-btn-right-pad:8.5%;--console-border-width:16px;--slot-size:24px;--inventory-gap:3px;--woodenbadge-min-width:120px;--health-bar-width:46px}.status-mode-panel{padding:3px 6px!important}.status-bar-row1{gap:2px!important}.status-bar-badges{gap:3px!important}.status-mode-badge,.status-turn-badge{padding:2px 4px!important;font-size:.68rem!important}.status-mode-badge .mode-icon{font-size:.75rem!important}.status-toggle-container .custom-dark-switch{width:2.1em!important;height:1.1em!important}.status-toggle-label{font-size:.7rem!important}.speed-controls-group{gap:2px!important}.speed-control-btn{border-radius:5px!important;padding:1px!important}.speed-btn-img{width:24px!important;height:24px!important}.health-bar-container{width:46px!important;min-width:40px!important}.health-bar-container .progress-bar{font-size:.68rem!important}.woodenbadge{min-width:120px!important;padding:3px 6px!important;font-size:.65rem!important}.game-log-console{margin:3px 0!important;padding:4px 6px!important}.log-entry{letter-spacing:-.42px;line-height:1.18;margin-bottom:2px!important;padding-bottom:2px!important;font-size:.66rem!important}.bottom-controls-panel{padding:0 4px!important}}@media (height<=700px){:root{--dpad-size:40px;--action-btn-width:110px;--action-btn-height:34px;--action-btn-gap:5px;--action-btn-font-size:.7rem;--action-btn-safe-left:25%;--action-btn-safe-right:8.5%;--action-btn-icon-offset:25%;--action-btn-right-pad:8.5%;--console-border-width:18px;--slot-size:24px;--woodenbadge-min-width:120px}.nimipalkki.card-header{padding:3px 8px!important}.pelinnimi{font-size:1.05rem!important}.nimipalkki button{min-width:65px!important;padding:2px 6px!important;font-size:.78rem!important}.status-mode-panel{padding:3px 6px!important}.speed-controls-group{gap:2px!important}.speed-control-btn{border-radius:5px!important;padding:1px!important}.speed-btn-img{width:22px!important;height:22px!important}.game-card-body{padding:4px 6px!important}.scene-viewport-wrapper{margin-bottom:3px!important}.fantasy-console-wrapper{margin:2px 0!important}.fantasy-log-scroll-area{padding:2px 3px!important}.log-entry{line-height:1.18;margin-bottom:1.5px!important;padding-bottom:1.5px!important;font-size:.68rem!important}.bottom-controls-wrapper{padding:1px 0 0!important}}@media (width<=360px) and (height<=650px){:root{--dpad-size:38px;--action-btn-width:104px;--action-btn-height:32px;--action-btn-gap:4px;--action-btn-font-size:.66rem;--action-btn-safe-left:25%;--action-btn-safe-right:8.5%;--action-btn-icon-offset:25%;--action-btn-right-pad:8.5%;--console-border-width:14px}.log-entry{letter-spacing:-.2px;line-height:1.14;margin-bottom:1px!important;padding-bottom:1px!important;font-size:.65rem!important}}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@keyframes logFlash{0%{color:#fff;background-color:#19875466;padding-left:8px}to{background-color:#0000;padding-left:0}}.log-flash-anim{animation:.4s ease-out logFlash}.portrait-lock-overlay,body.gppc-mode .portrait-lock-overlay,body.is-landscape .portrait-lock-overlay,html.gppc-mode .portrait-lock-overlay,html.is-landscape .portrait-lock-overlay,.game-root-container.is-landscape .portrait-lock-overlay,.game-root-container.gppc-landscape .portrait-lock-overlay{display:none!important}body.gppc-mode .card,body.is-landscape .card,html.gppc-mode .card,html.is-landscape .card,.game-root-container.is-landscape .card,.game-root-container.gppc-landscape .card{opacity:1!important;pointer-events:auto!important}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#000;border-left:1px solid #1a1a1a}::-webkit-scrollbar-thumb{background:#198754;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#146c43}.nimipalkki{color:#fff;background:linear-gradient(#225e5c,#193a4b)}.pelinnimi{color:#35745f;text-shadow:2px 2px 6px #0009;font-family:Palatino Linotype,Book Antiqua,Palatino,serif}.custom-dark-switch .form-check-input{background-color:#4a4d4e;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23c4c4c4'/%3e%3c/svg%3e");border-color:#4a4d4e;width:2.5em;height:1.25em}.custom-dark-switch .form-check-input:focus{box-shadow:none;border-color:#4a4d4e}.custom-dark-switch .form-check-input:checked{background-color:#62aa83;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");border-color:#62aa83}.enhanced-fantasy-theme{background:#0b0c10 url(./bg_runes_fiery-Btu4KyLp.jpg) 50%/cover no-repeat fixed!important}.game-card-enhanced{-webkit-backdrop-filter:blur(2px);background:#0a0c1047!important;border:1px solid #d4af3759!important;box-shadow:0 0 30px #000000d9,inset 0 0 15px #d4af370d!important}.nimipalkki-enhanced{-webkit-backdrop-filter:blur(4px);box-shadow:0 3px 12px #00000080;background:linear-gradient(#1d3e388c 0%,#112520a6 100%)!important;border-bottom:2px solid #b8860bb3!important}.enhanced-fantasy-theme .status-mode-panel{-webkit-backdrop-filter:blur(3px);background:#0e1c164d!important;border-color:#4ade804d!important}.nimipalkki-enhanced .pelinnimi{letter-spacing:.5px;color:#4ade80!important;text-shadow:0 0 10px #4ade8080,1px 1px 3px #000000e6!important;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif!important}.enhanced-viewport-frame{border:2px solid #b8860b!important;box-shadow:0 0 16px #000000f2,inset 0 0 12px #000c!important}.enhanced-viewport-gold-frame-overlay{pointer-events:none;z-index:5;background:url(./viewport_frame_gold-Csz_Xlx7.png) 50%/100% 100% no-repeat;position:absolute;inset:0}.enhanced-room-nameplate-badge{z-index:6;pointer-events:none;filter:drop-shadow(0 2px 6px #000000e6);box-sizing:border-box;background:url(./room_nameplate-UEWC6kD_.png) 50%/100% 100% no-repeat;justify-content:center;align-items:center;width:auto;min-width:90px;max-width:calc(100% - 16px);height:52px;padding:0 20px 6px;display:inline-flex;position:absolute;top:8px;left:8px}.enhanced-room-nameplate-label{color:#f7e2a9;letter-spacing:.6px;text-shadow:0 1px 3px #000000f2,0 0 8px #b8860b99;white-space:nowrap;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,Georgia,serif;font-size:.82rem;font-weight:700}.stats-bar-enhanced{-webkit-backdrop-filter:blur(3px);margin-top:4px;background:#10141a59!important;border:1px solid #b8860b73!important;height:48px!important;min-height:48px!important;padding:3px 8px!important;box-shadow:inset 0 0 10px #00000080,0 2px 8px #0006!important}.enhanced-health-pill-wrapper{cursor:help;filter:drop-shadow(0 2px 4px #000c);flex-shrink:0;align-items:center;height:36px;display:flex}.enhanced-health-bg-img,.enhanced-health-orb-icon{z-index:2;flex-shrink:0;width:36px;height:36px;display:block}.enhanced-health-bar-track{z-index:1;background:linear-gradient(#0e0a0a 0%,#221a17 50%,#0e0a0a 100%);border:1.5px solid #b8860ba6;border-left:none;border-radius:0 11px 11px 0;justify-content:center;align-items:center;width:50px;height:22px;margin-left:-6px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px 4px #000000e6,0 1px 2px #00000080}.enhanced-health-bar-fill{border-radius:inherit;z-index:1;background:linear-gradient(#d82b48 0%,#b81b36 45%,#720e1d 100%);height:100%;transition:width .25s ease-out;position:absolute;top:0;bottom:0;left:0;box-shadow:0 0 6px #d82b4899}.enhanced-health-value{z-index:3;color:#fff;letter-spacing:.3px;text-shadow:0 1px 2px #000000f2,0 0 3px #000000e6;pointer-events:none;white-space:nowrap;justify-content:center;align-items:center;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif;font-size:.5rem;font-weight:700;line-height:1;display:flex;position:absolute;inset:0}.enhanced-temp-capsule-wrapper{filter:drop-shadow(0 2px 5px #000000d9);flex:auto;justify-content:center;align-items:center;min-width:0;height:42px;display:flex}.enhanced-temp-bg-img{object-fit:contain;width:auto;max-width:100%;height:42px;transition:opacity .2s;display:block}.enhanced-temp-value{color:#fff;text-shadow:0 1px 3px #000000f2;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif;font-size:.7rem;font-weight:700;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.enhanced-temp-gauge-container{justify-content:center;align-items:center;display:inline-flex;position:relative}.enhanced-temp-bulb-img{z-index:2;pointer-events:none;width:auto;height:54px;transition:opacity .2s;display:block;position:absolute;top:50%;left:-16px;transform:translateY(-50%)}.enhanced-firewood-count,.enhanced-logs-value{color:#fff;letter-spacing:.2px;text-shadow:0 1px 3px #000000f2,0 0 4px #000000e6;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:2;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif;font-size:.74rem;font-weight:700;line-height:1;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.enhanced-inventory-slots-wrapper{flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.enhanced-inv-slot{filter:drop-shadow(0 2px 4px #0009);flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex;position:relative}.enhanced-inv-slot-bg{object-fit:contain;width:100%;height:100%;display:block}.enhanced-inv-icon-img{object-fit:contain;filter:drop-shadow(0 1px 2px #000000e6);width:28px;height:28px;position:absolute}.enhanced-inv-icon-emoji{font-size:1.25rem;line-height:1;position:absolute}.controls-panel-enhanced{padding:2px 6px!important}.enhanced-compass-container{aspect-ratio:1;z-index:30;flex-shrink:0;justify-content:center;align-items:center;width:118px;height:118px;display:flex;position:relative}.enhanced-compass-bg-img{object-fit:contain;filter:drop-shadow(0 4px 10px #000000e6);pointer-events:none;width:100%;height:100%}.enhanced-compass-btn{cursor:pointer;touch-action:manipulation;filter:drop-shadow(0 2px 4px #000000b3);border-radius:6px;outline:none;transition:transform 80ms cubic-bezier(.2,0,0,1),filter .12s;position:absolute;background-color:#0000!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:contain!important;border:none!important;margin:0!important;padding:0!important}.enhanced-compass-btn:hover{filter:brightness(1.22)drop-shadow(0 0 7px #ffd700b3)}.enhanced-compass-north{width:26%;height:31.5%;top:2%;left:50%;transform:translate(-50%)}.enhanced-compass-north:active{filter:brightness(.85)drop-shadow(0 1px 2px #000000e6);transform:translate(-50%)scale(.92)translateY(2px)}.enhanced-compass-south{width:26%;height:31.5%;bottom:2%;left:50%;transform:translate(-50%)}.enhanced-compass-south:active{filter:brightness(.85)drop-shadow(0 1px 2px #000000e6);transform:translate(-50%)scale(.92)translateY(-2px)}.enhanced-compass-west{width:31.5%;height:26%;top:50%;left:2%;transform:translateY(-50%)}.enhanced-compass-west:active{filter:brightness(.85)drop-shadow(0 1px 2px #000000e6);transform:translateY(-50%)scale(.92)translate(2px)}.enhanced-compass-east{width:31.5%;height:26%;top:50%;right:2%;transform:translateY(-50%)}.enhanced-compass-east:active{filter:brightness(.85)drop-shadow(0 1px 2px #000000e6);transform:translateY(-50%)scale(.92)translate(-2px)}.enhanced-compass-center{width:27%;height:27%;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%!important}.enhanced-compass-center:active{filter:brightness(.85)drop-shadow(0 1px 2px #000000e6);transform:translate(-50%,-50%)scale(.88)}@media (height<=700px){.enhanced-compass-container{width:96px;height:96px}.enhanced-room-nameplate-badge{width:auto;min-width:80px;height:44px;padding:0 16px 5px;top:6px;left:6px}.enhanced-room-nameplate-label{font-size:.72rem}.stats-bar-enhanced{height:42px!important;min-height:42px!important;padding:2px 6px!important}.enhanced-health-pill-wrapper{height:32px}.enhanced-health-bg-img,.enhanced-health-orb-icon{width:32px;height:32px}.enhanced-health-bar-track{border-radius:0 9px 9px 0;width:44px;height:18px;margin-left:-5px}.enhanced-health-value{font-size:.46rem}.enhanced-temp-capsule-wrapper,.enhanced-temp-bg-img{height:36px}.enhanced-temp-bulb-img{height:46px;left:-14px}.enhanced-firewood-count,.enhanced-logs-value{font-size:.65rem;right:11px}.enhanced-inventory-slots-wrapper{gap:4px}.enhanced-inv-slot{width:36px;height:36px}.enhanced-inv-icon-img{width:25px;height:25px}.enhanced-inv-icon-emoji{font-size:1.1rem}}@media (width<=380px){.enhanced-inventory-slots-wrapper{gap:3px}.enhanced-inv-slot{width:34px;height:34px}.enhanced-inv-icon-img{width:23px;height:23px}.enhanced-inv-icon-emoji{font-size:1rem}}.enhanced-fantasy-theme{z-index:0;position:relative}.action-buttons-column{z-index:10!important;width:var(--action-btn-width,136px)!important;max-width:var(--action-btn-width,136px)!important;flex:0 0 var(--action-btn-width,136px)!important;position:relative!important}.ambient-effects-layer{height:45%;z-index:20!important;pointer-events:none!important;width:100%!important;position:absolute!important;bottom:0!important;left:0!important;overflow:hidden!important}.ambient-effects-layer canvas{pointer-events:none!important;width:100%!important;height:100%!important;display:block!important;position:absolute!important;top:0!important;left:0!important}.game-log-console,.fantasy-console-wrapper,.game-log-console.classic-console,.enhanced-compass-container,.dpad-grid{z-index:30!important;position:relative!important}.menu-card-body{background-color:#212529!important;width:100%!important}.menu-card-body-landscape,.game-card-landscape .menu-card-body,.game-root-container.is-landscape .menu-card-body{-webkit-overflow-scrolling:touch;justify-content:flex-start!important;align-items:center!important;padding:8px 12px!important;overflow-y:auto!important}@supports (justify-content:safe center){.menu-card-body-landscape,.game-card-landscape .menu-card-body,.game-root-container.is-landscape .menu-card-body{justify-content:safe center!important}}.menu-content-landscape,.game-card-landscape .menu-content-container,.game-root-container.is-landscape .menu-content-container{margin-top:0!important;margin-bottom:auto!important;padding-top:2px!important;padding-bottom:12px!important}.game-card-landscape .menu-main-title,.game-root-container.is-landscape .menu-main-title{margin-top:2px!important;margin-bottom:2px!important;font-size:1.55rem!important;line-height:1.2!important}.game-card-landscape .menu-subtitle,.game-root-container.is-landscape .menu-subtitle{margin-bottom:8px!important;font-size:.84rem!important;line-height:1.3!important}.game-card-landscape .menu-card-body .card,.game-root-container.is-landscape .menu-card-body .card{padding:10px 14px!important}.game-card-landscape .menu-card-body .difficulty-segmented-control,.game-root-container.is-landscape .menu-card-body .difficulty-segmented-control{margin-bottom:8px!important}.game-card-landscape .menu-card-body .difficulty-tab-btn,.game-root-container.is-landscape .menu-card-body .difficulty-tab-btn{padding:5px 3px!important;font-size:.82rem!important}.game-card-landscape .menu-card-body .menu-enter-btn,.game-root-container.is-landscape .menu-card-body .menu-enter-btn{padding:8px 14px!important;font-size:1.15rem!important}.game-card-landscape .menu-card-body .menu-patch-notes-btn,.game-root-container.is-landscape .menu-card-body .menu-patch-notes-btn{padding:4px 10px!important;font-size:.8rem!important}@media (orientation:landscape){.menu-card-body{justify-content:flex-start!important}.menu-card-body .menu-content-container{margin-top:0!important}@supports (justify-content:safe center){.menu-card-body{justify-content:safe center!important}}}.menu-stat-chip{color:#d1d5db!important;white-space:nowrap!important;background-color:#212529!important;border:1px solid #495057!important;border-radius:6px!important;align-items:center!important;gap:4px!important;padding:5px 12px!important;font-size:.85rem!important;font-weight:500!important;display:inline-flex!important}.classic-mode-card{transition:border-color .15s,transform .1s}.classic-mode-card:hover{border-color:#198754!important}.menu-enter-btn{transition:background-color .15s,transform .1s;box-shadow:0 4px 12px #0006;color:#fff!important;background-color:#198754!important;border:none!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:12px 20px!important;font-size:1.25rem!important;font-weight:700!important;display:flex!important}.menu-enter-btn:hover{color:#fff!important;background-color:#157347!important}.menu-enter-btn:active{transform:scale(.99);background-color:#146c43!important}.difficulty-tab-btn{color:#9ca3af;background-color:#0000;border:none}.difficulty-tab-btn:hover:not(.active){color:#e5e7eb;background-color:#ffffff0d}.difficulty-tab-btn.active.difficulty-tab-easy{box-shadow:0 2px 6px #19875466;color:#fff!important;background-color:#198754!important}.difficulty-tab-btn.active.difficulty-tab-hard{box-shadow:0 2px 6px #d9770666;color:#fff!important;background-color:#d97706!important}.difficulty-tab-btn.active.difficulty-tab-impossible{box-shadow:0 2px 6px #dc354566;color:#fff!important;background-color:#dc3545!important}.menu-enter-btn.menu-enter-hard{background-color:#d97706!important}.menu-enter-btn.menu-enter-hard:hover{background-color:#b45309!important}.menu-enter-btn.menu-enter-hard:active{background-color:#92400e!important}.menu-enter-btn.menu-enter-impossible{background-color:#dc3545!important}.menu-enter-btn.menu-enter-impossible:hover{background-color:#bb2d3b!important}.menu-enter-btn.menu-enter-impossible:active{background-color:#b02a37!important}.menu-patch-notes-btn{transition:all .2s;color:#adb5bd!important;background-color:#202427!important;border:1px solid #374151!important;border-radius:9999px!important;align-items:center!important;gap:8px!important;padding:8px 24px!important;font-size:.9rem!important;display:inline-flex!important}.menu-patch-notes-btn:hover{color:#f3f4f6!important;background-color:#2a3035!important;border-color:#4b5563!important}.stats-bar-wrapper,.stats-bar-enhanced{z-index:45;position:relative;overflow:visible!important}.enhanced-temp-capsule-wrapper,.woodenbadge-wrapper,.enhanced-health-pill-wrapper{cursor:help;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.thermometer-touch-tooltip{color:#f7e2a9;text-align:left;white-space:nowrap;pointer-events:none;z-index:100;background:#100e0cf5;border:1.5px solid #c59958;border-radius:6px;min-width:215px;max-width:260px;padding:7px 10px;font-family:Cinzel,Palatino Linotype,Book Antiqua,Palatino,serif;font-size:.72rem;line-height:1.35;animation:.12s ease-out tooltipFadeIn;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 6px 18px #000000f2,0 0 10px #c5995859}.thermometer-touch-tooltip:after{content:"";border:6px solid #0000;border-top-color:#c59958;position:absolute;top:100%;left:50%;transform:translate(-50%)}.health-touch-tooltip{min-width:auto;left:0;transform:none}.health-touch-tooltip:after{left:24px;transform:none}.thermometer-tooltip-title{color:#fff;border-bottom:1px solid #c5995859;margin-bottom:3px;padding-bottom:3px;font-weight:700}.thermometer-tooltip-row{color:#e2e8f0;margin-top:2px}.thermometer-tooltip-status{color:#fde047;white-space:normal;margin:2px 0;font-family:system-ui,-apple-system,sans-serif;font-size:.68rem;font-style:italic}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%)translateY(4px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.game-root-container.is-landscape,.game-root-container.gppc-landscape{background-color:#040505!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;display:flex!important;overflow:hidden!important}.game-root-container.is-landscape .game-card,.game-root-container.gppc-landscape .game-card,.game-card.game-card-landscape{border:1px solid #1e3a2f!important;border-radius:6px!important;width:100%!important;max-width:min(100vw,177.778dvh)!important;height:100%!important;max-height:min(100dvh,56.25vw)!important;margin:auto!important;box-shadow:0 0 50px #000000f2!important}@media (aspect-ratio>=16/9){.game-root-container.is-landscape .game-card,.game-root-container.gppc-landscape .game-card{max-width:100%!important}}.game-card-landscape .nimipalkki{padding:4px 12px!important}.status-mode-panel-landscape{box-sizing:border-box!important;z-index:35!important;background-color:#101012!important;border:1px solid #2e2e34!important;border-radius:6px!important;flex-direction:row!important;flex-shrink:0!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:38px!important;max-height:42px!important;padding:4px 14px!important;display:flex!important}.status-bar-landscape-left{align-items:center!important;gap:8px!important;display:flex!important}.status-bar-landscape-left .status-turn-badge{color:#f0f0f0!important;background-color:#1a1a1e!important;border:1px solid #3c3c44!important;border-radius:4px!important;padding:4px 10px!important;font-size:.85rem!important}.status-bar-landscape-left .status-sound-btn{color:#e0e0e0!important;background-color:#1a1a1e!important;border:1px solid #3c3c44!important;border-radius:4px!important;padding:3px 8px!important;font-size:.85rem!important}.status-bar-landscape-center{justify-content:center!important;align-items:center!important;display:flex!important}.status-bar-landscape-center .form-check-label{color:#e0e0e0!important;margin-left:6px!important;font-size:.85rem!important;font-weight:600!important}.status-bar-landscape-right{justify-content:flex-end!important;align-items:center!important;display:flex!important}.status-bar-landscape-right .form-check-label{color:#e0e0e0!important;margin-left:6px!important;font-size:.85rem!important;font-weight:600!important}.game-card-body-landscape{box-sizing:border-box!important;flex-flow:column!important;flex:1!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;padding:6px 8px!important;display:flex!important;position:relative!important;overflow:hidden!important}.game-landscape-columns-container{flex-flow:row!important;flex:1!important;gap:8px!important;width:100%!important;min-height:0!important;padding:0!important;display:flex!important;overflow:hidden!important}.game-landscape-col-left{z-index:20;position:relative;flex-direction:column!important;flex:50%!important;justify-content:flex-start!important;gap:4px!important;width:50%!important;min-width:0!important;max-width:50%!important;height:100%!important;display:flex!important;overflow:hidden!important}.game-landscape-col-left .scene-viewport-wrapper{aspect-ratio:21/9!important;border-radius:6px!important;flex:none!important;justify-content:center!important;align-items:center!important;width:100%!important;margin-bottom:0!important;display:flex!important;position:relative!important;overflow:hidden!important;box-shadow:0 4px 18px #000000b3!important}.game-landscape-col-left .scene-viewport-wrapper canvas{object-fit:contain!important;width:100%!important;height:100%!important}.game-landscape-col-left .stats-bar-wrapper{flex-shrink:0!important;width:100%!important;height:34px!important;min-height:34px!important;margin:0!important}.landscape-action-panel,.landscape-inventory-panel{box-sizing:border-box!important;border-style:solid!important;border-width:14px!important;background:#141211 url(./console_bg_clean-DMCEJDaH.png)!important;border-image-source:url(./console_frame_clean-D34MsnyI.png)!important;border-image-slice:140 fill!important;border-image-width:14px!important;border-image-repeat:repeat!important;border-radius:4px!important;flex-direction:row!important;flex:none!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;width:100%!important;height:auto!important;min-height:56px!important;max-height:none!important;margin-top:auto!important;padding:4px 8px!important;display:flex!important;box-shadow:0 4px 16px #000c,inset 0 0 10px #000000e6!important}.landscape-action-panel .action-buttons-row-landscape,.landscape-action-panel .action-buttons-column,.action-buttons-row-landscape{box-sizing:border-box!important;flex-direction:row!important;flex:100%!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;display:flex!important}.action-buttons-row-landscape .action-btn,.action-buttons-row-landscape .action-btn-enhanced,.landscape-action-panel .action-btn,.landscape-action-panel .action-btn-enhanced{aspect-ratio:512/158!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:100% 100%!important;flex:1!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:38px!important;max-height:clamp(42px,12vh,110px)!important;margin:0!important}.action-buttons-row-landscape .auto-shrink-text-container,.landscape-action-panel .auto-shrink-text-container{width:auto!important;max-width:100%!important;left:23%!important;right:8%!important}.landscape-inventory-slot{background-color:#0c0b0a;border:2px solid #363029;border-radius:4px;justify-content:center;align-items:center;transition:border-color .15s,background-color .15s;display:flex;position:relative;box-shadow:inset 0 2px 8px #000000d9;flex:1!important;height:100%!important;min-height:0!important}.landscape-inventory-slot.has-item{cursor:pointer;border-color:#5c4e3e}.landscape-inventory-slot.has-item:hover{background-color:#1a1715;border-color:#d4a373}.landscape-inventory-slot-img{object-fit:contain;filter:drop-shadow(0 2px 4px #000c);max-width:65%;max-height:65%}.landscape-inventory-slot-emoji{font-size:2.2rem;line-height:1}.game-landscape-col-right{z-index:25;position:relative;flex-direction:column!important;flex:50%!important;justify-content:flex-start!important;gap:4px!important;width:50%!important;min-width:0!important;max-width:50%!important;height:100%!important;display:flex!important;overflow:hidden!important}.game-landscape-col-right .fantasy-console-wrapper{flex:1!important;min-height:170px!important;margin:0!important}.game-landscape-col-right .bottom-controls-wrapper{flex-shrink:0!important;justify-content:flex-end!important;align-items:center!important;width:100%!important;height:auto!important;min-height:98px!important;margin-top:auto!important;padding:0 16px 12px 0!important;display:flex!important}.game-landscape-col-right .enhanced-compass-container,.enhanced-compass-container.compass-landscape{aspect-ratio:1!important;flex-shrink:0!important;width:clamp(96px,24vh,210px)!important;min-width:96px!important;height:clamp(96px,24vh,210px)!important;min-height:96px!important;margin:0 4px 0 auto!important}.game-landscape-col-right .dpad-grid,.dpad-grid.dpad-landscape{transform:scale(clamp(.9, 1.8vh, 1.5))!important;transform-origin:100%!important;margin:0 4px 0 auto!important}@media (orientation:landscape) and (width>=768px){.game-root-container{background-color:#040505!important;justify-content:center!important;align-items:center!important}}.sauna-lang-dropdown{z-index:130;align-items:center;display:inline-flex;position:relative}.sauna-lang-select{cursor:pointer;white-space:nowrap;color:#f8f9fa!important;background-color:#16181c!important;border:1px solid #495057!important;border-radius:5px!important;padding:2px 8px!important;font-size:.78rem!important;font-weight:600!important;line-height:1.3!important}.sauna-lang-select:hover{background-color:#20242a!important;border-color:#c59958!important}.sauna-lang-flag-svg{border-radius:2px;flex-shrink:0;display:block;box-shadow:0 0 0 1px #ffffff38}.sauna-lang-short-label{letter-spacing:.2px}.sauna-lang-chevron{opacity:.85;margin-left:1px}.sauna-lang-menu{z-index:200;background-color:#15171b;border:1px solid #4b5563;border-radius:8px;min-width:184px;max-height:min(320px,70dvh);margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 10px 28px #000000e6}.sauna-lang-menu-item{margin:0;padding:0;list-style:none}.sauna-lang-option{color:#e5e7eb;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:5px;align-items:center;gap:8px;width:100%;padding:6px 8px;font-size:.8rem;font-weight:500;display:flex}.sauna-lang-option:hover{color:#fff;background-color:#262b33;border-color:#0000}.sauna-lang-option.active{color:#86efac;background-color:#19875447;font-weight:700}.sauna-lang-option-label{white-space:nowrap;flex:auto}.sauna-lang-check{color:#4ade80;font-size:.78rem;font-weight:700}.game-root-container button:focus-visible,.game-root-container select:focus-visible,.game-root-container input:focus-visible,[role=dialog] button:focus-visible,[role=dialog] select:focus-visible,[role=dialog] input:focus-visible{outline-offset:2px!important;outline:2px solid gold!important;box-shadow:0 0 10px #ffd7008c!important}
