/* Shared public navigation for every BookmarkSync website page. */
.bms-header{position:sticky;top:0;z-index:50;margin:0;padding:0;border-bottom:1px solid #e4e9f2;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);font-family:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:normal}
.bms-header,.bms-header *{box-sizing:border-box}
.bms-header-inner{position:relative;width:min(1160px,calc(100% - 48px));min-height:68px;margin:auto;display:flex;align-items:center;gap:12px}
.bms-header-mount{min-height:68px}
.bms-brand{display:flex;align-items:center;gap:10px;flex:none;color:#172033;text-decoration:none;font-size:15px;font-weight:750;white-space:nowrap}
.bms-brand img{width:36px;height:36px;border-radius:11px;box-shadow:0 8px 20px rgba(37,99,235,.16)}
.bms-nav{margin-left:auto;display:flex;align-items:center;gap:3px;color:#41506a;font-size:13px;font-weight:600}
.bms-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border-radius:9px;text-decoration:none;white-space:nowrap;color:inherit;transition:background .16s,color .16s}
.bms-nav a:hover{background:#f4f6f9;color:#27364d}
.bms-nav a.active{background:#f0f3f7;color:#27364d;box-shadow:inset 0 0 0 1px #e4e9f0}
.bms-language{display:flex;align-items:center;align-self:center;flex:none;margin:0;padding:0;line-height:1}
.bms-language .lang-select-wrap{display:inline-flex;align-items:center;gap:6px;height:36px;min-height:36px;margin:0;padding:0 9px;border:1px solid #dce4f1;border-radius:10px;background:#fff;color:#52627b;font-size:12px;font-weight:600;line-height:1}
.bms-language .lang-select-wrap svg{display:block;width:15px;height:15px;flex:none}
.bms-language .lang-select{display:block;min-width:0;max-width:108px;height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#334155;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;outline-offset:3px}
.bms-header :focus-visible{outline:2px solid #2563eb;outline-offset:3px}
@media(max-width:800px){.bms-header-inner{width:calc(100% - 32px);min-height:62px;padding:10px 0 8px;flex-wrap:wrap;gap:8px}.bms-header-mount{min-height:80px}.bms-brand{flex:1}.bms-language{order:2;margin-left:0}.bms-nav{order:3;width:100%;margin:0;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.bms-nav::-webkit-scrollbar{display:none}.bms-nav a{flex:none;padding:8px 11px}}
@media(max-width:480px){.bms-brand{font-size:13px;gap:7px}.bms-brand img{width:30px;height:30px;border-radius:9px}.bms-nav{font-size:12px;gap:0}.bms-nav a{padding:7px 10px}}
@media(max-width:380px){.bms-header-inner{width:calc(100% - 24px);gap:6px}.bms-brand{font-size:11px;gap:5px}.bms-brand img{width:26px;height:26px}.bms-language .lang-select-wrap{padding:0 5px;gap:4px}.bms-language .lang-select{max-width:78px;font-size:11px}.bms-nav{font-size:11px}.bms-nav a{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.bms-nav a{transition:none}}
