.chompy-shell {
    background: linear-gradient(180deg, #f5fbff 0%, #eef4ff 100%);
    border: 1px solid #d9e7ff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(64, 92, 170, 0.12);
    margin: 20px 0;
    padding: 16px;
}

.chompy-play-area {
    background: #101c3d;
    border-radius: 16px;
    margin: 0 auto;
    max-width: 920px;
    overflow: hidden;
    position: relative;
}

    .chompy-play-area:fullscreen {
        border-radius: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        max-width: none;
        padding: 8px;
        width: 100vw;
    }

.chompy-topbar {
    align-items: center;
    background: rgba(8, 16, 38, 0.45);
    display: flex;
    justify-content: space-between;
    padding: 8px;
}

.chompy-topbar-stats {
    display: flex;
    gap: 10px;
}

.chompy-topbar-stat {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    min-width: 90px;
    padding: 8px 12px;
}

.chompy-topbar-stat-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.04em;
    opacity: 0.8;
    text-transform: uppercase;
}

.chompy-topbar-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.chompy-topbar-actions {
    display: flex;
    gap: 10px;
}

.chompy-topbar-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
}

    .chompy-topbar-btn.is-active {
        background: rgba(106, 229, 157, 0.25);
    }

.chompy-stage {
    align-items: center;
    background: #101c3d;
    display: flex;
    height: 700px;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    position: relative;
}

.chompy-play-area:fullscreen .chompy-stage {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

#chompyCanvas {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: none;
    width: auto;
}

#chompyCanvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.chompy-overlay {
    align-items: center;
    background: rgba(10, 18, 41, 0.72);
    display: flex;
    inset: 4px;
    justify-content: center;
    padding: 16px;
    position: absolute;
    z-index: 5;
}

    .chompy-overlay.is-hidden {
        display: none;
    }

.chompy-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 16px 50px rgba(18, 30, 76, 0.28);
    color: #20315f;
    max-width: 560px;
    padding: 26px;
    text-align: center;
    width: 100%;
}

.chompy-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.chompy-input {
    border: 2px solid #cad8ff;
    border-radius: 12px;
    font-size: 18px;
    margin-top: 10px;
    padding: 10px 12px;
    text-align: center;
    width: 100%;
}

.chompy-hint-text {
    color: #1b4e86;
    font-size: 24px;
    font-weight: 700;
    margin-top: 12px;
    min-height: 38px;
    opacity: 0;
}

    .chompy-hint-text.show {
        animation: chompyHintFade 2.5s linear forwards;
    }

@keyframes chompyHintFade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}