/* Homepage navigation geometry, scoped so document layouts keep their own rules. */
.site-document{background:#0b100e;background-image:radial-gradient(ellipse at 80% 15%,#18302588,transparent 50%)}
.join-document{display:block;padding:0}
.join-document>main{width:min(420px,calc(100% - 48px));margin:32px auto}
.join-document>main>img{border-radius:0}
.join-document #site-header .brand>img{margin:0}
#site-header{position:relative;top:auto;z-index:20;display:block;width:100%;padding:0;border:0;border-bottom:1px solid #ffffff12;background:transparent;backdrop-filter:none;color:#f7f3e8;font:16px/1.55 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;text-align:left}
#site-header *,#site-footer *{box-sizing:border-box}
#site-header .wrap,#site-footer .wrap{width:min(1280px,calc(100% - 96px));margin:0 auto;padding:0}
#site-header .nav-inner{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:168px;gap:24px}
#site-header a{color:inherit;text-decoration:none}
#site-header .landing-nav{position:static;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;min-height:0;padding:0;gap:8px 25px;margin:0 auto;color:#a9b2a7;font-size:11px;font-weight:400;line-height:1.55;transform:none}
#site-header .landing-nav a{display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:transparent;font:inherit;white-space:nowrap}
#site-header .landing-nav a:hover{color:#dfc58b}
#site-header .landing-nav a[aria-current=page]{color:#eddfb6;text-decoration:underline;text-underline-offset:6px}
#site-header .header-right{display:flex;align-items:center;gap:28px;margin:0}
#site-header .site-lang-toggle{display:inline-flex;align-items:center;margin:0 0 0 auto;padding:0;gap:3px;border:0;border-radius:0;background:transparent}
#site-header .site-lang-toggle button{min-width:32px;min-height:34px;padding:2px 6px;margin:0;border:0;border-radius:0;background:transparent;color:#828f87;font:950 11px/1.55 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;cursor:pointer}
#site-header .site-lang-toggle button[aria-pressed=true]{color:#eddfb6;border-bottom:1px solid #d5b567}
#site-header .header-follow{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:12px 17px;border:1px solid #e5ca82;border-radius:7px;color:#192017;font:800 12px/normal Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;white-space:nowrap;cursor:pointer}
#site-header .header-follow span{margin-left:14px;color:inherit}
#site-header :focus-visible,#site-footer :focus-visible{outline:2px solid #d9bf7b;outline-offset:4px}
#site-footer{width:100%;margin:0;padding:25px 0;border-top:1px solid #ffffff12;color:#718177;font:10px/1.55 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;text-align:left}
#site-footer .foot,#site-footer .foot-links{display:flex;align-items:center;justify-content:space-between;gap:20px}
#site-footer a{color:inherit;text-decoration:none}
@media(max-width:1050px){#site-header .wrap,#site-footer .wrap{width:calc(100% - 56px)}#site-header .landing-nav{gap:6px 16px}}
@media(max-width:700px){#site-header .wrap,#site-footer .wrap{width:calc(100% - 40px)}#site-header .nav-inner{min-height:0;flex-wrap:wrap;padding:12px 0 0;gap:0}#site-header .header-right{display:contents}#site-header .landing-nav{order:3;width:100%;padding:12px 0 15px;margin:0;gap:4px 20px}#site-header .landing-nav a{min-height:44px}#site-header .header-follow{order:4;width:100%;min-height:44px;margin-bottom:15px;gap:14px}#site-header .header-follow span{margin:0}#site-footer .foot{flex-wrap:wrap;justify-content:center;gap:18px}}
/* Spectator mode keeps its own controls and brand; honor the existing hidden state. */
#site-header[hidden],#site-footer[hidden]{display:none}
body.watching{background:#0b100e;background-image:radial-gradient(ellipse at 80% 15%,#18302588,transparent 50%)}
body.watching #live-page{background:transparent}

/* Original typography, with larger toolbar lettering. */
#site-header .landing-nav{font-size:16px}
#site-header .site-lang-toggle button{font-size:14px}
#site-header .header-follow{font-size:17px}
#site-footer,#site-footer .foot{font-size:14px}
