/* ── HeartBattle Focused Layout (ARCADE) ── */
.bh-focused-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: calc(100vh - 80px); /* Adjust for top bar */
    padding: 2.5rem;
    background: radial-gradient(circle at center, rgba(233,30,99,0.08) 0%, transparent 70%);
    overflow: hidden;
}

.bh-top-focus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    width: 100%;
}

.bh-active-player {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(233,30,99,0.6);
    margin-bottom: 1rem;
}

.bh-scores-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.bh-score-box {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem 4rem;
    text-align: center;
    border: 3px solid transparent;
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.bh-target-box {
    border-color: #ff9800;
    box-shadow: 0 0 30px rgba(255, 152, 0, 0.2);
}
.bh-target-box .bh-label { color: #ff9800; }

.bh-current-box {
    border-color: #00e676;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.2);
}
.bh-current-box .bh-label { color: #00e676; }
.bh-current-box.failing {
    border-color: #ff5252;
    box-shadow: 0 0 30px rgba(255, 82, 82, 0.2);
}
.bh-current-box.failing .bh-label { color: #ff5252; }

.bh-label {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}
.bh-value {
    font-size: 10rem;
    font-weight: 950;
    line-height: 0.9;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.bh-vs-badge {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    font-style: italic;
    transform: rotate(-10deg);
}

.bh-darts-focus {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 3rem;
}

/* ── Bottom Players Strip ── */
.bh-bottom-players {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bh-player-strip {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 160px;
    border: 2px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bh-player-strip.bh-active {
    background: rgba(233,30,99,0.1);
    border-color: #e91e63;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(233,30,99,0.3);
}

.bh-player-strip.bh-eliminated {
    opacity: 0.2;
    filter: grayscale(1);
    transform: scale(0.9);
}

.bh-p-name { 
    font-weight: 800; 
    font-size: 1.1rem; 
    color: #fff;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bh-hearts-row {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 6px 0;
    flex-wrap: wrap; /* Prevent overflow on iPad */
}

.bh-heart-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(233, 30, 99, 0.4));
}

.bh-p-pts { 
    font-size: 1.4rem; 
    font-weight: 950; 
    color: #ffd700;
}

.bh-last-result {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #00e676;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 10px rgba(0,230,118,0.5);
}

.bh-last-result.fail {
    background: #ff5252;
}

.bh-miss-btn {
    background: rgba(255,82,82,0.15);
    border: 2px solid #ff5252;
    color: #ff5252;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bh-miss-btn:hover {
    background: #ff5252;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 82, 82, 0.4);
}

.bh-correct-btn {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--text-muted);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.bh-correct-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

/* Animations */
@keyframes heartBurst {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.bh-active .bh-p-name {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #e91e63; }
    to { text-shadow: 0 0 10px #fff, 0 0 20px #e91e63; }
}
