body {
    background-color: #18181b; /* Темный фон в стиле Twitch */
    color: #efeff1; /* Светлый текст Twitch */
    font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
}

header {
    border-bottom: 1px solid #303032;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #bf94ff; /* Фирменный фиолетовый акцент Twitch */
    text-align: center;
}

#player-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.stats {
    width: 100%;
}

.stat-bar {
    background-color: #3a3a3d;
    border-radius: 4px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.stat-bar .fill {
    background-color: #e73c3e;
    height: 100%;
    transition: width 0.3s ease;
}

.stat-bar .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.action-log {
    flex-grow: 1;
    background-color: #0e0e10;
    border: 1px solid #303032;
    border-radius: 6px;
    padding: 8px;
    overflow-y: auto;
    margin-bottom: 10px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.action-log p {
    margin: 0;
}

.system-msg { color: #aaaaaa; font-style: italic; }
.combat-msg { color: #ff8280; }
.loot-msg { color: #ffd37f; }

.controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn {
    background-color: #3a3a3d;
    color: #efeff1;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn:hover { background-color: #53535f; }
.btn:active { transform: scale(0.97); }

/* Цветовые акценты для разных типов кнопок */
.btn-action { border-left: 3px solid #ff8280; }
.btn-support { border-left: 3px solid #6ae39a; }
.btn-neutral { border-left: 3px solid #a970ff; }
