body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #00ff99;
    font-family: "Courier New", monospace;
}

#game {
    padding: 16px;
    max-width: 600px;
    margin: auto;
}

#status {
    border-bottom: 1px solid #00ff99;
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

#text {
    white-space: pre-wrap;
    line-height: 1.5;
    margin-bottom: 16px;
}

.option-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
    margin-bottom: 8px;
    background: #002b22;
    color: #00ff99;
    border: 1px solid #00ff99;
    cursor: pointer;
    font-size: 16px;
}

.option-btn:hover {
    background: #004433;
}

/* ==========================
   战斗界面样式
   ========================== */

.battle-header {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #00ff99;
}

.battle-turn {
    font-size: 18px;
    font-weight: bold;
    color: #00ff99;
    text-align: center;
}

.battle-enemy,
.battle-player {
    margin-bottom: 16px;
    padding: 12px;
    background: #001a14;
    border: 1px solid #00ff99;
    border-radius: 4px;
}

.battle-enemy-name,
.battle-player-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #00ff99;
}

.battle-hp-bar {
    margin-top: 8px;
}

.battle-hp-label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #00ff99;
}

.battle-hp-progress {
    width: 100%;
    height: 24px;
    background: #002b22;
    border: 1px solid #00ff99;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.battle-hp-fill {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.player-hp .battle-hp-fill {
    background: linear-gradient(90deg, #00ff99, #00cc7a);
    box-shadow: 0 0 8px rgba(0, 255, 153, 0.5);
}

.enemy-hp .battle-hp-fill {
    background: linear-gradient(90deg, #ff3333, #cc0000);
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.5);
}

.battle-log {
    margin-top: 16px;
    padding: 12px;
    background: #001a14;
    border: 1px solid #00ff99;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.battle-log-title {
    font-weight: bold;
    color: #00ff99;
    margin-bottom: 8px;
}

.battle-log-item {
    margin-bottom: 4px;
    color: #00cc7a;
}

.battle-buff-info {
    margin-top: 12px;
    padding: 8px;
    background: #002b22;
    border: 1px solid #00ff99;
    border-radius: 4px;
    font-size: 13px;
    color: #00ff99;
    text-align: center;
}
