.rank-page>header,.rank-page>main,.rank-page>footer{max-width:1100px}
.rank-page>header{flex-direction:row;align-items:center;padding-top:.75rem;padding-bottom:.75rem;gap:1.25rem}
.rank-page>header .brand{flex:none;white-space:nowrap;font-size:1.15rem}
.rank-page>header>nav{min-width:0;flex:1;flex-wrap:nowrap;overflow-x:auto;gap:1rem}
.rank-page>header>nav a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.rank-page>main{padding-top:1.25rem}
.rank-page .rank-heading{margin:0 0 .75rem}
.rank-page h1{font-size:clamp(1.75rem,3vw,2.4rem);margin:.35rem 0 .45rem;line-height:1.3}
.rank-page .rank-snapshot{color:var(--muted);font-size:.875rem;line-height:1.65;margin:0}
.rank-page .rank-breadcrumb{font-size:.875rem;margin:0 0 .35rem}
.rank-page .rank-breadcrumb a{display:inline-flex;align-items:center;min-height:32px}
.rank-page .rank-platforms,.rank-page .rank-switches{display:flex;flex-wrap:nowrap;gap:.45rem;max-width:100%;overflow-x:auto;scrollbar-width:thin;margin:.8rem 0 1.25rem;padding:0 0 .3rem}
.rank-page .rank-platforms a,.rank-page .rank-switches a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:.4rem 1rem;border:1px solid var(--line);border-radius:6px;white-space:nowrap;font-size:.95rem;text-decoration:none;background:#fff}
.rank-page .rank-platforms a:hover,.rank-page .rank-switches a:hover,.rank-page [aria-current="page"]{background:#e8eee7;border-color:#789382;color:var(--ink)}
.rank-page .rank-platform{scroll-margin-top:1rem;margin:0 0 1.6rem}
.rank-page .rank-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .5rem}
.rank-page .rank-section-heading h2{font-size:1.25rem;margin:0}
.rank-page .rank-section-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}
.rank-page .rank-board-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:0 0 1.5rem}
.rank-page .rank-board{min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.85rem 1rem;overflow-wrap:anywhere}
.rank-page .rank-board-meta{display:flex;justify-content:space-between;gap:.6rem;font-size:.78rem;color:var(--muted)}
.rank-page .rank-board h2,.rank-page .rank-board h3{margin:.05rem 0;font-size:1.1rem;line-height:1.4}
.rank-page .rank-board h2 a,.rank-page .rank-board h3 a{display:flex;align-items:center;min-height:44px;text-decoration:none}
.rank-page .rank-leader{margin:.25rem 0 0;font-size:.95rem;line-height:1.5}
.rank-page .rank-leader-label{color:var(--muted);font-size:.78rem}
.rank-page .rank-leader-author{display:block;color:var(--muted);font-size:.8rem;margin-top:.2rem}
.rank-page #rank-list{margin:0 0 1.5rem}
.rank-page .rank-list{margin:0;padding:0}
.rank-page .rank-list>li{grid-template-columns:2.4rem minmax(0,1fr);gap:.75rem;padding:.55rem 0;align-items:start}
.rank-page .rank-number{padding-top:.6rem;font-size:1.15rem;line-height:1.5;font-weight:600}
.rank-page .rank-top .rank-number{color:var(--accent)}
.rank-page .rank-book{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem 1rem;min-width:0;align-items:center}
.rank-page .rank-book-main{min-width:0}
.rank-page .rank-list h3{font-size:1.08rem;line-height:1.45;margin:0;overflow-wrap:anywhere}
.rank-page .rank-title{display:flex;align-items:center;min-height:44px;text-decoration:none;overflow-wrap:anywhere}
.rank-page .rank-title:hover{text-decoration:underline}
.rank-page .rank-title:visited{color:#5d6961}
.rank-page .rank-list .rank-author{font-size:.875rem;line-height:1.5;margin:0}
.rank-page .rank-author a{display:inline-flex;align-items:center;min-height:32px}
.rank-page .rank-list .rank-facts{font-size:.8rem;line-height:1.6;color:var(--muted);margin:0;overflow-wrap:anywhere}
.rank-page .rank-list .rank-links{font-size:.8rem;margin:0;white-space:nowrap}
.rank-page .rank-links a,.rank-page .rank-links>span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 .4rem}
.rank-page .rank-links>span{color:var(--muted)}
.rank-page .rank-gaps{font-size:.85rem;color:var(--muted);margin:.5rem 0}
.rank-page .rank-context{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:1rem 0 1.5rem;padding:0 .2rem}
.rank-page .rank-context>summary{min-height:44px;padding:.65rem 0;cursor:pointer;font-size:.95rem;color:var(--accent)}
.rank-page .rank-context>summary:focus-visible{outline:3px solid #b07124;outline-offset:3px}
.rank-page .rank-context>.prose{padding:0 0 .75rem;font-size:.9rem}
@media(max-width:900px){.rank-page .rank-board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rank-page>header,.rank-page>main,.rank-page>footer{padding-left:1rem;padding-right:1rem}.rank-page>header{gap:1rem}.rank-page .rank-board-grid{grid-template-columns:minmax(0,1fr)}.rank-page .rank-list>li{grid-template-columns:1.8rem minmax(0,1fr);gap:.5rem}.rank-page .rank-book{gap:.4rem}.rank-page .rank-links a,.rank-page .rank-links>span{padding:0 .2rem}.rank-page .rank-switches a{font-size:.875rem;padding:.4rem .8rem}}
