#game-screen>#game-quick-actions{
  position:fixed!important;z-index:51;top:calc(var(--ui-edge,14px) + 54px)!important;right:max(14px,env(safe-area-inset-right,0px))!important;left:auto!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"map warp" "explore town" "fashion gacha" "buddies buddies" "settings power" "emotes emotes";gap:6px;width:264px;box-sizing:border-box;padding:8px;
  border:2px solid #927448;border-radius:8px;background:linear-gradient(155deg,#1b3428f5,#0b1a13f5);
  box-shadow:inset 0 1px #fff3c82b,inset 0 0 0 2px #12251b,0 4px 0 #060d09,0 9px 20px #0008;zoom:var(--gam-ui-scale,1)
}
#game-quick-actions>.game-quick-action{
  position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;
  display:flex!important;align-items:center;justify-content:flex-start;gap:7px;min-width:0!important;width:auto!important;height:42px!important;min-height:42px!important;
  margin:0!important;padding:4px 7px!important;box-sizing:border-box;border:1px solid #8f8054!important;border-radius:5px!important;
  background:linear-gradient(180deg,#344a32,#192b20 72%)!important;box-shadow:inset 0 1px #fff4c02b,0 2px 0 #07100b!important;
  color:#f4e9c4!important;font:800 10px/1.25 "Segoe UI",Tahoma,sans-serif!important;letter-spacing:.01em;text-align:left;text-shadow:0 1px #07100b;cursor:pointer;white-space:normal!important;
  transition:transform .12s ease,filter .12s ease,border-color .12s ease
}
#game-quick-actions>.game-quick-action:hover{transform:translateY(-1px);filter:brightness(1.16);border-color:#e5cb7c!important;box-shadow:inset 0 1px #fff7d055,0 3px 0 #07100b,0 0 10px #e8cc6d2e!important}
#game-quick-actions>.game-quick-action:active{transform:translateY(2px);box-shadow:inset 0 1px #fff4c022,0 0 0 #07100b!important}
#game-quick-actions>.game-quick-action:focus-visible{outline:2px solid #fff0a8;outline-offset:2px}
#game-quick-actions>#world-map-open{grid-area:map}
#game-quick-actions>#warp-map-open{grid-area:warp}
#game-quick-actions>#warp-map-open .quick-action-icon{filter:hue-rotate(148deg) saturate(1.35) drop-shadow(0 2px 1px #050b08aa)}
#game-quick-actions>#warp-map-open::after{content:"✦";position:absolute;top:3px;right:4px;color:#8ce8dc;font:900 9px/1 monospace;text-shadow:0 1px 2px #06140f}
#game-quick-actions>#explorer-open{grid-area:explore}
#game-quick-actions>#townsfolk-open{grid-area:town}
#game-quick-actions>#shop-dock-open{
  grid-area:fashion;
  padding:4px 7px!important;
  border-color:#c9ae63!important;
  background:linear-gradient(135deg,#3e5236 0%,#243a2a 55%,#18291f 100%)!important;
  box-shadow:inset 0 1px #fff6c838,0 2px 0 #07100b!important;
}
#game-quick-actions>#shop-dock-open>span{
  font:800 10px/1.25 "Segoe UI",Tahoma,sans-serif!important;
  color:#ffeab3!important;
  filter:none!important;
}
#game-quick-actions>#shop-dock-open .quick-action-badge{display:none!important}
#game-quick-actions>#game-gacha-open{grid-area:gacha;border-color:#d9bd68!important;background:linear-gradient(135deg,#564728,#283a25 58%,#14271d)!important;box-shadow:inset 0 1px #fff5c044,0 2px 0 #07100b,0 0 12px #d8c16d1f!important}
#game-quick-actions>#game-gacha-open:hover{border-color:#ffeb9c!important;box-shadow:inset 0 1px #fff7d066,0 3px 0 #07100b,0 0 15px #eacb6955!important}
#game-quick-actions .gacha-action-icon{display:block;flex:0 0 27px;width:27px;height:27px;border:1px solid #d9bd68;border-radius:5px;background:#102319 url("/assets/ui/gacha/wildseed-hero-v1.png") 83% 51%/190px auto no-repeat;box-shadow:inset 0 0 8px #e5d18b42,0 1px 3px #0009;image-rendering:pixelated}
#game-quick-actions .gacha-action-badge{margin-left:auto;padding:2px 4px;border:1px solid #e4ce78;border-radius:4px;background:#2d351e;color:#ffeb9c;font:900 8px/1 "Segoe UI",Tahoma,sans-serif}
#game-quick-actions>#shop-dock-open .quick-action-badge{
  margin-left:auto;
  padding:2px 6px;
  border:1px solid #d4b96a88;
  border-radius:4px;
  background:rgba(15,30,22,.72);
  color:#ffe49c;
  font:800 8.5px/1.1 monospace;
  letter-spacing:.08em;
}
#game-quick-actions>#mutant-companion-open{grid-area:buddies;border-color:#79bda0!important;background:linear-gradient(135deg,#274f3b,#183126 72%)!important}
#game-quick-actions>#mutant-companion-open .mutant-companion-action-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #8bd3a3;border-radius:7px;background:radial-gradient(circle,#70d9a955,#143126);color:#c9ffd9;font:900 18px/1 "Segoe UI",sans-serif;text-shadow:0 0 9px #70e8aa;filter:drop-shadow(0 1px 2px #07100b)}
#game-quick-actions>#mutant-companion-open>i{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #12251b;border-radius:10px;background:#e5c86f;color:#1b281d;font:900 9px/1 "Segoe UI",sans-serif;font-style:normal}
#game-quick-actions>#mutant-companion-open>i.hidden{display:none!important}
#game-quick-actions>#settings-open{grid-area:settings}
#game-quick-actions>#performance-toggle{grid-area:power}
#game-quick-actions .quick-action-icon{display:block;flex:0 0 28px;width:28px;height:28px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 1px #050b08aa);pointer-events:none}
#game-quick-actions>.game-quick-action>span:not(.quick-action-state){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}
#game-quick-actions>.game-quick-action>kbd{margin-left:auto;padding:2px 4px;border:1px solid #a8a078;border-radius:3px;background:#122218;color:#dce5b8;font:800 9px/1 monospace;box-shadow:inset 0 1px #fff2}
#game-quick-actions>#performance-toggle{height:42px!important;min-height:42px!important}
#game-quick-actions>#performance-toggle .quick-action-icon{width:25px;height:25px;flex-basis:25px}
#game-quick-actions>#performance-toggle.is-active{border-color:#b7d576!important;background:linear-gradient(180deg,#496538,#233b25)!important;color:#f5ffcd!important}
#game-quick-actions .quick-action-state{margin-left:auto;color:#b8c998;font-size:9px;letter-spacing:.04em}
#game-quick-actions>#performance-toggle.is-active .quick-action-state{color:#d9f49c}
#game-quick-actions>.townsfolk-launcher{
  width:auto!important;
  padding:4px 6px!important;
  gap:5px!important;
  border:1px solid #8f8054!important;
  border-radius:5px!important;
  background:linear-gradient(180deg,#344a32,#192b20 72%)!important;
  box-shadow:inset 0 1px #fff4c02b,0 2px 0 #07100b!important;
  font:800 10px/1.25 "Segoe UI",Tahoma,sans-serif!important;
}
#game-quick-actions>.townsfolk-launcher>span:not(.quick-action-state){
  margin:0;color:inherit;font-size:inherit;white-space:nowrap;
}
#game-quick-actions>#emote-wheel-open{grid-area:emotes}
#game-screen>#admin-menu-open{
  position:fixed!important;z-index:52;top:calc(var(--ui-edge,14px) + 54px + 302px + 10px)!important;
  right:max(14px,env(safe-area-inset-right,0px))!important;left:auto!important;bottom:auto!important;inset-inline-start:auto!important;
  display:flex!important;align-items:center;justify-content:flex-start;gap:7px;width:132px;min-height:46px;margin:0;padding:6px 10px;box-sizing:border-box;
  border:2px solid #e9ca66;border-radius:8px;background:linear-gradient(180deg,#523e1b,#1f3323 75%);
  box-shadow:inset 0 1px #fff4c038,0 3px 0 #07100b,0 0 14px #f3cd5833;color:#ffe899;
  font:800 11px/1.2 "Segoe UI",Tahoma,sans-serif;text-shadow:0 1px #07100b;cursor:pointer;
  animation:admin-button-glow 2.8s ease-in-out infinite;
}
#game-screen>#admin-menu-open.hidden{display:none!important}
#game-screen>#admin-menu-open>span{letter-spacing:0;white-space:nowrap}
#game-screen>#admin-menu-open:hover{border-color:#ffe48d;background:linear-gradient(180deg,#664d22,#2a4530 75%);box-shadow:inset 0 1px #fffbe066,0 3px 0 #07100b,0 0 18px #f3cd5855}
#game-screen>#admin-menu-open:active{transform:translateY(2px);box-shadow:inset 0 1px #fff4c022,0 0 0 #07100b}
#game-screen>#admin-menu-open:focus-visible{outline:2px solid #fff0a8;outline-offset:2px}
#game-screen>#admin-menu-open .admin-quick-symbol{display:inline-grid;place-items:center;width:20px;font-size:17px;color:#ffd966;line-height:1;filter:drop-shadow(0 1px 2px #000)}
#game-screen>#admin-menu-open kbd{margin-left:auto;padding:3px 4px;border:1px solid #d4b055;border-radius:3px;background:#261b0a;color:#ffe885;font:900 9px/1 monospace;box-shadow:inset 0 1px #fff3}
.warp-map-panel .explorer-card{grid-template-rows:auto minmax(0,1fr) auto}
@media(max-width:720px){
  #game-screen>#game-quick-actions{top:calc(var(--ui-edge,14px) + 84px)!important;right:max(8px,env(safe-area-inset-right,0px))!important;width:min(226px,calc(100vw - 16px));gap:5px;padding:6px;border-width:1px}
  #game-screen>#admin-menu-open{top:calc(var(--ui-edge,14px) + 84px + 265px + 10px)!important;right:max(8px,env(safe-area-inset-right,0px))!important}
  #game-quick-actions>.game-quick-action{height:38px!important;min-height:38px!important;gap:5px;padding:3px 5px!important;font-size:9px!important}
  #game-quick-actions .quick-action-icon{flex-basis:24px;width:24px;height:24px}
  #game-quick-actions .gacha-action-icon{flex-basis:23px;width:23px;height:23px;background-size:160px auto}
  #game-quick-actions>#performance-toggle{height:38px!important;min-height:38px!important}
  #game-quick-actions>#performance-toggle .quick-action-icon{flex-basis:23px;width:23px;height:23px}
}
@media(prefers-reduced-motion:reduce){#game-quick-actions>.game-quick-action{transition:none}#game-screen>#admin-menu-open{animation:none}}
