/* Homepage-only sections. Loaded after the shared/page styles. */
.premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}
.premium-book{display:flex;gap:12px;min-width:0}
.premium-book .book-cover{width:86px;height:116px}
.premium-book .book-info{flex:1;min-width:0}
.premium-book .book-info p{-webkit-line-clamp:3}
.premium-book:hover h3,.updates-table a:hover,.arrival-list a:hover{color:#bc8700}
.home-empty{margin:20px 0;color:var(--muted);font-size:13px}
.home-updates-layout{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:24px;background:#fff;padding:24px 22px;margin-top:4px}
.updates-panel,.updates-sidebar{min-width:0}
.updates-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.updates-heading h2{margin:0;font-size:20px;line-height:1.4}
.updates-heading>a{font-size:12px;color:#9299a3}
.updates-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}
.updates-table th{text-align:left;font-weight:400;color:#9299a3;background:#f4f4f5;height:34px}
.updates-table th:first-child{border-radius:3px 0 0 3px}
.updates-table th:last-child{border-radius:0 3px 3px 0}
.updates-table th,.updates-table td{padding:0 10px}
.updates-table td{height:40px;border-bottom:1px solid #f7f7f8}
.updates-table tbody tr:hover{background:#fffcf1}
.updates-table a,.updates-table td>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.update-category{width:13%;color:#9299a3}
.update-book{width:24%}
.update-chapter{width:37%}
.update-author{width:13%;color:#9299a3}
.update-time{width:13%;white-space:nowrap;font-size:12px}
.updates-sidebar section+section{margin-top:22px}
.arrival-list{list-style:none;margin:0;padding:9px 16px;background:#f4f4f5;border-radius:3px;font-size:13px}
.arrival-list li{display:flex;align-items:center;gap:12px;min-height:38px}
.arrival-list a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.arrival-list span{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9299a3;font-size:12px}
@media(min-width:768px) and (max-width:1100px){
    .premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .home-updates-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}
    .update-author{display:none}
    .update-category{width:18%}.update-book{width:27%}.update-chapter{width:35%}.update-time{width:20%}
}
@media(max-width:767px){
    .premium-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}
    .premium-book{display:block}
    .premium-book .book-cover{width:100%;height:auto;aspect-ratio:3/4}
    .premium-book .book-info h3{font-size:12px;margin:8px 0 0}
    .premium-book .book-info p,.premium-book .book-info small{display:none}
    .home-updates-layout{display:block;margin-top:0;padding:18px 15px;width:100%}
    .updates-heading h2{font-size:18px}
    .updates-table th,.updates-table td{padding:0 5px}
    .updates-table{font-size:12px}
    .update-category,.update-author{display:none}
    .update-book{width:35%}.update-chapter{width:43%}.update-time{width:22%;font-size:10px}
    .updates-table td{height:46px}
    .updates-sidebar{margin-top:24px}
}
