:root { color-scheme: light; font-family: system-ui, sans-serif; background: #f7f6f2; color: #182322; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
header, footer { background: #122b29; color: white; padding: 1rem max(1.25rem, calc((100vw - 54rem)/2)); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
header strong { font-size: 1.15rem; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
a { color: #075f66; }
header a, footer a { color: #d8f2e8; }
main { max-width: 54rem; margin: 3rem auto; padding: 0 1.25rem 4rem; }
h1 { line-height: 1.15; font-size: clamp(2rem, 5vw, 3rem); }
h2 { margin-top: 2.5rem; line-height: 1.25; }
.lede { font-size: 1.2rem; max-width: 44rem; }
.draft { border-left: .3rem solid #b56213; background: #fff3df; padding: .8rem 1rem; }
.meta { color: #52615c; }
li { margin: .4rem 0; }
footer { font-size: .9rem; }
.signin-main { min-height: calc(100vh - 10rem); display: grid; align-items: center; }
.signin-card { padding: clamp(1.5rem, 5vw, 3rem); background: white; border: 1px solid #d9dfda; border-radius: 1rem; box-shadow: 0 12px 32px #122b2912; }
.signin-card h1 { margin: .25rem 0 1rem; }
.signin-card .lede { margin-bottom: 2rem; }
#googleButton { min-height: 44px; visibility: hidden; }
#googleButton.ready { visibility: visible; }
#googleButton svg { max-width: 20px; max-height: 20px; }
#signinStatus { min-height: 1.5em; color: #995014; }

/* League Warden 101 (guide.html) */
.guide .eyebrow { margin: 0; color: #b56213; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guide h1 { margin-top: .3rem; }
.guide-steps { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; background: white; border: 1px solid #d9dfda; border-radius: .8rem; }
.guide-steps ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; }
.guide-step { margin-top: 2.5rem; padding-top: .5rem; border-top: 1px solid #d9dfda; scroll-margin-top: 1rem; }
.guide-step h2 { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.step-number { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #b56213; color: white; font-size: 1rem; }
.guide figure { margin: 1.25rem 0; }
.guide img { display: block; max-width: 100%; height: auto; border: 1px solid #d9dfda; border-radius: .7rem; box-shadow: 0 10px 28px #122b2914; background: white; }
.guide figcaption { margin-top: .5rem; color: #52615c; font-size: .9rem; }
.guide .tip { padding: .7rem 1rem; border-left: .3rem solid #b56213; background: #fff3df; border-radius: 0 .5rem .5rem 0; }
.guide-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 1.5rem; align-items: start; }
.guide-panel img { width: 100%; max-width: 20rem; }
@media (max-width: 720px) { .guide-split { grid-template-columns: 1fr; } .guide-panel img { margin: 0 auto; } }
.guide-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; align-items: start; }
.guide-pair figure { margin: .5rem 0; }

/* Shared rankings (/s/<token>, service/sharing.py) */
.shared { margin-top: 2rem; }
.shared .eyebrow { margin: 0; color: #b56213; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.shared h1 { margin: .3rem 0 .4rem; overflow-wrap: anywhere; }
.shared-meta { margin: 0 0 1.25rem; color: #52615c; }
.shared-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid #d9dfda; border-radius: .7rem; overflow: hidden; font-size: .95rem; }
.shared-table th, .shared-table td { padding: .55rem .75rem; border-bottom: 1px solid #e7ebe8; text-align: left; }
.shared-table th { color: #52615c; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: #fbfaf7; }
.shared-table .num { width: 3rem; text-align: right; color: #52615c; font-variant-numeric: tabular-nums; }
.shared-table tbody tr:nth-child(10n) td { border-bottom-color: #c9d2cd; }
.shared-cta { margin-top: 1.5rem; padding: .8rem 1rem; border-left: .3rem solid #b56213; background: #fff3df; border-radius: 0 .5rem .5rem 0; }
@media (max-width: 520px) { .shared-table th, .shared-table td { padding: .5rem .45rem; font-size: .9rem; } .shared-table .num { width: 2.2rem; } }

/* League Warden header mark (2026-11-03). */
.site-brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.site-brand img { display: block; }
