
.gmr-cave-adv-shell {
    max-width: 1120px;
    margin: 34px auto;
    padding: 0 14px;
}

.gmr-cave-adv-card {
    color: #fff;
    background:
        radial-gradient(circle at 15% 0%, rgba(132,83,181,.24), transparent 31%),
        linear-gradient(145deg, #2b1d35, #15101b 70%);
    border: 1px solid rgba(224,201,245,.28);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.gmr-cave-adv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 16px;
}

.gmr-cave-adv-kicker {
    color: #f4cc69;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.gmr-cave-adv-header h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.gmr-cave-adv-header p {
    margin: 0;
    color: #ded3e6;
    max-width: 720px;
}

.gmr-cave-adv-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gmr-cave-adv-actions button,
.gmr-cave-adv-pickaxe {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 900;
}

.gmr-cave-adv-start {
    background: linear-gradient(135deg, #f2c85f, #fff1ad);
    color: #2a1b05;
}

.gmr-cave-adv-sound {
    background: rgba(255,255,255,.09);
    color: #fff;
    border: 1px solid rgba(255,255,255,.13) !important;
}

.gmr-cave-adv-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.gmr-cave-adv-stats span {
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    padding: 10px;
    text-align: center;
    color: #dacfe4;
}

.gmr-cave-adv-stats strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
}

.gmr-cave-adv-game-wrap {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(224,201,245,.38);
    border-radius: 18px;
    background: #211a24;
}

.gmr-cave-adv-canvas {
    display: block;
    width: 100%;
    height: auto;
}

.gmr-cave-adv-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12,8,16,.68);
    padding: 20px;
    text-align: center;
}

.gmr-cave-adv-message.is-hidden { display: none; }

.gmr-cave-adv-message div {
    background: rgba(43,29,53,.94);
    border: 1px solid rgba(224,201,245,.25);
    border-radius: 18px;
    padding: 20px 24px;
    max-width: 490px;
}

.gmr-cave-adv-message strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 7px;
}

.gmr-cave-adv-message span { color: #ddd0e8; }

.gmr-cave-adv-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
}

.gmr-cave-adv-dpad { text-align: center; }

.gmr-cave-adv-dpad button {
    width: 64px;
    height: 52px;
    margin: 3px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.20);
    background: linear-gradient(145deg, #7647a8, #43285d);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.gmr-cave-adv-pickaxe {
    background: linear-gradient(135deg, #ae7d48, #efc987);
    color: #2a1908;
    min-width: 160px;
}

.gmr-cave-adv-help {
    text-align: center;
    color: #c7b8d1;
    margin: 12px 0 0;
    font-size: .9rem;
}

@media (max-width: 780px) {
    .gmr-cave-adv-card { padding: 15px; border-radius: 18px; }
    .gmr-cave-adv-header { flex-direction: column; align-items: stretch; }
    .gmr-cave-adv-actions { flex-direction: row; flex-wrap: wrap; }
    .gmr-cave-adv-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gmr-cave-adv-controls { flex-direction: column; }
}
