@media(max-width:1080px){body #masthead{height:64px}body #masthead .masthead-inner{width:calc(100% - 40px);gap:16px}body #masthead .mast-actions{margin-left:auto;gap:16px}body #masthead .brand{font-size:18px}body #masthead .rv-menu-button{display:block;font-size:22px;padding:0}body #masthead .nav{display:none;position:absolute;top:72px;left:20px;right:20px;margin:0;padding:16px;background:var(--page);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px #0001;flex-direction:column;align-items:stretch;gap:4px;max-height:calc(100dvh - 92px);overflow:auto}body #masthead .nav.is-open{display:flex}body #masthead .nav-products>.product-menu,body #masthead .nav-products>.product-menu.is-big{position:relative;top:auto;left:auto;transform:none;translate:none!important;width:100%;max-width:none;height:auto;max-height:none;margin:8px 0;grid-template-columns:1fr;gap:12px;padding:10px;overflow:visible;box-shadow:none;border-radius:10px}body #masthead .product-menu-list{display:grid;grid-template-columns:1fr 1fr;height:auto;overflow:visible;gap:4px;padding:0}body #masthead .product-menu-list button{min-height:44px;padding:8px}body #masthead .product-menu-list button>small{display:none}body #masthead .product-menu-list button>span{font-size:12px;margin:0}body #masthead .product-menu-previews{min-width:0}body #masthead .pv-size{display:none}}
#masthead .mast-action-divider{display:block;flex:none;width:1px;height:16px;margin-inline:-4px;background:var(--muted,#6b7280);opacity:.25}
#masthead a.language-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;min-width:0;min-height:36px;padding:0;border:0;background:transparent;color:var(--muted,#6b7280);font:500 12px/20px Inter,"Microsoft YaHei",sans-serif;text-decoration:none;white-space:nowrap;transition:color 160ms ease;touch-action:manipulation}
#masthead a.language-switch:hover{color:var(--ink,#2e2e2e);background:transparent}
#masthead a.language-switch:focus-visible{outline:2px solid var(--ink,#2e2e2e);outline-offset:4px;border-radius:3px}
#masthead .language-switch svg{display:block;flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg)}
html[lang=zh-Hans] #compare-article h1,html[lang=zh-Hans] #blog-page h1{letter-spacing:-.02em;line-height:1.25;text-wrap:balance}
html[lang=zh-Hans] #compare-article h2,html[lang=zh-Hans] #market-article h2,html[lang=zh-Hans] #blog-page h2{letter-spacing:-.015em;line-height:1.4}
html[lang=zh-Hans] #blog-page .blog-prose,html[lang=zh-Hans] #compare-article .compare-content{line-height:1.9;word-break:normal}
html[lang=zh-Hans] .hero-title-three .title-three-line{white-space:normal}
@media(max-width:650px){body #masthead .masthead-inner{gap:8px}body #masthead .mast-actions{gap:8px}body #masthead .brand{gap:6px;font-size:18px}#masthead .mast-action-divider{margin-inline:-2px}}
@media(max-width:380px){body #masthead .brand{font-size:16px}body #masthead .masthead-inner{width:calc(100% - 24px)}body #masthead .mast-actions{gap:4px}#masthead .mast-action-divider{margin-inline:0}}
@media(prefers-reduced-motion:reduce){#masthead a.language-switch{transition:none!important}}

/* Shared spacing for the compact language and theme controls. */
body #masthead .mast-actions{display:flex;align-items:center;gap:12px}
body #masthead .mast-actions>.icon-link{position:relative;flex:none;width:20px;min-width:20px;height:36px;min-height:36px;padding:0}
body #masthead .mast-actions>.icon-link:before{content:"";position:absolute;inset:-4px -6px}
body #masthead .mast-action-divider{height:16px;margin:0;align-self:center}
body #masthead a.language-switch{min-width:40px;min-height:36px;gap:4px;padding:0}
body #masthead .language-switch>span{display:inline-block;min-width:18px;text-align:center}
@media(max-width:650px){body #masthead .mast-actions{gap:10px}}
@media(max-width:380px){body #masthead .mast-actions{gap:8px}}
