.sk-material-book.sk-book { height: 366px; }
.sk-material-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: #333; font: inherit; cursor: pointer; text-align: center; }
.sk-material-name { display: -webkit-box; height: 48px; margin-top: 14px; overflow: hidden; font-size: 16px; line-height: 24px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.sk-material-trigger:hover .sk-material-name { color: #e60012; }
.sk-material-trigger:focus-visible, .sk-material-modal button:focus-visible { outline: 2px solid #e60012; outline-offset: 4px; }
.sk-material-mask { position: fixed; inset: 0; z-index: 20; background: rgba(80, 0, 0, .18); }
.sk-material-modal.sk-modal { top: 50%; left: 50%; width: min(900px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 40px)); margin: 0; padding: 28px 40px 18px; transform: translate(-50%, -50%); box-sizing: border-box; border-radius: 8px; }
.sk-material-modal[hidden], .sk-material-mask[hidden] { display: none; }
.sk-material-modal:not([hidden]) { display: flex; flex-direction: column; }
.sk-material-modal h2 { flex-shrink: 0; height: auto; min-height: 34px; margin: 0; padding: 0 32px 12px 0; font-size: 18px; line-height: 28px; overflow-wrap: anywhere; }
.sk-material-modal .sk-close { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; font-size: 26px; line-height: 32px; }
.sk-material-modal .sk-modal-body { min-height: 0; max-height: none; padding: 20px 0 0; overflow-y: auto; overscroll-behavior: contain; }
/* 2026-10-13：弹窗内容精简为「书名 + 内容简介 + 在线阅读按钮」
   ⇒ 原 .sk-material-summary / .sk-material-cover / .sk-material-fields（封面+4字段）随之删除。 */
.sk-material-section.sk-course-modal-intro { margin-bottom: 16px; padding: 16px 22px; border-radius: 4px; }
/* 2026-10-26：「内容简介」标签强化——沿用站点红竖条标题语言，与正文拉开层级（仅教材弹窗生效） */
.sk-material-section.sk-course-modal-intro h3 {
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    color: #e60012;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 24px;
}
.sk-material-section.sk-course-modal-intro h3::before {
    content: "";
    width: 4px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    background: #e60012;
}
.sk-material-section.sk-course-modal-intro h3::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 12px;
    background: linear-gradient(90deg, rgba(230, 0, 18, .25), rgba(230, 0, 18, 0));
}
.sk-material-richtext { color: #555; font-size: 15px; line-height: 29px; white-space: pre-line; overflow-wrap: anywhere; }
.sk-material-richtext img { max-width: 100%; height: auto; }
.sk-material-richtext table { max-width: 100%; }
@media (max-width: 600px) {
    .sk-material-modal.sk-modal { padding: 24px 20px 12px; max-height: calc(100dvh - 24px); }
    .sk-material-section.sk-course-modal-intro { padding: 14px; }
}
