/* ============================================
   小熊的五一假期 - 主样式
   参考：互联网大厂模拟器风格
   暗色终端 + 机密档案风 + Emoji视觉锚点
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222233;
    --text-primary: #e8e8ec;
    --text-secondary: #8888a0;
    --text-dim: #555570;
    --accent-red: #ff4455;
    --accent-green: #44ff88;
    --accent-blue: #4488ff;
    --accent-yellow: #ffaa33;
    --accent-purple: #aa55ff;
    --accent-orange: #ff8844;
    --border-color: #2a2a3a;
    --bar-bg: #1a1a25;
    --shadow: 0 4px 20px rgba(0,0,0,0.5);
    --radius: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* ============ 屏幕切换 ============ */
.screen {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.4s ease;
}
.screen.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes stampAppear {
    0% { transform: rotate(-12deg) scale(3); opacity: 0; }
    60% { transform: rotate(-12deg) scale(0.95); opacity: 0.9; }
    100% { transform: rotate(-12deg) scale(1); opacity: 0.7; }
}

.shake { animation: shake 0.5s ease; }

/* ============ 机密标签 ============ */
.classified-stamp {
    text-align: center;
    padding: 8px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent-red);
    border-bottom: 1px solid var(--accent-red);
    opacity: 0.7;
    user-select: none;
}

/* ============ 启动页 ============ */
.intro-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 40px);
}

.logo-area {
    text-align: center;
    margin: 30px 0 20px;
}

.logo-emoji {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.game-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.game-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 6px;
}

.version-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    color: var(--text-dim);
}

.intro-desc {
    text-align: center;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent-red);
}

.intro-desc p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.intro-rules {
    width: 100%;
    margin: 10px 0 20px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.intro-rules h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.intro-rules ul {
    list-style: none;
    padding: 0;
}

.intro-rules li {
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.intro-rules li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-family: monospace;
}

.intro-rules li:last-child { border-bottom: none; }

/* ============ 按钮 ============ */
.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent-red), #cc2233);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,68,85,0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
}

.btn-sm {
    padding: 6px 12px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-sm:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.btn-start {
    margin-top: auto;
    font-size: 18px;
    padding: 16px;
}

/* ============ 角色创建 ============ */
.create-content {
    padding: 20px;
}

.create-content h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-yellow);
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group > label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-row input:focus {
    border-color: var(--accent-blue);
}

.input-row input::placeholder {
    color: var(--text-dim);
}

.radio-group {
    display: flex;
    gap: 12px;
}

.radio-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-item:has(input:checked) {
    border-color: var(--accent-blue);
    background: rgba(68,136,255,0.1);
}

.radio-item input { display: none; }

.radio-label {
    font-size: 15px;
}

/* 难度选择 */
.difficulty-options {
    display: flex;
    gap: 10px;
}

.diff-card {
    flex: 1;
    padding: 12px 8px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.diff-card.selected {
    border-color: var(--accent-green);
    background: rgba(68,255,136,0.08);
}

.diff-card:hover {
    background: var(--bg-card-hover);
}

.diff-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.diff-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.diff-desc {
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* 初始属性预览 */
.initial-stats {
    margin: 15px 0;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.initial-stats .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}

.initial-stats .stat-label {
    color: var(--text-secondary);
}

.initial-stats .stat-value {
    font-family: "Courier New", monospace;
    color: var(--accent-green);
    font-weight: 700;
}

/* ============ 游戏主界面 ============ */

/* 状态栏 */
.status-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    user-select: none;
}

.day-label {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.toggle-icon {
    font-size: 12px;
    color: var(--text-dim);
    transition: transform 0.3s;
}

.toggle-icon.collapsed {
    transform: rotate(-90deg);
}

.status-panel {
    padding: 0 16px 12px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.status-panel.collapsed {
    max-height: 0;
    padding: 0 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.stat-emoji {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.stat-info {
    flex: 1;
    min-width: 0;
}

.stat-name {
    font-size: 10px;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}

.stat-val {
    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 11px;
}

.stat-bar {
    height: 4px;
    background: var(--bar-bg);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2px;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease, background 0.3s;
}

.stat-bar-fill.high { background: var(--accent-green); }
.stat-bar-fill.mid { background: var(--accent-yellow); }
.stat-bar-fill.low { background: var(--accent-red); }

.stat-bar-fill.reverse-high { background: var(--accent-green); }
.stat-bar-fill.reverse-mid { background: var(--accent-yellow); }
.stat-bar-fill.reverse-low { background: var(--accent-red); }

/* 道具栏 */
.inventory {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.inventory-label {
    font-size: 10px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.inventory-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inv-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* ============ 事件区域 ============ */
.event-area {
    padding: 16px;
    padding-bottom: 30px;
}

.event-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.event-title {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 800;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
}

.event-title .event-day {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-dim);
    display: block;
    margin-bottom: 2px;
    font-family: "Courier New", monospace;
}

.event-text {
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.event-text .narrator {
    color: var(--text-dim);
    font-style: italic;
}

.event-text .dialogue {
    color: var(--text-primary);
    border-left: 2px solid var(--accent-blue);
    padding-left: 10px;
    margin: 8px 0;
}

.event-text .inner-thought {
    color: var(--accent-purple);
    font-style: italic;
    opacity: 0.9;
}

.event-text .system-msg {
    color: var(--accent-red);
    font-family: "Courier New", monospace;
    font-size: 12px;
    padding: 6px 10px;
    background: rgba(255,68,85,0.1);
    border-radius: 4px;
    margin: 8px 0;
}

.event-text .condition-text {
    font-size: 12px;
    color: var(--text-dim);
    padding: 6px 10px;
    background: rgba(68,136,255,0.08);
    border-left: 2px solid var(--accent-blue);
    margin: 8px 0;
    font-family: "Courier New", monospace;
}

/* ============ 选项按钮 ============ */
.event-choices {
    padding: 0 16px 16px;
}

.choice-btn {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.choice-btn:hover {
    border-color: var(--accent-blue);
    background: rgba(68,136,255,0.08);
    transform: translateX(4px);
}

.choice-btn:active {
    transform: translateX(2px);
}

.choice-btn.locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.choice-btn.locked:hover {
    border-color: var(--border-color);
    background: var(--bg-secondary);
    transform: none;
}

.choice-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: var(--accent-blue);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    font-family: "Courier New", monospace;
    flex-shrink: 0;
}

.choice-btn.locked .choice-key {
    background: var(--text-dim);
}

.choice-content {
    flex: 1;
}

.choice-hint {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
}

.choice-cost {
    color: var(--accent-red);
    font-size: 11px;
    margin-top: 2px;
}

.choice-item-use {
    color: var(--accent-yellow);
    font-size: 11px;
    margin-top: 2px;
}

/* ============ 事件结果 ============ */
.event-result {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    animation: slideUp 0.3s ease;
}

.result-title {
    font-size: 13px;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: "Courier New", monospace;
}

.result-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.effect-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-family: "Courier New", monospace;
    font-weight: 600;
}

.effect-tag.positive {
    background: rgba(68,255,136,0.12);
    color: var(--accent-green);
}

.effect-tag.negative {
    background: rgba(255,68,85,0.12);
    color: var(--accent-red);
}

.effect-tag.neutral {
    background: rgba(136,136,160,0.12);
    color: var(--text-secondary);
}

.result-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.result-text .trigger-line {
    display: block;
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(170,85,255,0.08);
    border-left: 2px solid var(--accent-purple);
    color: var(--text-primary);
    font-style: normal;
    font-size: 13px;
}

.continue-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: #2e8b57;
    border: 1px solid #2e8b57;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.continue-btn:hover {
    background: #246d45;
    border-color: #246d45;
    color: #fff;
}

/* ============ 小游戏 ============ */
.minigame-container {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.minigame-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.minigame-desc {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

/* 12306抢票 */
.ticket-game {
    width: 100%;
    max-width: 400px;
}

.ticket-header {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.ticket-header h3 {
    color: var(--accent-blue);
    font-size: 15px;
}

.ticket-route {
    font-size: 20px;
    font-weight: 900;
    margin: 8px 0;
    letter-spacing: 2px;
}

.ticket-date {
    font-size: 12px;
    color: var(--text-dim);
    font-family: "Courier New", monospace;
}

.ticket-trains {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

.ticket-train {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.15s;
}

.ticket-train:last-child { border-bottom: none; }

.ticket-train .train-no {
    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 13px;
}

.ticket-train .train-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.ticket-train .train-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.train-status.sold-out {
    background: rgba(255,68,85,0.12);
    color: var(--accent-red);
    cursor: default;
}

.train-status.waiting {
    background: rgba(255,170,51,0.12);
    color: var(--accent-yellow);
    cursor: default;
}

.train-status.available {
    background: rgba(68,255,136,0.2);
    color: var(--accent-green);
    animation: pulse 0.8s infinite;
    cursor: pointer;
}

.train-status.available:hover {
    background: rgba(68,255,136,0.4);
    transform: scale(1.1);
}

.train-status.grabbed {
    background: rgba(68,255,136,0.3);
    color: var(--accent-green);
}

.ticket-timer {
    text-align: center;
    margin: 12px 0;
    font-family: "Courier New", monospace;
    font-size: 14px;
    color: var(--accent-yellow);
}

/* 敬酒小游戏 */
.toast-game {
    width: 100%;
    max-width: 400px;
}

.toast-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.toast-person {
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.toast-person:hover {
    border-color: var(--accent-yellow);
    background: rgba(255,170,51,0.08);
}

.toast-person.toast-done {
    border-color: var(--accent-green);
    background: rgba(68,255,136,0.08);
    opacity: 0.6;
    cursor: default;
}

.toast-person .person-emoji {
    font-size: 28px;
    margin-bottom: 4px;
}

.toast-person .person-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.toast-order {
    text-align: center;
    margin: 10px 0;
    font-size: 13px;
    color: var(--text-dim);
}

.toast-order span {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* ============ 结局 ============ */
.ending-container {
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ending-stamp {
    font-size: 40px;
    margin-bottom: 16px;
}

.ending-label {
    font-family: "Courier New", monospace;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.ending-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
    text-align: center;
}

.ending-subtitle {
    font-size: 15px;
    color: var(--accent-yellow);
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.ending-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
    text-align: center;
    max-width: 360px;
    margin-bottom: 24px;
}

.ending-text .highlight {
    color: var(--text-primary);
    font-weight: 700;
}

.ending-stats {
    width: 100%;
    max-width: 360px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.ending-stats h4 {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 2px;
}

.ending-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.ending-stat-row:last-child { border-bottom: none; }

.ending-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.ending-actions button {
    flex: 1;
}

/* ============ 分享卡片 ============ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.share-card {
    width: 100%;
    max-width: 360px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 16px;
}

.share-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.share-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.share-stat-item {
    padding: 6px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 12px;
}

.share-stat-item .share-emoji {
    font-size: 18px;
}

.share-stat-item .share-val {
    font-family: "Courier New", monospace;
    font-weight: 700;
    color: var(--accent-green);
}

.share-footer {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 10px;
}

.share-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

/* ============ 阶段结算 ============ */
.stage-summary {
    padding: 16px;
    margin: 10px 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--accent-yellow);
}

.stage-summary h3 {
    font-size: 14px;
    color: var(--accent-yellow);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 2px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.summary-row:last-child { border-bottom: none; }

.summary-label { color: var(--text-secondary); }

.summary-value {
    font-family: "Courier New", monospace;
    font-weight: 700;
}

.summary-value.good { color: var(--accent-green); }
.summary-value.bad { color: var(--accent-red); }
.summary-value.mid { color: var(--accent-yellow); }

/* ============ 警告/特殊提示 ============ */
.warning-box {
    padding: 10px 14px;
    margin: 8px 0;
    background: rgba(255,68,85,0.1);
    border: 1px solid rgba(255,68,85,0.3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--accent-red);
    font-family: "Courier New", monospace;
    text-align: center;
    animation: pulse 1.5s infinite;
}

.buff-box {
    padding: 10px 14px;
    margin: 8px 0;
    background: rgba(68,255,136,0.08);
    border: 1px solid rgba(68,255,136,0.2);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--accent-green);
    text-align: center;
}

/* ============ 滚动条 ============ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

/* ============ 响应式 ============ */
@media (max-width: 360px) {
    .game-title { font-size: 26px; }
    .difficulty-options { flex-direction: column; }
    .toast-people { grid-template-columns: 1fr 1fr; }
}
