.forge-workshop-tools{display:flex;gap:6px;padding:6px 10px;background:#201927;overflow-x:auto;flex-shrink:0}.forge-workshop-tools button{white-space:nowrap}.forge-workshop-dialog{max-width:520px;width:90vw;border:1px solid #d2b36e;border-radius:20px;background:#201827;color:#f5e8ce;padding:24px}.forge-workshop-dialog button{display:block;width:100%;margin:8px 0;padding:12px}.forge-workshop-dialog::backdrop{background:#100b18bd}.forge-inline{display:flex;gap:5px;align-items:center}.forge-inline span{flex:1}#forge-game-hud{position:absolute;inset:0;pointer-events:none;z-index:45;overflow:hidden}#forge-game-hud[hidden]{display:none}.forge-hud-item{position:absolute;transform:translate(-50%,-50%);padding:7px 14px;border-radius:9px;background:#171122dd;color:#f5de9a;border:1px solid #d4ae63;font:700 13px system-ui;white-space:nowrap}.forge-hud-item.style-1{border-radius:30px;background:#d2b478;color:#17111e}.forge-hud-item.style-2{border:2px solid #ad82ca;background:#2d203b}.forge-hud-item.style-3{border:0;border-bottom:3px solid #88c5af;background:#20252ddd}#forge-game-hud.editing .forge-hud-item{pointer-events:auto;touch-action:none;cursor:move}.forge-game-actions{position:absolute;left:12px;bottom:85px;display:flex;gap:5px;pointer-events:auto;flex-wrap:wrap;max-width:90%}.forge-game-actions button{border-radius:20px;font-size:12px;padding:10px}#forge-zone-title{position:absolute;top:8%;left:50%;transform:translateX(-50%);padding:14px 24px;border-radius:16px;background:#1c122be6;color:#f1d591;font:700 20px Georgia;pointer-events:none;z-index:60;text-align:center}#forge-zone-title[hidden]{display:none}#forge-trail-tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);z-index:70;display:flex;gap:6px}#forge-trail-tools[hidden]{display:none}#inspector details input[type=checkbox]{width:auto}#inspector details label{margin-block:8px}body{grid-template-rows:auto auto minmax(0,1fr) auto!important}#selection-fields details{margin-top:10px}

.forge-player-arrow{position:absolute;font-size:13px;font-weight:bold;text-shadow:0 1px 3px #000;transform:translate(-50%,-50%);pointer-events:none}

.forge-hud-item progress{display:block;width:120px;height:7px;margin-top:4px;accent-color:#8bd3ab}.forge-hud-item.style-1 progress{accent-color:#5e326f}.forge-hud-item.style-2 progress{accent-color:#d89bdc}.forge-hud-item.style-3 progress{accent-color:#71cddd}
/* Long management panels remain usable on phones and landscape screens. */
.forge-workshop-dialog{box-sizing:border-box;max-height:85dvh;overflow:auto;overscroll-behavior:contain}.forge-workshop-dialog details{padding:9px 0;border-top:1px solid #6d597b}.forge-workshop-dialog summary{min-height:40px;cursor:pointer}.forge-workshop-dialog label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.forge-workshop-dialog input{max-width:120px;min-height:36px}.forge-workshop-tools button,.forge-game-actions button{min-height:44px}#forge-game-hud .forge-game-actions{bottom:max(85px,env(safe-area-inset-bottom));max-height:30%;overflow:auto}@media(max-width:480px){.forge-workshop-dialog{padding:14px;width:94vw}.forge-workshop-tools{padding:4px;gap:4px}.forge-hud-item{font-size:11px;padding:5px 8px}.forge-hud-item progress{width:88px}}
