/* 라이브 모드 스타일 */

.mode-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.btn-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.btn-mode-toggle:active {
    transform: translateY(0);
}

.mode-label {
    font-size: 13px;
}

.mode-icon {
    width: 16px;
    height: 16px;
}

/* 라이브 정보 패널 - 개발자 패널, 디버그 로그 패널과 동일한 세로 정렬 */
.live-info-panel {
    width: var(--widget-width);
    margin-top: 16px;
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* 라이브 패널 헤더도 기존 스타일 유지 (어두운 반투명) */
.live-info-panel .panel-header {
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.live-info-panel .panel-title span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.live-info-panel .panel-icon {
    color: #7dc4e4;
    flex-shrink: 0;
}

.live-info-panel .btn-panel-toggle {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.live-info-panel .btn-panel-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.live-info-section {
    margin-bottom: 16px;
}

.live-info-section .control-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.live-info-section .control-label {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.live-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
}

.live-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.live-info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.live-info-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.live-sync-status {
    background: rgba(125, 196, 228, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(125, 196, 228, 0.2);
}

.sync-status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.sync-label {
    font-size: 12px;
    color: #aaa;
}

.sync-value {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* 라이브 패널 내부 버튼도 기존 스타일 유지 */
.live-info-panel .btn-test {
    width: 100%;
    padding: 10px 18px;
    background: rgba(125, 196, 228, 0.2);
    border: 1px solid rgba(125, 196, 228, 0.4);
    border-radius: 8px;
    color: #7dc4e4;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.live-info-panel .btn-test:hover {
    background: rgba(125, 196, 228, 0.3);
    border-color: rgba(125, 196, 228, 0.6);
}

.live-info-panel .btn-test:active {
    transform: scale(0.98);
}

.live-info-panel .panel-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.1);
}

.live-info-panel .info-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #7dc4e4;
}

/* 라이브 패널 내부 control 요소들 오버플로우 방지 */
.live-info-panel .control-row {
    max-width: 100%;
    box-sizing: border-box;
}

.live-info-panel .control-group {
    min-width: 0;
    flex: 1;
}

.live-info-panel .control-label {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.live-info-panel .control-select,
.live-info-panel .control-input {
    max-width: 100%;
    box-sizing: border-box;
}

