.game-panel {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.75);
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(0, 0, 0, 0.08) 0,
            rgba(0, 0, 0, 0.08) 2px,
            transparent 2px,
            transparent 7px
        ),
        linear-gradient(135deg, #a67c52, #8b4513);
    border: 4px solid #5d3a1a;
    border-radius: 15px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -16px 30px rgba(0, 0, 0, 0.16),
        0 4px 12px rgba(0, 0, 0, 0.55);
}

.game-panel--padded {
    padding: 24px;
}

.game-panel--dark {
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 7px
        ),
        linear-gradient(180deg, #1b1512, #080f14);
    border-color: #5d3a1a;
}

.game-panel--compact {
    padding: 20px;
}

.game-panel--ornate::before,
.game-panel--ornate::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4d4d4, #8f8f8f);
    border: 3px solid #42240f;
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.6);
}

.game-panel--ornate::before {
    top: 12px;
    left: 12px;
}

.game-panel--ornate::after {
    right: 12px;
    bottom: 12px;
}

.game-panel__title,
.game-panel > h2 {
    margin-top: 0;
    border-bottom: 2px solid rgba(93, 58, 26, 0.85);
    padding-bottom: 10px;
    font-family: "Cinzel", serif;
    font-size: 20px;
}

.game-panel__body {
    display: grid;
    gap: 16px;
}

.game-panel__note {
    margin-top: 10px;
    text-align: center;
    color: #fff8e8;
}

@media (max-width: 768px) {
    .game-panel--padded {
        padding: 20px;
    }
}
