/* /Components/Game/CardPreviewModal.razor.rz.scp.css */
.card-modal-backdrop[b-i303uljfbs] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.card-modal[b-i303uljfbs] {
    background: var(--bs-body-bg);
    border-radius: 12px;
    max-width: 360px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    border: 2px solid var(--bs-border-color);
}

.card-modal-header[b-i303uljfbs] {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 700;
}

.card-modal-type[b-i303uljfbs] {
    font-size: 0.65rem;
    text-transform: uppercase;
    background: rgba(0,0,0,0.3);
    padding: 2px 6px;
    border-radius: 3px;
}

.card-modal-name[b-i303uljfbs] {
    flex: 1;
    font-size: 1.1rem;
}

.card-modal-rarity[b-i303uljfbs] {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Reuse type colors from CardView */
.type-resource[b-i303uljfbs] { background: #5a8f3c; }
.type-drone[b-i303uljfbs] { background: #3a6ea5; }
.type-trap[b-i303uljfbs] { background: #8b4513; }
.type-defencesystem[b-i303uljfbs] { background: #5f6b7c; }
.type-surveillance[b-i303uljfbs] { background: #6a5acd; }
.type-action[b-i303uljfbs] { background: #c0392b; }
.type-enhancement[b-i303uljfbs] { background: #d4a017; }
.type-spouse[b-i303uljfbs] { background: #b5446e; }
.type-pet[b-i303uljfbs] { background: #e07c24; }

.card-modal-art[b-i303uljfbs] {
    height: 120px;
    background: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-modal-art img[b-i303uljfbs] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-modal-type-icon[b-i303uljfbs] {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bs-secondary-color);
    opacity: 0.2;
}

.card-modal-body[b-i303uljfbs] {
    padding: 12px 16px;
}

.card-modal-desc[b-i303uljfbs] {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.card-modal-section[b-i303uljfbs] {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.card-modal-stats[b-i303uljfbs] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.effect-line[b-i303uljfbs] {
    padding-left: 8px;
    border-left: 2px solid var(--bs-border-color);
    margin: 4px 0;
    font-size: 0.8rem;
}

.card-modal-actions[b-i303uljfbs] {
    padding: 12px 16px;
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-modal-reason[b-i303uljfbs] {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Reuse resource badge and stat styles */
.resource-badge[b-i303uljfbs] {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    margin: 2px;
}
.res-credits[b-i303uljfbs] { background: #d4a017; color: #000; }
.res-tech[b-i303uljfbs] { background: #5e9cf5; }
.res-scrap[b-i303uljfbs] { background: #8b8b8b; }
.res-chemicals[b-i303uljfbs] { background: #9b59b6; }
.res-energy[b-i303uljfbs] { background: #f1c40f; color: #000; }

.stat[b-i303uljfbs] {
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
}
.stat-health[b-i303uljfbs] { background: #dc3545; }
.stat-attack[b-i303uljfbs] { background: #fd7e14; }
/* /Components/Game/CardView.razor.rz.scp.css */
.card-view[b-g75pypfvqs] {
    --card-w: 100px;
    --card-h: 140px;
    width: var(--card-w);
    min-width: var(--card-w);
    height: var(--card-h);
    border-radius: 7px;
    border: 2px solid rgba(0,0,0,0.4);
    background: #f5f0e6;
    position: relative;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
    font-size: 0.7rem;
    user-select: none;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    color: #222;
}

.card-view.compact[b-g75pypfvqs] {
    --card-w: 76px;
    --card-h: 108px;
    font-size: 0.6rem;
}

.card-view.tapped[b-g75pypfvqs] {
    transform: rotate(90deg);
    margin: 15px 10px;
    transition: transform 0.3s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card-view.playable[b-g75pypfvqs] {
    cursor: pointer;
    border-color: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.7), 1px 2px 4px rgba(0,0,0,0.3);
}

.card-view.playable:hover[b-g75pypfvqs] {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.6), 0 4px 8px rgba(0,0,0,0.4);
    z-index: 10;
}

.card-view.tapped.playable:hover[b-g75pypfvqs] {
    transform: rotate(90deg) scale(1.05);
}

.card-view.selected[b-g75pypfvqs] {
    border-color: #ffc107;
    box-shadow: 0 0 14px rgba(255, 193, 7, 0.9), 1px 2px 4px rgba(0,0,0,0.3);
}

.card-view.targetable[b-g75pypfvqs] {
    cursor: crosshair;
    border-color: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
    animation: pulse-target-b-g75pypfvqs 1s infinite;
}

@keyframes pulse-target-b-g75pypfvqs {
    0%, 100% { box-shadow: 0 0 8px rgba(220, 53, 69, 0.5); }
    50% { box-shadow: 0 0 16px rgba(220, 53, 69, 0.9); }
}

.card-view.standby-card[b-g75pypfvqs] {
    opacity: 0.6;
    filter: saturate(0.5);
}

.card-face[b-g75pypfvqs] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-back[b-g75pypfvqs] {
    background:
        /* Diamond lattice pattern */
        repeating-linear-gradient(
            45deg,
            transparent 0px, transparent 8px,
            rgba(255,255,255,0.05) 8px, rgba(255,255,255,0.05) 10px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px, transparent 8px,
            rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.03) 10px
        ),
        /* Center emblem glow */
        radial-gradient(circle at center, rgba(100,180,60,0.2) 0%, transparent 50%),
        linear-gradient(135deg, #2d5016, #4a7c23, #2d5016);
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.card-back-label[b-g75pypfvqs] {
    font-size: 2rem;
    font-weight: bold;
    color: rgba(255,255,255,0.25);
}

.card-front[b-g75pypfvqs] {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-header-strip[b-g75pypfvqs] {
    padding: 2px 5px;
    display: flex;
    gap: 3px;
    align-items: center;
    color: white;
    font-size: 0.6rem;
    min-height: 19px;
    flex-shrink: 0;
}

.card-type-label[b-g75pypfvqs] {
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
    padding: 1px 4px;
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.card-name[b-g75pypfvqs] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-weight: 700;
    font-size: 0.58rem;
}

/* Type header colors */
.type-resource[b-g75pypfvqs] { background: linear-gradient(90deg, #4a7a2e, #5a8f3c); }
.type-drone[b-g75pypfvqs] { background: linear-gradient(90deg, #2e5a8f, #3a6ea5); }
.type-trap[b-g75pypfvqs] { background: linear-gradient(90deg, #6b3410, #8b4513); }
.type-defencesystem[b-g75pypfvqs] { background: linear-gradient(90deg, #4a5568, #5f6b7c); }
.type-surveillance[b-g75pypfvqs] { background: linear-gradient(90deg, #5040a0, #6a5acd); }
.type-action[b-g75pypfvqs] { background: linear-gradient(90deg, #a02020, #c0392b); }
.type-enhancement[b-g75pypfvqs] { background: linear-gradient(90deg, #b08a10, #d4a017); }
.type-spouse[b-g75pypfvqs] { background: linear-gradient(90deg, #8f3458, #b5446e); }
.type-pet[b-g75pypfvqs] { background: linear-gradient(90deg, #c06418, #e07c24); }

.card-art[b-g75pypfvqs] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e0d0;
    min-height: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.card-art img[b-g75pypfvqs] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-art-compact[b-g75pypfvqs] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e0d0;
    min-height: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.card-type-icon[b-g75pypfvqs] {
    font-size: 1.5rem;
    opacity: 0.4;
}

.card-type-icon-compact[b-g75pypfvqs] {
    font-size: 1.1rem;
    opacity: 0.5;
}

.card-text[b-g75pypfvqs] {
    padding: 2px 5px;
    font-size: 0.52rem;
    line-height: 1.25;
    color: #333;
    overflow: hidden;
    max-height: 28px;
}

/* Cost pips */
.card-cost-bar[b-g75pypfvqs] {
    display: flex;
    gap: 2px;
    padding: 1px 5px;
    flex-shrink: 0;
}

.cost-pip[b-g75pypfvqs] {
    font-size: 0.52rem;
    font-weight: 800;
    padding: 0px 4px;
    border-radius: 3px;
    color: white;
    line-height: 1.5;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Stats bar */
.card-stats-bar[b-g75pypfvqs] {
    display: flex;
    gap: 2px;
    padding: 2px 5px;
    justify-content: flex-end;
    margin-top: auto;
    flex-shrink: 0;
    background: rgba(0,0,0,0.04);
}

.stat[b-g75pypfvqs] {
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.6rem;
    color: white;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.stat-health[b-g75pypfvqs] { background: #dc3545; }
.stat-attack[b-g75pypfvqs] { background: #fd7e14; }
.stat-armor[b-g75pypfvqs] { background: #6c757d; }

.res-credits[b-g75pypfvqs] { background: linear-gradient(135deg, #d4a017, #b8860b); color: #000; }
.res-tech[b-g75pypfvqs] { background: linear-gradient(135deg, #5e9cf5, #3a7bd5); }
.res-scrap[b-g75pypfvqs] { background: linear-gradient(135deg, #8b8b8b, #6b6b6b); }
.res-chemicals[b-g75pypfvqs] { background: linear-gradient(135deg, #9b59b6, #7d3c98); }
.res-energy[b-g75pypfvqs] { background: linear-gradient(135deg, #f1c40f, #d4ac0d); color: #000; }

/* Badges */
.card-badge[b-g75pypfvqs] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-weight: 900;
    font-size: 0.52rem;
    padding: 2px 8px;
    border-radius: 3px;
    color: white;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.card-badge.standby[b-g75pypfvqs] {
    background: rgba(80, 80, 80, 0.88);
}

.card-badge.fast[b-g75pypfvqs] {
    background: rgba(240, 190, 10, 0.9);
    color: #000;
    top: auto;
    bottom: 4px;
    left: 4px;
    transform: none;
    font-size: 0.45rem;
}

/* === Card Animations === */

/* 2.1 Deploy: card lands in zone with scale bounce */
.card-view.just-deployed[b-g75pypfvqs] {
    animation: card-land-b-g75pypfvqs 0.4s ease-out;
}

@keyframes card-land-b-g75pypfvqs {
    0%   { opacity: 0; transform: scale(1.3) translateY(-20px); }
    60%  { opacity: 1; transform: scale(0.95) translateY(2px); }
    80%  { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* 2.2 Tap: smooth rotation via transition (handled by .tapped rule above) */

/* Tap pulse: brief scale bump after tapping */
.card-view.just-tapped[b-g75pypfvqs] {
    animation: tap-pulse-b-g75pypfvqs 0.3s ease;
}

@keyframes tap-pulse-b-g75pypfvqs {
    0%   { transform: rotate(90deg) scale(1); }
    50%  { transform: rotate(90deg) scale(1.08); }
    100% { transform: rotate(90deg) scale(1); }
}

/* 2.3 Destroy: shake then fade out */
.card-view.destroying[b-g75pypfvqs] {
    animation: card-destroy-b-g75pypfvqs 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes card-destroy-b-g75pypfvqs {
    0%   { transform: scale(1); opacity: 1; }
    10%  { transform: translateX(-4px) scale(1); }
    20%  { transform: translateX(4px) scale(1); }
    30%  { transform: translateX(-3px) scale(1); }
    40%  { transform: translateX(3px) scale(1); opacity: 1; }
    50%  { transform: translateX(0) scale(1); opacity: 0.8; }
    100% { transform: scale(0.6) translateY(10px); opacity: 0; }
}

/* 2.4 Standby activation glow */
.card-view.just-activated[b-g75pypfvqs] {
    animation: activate-glow-b-g75pypfvqs 0.6s ease-out;
}

@keyframes activate-glow-b-g75pypfvqs {
    0%   { box-shadow: 0 0 0 rgba(40, 167, 69, 0); }
    40%  { box-shadow: 0 0 20px rgba(40, 167, 69, 0.8), 0 0 40px rgba(40, 167, 69, 0.3); }
    100% { box-shadow: 1px 2px 4px rgba(0,0,0,0.3); }
}

/* === Rarity Indicator Dot === */
.rarity-dot[b-g75pypfvqs] {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 2px rgba(0,0,0,0.4);
    pointer-events: none;
}

.rarity-common[b-g75pypfvqs] { background: #888; }
.rarity-uncommon[b-g75pypfvqs] { background: #28a745; }
.rarity-rare[b-g75pypfvqs] { background: #007bff; box-shadow: 0 0 4px rgba(0,123,255,0.5); }
.rarity-ultrarare[b-g75pypfvqs] { background: linear-gradient(135deg, #ffd700, #ffaa00); box-shadow: 0 0 6px rgba(255,215,0,0.6); }

/* === Foil Shimmer for Rare & UltraRare === */
.card-view.card-type-drone .card-face .rarity-rare[b-g75pypfvqs],
.card-view.card-type-drone .card-face .rarity-ultrarare[b-g75pypfvqs] {
    /* Handled by parent overlay */
}

.card-view:has(.rarity-rare) .card-front[b-g75pypfvqs]::after,
.card-view:has(.rarity-ultrarare) .card-front[b-g75pypfvqs]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,255,255,0.08) 45%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.08) 55%,
        transparent 70%
    );
    animation: foil-shimmer-b-g75pypfvqs 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
    border-radius: 5px;
}

.card-view:has(.rarity-ultrarare) .card-front[b-g75pypfvqs]::after {
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255,215,0,0.06) 40%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,215,0,0.06) 60%,
        transparent 75%
    );
    animation: foil-shimmer-b-g75pypfvqs 2.5s ease-in-out infinite;
}

@keyframes foil-shimmer-b-g75pypfvqs {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* === Mobile Touch Targets === */
@media (max-width: 767px) {
    .card-view.compact[b-g75pypfvqs] {
        --card-w: 68px;
        --card-h: 96px;
    }

    /* Increase tap area for compact cards */
    .card-view.compact.playable[b-g75pypfvqs],
    .card-view.compact.targetable[b-g75pypfvqs] {
        --card-w: 72px;
        --card-h: 100px;
    }
}
/* /Components/Game/CombatOverlay.razor.rz.scp.css */
.combat-backdrop[b-t56bnmpovu] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fade-in-b-t56bnmpovu 0.3s ease;
}

.combat-overlay[b-t56bnmpovu] {
    width: 75%;
    max-width: 800px;
    max-height: 55vh;
    background: linear-gradient(180deg, #1a2a1a, #0d1a0d);
    border-radius: 16px;
    border: 2px solid rgba(100, 180, 60, 0.4);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(100, 180, 60, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.combat-header[b-t56bnmpovu] {
    text-align: center;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.combat-arena[b-t56bnmpovu] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex: 1;
    gap: 12px;
}

.combat-side[b-t56bnmpovu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.combat-side-label[b-t56bnmpovu] {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.combat-cards[b-t56bnmpovu] {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.combat-unit[b-t56bnmpovu] {
    text-align: center;
}

.combat-unit-stat[b-t56bnmpovu] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ccc;
    margin-top: 4px;
}

.combat-player-name[b-t56bnmpovu] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* VS indicator */
.combat-vs[b-t56bnmpovu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 60px;
}

.vs-icon[b-t56bnmpovu] {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

.combat-arrow[b-t56bnmpovu] {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.combat-arrow.arrow-active[b-t56bnmpovu]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    animation: arrow-fire-b-t56bnmpovu 0.6s ease forwards;
}

@keyframes arrow-fire-b-t56bnmpovu {
    to { left: 100%; }
}

/* Hero target (when attacking hero directly) */
.hero-target-icon[b-t56bnmpovu] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.3);
    border: 2px solid rgba(220, 53, 69, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.6);
}

.hero-target-name[b-t56bnmpovu] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ccc;
    margin-top: 4px;
    text-align: center;
}

/* Result section */
.combat-result[b-t56bnmpovu] {
    text-align: center;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: result-appear-b-t56bnmpovu 0.4s ease;
}

.result-text[b-t56bnmpovu] {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.result-detail[b-t56bnmpovu] {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 2px;
}

.result-hit .result-text[b-t56bnmpovu] {
    color: #dc3545;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.result-blocked .result-text[b-t56bnmpovu] {
    color: #0d6efd;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.result-cancelled .result-text[b-t56bnmpovu] {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

@keyframes result-appear-b-t56bnmpovu {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.combat-footer[b-t56bnmpovu] {
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animation phases */
.phase-intro[b-t56bnmpovu] {
    animation: overlay-enter-b-t56bnmpovu 0.4s ease;
}

.phase-attack .attacker-side[b-t56bnmpovu] {
    animation: shake-b-t56bnmpovu 0.3s ease;
}

/* Card shake on hit */
.unit-attacking[b-t56bnmpovu] {
    animation: unit-pulse-b-t56bnmpovu 0.3s ease;
}

.unit-hit[b-t56bnmpovu] {
    animation: shake-b-t56bnmpovu 0.4s ease;
}

.hero-hit[b-t56bnmpovu] {
    animation: shake-b-t56bnmpovu 0.4s ease;
}

@keyframes unit-pulse-b-t56bnmpovu {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes overlay-enter-b-t56bnmpovu {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shake-b-t56bnmpovu {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@keyframes fade-in-b-t56bnmpovu {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Floating damage number */
.damage-float[b-t56bnmpovu] {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: damage-float-up-b-t56bnmpovu 1s ease-out forwards;
}

.damage-number[b-t56bnmpovu] {
    font-size: 2.5rem;
    font-weight: 900;
    color: #dc3545;
    text-shadow: 0 0 15px rgba(220, 53, 69, 0.8), 2px 2px 4px rgba(0,0,0,0.6);
}

@keyframes damage-float-up-b-t56bnmpovu {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.2); }
    50%  { opacity: 1; transform: translateX(-50%) translateY(-30px) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-60px) scale(0.8); }
}

/* Impact burst animation slot */
.combat-animation-slot[b-t56bnmpovu] {
    position: relative;
    width: 40px;
    height: 40px;
    margin-top: 4px;
}

.impact-burst[b-t56bnmpovu] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: burst-b-t56bnmpovu 0.5s ease-out forwards;
}

@keyframes burst-b-t56bnmpovu {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.8); opacity: 1; }
    50%  { box-shadow: 0 0 20px 10px rgba(255, 107, 53, 0.4); }
    100% { box-shadow: 0 0 40px 20px rgba(255, 107, 53, 0); opacity: 0; }
}

/* Direct damage icon */
.direct-damage-icon[b-t56bnmpovu] {
    font-size: 3rem;
    animation: direct-pulse-b-t56bnmpovu 0.6s ease infinite;
}

@keyframes direct-pulse-b-t56bnmpovu {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Mobile */
@media (max-width: 767px) {
    .combat-overlay[b-t56bnmpovu] {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .combat-header[b-t56bnmpovu] {
        font-size: 1rem;
        padding: 8px;
    }

    .combat-arena[b-t56bnmpovu] {
        padding: 12px 8px;
        gap: 6px;
    }

    .vs-icon[b-t56bnmpovu] {
        font-size: 1.1rem;
    }

    .combat-footer .btn[b-t56bnmpovu] {
        width: 100%;
        min-height: 48px;
        font-size: 0.9rem;
    }
}
/* /Components/Game/LawnView.razor.rz.scp.css */
/* Lawn container */
.lawn[b-4vv3zkzte9] {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 6px;
    min-height: 0;
}

.opponent-lawn[b-4vv3zkzte9] {
    background:
        /* Grass blade highlights */
        repeating-linear-gradient(85deg, transparent 0px, transparent 3px, rgba(255,255,255,0.02) 3px, rgba(255,255,255,0.02) 4px),
        /* Clover/weed accents */
        radial-gradient(circle 3px at 15% 30%, rgba(45,120,30,0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 55% 60%, rgba(50,130,35,0.25) 0%, transparent 100%),
        radial-gradient(circle 3px at 80% 25%, rgba(45,120,30,0.3) 0%, transparent 100%),
        /* Mow stripe pattern */
        repeating-linear-gradient(0deg, rgba(60,130,40,0.35) 0px, rgba(50,110,35,0.3) 12px, rgba(65,140,45,0.35) 12px, rgba(55,120,38,0.3) 24px),
        /* Base green */
        linear-gradient(180deg, #2a5a1a, #1e4a12);
    border: 2px solid rgba(180, 60, 60, 0.3);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), inset 0 0 60px rgba(30,80,15,0.15), 0 2px 8px rgba(0,0,0,0.3);
}

.active-lawn[b-4vv3zkzte9] {
    background:
        /* Grass blade highlights */
        repeating-linear-gradient(85deg, transparent 0px, transparent 3px, rgba(255,255,255,0.02) 3px, rgba(255,255,255,0.02) 4px),
        /* Clover/weed accents */
        radial-gradient(circle 3px at 20% 45%, rgba(50,135,35,0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 65% 30%, rgba(55,140,40,0.25) 0%, transparent 100%),
        radial-gradient(circle 3px at 40% 70%, rgba(50,135,35,0.3) 0%, transparent 100%),
        /* Mow stripe pattern */
        repeating-linear-gradient(0deg, rgba(60,130,40,0.35) 0px, rgba(50,110,35,0.3) 12px, rgba(65,140,45,0.35) 12px, rgba(55,120,38,0.3) 24px),
        /* Base green */
        linear-gradient(180deg, #2a5a1a, #1e4a12);
    border: 2px solid rgba(60, 140, 80, 0.5);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), inset 0 0 60px rgba(30,80,15,0.15), 0 2px 8px rgba(0,0,0,0.3);
}

/* Zone grid layout */
.lawn-zones[b-4vv3zkzte9] {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    min-height: 0;
}

/* Player layout: Hero left, Resources top-right, Drones+Defence bottom-right */
.zones-player[b-4vv3zkzte9] {
    grid-template-areas:
        "hero resources resources"
        "hero drones defence";
}

/* Opponent layout: mirror */
.zones-opponent[b-4vv3zkzte9] {
    grid-template-areas:
        "hero drones defence"
        "hero resources resources";
}

.zone-hero[b-4vv3zkzte9] { grid-area: hero; }
.zone-resources[b-4vv3zkzte9] { grid-area: resources; }
.zone-drones[b-4vv3zkzte9] { grid-area: drones; }
.zone-defence[b-4vv3zkzte9] { grid-area: defence; }

/* Zone styling */
.zone[b-4vv3zkzte9] {
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 2px 4px;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, background 0.2s;
}

.zone-header[b-4vv3zkzte9] {
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.3);
    padding: 1px 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.zone-count-badge[b-4vv3zkzte9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 7px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    font-size: 0.45rem;
    font-weight: 800;
    line-height: 1;
}

.zone-cards[b-4vv3zkzte9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    flex: 1;
    min-height: 40px;
}

.empty-zone[b-4vv3zkzte9] {
    color: rgba(255,255,255,0.15);
    font-size: 0.65rem;
    font-style: italic;
    text-align: center;
    width: 60px;
    height: 84px;
    border: 2px dashed rgba(255,255,255,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin: 2px;
    background: rgba(255,255,255,0.02);
}

.empty-zone-icon[b-4vv3zkzte9] {
    font-size: 1.2rem;
    opacity: 0.3;
}

/* Drop zone highlight when dragging */
.zone-drop-active[b-4vv3zkzte9] {
    border-color: rgba(40, 167, 69, 0.8) !important;
    border-style: solid !important;
    background: rgba(40, 167, 69, 0.1) !important;
    box-shadow: inset 0 0 12px rgba(40, 167, 69, 0.15);
    animation: zone-pulse-b-4vv3zkzte9 1s ease-in-out infinite;
}

@keyframes zone-pulse-b-4vv3zkzte9 {
    0%, 100% {
        border-color: rgba(40, 167, 69, 0.5);
        box-shadow: inset 0 0 12px rgba(40, 167, 69, 0.1);
    }
    50% {
        border-color: rgba(40, 167, 69, 1);
        box-shadow: inset 0 0 20px rgba(40, 167, 69, 0.25), 0 0 8px rgba(40, 167, 69, 0.3);
    }
}

/* Green flash on successful drop */
.zone-drop-success[b-4vv3zkzte9] {
    animation: zone-flash-green-b-4vv3zkzte9 0.4s ease-out;
}

@keyframes zone-flash-green-b-4vv3zkzte9 {
    0%   { background: rgba(40, 167, 69, 0.4); }
    100% { background: transparent; }
}

/* Red flash on rejected drop */
.zone-drop-rejected[b-4vv3zkzte9] {
    animation: zone-flash-red-b-4vv3zkzte9 0.4s ease-out;
}

@keyframes zone-flash-red-b-4vv3zkzte9 {
    0%   { background: rgba(220, 53, 69, 0.4); border-color: rgba(220, 53, 69, 0.8); }
    100% { background: transparent; border-color: rgba(255,255,255,0.15); }
}

/* Hero zone */
.zone-hero[b-4vv3zkzte9] {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    min-width: 80px;
    max-width: 90px;
}

.hero-card[b-4vv3zkzte9] {
    text-align: center;
    width: 100%;
}

.hero-portrait[b-4vv3zkzte9] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 4px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-portrait img[b-4vv3zkzte9] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-initial[b-4vv3zkzte9] {
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(255,255,255,0.5);
}

.hero-card-name[b-4vv3zkzte9] {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.companion-badge[b-4vv3zkzte9] {
    font-size: 0.45rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    margin-top: 2px;
    cursor: pointer;
    color: white;
}

.pet-badge[b-4vv3zkzte9] { background: rgba(224, 124, 36, 0.7); }
.spouse-badge[b-4vv3zkzte9] { background: rgba(181, 68, 110, 0.7); }

/* Card slot for enhancement drop targets */
.card-slot[b-4vv3zkzte9] {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.card-slot.enhance-drop-target[b-4vv3zkzte9] {
    outline: 2px dashed rgba(212, 160, 23, 0.7);
    outline-offset: 2px;
    border-radius: 7px;
    animation: enhance-pulse-b-4vv3zkzte9 1s ease-in-out infinite;
}

@keyframes enhance-pulse-b-4vv3zkzte9 {
    0%, 100% { outline-color: rgba(212, 160, 23, 0.4); }
    50% { outline-color: rgba(212, 160, 23, 1); }
}

.attachment-badges[b-4vv3zkzte9] {
    display: flex;
    gap: 2px;
    margin-top: 1px;
}

.attachment-badge[b-4vv3zkzte9] {
    font-size: 0.4rem;
    font-weight: 800;
    padding: 0 3px;
    border-radius: 2px;
    background: linear-gradient(135deg, #b08a10, #d4a017);
    color: #000;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1023px) {
    .lawn-zones[b-4vv3zkzte9] {
        grid-template-columns: auto 1fr 1fr;
        gap: 3px;
    }

    .zone-hero[b-4vv3zkzte9] {
        min-width: 60px;
        max-width: 70px;
    }

    .hero-portrait[b-4vv3zkzte9] {
        width: 44px;
        height: 44px;
    }

    .zone-cards[b-4vv3zkzte9] {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
    }

    .zone-header[b-4vv3zkzte9] {
        font-size: 0.45rem;
    }
}

@media (max-width: 600px) {
    .zone-hero[b-4vv3zkzte9] {
        min-width: 50px;
        max-width: 55px;
    }

    .hero-portrait[b-4vv3zkzte9] {
        width: 36px;
        height: 36px;
    }

    .hero-initial[b-4vv3zkzte9] {
        font-size: 1rem;
    }
}

/* Wide screen: lawns are side-by-side, so each lawn is narrower */
@media (min-width: 1440px) {
    .lawn-zones[b-4vv3zkzte9] {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
    }

    .zones-player[b-4vv3zkzte9] {
        grid-template-areas:
            "hero resources"
            "hero drones"
            "hero defence";
    }

    /* Mirror opponent: hero zone on the right */
    .zones-opponent[b-4vv3zkzte9] {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "resources hero"
            "drones hero"
            "defence hero";
    }

    .zone-cards[b-4vv3zkzte9] {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
    }
}
/* /Components/Game/PlayerStatsBar.razor.rz.scp.css */
.player-stats[b-z3aot4u82k] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--bs-tertiary-bg);
}

.hero-name[b-z3aot4u82k] {
    min-width: 100px;
}

.hero-name strong[b-z3aot4u82k] {
    display: block;
    font-size: 0.9rem;
}

.hero-title[b-z3aot4u82k] {
    font-size: 0.7rem;
    color: var(--bs-secondary-color);
}

.stat-bars[b-z3aot4u82k] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item[b-z3aot4u82k] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-bar-bg[b-z3aot4u82k] {
    flex: 1;
    height: 14px;
    background: var(--bs-body-bg);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
}

.stat-bar-fill[b-z3aot4u82k] {
    height: 100%;
    border-radius: 7px;
    transition: width 0.4s ease;
}

.health .stat-bar-fill[b-z3aot4u82k] {
    background: linear-gradient(90deg, #dc3545, #e85d6a);
}

.morale .stat-bar-fill[b-z3aot4u82k] {
    background: linear-gradient(90deg, #0d6efd, #5e9cf5);
}

.stat-value[b-z3aot4u82k] {
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}

/* Token circles */
.stat-token[b-z3aot4u82k] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.health-token[b-z3aot4u82k] {
    background: radial-gradient(circle at 35% 35%, #ff6b6b, #dc3545);
}

.morale-token[b-z3aot4u82k] {
    background: radial-gradient(circle at 35% 35%, #6ba3ff, #0d6efd);
}
/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-page[b-7otgzgpqbh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7otgzgpqbh] {
    flex: 1;
}

.admin-sidebar[b-7otgzgpqbh] {
    background-color: var(--bs-body-bg);
    border-right: 1px solid var(--bs-border-color);
}

.content[b-7otgzgpqbh] {
    padding-top: 1.1rem;
}

@media (min-width: 641px) {
    .admin-page[b-7otgzgpqbh] {
        flex-direction: row;
    }

    .admin-sidebar[b-7otgzgpqbh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

#blazor-error-ui[b-7otgzgpqbh] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7otgzgpqbh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/AdminNavMenu.razor.rz.scp.css */
.navbar-toggler[b-34qwuj0nqx] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--bs-body-color);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--bs-border-color);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 128, 128, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem var(--bs-tertiary-bg);
}

.navbar-toggler:checked[b-34qwuj0nqx] {
    background-color: var(--bs-tertiary-bg);
}

.top-row[b-34qwuj0nqx] {
    min-height: 3.5rem;
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.navbar-brand[b-34qwuj0nqx] {
    font-size: 1.1rem;
    color: var(--bs-body-color);
}

.bi[b-34qwuj0nqx] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-34qwuj0nqx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-34qwuj0nqx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-34qwuj0nqx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-34qwuj0nqx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-34qwuj0nqx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-34qwuj0nqx]  .nav-link {
        color: var(--bs-body-color);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-34qwuj0nqx]  a.active {
    background-color: var(--bs-primary);
    color: white;
}

.nav-item[b-34qwuj0nqx]  .nav-link:hover {
    background-color: var(--bs-tertiary-bg);
}

.nav-scrollable[b-34qwuj0nqx] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-34qwuj0nqx] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-34qwuj0nqx] {
        display: none;
    }

    .nav-scrollable[b-34qwuj0nqx] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/GameLayout.razor.rz.scp.css */
.game-shell[b-1fknammzzw] {
    min-height: 100vh;
    background: #0a0e17;
}

#blazor-error-ui[b-1fknammzzw] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-1fknammzzw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-pxdomz4nxa] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-pxdomz4nxa] {
    flex: 1;
}

.sidebar[b-pxdomz4nxa] {
    background-color: var(--bs-body-bg);
    border-right: 1px solid var(--bs-border-color);
}

.top-row[b-pxdomz4nxa] {
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-pxdomz4nxa]  a, .top-row[b-pxdomz4nxa]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-pxdomz4nxa]  a:hover, .top-row[b-pxdomz4nxa]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-pxdomz4nxa]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-pxdomz4nxa] {
        justify-content: space-between;
    }

    .top-row[b-pxdomz4nxa]  a, .top-row[b-pxdomz4nxa]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-pxdomz4nxa] {
        flex-direction: row;
    }

    .sidebar[b-pxdomz4nxa] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-pxdomz4nxa] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-pxdomz4nxa]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-pxdomz4nxa], article[b-pxdomz4nxa] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-pxdomz4nxa] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-pxdomz4nxa] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1zkc52g5ma] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--bs-body-color);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--bs-border-color);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 128, 128, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem var(--bs-tertiary-bg);
}

.navbar-toggler:checked[b-1zkc52g5ma] {
    background-color: var(--bs-tertiary-bg);
}

.top-row[b-1zkc52g5ma] {
    min-height: 3.5rem;
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

.navbar-brand[b-1zkc52g5ma] {
    font-size: 1.1rem;
    color: var(--bs-body-color);
}

.bi[b-1zkc52g5ma] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-1zkc52g5ma] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-1zkc52g5ma] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-1zkc52g5ma] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1zkc52g5ma] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1zkc52g5ma] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1zkc52g5ma]  .nav-link {
        color: var(--bs-body-color);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-1zkc52g5ma]  a.active {
    background-color: var(--bs-primary);
    color: white;
}

.nav-item[b-1zkc52g5ma]  .nav-link:hover {
    background-color: var(--bs-tertiary-bg);
}

.nav-scrollable[b-1zkc52g5ma] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-1zkc52g5ma] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1zkc52g5ma] {
        display: none;
    }

    .nav-scrollable[b-1zkc52g5ma] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/PlayerLayout.razor.rz.scp.css */
.player-shell[b-9xzao161gq] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0a0e17 0%, #111927 50%, #0d1520 100%);
}

.player-nav[b-9xzao161gq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.player-brand[b-9xzao161gq] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e2c87e;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.player-brand:hover[b-9xzao161gq] {
    color: #f0d88a;
    text-decoration: none;
}

.player-nav-links[b-9xzao161gq] {
    display: flex;
    gap: 1.5rem;
}

.player-link[b-9xzao161gq] {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.player-link:hover[b-9xzao161gq] {
    color: #fff;
    text-decoration: none;
}

[b-9xzao161gq] .player-link.active {
    color: #e2c87e;
    border-bottom-color: #e2c87e;
}

.player-main[b-9xzao161gq] {
    flex: 1;
}

.player-footer[b-9xzao161gq] {
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#blazor-error-ui[b-9xzao161gq] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-9xzao161gq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-yhxuz65ni4],
.components-reconnect-repeated-attempt-visible[b-yhxuz65ni4],
.components-reconnect-failed-visible[b-yhxuz65ni4],
.components-pause-visible[b-yhxuz65ni4],
.components-resume-failed-visible[b-yhxuz65ni4],
.components-rejoining-animation[b-yhxuz65ni4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-retrying[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-failed[b-yhxuz65ni4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-yhxuz65ni4] {
    display: block;
}


#components-reconnect-modal[b-yhxuz65ni4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-yhxuz65ni4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-yhxuz65ni4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-yhxuz65ni4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-yhxuz65ni4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-yhxuz65ni4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-yhxuz65ni4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-yhxuz65ni4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-yhxuz65ni4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-yhxuz65ni4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-yhxuz65ni4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-yhxuz65ni4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-yhxuz65ni4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-yhxuz65ni4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-yhxuz65ni4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-yhxuz65ni4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-yhxuz65ni4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-yhxuz65ni4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-yhxuz65ni4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Game/Board.razor.rz.scp.css */
/* === Turn Transition (hot seat) === */
.turn-transition[b-v0539y4sfd] {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(60, 100, 40, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #0a0e17, #111927);
}

.transition-content[b-v0539y4sfd] {
    text-align: center;
    animation: fade-in-b-v0539y4sfd 0.4s ease;
}

.transition-content h2[b-v0539y4sfd] {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.transition-player-name[b-v0539y4sfd] {
    font-size: 2.5rem;
    font-weight: 900;
    color: #e2c87e;
    margin-bottom: 4px;
    text-shadow: 0 0 30px rgba(226, 200, 126, 0.3);
}

.transition-hero[b-v0539y4sfd] {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    margin-bottom: 16px;
}

.transition-phase[b-v0539y4sfd] {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@keyframes fade-in-b-v0539y4sfd {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* === Game Board Layout === */
.game-board[b-v0539y4sfd] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    color: #e8e8e8;
    position: relative;
    /* CSS-only wood grain background */
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%),
        /* Wood grain lines */
        repeating-linear-gradient(
            175deg,
            transparent 0px, transparent 2px,
            rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 3px,
            transparent 3px, transparent 7px,
            rgba(0,0,0,0.04) 7px, rgba(0,0,0,0.04) 8px
        ),
        /* Wood knot accents */
        radial-gradient(ellipse 60px 30px at 25% 40%, rgba(80,45,15,0.25) 0%, transparent 100%),
        radial-gradient(ellipse 40px 20px at 70% 65%, rgba(80,45,15,0.2) 0%, transparent 100%),
        /* Base wood color with variation */
        linear-gradient(160deg,
            #3e2a1a 0%, #5c3d24 15%, #4a3220 30%, #6b4830 45%,
            #4a3220 55%, #5c3d24 70%, #3e2a1a 85%, #5c3d24 100%);
    background-size: 100% 100%, 12px 12px, 100% 100%, 100% 100%, 200px 200px;
}

/* --- Phase Bar --- */
.phase-bar[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    gap: 16px;
    z-index: 20;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.phase-info[b-v0539y4sfd] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.phase-label[b-v0539y4sfd] {
    font-size: 0.8rem;
    color: #c0a060;
    font-weight: 700;
    letter-spacing: 1px;
}

.phase-name[b-v0539y4sfd] {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #1a0f00;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.turn-indicator[b-v0539y4sfd] {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.game-over-banner[b-v0539y4sfd] {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #1a0f00;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- Phase Guidance --- */
.phase-guidance[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: rgba(226, 200, 126, 0.06);
    border-bottom: 1px solid rgba(226, 200, 126, 0.15);
    flex-shrink: 0;
}

.guidance-icon[b-v0539y4sfd] {
    font-size: 1.1rem;
}

.guidance-text[b-v0539y4sfd] {
    font-size: 0.78rem;
    color: rgba(226, 200, 126, 0.7);
    line-height: 1.3;
}

/* --- Battlefield Container --- */
.battlefield[b-v0539y4sfd] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* --- Player Areas --- */
.player-area[b-v0539y4sfd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 10px;
}

/* --- Lawns --- */
.lawn[b-v0539y4sfd] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-radius: 10px;
    padding: 8px;
    min-height: 0;
    position: relative;
}

/* CSS grass texture */
.opponent-lawn[b-v0539y4sfd],
.active-lawn[b-v0539y4sfd] {
    background:
        /* Grass blade overlay */
        repeating-linear-gradient(
            85deg,
            transparent 0px, transparent 3px,
            rgba(255,255,255,0.015) 3px, rgba(255,255,255,0.015) 4px
        ),
        /* Mow stripe pattern */
        repeating-linear-gradient(
            0deg,
            rgba(60, 130, 40, 0.35) 0px,
            rgba(50, 110, 35, 0.3) 12px,
            rgba(65, 140, 45, 0.35) 12px,
            rgba(55, 120, 38, 0.3) 24px
        ),
        /* Base green */
        linear-gradient(180deg, #2a5a1a, #1e4a12);
    border: 2px solid rgba(80, 140, 50, 0.5);
    box-shadow:
        inset 0 0 20px rgba(0,0,0,0.2),
        0 2px 8px rgba(0,0,0,0.3);
}

.opponent-lawn[b-v0539y4sfd] {
    border-color: rgba(180, 60, 60, 0.3);
}

.active-lawn[b-v0539y4sfd] {
    border-color: rgba(60, 140, 80, 0.5);
}

.lawn-row[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 55px;
    position: relative;
}

.row-label[b-v0539y4sfd] {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
    padding: 4px 3px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.card-row[b-v0539y4sfd] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    flex: 1;
    min-height: 55px;
    padding: 3px;
}

.empty-zone[b-v0539y4sfd] {
    color: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    font-style: italic;
    padding: 12px;
    text-align: center;
    width: 100%;
}

/* --- Fence / Hedge Divider --- */
.fence-divider[b-v0539y4sfd] {
    flex-shrink: 0;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 10px;
    margin: 2px 0;
}

.fence-pattern[b-v0539y4sfd] {
    width: 100%;
    height: 18px;
    border-radius: 4px;
    position: relative;
    /* Enhanced hedge texture */
    background:
        /* Leaf cluster layer (top) */
        radial-gradient(ellipse 8px 6px at 10px 9px, #3a7a24 0%, transparent 100%),
        radial-gradient(ellipse 7px 5px at 25px 7px, #4a8a2e 0%, transparent 100%),
        radial-gradient(ellipse 9px 6px at 40px 10px, #3a7a24 0%, transparent 100%),
        radial-gradient(ellipse 7px 5px at 55px 8px, #4a8a2e 0%, transparent 100%),
        radial-gradient(ellipse 8px 6px at 70px 9px, #3a7a24 0%, transparent 100%),
        /* Fine leaf detail */
        repeating-linear-gradient(
            120deg,
            transparent 0px, transparent 4px,
            rgba(80,170,50,0.12) 4px, rgba(80,170,50,0.12) 5px
        ),
        /* Base hedge gradient */
        linear-gradient(180deg, #58a038 0%, #4a8a2e 20%, #2d6018 60%, #245010 100%);
    background-size:
        80px 18px, 80px 18px, 80px 18px, 80px 18px, 80px 18px,
        10px 10px, 100% 100%;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, repeat, no-repeat;
    box-shadow:
        0 3px 6px rgba(0,0,0,0.4),
        0 1px 0 rgba(100, 180, 60, 0.2),
        inset 0 2px 0 rgba(120, 200, 70, 0.35),
        inset 0 -2px 0 rgba(0,0,0,0.25);
    border: 1px solid rgba(30, 60, 15, 0.6);
}

/* --- Side Zones --- */
.side-zones[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 14px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.zone-stack[b-v0539y4sfd] {
    text-align: center;
}

.zone-label[b-v0539y4sfd] {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.deck-pile[b-v0539y4sfd], .trash-pile[b-v0539y4sfd] {
    width: 42px;
    height: 58px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.deck-pile[b-v0539y4sfd] {
    background:
        repeating-linear-gradient(135deg,
            rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px,
            transparent 2px, transparent 6px),
        linear-gradient(135deg, #2d5016, #4a7c23);
    border: 2px solid #6a9e44;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.trash-pile[b-v0539y4sfd] {
    background: linear-gradient(135deg, #4a4a4a, #6a6a6a);
    border: 2px solid #888;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.resource-pool[b-v0539y4sfd] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    align-items: center;
}

.resource-badge[b-v0539y4sfd] {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.res-credits[b-v0539y4sfd] { background: linear-gradient(135deg, #d4a017, #b8860b); color: #000; }
.res-tech[b-v0539y4sfd] { background: linear-gradient(135deg, #5e9cf5, #3a7bd5); }
.res-scrap[b-v0539y4sfd] { background: linear-gradient(135deg, #8b8b8b, #6b6b6b); }
.res-chemicals[b-v0539y4sfd] { background: linear-gradient(135deg, #9b59b6, #7d3c98); }
.res-energy[b-v0539y4sfd] { background: linear-gradient(135deg, #f1c40f, #d4ac0d); color: #000; }

/* --- Action Bar --- */
.action-bar[b-v0539y4sfd] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    flex-shrink: 0;
}

.action-hint[b-v0539y4sfd] {
    font-size: 0.75rem;
    color: #bbb;
    margin-right: 8px;
}

.action-bar kbd[b-v0539y4sfd] {
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-family: inherit;
    margin-left: 4px;
    vertical-align: baseline;
}

.surrender-link[b-v0539y4sfd] {
    font-size: 0.6rem;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}

.surrender-link:hover[b-v0539y4sfd] {
    color: #999;
}

.surrender-confirm[b-v0539y4sfd] {
    font-size: 0.6rem;
    color: #dc3545;
    font-weight: 700;
}

.btn-xs[b-v0539y4sfd] {
    font-size: 0.55rem !important;
    padding: 1px 6px !important;
    line-height: 1.4;
}

/* --- Hand Area --- */
.hand-area[b-v0539y4sfd] {
    background: rgba(0,0,0,0.65);
    border-top: 2px solid rgba(192,160,96,0.3);
    padding: 6px 14px 8px;
    flex-shrink: 0;
    max-height: 180px;
}

.hand-label[b-v0539y4sfd] {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #c0a060;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hand-cards[b-v0539y4sfd] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(192,160,96,0.3) transparent;
}

/* --- Game Log --- */
.game-log[b-v0539y4sfd] {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 280px;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(4px);
    border-top-left-radius: 10px;
    z-index: 30;
    max-height: 30px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-left: 1px solid rgba(255,255,255,0.08);
}

.game-log.expanded[b-v0539y4sfd] {
    max-height: 300px;
}

.log-header[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
}

.log-toggle[b-v0539y4sfd] {
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: #aaa;
    flex: 1;
}

.log-entries[b-v0539y4sfd] {
    padding: 0 12px 8px;
    overflow-y: auto;
    max-height: 260px;
}

.log-entry[b-v0539y4sfd] {
    font-size: 0.65rem;
    padding: 2px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #ccc;
}

/* --- Toast --- */
.toast-message[b-v0539y4sfd] {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #198754;
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 100;
    animation: toast-in-b-v0539y4sfd 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.toast-message.error[b-v0539y4sfd] {
    background: #dc3545;
}

@keyframes toast-in-b-v0539y4sfd {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* === MOBILE RESPONSIVE === */

/* --- Collapsed Opponent Summary (hidden by default on desktop) --- */
.opponent-collapsed[b-v0539y4sfd] {
    display: none;
}

.opponent-collapsed-info[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.opponent-collapsed-name[b-v0539y4sfd] {
    font-weight: 700;
    font-size: 0.75rem;
    color: #e8e8e8;
    flex-shrink: 0;
}

.opponent-collapsed-stats[b-v0539y4sfd] {
    font-size: 0.65rem;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opponent-collapsed-btn[b-v0539y4sfd] {
    font-size: 0.6rem;
    padding: 2px 10px;
    flex-shrink: 0;
}

.opponent-collapse-btn[b-v0539y4sfd] {
    align-self: center;
    font-size: 0.6rem;
    margin-top: 4px;
}

/* --- Hand Drawer Handle (hidden on desktop) --- */
.hand-drawer-handle[b-v0539y4sfd] {
    display: none;
}

.hand-drawer-bar[b-v0539y4sfd] {
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .game-board[b-v0539y4sfd] { height: 100dvh; }
    .player-area[b-v0539y4sfd] { padding: 2px 4px; }
    .lawn-row[b-v0539y4sfd] { min-height: 45px; }
    .row-label[b-v0539y4sfd] { display: none; }
    .card-row[b-v0539y4sfd] {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
    }
    .side-zones[b-v0539y4sfd] { padding: 3px 8px; }
    .deck-pile[b-v0539y4sfd], .trash-pile[b-v0539y4sfd] { width: 34px; height: 48px; font-size: 0.75rem; }
    .hand-area[b-v0539y4sfd] { padding: 4px 8px; max-height: 165px; }
    .hand-cards[b-v0539y4sfd] { gap: 4px; }
    .game-log[b-v0539y4sfd] { width: 220px; }
    .phase-bar[b-v0539y4sfd] { padding: 4px 8px; gap: 8px; }
    .phase-info[b-v0539y4sfd] { gap: 6px; font-size: 0.75rem; }
    .phase-guidance[b-v0539y4sfd] { padding: 3px 8px; }
    .guidance-text[b-v0539y4sfd] { font-size: 0.7rem; }
    .action-hint[b-v0539y4sfd] { display: none; }
    .fence-divider[b-v0539y4sfd] { height: 18px; }
    .fence-pattern[b-v0539y4sfd] { height: 14px; }
}

/* === Mobile < 768px === */
@media (max-width: 767px) {
    /* 7.5 - Prevent horizontal scroll & pull-to-refresh */
    .game-board[b-v0539y4sfd] {
        overflow-x: hidden;
        overscroll-behavior: none;
        padding-bottom: 54px; /* space for hand drawer peek */
    }

    .battlefield[b-v0539y4sfd] {
        overflow-x: hidden;
    }

    /* 7.1 - Collapsed opponent */
    .opponent-collapsed[b-v0539y4sfd] {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        background: rgba(180, 60, 60, 0.15);
        border-bottom: 1px solid rgba(180, 60, 60, 0.3);
        flex-shrink: 0;
    }

    .opponent-collapsed.opponent-collapsed--hidden[b-v0539y4sfd] {
        display: none;
    }

    .opponent-area[b-v0539y4sfd] {
        display: none;
    }

    .opponent-area.opponent-area--force-show[b-v0539y4sfd] {
        display: flex;
    }

    /* 7.2 - Touch targets */
    .action-bar .btn[b-v0539y4sfd] {
        min-height: 44px;
        min-width: 44px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .combat-footer .btn[b-v0539y4sfd] {
        min-height: 44px;
        width: 100%;
    }

    .surrender-link[b-v0539y4sfd] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .log-toggle[b-v0539y4sfd] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* 7.3 - Bottom hand drawer */
    .hand-area[b-v0539y4sfd] {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 25;
        max-height: none;
        transform: translateY(calc(100% - 50px));
        transition: transform 0.3s ease;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(6px);
    }

    .hand-area.hand-area--expanded[b-v0539y4sfd] {
        transform: translateY(0);
    }

    .hand-drawer-handle[b-v0539y4sfd] {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 0 4px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 600px) {
    .fence-divider[b-v0539y4sfd] { height: 14px; }
    .fence-pattern[b-v0539y4sfd] { height: 10px; }
    .action-bar[b-v0539y4sfd] { padding: 4px 8px; }
    .transition-player-name[b-v0539y4sfd] { font-size: 1.8rem; }
}

/* === Tutorial Overlay === */
.tutorial-backdrop[b-v0539y4sfd] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    cursor: pointer;
}

.tutorial-tooltip[b-v0539y4sfd] {
    position: fixed;
    z-index: 201;
    background: linear-gradient(135deg, #151a24, #1a2030);
    border: 2px solid rgba(226, 200, 126, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(226, 200, 126, 0.08);
    animation: tutorial-appear-b-v0539y4sfd 0.3s ease;
}

.tutorial-tooltip[b-v0539y4sfd]::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #151a24;
    border-right: 2px solid rgba(226, 200, 126, 0.4);
    border-bottom: 2px solid rgba(226, 200, 126, 0.4);
    transform: rotate(45deg);
}

.tutorial-pos-hand[b-v0539y4sfd] {
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-pos-hand[b-v0539y4sfd]::after {
    bottom: -8px;
    left: 50%;
    margin-left: -6px;
}

.tutorial-pos-action[b-v0539y4sfd] {
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-pos-action[b-v0539y4sfd]::after {
    bottom: -8px;
    left: 50%;
    margin-left: -6px;
}

.tutorial-pos-center[b-v0539y4sfd] {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tutorial-pos-center[b-v0539y4sfd]::after {
    display: none;
}

@keyframes tutorial-appear-b-v0539y4sfd {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.tutorial-pos-center[b-v0539y4sfd] {
    animation-name: tutorial-appear-center-b-v0539y4sfd;
}

@keyframes tutorial-appear-center-b-v0539y4sfd {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.tutorial-step-indicator[b-v0539y4sfd] {
    font-size: 0.6rem;
    color: rgba(226, 200, 126, 0.8);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.tutorial-message[b-v0539y4sfd] {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.4;
    margin-bottom: 12px;
}

.tutorial-btn[b-v0539y4sfd] {
    display: block;
    margin-left: auto;
}

/* === Phase Transition Flash === */
.phase-transition-overlay[b-v0539y4sfd] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    z-index: 150;
    pointer-events: none;
    animation: phase-flash-b-v0539y4sfd 1s ease forwards;
}

.phase-transition-text[b-v0539y4sfd] {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #e2c87e;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(226, 200, 126, 0.6), 0 0 60px rgba(226, 200, 126, 0.3);
    animation: phase-text-pop-b-v0539y4sfd 1s ease forwards;
}

@keyframes phase-flash-b-v0539y4sfd {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes phase-text-pop-b-v0539y4sfd {
    0%   { transform: scale(0.8); opacity: 0; }
    20%  { transform: scale(1.05); opacity: 1; }
    70%  { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* === Income Forecast === */
.income-forecast[b-v0539y4sfd] {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 3px;
}

.forecast-label[b-v0539y4sfd] {
    font-size: 0.65rem;
    color: #888;
    font-weight: 600;
}

.forecast-resource[b-v0539y4sfd] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    opacity: 0.7;
    color: white;
}

.forecast-none[b-v0539y4sfd] {
    font-size: 0.65rem;
    color: #666;
    font-style: italic;
}

/* --- Lawn Labels (visible on wide screens) --- */
.lawn-label[b-v0539y4sfd] {
    display: none;
}

/* === WIDE SCREEN: Side-by-side lawns === */
@media (min-width: 1440px) {
    .battlefield[b-v0539y4sfd] {
        flex-direction: row;
        overflow: hidden;
    }

    .player-area[b-v0539y4sfd] {
        flex: 1;
        min-width: 0;
    }

    .lawn-label[b-v0539y4sfd] {
        display: block;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,0.5);
        padding: 4px 0 2px;
    }

    /* Fence becomes vertical */
    .fence-divider[b-v0539y4sfd] {
        height: auto;
        width: 24px;
        flex-shrink: 0;
        padding: 10px 0;
        margin: 0;
    }

    .fence-pattern[b-v0539y4sfd] {
        width: 18px;
        height: 100%;
        background:
            radial-gradient(ellipse 6px 8px at 9px 10px, #3a7a24 0%, transparent 100%),
            radial-gradient(ellipse 5px 7px at 7px 25px, #4a8a2e 0%, transparent 100%),
            radial-gradient(ellipse 6px 9px at 10px 40px, #3a7a24 0%, transparent 100%),
            radial-gradient(ellipse 5px 7px at 8px 55px, #4a8a2e 0%, transparent 100%),
            radial-gradient(ellipse 6px 8px at 9px 70px, #3a7a24 0%, transparent 100%),
            repeating-linear-gradient(
                30deg,
                transparent 0px, transparent 4px,
                rgba(80,170,50,0.12) 4px, rgba(80,170,50,0.12) 5px
            ),
            linear-gradient(90deg, #58a038 0%, #4a8a2e 20%, #2d6018 60%, #245010 100%);
        background-size:
            18px 80px, 18px 80px, 18px 80px, 18px 80px, 18px 80px,
            10px 10px, 100% 100%;
        background-repeat: repeat-y, repeat-y, repeat-y, repeat-y, repeat-y, repeat, no-repeat;
        border-radius: 4px;
        box-shadow:
            3px 0 6px rgba(0,0,0,0.4),
            inset 2px 0 0 rgba(120, 200, 70, 0.35),
            inset -2px 0 0 rgba(0,0,0,0.25);
        border: 1px solid rgba(30, 60, 15, 0.6);
    }

    /* Hand spans full width below */
    .hand-area[b-v0539y4sfd] {
        max-height: 200px;
    }

    /* Larger cards on wide screens */
    .hand-cards[b-v0539y4sfd] {
        justify-content: center;
    }
}
/* /Components/Pages/Game/Lobby.razor.rz.scp.css */
/* === LOBBY CONTAINER === */
.lobby[b-sme5fl0frp] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* === HEADER === */
.lobby-header[b-sme5fl0frp] {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lobby-title[b-sme5fl0frp] {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(226, 200, 126, 0.2);
}

.lobby-subtitle[b-sme5fl0frp] {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

/* === LOADING === */
.lobby-loading[b-sme5fl0frp] {
    text-align: center;
    padding: 4rem 0;
    color: rgba(255, 255, 255, 0.5);
}

.loading-spinner[b-sme5fl0frp] {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(226, 200, 126, 0.15);
    border-top-color: #e2c87e;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin-b-sme5fl0frp 0.8s linear infinite;
}

@keyframes spin-b-sme5fl0frp {
    to { transform: rotate(360deg); }
}

/* === ALERTS === */
.lobby-alert[b-sme5fl0frp] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    max-width: 500px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.alert-icon[b-sme5fl0frp] {
    font-size: 1.5rem;
    color: #ffc107;
    flex-shrink: 0;
}

.lobby-alert a[b-sme5fl0frp] {
    color: #e2c87e;
}

/* === PLAYER PANELS === */
.players-row[b-sme5fl0frp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.player-panel[b-sme5fl0frp] {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.3s;
}

.panel-left[b-sme5fl0frp] { border-top: 3px solid rgba(100, 180, 255, 0.4); }
.panel-right[b-sme5fl0frp] { border-top: 3px solid rgba(255, 120, 100, 0.4); }

.panel-header[b-sme5fl0frp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.panel-number[b-sme5fl0frp] {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.name-input[b-sme5fl0frp] {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
}

.name-input:focus[b-sme5fl0frp] {
    border-color: rgba(226, 200, 126, 0.4);
}

.name-input[b-sme5fl0frp]::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* === HERO GRID === */
.hero-grid[b-sme5fl0frp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-option[b-sme5fl0frp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.hero-option:hover:not(.taken)[b-sme5fl0frp] {
    border-color: rgba(226, 200, 126, 0.3);
    background: rgba(226, 200, 126, 0.05);
}

.hero-option.selected[b-sme5fl0frp] {
    border-color: rgba(226, 200, 126, 0.5);
    background: rgba(226, 200, 126, 0.08);
    box-shadow: 0 0 20px rgba(226, 200, 126, 0.08);
}

.hero-option.taken[b-sme5fl0frp] {
    opacity: 0.35;
    cursor: not-allowed;
}

.hero-portrait[b-sme5fl0frp] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(226, 200, 126, 0.15), rgba(226, 200, 126, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.selected .hero-portrait[b-sme5fl0frp] {
    border-color: rgba(226, 200, 126, 0.5);
}

.hero-initial[b-sme5fl0frp] {
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
}

.selected .hero-initial[b-sme5fl0frp] {
    color: #e2c87e;
}

.hero-info[b-sme5fl0frp] {
    flex: 1;
    min-width: 0;
}

.hero-name[b-sme5fl0frp] {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.hero-title-text[b-sme5fl0frp] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.hero-stats[b-sme5fl0frp] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.stat-hp[b-sme5fl0frp], .stat-mr[b-sme5fl0frp] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

.stat-hp[b-sme5fl0frp] {
    background: rgba(220, 53, 69, 0.2);
    color: #ef9a9a;
}

.stat-mr[b-sme5fl0frp] {
    background: rgba(30, 136, 229, 0.2);
    color: #90caf9;
}

.selected-check[b-sme5fl0frp] {
    color: #e2c87e;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.taken-label[b-sme5fl0frp] {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* === HERO PREVIEW === */
.hero-preview[b-sme5fl0frp] {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(226, 200, 126, 0.04);
    border: 1px solid rgba(226, 200, 126, 0.1);
    border-radius: 6px;
}

.preview-name[b-sme5fl0frp] {
    font-weight: 700;
    color: #e2c87e;
    font-size: 0.9rem;
}

.preview-title[b-sme5fl0frp] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.25rem;
}

.preview-desc[b-sme5fl0frp] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.preview-abilities[b-sme5fl0frp] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-ability[b-sme5fl0frp] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.ability-name[b-sme5fl0frp] {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.ability-name[b-sme5fl0frp]::after {
    content: ' — ';
    color: rgba(255, 255, 255, 0.2);
}

/* === FOOTER / START BUTTON === */
.lobby-footer[b-sme5fl0frp] {
    text-align: center;
    margin-top: 2.5rem;
}

.start-button[b-sme5fl0frp] {
    position: relative;
    display: inline-block;
    padding: 1rem 3.5rem;
    background: linear-gradient(135deg, #b8860b, #daa520, #b8860b);
    color: #1a0f00;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(218, 165, 32, 0.6);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.start-button:hover:not(.disabled)[b-sme5fl0frp] {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(184, 134, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.start-button:active:not(.disabled)[b-sme5fl0frp] {
    transform: translateY(0);
}

.start-button.disabled[b-sme5fl0frp] {
    opacity: 0.35;
    cursor: not-allowed;
}

.start-button-text[b-sme5fl0frp] {
    position: relative;
    z-index: 1;
}

.start-button-glow[b-sme5fl0frp] {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer-b-sme5fl0frp 3s ease-in-out infinite;
}

.disabled .start-button-glow[b-sme5fl0frp] {
    animation: none;
    opacity: 0;
}

@keyframes shimmer-b-sme5fl0frp {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.start-hint[b-sme5fl0frp] {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
    .players-row[b-sme5fl0frp] {
        grid-template-columns: 1fr;
    }

    .lobby[b-sme5fl0frp] {
        padding: 1.5rem 1rem 3rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* === HERO SECTION === */
.hero-section[b-za56poivb8] {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(60, 100, 40, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(180, 140, 50, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(40, 80, 60, 0.15) 0%, transparent 50%);
}

.hero-particles[b-za56poivb8] {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(226, 200, 126, 0.4) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 60%, rgba(226, 200, 126, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 50% 10%, rgba(226, 200, 126, 0.2) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 40%, rgba(226, 200, 126, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 80%, rgba(226, 200, 126, 0.25) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 15% 90%, rgba(226, 200, 126, 0.3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 15%, rgba(226, 200, 126, 0.2) 50%, transparent 50%);
    animation: drift-b-za56poivb8 20s linear infinite;
}

@keyframes drift-b-za56poivb8 {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.hero-content[b-za56poivb8] {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-emblem[b-za56poivb8] {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.emblem-ring[b-za56poivb8] {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(226, 200, 126, 0.4);
    border-radius: 50%;
    animation: spin-slow-b-za56poivb8 12s linear infinite;
}

.emblem-ring[b-za56poivb8]::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(226, 200, 126, 0.15);
    border-radius: 50%;
}

@keyframes spin-slow-b-za56poivb8 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.emblem-icon[b-za56poivb8] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #e2c87e;
    filter: drop-shadow(0 0 8px rgba(226, 200, 126, 0.5));
}

.hero-title[b-za56poivb8] {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow:
        0 0 40px rgba(226, 200, 126, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle[b-za56poivb8] {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* === PLAY BUTTON === */
.play-button[b-za56poivb8] {
    position: relative;
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #b8860b, #daa520, #b8860b);
    color: #1a0f00;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(218, 165, 32, 0.6);
    box-shadow:
        0 4px 20px rgba(184, 134, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.play-button:hover[b-za56poivb8] {
    transform: translateY(-2px);
    box-shadow:
        0 6px 30px rgba(184, 134, 11, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1a0f00;
    text-decoration: none;
}

.play-button:active[b-za56poivb8] {
    transform: translateY(0);
}

.play-button-text[b-za56poivb8] {
    position: relative;
    z-index: 1;
}

.play-button-glow[b-za56poivb8] {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer-b-za56poivb8 3s ease-in-out infinite;
}

@keyframes shimmer-b-za56poivb8 {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.play-button-alt[b-za56poivb8] {
    background: linear-gradient(135deg, #2d5a1e, #3d7a28, #2d5a1e);
    color: #e8f5e0;
    border-color: rgba(61, 122, 40, 0.6);
    box-shadow: 0 4px 20px rgba(45, 90, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.play-button-alt:hover[b-za56poivb8] {
    color: #fff;
    box-shadow: 0 6px 30px rgba(45, 90, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* === FEATURES === */
.features-section[b-za56poivb8] {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(226, 200, 126, 0.03) 50%, transparent 100%);
}

.features-grid[b-za56poivb8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card[b-za56poivb8] {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover[b-za56poivb8] {
    border-color: rgba(226, 200, 126, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon[b-za56poivb8] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #e2c87e;
    filter: drop-shadow(0 0 6px rgba(226, 200, 126, 0.3));
}

.feature-card h3[b-za56poivb8] {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card p[b-za56poivb8] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* === CARD SHOWCASE === */
.card-showcase[b-za56poivb8] {
    padding: 4rem 2rem 5rem;
}

.section-title[b-za56poivb8] {
    text-align: center;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3rem;
}

.section-title[b-za56poivb8]::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2c87e, transparent);
    margin: 0.75rem auto 0;
}

.card-types-grid[b-za56poivb8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.card-type[b-za56poivb8] {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.25rem;
    transition: border-color 0.3s;
}

.card-type:hover[b-za56poivb8] {
    border-color: rgba(255, 255, 255, 0.12);
}

.card-type-header[b-za56poivb8] {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.card-type-header.resource[b-za56poivb8] { background: rgba(46, 125, 50, 0.3); color: #81c784; }
.card-type-header.drone[b-za56poivb8] { background: rgba(198, 40, 40, 0.3); color: #ef9a9a; }
.card-type-header.trap[b-za56poivb8] { background: rgba(142, 36, 170, 0.3); color: #ce93d8; }
.card-type-header.defence[b-za56poivb8] { background: rgba(30, 136, 229, 0.3); color: #90caf9; }
.card-type-header.action[b-za56poivb8] { background: rgba(255, 143, 0, 0.3); color: #ffcc80; }
.card-type-header.enhancement[b-za56poivb8] { background: rgba(0, 172, 193, 0.3); color: #80deea; }

.card-type p[b-za56poivb8] {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* === CTA === */
.cta-section[b-za56poivb8] {
    text-align: center;
    padding: 4rem 2rem 5rem;
    background: radial-gradient(ellipse at 50% 50%, rgba(60, 100, 40, 0.12) 0%, transparent 70%);
}

.cta-section h2[b-za56poivb8] {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-section p[b-za56poivb8] {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
    .hero-section[b-za56poivb8] {
        min-height: 70vh;
    }

    .features-grid[b-za56poivb8],
    .card-types-grid[b-za56poivb8] {
        grid-template-columns: 1fr;
    }

    .play-button[b-za56poivb8] {
        padding: 0.85rem 2.5rem;
    }
}
