    :root {
        --orthodox-blue: #2B5AA0;
        --gold-accent:   #D4AF37;
        --soft-gray:     #F8F9FA;
        --warm-white:    #FEFEFE;
    }

    .book-cover {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .related-price-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #2ecc71;
        color: white;
        padding: 6px 10px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        z-index: 10;
        transform: rotate(2deg);
        border: 2px solid #fff;
    }
    .related-price-badge.free {
        background: #3498db;
    }
    
    .book-meta {
        background: var(--soft-gray);
        border-radius: 8px;
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .book-meta-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .book-meta-item:last-child {
        margin-bottom: 0;
    }
    
    .book-meta-item i {
        width: 20px;
        margin-right: 8px;
        color: var(--orthodox-blue);
    }
    
    .rating-stars {
        color: #ffc107; /* Ярко-жёлтый цвет */
    }
    
    .book-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0.5rem 0;
    }
    
    .btn-read {
        background: linear-gradient(135deg, var(--orthodox-blue), #1e3d6f);
        border: none;
        color: white;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .btn-read:hover {
        background: linear-gradient(135deg, #1e3d6f, var(--orthodox-blue));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43, 90, 160, 0.3);
        color: white;
        text-decoration: none;
    }
    
    .btn-download {
        background: linear-gradient(135deg, #28a745, #20692b);
        border: none;
        color: white;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .btn-download:hover {
        background: linear-gradient(135deg, #20692b, #28a745);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        color: white;
        text-decoration: none;
    }
    
    .btn-favorite {
        background: #ffc107;
        border: 2px solid #ffc107;
        color: #212529;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
        white-space: nowrap;
    }

    .btn-favorite:hover {
        background: #e0a800;
        border-color: #e0a800;
        color: #212529;
        transform: translateY(-2px);
    }

    .btn-favorite.active {
        background: #ffc107;
        border-color: #ffc107;
        color: #212529;
    }
    
    .btn-purchase {
        background: linear-gradient(135deg, #28a745, #20692b) !important;
        border: none !important;
        color: white !important;
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
        white-space: nowrap;
    }
    
    .btn-purchase:hover {
        background: linear-gradient(135deg, #20692b, #28a745) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        color: white !important;
        text-decoration: none;
    }
    
    .reading-progress {
        background: var(--soft-gray);
        border-radius: 8px;
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .progress-bar-container {
        background: #e9ecef;
        height: 8px;
        border-radius: 4px;
        overflow: hidden;
        margin: 0.5rem 0;
    }
    
    .progress-bar {
        background: linear-gradient(90deg, var(--orthodox-blue), #4a90e2);
        height: 100%;
        transition: width 0.3s ease;
    }
    
    .rating-input {
        display: flex;
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    
    .rating-input input {
        display: none;
    }
    
    .rating-input .star-label {
        color: #ddd !important;
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.2s;
        margin-right: 5px;
    }
    
    /* Отключаем все CSS подсветки, JavaScript будет управлять */
    .rating-input .star-label:hover,
    .rating-input .star-label:hover ~ .star-label,
    .rating-input input:checked ~ .star-label {
        color: inherit !important;
    }
    
    @media (max-width: 768px) {
        .book-actions {
            flex-direction: column;
        }
        
        .btn-read, .btn-download, .btn-favorite, .btn-purchase {
            width: 100% !important;
            justify-content: center !important;
            min-height: 48px !important;
        }
        
        /* Адаптивность для современного reader */
        .btn[style*="#FF6B9D"] {
            width: 100% !important;
            justify-content: center;
            margin-top: 10px;
        }
    }
    
    /* Стили для содержания книги */
    .book-content {
        background: var(--soft-gray);
        border-radius: 8px;
        padding: 1.5rem;
        border-left: 4px solid var(--orthodox-blue);
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .book-content h1, .book-content h2, .book-content h3, 
    .book-content h4, .book-content h5, .book-content h6 {
        color: var(--orthodox-blue);
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .book-content p {
        margin-bottom: 1rem;
        text-align: justify;
    }
    
    .book-content ul, .book-content ol {
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .book-content li {
        margin-bottom: 0.5rem;
    }
    .book-preview-fade {
        height: 80px;
        margin-top: -80px;
        background: linear-gradient(transparent, white);
        position: relative;
    }

    @keyframes gentle-pulse {
        0%   { box-shadow: 0 0 0 0 rgba(43, 90, 160, 0.4); }
        70%  { box-shadow: 0 0 0 8px rgba(43, 90, 160, 0); }
        100% { box-shadow: 0 0 0 0 rgba(43, 90, 160, 0); }
    }
    .btn-browse-book {
        animation: gentle-pulse 2.5s ease-in-out infinite;
        border-radius: 4px;
        padding: 2px 6px;
    }
    .btn-browse-book:hover {
        animation: none;
    }

    /* ── Карточка «Поддержать автора» ── */
    .support-author-card {
        background: linear-gradient(135deg, #fffbea 0%, #fff8d6 100%);
        border: 1.5px solid #D4AF37;
        border-radius: 10px;
        padding: .85rem 1rem;
        margin-top: .75rem;
        display: flex;
        align-items: center;
        gap: .75rem;
    }
    .support-author-card .support-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
        animation: heart-pulse 2s ease-in-out infinite;
    }
    @keyframes heart-pulse { 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.15); } }
    .support-author-card p {
        margin: 0 0 .45rem;
        font-size: .83rem;
        color: #6b5100;
        line-height: 1.4;
    }
    .btn-support {
        background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%);
        color: #1a1200;
        border: none;
        padding: .4rem 1.1rem;
        border-radius: 20px;
        font-weight: 700;
        font-size: .85rem;
        cursor: pointer;
        white-space: nowrap;
        transition: transform .2s, box-shadow .2s;
    }
    .btn-support:hover { transform: scale(1.05); box-shadow: 0 3px 12px rgba(212,175,55,.45); }
