/* Splot navigation: compact controls, readable listings, no automatic motion. */
.splot-header-refresh { --sh-bg:#111016; --sh-border:#2c2836; --sh-text:#f6f4fa; --sh-muted:#bab3c9; }
.splot-header-refresh #masthead { background:var(--sh-bg); border-bottom:1px solid var(--sh-border); }
.splot-header-refresh #masthead .king-header { display:flex; align-items:center; gap:20px; min-height:76px; height:auto; max-width:1440px; margin:0 auto; padding:12px 32px; background:transparent; box-sizing:border-box; }
.splot-header-brand { display:flex; align-items:center; gap:8px; color:#fff!important; font-size:28px; font-weight:700; letter-spacing:-1px; flex-shrink:0; line-height:1; }
.splot-header-mark { width:38px; height:38px; display:block; background:linear-gradient(135deg,#8f5cff 15%,#e059d4 60%,#53bde7); -webkit-mask:url('../assets/splot-loader.svg') center/contain no-repeat; mask:url('../assets/splot-loader.svg') center/contain no-repeat; }
.splot-primary-nav { display:flex; gap:24px; margin-left:18px; }
.splot-primary-nav a { color:var(--sh-muted); font-size:15px; padding:12px 0; }
.splot-primary-nav a:hover,.splot-primary-nav a[aria-current] { color:#fff; }
.splot-header-refresh #masthead .king-header-right { display:flex; align-items:center; gap:12px; float:none; margin:0 0 0 auto; position:static; }
.splot-header-refresh .splot-header-utilities { display:flex; align-items:center; gap:12px; }
.splot-header-refresh #masthead .king-head-toggle,.splot-header-refresh #searchv2-button { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:44px; height:44px; min-width:44px; margin:0; padding:0; border:1px solid var(--sh-border); border-radius:12px; color:var(--sh-text); background:transparent; line-height:1; cursor:pointer; }
.splot-header-refresh #masthead .king-head-toggle { display:none; }
.splot-header-refresh .king-submit { margin:0; }
.splot-header-refresh #masthead .king-submit-open { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; height:44px; min-width:100px; padding:0 16px; border:1px solid #a680f2; border-radius:12px; background:#8054cb; color:#fff; font-size:14px; line-height:1; box-shadow:none; }
.splot-header-refresh .king-submit-open i { font-size:14px; }
.splot-header-refresh .userCreditHeader { margin:0; font-size:12px; color:var(--sh-muted); white-space:nowrap; }
.splot-header-refresh .king-notify,.splot-header-refresh .king-logged-user,.splot-header-refresh .king-username,.splot-header-refresh .king-rlater { margin:0; }
.splot-header-refresh .king-rlater,.splot-header-refresh #ntoggle { min-width:44px; min-height:44px; display:flex; align-items:center; justify-content:center; color:var(--sh-text); }
.splot-header-refresh .splot-account-trigger { width:44px; height:44px; }
.splot-header-refresh .splot-account-trigger img { width:36px; height:36px; object-fit:cover; }
.splot-header-refresh :is(button,a,[tabindex]):focus-visible,.splot-signup-strip :is(button,a):focus-visible { outline:2px solid #c8a7ff; outline-offset:3px; }
.splot-header-refresh .splot-create-menu { margin-top:8px; }
.splot-header-refresh .splot-discovery { display:flex; align-items:center; gap:16px; box-sizing:border-box; max-width:1376px; margin:16px auto 24px; padding:6px 8px 6px 18px; min-height:58px; background:#15131c; border:1px solid var(--sh-border); border-radius:14px; color:var(--sh-text); }
.splot-discovery-label { color:var(--sh-muted); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.splot-discovery-items { min-width:0; flex:1; }
.splot-discovery-item { display:flex; align-items:center; gap:20px; color:var(--sh-text)!important; min-height:44px; }
.splot-discovery-item[hidden],.splot-discovery-controls[hidden] { display:none!important; }
.splot-discovery-title { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.splot-discovery-price { flex-shrink:0; margin-left:auto; font-size:14px; font-weight:600; color:#d1b3ff; }
.splot-discovery-price small { font-size:11px; font-weight:400; }
.splot-discovery-controls { display:flex; gap:4px; flex-shrink:0; }
.splot-discovery-controls button { width:44px; height:44px; padding:0; background:transparent; border:1px solid var(--sh-border); border-radius:10px; color:var(--sh-text); font-size:25px; line-height:1; }
.splot-discovery-controls button:hover { background:#2c243a; }
.splot-signup-strip.king-headerstrip { box-sizing:border-box; position:relative; margin:0!important; padding:4px 52px 4px 16px!important; min-height:44px; background:#272033!important; color:#ece4f8!important; border-bottom:1px solid #443451; font-size:12px; }
.splot-signup-strip .king-hs-content { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 10px; margin:0; padding:0; line-height:1.4; }
.splot-signup-strip .king-hs-content p { margin:0; }
.splot-signup-strip .king-hs-button { display:inline-flex; align-items:center; min-height:36px; padding:0 10px; margin:0; border-radius:8px; background:transparent; color:#fff; font-size:12px; font-weight:600; text-decoration:underline; }
.splot-signup-strip .king-hs-close { position:absolute; right:4px; top:0; display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; margin:0; background:transparent; border:0; color:#eee; font-size:16px; }
.splot-mobile-tools { display:none; }
@media(min-width:1100px) and (max-width:1250px) { .splot-header-refresh #masthead .king-header { gap:12px; padding-inline:20px; } .splot-primary-nav { gap:16px; margin-left:0; } .splot-header-refresh #masthead .king-header-right,.splot-header-refresh .splot-header-utilities { gap:6px; } }
@media(max-width:1439px) { .splot-header-refresh .splot-discovery { margin-left:24px; margin-right:24px; } }
@media(max-width:1099px) {
 .splot-header-refresh #masthead .king-header { min-height:68px; padding:10px 20px; gap:12px; }
 .splot-header-refresh #masthead .king-head-toggle { display:inline-flex; }
 .splot-primary-nav { display:none; }
 .splot-header-brand { font-size:26px; }
 .splot-header-mark { width:32px; height:32px; }
 .splot-header-refresh #masthead .splot-header-utilities,.splot-header-refresh #masthead .userCreditHeader { display:none; }
 .splot-header-refresh .king-leftmenu { width:min(360px,calc(100vw - 24px)); max-width:calc(100vw - 24px); }
 .splot-mobile-tools { display:block; padding:16px; margin:0 12px 12px; border:1px solid var(--sh-border); border-radius:14px; background:var(--sh-bg); }
 .splot-mobile-tools .splot-header-utilities { display:flex; justify-content:space-between; gap:12px; }
 .splot-mobile-tools .userCreditHeader { display:block; margin-top:12px; }
 .splot-mobile-tools .user-header-menu,.splot-mobile-tools .king-notify-menu { position:fixed; top:135px; left:16px; right:auto; width:min(300px,calc(100vw - 56px)); max-height:calc(100dvh - 160px); overflow:auto; }
 .splot-header-refresh .king-leftmenu-close { min-width:44px; min-height:44px; }
 .splot-header-refresh .king-leftmenu-nav > .mobile-king-logo-night,.splot-header-refresh .king-leftmenu-nav > .mobile-king-logo { display:none; }
}
@media(max-width:599px) {
 .splot-header-refresh #masthead .king-header { gap:8px; padding:10px 12px; }
 .splot-header-refresh #masthead .king-header-right { gap:6px; }
 .splot-header-brand { gap:5px; font-size:24px; }
 .splot-header-refresh #masthead .king-submit-open { min-width:90px; padding:0 12px; }
 .splot-header-refresh .splot-discovery { margin:12px 12px 20px; padding:6px 6px 6px 12px; gap:8px; border-radius:12px; }
 .splot-discovery-label { display:none; }
 .splot-discovery-item { gap:8px; flex-wrap:wrap; align-content:center; padding:2px 0; }
 .splot-discovery-title { width:100%; font-size:13px; }
 .splot-discovery-price { margin-left:0; font-size:12px; }
 .splot-discovery-controls { gap:2px; }
 .splot-signup-strip.king-headerstrip { font-size:11px; padding-left:10px!important; }
}
@media(max-width:359px) { .splot-header-refresh #masthead .king-header { gap:5px; padding-inline:8px; } .splot-header-brand { font-size:22px; } .splot-header-mark { width:26px; height:26px; } .splot-header-refresh #masthead .king-submit-open { min-width:82px; padding-inline:9px; } }
/* Keep secondary destinations accessible on desktop too. */
.splot-header-refresh #masthead .king-head-toggle { display:inline-flex; }
.splot-header-refresh .king-submit-drop.splot-create-menu { background:#19151f; border:1px solid #383041; border-radius:14px; padding:12px; box-shadow:0 16px 48px #0006; }
.splot-header-refresh .king-submit-drop.splot-create-menu .king-submit-buttons a { background:#25202d; color:#f4effa; border:1px solid #3b3248; border-radius:10px; min-height:48px; }
.splot-header-refresh .king-submit-drop.splot-create-menu .king-submit-buttons a:hover { background:#3c2a52; }
.splot-header-refresh .splot-menu-title { color:#bab3c9; }
.splot-header-refresh .king-notify-num { position:absolute; }
.splot-header-refresh #ntoggle { position:relative; }
@media(max-width:599px) { #page.splot-header-refresh { margin-left:0!important; margin-right:0!important; } }
@media(max-width:599px) { body:has(.splot-header-refresh) { padding:0!important; } }
