.battle-preview-panel {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(199, 157, 67, .62);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(24, 27, 19, .98), rgba(10, 12, 9, .98));
    color: #e9e1cc;
    box-shadow: inset 0 1px rgba(255, 232, 170, .08), 0 8px 24px rgba(0, 0, 0, .28);
}

.battle-preview-heading,
.battle-preview-heading > div,
.battle-preview-recommendation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.battle-preview-heading > div {
    justify-content: flex-start;
    color: #f0cc72;
    font-size: 15px;
}

.battle-preview-travel {
    color: #b8b09e;
    font-size: 12px;
    white-space: nowrap;
}

.battle-preview-risk,
.battle-preview-message {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 12px 0;
    padding: 10px 12px;
    border-left: 4px solid #777;
    border-radius: 5px;
    background: rgba(255, 255, 255, .04);
}

.battle-preview-risk.is-safe,
.battle-preview-message.is-good { border-color: #65be78; background: rgba(50, 133, 70, .15); }
.battle-preview-risk.is-good { border-color: #a6c55a; background: rgba(134, 166, 56, .13); }
.battle-preview-risk.is-warning { border-color: #d5a34d; background: rgba(197, 137, 38, .15); }
.battle-preview-risk.is-danger,
.battle-preview-message.is-danger { border-color: #d35d55; background: rgba(175, 51, 45, .17); }
.battle-preview-risk.is-neutral,
.battle-preview-message.is-unknown { border-color: #77899e; background: rgba(80, 101, 126, .14); }

.battle-preview-risk span,
.battle-preview-message small {
    color: #c8c0ae;
    font-size: 12px;
}

.battle-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.battle-preview-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    background: rgba(0, 0, 0, .18);
}

.battle-preview-grid span {
    color: #a9a18f;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.battle-preview-grid b {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.battle-preview-recommendation {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.battle-preview-recommendation > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.battle-preview-recommendation span {
    color: #d7cfba;
    font-size: 12px;
}

.battle-preview-recommendation button {
    flex: 0 0 auto;
    padding: 7px 10px;
}

.battle-preview-warning,
.battle-preview-error {
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 5px;
    color: #ffd2a3;
    background: rgba(166, 75, 39, .2);
}

.battle-preview-loading {
    padding: 12px 0;
    color: #bdb49f;
    text-align: center;
}

.battle-preview-footnote {
    display: block;
    margin-top: 10px;
    color: #827c70;
    line-height: 1.35;
}

@media (max-width: 600px) {
    .battle-preview-panel { margin: 10px 0; padding: 11px; }
    .battle-preview-heading { align-items: flex-start; flex-direction: column; }
    .battle-preview-grid { grid-template-columns: 1fr; }
    .battle-preview-recommendation { align-items: stretch; flex-direction: column; }
    .battle-preview-recommendation button { width: 100%; }
}
