/* Full-window play. Existing gameplay coordinates, saves and campaign stay intact. */
html,body{width:100%;height:100dvh;margin:0;overflow:hidden;overscroll-behavior:none}body{background:#dce4cc}.left-panel,.right-panel,.site-footer,.game-meta,.table-label,.header-caption{display:none!important}.site-header{position:fixed;inset:8px 12px auto;max-width:none!important;width:auto!important;height:42px;margin:0!important;padding:0 8px!important;border:0!important;z-index:8;background:#fff7e1e8;border-radius:12px;backdrop-filter:blur(9px);box-shadow:0 3px 15px #415c3d19}.site-header .brand{font-size:12px;line-height:1;gap:6px}.brand-mark{width:28px!important;height:26px!important}.brand br{display:none}.site-header nav{display:flex;align-items:center;gap:5px}.site-header nav button{display:flex;align-items:center;justify-content:center;gap:3px;min-height:31px;min-width:32px;padding:4px 7px;margin:0;font-size:14px}.site-header nav .help-button .label{display:none}.site-header nav .journey-nav{font-size:11px}.layout{display:block!important;width:100%!important;max-width:none!important;height:100dvh;margin:0!important;padding:0!important}.layout .game-column{position:fixed;inset:0;width:100%;max-width:none!important;height:100dvh}.layout .game-column .game-stage{position:absolute;inset:0;width:100%;height:100dvh!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;border:0;border-radius:0;box-shadow:none;overflow:hidden}#game{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;touch-action:none}#game:focus-visible{outline:2px solid #aebc8e;outline-offset:-3px}.hud{inset:68px 25px auto!important;padding:0!important;pointer-events:none}.hud button{pointer-events:auto}.hud #score{font-size:36px}.hud .scene-label{font-size:9px}.stack-pill{font-size:12px;background:#fff9e0d9}.pause-button{background:#fff8dfdf}.center-overlay{position:fixed!important;inset:0!important;z-index:6;display:flex;align-items:center;justify-content:center;padding:64px 14px 16px;background:#324c362b;backdrop-filter:blur(3px);overflow:auto}.center-overlay .paper-card{position:relative;inset:auto!important;transform:none!important;width:min(420px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 84px);overflow:auto;padding:25px 26px;border-radius:18px;margin:auto}.paper-card h2{font-size:40px!important}.paper-card .result-score{font-size:42px}.paper-card .primary-button{min-height:44px}.paper-card .tiny{line-height:1.7}.power-bar,.power-bar.with-basket{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(760px,calc(100vw - 28px));z-index:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0!important;border-radius:15px;background:#fff5daeF;box-shadow:0 5px 24px #314a3427;backdrop-filter:blur(10px);overflow:hidden;margin:0;padding:0}.power-bar.with-basket{grid-template-columns:repeat(4,minmax(0,1fr))}.power-bar .power-button,.power-bar.with-basket .power-button{min-width:0;min-height:58px;padding:9px 12px;gap:8px;border-top:0!important}.power-bar .power-button b{font-size:11px!important}.power-bar .power-button small{font-size:8px!important}.power-bar .power-icon{width:29px;height:30px;font-size:21px;flex-shrink:0}.power-bar .charge,.power-bar.with-basket .charge{top:5px;right:7px;font-size:10px}#bebo-companion{position:fixed;left:17px;bottom:87px;margin:0;z-index:3;width:min(320px,36vw);max-width:320px;border-radius:14px;background:#fff4dae6;box-shadow:0 4px 18px #3c513221}#mission-hud{top:128px!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:min(450px,calc(100vw - 40px));background:#fff8dfde;z-index:3}#world-forecast{bottom:90px!important;max-width:min(520px,calc(100vw - 35px));font-size:10px}.effect-badge,.adventure-playing .effect-badge{bottom:125px!important}.combo-badge,.adventure-playing .combo-badge{top:210px!important}#mobile-drop{display:none!important}#journey-map{position:fixed!important;inset:60px auto 14px 50%!important;transform:translateX(-50%);width:min(700px,calc(100vw - 24px));height:auto!important;border-radius:18px;overflow:auto;z-index:5;background:#ede9ce;box-shadow:0 12px 60px #334d3c44}.map-sheet{position:relative;width:100%;height:100%;min-height:640px;overflow:hidden}.map-sheet .map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.map-sheet #map-nodes{position:absolute;inset:0}.map-heading h2{font-size:34px!important}.map-sheet .map-node{width:48px;height:48px}.map-sheet .level-ticket{height:148px;bottom:7%;grid-template-columns:1fr 170px}.map-sheet .ticket-actions .primary-button{font-size:13px;min-height:44px}.map-sheet .ticket-actions .text-button{font-size:10px}.map-sheet .level-ticket h3{font-size:24px}.map-sheet #ticket-goal{font-size:12px}.map-sheet .ticket-bonuses{font-size:9px!important}.map-sheet .map-bottom button{font-size:11px}.map-open .power-bar,.map-open #bebo-companion{display:none!important}#info-dialog{width:min(670px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;border-radius:18px;z-index:12}#info-dialog::backdrop{background:#2946338c;backdrop-filter:blur(4px)}kbd.shortcut{display:inline-grid;place-items:center;min-width:20px;min-height:20px;padding:1px 5px;margin-left:8px;border:1px solid currentColor;border-bottom-width:2px;border-radius:5px;font:700 10px/1.2 system-ui,sans-serif;opacity:.8;flex-shrink:0;vertical-align:middle}button[data-shortcut]{position:relative}.primary-button>kbd.shortcut,.secondary-button>kbd.shortcut{margin-left:auto}.site-header kbd.shortcut{margin-left:3px;min-width:16px;min-height:17px;padding:0 3px;font-size:8px}.map-node>kbd.shortcut{position:absolute;right:-8px;top:-8px;background:#fff2cd;color:#546b42;font-size:9px;min-width:18px;min-height:18px;margin:0}.atlas-card>kbd.shortcut,.skin-card>kbd.shortcut,.keepsake>kbd.shortcut{position:absolute;top:7px;right:7px;margin:0}.toast{z-index:20}button:focus-visible,a:focus-visible{outline:3px solid #d28649;outline-offset:3px}
@media(max-width:650px){.site-header{inset:6px 7px auto;padding:0 5px!important}.site-header nav{gap:2px}.site-header nav button{min-width:28px;padding:4px;gap:1px;font-size:12px}.site-header nav .journey-nav{font-size:9px}.site-header .brand{font-size:10px}.brand-mark{width:23px!important}.hud{inset:61px 13px auto!important}.hud #score{font-size:28px}.hud .scene-label{max-width:180px;line-height:1.5}.power-bar,.power-bar.with-basket{width:calc(100vw - 16px);bottom:8px}.power-bar .power-button,.power-bar.with-basket .power-button{min-height:58px;padding:8px 5px;gap:4px;justify-content:center}.power-bar .power-icon{width:24px;height:26px;font-size:18px}.power-bar .power-button b{font-size:9px!important}.power-bar .power-button small{font-size:7px!important}.power-bar .power-button small>kbd{display:inline}.power-bar.with-basket .power-button{flex-direction:column;gap:1px;min-height:72px}.power-bar.with-basket .power-icon{height:21px;font-size:18px}#bebo-companion{bottom:90px;left:8px;width:190px;max-width:55vw}#bebo-companion .bebo-speech{font-size:10px}#mission-hud{top:112px!important;width:calc(100vw - 30px)}#world-forecast{bottom:170px!important;font-size:8px}.effect-badge,.adventure-playing .effect-badge{bottom:199px!important}.combo-badge,.adventure-playing .combo-badge{top:182px!important}.map-sheet .level-ticket{grid-template-columns:1fr 113px;height:145px;padding:11px}.map-sheet .level-ticket h3{font-size:20px}.map-sheet #ticket-goal{font-size:10px}.map-sheet .ticket-bonuses{font-size:8px!important}.map-sheet .ticket-actions .primary-button{font-size:10px;padding:8px;gap:4px}.map-sheet .ticket-actions .text-button{font-size:8px}.map-sheet .map-bottom button{font-size:8px}.map-sheet{min-height:640px}.map-heading h2{font-size:29px!important}.paper-card h2{font-size:34px!important}.center-overlay .paper-card{padding:21px}.site-header kbd.shortcut{font-size:8px;min-width:14px;padding:0 2px}}
@media(max-height:550px){#bebo-companion{display:none}.hud{top:57px!important}.hud #score{font-size:26px}.center-overlay .paper-card{padding:18px}.paper-card h2{font-size:27px!important}.power-bar .power-button,.power-bar.with-basket .power-button{min-height:48px}.power-bar{bottom:7px}#mission-hud{top:65px!important;width:300px}#world-forecast{bottom:66px!important}.combo-badge,.adventure-playing .combo-badge{top:146px!important}.effect-badge,.adventure-playing .effect-badge{bottom:96px!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Remove inherited minimums and absolute top offsets from the former card layout. */
.site-header{min-height:0!important}.effect-badge,.adventure-playing .effect-badge{top:auto!important}.site-header nav .icon-button{width:auto;height:31px;border-radius:8px}.site-header{gap:8px}.map-sheet .map-heading{z-index:2;pointer-events:none}.map-sheet .chapter-ribbon,.map-sheet .level-ticket,.map-sheet .map-bottom{z-index:3}.power-bar .power-button b{white-space:normal;line-height:1.25}@media(max-width:360px){.site-header .brand>span:last-child{display:none}.site-header nav button{font-size:11px;padding:3px}.power-bar .power-icon{display:grid}}

.map-sheet .map-node{position:absolute}.map-node>kbd.shortcut{left:-14px;right:auto;top:-8px}.center-overlay .paper-card.journey-result{width:min(440px,calc(100vw - 28px))!important;max-width:440px!important}#bebo-companion .bebo-speech p{font-size:12px;line-height:1.4}.site-header nav .journey-nav kbd{display:inline-grid}

/* Georgian labels fit on compact phones; controls retain their accessible names. */
@media(max-width:600px){.site-header nav kbd.shortcut{display:none!important}.site-header{inset:6px;gap:4px;padding:0 6px!important;height:44px}.site-header nav{gap:3px;min-width:0}.site-header nav button,.site-header nav .icon-button{min-width:32px;min-height:36px;padding:3px 5px;font-size:13px}.site-header nav .journey-nav{font-size:0;min-width:34px;width:34px}.site-header nav .journey-nav:before{content:'✿';font-size:18px}.site-header .brand{gap:2px}.site-header .brand-mark{width:24px!important}.site-header .brand>span:last-child{display:none}.site-header nav .language-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:13px}.map-sheet .map-bottom{flex-wrap:wrap;gap:5px}.map-sheet .map-bottom button{min-height:32px}}

.game-column.card-open #bebo-companion,.game-column.card-open .power-bar{visibility:hidden;pointer-events:none}
html[lang="ka"] .result-score:after{content:"ქულა"}
