html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Arial Black", Impact, "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top, rgba(118, 246, 255, 0.2), transparent 36%),
        linear-gradient(180deg, #0a1430 0%, #122654 52%, #0a1124 100%);
    color: #ecfaff;
}

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
    box-sizing: border-box;
}

.controllerShell {
    width: min(100%, 430px);
}

.controllerCard {
    padding: 22px 20px 18px;
    border: 3px solid rgba(118, 246, 255, 0.18);
    background: linear-gradient(180deg, rgba(17, 31, 72, 0.94), rgba(8, 15, 33, 0.94));
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.hero {
    display: flex;
    align-items: center;
    gap: 16px;
}

.runnerBadge {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #76f6ff 0%, #35d7ff 100%);
    border: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.28);
}

.runnerFace {
    position: relative;
    width: 56px;
    height: 56px;
    background: #15336e;
}

.eye {
    position: absolute;
    top: 14px;
    width: 10px;
    height: 10px;
    background: #f7fcff;
}

.leftEye {
    left: 10px;
}

.rightEye {
    right: 10px;
}

.mouth {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 6px;
    background: #ffe17b;
}

.runnerName {
    font-size: 30px;
    line-height: 0.95;
    text-transform: uppercase;
}

.runnerState {
    margin-top: 6px;
    color: #9eb8da;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 15px;
    line-height: 1.35;
}

.statsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.statCard {
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(19, 42, 95, 0.94), rgba(11, 24, 50, 0.94));
    border: 3px solid rgba(118, 246, 255, 0.14);
}

.statCardAlt {
    border-color: rgba(255, 225, 123, 0.18);
}

.statLabel {
    color: #84aedf;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.statValue {
    margin-top: 8px;
    font-size: 42px;
    line-height: 1;
    color: #fbfdff;
}

.jumpButton {
    width: 100%;
    margin-top: 22px;
    padding: 24px 20px;
    border: none;
    background: linear-gradient(180deg, #ffe17b 0%, #ffb949 100%);
    color: #18274d;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 16px 28px rgba(255, 186, 74, 0.24);
    touch-action: manipulation;
}

.jumpButton:active {
    transform: translateY(2px) scale(0.985);
}

.jumpButton.disabled {
    opacity: 0.42;
}

.statusText {
    margin-top: 18px;
    min-height: 44px;
    color: #d2e3fb;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.footerBar {
    margin-top: 12px;
    color: #86a6cf;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 520px) {
    body {
        padding: 12px;
    }

    .controllerCard {
        padding: 18px 16px 16px;
    }

    .hero {
        align-items: flex-start;
    }

    .runnerBadge {
        width: 78px;
        height: 78px;
    }

    .runnerFace {
        width: 46px;
        height: 46px;
    }

    .runnerName {
        font-size: 24px;
    }

    .jumpButton {
        font-size: 28px;
        padding: 20px 16px;
    }
}
