/* /Components/GameHud/ContextHudPanel.razor.rz.scp.css */
.context-hud[b-9i3sl9iq7x] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.chip-stack[b-9i3sl9iq7x] {
    display: grid;
    gap: 10px;
    width: 168px;
}

.context-chip[b-9i3sl9iq7x] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 9px 11px;
    border: 2px solid rgba(226, 241, 255, .12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .88), rgba(13, 25, 37, .88));
    box-shadow: 0 14px 34px rgba(2, 12, 22, .28), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
    cursor: pointer;
    text-align: left;
}

.context-chip:hover[b-9i3sl9iq7x],
.context-chip.active[b-9i3sl9iq7x],
.context-chip.selected[b-9i3sl9iq7x] {
    border-color: rgba(47, 157, 255, .72);
    box-shadow: 0 0 0 5px rgba(47,157,255,.16), 0 14px 34px rgba(2, 12, 22, .28);
}

.chip-icon[b-9i3sl9iq7x] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #142331;
    font-size: 16px;
    font-weight: 950;
    box-shadow: inset 0 -7px 0 rgba(0,0,0,.13);
}

.chip-icon.objective[b-9i3sl9iq7x] {
    background: linear-gradient(180deg, #f8fbff, #a8cfe8);
}

.chip-icon.units[b-9i3sl9iq7x] {
    background: linear-gradient(180deg, #77c5ff, #2f9dff);
}

.chip-icon.rules[b-9i3sl9iq7x] {
    background: linear-gradient(180deg, #b6e77a, #8ac552);
}

strong[b-9i3sl9iq7x],
small[b-9i3sl9iq7x] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

strong[b-9i3sl9iq7x] {
    font-size: 13px;
    font-weight: 950;
    line-height: 1.1;
}

small[b-9i3sl9iq7x] {
    margin-top: 4px;
    color: #a9bfd2;
    font-size: 11px;
    font-weight: 800;
}

.context-popover[b-9i3sl9iq7x] {
    position: absolute;
    left: 182px;
    top: 0;
    width: 322px;
}

.context-popover[b-9i3sl9iq7x]  .brick-panel {
    padding-top: 20px;
}

.close[b-9i3sl9iq7x] {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 8px;
    background: rgba(226,241,255,.12);
    color: #d9ebf8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
}

@media (max-width: 1024px) {
    .context-hud[b-9i3sl9iq7x] {
        display: none;
    }
}
/* /Components/GameHud/EnergyGauge.razor.rz.scp.css */
.energy-gauge[b-tef1x9m2ap] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 9px 11px;
    margin-bottom: 10px;
    width: 168px;
    border: 2px solid rgba(226, 241, 255, .12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .88), rgba(13, 25, 37, .88));
    box-shadow: 0 14px 34px rgba(2, 12, 22, .28), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.chip-icon.energy[b-tef1x9m2ap] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    box-shadow: inset 0 -7px 0 rgba(0,0,0,.13);
}

strong[b-tef1x9m2ap] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.1;
}

small[b-tef1x9m2ap] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 4px;
    color: #a9bfd2;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .energy-gauge[b-tef1x9m2ap] {
        display: none;
    }
}
/* /Components/GameHud/GameHud.razor.rz.scp.css */
/* HUD-root sits on top of the game canvas; pointer-events:none lets
   clicks pass through to the canvas, and individual slots opt back into
   pointer events so their interactive children stay clickable. */
.hud-root[b-swto5trb57] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    font-family: system-ui, sans-serif;
    user-select: none;
    /* Safe-area insets — keep HUD out from under iOS notch / home indicator
       and Android nav gestures. The corner offsets below (top/right/bottom/
       left: 16px) layer on top of these via env() addition. */
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

.hud-slot[b-swto5trb57] {
    position: absolute;
    pointer-events: auto;
}

/* Top row keeps the OFF FPS chip / sidebar clear while Tidemark owns the
   game-facing HUD chrome. */
.hud-top[b-swto5trb57]          {
    top: 16px;
    left: calc(108px + env(safe-area-inset-left));
    right: calc(52px + env(safe-area-inset-right));
}
.hud-top-left[b-swto5trb57]     { top: 112px; left: 16px; }
.hud-top-right[b-swto5trb57]    { top: 112px; right: 16px; }
.hud-bottom-left[b-swto5trb57]  { bottom: 16px; left: 16px; }
.hud-bottom-center[b-swto5trb57] {
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
}
.hud-bottom-right[b-swto5trb57] { bottom: 16px; right: 16px; }

/* Cinematic slide transitions live in wwwroot/css/cinematic-hud.css. */

/* Left-stack lets the BottomLeft slot host stacked widgets (was: gauge +
   toolbar; now usually just the toolbar) as a vertical column with matched
   widths. Each child component sets its own internal layout; we fix only
   the outer width so they align. */
[b-swto5trb57] .tidemark-left-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 240px;
}

[b-swto5trb57] .tidemark-left-stack > * {
    width: 100%;
    box-sizing: border-box;
}

/* Mobile portrait — the top rail drops below OFF's FPS chip and uses the
   full viewport width. Bottom slots stay inside the home-indicator safe
   area, with BottomCenter owning the primary action dock. */
@media (max-width: 640px) {
    .hud-top[b-swto5trb57]          {
        top: calc(82px + env(safe-area-inset-top));
        left: calc(12px + env(safe-area-inset-left));
        right: calc(12px + env(safe-area-inset-right));
    }

    /* The optional side slots still share a fixed height when mounted. */
    .hud-bottom-left[b-swto5trb57]  {
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;
        right: calc(40% + 4px);
        height: 120px;
    }
    .hud-bottom-right[b-swto5trb57] {
        bottom: calc(8px + env(safe-area-inset-bottom));
        right: 8px;
        left: calc(60% + 4px);
        height: 120px;
    }
    .hud-bottom-center[b-swto5trb57] {
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;
        right: 8px;
        transform: none;
        height: auto;
    }

    [b-swto5trb57] .tidemark-left-stack {
        width: 100%;
        height: 100%;
        gap: 6px;
    }

    /* Minimap fills its half of the row — width and height. Canvas stretches
       to whatever's left under the header within the panel. */
    .hud-bottom-right[b-swto5trb57]  .tidemark-minimap {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
}
/* /Components/GameHud/MinimapPanel.razor.rz.scp.css */
/* Sized for equirectangular projection: a 2:1 canvas area + header strip.
   Orthographic projection letterboxes its disc inside the same area
   (acceptable polish trade — re-projecting the panel on every toggle would
   shift HUD layout). */
.tidemark-minimap[b-hnaco5w6ib] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .94), rgba(13, 25, 37, .94));
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    color: #eaf5ff;
    font: 11px monospace;
    pointer-events: auto;
    user-select: none;
    width: 320px;
    /* Anchor the dev-mode overlay popover (position:absolute) here. */
    position: relative;
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Toggle hidden state — set by F3 / sidebar button via the toggle module.
   The class lives on the root .tidemark-minimap element (not a descendant),
   so we don't use ::deep — Blazor CSS isolation scopes this rule to the
   component's b-xxx attribute and matches the same root element. */
.tidemark-minimap.tidemark-minimap--hidden[b-hnaco5w6ib] {
    display: none;
}

.tidemark-minimap-header[b-hnaco5w6ib] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.2;
    color: #a9bfd2;
    min-height: 16px;
    /* Truncate long coord readouts so the header never wraps onto two lines. */
    white-space: nowrap;
    overflow: hidden;
    /* Allow the popover (positioned: absolute) to overflow the header
       while still trimming the legend / coord text via ellipsis. */
    position: static;
}

.tidemark-minimap-legend[b-hnaco5w6ib],
.tidemark-minimap-coord[b-hnaco5w6ib] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ⚙ button — built dynamically by overlay-menu.ts so styles live here.
   Tucked at the right edge of the header next to the coord readout. */
[b-hnaco5w6ib] .tidemark-minimap-overlay-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #e6edf3;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 2px 7px;
    margin-left: 6px;
    flex: 0 0 auto;
    min-width: 24px;
    text-align: center;
}
[b-hnaco5w6ib] .tidemark-minimap-overlay-button:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}
[b-hnaco5w6ib] .tidemark-minimap-overlay-button[aria-expanded="true"] {
    color: #fff;
    background: rgba(76, 201, 240, 0.15);
    border-color: rgba(76, 201, 240, 0.5);
}

/* Popover sits at the top-right of the minimap panel. */
[b-hnaco5w6ib] .tidemark-minimap-overlay-popover {
    position: absolute;
    top: 28px;
    right: 6px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(13, 21, 37, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 8px 10px;
    color: #e6edf3;
    font: 11px monospace;
    pointer-events: auto;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[b-hnaco5w6ib] .tidemark-minimap-overlay-popover-row {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

[b-hnaco5w6ib] .tidemark-minimap-overlay-popover-row input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}


.tidemark-minimap-canvas[b-hnaco5w6ib] {
    width: 100%;
    height: 142px;
    cursor: crosshair;
    display: block;
    border: 2px solid rgba(226,241,255,.12);
    border-radius: 16px;
    background: rgba(226,241,255,.08);
}

/* On narrow viewports the panel matches the toolbar's fixed dock height
   (set in GameHud.razor.css). Canvas takes the remaining vertical space
   under the header — letterboxing if the slot's aspect doesn't match the
   2:1 equirect ratio. */
@media (max-width: 640px) {
    .tidemark-minimap-canvas[b-hnaco5w6ib] {
        flex: 1 1 0;
        height: auto;
        min-height: 0;
    }
    .tidemark-minimap[b-hnaco5w6ib] {
        font-size: 10px;
        padding: 4px 6px 6px;
    }
    .tidemark-minimap-header[b-hnaco5w6ib] {
        gap: 4px;
    }
}

/* Tooltip is created by OFF's TooltipOverlay as `<div class="minimap-tooltip">`.
   The wrapper element has `position: relative` set by the overlay code, so
   the tooltip is anchored to this panel. */
[b-hnaco5w6ib] .minimap-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 3px 6px;
    border-radius: 3px;
    font: 10px monospace;
    pointer-events: none;
    z-index: 20;
}
/* /Components/GameHud/OwnedUnitsPanel.razor.rz.scp.css */
.brick-panel[b-vxrbwbyd1o] {
    padding: 16px;
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .94), rgba(13, 25, 37, .94));
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.eyebrow[b-vxrbwbyd1o] {
    margin: 0;
    color: #93abc0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.unit-list[b-vxrbwbyd1o] {
    display: grid;
    gap: 10px;
    margin-top: 13px;
}

.unit-row[b-vxrbwbyd1o] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(226,241,255,.08);
}

.unit-icon[b-vxrbwbyd1o] {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #eaf6ff, #8ab6d8);
    color: #142331;
    font-size: 20px;
    font-weight: 950;
    box-shadow: inset 0 -7px 0 rgba(0,0,0,.12);
}

strong[b-vxrbwbyd1o],
small[b-vxrbwbyd1o] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

strong[b-vxrbwbyd1o] {
    color: #f4f9ff;
    font-size: 15px;
    line-height: 1.15;
}

small[b-vxrbwbyd1o] {
    margin-top: 4px;
    color: #a9bfd2;
    font-size: 12px;
    font-weight: 800;
}

b[b-vxrbwbyd1o] {
    border-radius: 999px;
    padding: 7px 9px;
    background: rgba(226,241,255,.1);
    color: #d9ebf8;
    font-size: 11px;
    font-weight: 900;
}
/* /Components/GameHud/PaintFlowPanel.razor.rz.scp.css */
.paint-flow[b-tqq151yzxv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 74px;
    box-sizing: border-box;
    padding: 12px 18px;
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .96), rgba(13, 25, 37, .96));
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.eyebrow[b-tqq151yzxv] {
    margin: 0 0 5px;
    color: #93abc0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1;
    text-transform: uppercase;
}

span[b-tqq151yzxv] {
    display: inline-block;
    margin-right: 12px;
    color: #a9bfd2;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
}

strong[b-tqq151yzxv] {
    color: #f4f9ff;
    font-size: 40px;
    font-weight: 950;
    line-height: .9;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .paint-flow[b-tqq151yzxv] {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 6px;
        min-height: 58px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .eyebrow[b-tqq151yzxv] {
        margin-bottom: 4px;
        font-size: 8px;
        letter-spacing: .1em;
    }

    span[b-tqq151yzxv] {
        display: none;
    }

    strong[b-tqq151yzxv] {
        font-size: 26px;
        line-height: .95;
    }
}
/* /Components/GameHud/PaintToolbar.razor.rz.scp.css */
.paint-toolbar[b-ci78cs29x7] {
    display: grid;
    grid-template-columns: auto 132px 132px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(226, 241, 255, .16);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .92), rgba(13, 25, 37, .9));
    box-shadow: 0 12px 32px rgba(2, 12, 22, .32), inset 0 1px 0 rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.paint-section[b-ci78cs29x7] {
    display: grid;
    align-content: center;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid rgba(226,241,255,.11);
    border-radius: 10px;
    background: rgba(47, 71, 90, .58);
}

.paint-section.colors[b-ci78cs29x7] {
    padding: 6px;
}

.paint-label[b-ci78cs29x7] {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93abc0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 900;
}

.paint-row[b-ci78cs29x7] {
    display: flex;
    gap: 5px;
    align-items: center;
}

.paint-row button[b-ci78cs29x7],
.swatches button[b-ci78cs29x7] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 2px solid rgba(226, 241, 255, .18);
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    padding: 0;
    line-height: 1;
    transition: border-color 80ms, transform 80ms;
    flex-shrink: 0;
    box-shadow: inset 0 -5px 0 rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.24);
}

.swatches button.active[b-ci78cs29x7] {
    border-color: #2f9dff;
    box-shadow: 0 0 0 3px rgba(47,157,255,.22), inset 0 -5px 0 rgba(0,0,0,.16);
    transform: translateY(-1px);
}

.swatches button:hover[b-ci78cs29x7] {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Visual gap between sand swatches and water — keeps the eye from
   reading water as just another group. */
.swatch-divider[b-ci78cs29x7] {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.18);
    margin: 0 1px;
    flex-shrink: 0;
}

.paint-value[b-ci78cs29x7] {
    color: #f4f9ff;
    font-weight: 900;
    margin-left: 4px;
}

.brush-slider[b-ci78cs29x7] {
    width: 100%;
    accent-color: #2f9dff;
    cursor: pointer;
}

.slider-wrap[b-ci78cs29x7] {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* ── Mobile bottom-dock layout ───────────────────────────────────────────
   Toolbar shares the bottom row with the minimap (60/40 split set in
   GameHud.razor.css). Sections lay out as 4 side-by-side columns (colors
   stacked vertically | brush | layers | mode) so the dock stays short
   and matches the minimap's panel height. */
@media (max-width: 640px) {
    .paint-toolbar[b-ci78cs29x7] {
        grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 6px;
        min-width: 0;
        width: 100%;
        padding: 6px;
        min-height: 76px;
        box-sizing: border-box;
    }

    .paint-section[b-ci78cs29x7] {
        min-height: 0;
        gap: 3px;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }

    .paint-section.slider[b-ci78cs29x7] {
        align-content: stretch;
    }

    .paint-label[b-ci78cs29x7] {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }

    /* Keep the bottom dock horizontal on narrow screens. Native vertical
       range inputs render inconsistently across the in-app browser, and can
       draw oversized tracks over the world view. */
    .swatches[b-ci78cs29x7] {
        flex-wrap: wrap;
        gap: 3px;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .paint-row button[b-ci78cs29x7],
    .swatches button[b-ci78cs29x7] {
        width: 18px;
        height: 18px;
        border-radius: 4px;
        border-width: 2px;
        font-size: 9px;
    }

    .swatch-divider[b-ci78cs29x7] {
        display: none;
    }

    .slider-wrap[b-ci78cs29x7] {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 18px;
        width: 100%;
    }

    .brush-slider[b-ci78cs29x7] {
        writing-mode: horizontal-tb;
        direction: ltr;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
    }
}
/* /Components/GameHud/PlacementRulesPanel.razor.rz.scp.css */
.brick-panel[b-7qbcd9jbbp] {
    padding: 16px;
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .94), rgba(13, 25, 37, .94));
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.eyebrow[b-7qbcd9jbbp] {
    margin: 0;
    color: #93abc0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.metric[b-7qbcd9jbbp] {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    color: #a9bfd2;
    font-size: 12px;
    font-weight: 850;
}

.meter[b-7qbcd9jbbp] {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(226,241,255,.12);
}

.meter i[b-7qbcd9jbbp] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #8ac552;
}

b[b-7qbcd9jbbp] {
    color: #cfe1ef;
    font-variant-numeric: tabular-nums;
}

.note[b-7qbcd9jbbp] {
    margin: 12px 0 0;
    color: #a9bfd2;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
}
/* /Components/GameHud/PlayerIdentityPanel.razor.rz.scp.css */
.you-chip[b-9ozdj9has9] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 9px 11px;
    margin-bottom: 10px;
    width: 168px;
    border: 2px solid rgba(226, 241, 255, .12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .88), rgba(13, 25, 37, .88));
    box-shadow: 0 14px 34px rgba(2, 12, 22, .28), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.chip-icon.you[b-9ozdj9has9] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    box-shadow: inset 0 -7px 0 rgba(0,0,0,.13);
}

strong[b-9ozdj9has9] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.1;
}

small[b-9ozdj9has9] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 4px;
    color: #a9bfd2;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .you-chip[b-9ozdj9has9] {
        display: none;
    }
}
/* /Components/GameHud/SelectedWellPanel.razor.rz.scp.css */
.brick-panel[b-g0ebkuf7wl] {
    position: relative;
    width: min(338px, calc(100vw - 24px));
    box-sizing: border-box;
    padding: 16px;
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .94), rgba(13, 25, 37, .94));
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.brick-panel.is-multi[b-g0ebkuf7wl] {
    width: min(440px, calc(100vw - 24px));
}

.panel-close[b-g0ebkuf7wl] {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 8px;
    background: rgba(226,241,255,.12);
    color: #d9ebf8;
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
}

.panel-head[b-g0ebkuf7wl] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 34px;
}

.eyebrow[b-g0ebkuf7wl] {
    margin: 0;
    color: #93abc0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h2[b-g0ebkuf7wl] {
    margin: 8px 0 0;
    color: #f4f9ff;
    font-size: 28px;
    font-weight: 950;
    line-height: .95;
}

.primary-caption[b-g0ebkuf7wl] {
    margin: 6px 0 0;
    color: #a9bfd2;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
}

.tag[b-g0ebkuf7wl] {
    margin-top: 3px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(226,241,255,.1);
    color: #d9ebf8;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.selection-strip[b-g0ebkuf7wl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.selection-pill[b-g0ebkuf7wl] {
    min-width: 0;
    height: 38px;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 0 9px;
    border: 1px solid rgba(226,241,255,.12);
    border-radius: 8px;
    background: rgba(7, 17, 27, .34);
    color: #d9ebf8;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.selection-pill.is-primary[b-g0ebkuf7wl] {
    border-color: rgba(47,157,255,.78);
    background: rgba(47,157,255,.16);
    box-shadow: inset 0 0 0 1px rgba(47,157,255,.24);
}

.selection-pill i[b-g0ebkuf7wl] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.selection-pill span[b-g0ebkuf7wl],
.selection-pill b[b-g0ebkuf7wl] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-pill span[b-g0ebkuf7wl] {
    min-width: 0;
    font-size: 11px;
    font-weight: 900;
}

.selection-pill b[b-g0ebkuf7wl] {
    color: #93abc0;
    font-size: 10px;
}

.metric[b-g0ebkuf7wl] {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    color: #a9bfd2;
    font-size: 12px;
    font-weight: 850;
}

.meter[b-g0ebkuf7wl] {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(226,241,255,.12);
}

.meter i[b-g0ebkuf7wl] {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.blue[b-g0ebkuf7wl] { background: #2f9dff; }
.yellow[b-g0ebkuf7wl] { background: #f7c844; }
.green[b-g0ebkuf7wl] { background: #8ac552; }

b[b-g0ebkuf7wl] {
    color: #cfe1ef;
    font-variant-numeric: tabular-nums;
}

.note[b-g0ebkuf7wl] {
    margin: 12px 0 0;
    color: #a9bfd2;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
}

@media (max-width: 640px) {
    .brick-panel[b-g0ebkuf7wl] {
        width: min(330px, calc(100vw - 16px));
        padding: 12px;
        border-radius: 16px;
    }

    .brick-panel.is-multi[b-g0ebkuf7wl] {
        width: min(360px, calc(100vw - 16px));
    }

    h2[b-g0ebkuf7wl] {
        font-size: 21px;
    }

    .selection-strip[b-g0ebkuf7wl] {
        grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
        gap: 6px;
    }

    .selection-pill[b-g0ebkuf7wl] {
        height: 34px;
        padding: 0 7px;
    }

    .metric[b-g0ebkuf7wl] {
        grid-template-columns: 68px minmax(0, 1fr) 34px;
        gap: 8px;
        margin-top: 8px;
        font-size: 11px;
    }

    .note[b-g0ebkuf7wl] {
        margin-top: 8px;
    }
}
/* /Components/GameHud/TeamScoreboard.razor.rz.scp.css */
.team-scoreboard[b-xworvh43yk] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    min-width: 188px;
    padding: 9px 11px;
    border: 2px solid rgba(226, 241, 255, .12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .88), rgba(13, 25, 37, .88));
    box-shadow: 0 14px 34px rgba(2, 12, 22, .28), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.scoreboard-header[b-xworvh43yk] {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93abc0;
    font-weight: 900;
    margin-bottom: 4px;
}

.row[b-xworvh43yk] {
    display: grid;
    grid-template-columns: 16px auto 1fr auto;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 6px;
    border-radius: 8px;
}

.row.is-mine[b-xworvh43yk] {
    background: rgba(47, 157, 255, .12);
    border: 1px solid rgba(47, 157, 255, .35);
    padding: 3px 5px;
}

.swatch[b-xworvh43yk] {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16);
}

.label[b-xworvh43yk] {
    color: #cfd9e6;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.pct[b-xworvh43yk] {
    text-align: right;
    color: #f4f9ff;
    font-variant-numeric: tabular-nums;
}

.energy[b-xworvh43yk] {
    text-align: right;
    color: #ffd99b;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
    .team-scoreboard[b-xworvh43yk] {
        display: none;
    }
}
/* /Components/GameHud/TerritoryGauge.razor.rz.scp.css */
/* Territory ownership shown as a thin full-width strip at the top of the
   HUD. Tap toggles a per-group breakdown panel below. The bar itself + the
   water-share badge are always visible — that's the at-a-glance answer. */
.territory-strip[b-x7tnum2xc8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    min-height: 74px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(31, 52, 69, .96), rgba(13, 25, 37, .96));
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    color: #cfe1ef;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 120ms;
    position: relative;
}

.territory-strip:hover[b-x7tnum2xc8] {
    background: linear-gradient(180deg, rgba(36, 61, 81, .98), rgba(13, 25, 37, .98));
}

.territory-strip.expanded[b-x7tnum2xc8] {
    border-radius: 22px;
    flex-wrap: wrap;
    padding: 12px 16px 14px;
}

.territory-strip .bar[b-x7tnum2xc8] {
    flex: 1;
    display: flex;
    height: 16px;
    min-width: 80px;
    border-radius: 999px;
    background: rgba(226, 241, 255, .1);
    overflow: hidden;
    border: 1px solid rgba(226, 241, 255, .12);
    box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
}

.territory-strip .seg[b-x7tnum2xc8] {
    height: 100%;
    transition: width 250ms ease-out;
}

.territory-strip .meta[b-x7tnum2xc8] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 850;
}

.territory-strip .water[b-x7tnum2xc8] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.territory-strip .cells[b-x7tnum2xc8] {
    color: #93abc0;
    font-size: 10px;
}

.territory-strip .chevron[b-x7tnum2xc8] {
    color: #8a96b0;
    font-size: 10px;
    width: 10px;
    text-align: center;
}

.territory-strip .swatch[b-x7tnum2xc8] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.territory-strip .pct[b-x7tnum2xc8] {
    color: #e2e8f5;
}

/* Expanded breakdown — drops below the strip when toggled. flex-basis:100%
   forces it onto its own line in the wrapping flex container. */
.territory-strip .legend[b-x7tnum2xc8] {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 4px 12px;
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.territory-strip .legend .row[b-x7tnum2xc8] {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.territory-strip .legend .name[b-x7tnum2xc8] {
    flex: 1;
    color: #a8b3c7;
}

@media (max-width: 640px) {
    .territory-strip[b-x7tnum2xc8] {
        gap: 8px;
        min-height: 50px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .territory-strip.expanded[b-x7tnum2xc8] {
        border-radius: 16px;
        padding: 9px 10px 11px;
    }

    .territory-strip .bar[b-x7tnum2xc8] {
        height: 12px;
        min-width: 0;
    }

    .territory-strip .meta[b-x7tnum2xc8] {
        gap: 7px;
        font-size: 10px;
    }

    .territory-strip .cells[b-x7tnum2xc8] {
        display: none;
    }
}
/* /Components/GameHud/WorldChipPanel.razor.rz.scp.css */
.world-chip[b-7ndnilh6kc] {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 74px;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 2px solid rgba(226, 241, 255, .13);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(31, 52, 69, .96), rgba(13, 25, 37, .96));
    box-shadow: 0 18px 48px rgba(2, 12, 22, .35), inset 0 1px 0 rgba(255,255,255,.08);
    color: #eaf5ff;
}

.world-mark[b-7ndnilh6kc] {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #2d526f, #132737);
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 8px 16px rgba(0,0,0,.24);
}

.world-mark[b-7ndnilh6kc]::before {
    content: "";
    width: 24px;
    height: 24px;
    clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
    background: linear-gradient(160deg, #f8fcff, #2f9dff);
}

.eyebrow[b-7ndnilh6kc] {
    margin: 0;
    color: #93abc0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1;
    text-transform: uppercase;
}

strong[b-7ndnilh6kc] {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: #f4f9ff;
    font-size: 24px;
    font-weight: 950;
    line-height: .95;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span[b-7ndnilh6kc] {
    display: block;
    margin-top: 6px;
    color: #a9bfd2;
    font-size: 11px;
    font-weight: 850;
}

@media (max-width: 640px) {
    .world-chip[b-7ndnilh6kc] {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 9px;
        min-height: 58px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .world-mark[b-7ndnilh6kc] {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .world-mark[b-7ndnilh6kc]::before {
        width: 19px;
        height: 19px;
    }

    .eyebrow[b-7ndnilh6kc] {
        font-size: 8px;
        letter-spacing: .1em;
    }

    strong[b-7ndnilh6kc] {
        margin-top: 5px;
        font-size: 17px;
    }

    span[b-7ndnilh6kc] {
        margin-top: 4px;
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* /Pages/Index.razor.rz.scp.css */
.tidemark-brick-top-row[b-jrnq4w2y3q] {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(280px, 1fr) minmax(300px, 360px);
    gap: 16px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.tidemark-brick-world[b-jrnq4w2y3q],
.tidemark-brick-territory[b-jrnq4w2y3q],
.tidemark-brick-flow[b-jrnq4w2y3q] {
    min-width: 0;
}

.tidemark-brick-right-stack[b-jrnq4w2y3q] {
    display: grid;
    gap: 14px;
}

.tidemark-brick-right-stack[b-jrnq4w2y3q] {
    width: 320px;
}

.tidemark-bottom-center-stack[b-jrnq4w2y3q] {
    display: grid;
    justify-items: center;
    gap: 8px;
}

@media (max-width: 1024px) {
    .tidemark-brick-top-row[b-jrnq4w2y3q] {
        grid-template-columns: minmax(0, 1fr) minmax(116px, .68fr);
        grid-template-areas:
            "world flow"
            "territory territory";
        gap: 8px;
    }

    .tidemark-brick-world[b-jrnq4w2y3q] { grid-area: world; }
    .tidemark-brick-territory[b-jrnq4w2y3q] { grid-area: territory; }
    .tidemark-brick-flow[b-jrnq4w2y3q] { grid-area: flow; }

    .tidemark-brick-right-stack[b-jrnq4w2y3q] {
        display: none;
    }
}

@media (max-width: 360px) {
    .tidemark-brick-top-row[b-jrnq4w2y3q] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "world"
            "territory"
            "flow";
    }
}
