/* ========================================
   日志面板样式 - 右侧战斗日志区域
   ======================================== */

.log-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    min-height: 0;
}

.log-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--border-color);
    font-family: 'Orbitron', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.dot {
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 0;
    animation: dot-breathing 2s ease-in-out infinite;
    text-shadow: 0 0 8px var(--primary-color);
}

@keyframes dot-breathing {

    0%,
    100% {
        opacity: 0.4;
        text-shadow: 0 0 4px var(--primary-color);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 16px var(--primary-color), 0 0 24px var(--primary-color);
    }
}

.log-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    min-height: 0;
}

.log-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.log-content-wrapper::-webkit-scrollbar-track {
    background: #0f1115;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.log-content-wrapper::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
    border: 1px solid #000;
}

.log-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-dim);
}

.log-content {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
}

.log-entry {
    margin-bottom: 4px;
    color: #888888;
}

.log-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 136, 136, 0.5), transparent);
    margin: 12px 0;
    border: none;
}

.log-divider-strong {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    margin: 16px 0;
    border: none;
}

.log-player {
    color: #00d4ff;
}

.log-npc {
    color: #ff4757;
}

.log-system {
    color: #888888;
    font-family: 'Orbitron', sans-serif;
}

.turn {
    color: #888888;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(136, 136, 136, 0.3);
    padding: 8px;
    margin: 8px 0;
    background: rgba(136, 136, 136, 0.05);
}

.log-gameover {
    color: #ffeaa7;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 234, 167, 0.5);
}
