/* Consistent typography and explicit foreground/background pairs. */
:root,body.earth-page{--ink:#edf3f4;--muted:#b9c9cf;--line:#425660;--cream:#0b1418;--sand:#1a2c33;--orange:#f0bc88;--font-ui:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{font-family:var(--font-ui);color:#edf3f4;background:#0b1418;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
body :is(h1,h2,h3,h4){font-family:var(--font-ui);font-weight:600;letter-spacing:-.025em;line-height:1.16;text-wrap:balance}
body :is(button,input,select,textarea){font-family:var(--font-ui)}
body :is(p,li,dd){line-height:1.7}
body :is(.eyebrow,.journey-topic,.history-marker){color:#a9dec9;letter-spacing:.12em;font-weight:650;font-size:12px}
body :is(.fine,.bc-small,.pf-small,.planet-fine,.planet-hint,.terrain-status,.terrain-resolution,.terrain-weather-credit,.mountain-card-credit,.atlas-note,.earth-footer p,.bc-footer p,.legal-footer,.sidebar-note p,.form-intro,.heading-side,.product p,.result-line,.bc-counter){color:#bdcdd2!important;font-size:13px!important;opacity:1;line-height:1.65}
body :is(.account-panel,.shared-story,.jn-card,.bc-planning-card,.bc-mountain-card,.mountain-card,.earth-sidebar,.legal-content){color:#edf3f4}
body :is(.account-panel,.shared-story,.jn-card,.bc-planning-card,.bc-mountain-card,.mountain-card,.earth-sidebar) :is(p,small,label,dt){color:#bdcdd2}
body :is(.account-panel,.shared-story,.jn-card,.bc-planning-card,.bc-mountain-card,.mountain-card,.earth-sidebar) :is(h2,h3,h4){color:#edf3f4}
body :is(small,.review,.review span){font-size:12px;opacity:1}
body header nav a{color:#e3edef;font-size:14px;font-weight:500}
body header nav a[aria-current=page]{color:#b8ebd5;text-decoration:underline;text-underline-offset:7px}
body :is(.filter,.topic,.side-item,.underlink,.feature-follow,.bc-text-button,.entry-delete,.save-story,.like-button){color:#c9e4dc}
body :is(.filter,.topic){background:#16292f;border-color:#5d747c}
body :is(.filter.active,.topic.active){background:#b8dfce;color:#102820;border-color:#b8dfce}
body :is(.button,.follow-button,.jn-button,.bc-primary){background:#b8dfce!important;color:#102820!important;border-color:#b8dfce!important;font-weight:650;font-size:14px;line-height:1.4}
body :is(.button,.follow-button,.jn-button,.bc-primary):hover{background:#d2eee1!important;color:#102820!important}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#102129;color:#edf3f4;border-color:#627a83;font-size:14px}
body :is(input,textarea)::placeholder{color:#adbec5;opacity:1}
body :is(input,button,select,textarea,a,summary):focus-visible{outline:3px solid #c1ebff;outline-offset:4px}
body :is(.bc-tabs button,.pf-tabs button){font-size:14px}
body :is(.bc-tabs button[aria-selected=true],.pf-tabs button[aria-selected=true]){background:#b8dfce;color:#102820}
body :is(.terrain-metric-strip span,.terrain-metric-strip b,.terrain-mode-bar button,.visual-controls button,.planet-controls button){color:#d9e9ee}
body :is(.terrain-mode-bar button[aria-pressed=true],.visual-controls button[aria-pressed=true]){background:#b8dfce;color:#102820;border-color:#b8dfce}
body .hero :is(h1,h2,p,.eyebrow){color:#fff;text-shadow:0 2px 16px #000a}
body .hero .button{text-shadow:none}
body .hero>img{filter:brightness(.72)}
body .review{background:#17332e;color:#e4f1eb}
body .review span{color:#c3d9cf}
body :is(.wall,.journeys)>p:not(.eyebrow){color:#bdcdd2;max-width:660px;margin:22px 0}
body :is(.wall,.journeys)>.button{display:inline-block;margin-top:24px}
body .account-grid>p{padding:24px 0}
body .rank-grid article{color:#edf3f4}
body .rank-grid p{color:#bdcdd2}
@media(max-width:650px){body header nav a{font-size:12px}body .review span{display:block;margin:2px 0}body :is(h1,h2){overflow-wrap:break-word}}
