/* Turn-based artillery: readable terrain, deliberate controls, thumb-sized launches. */
.siege-shell{aspect-ratio:auto;background:#dfe5c8}.siege-viewport{position:relative;aspect-ratio:16/9;overflow:hidden}#siegeCanvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none}
.siege-menu{align-items:flex-start;text-align:left;padding:6%;background:linear-gradient(90deg,#fff3d6f2,#fff3d6b0 45%,#fff3d600 75%)}.siege-menu h2{font-size:clamp(36px,5vw,64px);line-height:1.02;letter-spacing:-2px;margin:14px 0}.siege-menu h2 em{display:block}.siege-menu p{max-width:280px;font-size:13px;line-height:1.5}.siege-menu .panel-eyebrow{font-size:9px}.siege-menu .play-button{min-height:48px}
.siege-hud{display:flex;align-items:center;gap:16px;min-height:40px;padding:4px 14px;font-size:11px;background:#faf2db;color:#295e46}.siege-hud strong{margin-left:auto;font:700 20px 'Rubik',sans-serif}.siege-hud .hud-icon{width:38px;height:38px;background:#fff9e6;border-radius:50%}#siegeWind{white-space:nowrap}
.siege-controls{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.25fr) 110px;grid-template-rows:22px auto;gap:6px 16px;padding:10px 18px 14px;background:#f8efd6;border-top:1px solid #b4b99844}.siege-turn{grid-column:1/-1;font:600 12px 'DM Sans',sans-serif;color:#33734c}.siege-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.siege-sliders label{min-width:0;display:grid;grid-template-columns:1fr auto;gap:0 6px;align-content:center;font-size:10px;color:#3d694d}.siege-sliders output{font:700 13px 'Rubik',sans-serif}.siege-sliders input{grid-column:1/-1;width:100%;height:44px;min-width:0;margin:0;accent-color:#2a8558;cursor:pointer;touch-action:none}.siege-weapons{display:flex;gap:6px;align-items:center;min-width:0}.siege-weapons button{flex:1;min-width:0;min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #a4b293;border-radius:10px;padding:7px 5px;background:#fff9e8;color:#356347;font-size:10px;line-height:1.15;touch-action:manipulation;overflow-wrap:anywhere}.siege-weapons button[aria-pressed="true"]{background:#dce9cd;border:2px solid #327e51}.siege-weapons small{font:700 12px 'Rubik',sans-serif}.siege-weapons button:disabled{opacity:.45}#siegeLaunch{align-self:center;min-height:57px;justify-content:center;padding:10px 13px;font-size:13px}#siegeLaunch:disabled{opacity:.4;cursor:default}.siege-controls :focus-visible{outline:3px solid #d99f00;outline-offset:2px}
.siege-below{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.siege-shell .glide-overlay{z-index:5}.siege-shell .glide-result-card{max-width:500px;max-height:100%;overflow-y:auto}.siege-shell .glide-result-card h2{font-size:25px}
.play-stage .siege-shell{display:flex;flex-direction:column;background:#dae1c4}.play-stage .siege-viewport{flex:1;min-height:0;aspect-ratio:auto;overflow:visible;position:static}.play-stage #siegeCanvas{position:absolute;left:0;top:0;width:100%;height:calc(100% - 158px)}.play-stage .siege-hud{position:absolute;bottom:122px;left:0;right:0;min-height:36px;padding:3px 12px}.play-stage .siege-controls{position:absolute;bottom:0;left:0;right:0;height:122px}.play-stage #siegePauseButton{display:none}.play-stage .siege-menu{inset:0}
@media(max-width:600px){#siegeTab{grid-column:1/-1}.siege-below{grid-template-columns:1fr;gap:12px}.siege-hud{gap:8px;padding:5px 8px;font-size:9px}.siege-hud strong{font-size:17px}.siege-controls{grid-template-columns:minmax(0,1fr) 86px;grid-template-rows:20px 61px 56px;gap:4px 8px;padding:8px 10px}.siege-sliders{grid-column:1/-1}.siege-weapons{gap:4px}.siege-weapons button{min-height:50px;font-size:9px}.siege-weapons small{font-size:11px}#siegeLaunch{min-height:50px;font-size:12px;padding:8px}.play-stage .siege-controls{height:170px}.play-stage .siege-hud{bottom:170px}.play-stage #siegeCanvas{height:calc(100% - 206px)}.siege-menu{padding:5%;justify-content:center;gap:8px}.siege-menu h2{font-size:33px;margin:5px 0}.siege-menu p{font-size:10px;margin:5px 0;max-width:210px}.siege-menu .panel-eyebrow{font-size:7px}.siege-menu .play-button{min-height:40px;padding:8px 14px;font-size:11px}.siege-shell .glide-result-card{padding:16px}.siege-shell .glide-result-card h2{font-size:20px}}
@media(any-pointer:coarse){.siege-shell .score-entry input{font-size:16px}}
@media(max-width:600px) and (orientation:portrait){.play-stage .siege-menu{justify-content:center;align-items:center;text-align:center}.play-stage .siege-menu p{max-width:270px}}
@media(max-height:530px) and (orientation:landscape){.play-stage #siegeCanvas{width:calc(100% - 196px);height:calc(100% - 32px)}.play-stage .siege-hud{bottom:0;height:32px;min-height:32px}.play-stage .siege-controls{left:auto;right:0;bottom:32px;top:0;width:196px;height:auto;display:grid;grid-template-columns:1fr;grid-template-rows:18px 64px 54px minmax(44px,1fr);gap:4px;padding:6px 8px;overflow-y:auto}.play-stage .siege-turn{font-size:10px;align-self:center;line-height:1.1}.play-stage .siege-sliders{grid-column:auto;gap:8px}.play-stage .siege-sliders input{height:44px}.play-stage .siege-weapons button{min-height:48px;font-size:8px;padding:4px 2px;gap:3px}.play-stage #siegeLaunch{min-height:44px;width:100%;align-self:end}.play-stage .siege-menu{padding:3% 7%;gap:8px}.play-stage .siege-menu h2{font-size:40px;margin:4px 0}.play-stage .siege-menu p{margin:4px 0}}
