/* Shared landing and experience header — one logo, menu and responsive geometry. */
.site-header-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.site-header{height:var(--ml-ui-header-height);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--ml-border-subtle);background:var(--ml-topbar-bg);backdrop-filter:blur(16px);isolation:isolate;color:var(--ml-text-primary)}
.site-header .header-inner{box-sizing:border-box;width:100%;max-width:none;height:100%;padding-inline:var(--ml-ui-gutter);display:flex;align-items:center;gap:clamp(12px,2vw,24px);min-width:0}
.site-header{font:400 var(--ml-type-body-secondary)/1.48 var(--ml-font-family)}
.site-header button{font:inherit;cursor:pointer}
.site-header .icon{display:block;width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.site-header .icon.sm{width:16px;height:16px}
.brand{display:inline-flex;align-items:center;justify-content:flex-start;flex:none;padding:0;background:none;text-decoration:none;cursor:pointer}
.brand-logo{display:block;flex:none;width:180px;height:52px;background:url('/assets/logo-light.png') center / contain no-repeat}
:root[data-theme="dark"] .brand-logo{background-image:url('/assets/logo-dark.png')}
.header-actions{margin-inline-start:auto;display:flex;align-items:center;gap:10px;min-width:0}
.header-search{box-sizing:border-box;width:240px;height:36px;border:1px solid var(--ml-border-subtle);background:var(--ml-bg-primary);border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 11px;color:var(--ml-text-muted)}
.header-search input{width:100%;min-width:0;background:none;outline:none!important;border:none;font-size:12px;color:var(--ml-text-primary);appearance:none}
.header-search:focus-within{border-color:var(--ml-link-fg)}
.head-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid var(--ml-border-subtle);border-radius:11px;background:var(--ml-surface-primary);color:var(--ml-text-muted)}
.head-icon:hover{color:var(--ml-link-fg);border-color:var(--ml-link-fg)}
#searchMobile{display:none}
.mobile-search-panel{background:var(--ml-surface-raised);border-top:1px solid var(--ml-border-subtle);box-shadow:var(--ml-shadow-raised)}
.mobile-search-panel[hidden],.discover-menu[hidden],.site-header [hidden]{display:none!important}
.mobile-search-inner{padding:12px var(--ml-ui-gutter);display:grid;gap:7px}
.mobile-search-inner label{font-size:var(--ml-type-label);color:var(--ml-text-secondary)}
.mobile-search-controls{display:flex;align-items:center;gap:9px}
.mobile-search-controls input{flex:1;min-width:0;border:1px solid var(--ml-border-strong);border-radius:10px;background:var(--ml-surface-primary);color:var(--ml-text-primary);padding:10px;font-size:16px}
.mobile-search-controls button{border:1px solid var(--ml-border-strong);border-radius:10px;padding:10px;color:var(--ml-text-primary);background:var(--ml-surface-primary)}
.discover-menu-anchor{position:relative;flex:none}
.discover-menu-trigger{display:grid;place-items:center;width:var(--ml-ui-control-height);height:var(--ml-ui-control-height);border-radius:13px;padding:8px;background:var(--ml-surface-raised);border:1px solid var(--ml-border-subtle);color:var(--ml-text-primary)}
.discover-menu-trigger .icon{width:21px;height:21px}
.discover-menu-trigger[aria-expanded="true"],.discover-menu-trigger:hover{background:var(--ml-bg-secondary)}
.discover-menu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:100;width:min(278px,calc(100vw - 24px));max-height:min(calc(var(--ml-site-available-height,100dvh) - var(--ml-ui-header-height) - 24px),580px);overflow:auto;background:var(--ml-surface-raised);border:1px solid var(--ml-border-subtle);border-radius:16px;box-shadow:var(--ml-shadow-raised);padding:8px}
.discover-menu-nav{display:flex;flex-direction:column;gap:2px}
.discover-menu-row{min-height:var(--ml-ui-control-height);border:0;border-radius:9px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start;padding:9px 11px;font:inherit;font-size:var(--ml-type-label);color:var(--ml-text-primary);background:transparent;text-decoration:none}
.discover-menu-row:hover,.discover-menu-row:focus-visible{background:var(--ml-bg-secondary)}
.discover-menu-nav [aria-current="page"]{background:var(--ml-status-info-bg);color:var(--ml-status-info-fg)}
.discover-menu-theme{display:flex;align-items:center;justify-content:space-between;padding-inline:11px;gap:10px;min-height:40px;color:var(--ml-text-secondary);font-size:var(--ml-type-label)}
.discover-menu-theme #themeButton{flex:none}
.discover-menu #accountButton{justify-content:flex-start}
.discover-menu-separator{border-top:1px solid var(--ml-border-subtle);margin:7px 2px}
.discover-menu-locale{display:block;padding:6px 10px 0;font-size:var(--ml-type-label);color:var(--ml-text-secondary)}
.discover-language{display:block;width:100%;min-height:var(--ml-ui-control-height);margin:0 0 5px;border:1px solid var(--ml-border-subtle);border-radius:8px;padding:5px 9px;color:var(--ml-text-primary);background:var(--ml-surface-primary)}
.discover-menu-caption{display:block;color:var(--ml-text-muted);font-size:var(--ml-type-meta);padding:9px 12px 4px}
.mini-soon{font-size:var(--ml-type-nav);border:1px solid var(--ml-border-subtle);border-radius:5px;padding:1px 4px;color:var(--ml-text-muted)}
.site-header :is(a,button,input,select):focus-visible{outline:3px solid var(--ml-focus-ring);outline-offset:2px}
@media(max-width:900px){.site-header .header-search{display:none}.site-header #searchMobile{display:grid}}
@media(max-width:700px){.brand-logo{width:152px;height:45px}.header-actions{gap:7px}}
@media(max-width:480px){.discover-menu-trigger{width:var(--ml-ui-control-height);height:var(--ml-ui-control-height)}.site-header .header-inner{gap:9px}}
@media(max-width:370px){.brand-logo{width:132px;height:40px}.header-actions{gap:5px}}

.discover-menu{overscroll-behavior:contain;scroll-padding:8px;max-width:calc(100vw - 2 * var(--ml-ui-gutter))}
.discover-menu-row{overflow-wrap:anywhere;white-space:normal;box-sizing:border-box}
@media(max-width:700px){.discover-language{font-size:16px}}
/* Nonmodal Guest conversion, using the existing One theme tokens. */
.one-guest-import-panel{position:fixed;z-index:110;inset-inline-end:var(--ml-ui-gutter);top:calc(var(--ml-ui-header-height) + 8px);box-sizing:border-box;width:min(360px,calc(100vw - 2 * var(--ml-ui-gutter)));max-height:calc(100dvh - var(--ml-ui-header-height) - 24px);overflow:auto;background:var(--ml-surface-raised);color:var(--ml-text-primary);border:1px solid var(--ml-border-subtle);border-radius:12px;box-shadow:var(--ml-shadow-raised);padding:14px;font:400 var(--ml-type-body-secondary)/1.45 var(--ml-font-family)}
.one-guest-import-panel h2{font-size:var(--ml-type-body);font-weight:600;margin:0 0 6px}
.one-guest-import-panel p{margin:6px 0;color:var(--ml-text-secondary)}
.one-guest-import-panel ul{margin:8px 0;padding-inline-start:20px}
.one-guest-import-panel a{color:var(--ml-link-fg);display:inline-block;padding-block:5px}
.one-guest-import-actions{display:flex;gap:8px;flex-wrap:wrap}
.one-guest-import-panel button{border:1px solid var(--ml-border-strong);border-radius:8px;background:var(--ml-surface-primary);color:var(--ml-text-primary);min-height:var(--ml-ui-control-height);font:inherit;padding:8px 12px;cursor:pointer}
.one-guest-import-panel button:disabled{opacity:.6;cursor:default}
