/* Fishing action HUD, above the existing collection controls. */
.nv-fishing-panel{position:absolute;left:50%;bottom:calc(330px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:3;display:grid;gap:5px;width:min(220px,calc(100vw - 32px));padding:8px;box-sizing:border-box;border:1px solid #79b6c6;border-radius:6px;background:rgba(16,35,43,.96);color:#edfaff;font:600 .8rem/1.3 system-ui,sans-serif;pointer-events:auto;touch-action:manipulation}
.nv-fishing-panel[hidden],.nv-fishing-panel [hidden]{display:none!important}
.nv-fishing-panel button{min-height:44px;width:100%;padding:8px 12px;border:1px solid #93c9d6;border-radius:4px;background:#214957;color:inherit;font:inherit;cursor:pointer}
.nv-fishing-panel button:disabled{opacity:.55;cursor:default}
.nv-fishing-panel button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.nv-fishing-panel progress{width:100%;height:12px;accent-color:#8ed6df}
.nv-fishing-panel #nvFishingTime{text-align:right;font-variant-numeric:tabular-nums}
.nv-fishing-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Shared resource actions stay on the outer edge, clear of the player's centre. */
.nv-resource-action-dock {
    position: absolute;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(clamp(80px, 28dvh, 208px) + env(safe-area-inset-bottom));
    width: min(180px, 32vw);
    max-height: calc(100dvh - clamp(80px, 28dvh, 208px) - 80px - env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    z-index: 3;
    pointer-events: none;
}
#nvResourceActionDock > .nv-alchemy-gather-button,
#nvResourceActionDock > .nv-blacksmith-mine-button,
#nvResourceActionDock > .nv-blacksmith-mining-progress,
#nvResourceActionDock > .nv-fishing-panel {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
    margin: 0;
    box-sizing: border-box;
}
#nvResourceActionDock > .nv-blacksmith-mine-button { order: 10; }
#nvResourceActionDock > .nv-blacksmith-mining-progress { order: 11; }
#nvResourceActionDock > .nv-alchemy-gather-button { order: 20; }
#nvResourceActionDock > .nv-fishing-panel { order: 30; }
#nvResourceActionDock > .nv-alchemy-gather-button:active,
#nvResourceActionDock > .nv-blacksmith-mine-button:active { transform: scale(.94); }
