:root{--header-height:56px;--sidebar-width:240px;--sidebar-bg:#261700;--sidebar-text:#fff0d9;--accent:#ff9800;--border:#ffe9c6;--muted:#8492a2;--shell-type:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#0b0b0b;background:#fdfdfd;font-family:var(--shell-type);font-size:14px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
button,select,input,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
a{color:inherit}
[hidden]{display:none!important}
.topbar{height:var(--header-height);width:100vw;position:fixed;z-index:20;inset:0 auto auto 0;display:flex;align-items:center;justify-content:space-between;background:var(--sidebar-bg);color:var(--sidebar-text);padding-right:16px}
.top-brand,.top-actions{display:flex;align-items:center}
.top-brand{padding-left:16px;gap:6px}
.top-logo{display:flex;align-items:center;padding:0 2px;text-decoration:none}
.top-logo img{display:block;width:160px;height:40px;object-fit:contain}
.top-actions{gap:10px}
.icon-button,.language-button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;height:38px;padding:0 8px}
.icon-button{width:40px}
.icon-button svg,.language-button svg,.android-button svg,.sidebar svg{display:block;width:20px;height:20px;flex:none}
.icon-button:hover,.language-button:hover,.android-button:hover,.sidebar button:hover,.sidebar a:hover{background:#593500}
.profile-button svg{width:18px;height:18px}
.android-button{display:flex;align-items:center;gap:7px;padding:0 8px;height:40px;border:1px solid var(--sidebar-text);border-radius:4px;text-decoration:none;font-size:16px}
.android-button svg{width:24px;height:24px}
.language-button img{object-fit:cover}
.menu-anchor{position:relative}
.top-popup{position:fixed;top:var(--header-height);background:var(--sidebar-bg);color:var(--sidebar-text);border:1px solid #614820;border-radius:2px;box-shadow:0 8px 20px #0002}
.top-popup :is(button,a){display:flex;align-items:center;gap:8px;text-decoration:none;background:none;border:0;color:inherit;width:100%;text-align:left;border-radius:2px}
.top-popup :is(button,a):hover{background:#593500}
#language-menu{right:64px;width:min(204px,calc(100vw - 72px));padding:10px}
.language-search{position:relative;margin-bottom:10px}
.language-search input{width:100%;height:28px;padding:0 30px 0 8px;border:1px solid #534329;border-radius:2px;color:#f2f2f2;background:#121212}
.language-search input::-webkit-search-cancel-button{appearance:none}
#language-clear{width:28px;height:28px;position:absolute;top:0;right:0;justify-content:center;color:#b6bec6}
#language-clear svg{width:14px;height:14px}
.language-options{max-height:min(407px,calc(100vh - var(--header-height) - 50px));overflow:auto;scrollbar-width:thin;scrollbar-color:#593500 transparent}
.language-options :is(button,a){min-height:36px;padding:6px 12px;gap:10px;white-space:nowrap}
.language-options :is(button,a)[aria-current=true]{background:#593500}
.language-options img{width:24px;height:16px;object-fit:cover}
.language-options p{margin:0;padding:10px;color:#d6c8b3}
#profile-menu{right:0;width:min(349px,100vw);padding:16px}
.profile-context{display:grid;gap:5px;padding-bottom:8px;margin-bottom:7px;border-bottom:1px solid #614820;font-size:16px;line-height:1.35}
.profile-location{display:grid;gap:6px;font-size:14px;font-weight:600}
#profile-location{display:flex;align-items:center;gap:10px;font-weight:400}
#profile-location img{width:24px;height:16px;object-fit:cover}
.top-popup .profile-action{min-height:38px;padding:5px 6px}
.profile-action svg{display:block;width:20px;height:20px}
.top-popup .color-scheme-toggle{justify-content:center;gap:8px;margin:10px auto 0;padding:8px;width:auto}
.color-scheme-toggle svg{display:block;width:25px;height:25px}
.theme-beta{font-size:11px;background:#312512;border-radius:999px;padding:5px 8px;font-weight:600}
.sidebar{width:var(--sidebar-width);position:fixed;z-index:15;inset:var(--header-height) auto 0 0;display:flex;flex-direction:column;background:var(--sidebar-bg);color:var(--sidebar-text);overflow:auto}
.sidebar nav{padding-top:8px;flex:1;overflow:auto}
.nav-group,.nav-link,.whats-new{width:100%;padding:0 16px;display:flex;align-items:center;gap:14px;border:0;background:transparent;text-align:left;color:inherit;text-decoration:none;min-height:40px}
.nav-group{padding-inline:18px}
.nav-group svg{width:18px;height:18px}
.nav-group .chevron{margin-left:auto;transition:transform .15s}
.nav-group .chevron svg{width:16px;height:16px}
.nav-group[aria-expanded=true] .chevron{transform:rotate(180deg)}
.nav-list{list-style:none;margin:0;padding:0 0 0 36px}
.nav-link{padding:0 16px;min-height:40px;margin-top:2px;line-height:1.4;border-left:1px solid #6c4200;font-size:14px}
.nav-link[aria-current=page]{color:var(--accent);border-color:var(--accent)}
.whats-new{width:auto;min-height:64px;flex:none;font-size:13px}
.page{margin-left:var(--sidebar-width);margin-top:var(--header-height);min-height:calc(100vh - var(--header-height) - 146px)}
.site-footer{min-height:146px;margin-left:var(--sidebar-width);border-top:1px solid #e4e7ea;color:#9aa8b6;text-align:center;padding:16px}
.site-footer p{margin:0;line-height:1.4;font-size:14px}
.site-footer .footer-more{color:var(--accent);text-decoration:none}
.footer-body{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}
.footer-links{display:flex;flex:1;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 32px;color:#344559;font-size:16px}
.footer-links a{text-decoration:none}
.footer-links :is(button,a):hover,.footer-more:hover{text-decoration:underline}
.site-footer .footer-app{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:8px;width:130px;height:42px;border:1px solid var(--accent);color:var(--accent);font-size:12px;line-height:1;text-decoration:none}
.footer-app svg{display:block;width:12px;height:12px}
.sidebar-collapsed{--sidebar-width:60px}
.sidebar-collapsed .nav-group,.sidebar-collapsed .whats-new{justify-content:center;padding:0}
.sidebar-collapsed .nav-group span,.sidebar-collapsed .whats-new span,.sidebar-collapsed .nav-list{display:none}
.sidebar-collapsed #nav-toggle svg{transform:rotate(180deg)}
.notice{border:1px solid var(--border);border-radius:8px;width:min(480px,calc(100% - 32px));padding:24px}
.notice::backdrop{background:#0005}
.notice h2{margin:0 30px 12px 0;font-size:19px}
.notice p{white-space:pre-line;margin:0;line-height:1.55}
.notice-close{position:absolute;right:10px;top:8px;font-size:25px;border:0;background:transparent;color:#594327}
.page-error{margin:20px;padding:14px;border:1px solid var(--border);border-radius:6px}
.partner-entry{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.partner-entry p{margin:0}
.partner-entry a{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:3px;background:#ff9800;color:#211300;text-decoration:none;font-weight:650}
@media(min-width:768px){.site-footer{padding-inline:64px}.footer-body{flex-direction:row;gap:8px;margin-block:8px}}
@media(min-width:1024px) and (max-width:1439px){.footer-body{flex-direction:column}}
@media(min-width:1440px){.footer-body{margin-block:16px}}
@media(max-width:700px){.top-brand{gap:5px;padding-left:5px}.top-actions{gap:3px}.topbar{padding-right:3px}.android-button{font-size:0;gap:0}.top-logo img{width:105px}.sidebar{box-shadow:3px 0 9px #0002}.page,.site-footer{margin-left:60px}}
