#edgeControls635[hidden],#edgeControls635 [hidden]{display:none!important}
.edge-handle635{position:fixed;z-index:39;top:calc(var(--hud-top,80px) + 34px);display:flex;flex-direction:column;align-items:center;gap:4px;width:40px;min-height:78px;padding:9px 3px;background:linear-gradient(140deg,#234f63,#102f43);border:1px solid #dfbd76;color:#fff0be;box-shadow:0 3px 10px #082b4555;touch-action:manipulation}
.edge-handle635.edge-left635{left:env(safe-area-inset-left,0px);border-radius:0 14px 14px 0}.edge-handle635.edge-right635{right:env(safe-area-inset-right,0px);border-radius:14px 0 0 14px}.edge-handle635>span{font-size:23px;line-height:1}.edge-handle635>b{font-size:9px;line-height:1.25;max-width:36px;overflow-wrap:anywhere}.edge-handle635>small{font-size:11px;border-radius:8px;background:#e9c779;color:#183544;padding:0 5px}.edge-handle635>small:empty{display:none}.edge-handle635[aria-expanded=true]{background:#e9c779;color:#14364b}
.edge-shade635{position:fixed;inset:0;z-index:40;border:0;border-radius:0;background:#061e3644;margin:0;padding:0;box-shadow:none}
.edge-pane635{position:fixed;z-index:41;top:calc(var(--hud-top,80px) + 8px);bottom:calc(var(--hud-bottom,76px) + env(safe-area-inset-bottom,0px) + 12px);width:min(320px,calc(100vw - 58px));display:flex;flex-direction:column;border:1px solid #d9be7d;border-radius:16px;background:linear-gradient(150deg,#183e53fa,#0c293dfa);color:#f4f7f8;box-shadow:0 10px 30px #001b3f70;overflow:hidden;animation:edge-enter635 .16s ease-out}
.edge-pane635.edge-left635{left:calc(env(safe-area-inset-left,0px) + 8px)}.edge-pane635.edge-right635{right:calc(env(safe-area-inset-right,0px) + 8px)}
.edge-head635{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:10px 12px;border-bottom:1px solid #d7b87366;color:#ffe3a2}.edge-head635 button{width:36px;height:36px;min-height:36px;padding:0;border:1px solid #c8b07a;border-radius:10px;background:#16384a;color:#ffedbf;font-size:26px}.edge-body635{min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px;scrollbar-width:thin;touch-action:pan-y}.edge-empty635{font-size:13px;color:#c4dde6}.edge-body635 [data-edge-slot635]{display:flex;flex-direction:column;gap:10px}
.game-hud598 #edgeControls635 #marchPanel624,.game-hud598 #edgeControls635 #hudPower598,.game-hud598 #edgeControls635 #hudTasks598,.game-hud598 #edgeControls635 #hudTools598,.game-hud598 #edgeControls635 #marchQuick609,.game-hud598 #edgeControls635 #resourceCamp617{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box}
.game-hud598 #edgeControls635 #hudPower598{justify-content:center;min-height:36px;order:3}.game-hud598 #edgeControls635 #hudTools598{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-hud598 #edgeControls635 .hud-action598{width:100%;min-height:68px}.game-hud598 #edgeControls635 .hud-action598 span{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;font-size:11px}.game-hud598 #edgeControls635 #hudTasks598{display:flex;flex-wrap:wrap;gap:8px}.game-hud598 #edgeControls635 .hud-job598{position:relative;width:calc(50% - 4px);flex:none;min-height:55px}.game-hud598 #edgeControls635 .march-panel-list624{max-height:none;overflow:visible;padding:6px}.game-hud598 #edgeControls635 .march-panel-toggle624{min-height:40px;font-size:12px}.game-hud598 #edgeControls635 .march-speed624 .item-art607{display:block}
.game-hud598 #edgeControls635 .world-toolbar{position:static;inset:auto;display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;pointer-events:auto}.game-hud598 #edgeControls635 .world-toolbar button{min-height:40px;flex:1;padding:8px;background:#28556a;color:#fff0bd;border:1px solid #bbab7b;border-radius:9px}.game-hud598 #edgeControls635 .world-toolbar>span{width:100%;color:#e8f4f5;font-size:12px}.game-hud598 #edgeControls635 .world-toolbar>span:not(.energy-pill){display:none}
.edge-pane635{padding:0;margin:0;box-sizing:border-box}.edge-head635 strong{font:700 14px/1.3 system-ui;margin:0}.edge-handle635>b{font-size:8px;white-space:nowrap;max-width:none;overflow-wrap:normal}.game-hud598 #edgeControls635 .world-toolbar>.energy-pill{flex:0 0 100%!important;width:100%!important;max-width:none!important;white-space:normal;height:auto;min-height:30px;padding:6px 8px;box-sizing:border-box;overflow:visible;text-overflow:clip}.game-hud598 #edgeControls635 #hudTools598>button:not([hidden]){display:flex!important}
@keyframes edge-enter635{from{opacity:.3;translate:0 6px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.edge-pane635{animation:none}}@media(max-height:470px){.edge-pane635{top:calc(var(--hud-top,60px) + 5px);bottom:calc(var(--hud-bottom,48px) + 4px)}.edge-handle635{top:calc(var(--hud-top,60px) + 14px);min-height:60px}.edge-handle635>b{display:none}}
