.game-canvas[data-v-ae96a1f8]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden;touch-action:manipulation;outline-offset:-5px}.game-canvas[data-v-ae96a1f8] canvas{display:block}.game-canvas[data-v-ae96a1f8]:focus-visible{outline:3px solid #e8a443}.hud[data-v-c38ae3c9]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.hud-stat[data-v-c38ae3c9]{min-width:0;padding:8px 10px;border-left:3px solid #e8a443;background:#fff9ea}.hud-stat span[data-v-c38ae3c9],.hud-stat strong[data-v-c38ae3c9]{display:block;white-space:nowrap}.hud-stat span[data-v-c38ae3c9]{color:#486459;font-size:11px;font-weight:700;text-transform:uppercase}.hud-stat strong[data-v-c38ae3c9]{font-size:19px;line-height:1.25;font-variant-numeric:tabular-nums}@media (max-width: 359px){.hud[data-v-c38ae3c9]{gap:4px}.hud-stat[data-v-c38ae3c9]{padding:7px 5px}.hud-stat strong[data-v-c38ae3c9]{font-size:16px}}.run-menu[data-v-784b8be3]{display:flex;flex-direction:column;gap:12px}.cargo-info[data-v-784b8be3]{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;min-height:36px}.cargo-info>span[data-v-784b8be3]:first-child{color:#486459;font-size:12px;font-weight:700;text-transform:uppercase}.cargo-info strong[data-v-784b8be3]{font-size:17px}.warning[data-v-784b8be3]{width:100%;color:#a8442b;font-size:13px;font-weight:800}.commands[data-v-784b8be3]{display:flex;gap:8px}.primary[data-v-784b8be3]{flex:1;min-width:0;min-height:58px;padding:8px 12px;background:#e8a443;border:2px solid #213c32;color:#213c32;font-size:17px;font-weight:800}.icon-button[data-v-784b8be3]{width:52px;min-width:52px;min-height:58px;border:2px solid #213c32;background:#fff9ea;color:#213c32;font-size:25px}button[data-v-784b8be3]{border-radius:5px;cursor:pointer}button[data-v-784b8be3]:disabled{opacity:.65;cursor:default}@media (min-width: 800px){.commands[data-v-784b8be3]{flex-wrap:wrap}}.overview[data-v-b3ac7503]{min-width:0}.overview-heading[data-v-b3ac7503]{color:#486459;font-size:11px;font-weight:800;text-transform:uppercase}.silhouette[data-v-b3ac7503]{position:relative;height:110px;margin-top:5px;overflow:hidden;background:#e0f0ed;border-bottom:2px solid #84afa5}.base[data-v-b3ac7503]{position:absolute;bottom:3px;left:calc(50% - 34px);width:68px;height:5px;background:#213c32}.piece[data-v-b3ac7503]{position:absolute;display:block;background:#518b78;border:1px solid #213c32;transform:translate(-50%)}.empty[data-v-b3ac7503]{margin:7px 0 0;color:#486459;font-size:12px;line-height:1.35}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100%;margin:0}html{background:#f5edda;color:#213c32;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{overflow-x:hidden}button,select{font:inherit}button:focus-visible,select:focus-visible{outline:3px solid #bc522e;outline-offset:3px}.shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.masthead{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:66px;padding:8px clamp(12px,3vw,36px);border-bottom:2px solid #213c32}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-mark{display:grid;place-items:center;width:37px;height:37px;flex:none;background:#e8a443;border:2px solid #213c32;font-size:22px;transform:rotate(-7deg)}.brand h1{margin:0;font-size:clamp(18px,2vw,24px);line-height:1.1;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:8px}.language-picker{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.language-picker select{width:91px;height:44px;padding:0 6px;border:2px solid #213c32;border-radius:4px;background:#fff9ea;color:#213c32}.tool-button{width:44px;height:44px;border:2px solid #213c32;border-radius:4px;background:#fff9ea;color:#213c32;font-size:24px;cursor:pointer}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:clamp(12px,2vw,28px);width:min(100%,1280px);flex:1;min-height:0;margin:0 auto;padding:clamp(10px,2vw,22px)}.play-column{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}.play-heading{display:flex;align-items:center;gap:9px;min-height:25px;font-weight:800;font-size:13px;text-transform:uppercase}.status-dot{display:inline-block;width:10px;height:10px;border:2px solid #213c32;border-radius:50%;background:#e8a443}.status-dot.paused{background:#cfc8b5}.status-dot.ended{background:#ba674d}.play-caption{margin-left:auto;color:#486459;font-size:11px;font-weight:600;text-transform:none}.stage{position:relative;flex:1;min-height:320px;overflow:hidden;border:3px solid #213c32;background:#b9dfeb;box-shadow:6px 6px #d6c9a9}.stage-message,.stage-paused{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:#b9dfebee;font-weight:800;text-align:center}.stage-paused{background:#f5edda9e;pointer-events:none;font-size:24px}.stage-error{padding:20px}.stage-error button{min-height:44px;padding:8px 20px;border:2px solid #213c32;border-radius:4px;background:#e8a443;font-weight:800;cursor:pointer}.dashboard{display:flex;flex-direction:column;gap:20px;min-width:0;padding:36px 0 0}.guide{display:grid;grid-template-columns:30px 1fr;gap:4px 10px;border-top:2px solid #d6c9a9;padding-top:15px}.guide p{margin:0 0 9px;line-height:1.4;font-size:14px}.rules-summary{grid-column:1 / -1}.guide-number{color:#a8442b;font-size:13px;font-weight:900}.notice{margin:0;padding:10px;border-left:4px solid #a8442b;background:#fff9ea;font-size:13px}.result{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-block:2px solid #213c32}.result strong{font-size:17px}.result span{font-size:15px}.best-tag{color:#a8442b;font-weight:800}.confirm-dialog::backdrop{background:#1a332ac9}.confirm-dialog{color:#213c32;width:min(calc(100% - 32px),340px);padding:20px;border:3px solid #213c32;background:#fff9ea;box-shadow:6px 6px #e8a443}.confirm-dialog p{margin:0 0 20px;font-weight:800}.confirm-dialog div{display:flex;gap:8px}.confirm-dialog button{flex:1;min-height:48px;border:2px solid #213c32;border-radius:4px;background:#fff;font-weight:800;cursor:pointer}.confirm-dialog .confirm-button{background:#e8a443}@media (max-width: 799px){.game-layout{display:flex;flex-direction:column;padding:8px 10px 12px}.play-column{flex:none}.stage{height:clamp(290px,50dvh,540px);flex:none}.dashboard{padding:0;gap:14px}.dashboard .overview{display:none}.dashboard .result~.overview{display:block}}@media (max-width: 420px){.masthead{min-height:56px;padding:5px 9px}.brand{gap:5px}.brand-mark{width:30px;height:30px;font-size:18px}.brand h1{font-size:16px}.language-picker span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.language-picker select{width:84px}.play-caption{display:none}.stage{height:clamp(280px,49dvh,470px)}}@media (orientation: landscape) and (max-height: 500px){.masthead{min-height:50px;padding:2px 10px}.play-column{gap:4px}.play-heading{min-height:20px}.shell .play-column .hud-stat{padding-block:4px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,260px);gap:10px;padding:6px 10px}.play-column{min-height:0}.stage{height:auto;min-height:250px}.dashboard{padding:26px 0 0;gap:8px;max-height:calc(100dvh - 62px);overflow-y:auto}.dashboard .overview{display:none}.dashboard .result~.overview{display:block}}@media (prefers-reduced-motion: no-preference){.brand-mark{transition:transform .2s ease}.brand:hover .brand-mark{transform:rotate(0)}}@media (max-width: 359px){.brand h1{font-size:15px}.header-tools{gap:6px}}.theme-open,.theme-editor button{min-height:44px;padding:8px 14px;color:#213c32;background:#fff9ea;border:2px solid #213c32;border-radius:4px;cursor:pointer;font:inherit}.theme-editor{width:min(760px,calc(100% - 20px));max-height:calc(100dvh - 20px);padding:clamp(12px,3vw,24px);overflow:auto;color:#213c32;border:3px solid #213c32;background:#f5edda}.theme-editor::backdrop{background:#1a332ac9}.theme-editor header,.theme-editor footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.theme-editor h2{margin:0;font-size:22px}.theme-editor label{display:flex;flex-direction:column;gap:6px;margin-block:12px;font-size:14px;font-weight:700;min-width:0}.theme-editor input,.theme-editor select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #486459;border-radius:4px;background:#fff9ea;color:#213c32;font:inherit}.theme-editor input:focus-visible{outline:3px solid #bc522e}.theme-editor fieldset{min-width:0;margin:16px 0;padding:12px;border:1px solid #b9ae94}.theme-editor button:disabled{opacity:.55;cursor:default}.theme-help{font-size:14px;line-height:1.6}.cargo-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin-bottom:12px}.cargo-editor-card{min-width:0;padding:10px;background:#fff9ea;border:1px solid #d6c9a9}.cargo-editor-card button{margin:3px 0;width:100%}.cargo-preview{width:100%;height:110px;display:grid;place-items:center;background:#f1b547;border:3px solid #213c32;font-size:56px}.cargo-preview img{max-width:100%;max-height:100px;object-fit:contain}.background-preview{width:100%;aspect-ratio:16/9;overflow:hidden;background:#b9dfeb}.background-preview img{width:100%;height:100%;object-fit:cover}.theme-confirm{padding:14px;margin:14px 0;border:2px solid #a8442b}.theme-confirm button{margin-right:8px}
