.attention-game-wrapper {
    max-width: 600px;
    margin: 0 auto;
    /* Respects header - adjusts to fit screen without scrolling */
    height: calc(100vh - 120px); 
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.game-hud-row {
    display: flex;
    justify-content: space-between;
    background: #0f172a;
    color: #38bdf8;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 8px 8px 0 0;
}

#challenge-banner {
    padding: 10px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

#game-container-viewport {
    position: relative;
    width: 100%;
    flex-grow: 1;
    background: #ffffff;
    border: 2px solid #0f172a;
    overflow: hidden;
}

#game-area {
    width: 100%;
    height: 100%;
    position: relative;
}

#game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}

.gm-play-btn {
    padding: 15px 40px;
    font-size: 20px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 0 #15803d;
}

.attention-shape {
    position: absolute;
    cursor: pointer;
    touch-action: none;
    z-index: 10;
}

.focus-tip {
    font-size: 14px;
    background: #f1f5f9;
    padding: 12px;
    margin: 10px 0;
    border-left: 4px solid #38bdf8;
    text-align: left;
}

@media (max-width: 480px) {
    .game-hud-row { font-size: 12px; padding: 8px; }
    #challenge-banner { font-size: 16px; }
}