html{min-height:100%}
body{min-height:100svh;display:flex;flex-direction:column}
body>main{flex:1 0 auto;width:100%;margin:0 auto}
body>.site-footer{margin-top:auto}
.site-header{position:sticky;top:0;z-index:20;width:100%;background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{max-width:1280px;margin:auto;min-height:74px;padding:8px clamp(20px,4vw,56px);display:flex;align-items:center;gap:32px}
.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.brand img{width:40px;height:40px;object-fit:contain}
.site-header nav{display:flex;align-items:center;gap:17px;min-width:0}
.site-header nav a,.footer-links a{color:var(--muted);font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}
.site-header nav a:hover,.footer-links a:hover,.site-header nav a[aria-current="page"]{color:var(--accent)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:9px;flex:none}
.header-actions select,.header-actions .icon-button{height:38px;border:1px solid var(--line);border-radius:999px;background:var(--surface,var(--panel));color:var(--ink,var(--text))}
.header-actions select{width:136px;max-width:none;padding:0 42px 0 16px;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 20px) calc(50% - 2px),calc(100% - 14px) calc(50% - 2px);background-size:6px 6px;background-repeat:no-repeat}
.header-actions .icon-button{display:grid;place-items:center;width:38px;padding:0;font-size:20px}
.header-account{color:var(--muted);font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}
.header-account:hover{color:var(--accent)}
.site-footer{width:100%;border-top:1px solid var(--line);background:var(--surface,var(--panel))}
.footer-inner{max-width:1280px;margin:auto;padding:45px clamp(20px,4vw,56px);display:flex;justify-content:space-between;gap:30px}
.footer-brand{font-size:21px;font-weight:800;text-decoration:none}
.site-footer p{max-width:55ch;margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.footer-links{display:flex;align-content:start;gap:18px;flex-wrap:wrap}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.header-inner{flex-wrap:wrap;gap:10px 18px}.site-header nav{order:3;width:100%;gap:16px;padding:0 0 7px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{flex:none}.footer-inner{display:block}.footer-links{margin-top:20px}}
@media(max-width:520px){.header-inner{padding-inline:16px;gap:7px}.brand{font-size:18px;gap:6px}.brand img{width:32px;height:32px}.header-actions{gap:6px}.header-actions select{width:104px;height:34px;padding-left:9px;padding-right:26px;background-position:calc(100% - 15px) calc(50% - 2px),calc(100% - 9px) calc(50% - 2px);font-size:14px}.header-actions .icon-button{width:34px;height:34px}.header-account{font-size:13px}.footer-inner{padding:30px 16px}}
