/* Макет страницы */
.cycle-main-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .cycle-main-layout { grid-template-columns: 1fr; }
}

/* Хлебные крошки */
.breadcrumbs-block {
    margin-bottom: 25px;
    padding: 12px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 13px;
}
.breadcrumbs-block a { text-decoration: none; color: inherit; }
.breadcrumbs-block .sep { margin: 0 5px; opacity: 0.5; }

/* ШАПКА ЦИКЛА: Исправление сжатия на ПК */
.cycle-view-header {
    display: flex;
    gap: 25px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.cycle-view-cover {
    flex-shrink: 0; /* Это фиксит твой первый вопрос про сжатие */
    width: 180px;
}

.cycle-view-cover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: block;
}

.cycle-view-info h1 { margin: 10px 0; font-size: 26px; color: var(--text-main); }
.cycle-author a { color: var(--accent-color); text-decoration: none; font-weight: 600; }
.cycle-description { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }

@media (max-width: 600px) {
    .cycle-view-header { flex-direction: column; align-items: center; text-align: center; }
}

/* Специфично для страницы цикла: бейдж номера книги */
.cycle-order-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-color);
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    z-index: 11;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.reading-badge-simple {
    font-size: 10px;
    color: var(--accent-color);
    font-weight: 800;
    margin-top: 5px;
}

/* Стили для сетки серий (как ты присылал) */
.cycle-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.cycle-card-home {
    display: flex; gap: 15px; background: var(--card-bg); padding: 12px; border-radius: 12px;
    text-decoration: none; border: 1px solid var(--border-color); align-items: center;
}
.cycle-cover-stack { position: relative; width: 60px; height: 85px; flex-shrink: 0; }
.cycle-cover-stack .main-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; position: relative; z-index: 3; }
.stack-layer { position: absolute; top: 2px; right: -4px; width: 100%; height: 95%; background: #333; border-radius: 4px; z-index: 2; border: 1px solid var(--border-color); }
.layer-2 { top: 4px; right: -8px; z-index: 1; opacity: 0.5; }

/* Download Cycle Section */
.cycle-download-section {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.cycle-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.cycle-download-buttons a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cycle-download-buttons a.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

.cycle-download-buttons a.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.cycle-download-buttons a.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .cycle-download-buttons {
        flex-direction: column;
    }
    
    .cycle-download-buttons a.btn {
        width: 100%;
        justify-content: center;
    }
}