/* Reader-focused navigation, book discovery and compact trivia. */
html:has(.quiz-panel){scroll-behavior:auto;overflow-anchor:none}
.site-header .nav-links{gap:clamp(10px,1.15vw,20px)}
.site-header .nav-links a{font-size:15px}
.chapter-promo{display:grid;grid-template-columns:86px minmax(0,1fr);gap:20px;align-items:center;background:#ffedba;border:2px solid var(--ink);box-shadow:4px 4px var(--ink);padding:20px;margin:30px 0}
.chapter-promo img{display:block;width:86px;height:auto!important;max-width:100%;border:0!important;box-shadow:none!important}
.chapter-promo h2{font-size:24px!important;line-height:1.15;margin:0 0 8px!important;letter-spacing:-.03em!important}
.chapter-promo p{font-size:15px;line-height:1.4;margin:8px 0 13px}
.chapter-promo .button{font-size:14px;padding:10px 14px}
.book-facts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.book-facts span{padding:8px 12px;background:var(--lemon);border:2px solid var(--ink);font-weight:800}
.book-chapters{margin-block:22px;border:2px solid var(--ink);background:#fffdf5;padding:15px 18px}
.book-chapters summary{font-size:18px;font-weight:850;cursor:pointer}
.book-chapters ol{columns:2;column-gap:35px;padding-left:24px;font-size:16px;line-height:1.5}
.book-chapters li{break-inside:avoid;margin-block:8px}
.music-teaser{margin-top:24px;padding:22px;border:2px solid var(--ink);background:#e6d9ff;box-shadow:4px 4px var(--ink)}
.music-teaser .kicker{margin-top:0}.music-teaser h3{font-size:28px;line-height:1.1;margin:10px 0}.music-teaser p:last-child{margin-bottom:0}
.stations{align-items:start}.stations>div{align-self:start}
.quiz-panel{overflow-anchor:none}
.quiz-options button:enabled:hover{background:#eee7f6!important}
.quiz-options button.correct{background:#a9e9bc!important;border:3px solid #185b36}
.quiz-options button.wrong{background:#ffdbdc!important;border:3px solid #96303b}
.quiz-feedback .answer-verdict{display:block;font-size:22px;line-height:1.3;margin-top:14px}
.quiz-feedback .answer-verdict[data-correct="true"]{color:#174c2d}
.quiz-feedback .answer-verdict[data-correct="false"]{color:#782333}
.quiz-feedback p{font-size:14px;line-height:1.45}
.quiz-progress{display:block;width:100%;height:10px;margin:8px 0 14px;accent-color:var(--plum)}
.quiz-running-score{font-size:13px!important;font-weight:800;margin:8px 0}
.quiz-share-status{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
@media(min-width:621px) and (max-width:1360px){
 .site-header .header-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px 18px;padding-block:14px 0}
 .site-header .header-row nav{display:contents}
 .site-header .nav-links{display:flex;grid-row:2;grid-column:1/-1;justify-content:space-between;flex-wrap:wrap;width:100%;margin:0;padding-block:5px;border-top:1px solid var(--ink);gap:4px 18px}
 .site-header .nav-links a{min-height:44px;display:flex;align-items:center;font-size:15px}
 .site-header .header-actions{grid-column:2;grid-row:1;justify-self:end;width:min(100%,360px)}
}
@media(max-width:620px){
 .site-header .nav-links{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:6px}
 .site-header .nav-links a{grid-column:span 1!important;font-size:13px;white-space:normal;text-align:center;line-height:1.2;min-height:44px}
 .site-header .nav-links a:nth-child(n+5){grid-column:auto!important}
 .site-header .nav-links a:last-child{grid-column:span 2!important}
 .site-header .header-actions .button{min-height:52px}
 .book-chapters ol{columns:1}
 .chapter-promo{grid-template-columns:65px minmax(0,1fr);gap:14px;padding:15px}
 .chapter-promo img{width:65px}.chapter-promo h2{font-size:21px!important}
}
