/* Common relief header, section navigation and homepage environment controls. */
:root{--lr-bg:#f5f3ef;--lr-ink:#282725;--lr-muted:#66635d;--lr-line:#b2a38f;--lr-control:#e9e6df;--lr-selected:#214d60}
html[data-theme=dark]{--lr-bg:#16191c;--lr-ink:#eeebe5;--lr-muted:#aaa9a5;--lr-line:#757a7c;--lr-control:#282c2f;--lr-selected:#31677e;color-scheme:dark}
body.lr-page{--bg:var(--lr-bg);--ink:var(--lr-ink);--muted:var(--lr-muted);--line:var(--lr-line);--control-bg:var(--lr-control);background:var(--lr-bg);color:var(--lr-ink)}
.lr-page .lr-header{box-sizing:border-box;width:100%;height:78px;min-height:78px;max-width:1512px;padding:12px 5%;margin:0 auto;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px}
.lr-header>a{display:flex;align-items:center;flex-shrink:0;min-height:44px}.lr-page .lr-header>a:first-child img{display:block;max-width:none;width:130px;height:53px;object-fit:contain}html[data-theme=dark] .lr-header>a img{filter:brightness(0) invert(.94)}
.lr-header .theme-switch{display:flex;flex-shrink:0;padding:3px;gap:2px;background:var(--lr-control);border-radius:30px;margin-left:auto}
.lr-header .theme-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:77px;min-height:44px;padding:0 12px;border:0;border-radius:25px;background:transparent;font:inherit;font-size:13px;line-height:1.3;color:var(--lr-muted);cursor:pointer}
.lr-header .theme-switch button[aria-pressed=true]{background:var(--lr-ink);color:var(--lr-bg)}.lr-header .theme-switch svg{width:17px;height:17px}
.lr-header .yl-menu-host{margin-left:0}.lr-header .yl-channel-toggle{box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid var(--lr-line);border-radius:6px;background:transparent}.lr-header .yl-channel-toggle img{width:24px;height:24px}.lr-header .yl-channel-toggle svg{width:24px;height:24px}
.lr-section-nav{box-sizing:border-box;max-width:1512px;width:100%;margin:0 auto;padding:12px 5% 20px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;font:16px/1.4 'PingFang SC','Microsoft YaHei',sans-serif}
.lr-page .lr-section-nav a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border:1px solid var(--lr-line);border-radius:999px;background:transparent;color:var(--lr-ink);text-decoration:none;white-space:nowrap}
.lr-page .lr-section-nav a[aria-current=page]{color:#fff;background:var(--lr-selected);border-color:var(--lr-selected)}.lr-section-nav a:hover{border-color:var(--lr-selected)}.lr-section-nav a:focus-visible,.lr-header button:focus-visible{outline:2px solid var(--lr-selected);outline-offset:3px}
/* Suppress old rows while the shared control attaches. */
.lr-page .lc-header>nav,.lr-page .pa-channels{display:none}
@media(max-width:700px){.lr-page .lr-header{height:62px;min-height:62px;padding:8px 20px;gap:10px}.lr-page .lr-header>a:first-child img{width:108px;height:44px}.lr-header .theme-switch{padding:2px}.lr-header .theme-switch button{min-width:44px;padding:0 10px}.lr-header .theme-switch span{display:none}.lr-section-nav{padding:12px 20px 18px;gap:8px;font-size:14px}.lr-page .lr-section-nav a{padding:9px 16px}}
@media(max-width:420px){.lr-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lr-page .lr-section-nav a{padding:9px 10px}}
