/* Market Dominance */
.dominance-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    text-align: center;
}

.dominance-bar-container {
    height: 24px;
    background: #1e293b;
    border-radius: 12px;
    margin: 1rem 0;
    overflow: hidden;
    display: flex;
}

.dominance-segment {
    height: 100%;
    transition: width 1s ease;
}

.tier-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.tier-startup {
    color: #aaaaaa;
    border: 1px solid #aaaaaa;
}

.tier-unicorn {
    color: #f472b6;
    border: 1px solid #f472b6;
    background: rgba(244, 114, 182, 0.1);
}

.tier-titan {
    color: #60a5fa;
    border: 1px solid #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.tier-legend {
    color: #fbbf24;
    border: 1px solid #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

/* --- Market War UI --- */
.war-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.95), #020617);
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.war-container {
    width: 90%;
    max-width: 800px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.war-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.war-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.war-timer {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.war-battlefield {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 3rem;
    gap: 2rem;
}

.war-side {
    flex: 1;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.player-side {
    border-left: 5px solid var(--accent);
    box-shadow: -10px 0 20px rgba(14, 165, 233, 0.1);
}

.rival-side {
    border-right: 5px solid var(--error);
    box-shadow: 10px 0 20px rgba(244, 63, 94, 0.1);
}

.war-entity-name {
    font-size: 1.5rem;
