.xf-public-header{position:sticky;top:0;z-index:40;height:66px;background:var(--bg);border-bottom:1px solid var(--line)}
.xf-public-header .header-inner{max-width:1328px;height:66px;margin:auto;padding:0 24px;gap:24px}
.xf-public-header .brand img{width:116px;height:auto;max-height:48px;object-fit:contain}
.xf-public-header .desktop-nav{gap:24px;min-width:0}
.xf-public-header .desktop-nav a{height:66px;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;color:var(--text);white-space:nowrap}
.xf-public-header .desktop-nav a:hover,.xf-public-header .desktop-nav a[aria-current=page]{color:var(--accent)}
.xf-public-header .desktop-nav a[aria-current=page]::after{height:1px;bottom:14px;opacity:.6}
.xf-public-header .header-actions{gap:6px;margin:0;margin-inline-start:auto}
.xf-public-header .theme-menu{padding-inline-end:10px;border-inline-end:1px solid var(--strong);margin-inline-end:4px}
.xf-public-header .header-login,.xf-public-header .header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:32px;height:32px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:600;letter-spacing:0;line-height:1.25;white-space:nowrap}
.xf-public-header .header-login{background:var(--soft);color:var(--accent);margin-inline-start:10px}
.xf-public-header .header-cta,.xf-public-header .header-cta:hover{background:linear-gradient(115deg,#8659f3,#5d68f5);color:#fff;border:0;box-shadow:0 3px 10px #705bf21a}
.xf-public-header .xf-language{position:relative}
.xf-public-header .xf-language-trigger{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;color:var(--text);background:none;border:0;font-size:12px}
.xf-public-header .xf-language-trigger img{width:22px;height:16px;object-fit:cover;border-radius:3px}
.xf-public-header .xf-language-trigger svg{width:11px;height:11px}
.xf-public-header .xf-language-options{position:absolute;inset-inline-end:0;top:calc(100% + 6px);width:240px;max-height:360px;overflow:auto;padding:6px;background:var(--surface);border:1px solid var(--strong);border-radius:12px;box-shadow:0 8px 24px var(--shadow)}
.xf-public-header .xf-language-options a{display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:44px;font-size:13px;line-height:1.4;border-radius:8px}
.xf-public-header .xf-language-options a:hover,.xf-public-header .xf-language-options a[aria-current=true]{background:var(--soft);color:var(--accent)}
.xf-public-header .xf-language-options img{width:22px;height:16px;border-radius:3px}
.xf-public-header .mobile-menu nav{background:var(--surface);border:1px solid var(--strong);border-radius:12px;min-width:240px;max-width:calc(100vw - 32px);backdrop-filter:blur(16px)}
.xf-public-header .mobile-menu nav a{font-size:14px;min-height:44px;padding:12px}
.xf-public-header .mobile-auth{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.xf-public-header .mobile-auth .header-login,.xf-public-header .mobile-auth .header-cta{display:flex;margin:6px 0 0}
@media(max-width:1199px){.xf-public-header .header-inner{padding:0 16px;gap:12px}.xf-public-header .desktop-nav,.xf-public-header .header-actions>.header-login,.xf-public-header .header-actions>.header-cta{display:none}.xf-public-header .mobile-menu{display:block}.xf-public-header .header-actions{margin-inline-start:auto;gap:4px}.xf-public-header .theme-menu{padding:0;border:0;margin:0}}
@media(max-width:599px){.xf-public-header .brand img{width:92px}.xf-public-header .xf-language-code{display:none}}
