.hidden {
    display: none !important;
}

/* остальной CSS без изменений */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f9f9f9;
}

.readme-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tree-list {
    list-style: none;
    padding-left: 20px;
}

.folder-toggle {
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}

.file-link {
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.breadcrumbs {
    margin-bottom: 15px;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.markdown-body img,
.markdown-body video {
    max-width: 100%;
    height: auto;
}