.scb-burpee-game-wrap {
    width: 100%;
    max-width: 920px;
    margin: 24px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    user-select: none;
}

.scb-burpee-game-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #062c33;
    color: #fff;
}

.scb-burpee-game-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.scb-burpee-game-info {
    display: flex;
    gap: 16px;
    font-size: 14px;
    white-space: nowrap;
}

.scb-burpee-canvas-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #f3fbf8 0%, #e6f2ef 68%, #cddbd6 100%);
    border: 3px solid #062c33;
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
}

.scb-burpee-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.scb-burpee-start-screen,
.scb-burpee-end-screen {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: rgba(255,255,255,.80);
    backdrop-filter: blur(3px);
    z-index: 2;
}

.scb-burpee-start-screen {
    align-items: center;
}

.scb-burpee-end-screen {
    align-items: flex-start;
    padding-top: 28px;
}

.scb-burpee-end-screen[hidden] {
    display: none;
}

.scb-burpee-start-card,
.scb-burpee-end-card {
    max-width: 520px;
    text-align: center;
    padding: 24px 22px;
    border-radius: 18px;
    background: #fff;
    border: 3px solid #062c33;
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.scb-burpee-end-card {
    width: min(92%, 520px);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.scb-burpee-start-title,
.scb-burpee-end-title {
    font-size: clamp(23px, 4vw, 36px);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 10px;
}

.scb-burpee-start-text,
.scb-burpee-end-text {
    font-size: clamp(16px, 2.4vw, 22px);
    line-height: 1.3;
    margin-bottom: 18px;
}

.scb-burpee-end-copy {
    padding: 2px 0;
}

.scb-burpee-start-btn,
.scb-burpee-jump-btn,
.scb-burpee-retry-btn,
.scb-burpee-signup-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #ff7a1a;
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 6px 0 #062c33;
    transition: transform .08s ease, box-shadow .08s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scb-burpee-start-btn,
.scb-burpee-retry-btn,
.scb-burpee-signup-btn {
    padding: 14px 24px;
    font-size: 16px;
}

.scb-burpee-jump-btn {
    display: block;
    width: min(100%, 360px);
    margin: 16px auto 0;
    padding: 16px 24px;
    font-size: 18px;
}

.scb-burpee-start-btn:active,
.scb-burpee-jump-btn:active,
.scb-burpee-retry-btn:active,
.scb-burpee-signup-btn:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 #062c33;
}

@media (max-width: 640px) {
    .scb-burpee-game-topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .scb-burpee-game-info {
        width: 100%;
        justify-content: space-between;
    }

    .scb-burpee-game-wrap {
        margin: 14px auto;
    }

    .scb-burpee-canvas-shell {
        height: 325px !important;
        border-radius: 14px;
        border-width: 2px;
    }

    .scb-burpee-start-screen,
    .scb-burpee-end-screen {
        padding: 14px;
    }

    .scb-burpee-start-card,
    .scb-burpee-end-card {
        padding: 16px 14px;
        border-radius: 14px;
        border-width: 2px;
        max-width: 92%;
    }

    .scb-burpee-end-screen {
        padding-top: 18px;
    }

    .scb-burpee-end-card {
        min-height: 250px;
        gap: 10px;
    }

    .scb-burpee-start-title,
    .scb-burpee-end-title {
        font-size: 24px;
    }

    .scb-burpee-start-text,
    .scb-burpee-end-text {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .scb-burpee-jump-btn {
        width: min(100%, 280px);
        margin-top: 12px;
        padding: 13px 20px;
        font-size: 16px;
    }

    .scb-burpee-retry-btn,
    .scb-burpee-signup-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .scb-burpee-canvas-shell {
        height: 305px !important;
    }

    .scb-burpee-game-title {
        font-size: 15px;
    }

    .scb-burpee-game-info {
        font-size: 13px;
    }
}
