
        .ibc-single-book-page {
            width: 100%;
            min-height: 100vh;
            direction: rtl;
            font-family: "Cairo", Tahoma, Arial, sans-serif;
            padding: 36px 0 64px;
            background:
                radial-gradient(circle at top right, rgba(31, 91, 188, 0.08), transparent 34%),
                linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
            transition: background 0.35s ease, color 0.35s ease;
        }

        body.ibc-dark-mode .ibc-single-book-page {
            background:
                radial-gradient(circle at top right, rgba(31, 91, 188, 0.22), transparent 36%),
                linear-gradient(180deg, #0f172a 0%, #111827 54%, #0f172a 100%);
        }

        .ibc-single-container {
            width: min(2000px, calc(100% - 32px));
            margin: 0 auto;
        }

        .ibc-single-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 22px;
            box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
            padding: 30px 28px 34px;
            margin-bottom: 28px;
            transition:
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
        }

        body.ibc-dark-mode .ibc-single-card {
            background: #1e293b;
            border-color: #334155;
            box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
        }

        .ibc-lined-title,
        .ibc-lined-subtitle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            text-align: center;
        }

        .ibc-lined-title {
            margin-bottom: 28px;
        }

        .ibc-lined-subtitle {
            margin: 24px 0 18px;
        }

        .ibc-lined-title::before,
        .ibc-lined-title::after,
        .ibc-lined-subtitle::before,
        .ibc-lined-subtitle::after {
            content: "";
            height: 1px;
            flex: 1;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(31, 91, 188, 0.55),
                transparent
            );
        }

        .ibc-lined-title span {
            color: #1f5bbc;
            font-size: 30px;
            font-weight: 900;
            line-height: 1.6;
        }

        .ibc-lined-subtitle span {
            color: #1f5bbc;
            font-size: 22px;
            font-weight: 900;
            line-height: 1.6;
        }

        body.ibc-dark-mode .ibc-lined-title::before,
        body.ibc-dark-mode .ibc-lined-title::after,
        body.ibc-dark-mode .ibc-lined-subtitle::before,
        body.ibc-dark-mode .ibc-lined-subtitle::after {
            background: linear-gradient(
                90deg,
                transparent,
                rgba(139, 183, 255, 0.55),
                transparent
            );
        }

        body.ibc-dark-mode .ibc-lined-title span,
        body.ibc-dark-mode .ibc-lined-subtitle span {
            color: #8bb7ff;
        }

        .ibc-book-hero {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 28px;
            align-items: start;
        }

        .ibc-book-cover-box {
            width: 100%;
            max-width: 300px;
            border-radius: 18px;
            overflow: hidden;
            background: #eef2f7;
            border: 1px solid #e2e8f0;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
        }

        .ibc-single-book-image {
            width: 100%;
            height: 430px;
            display: block;
            object-fit: cover;
        }

        .ibc-single-placeholder {
            width: 100%;
            height: 430px;
            display: flex;
            align-items: center;
            justify-content: center;
            background:
                linear-gradient(135deg, rgba(31, 91, 188, 0.95), rgba(23, 69, 142, 0.95)),
                #1f5bbc;
        }

        .ibc-single-placeholder span {
            color: #ffffff;
            font-size: 32px;
            font-weight: 900;
        }

        body.ibc-dark-mode .ibc-book-cover-box {
            background: #0f172a;
            border-color: #334155;
        }

        .ibc-book-meta-box {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding: 8px 0;
        }

        .ibc-meta-row {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 16px 18px;
            color: #1e293b;
            font-size: 17px;
            font-weight: 700;
        }

        .ibc-meta-row strong {
            color: #1f5bbc;
            margin-left: 8px;
        }

        .ibc-meta-row a {
            color: #1e293b;
            text-decoration: none;
            transition: color 0.35s ease;
        }

        .ibc-meta-row a:hover {
            color: #1f5bbc;
        }

        body.ibc-dark-mode .ibc-meta-row {
            background: #0f172a;
            border-color: #334155;
            color: #f8fafc;
        }

        body.ibc-dark-mode .ibc-meta-row strong,
        body.ibc-dark-mode .ibc-meta-row a:hover {
            color: #8bb7ff;
        }

        body.ibc-dark-mode .ibc-meta-row a {
            color: #f8fafc;
        }

        .ibc-separator-line {
            border: none;
            height: 1px;
            margin: 28px 0;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(31, 91, 188, 0.30),
                transparent
            );
        }

        body.ibc-dark-mode .ibc-separator-line {
            background: linear-gradient(
                90deg,
                transparent,
                rgba(139, 183, 255, 0.28),
                transparent
            );
        }

        .ibc-section-title {
            margin: 0 0 14px;
            color: #1f5bbc;
            font-size: 23px;
            font-weight: 900;
        }

        body.ibc-dark-mode .ibc-section-title {
            color: #8bb7ff;
        }

        .ibc-single-book-activity-section {
            margin: 0;
        }

        .ibc-single-book-activity-section .ibc-lined-subtitle {
            margin-top: 0;
        }

        .ibc-single-book-activity-section .ibc-op-book-activity {
            display: grid;
            gap: 10px;
            max-width: 760px;
            margin: 0 auto;
            padding: 16px 18px;
            border-radius: 18px;
            background:
                radial-gradient(circle at top right, rgba(31, 91, 188, 0.10), transparent 42%),
                #f8fafc;
            border: 1px solid #e2e8f0;
            box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
        }

        .ibc-single-book-activity-section .ibc-op-book-activity-counts {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        .ibc-single-book-activity-section .ibc-op-book-activity-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-height: 34px;
            padding: 7px 13px;
            border-radius: 999px;
            background: #ffffff;
            color: #475569;
            font-size: 13px;
            font-weight: 900;
            line-height: 1.5;
        }

        .ibc-single-book-activity-section .ibc-op-book-activity-pill strong {
            color: #1f5bbc;
            font-size: 14px;
            font-weight: 900;
        }

        .ibc-single-book-activity-section .ibc-op-book-live-line {
            display: none;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px;
            color: #16a34a;
            font-size: 13px;
            font-weight: 900;
            line-height: 1.7;
            text-align: center;
        }

        .ibc-single-book-activity-section .ibc-op-book-live-line.active {
            display: flex;
        }

        .ibc-single-book-activity-section .ibc-op-book-live-line strong {
            color: #15803d;
        }

        .ibc-single-book-activity-section .ibc-op-book-live-line em {
            font-style: normal;
            color: #1f5bbc;
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-activity {
            background:
                radial-gradient(circle at top right, rgba(139, 183, 255, 0.10), transparent 42%),
                #0f172a;
            border-color: #334155;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-activity-pill {
            background: #111827;
            color: #cbd5e1;
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-activity-pill strong {
            color: #8bb7ff;
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-live-line {
            color: #86efac;
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-live-line strong {
            color: #bbf7d0;
        }

        body.ibc-dark-mode .ibc-single-book-activity-section .ibc-op-book-live-line em {
            color: #8bb7ff;
        }


   .ibc-book-content-wrap {
    position: relative;
}

.ibc-book-content {
    color: #334155;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    transition: max-height 0.35s ease;
}

.ibc-book-content p {
    margin: 0 0 14px;
}

body.ibc-dark-mode .ibc-book-content {
    color: #cbd5e1;
}

.ibc-book-content-collapsed {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.ibc-book-content-toggle {
    display: none;
    width: 100%;
    margin: 18px auto 0;
    border: none;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1f5bbc;
    padding: 11px 24px;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    line-height: 1.7;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ibc-book-content-toggle.active {
    display: flex;
}

.ibc-book-content-toggle:hover {
    background: #1f5bbc;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 91, 188, 0.24);
}

body.ibc-dark-mode .ibc-book-content-toggle {
    background: rgba(139, 183, 255, 0.12);
    color: #8bb7ff;
}

body.ibc-dark-mode .ibc-book-content-toggle:hover {
    background: #1f5bbc;
    color: #ffffff;
}

        .ibc-publishers-note {
            margin: 0 0 18px;
            text-align: center;
            color: #334155;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.9;
        }

        body.ibc-dark-mode .ibc-publishers-note {
            color: #dbeafe;
        }

        .ibc-publisher-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin-bottom: 22px;
        }
			
			.ibc-publisher-tab {
    flex-direction: column;
    gap: 3px;
    text-align: center;
}

.ibc-publisher-tab-name {
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.6;
}

.ibc-publisher-tab-edition {
    display: block;
    max-width: 260px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.7;
}

.ibc-publisher-tab:hover .ibc-publisher-tab-edition,
.ibc-publisher-tab.active .ibc-publisher-tab-edition {
    color: #ffffff;
}

body.ibc-dark-mode .ibc-publisher-tab-edition {
    color: #94a3b8;
}

body.ibc-dark-mode .ibc-publisher-tab:hover .ibc-publisher-tab-edition,
body.ibc-dark-mode .ibc-publisher-tab.active .ibc-publisher-tab-edition {
    color: #ffffff;
}

        .ibc-publisher-tab,
        .ibc-read-btn,
        .ibc-download-btn,
        .ibc-author-page-btn {
            border: none;
            border-radius: 999px;
            background: #eaf2ff;
            color: #1f5bbc;
            padding: 11px 24px;
            font-family: "Cairo", Tahoma, Arial, sans-serif;
            font-size: 14px;
            font-weight: 900;
            text-decoration: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1.7;
            transition:
                background 0.35s ease,
                color 0.35s ease,
                transform 0.35s ease,
                box-shadow 0.35s ease;
        }

        .ibc-publisher-tab:hover,
        .ibc-publisher-tab.active,
        .ibc-read-btn:hover,
        .ibc-download-btn:hover,
        .ibc-author-page-btn:hover {
            background: #1f5bbc;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(31, 91, 188, 0.24);
        }

        body.ibc-dark-mode .ibc-publisher-tab,
        body.ibc-dark-mode .ibc-read-btn,
        body.ibc-dark-mode .ibc-download-btn,
        body.ibc-dark-mode .ibc-author-page-btn {
            background: rgba(139, 183, 255, 0.12);
            color: #8bb7ff;
        }

        body.ibc-dark-mode .ibc-publisher-tab:hover,
        body.ibc-dark-mode .ibc-publisher-tab.active,
        body.ibc-dark-mode .ibc-read-btn:hover,
        body.ibc-dark-mode .ibc-download-btn:hover,
        body.ibc-dark-mode .ibc-author-page-btn:hover {
            background: #1f5bbc;
            color: #ffffff;
        }

        .ibc-publisher-panel {
            display: none;
            animation: ibcFadeUp 0.35s ease both;
        }

        .ibc-publisher-panel.active {
            display: block;
        }

        .ibc-single-file-actions,
        .ibc-volume-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }

        .ibc-download-heading {
            margin-top: 30px;
        }

        .ibc-empty-message {
            text-align: center;
            margin: 18px 0 0;
            color: #64748b;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.8;
        }

        body.ibc-dark-mode .ibc-empty-message {
            color: #94a3b8;
        }

        .ibc-author-mini-description {
    
            margin: 0 auto 20px;
            color: #334155;
            font-size: 15.5px;
            font-weight: 500;
            line-height: 2;
            text-align: center;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .ibc-author-mini-description p {
            margin: 0;
        }

        body.ibc-dark-mode .ibc-author-mini-description {
            color: #cbd5e1;
        }

        .ibc-author-page-btn {
            margin: 4px auto 0;
        }

        .ibc-related-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 24px;
            align-items: stretch;
        }
			
			.ibc-more-related-btn {
    width: 100%;
    min-height: 50px;
    margin: 28px auto 0;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1f5bbc;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.7;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ibc-more-related-btn:hover {
    background: #1f5bbc;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 91, 188, 0.24);
}

body.ibc-dark-mode .ibc-more-related-btn {
    background: rgba(139, 183, 255, 0.12);
    color: #8bb7ff;
}

body.ibc-dark-mode .ibc-more-related-btn:hover {
    background: #1f5bbc;
    color: #ffffff;
}

        .ibc-book-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
            transition:
                transform 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
        }

        .ibc-book-card:hover {
            transform: translateY(-6px);
            border-color: rgba(31, 91, 188, 0.38);
            box-shadow: 0 16px 36px rgba(31, 91, 188, 0.14);
        }

        body.ibc-dark-mode .ibc-book-card {
            background: #0f172a;
            border-color: #334155;
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
        }

        .ibc-book-link {
            display: block;
            height: 100%;
            text-decoration: none;
            color: inherit;
        }

        .ibc-book-cover {
            width: 100%;
            height: 275px;
            background: #eef2f7;
            overflow: hidden;
            position: relative;
        }

        .ibc-book-image {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain;
            transition: transform 0.45s ease;
        }

        .ibc-book-card:hover .ibc-book-image {
            transform: scale(1.045);
        }

        body.ibc-dark-mode .ibc-book-cover {
            background: #111827;
        }

        .ibc-book-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background:
                linear-gradient(135deg, rgba(31, 91, 188, 0.95), rgba(23, 69, 142, 0.95)),
                #1f5bbc;
        }

        .ibc-book-placeholder span {
            color: #ffffff;
            font-size: 28px;
            font-weight: 900;
        }

        .ibc-book-separator {
            width: calc(100% - 34px);
            height: 1px;
            margin: 0 auto;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(31, 91, 188, 0.38),
                transparent
            );
        }

        body.ibc-dark-mode .ibc-book-separator {
            background: linear-gradient(
                90deg,
                transparent,
                rgba(139, 183, 255, 0.38),
                transparent
            );
        }

        .ibc-book-title {
            margin: 0;
            padding: 13px 14px 15px;
            min-height: 74px;
            color: #1e293b;
            font-size: 15px;
            font-weight: 800;
            line-height: 1.75;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.35s ease;
        }

        .ibc-book-card:hover .ibc-book-title {
            color: #1f5bbc;
        }

        body.ibc-dark-mode .ibc-book-title {
            color: #f8fafc;
        }

        body.ibc-dark-mode .ibc-book-card:hover .ibc-book-title {
            color: #8bb7ff;
        }

			
			.ibc-book-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.ibc-book-alert-modal.active {
    display: flex;
}

.ibc-book-alert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(5px);
}

.ibc-book-alert-box {
    position: relative;
    z-index: 2;
    width: min(620px, 100%);
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    padding: 28px 26px 30px;
    text-align: center;
    animation: ibcAlertFadeUp 0.35s ease both;
}

body.ibc-dark-mode .ibc-book-alert-box {
    background: #1e293b;
    border-color: #334155;
}

.ibc-alert-title {
    margin: 0 0 18px;
}

.ibc-book-alert-content {
    color: #334155;
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    margin-bottom: 22px;
}

.ibc-book-alert-content p {
    margin: 0 0 12px;
}

.ibc-book-alert-content p:last-child {
    margin-bottom: 0;
}

body.ibc-dark-mode .ibc-book-alert-content {
    color: #cbd5e1;
}

.ibc-book-alert-ok {
    width: 100%;
    max-width: 260px;
    border: none;
    border-radius: 999px;
    background: #1f5bbc;
    color: #ffffff;
    padding: 12px 26px;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.ibc-book-alert-ok:hover {
    background: #17458e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 91, 188, 0.24);
}

body.ibc-alert-open {
    overflow: hidden;
}

@keyframes ibcAlertFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .ibc-book-alert-modal {
        padding: 14px;
    }

    .ibc-book-alert-box {
        border-radius: 18px;
        padding: 22px 16px 24px;
    }

    .ibc-book-alert-content {
        font-size: 14.5px;
        line-height: 1.95;
    }

    .ibc-book-alert-ok {
        max-width: 100%;
    }
}
			
			.ibc-author-page-btn{
				width: 100%;
			}
        .ibc-pdf-modal {
            position: fixed;
            inset: 0;
            z-index: 99999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 22px;
        }

        .ibc-pdf-modal.active {
            display: flex;
        }

        .ibc-pdf-overlay {
            position: absolute;
            inset: 0;
            background: rgba(2, 6, 23, 0.78);
            backdrop-filter: blur(5px);
        }

        .ibc-pdf-box {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            background: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
            display: flex;
            flex-direction: column;
        }

        .ibc-pdf-close {
            border: none;
            background: #1f5bbc;
            color: #ffffff;
            padding: 10px 18px;
            font-family: "Cairo", Tahoma, Arial, sans-serif;
            font-size: 14px;
            font-weight: 900;
            cursor: pointer;
            align-self: flex-start;
            margin: 10px;
            border-radius: 999px;
			width: 98%;
        }

        .ibc-pdf-box iframe {
            width: 100%;
            height: 100%;
            border: none;
            flex: 1;
        }

        body.ibc-modal-open {
            overflow: hidden;
        }

        @keyframes ibcFadeUp {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 1150px) {
            .ibc-related-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .ibc-book-cover {
                height: 260px;
            }
        }

        @media (max-width: 900px) {
            .ibc-book-hero {
                grid-template-columns: 250px 1fr;
                gap: 22px;
            }

            .ibc-single-book-image,
            .ibc-single-placeholder {
                height: 370px;
            }

            .ibc-related-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }

            .ibc-book-cover {
                height: 245px;
            }
        }

        @media (max-width: 700px) {
            .ibc-single-book-page {
                padding: 26px 0 46px;
            }
			.ibc-author-page-btn{
				max-width: 100% !important;
			}
			
			.ibc-more-related-btn {
    margin-top: 22px;
    min-height: 48px;
    padding: 11px 16px;
    font-size: 14px;
}

            .ibc-single-container {
                width: min(100% - 22px, 1200px);
            }

            .ibc-single-card {
                border-radius: 18px;
                padding: 22px 14px 26px;
            }

            .ibc-lined-title,
            .ibc-lined-subtitle {
                gap: 10px;
            }

            .ibc-lined-title span {
                font-size: 23px;
            }

            .ibc-lined-subtitle span {
                font-size: 19px;
            }

            .ibc-book-hero {
                grid-template-columns: 1fr;
                justify-items: center;
            }

            .ibc-book-cover-box {
                max-width: 260px;
            }

            .ibc-single-book-image,
            .ibc-single-placeholder {
                height: 370px;
            }

            .ibc-book-meta-box {
                width: 100%;
            }

            .ibc-meta-row {
                font-size: 15px;
                padding: 14px;
            }

            .ibc-section-title {
                font-size: 21px;
                text-align: center;
            }

            .ibc-book-content {
                font-size: 15px;
                line-height: 1.95;
            }

            .ibc-publishers-note {
                font-size: 15px;
            }

            .ibc-publisher-tabs,
            .ibc-single-file-actions,
            .ibc-volume-buttons {
                gap: 10px;
            }

            .ibc-publisher-tab,
            .ibc-read-btn,
            .ibc-download-btn,
            .ibc-author-page-btn {
                width: 100%;
                max-width: 320px;
                padding: 11px 18px;
            }

            .ibc-related-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }

            .ibc-book-card {
                border-radius: 15px;
            }

            .ibc-book-cover {
                height: 220px;
            }

            .ibc-book-title {
                min-height: 68px;
                padding: 11px 9px 13px;
                font-size: 13.5px;
                line-height: 1.7;
            }

            .ibc-pdf-modal {
                padding: 10px;
            }

            .ibc-pdf-box {
                height: 90vh;
                border-radius: 14px;
            }
        }

        @media (max-width: 420px) {
            .ibc-lined-title span {
                font-size: 20px;
            }

            .ibc-lined-subtitle span {
                font-size: 17px;
            }

            .ibc-book-cover-box {
                max-width: 235px;
            }

            .ibc-single-book-image,
            .ibc-single-placeholder {
                height: 335px;
            }

            .ibc-related-grid {
                gap: 12px;
            }

            .ibc-book-cover {
                height: 190px;
            }

            .ibc-book-title {
                font-size: 13px;
            }
        }

        @media (max-width: 340px) {
            .ibc-related-grid {
                grid-template-columns: 1fr;
            }

            .ibc-book-cover {
                height: 260px;
            }
        }
        

/* ===============================
   IBC Live Activity Pulse Dot
   Final Blue Version
================================ */

.ibc-op-book-live-line,
.ibc-single-book-live-line,
[data-live-read-wrap],
[data-live-download-wrap] {
    color: #1f5bbc !important;
}

.ibc-op-book-live-line strong,
.ibc-single-book-live-line strong,
[data-live-read-wrap] strong,
[data-live-download-wrap] strong {
    color: #17458e !important;
}

.ibc-op-book-live-line em,
.ibc-single-book-live-line em,
[data-live-read-wrap] em,
[data-live-download-wrap] em {
    color: #1f5bbc !important;
}

.ibc-op-book-live-line::before,
.ibc-single-book-live-line::before,
[data-live-read-wrap]::before,
[data-live-download-wrap]::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    display: inline-block;
}

[data-live-read-wrap]::before {
    background: #1f5bbc;
    box-shadow: 0 0 0 0 rgba(31, 91, 188, 0.42);
    animation: ibcLiveReadPulseBlue 1.35s ease-in-out infinite;
}

[data-live-download-wrap]::before {
    background: #8bb7ff;
    box-shadow: 0 0 0 0 rgba(139, 183, 255, 0.46);
    animation: ibcLiveDownloadPulseBlue 1.35s ease-in-out infinite;
}

body.ibc-dark-mode .ibc-op-book-live-line,
body.ibc-dark-mode .ibc-single-book-live-line,
body.ibc-dark-mode [data-live-read-wrap],
body.ibc-dark-mode [data-live-download-wrap] {
    color: #8bb7ff !important;
}

body.ibc-dark-mode .ibc-op-book-live-line strong,
body.ibc-dark-mode .ibc-single-book-live-line strong,
body.ibc-dark-mode [data-live-read-wrap] strong,
body.ibc-dark-mode [data-live-download-wrap] strong {
    color: #cfe1ff !important;
}

body.ibc-dark-mode .ibc-op-book-live-line em,
body.ibc-dark-mode .ibc-single-book-live-line em,
body.ibc-dark-mode [data-live-read-wrap] em,
body.ibc-dark-mode [data-live-download-wrap] em {
    color: #8bb7ff !important;
}

body.ibc-dark-mode [data-live-read-wrap]::before {
    background: #8bb7ff;
    box-shadow: 0 0 0 0 rgba(139, 183, 255, 0.46);
}

body.ibc-dark-mode [data-live-download-wrap]::before {
    background: #cfe1ff;
    box-shadow: 0 0 0 0 rgba(207, 225, 255, 0.42);
}

@keyframes ibcLiveReadPulseBlue {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(31, 91, 188, 0.42);
    }

    55% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(31, 91, 188, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(31, 91, 188, 0);
    }
}

@keyframes ibcLiveDownloadPulseBlue {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(139, 183, 255, 0.46);
    }

    55% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(139, 183, 255, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(139, 183, 255, 0);
    }
}

