/**
 * 反诈指南 — 防骗模拟样式
 *
 * @file plugins/anti_scam/assets/game.css
 * @version 1.0.2
 */

.as-game-intro { text-align: center; padding: 20px 0 30px; }
.as-game-intro h3 { font-size: 22px; margin: 0 0 12px; }
.as-game-intro p { font-size: 13px; line-height: 1.9; color: var(--mn-text-secondary); margin: 0 auto 18px; max-width: 560px; }
.as-game-intro b { color: var(--mn-primary); }
.as-game-loading { text-align: center; padding: 30px; color: var(--mn-text-muted); }

.as-game-chat { max-width: 720px; margin: 0 auto; }
.as-game-top {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--mn-primary-subtle);
    border-radius: var(--mn-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--mn-primary);
}
.as-game-scene {
    text-align: center;
    font-size: 12px;
    color: var(--mn-text-muted);
    letter-spacing: 1px;
    padding: 10px 0;
}
.as-chat-msgs {
    min-height: 220px;
    max-height: 440px;
    overflow-y: auto;
    padding: 8px 0;
}
.as-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.7;
}
.as-msg-av {
    flex: none;
    min-width: 26px;
    max-width: 45%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    background: var(--mn-bg-tag);
    border-radius: var(--mn-radius-sm);
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.as-msg-t {
    min-width: 0;
    padding: 8px 12px;
    background: var(--mn-bg-tag);
    border-radius: var(--mn-radius);
    max-width: 85%;
    word-break: break-word;
}
.as-msg-me { flex-direction: row-reverse; }
.as-msg-me .as-msg-t { background: var(--mn-primary-subtle); color: var(--mn-primary); }

.as-chat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--mn-border);
}
.as-hint { width: 100%; font-size: 12px; color: var(--mn-text-muted); margin: 0; }

.as-game-result { max-width: 720px; margin: 0 auto; }
.as-game-result h3 { text-align: center; font-size: 20px; margin: 8px 0 12px; }
.as-game-result > p { text-align: center; font-size: 13px; color: var(--mn-text-secondary); }
.as-game-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 18px 0;
}
.as-game-kpis div {
    text-align: center;
    padding: 12px 6px;
    background: var(--mn-bg-tag);
    border-radius: var(--mn-radius-sm);
}
.as-game-kpis b { display: block; font-size: 18px; color: var(--mn-primary); }
.as-game-kpis span { display: block; font-size: 11px; color: var(--mn-text-secondary); margin-top: 4px; }

.as-game-review { margin: 16px 0; }
.as-rv {
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--mn-border);
    border-radius: var(--mn-radius-sm);
    font-size: 12px;
    line-height: 1.8;
}
.as-rv-bad { border-left: 3px solid var(--mn-error); }
.as-rv-meta { font-size: 11px; color: var(--mn-text-muted); }
.as-rv-guard { color: var(--mn-text-secondary); margin-top: 4px; }
.as-ok { color: var(--mn-success); font-weight: 600; }

.as-game-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }

@media (max-width: 480px) {
    .as-game-kpis { grid-template-columns: repeat(2, 1fr); }
}
