/* /Components/Game/DailyEventModal.razor.rz.scp.css */
/* ===== Daily Event Modal ===== */

.daily-event-modal[b-zfy54to6jb] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 3px solid var(--wood-light);
    padding: var(--space-xl);
    color: var(--text-primary);
    width: 450px;
    max-width: 90vw;
    box-shadow: 0 0 40px rgba(243, 156, 18, 0.4);
    border-radius: var(--radius-lg);
    animation: zoomIn-b-zfy54to6jb 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header h2[b-zfy54to6jb] {
    color: var(--gold);
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--wood-medium);
    padding-bottom: 10px;
}

@keyframes zoomIn-b-zfy54to6jb {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
/* /Components/Game/DailyRewardModal.razor.rz.scp.css */
/* ===== Daily Reward Modal ===== */

.reward-modal[b-hiwqr6dv8d] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 3px solid var(--gold);
    padding: 0;
    color: var(--text-primary);
    width: 520px;
    max-width: 92vw;
    box-shadow: 0 0 60px rgba(243, 156, 18, 0.35);
    border-radius: var(--radius-lg);
    animation: rewardPopIn-b-hiwqr6dv8d 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.reward-header[b-hiwqr6dv8d] {
    background: linear-gradient(135deg, var(--wood-dark), #2a1a0e);
    padding: 20px 25px 15px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    position: relative;
}

.btn-close-modal[b-hiwqr6dv8d] {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-close-modal:hover[b-hiwqr6dv8d] {
    color: var(--danger);
}

.reward-header h2[b-hiwqr6dv8d] {
    margin: 0 0 5px;
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--gold);
}

.reward-streak-label[b-hiwqr6dv8d] {
    color: var(--gold-light);
    font-size: 0.95rem;
    font-family: var(--font-ui);
    letter-spacing: 1px;
}

.reward-body[b-hiwqr6dv8d] {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ===== Streak Track ===== */
.streak-track[b-hiwqr6dv8d] {
    display: flex;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.streak-day[b-hiwqr6dv8d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.streak-dot[b-hiwqr6dv8d] {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-round);
    background: var(--wood-dark);
    border: 2px solid var(--wood-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.streak-day.past .streak-dot[b-hiwqr6dv8d] {
    background: var(--success-dark);
    border-color: var(--success);
    color: white;
    font-size: 0.9rem;
}

.streak-day.current .streak-dot[b-hiwqr6dv8d] {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    border-color: var(--gold-light);
    color: var(--bg-dark);
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--gold-glow);
    animation: currentPulse-b-hiwqr6dv8d 1.5s ease-in-out infinite;
}

.streak-gold[b-hiwqr6dv8d] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-ui);
}

.streak-day.current .streak-gold[b-hiwqr6dv8d] {
    color: var(--gold);
    font-weight: bold;
}

.streak-day.past .streak-gold[b-hiwqr6dv8d] {
    color: var(--success);
}

/* ===== Reward Amount ===== */
.reward-amount[b-hiwqr6dv8d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid var(--gold-glow);
    border-radius: var(--radius-pill);
}

.reward-gold-icon[b-hiwqr6dv8d] {
    font-size: 1.6rem;
}

.reward-gold-value[b-hiwqr6dv8d] {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ===== Claim Button ===== */
.reward-claim-btn[b-hiwqr6dv8d] {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    color: var(--bg-dark);
    border: none;
    padding: 12px 40px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward-claim-btn:hover[b-hiwqr6dv8d] {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--gold-glow);
}

.reward-claim-btn:active[b-hiwqr6dv8d] {
    transform: scale(0.98);
}

.reward-claimed-msg[b-hiwqr6dv8d] {
    color: var(--success);
    font-family: var(--font-title);
    font-size: 1.2rem;
    animation: fadeInUp 0.3s ease-out;
}

.reward-already-claimed[b-hiwqr6dv8d] {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.reward-already-claimed p[b-hiwqr6dv8d] {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Animations ===== */
@keyframes rewardPopIn-b-hiwqr6dv8d {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes currentPulse-b-hiwqr6dv8d {
    0%, 100% { box-shadow: 0 0 10px var(--gold-glow); }
    50% { box-shadow: 0 0 25px var(--gold-glow); }
}
/* /Components/Game/DocumentationPanel.razor.rz.scp.css */
/* ===== Documentation Panel CSS ===== */

.modal-backdrop[b-ekequq5oto] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-overlay);
    backdrop-filter: blur(5px);
    z-index: var(--z-overlay);
    animation: fadeIn 0.2s ease-out;
}

.doc-modal[b-ekequq5oto] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 3px solid var(--wood-dark);
    padding: var(--space-xl);
    color: var(--gold);
    width: 600px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 30px var(--gold-glow);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header[b-ekequq5oto] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--wood-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.modal-header h2[b-ekequq5oto] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.8rem;
}

.btn-close[b-ekequq5oto] {
    background: transparent;
    border: none;
    color: #bdc3c7;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--ease-smooth);
}

.btn-close:hover[b-ekequq5oto] {
    color: var(--danger);
}

.modal-content section[b-ekequq5oto] {
    margin-bottom: 25px;
}

.modal-content h3[b-ekequq5oto] {
    border-left: 3px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p[b-ekequq5oto] {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-content ul[b-ekequq5oto] {
    color: #bdc3c7;
    padding-left: 20px;
    line-height: 1.6;
}

.modal-content li[b-ekequq5oto] {
    margin-bottom: 8px;
}

.modal-content strong[b-ekequq5oto] {
    color: var(--gold);
}

/* Custom Scrollbar */
.doc-modal[b-ekequq5oto]::-webkit-scrollbar {
    width: 8px;
}

.doc-modal[b-ekequq5oto]::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

.doc-modal[b-ekequq5oto]::-webkit-scrollbar-thumb {
    background: var(--wood-medium);
    border-radius: 4px;
}

.doc-modal[b-ekequq5oto]::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
/* /Components/Game/GameMap.razor.rz.scp.css */
/* ===== Game Map — Day 41 Design System Migration ===== */

.game-map[b-cvmieyu3i2] {
    position: absolute;
    inset: 0;
    z-index: var(--z-map);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-deep);
}

.map-wrapper[b-cvmieyu3i2] {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1;
}

.map-image[b-cvmieyu3i2] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* Day 41: Subtle fade-in on map load */
    animation: fadeIn 0.5s ease-out;
}

.ui-layer[b-cvmieyu3i2] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
/* /Components/Game/InventoryPanel.razor.rz.scp.css */
/* ===== Inventory Panel — Day 39 Design System Migration ===== */

/* Slide-in Animation (uses global @keyframes slideInRight from app.css) */

.inventory-panel[b-zp1x1d0xoy] {
    width: var(--panel-width);
    height: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 2px solid var(--wood-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(243, 156, 18, 0.1);
    color: var(--text-primary);
    font-family: var(--font-ui);
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
}

/* ===== Header ===== */

.panel-header[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid var(--wood-medium);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    cursor: grab;
    overflow: hidden;
}

.header-main[b-zp1x1d0xoy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-header);
    border-bottom: 1px solid var(--wood-subtle);
}

.header-title-group[b-zp1x1d0xoy] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon[b-zp1x1d0xoy] {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--gold-glow));
}

.header-titles h3[b-zp1x1d0xoy] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1;
}

.location-context[b-zp1x1d0xoy] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

.town-lore-section[b-zp1x1d0xoy] {
    padding: 10px 20px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(139, 94, 60, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.town-description[b-zp1x1d0xoy] {
    margin: 0 0 6px 0;
    font-family: var(--font-ui);
    font-style: italic;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
    text-align: center;
}

.town-stats[b-zp1x1d0xoy] {
    display: flex;
    justify-content: center;
}

.tax-badge[b-zp1x1d0xoy] {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--wood-border);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.stat-label[b-zp1x1d0xoy] {
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.65rem;
}

.stat-value[b-zp1x1d0xoy] {
    color: var(--success);
    font-weight: bold;
}

.close-btn[b-zp1x1d0xoy] {
    background: none;
    border: none;
    color: #a99;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--ease-smooth);
    padding: 4px 8px;
}

.close-btn:hover[b-zp1x1d0xoy] {
    color: #f55;
}

/* ===== Category Tabs ===== */

.category-tabs[b-zp1x1d0xoy] {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--wood-light);
    background: rgba(15, 10, 5, 0.6);
    overflow-x: auto;
}

.cat-tab[b-zp1x1d0xoy] {
    padding: var(--space-sm) 14px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-dim);
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease-bounce);
    white-space: nowrap;
}

.cat-tab:hover[b-zp1x1d0xoy] {
    color: #c0b090;
    background: var(--gold-dim);
}

.cat-tab.active[b-zp1x1d0xoy] {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--gold-dim);
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ===== Content ===== */

.panel-content[b-zp1x1d0xoy] {
    padding: 12px var(--space-md);
    overflow-y: auto;
    flex-grow: 1;
    min-height: 150px;
}

/* ===== Loading & Empty States ===== */

.loading-state[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 10px;
    color: var(--text-dim);
    font-style: italic;
}

.loading-spinner[b-zp1x1d0xoy] {
    font-size: 2rem;
    animation: spin 1.5s linear infinite;
}

.empty-state[b-zp1x1d0xoy] {
    text-align: center;
    padding: 30px 10px;
}

.empty-icon[b-zp1x1d0xoy] {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.empty-title[b-zp1x1d0xoy] {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.empty-text[b-zp1x1d0xoy] {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: italic;
}

/* ===== Inventory List ===== */

.inventory-list[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-header[b-zp1x1d0xoy] {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr;
    padding: 0 var(--space-md) 12px var(--space-md);
    border-bottom: 1px solid var(--wood-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-weight: 600;
}

.list-header span:nth-child(2)[b-zp1x1d0xoy],
.list-header span:nth-child(3)[b-zp1x1d0xoy],
.list-header span:last-child[b-zp1x1d0xoy] {
    text-align: center;
}

.inventory-item[b-zp1x1d0xoy] {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1fr;
    align-items: center;
    padding: 12px var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a2818;
    border-left: 3px solid var(--wood-light);
    border-radius: var(--radius-sm);
    transition: all var(--ease-smooth);
    cursor: pointer;
    user-select: none;
}

.inventory-item:hover:not(.disabled)[b-zp1x1d0xoy] {
    background: var(--success-glow);
    border-color: var(--success-dark);
    border-left-color: var(--success);
    transform: translateX(4px);
}

.inventory-item:active:not(.disabled)[b-zp1x1d0xoy] {
    background: rgba(243, 156, 18, 0.15);
    transform: translateX(2px);
}

.inventory-item.disabled[b-zp1x1d0xoy] {
    cursor: not-allowed;
    opacity: 0.5;
}

.item-info[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name[b-zp1x1d0xoy] {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.item-category[b-zp1x1d0xoy] {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.item-qty[b-zp1x1d0xoy] {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    text-align: center;
    color: #d0c5b0;
}

.item-price[b-zp1x1d0xoy] {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--success);
    text-align: center;
    font-weight: 600;
}

/* ===== Cart Upgrade Section ===== */

.upgrade-section[b-zp1x1d0xoy] {
    padding: 12px var(--space-md);
    background: var(--bg-header);
    border-top: 1px solid var(--wood-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.upgrade-info[b-zp1x1d0xoy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.next-tier-name[b-zp1x1d0xoy] {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.next-tier-stats[b-zp1x1d0xoy] {
    font-size: 0.75rem;
    color: var(--success-dark);
}

.upgrade-btn[b-zp1x1d0xoy] {
    background: linear-gradient(180deg, var(--gold) 0%, #d35400 100%);
    color: white;
    border: 1px solid var(--warning);
    padding: var(--space-sm) 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--ease-smooth);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.upgrade-btn:hover:not(:disabled)[b-zp1x1d0xoy] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gold-glow);
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--warning) 100%);
}

.upgrade-btn:active:not(:disabled)[b-zp1x1d0xoy] {
    transform: translateY(0);
}

.upgrade-btn.disabled[b-zp1x1d0xoy],
.upgrade-btn:disabled[b-zp1x1d0xoy] {
    background: #2c3e50;
    border-color: #34495e;
    color: #7f8c8d;
    cursor: not-allowed;
    text-shadow: none;
    opacity: 0.7;
}

.max-tier-msg[b-zp1x1d0xoy] {
    width: 100%;
    text-align: center;
    color: var(--gold);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

/* ===== Cart Weight Footer ===== */

.weight-footer[b-zp1x1d0xoy] {
    padding: 12px var(--space-md);
    border-top: 1px solid var(--wood-light);
    background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(30, 20, 10, 0.95) 100%);
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.weight-label[b-zp1x1d0xoy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.weight-value[b-zp1x1d0xoy] {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
}

.weight-value.weight-normal[b-zp1x1d0xoy] {
    color: var(--gold);
}

.weight-value.weight-warning[b-zp1x1d0xoy] {
    color: var(--warning);
}

.weight-value.weight-critical[b-zp1x1d0xoy] {
    color: var(--danger);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Track */
.weight-bar-track[b-zp1x1d0xoy] {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid #3a2818;
    overflow: hidden;
}

/* Fill */
.weight-bar-fill[b-zp1x1d0xoy] {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width var(--ease-slow), background 0.3s ease;
    position: relative;
}

.weight-bar-fill.weight-normal[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    box-shadow: 0 0 6px var(--gold-glow);
}

.weight-bar-fill.weight-warning[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, var(--warning) 0%, var(--gold) 100%);
    box-shadow: 0 0 6px var(--warning-glow);
}

.weight-bar-fill.weight-critical[b-zp1x1d0xoy] {
    background: linear-gradient(90deg, var(--danger-dark) 0%, var(--danger) 100%);
    box-shadow: 0 0 8px var(--danger-glow);
    animation: pulseGlow 1.5s ease-in-out infinite;
}
/* /Components/Game/JobProgressModal.razor.rz.scp.css */
@keyframes pulse-b-03n9y5hzv1 {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes fadeIn-b-03n9y5hzv1 {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp-b-03n9y5hzv1 {
    0% { opacity: 0; transform: translate(-50%, -40%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* ===== Job Modal (SettingsPanel Style) ===== */

.job-modal-backdrop[b-03n9y5hzv1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-overlay);
    backdrop-filter: blur(5px);
    z-index: var(--z-overlay);
    animation: fadeIn-b-03n9y5hzv1 0.2s ease-out;
    pointer-events: auto;
}

.job-modal-container[b-03n9y5hzv1] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 3px solid var(--wood-dark);
    padding: var(--space-xl);
    color: var(--gold);
    width: var(--modal-width);
    max-width: 90vw;
    box-shadow: 0 0 30px var(--gold-glow);
    border-radius: var(--radius-lg);
    animation: fadeInUp-b-03n9y5hzv1 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.job-modal-header[b-03n9y5hzv1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--wood-dark);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.job-modal-header h2[b-03n9y5hzv1] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--gold);
}

.job-modal-body[b-03n9y5hzv1] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.job-modal-status[b-03n9y5hzv1] {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #e0d0b0;
    text-shadow: 0 0 8px rgba(224, 208, 176, 0.4);
    animation: pulse-b-03n9y5hzv1 1.5s infinite;
}

/* Progress bar matching InventoryPanel */
.job-modal-progress[b-03n9y5hzv1] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.job-modal-progress .job-progress-container[b-03n9y5hzv1] {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid #3a2818;
    overflow: hidden;
}

.job-modal-progress .job-progress-bar[b-03n9y5hzv1] {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 1s linear, background 0.3s ease;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    box-shadow: 0 0 6px var(--gold-glow);
}

.job-modal-timer[b-03n9y5hzv1] {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 5px;
}

.job-modal-complete[b-03n9y5hzv1] {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--success);
    text-shadow: 0 0 10px var(--success-glow);
    text-align: center;
}

.job-claim-btn[b-03n9y5hzv1] {
    background: linear-gradient(180deg, var(--success), var(--success-dark));
    border: 2px solid var(--success-light);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
    transition: all 0.2s;
}

.job-claim-btn:hover[b-03n9y5hzv1] {
    background: var(--success);
    transform: scale(1.05);
}

.job-cancel-btn[b-03n9y5hzv1] {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 6px 15px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.job-cancel-btn:hover[b-03n9y5hzv1] {
    background: rgba(231, 76, 60, 0.1);
    box-shadow: 0 0 8px var(--danger-glow);
    transform: translateY(-2px);
}
/* /Components/Game/LeaderboardPanel.razor.rz.scp.css */
/* ===== Leaderboard Panel — Day 41 Design System Migration ===== */

.leaderboard-overlay[b-f4ckf6z2z4] {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-overlay);
    animation: fadeIn 0.3s ease-out;
    pointer-events: auto;
    cursor: pointer;
}

.leaderboard-panel[b-f4ckf6z2z4] {
    width: 450px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 2px solid var(--wood-medium);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9),
                inset 0 1px 0 rgba(243, 156, 18, 0.1);
    color: var(--text-primary);
    font-family: var(--font-ui);
    position: relative;
    pointer-events: auto;
    animation: slideInUp 0.3s ease-out;
    overflow: hidden;
}

/* ===== Header ===== */

.panel-header[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid var(--wood-medium);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    flex-shrink: 0;
}

.header-main[b-f4ckf6z2z4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 20px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--wood-subtle);
}

.header-titles h3[b-f4ckf6z2z4] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.location-context[b-f4ckf6z2z4] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ===== Content ===== */

.leaderboard-panel .panel-content[b-f4ckf6z2z4] {
    background: rgba(18, 13, 9, 0.95);
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.leaderboard-list[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.merchant-row[b-f4ckf6z2z4] {
    display: flex;
    align-items: center;
    background: rgba(30, 24, 18, 0.8);
    border: 1px solid rgba(139, 94, 60, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all var(--ease-smooth);
    animation: fadeInUp 0.3s ease-out backwards;
}

/* Staggered entrance — each row fades in slightly later */
.merchant-row:nth-child(1)[b-f4ckf6z2z4]  { animation-delay: 0.02s; }
.merchant-row:nth-child(2)[b-f4ckf6z2z4]  { animation-delay: 0.04s; }
.merchant-row:nth-child(3)[b-f4ckf6z2z4]  { animation-delay: 0.06s; }
.merchant-row:nth-child(4)[b-f4ckf6z2z4]  { animation-delay: 0.08s; }
.merchant-row:nth-child(5)[b-f4ckf6z2z4]  { animation-delay: 0.10s; }
.merchant-row:nth-child(6)[b-f4ckf6z2z4]  { animation-delay: 0.12s; }
.merchant-row:nth-child(7)[b-f4ckf6z2z4]  { animation-delay: 0.14s; }
.merchant-row:nth-child(8)[b-f4ckf6z2z4]  { animation-delay: 0.16s; }
.merchant-row:nth-child(9)[b-f4ckf6z2z4]  { animation-delay: 0.18s; }
.merchant-row:nth-child(10)[b-f4ckf6z2z4] { animation-delay: 0.20s; }

.merchant-row:hover[b-f4ckf6z2z4] {
    background: rgba(45, 35, 25, 0.9);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(4px);
}

.rank-badge[b-f4ckf6z2z4] {
    font-size: 1.2rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
    color: var(--text-secondary);
    margin-right: 12px;
    font-family: var(--font-title);
}

.merchant-info[b-f4ckf6z2z4] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.merchant-name[b-f4ckf6z2z4] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-title);
}

.merchant-gold[b-f4ckf6z2z4] {
    color: var(--gold);
    font-size: 0.85rem;
    font-family: var(--font-ui);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.gold-icon[b-f4ckf6z2z4] {
    font-size: 0.8rem;
}

/* ===== TOP 3 HIGHLIGHTS ===== */

.rank-1[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(50, 40, 10, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2), inset 0 0 10px rgba(255, 215, 0, 0.1);
}

.rank-1 .merchant-name[b-f4ckf6z2z4] {
    color: #ffd700;
    font-size: 1.05rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.rank-1 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.5rem;
}

.rank-2[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 1px solid #c0c0c0;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.15);
}

.rank-2 .merchant-name[b-f4ckf6z2z4] {
    color: #e0e0e0;
}

.rank-2 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.3rem;
}

.rank-3[b-f4ckf6z2z4] {
    background: linear-gradient(135deg, rgba(45, 30, 20, 0.95) 0%, rgba(30, 24, 18, 0.9) 100%);
    border: 1px solid #cd7f32;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.15);
}

.rank-3 .merchant-name[b-f4ckf6z2z4] {
    color: #cd7f32;
}

.rank-3 .rank-badge[b-f4ckf6z2z4] {
    font-size: 1.2rem;
}

/* ===== Close Button ===== */

.close-btn[b-f4ckf6z2z4] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 94, 60, 0.3);
    color: #a99;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--ease-smooth);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    line-height: 1;
}

.close-btn:hover[b-f4ckf6z2z4] {
    color: #fff;
    background: rgba(192, 57, 43, 0.8);
    border-color: var(--danger);
    box-shadow: 0 0 10px var(--danger-glow);
}
/* /Components/Game/LocationNode.razor.rz.scp.css */
/* ===== Location Node — Day 41 Micro-Animations ===== */

.location-node[b-w3f74cyi4c] {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-round);
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease-in-out;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-elevated);
    pointer-events: auto;
    color: inherit;
    font-family: inherit;
}

.location-node:hover[b-w3f74cyi4c] {
    border-color: rgba(255, 215, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.1);
    z-index: 100;
}

/* Day 41: Current location pulsing glow */
.current-location[b-w3f74cyi4c] {
    border-color: var(--amber);
    border-width: 3px;
    box-shadow: 0 0 20px var(--amber-glow);
    animation: currentLocationPulse-b-w3f74cyi4c 2.5s ease-in-out infinite;
}

@keyframes currentLocationPulse-b-w3f74cyi4c {
    0%   { box-shadow: 0 0 15px rgba(255, 191, 0, 0.5), 0 0 30px rgba(255, 191, 0, 0.2); }
    50%  { box-shadow: 0 0 35px rgba(255, 191, 0, 0.8), 0 0 70px rgba(255, 191, 0, 0.4); }
    100% { box-shadow: 0 0 15px rgba(255, 191, 0, 0.5), 0 0 30px rgba(255, 191, 0, 0.2); }
}

.node-icon[b-w3f74cyi4c] {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: border-color var(--ease-smooth);
}

.current-location .node-icon[b-w3f74cyi4c] {
    border-color: var(--amber);
    border-width: 2px;
}

.node-info[b-w3f74cyi4c] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.town-name[b-w3f74cyi4c] {
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.town-type[b-w3f74cyi4c] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.6);
    color: #ccc;
    margin-top: var(--space-xs);
}

/* ===== Tooltip ===== */

.node-tooltip[b-w3f74cyi4c] {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    border: 2px solid #8b5e3c;
    border-radius: var(--radius-sm);
    padding: 12px var(--space-md);
    color: var(--text-primary);
    font-family: var(--font-ui);
    width: 280px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(139, 94, 60, 0.1);
    z-index: var(--z-overlay);
    pointer-events: none;
}

.node-tooltip[b-w3f74cyi4c]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 215, 0, 0.6) transparent transparent transparent;
}

.location-node:hover .node-tooltip[b-w3f74cyi4c] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.node-tooltip.tooltip-bottom[b-w3f74cyi4c] {
    bottom: auto;
    top: 120%;
    transform: translateX(-50%) translateY(-10px);
}

.node-tooltip.tooltip-bottom[b-w3f74cyi4c]::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent rgba(255, 215, 0, 0.6) transparent;
}

.location-node:hover .node-tooltip.tooltip-bottom[b-w3f74cyi4c] {
    transform: translateX(-50%) translateY(0);
}

.tooltip-header[b-w3f74cyi4c] {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    color: var(--gold);
    margin-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(139, 94, 60, 0.3);
    padding-bottom: var(--space-xs);
    text-shadow: 2px 2px 4px #000;
}

.tooltip-body[b-w3f74cyi4c] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tooltip-type[b-w3f74cyi4c] {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tooltip-lore[b-w3f74cyi4c] {
    margin: 0;
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.tooltip-stats[b-w3f74cyi4c] {
    display: flex;
    border-top: 1px solid var(--wood-subtle);
    padding-top: 6px;
    margin-top: var(--space-xs);
}

.tooltip-tax[b-w3f74cyi4c] {
    font-size: 11px;
    font-weight: bold;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* /Components/Game/MarketPanel.razor.rz.scp.css */
/* ===== Market Panel — Day 38 Design System Migration ===== */

.market-panel[b-cpwtwkobvf] {
    width: var(--panel-width);
    height: var(--panel-height);
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 2px solid var(--wood-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    color: var(--text-primary);
    font-family: var(--font-ui);
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    pointer-events: auto;
    animation: slideInLeft 0.3s ease-out;
}

/* ===== Header ===== */

.panel-header[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: 2px solid var(--wood-medium);
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    cursor: grab;
    flex-shrink: 0;
}

.header-main[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--bg-header);
    border-bottom: 1px solid var(--wood-subtle);
    gap: var(--space-md);
}

.header-row[b-cpwtwkobvf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.town-brand[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    flex-grow: 1;
}

.town-titles h3[b-cpwtwkobvf] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
}

.town-type[b-cpwtwkobvf] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
}

.town-lore-section[b-cpwtwkobvf] {
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(139, 94, 60, 0.05) 50%, rgba(0,0,0,0) 100%);
    border-top: 1px solid rgba(0,0,0,0.3);
}

.town-description[b-cpwtwkobvf] {
    margin: 0 0 var(--space-sm) 0;
    font-family: var(--font-ui);
    font-style: italic;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-secondary);
    text-align: center;
}

.town-stats[b-cpwtwkobvf] {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.tax-badge[b-cpwtwkobvf] {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--wood-border);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    display: flex;
    gap: 6px;
    align-items: center;
}

.stat-label[b-cpwtwkobvf] {
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.7rem;
}

/* ===== View Selector ===== */

.view-selector[b-cpwtwkobvf] {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid var(--wood-border);
}

.view-btn[b-cpwtwkobvf] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--ease-smooth);
    white-space: nowrap;
}

.view-btn:hover[b-cpwtwkobvf] {
    color: #c0b090;
}

.view-btn.active[b-cpwtwkobvf] {
    background: var(--wood-medium);
    color: var(--gold);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.stat-value[b-cpwtwkobvf] {
    color: var(--danger);
    font-weight: bold;
    text-shadow: 0 0 5px var(--danger-glow);
}

/* ===== Info View ===== */

.town-info-display[b-cpwtwkobvf] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(40,30,20,0.4) 100%);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.4s ease-out;
}

.info-hero[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.info-town-name[b-cpwtwkobvf] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 2px 2px 8px #000;
    text-align: center;
}

.info-town-type[b-cpwtwkobvf] {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.info-divider[b-cpwtwkobvf] {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8b5e3c 50%, transparent 100%);
    width: 100%;
}

.info-lore h3[b-cpwtwkobvf], .info-economy h3[b-cpwtwkobvf] {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #c0b090;
    margin: 0 0 12px 0;
    border-bottom: 1px solid rgba(139, 94, 60, 0.3);
    padding-bottom: var(--space-xs);
}

.info-lore p[b-cpwtwkobvf] {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
}

.info-stat-card[b-cpwtwkobvf] {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--wood-border);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-card-label[b-cpwtwkobvf] {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-card-value[b-cpwtwkobvf] {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--danger);
    text-shadow: 0 0 10px var(--danger-glow);
}

.stat-card-hint[b-cpwtwkobvf] {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-style: italic;
    margin: var(--space-xs) 0 0 0;
}

/* ===== Filter & Close ===== */

.bottom-row[b-cpwtwkobvf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.category-filter[b-cpwtwkobvf] {
    background: var(--bg-panel);
    color: var(--text-primary);
    border: 1px solid var(--wood-light);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color var(--ease-smooth);
    min-width: 160px;
}

.category-filter:hover[b-cpwtwkobvf] {
    border-color: var(--gold);
}

.category-filter option[b-cpwtwkobvf] {
    background: var(--bg-panel);
    color: var(--text-primary);
}

.close-btn[b-cpwtwkobvf] {
    background: none;
    border: none;
    color: #a99;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--ease-smooth);
}

.close-btn:hover[b-cpwtwkobvf] {
    color: #f55;
}

/* ===== Market Intelligence & Schedule ===== */

.info-production[b-cpwtwkobvf] {
    margin-top: var(--space-lg);
}

.info-trading-tips[b-cpwtwkobvf] {
    margin-top: var(--space-lg);
}

.tips-list[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.tip-item[b-cpwtwkobvf] {
    background: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.15);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.tip-item:hover[b-cpwtwkobvf] {
    background: rgba(46, 204, 113, 0.08);
    border-color: rgba(46, 204, 113, 0.3);
    transform: translateX(4px);
}

.tip-item.specialty[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.05);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.tip-item.specialty:hover[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.08);
    border-color: var(--gold);
}

.tip-main[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.specialty-tag[b-cpwtwkobvf] {
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.tip-name[b-cpwtwkobvf] {
    font-weight: 600;
    font-family: var(--font-ui);
    color: var(--text-primary);
}

.tip-status[b-cpwtwkobvf] {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ===== Tab Bar ===== */

.tab-bar[b-cpwtwkobvf] {
    display: flex;
    border-bottom: 1px solid var(--wood-light);
    background: rgba(15, 10, 5, 0.6);
}

.tab-btn[b-cpwtwkobvf] {
    flex: 1;
    padding: 10px var(--space-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-dim);
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn:hover[b-cpwtwkobvf] {
    color: #c0b090;
    background: var(--gold-dim);
}

.tab-btn.active[b-cpwtwkobvf] {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--gold-dim);
    text-shadow: 0 0 8px var(--gold-glow);
}

.tab-icon[b-cpwtwkobvf] {
    font-size: 1rem;
}

/* ===== Panel Content ===== */

.panel-content[b-cpwtwkobvf] {
    padding: var(--space-md);
    overflow-y: auto;
    flex-grow: 1;
}

.loading[b-cpwtwkobvf],
.empty-state[b-cpwtwkobvf] {
    text-align: center;
    padding: 30px 10px;
    font-style: italic;
    color: var(--text-dim);
}

.market-list[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.market-list-header[b-cpwtwkobvf] {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr;
    padding: 0 var(--space-md) 12px var(--space-md);
    border-bottom: 1px solid var(--wood-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-weight: 600;
}

.market-list-header span:last-child[b-cpwtwkobvf] {
    text-align: center;
}

.market-item[b-cpwtwkobvf] {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr;
    align-items: center;
    padding: 12px var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #3a2818;
    border-radius: var(--radius-sm);
    transition: all var(--ease-smooth);
    cursor: pointer;
    user-select: none;
}

.market-item:hover:not(.disabled)[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--gold);
    transform: translateX(4px);
}

.market-item:active:not(.disabled)[b-cpwtwkobvf] {
    background: rgba(243, 156, 18, 0.15);
    transform: translateX(2px);
}

.market-item.disabled[b-cpwtwkobvf] {
    cursor: not-allowed;
    opacity: 0.5;
}

.item-info[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
}

.item-name[b-cpwtwkobvf] {
    font-weight: 600;
    font-size: 0.95rem;
}

.item-category[b-cpwtwkobvf] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-stock[b-cpwtwkobvf] {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    text-align: center;
}

.item-price[b-cpwtwkobvf] {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    justify-content: center;
}

.gold-icon[b-cpwtwkobvf] {
    font-size: 0.9rem;
}

/* ===== Sell-Specific ===== */

.sell-item[b-cpwtwkobvf] {
    border-left: 3px solid var(--success);
}

.sell-item:hover:not(.disabled)[b-cpwtwkobvf] {
    border-left-color: var(--success-dark);
}

.sell-price[b-cpwtwkobvf] {
    color: var(--success) !important;
}

/* ===== Jobs View ===== */

.jobs-view[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    animation: fadeInUp 0.4s ease-out;
}

.jobs-list[b-cpwtwkobvf] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.job-card[b-cpwtwkobvf] {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--wood-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: all var(--ease-smooth);
}

.job-info[b-cpwtwkobvf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-name[b-cpwtwkobvf] {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #e0d0b0;
}

.job-details[b-cpwtwkobvf] {
    display: flex;
    gap: var(--space-md);
    font-size: 0.9rem;
    font-weight: bold;
}

.job-reward[b-cpwtwkobvf] {
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-duration[b-cpwtwkobvf] {
    color: var(--text-muted);
}

.start-job-btn[b-cpwtwkobvf] {
    background: linear-gradient(180deg, var(--wood-medium), var(--wood-dark));
    border: 1px solid var(--wood-light);
    color: var(--gold);
    padding: 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    cursor: pointer;
    transition: all 0.2s;
}

.start-job-btn:hover[b-cpwtwkobvf] {
    background: var(--wood-light);
    color: #fff;
}

.active-job[b-cpwtwkobvf] {
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-dim);
}

.disabled-job[b-cpwtwkobvf] {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.job-progress-container[b-cpwtwkobvf] {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.job-progress-bar[b-cpwtwkobvf] {
    height: 100%;
    background: var(--gold);
    transition: width 1s linear;
}

.job-time-left[b-cpwtwkobvf] {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.claim-btn[b-cpwtwkobvf] {
    background: linear-gradient(180deg, var(--success), var(--success-dark));
    border: 1px solid var(--wood-light);
    color: #fff;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    cursor: pointer;
    font-weight: bold;
    animation: pulse-b-cpwtwkobvf 1.5s infinite;
}

.claim-btn:hover[b-cpwtwkobvf] {
    background: var(--success);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

@keyframes pulse-b-cpwtwkobvf {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* /Components/Game/SettingsPanel.razor.rz.scp.css */
/* ===== Settings Panel — Day 40 Design System Migration ===== */

.modal-backdrop[b-gae3qtiye5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-overlay);
    backdrop-filter: blur(5px);
    z-index: var(--z-overlay);
    animation: fadeIn 0.2s ease-out;
}

.settings-modal[b-gae3qtiye5] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    border: 3px solid var(--wood-dark);
    padding: var(--space-xl);
    color: var(--gold);
    width: var(--modal-width);
    max-width: 90vw;
    box-shadow: 0 0 30px var(--gold-glow);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header[b-gae3qtiye5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--wood-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.modal-header h2[b-gae3qtiye5] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.8rem;
}

.btn-close[b-gae3qtiye5] {
    background: transparent;
    border: none;
    color: #bdc3c7;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--ease-smooth);
}

.btn-close:hover[b-gae3qtiye5] {
    color: var(--danger);
}

.modal-content section[b-gae3qtiye5] {
    margin-bottom: 25px;
}

.modal-content h3[b-gae3qtiye5] {
    border-left: 3px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-row[b-gae3qtiye5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.setting-row label[b-gae3qtiye5] {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* ===== Audio Controls (Day 40 — moved from inline styles) ===== */

.audio-controls-row[b-gae3qtiye5] {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.track-title[b-gae3qtiye5] {
    color: var(--gold);
    margin-right: 15px;
    font-size: 0.9rem;
}

.playback-controls[b-gae3qtiye5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.play-pause-btn[b-gae3qtiye5] {
    font-size: 1.2rem;
    margin: 0 5px;
    background: transparent;
    border: 1px solid var(--wood-light);
    color: var(--gold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--ease-smooth);
}

.play-pause-btn:hover[b-gae3qtiye5] {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--gold);
    transform: scale(1.1);
}

/* THE SLIDER STYLE */
input[type=range][b-gae3qtiye5] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: var(--wood-dark);
    height: 8px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: background var(--ease-smooth);
}

input[type=range]:hover[b-gae3qtiye5] {
    background: var(--wood-medium);
}

input[type=range][b-gae3qtiye5]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: var(--radius-round);
    cursor: pointer;
    border: 2px solid var(--wood-medium);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: all var(--ease-smooth);
}

input[type=range][b-gae3qtiye5]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--gold-light);
    box-shadow: var(--shadow-glow-gold);
}

input[type=range][b-gae3qtiye5]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: var(--radius-round);
    cursor: pointer;
    border: 2px solid var(--wood-medium);
}
/* /Components/Game/TopBar.razor.rz.scp.css */
/* ===== TopBar — Premium Medieval Redesign ===== */

/* ===== Container ===== */
.top-bar-container[b-72gvbg9t7j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-family: var(--font-title);

    /* Wood background with texture */
    background:
        linear-gradient(180deg,
            rgba(35, 25, 15, 0.6) 0%,
            rgba(26, 17, 10, 1) 30%,
            rgba(26, 17, 10, 1) 70%,
            rgba(35, 25, 15, 0.6) 100%);
    background-color: var(--bg-dark);
    background-image: url('/images/topbar/topbar_bg.png');
    background-size: cover;
    background-position: center;

    /* Gold trim borders */
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 10%,
        rgba(212, 175, 55, 0.8) 30%,
        var(--gold) 50%,
        rgba(212, 175, 55, 0.8) 70%,
        rgba(212, 175, 55, 0.3) 90%,
        transparent 100%) 1;

    box-shadow:
        var(--shadow-inset),
        0 4px 12px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(243, 156, 18, 0.08);
    color: var(--gold);
}

/* Corner ornaments */
.top-bar-container[b-72gvbg9t7j]::before,
.top-bar-container[b-72gvbg9t7j]::after {
    content: "⬥";
    position: absolute;
    color: var(--gold);
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
    z-index: 10;
    opacity: 0.7;
}

.top-bar-container[b-72gvbg9t7j]::before {
    left: 6px;
}

.top-bar-container[b-72gvbg9t7j]::after {
    right: 6px;
}

/* ===== Section Layout ===== */
.top-bar-section[b-72gvbg9t7j] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resources-section[b-72gvbg9t7j] {
    gap: 16px;
}

.world-section[b-72gvbg9t7j] {
    gap: 10px;
}

.player-section[b-72gvbg9t7j] {
    gap: 18px;
}

/* ===== Icon Images ===== */
.bar-icon[b-72gvbg9t7j] {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    transition: filter var(--ease-smooth);
}

.btn-icon[b-72gvbg9t7j] {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
    transition: all var(--ease-smooth);
    pointer-events: none;
}

/* ===== Stat Badge — The core UI pill ===== */
.stat-badge[b-72gvbg9t7j] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(139, 94, 60, 0.35);
    border-radius: 4px;
    transition: all var(--ease-smooth);
    position: relative;
}

.stat-badge:hover[b-72gvbg9t7j] {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-text[b-72gvbg9t7j] {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

/* ===== Special Text Styles ===== */
.gold-text[b-72gvbg9t7j] {
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(241, 196, 15, 0.15);
}

.gold-badge[b-72gvbg9t7j] {
    border-color: rgba(212, 175, 55, 0.3);
}

.season-text[b-72gvbg9t7j] {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.player-name[b-72gvbg9t7j] {
    color: var(--text-bright);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== Bar Divider (between clock items) ===== */
.bar-divider[b-72gvbg9t7j] {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(139, 94, 60, 0.5) 30%,
        rgba(139, 94, 60, 0.5) 70%,
        transparent 100%);
    margin: 0 2px;
}

/* ===== Action Buttons ===== */
.action-buttons[b-72gvbg9t7j] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn[b-72gvbg9t7j] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 94, 60, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.action-btn[b-72gvbg9t7j]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(243, 156, 18, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity var(--ease-smooth);
}

.action-btn:hover[b-72gvbg9t7j] {
    background: rgba(40, 30, 15, 0.8);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), 0 0 10px rgba(243, 156, 18, 0.1);
}

.action-btn:hover[b-72gvbg9t7j]::after {
    opacity: 1;
}

.action-btn:hover .btn-icon[b-72gvbg9t7j] {
    filter: drop-shadow(0 0 4px rgba(243, 156, 18, 0.5)) brightness(1.2);
    transform: scale(1.1);
}

.action-btn:active[b-72gvbg9t7j] {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== Weight Color States ===== */
.weight-warning .stat-text[b-72gvbg9t7j] {
    color: var(--warning) !important;
}

.weight-warning .bar-icon[b-72gvbg9t7j] {
    filter: drop-shadow(0 0 4px rgba(230, 126, 34, 0.5)) hue-rotate(-20deg);
}

.weight-critical .stat-text[b-72gvbg9t7j] {
    color: var(--danger) !important;
    animation: pulse 1.5s ease-in-out infinite;
}

.weight-critical .bar-icon[b-72gvbg9t7j] {
    filter: drop-shadow(0 0 6px rgba(231, 76, 60, 0.6)) hue-rotate(-40deg) saturate(1.5);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===== Gold Changed Flash ===== */
.gold-badge.gold-changed .gold-text[b-72gvbg9t7j] {
    animation: goldFlash 0.6s ease-out;
}

.gold-badge.gold-changed .bar-icon[b-72gvbg9t7j] {
    animation: coinBounce-b-72gvbg9t7j 0.5s ease-out;
}

@keyframes coinBounce-b-72gvbg9t7j {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.3) rotate(-5deg); }
    60%  { transform: scale(0.95) rotate(2deg); }
    100% { transform: scale(1) rotate(0); }
}

/* ===== Custom Overrides ===== */
.capacity-badge[b-72gvbg9t7j] {
    background: #000 !important;
}

.inventory-btn[b-72gvbg9t7j] {
    background: #000 !important;
}
/* /Components/Game/TradePanel.razor.rz.scp.css */
/* ===== Trade Panel — Day 41 Design System Migration ===== */

.trade-overlay[b-2rqini0bmd] {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    animation: fadeIn 0.2s ease-out;
    pointer-events: auto;
}

.trade-modal[b-2rqini0bmd] {
    background: linear-gradient(180deg, rgba(30, 22, 12, 0.98) 0%, rgba(18, 12, 6, 0.99) 100%);
    border: 2px solid var(--wood-light);
    border-radius: 12px;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.6),
        0 0 20px var(--gold-dim),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 380px;
    max-width: 90vw;
    color: var(--text-primary);
    font-family: var(--font-ui);
    animation: slideInUp 0.25s ease-out;
    overflow: hidden;
}

/* ===== Header ===== */

.trade-header[b-2rqini0bmd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 20px;
    border-bottom: 1px solid rgba(106, 79, 50, 0.5);
    background: linear-gradient(180deg, rgba(40, 28, 14, 0.6) 0%, transparent 100%);
}

.trade-title[b-2rqini0bmd] {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.15rem;
}

.trade-mode[b-2rqini0bmd] {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.buy-mode[b-2rqini0bmd] {
    color: var(--gold);
}

.sell-mode[b-2rqini0bmd] {
    color: var(--success);
}

.trade-close[b-2rqini0bmd] {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--ease-smooth);
}

.trade-close:hover[b-2rqini0bmd] {
    color: #f55;
    background: rgba(255, 85, 85, 0.1);
}

/* ===== Item Detail ===== */

.trade-item-detail[b-2rqini0bmd] {
    padding: var(--space-md) 20px;
    text-align: center;
    border-bottom: 1px solid rgba(62, 39, 35, 0.4);
}

.trade-item-name[b-2rqini0bmd] {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px rgba(243, 156, 18, 0.15);
    margin-bottom: var(--space-xs);
}

.trade-item-category[b-2rqini0bmd] {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Quantity Controls ===== */

.trade-quantity-section[b-2rqini0bmd] {
    padding: var(--space-md) 20px;
}

.trade-label[b-2rqini0bmd] {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.quantity-controls[b-2rqini0bmd] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: 12px;
}

.qty-btn[b-2rqini0bmd] {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--wood-light);
    background: linear-gradient(180deg, #3a2818 0%, #2a1a0e 100%);
    color: #d0c0a0;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover:not(:disabled)[b-2rqini0bmd] {
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 8px var(--gold-glow);
    transform: scale(1.05);
}

.qty-btn:disabled[b-2rqini0bmd] {
    opacity: 0.35;
    cursor: not-allowed;
}

.qty-display[b-2rqini0bmd] {
    min-width: 60px;
    text-align: center;
}

.qty-value[b-2rqini0bmd] {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--gold-glow);
}

.qty-range[b-2rqini0bmd] {
    margin-bottom: var(--space-sm);
}

.qty-slider[b-2rqini0bmd] {
    width: 100%;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(62, 39, 35, 0.6);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.qty-slider[b-2rqini0bmd]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-round);
    background: linear-gradient(180deg, var(--gold) 0%, #d68910 100%);
    border: 2px solid #ffd56b;
    cursor: pointer;
    box-shadow: 0 0 6px var(--gold-glow);
    transition: box-shadow var(--ease-smooth);
}

.qty-slider[b-2rqini0bmd]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.6);
}

.qty-slider[b-2rqini0bmd]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-round);
    background: linear-gradient(180deg, var(--gold) 0%, #d68910 100%);
    border: 2px solid #ffd56b;
    cursor: pointer;
}

.qty-available[b-2rqini0bmd] {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.qty-available strong[b-2rqini0bmd] {
    color: #c0b090;
}

/* ===== Divider ===== */

.trade-divider[b-2rqini0bmd] {
    height: 1px;
    margin: 0 20px;
    background: linear-gradient(90deg, transparent 0%, var(--wood-light) 50%, transparent 100%);
}

/* ===== Summary ===== */

.trade-summary[b-2rqini0bmd] {
    padding: var(--space-md) 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.summary-row[b-2rqini0bmd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #c0b090;
}

.weight-row[b-2rqini0bmd] {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.total-row[b-2rqini0bmd] {
    margin-top: var(--space-xs);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(62, 39, 35, 0.5);
    font-size: 1.05rem;
    font-weight: 600;
}

.cost-value[b-2rqini0bmd] {
    color: var(--gold);
    font-weight: 600;
}

.income-value[b-2rqini0bmd] {
    color: var(--success);
    font-weight: 600;
}

.total-value[b-2rqini0bmd] {
    font-size: 1.15rem;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ===== Buttons ===== */

.trade-actions[b-2rqini0bmd] {
    display: flex;
    gap: 10px;
    padding: var(--space-md) 20px;
}

.trade-cancel-btn[b-2rqini0bmd] {
    flex: 1;
    padding: 10px 0;
    border-radius: var(--radius-md);
    border: 1px solid #555;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #aaa;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--ease-smooth);
}

.trade-cancel-btn:hover[b-2rqini0bmd] {
    border-color: #888;
    color: #ddd;
    background: linear-gradient(180deg, #333 0%, #222 100%);
}

.trade-confirm-btn[b-2rqini0bmd] {
    flex: 2;
    padding: 10px 0;
    border-radius: var(--radius-md);
    border: 1px solid;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--ease-bounce);
}

.confirm-buy[b-2rqini0bmd] {
    background: linear-gradient(180deg, #5a4025 0%, #3e2715 100%);
    border-color: var(--gold);
    color: var(--gold);
}

.confirm-buy:hover:not(:disabled)[b-2rqini0bmd] {
    background: linear-gradient(180deg, #6a4a2f 0%, #4e3320 100%);
    color: #fff;
    box-shadow: 0 0 16px var(--gold-glow);
    transform: translateY(-1px);
}

.confirm-sell[b-2rqini0bmd] {
    background: linear-gradient(180deg, #1a4a2e 0%, #0f2f1a 100%);
    border-color: var(--success);
    color: var(--success);
}

.confirm-sell:hover:not(:disabled)[b-2rqini0bmd] {
    background: linear-gradient(180deg, #237a42 0%, #165a2e 100%);
    color: #fff;
    box-shadow: 0 0 16px var(--success-glow);
    transform: translateY(-1px);
}

.trade-confirm-btn:disabled[b-2rqini0bmd] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Status ===== */

.trade-status[b-2rqini0bmd] {
    padding: 10px 20px var(--space-md);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.status-success[b-2rqini0bmd] {
    color: var(--success);
}

.status-error[b-2rqini0bmd] {
    color: var(--danger);
}
/* /Layout/ConsolePanel.razor.rz.scp.css */
/* ===== Console Panel — Day 41 Design System Migration ===== */

.console-wrapper[b-lillhtho3v] {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    background-color: rgba(15, 12, 10, 0.98);
    border: 2px solid var(--wood-medium);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    z-index: var(--z-overlay);
    font-family: var(--font-ui);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
    pointer-events: auto;
}

.console-wrapper.expanded[b-lillhtho3v] {
    width: 800px;
}

.console-header[b-lillhtho3v] {
    padding: 5px 15px;
    background-color: #2c1e16;
    color: var(--gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid var(--wood-border);
    user-select: none;
    transition: background var(--ease-smooth);
}

.console-header:hover[b-lillhtho3v] {
    background-color: #3a2a1e;
}

.console-tabs[b-lillhtho3v] {
    display: flex;
    background: rgba(30, 20, 15, 0.8);
    border-bottom: 1px solid var(--wood-border);
    padding: 0 5px;
}

.tab-btn[b-lillhtho3v] {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: var(--text-muted);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--ease-smooth);
    flex: 1;
}

.tab-btn:hover[b-lillhtho3v] {
    color: #c0b090;
    background: rgba(255,255,255,0.02);
}

.tab-btn.active[b-lillhtho3v] {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--gold-dim);
}

.console-content[b-lillhtho3v] {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    background: radial-gradient(circle at center, rgba(30,20,15,0.2) 0%, rgba(0,0,0,0) 100%);
}

.log-entry[b-lillhtho3v] {
    margin-bottom: 6px;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
    line-height: 1.4;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    animation: slideInLog-b-lillhtho3v 0.2s ease-out;
}

@keyframes slideInLog-b-lillhtho3v {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}

.log-time[b-lillhtho3v] {
    color: #666;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-right: var(--space-sm);
}

.market-log[b-lillhtho3v] {
    color: var(--success);
    border-left-color: var(--success);
    background: var(--success-glow);
}

.map-log[b-lillhtho3v] {
    color: var(--info);
    border-left-color: var(--info);
    background: rgba(52, 152, 219, 0.05);
}

.chat-log[b-lillhtho3v] {
    color: var(--gold-light);
}

.system-log[b-lillhtho3v] {
    color: var(--text-primary);
}

.error-log[b-lillhtho3v] {
    color: var(--danger);
    background: rgba(231, 76, 60, 0.05);
}

.empty-log[b-lillhtho3v] {
    color: #555;
    text-align: center;
    padding: 40px;
    font-style: italic;
}

.chat-input-area[b-lillhtho3v] {
    display: flex;
    padding: 10px;
    background: var(--bg-dark);
    border-top: 1px solid var(--wood-border);
    gap: 10px;
}

.chat-input-area input[b-lillhtho3v] {
    flex: 1;
    background: #000;
    border: 1px solid var(--wood-dark);
    color: #fff;
    padding: var(--space-sm) 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-ui);
    transition: border-color var(--ease-smooth);
}

.chat-input-area input:focus[b-lillhtho3v] {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 5px var(--gold-glow);
}

.chat-input-area button[b-lillhtho3v] {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 0 15px;
    border-radius: var(--radius-sm);
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: all var(--ease-smooth);
}

.chat-input-area button:hover[b-lillhtho3v] {
    opacity: 1;
    transform: translateY(-1px);
}
