/* Shared self-hosted serif typography, calibrated to the approved preview. */
@layer v16-notification-compact{
html body:is(.bookclub-app,.gm-modern,.login-page){--jh-reference-font:'JH Reference Serif','Dino WenKai',serif;font-family:var(--jh-reference-font)!important;font-synthesis:none;}
html body:is(.bookclub-app,.gm-modern,.login-page) :is(button,input,select,textarea,h1,h2,h3,h4,h5,p,label,small,strong,em,li,dt,dd,td,th,summary,a,blockquote),html body.bookclub-app :is(#v13ScreenUI,#appDrawerRoot,.modal,.app-drawer-body,.post-content),html body.gm-modern :is(.gm-content,.wb-panel,.gm-sidebar){font-family:var(--jh-reference-font)!important;}
html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] :is(#appDrawerTitle,.lb-tab,.lb-person strong,.lb-person small,.lb-days,.lb-mobile-count,.lb-caption,.lb-note,.lb-progress,.lb-filters select){font-family:var(--jh-reference-font)!important;}
html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] #appDrawerTitle{font-size:24px!important;font-weight:700!important;letter-spacing:0!important;}
html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] .lb-tab,html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] .lb-tab.is-selected{height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:6px 0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important;font-weight:400!important;line-height:1!important;letter-spacing:0!important;}
.lb-tab-face{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;height:32px;padding:0 10px;border:1px solid #c7a263;border-radius:16px;background:#fff5df;color:#171615;font-size:15px;font-weight:400;line-height:1;white-space:nowrap;}
.lb-tab.is-selected .lb-tab-face{background:#5a9379;border-color:#347967;color:#fffaf0;box-shadow:inset 0 0 0 1px #d2e2d4;font-weight:600;}
.lb-tab:active .lb-tab-face{transform:translateY(2px);box-shadow:inset 0 2px 3px #254e3940;}
html body.gm-modern .lb-admin .lb-tab{padding:6px 0;min-height:44px;height:44px;border:0;background:transparent;box-shadow:none;}
@media(max-width:360px){html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] #appDrawerTitle{font-size:21px!important;}.lb-tab-face{font-size:14px;padding:0 8px;}}
}
@layer v16-notification-compact{html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] .lb-tab:active{transform:none!important;box-shadow:none!important;}}
@layer v16-notification-compact{
html body:is(.bookclub-app,.gm-modern,.login-page) button>span:not([aria-hidden=true]),html body.bookclub-app #appDrawerRoot[data-mode="leaderboard:month"] .lb-tab .lb-tab-face,html body.gm-modern .lb-admin .lb-tab .lb-tab-face{font-family:var(--jh-reference-font)!important;}
}
@layer v16-notification-compact{@media(max-width:600px){html body.gm-modern .lb-admin .lb-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 6px;}html body.gm-modern .lb-admin .lb-tab[data-type=summary]{grid-column:1/-1;max-width:none;}}}
@layer v16-notification-compact{
.font-preference-panel{box-sizing:border-box;min-width:0;max-width:100%;margin:12px 0;padding:12px;border:1px solid #d1b77e;border-radius:14px;background:#fbf4e1;}.font-preference-panel legend{padding:0 6px;font-weight:600;}.font-preference-panel label{display:grid;gap:8px;min-width:0;}.font-preference-panel select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;padding:6px 10px;border:1px solid #c7a263;border-radius:10px;background:#fff8e8;color:#171615;font-size:16px!important;}.font-preference-panel .font-preference-sample{font-size:16px!important;line-height:1.6!important;margin:10px 0 6px;}.font-preference-panel .font-preference-note{font-size:13px!important;line-height:1.5!important;color:#71664d;margin:0;}.font-preference-panel select:focus-visible{outline:3px solid #d58438;outline-offset:2px;}
}
@layer v16-notification-compact{.font-preference-panel{grid-column:1/-1!important;width:100%;justify-self:stretch;overflow-wrap:anywhere;}}
