/* iframe 내부에서 스크롤이 갇히도록 설정 (높이 뚫고 나가는 현상 방지) */
html {
    overflow-y: auto;
    overflow-x: hidden;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f5f5;
    padding: 20px;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.update-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
}

.version-number {
    font-size: 20px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
}

.changes-list {
    list-style: none;
    padding: 0;
}

.changes-list li {
    padding: 8px 0 8px 20px;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
}

.changes-list li::before {
    content: '•';
    color: #007bff;
    position: absolute;
    left: 0;
}

.bug-fix-section {
    margin-top: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.bug-fix-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.bug-fix-toggle:hover {
    color: #007bff;
}

.bug-fix-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #007bff;
}

.bug-fix-section.expanded .bug-fix-icon {
    transform: rotate(90deg);
}

.bug-fix-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 12px;
    width: calc(100% - 24px);
    box-sizing: border-box;
}

.bug-fix-section.expanded .bug-fix-content {
    /* 콘텐츠 전체가 보이도록 충분히 큰 값 사용 (펼쳤을 때 높이 뚫고 나가는 현상 방지) */
    max-height: 2000px;
}

.bug-fix-list {
    list-style: none;
    padding: 0 0 0 0;
}

ul.bug-fix-list {
    margin-top: 0;
}

.bug-fix-list li {
    padding: 6px 0 6px 20px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    color: #555;
}

.bug-fix-list li::before {
    content: '▪';
    color: #999;
    position: absolute;
    left: 0;
    font-size: 12px;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.preview-image {
    cursor: pointer;
    transition: opacity 0.2s;
}

.preview-image:hover {
    opacity: 0.8;
}

.keyboard-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 2px;
}

.keyboard-shortcut kbd {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-family: 'Segoe UI', 'Consolas', 'Monaco', monospace;
    font-weight: 600;
    line-height: 1;
    color: #333;
    background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
    border: 1px solid #ccc;
    border-bottom: 2px solid #999;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 24px;
    text-align: center;
}

.key-separator {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    margin: 0 2px;
}

/* UI 문구/버튼 이름 강조 (예: "동기화할 때 이 타임라인을 변환") */
.ui-label {
    display: inline;
    padding: 2px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0056b3;
    background: #e7f1ff;
    border: 1px solid #b3d4ff;
    border-radius: 4px;
    white-space: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

