/* Appearance settings are available in both OG and Standard. */
#msfAppearanceSettings{flex:0 0 auto;padding:16px 0;border-bottom:1px solid var(--msf-line,#ffffff24);margin:0 0 14px;color:inherit}
#msfAppearanceSettings[hidden]{display:none!important}
#msfAppearanceTitle{font-size:16px;line-height:1.4;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:9px;letter-spacing:0;text-transform:none}
#msfThemeAccess{font-size:10px;font-weight:600;border:1px solid currentColor;padding:2px 6px;border-radius:4px;color:var(--msf-muted,#b6d8fa)}
#msfAppearanceHint{font-size:12px;line-height:1.55;font-weight:400;letter-spacing:0;color:var(--msf-muted,#b1bfce);margin:8px 0 12px;text-transform:none!important}
#msfThemeSelect{box-sizing:border-box;display:block;width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--msf-line,#52637b);border-radius:8px;background:var(--msf-raised,#182332);color:var(--msf-text,#f3f4f6);font-family:inherit;font-weight:600;font-size:15px;line-height:1.5;cursor:pointer;color-scheme:dark}
#msfThemeSelect:focus-visible{outline:3px solid var(--msf-accent,#9ecaff);outline-offset:3px}
#msfThemeStatus{font-size:12px;line-height:1.4;margin:8px 0 0;min-height:0}
#msfThemeStatus:empty{display:none}
#cruSettingsPanel:has(#msfAppearanceSettings:not([hidden])){max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}
@layer msf-themes {
.msf-search-wordmark,.msf-search-mode,.msf-search-mode-wrap,.msf-search-menu-extras,.msf-search-go-icon,.msf-search-footer,.msf-travel-welcome,.msf-theme-caption{display:none!important}

/* Theme tokens also follow the user through counters, planners and dialogs. */
html[data-msf-theme="google"]{color-scheme:light!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design]{--msf-bg:#fff!important;--msf-surface:#fff!important;--msf-raised:#f1f3f4!important;--msf-line:#dadce0!important;--msf-text:#202124!important;--msf-muted:#5f6368!important;--msf-accent:#d32f46!important;--msf-accent-soft:#fce9ed!important;--theme-font:Arial,Helvetica,sans-serif!important;--theme-radius:16px!important;--theme-shadow:0 2px 12px #20212412!important}
html[data-msf-theme="retro"]{color-scheme:light!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design]{--msf-bg:#246b68!important;--msf-surface:#ddd7c5!important;--msf-raised:#ece7d9!important;--msf-line:#77786e!important;--msf-text:#182825!important;--msf-muted:#40524d!important;--msf-accent:#245880!important;--msf-accent-soft:#c5d1d7!important;--theme-font:Tahoma,Verdana,sans-serif!important;--theme-radius:0px!important;--theme-shadow:inset 1px 1px #fff9,inset -1px -1px #4e514e,3px 3px #102f2e60!important}
html[data-msf-theme="vaporwave"]{color-scheme:dark!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design]{--msf-bg:#251042!important;--msf-surface:#170d30!important;--msf-raised:#30204c!important;--msf-line:#b874ed!important;--msf-text:#fff0fd!important;--msf-muted:#d9bde7!important;--msf-accent:#4af9e5!important;--msf-accent-soft:#392257!important;--theme-font:'Courier New',monospace!important;--theme-radius:12px!important;--theme-shadow:4px 5px 0 #110b34,0 0 16px #fa42c72b!important}
html[data-msf-theme="travel"]{color-scheme:light!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design]{--msf-bg:#bfe7f8!important;--msf-surface:#e4f3fb!important;--msf-raised:#fff8d9!important;--msf-line:#6a9cb2!important;--msf-text:#16212d!important;--msf-muted:#394c5b!important;--msf-accent:#000099!important;--msf-accent-soft:#d4e4ff!important;--theme-font:'Times New Roman',Times,serif!important;--theme-radius:0px!important;--theme-shadow:none!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design]{--bg:var(--msf-bg)!important;--surface:var(--msf-surface)!important;--text:var(--msf-text)!important;--muted:var(--msf-muted)!important;background:var(--msf-bg)!important;color:var(--msf-text)!important;font-family:var(--theme-font)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(button,input,textarea,select,h1,h2,h3,.list-title,.list-title-bar,.results-title,.counter-name,.cru-face-name,.nav-inline-link,.msf-home-kicker,.msf-wordmark,.cru-setting-title){font-family:var(--theme-font)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#msfTopNav,#hamburgerMenu,#cruSettingsPanel,.counter-card,.cru-face-card,.cru-counter-card,.fear-ctr-card,.msf-popular-card,.goo-event-tile,.cp-room,.def-slot,.ar-card,.ar-pcard,.tube-card,.msf-defense-storage,.msf-home-tool){background:var(--msf-surface)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important;box-shadow:var(--theme-shadow)!important;color:var(--msf-text)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#hamburgerBtn,#cruSettingsBtn,.back-btn,.cru-set-seg button,.msf-dialog-close,.msf-event-actions button,.nav-inline-link,.msf-card-footer button,.msf-event-card-actions button){background:var(--msf-raised)!important;color:var(--msf-text)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#searchInput,textarea,select,input[type="search"],input[type="text"],input[type="number"],.def-import-input){background:var(--msf-raised)!important;color:var(--msf-text)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#searchBtn,.cru-set-seg button.active,.msf-mode-tabs button[aria-pressed="true"]){background:var(--msf-accent)!important;color:#fff!important;border-color:var(--msf-accent)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#logoTitle,#warSpan,#counterSpan,.results-title,.list-title,.list-title-bar,.counter-name,.cru-face-name,.msf-home-tool strong,.msf-nav-brand,.msf-wordmark,.msf-brand-accent,.cru-setting-title,.cru-setting-label,.ham-item,.ham-subitem,.msf-popular-name){color:var(--msf-text)!important;text-shadow:none!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.msf-home-tool>span:not(.msf-tool-icon),.msf-home-kicker,.msf-search-label,.msf-results-tools,.msf-event-intro,.list-subtitle,.fan-disclaimer,.footer-links,.msf-popular-count,.cru-setting-section,#welcomeGreetingLine1,#welcomeGreetingText){color:var(--msf-muted)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.msf-mode-tabs,.msf-tool-icon,#suggestions){background:var(--msf-raised)!important;color:var(--msf-text)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.msf-mode-tabs button,#offenseBtn,#msfTopNav button,.footer-links a,.ham-subitem,.ham-item){color:var(--msf-text)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(#suggestions>div:hover,#suggestions>div.active,#suggestions>[aria-selected="true"],#hamburgerMenu .ham-item:hover,#hamburgerMenu .ham-subitem:hover){background:var(--msf-accent-soft)!important;color:var(--msf-text)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] input::placeholder{color:var(--msf-muted)!important;opacity:1!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :focus-visible{outline:3px solid var(--msf-accent)!important;outline-offset:3px!important}
html:is([data-msf-theme="google"],[data-msf-theme="retro"],[data-msf-theme="travel"]) #msfThemeSelect{color-scheme:light!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] #counterHomeFooter{border-color:var(--msf-line)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] .msf-theme-caption{display:block!important;text-align:center!important;font:12px/1.5 var(--theme-font)!important;letter-spacing:.04em!important;margin:18px auto 4px!important;color:var(--msf-muted)!important}

/* Minimal Search: one genuine search control, the rest in the top-right menu. */
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design]::before,html[data-msf-theme="google"][data-msf-theme] body[data-msf-design]::after{display:none!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfTopNav{display:none!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #hamburgerBtn{left:auto!important;right:24px!important;top:22px!important;border:0!important;border-radius:50%!important;background:#f1f3f4!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #cruSettingsBtn{right:78px!important;top:22px!important;border:0!important;border-radius:50%!important;background:transparent!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #hamburgerMenu{left:auto!important;right:24px!important;top:74px!important;width:370px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 94px)!important;transform-origin:top right!important;padding:14px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchPage{width:calc(100% - 40px)!important;min-height:calc(100dvh - 24px)!important;padding:clamp(115px,22vh,240px) 0 40px!important;justify-content:flex-start!important;gap:0!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .logo-wrap{margin:0 auto 36px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .logo-wrap>:not(.msf-search-wordmark){display:none!important}
html[data-msf-theme="google"] .msf-search-wordmark{display:block!important;white-space:nowrap!important;font:500 clamp(60px,9vw,90px)/1.12 Arial,Helvetica,sans-serif!important;letter-spacing:-.065em!important;user-select:none!important;padding-right:.065em!important}
html[data-msf-theme="google"] .msf-search-footer{display:block!important;width:100%!important;margin-top:auto!important;padding-top:60px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-footer .footer-links{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:0 20px!important;margin:0!important;padding:0!important;font-size:0!important;line-height:1!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-footer .footer-links a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:8px 4px!important;font:12px/1.4 Arial,Helvetica,sans-serif!important;color:#5f6368!important;text-decoration:none!important;white-space:nowrap!important}
html[data-msf-theme="google"] .msf-search-footer a:hover{text-decoration:underline!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-parody{max-width:680px!important;margin:8px auto 0!important;padding:0 8px!important;font:11px/1.5 Arial,Helvetica,sans-serif!important;color:#5f6368!important;text-align:center!important;white-space:normal!important}
.msf-search-wordmark span:nth-child(-n+3){color:#0b1019!important}
.msf-search-wordmark span:nth-child(n+4){color:#df354c!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .search-wrap{width:min(640px,100%)!important;max-width:640px!important;margin:0 auto!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .search-main-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:0!important;background:#fff!important;border:1px solid #dadce0!important;border-radius:30px!important;box-shadow:0 3px 16px #20212418!important;padding:3px 8px 3px 14px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .search-main-row:focus-within{border-color:#df354c!important;box-shadow:0 3px 20px #20212422!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-mode-wrap{display:flex!important;align-items:center!important;flex:0 0 auto!important;padding-right:12px!important;border-right:1px solid #dadce0!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-mode{display:block!important;flex:0 0 auto!important;max-width:120px!important;width:auto!important;min-height:42px!important;border:0!important;border-right:0!important;border-radius:0!important;padding:0 12px 0 4px!important;background:#fff!important;color:#5f6368!important;font-size:12px!important;font-weight:700!important;letter-spacing:.04em!important;cursor:pointer!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .input-wrap{flex:1 1 0!important;min-width:0!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchInput{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;min-height:48px!important;padding:12px 14px!important;font:16px/1.5 Arial,Helvetica,sans-serif!important;width:100%!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchBtn{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:0!important;font-size:0!important;gap:0!important;border:0!important;border-radius:50%!important;color:#df354c!important;background:transparent!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchBtn:hover{background:#fce9ed!important}
html[data-msf-theme="google"] #searchBtn .msf-search-go-icon{display:block!important;width:22px!important;height:22px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #suggestions{margin-top:12px!important;background:#fff!important;box-shadow:0 8px 28px #20212422!important;border-radius:14px!important;max-height:min(360px,45vh)!important}
html[data-msf-theme="google"] .msf-search-menu-extras{display:block!important;border-bottom:1px solid #dadce0!important;padding-bottom:14px!important;margin-bottom:10px!important}
html[data-msf-theme="google"] .msf-search-menu-heading{font:600 16px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:-.04em!important;padding:8px 12px!important;color:#3c4043!important}
html[data-msf-theme="google"] #msfSearchSettings{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important}
html[data-msf-theme="google"] #msfSearchSettings svg{width:19px!important;height:19px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras :is(#msfLoginBtnWrap,#welcomeGreeting){position:static!important;margin:12px auto!important;width:100%!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras #offenseBtn{display:block!important;width:100%!important;min-height:44px!important;margin:8px 0!important;border:1px solid #dadce0!important;background:#f8fafd!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .msf-home-tools{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:12px 0!important;width:100%!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .msf-home-tool{min-height:74px!important;padding:12px!important;gap:8px!important;border:1px solid #dadce0!important;font-size:12px!important;box-shadow:none!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .msf-home-tool>span{display:none!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .msf-home-tool strong{font-size:13px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras #counterHomeFooter{width:100%!important;margin:0!important;padding:10px 0 0!important;gap:8px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras :is(.home-support-btns,.footer-links){flex-wrap:wrap!important;justify-content:center!important;gap:6px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .footer-links a{font-size:11px!important;padding:5px!important;min-height:30px!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMenuExtras .fan-disclaimer{font-size:10px!important;white-space:normal!important;margin:8px 0!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-theme-caption{display:none!important}

/* Retro OS: teal desktop, warm gray windows, blue title bars, real bevels. */
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design]{background:linear-gradient(135deg,#1e5b5b,#33837a)!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design]::before,html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design]::after{display:none!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] #msfTopNav{border:2px outset #f4efdf!important;border-radius:0!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] :is(#searchBtn,#offenseBtn,.msf-mode-tabs button,.back-btn,#hamburgerBtn,#cruSettingsBtn,.cru-set-seg button,.nav-inline-link){border:2px outset #eee9d9!important;border-radius:0!important;box-shadow:inset 1px 1px #fff7,inset -1px -1px #5557!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] :is(button:active,.msf-mode-tabs button[aria-pressed="true"]){border-style:inset!important;transform:none!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .search-wrap{position:relative!important;background:#ddd7c5!important;padding:49px 22px 18px!important;border:2px outset #eee9d9!important;box-shadow:5px 5px #103d3b70!important;box-sizing:border-box!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .search-wrap::before{content:'Counter Search — MSFWAR'!important;position:absolute!important;top:3px!important;left:3px!important;right:3px!important;height:29px!important;display:flex!important;align-items:center!important;padding:0 10px!important;background:linear-gradient(90deg,#234f7b,#4681a5)!important;color:#fff!important;font:700 13px Tahoma,Verdana,sans-serif!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] #searchInput{border:2px inset #e9e4d5!important;background:#f4f0e5!important;border-radius:0!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] :is(#logoTitle,#warSpan,#counterSpan,.msf-home-kicker,#welcomeGreetingLine1,#welcomeGreetingText){color:#fff6dc!important;font-family:Tahoma,Verdana,sans-serif!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] #logoTitle{letter-spacing:-.055em!important;text-shadow:3px 3px #0d4546!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-home-tool{position:relative!important;padding:50px 18px 18px!important;border:2px outset #eee9d9!important;min-height:145px!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-home-tool strong{position:absolute!important;left:3px!important;right:3px!important;top:3px!important;padding:7px 9px!important;background:#285d83!important;color:#fff!important;font:700 12px/1.4 Tahoma,Verdana,sans-serif!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-tool-icon{border:1px solid #a59f8c!important;color:#214f58!important;background:#eee8d7!important;border-radius:0!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] #counterHomeFooter{background:#ddd7c5!important;border:2px outset #eee9d9!important;padding:18px!important;box-sizing:border-box!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-theme-caption{color:#e5e8c9!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-dialog-heading{background:#275b82!important;margin:-4px -4px 12px!important;padding:8px!important}
html[data-msf-theme="retro"][data-msf-theme] body[data-msf-design] .msf-dialog-heading .cru-setting-title{color:#fff!important}

/* Vaporwave: static sunset and floor grid keep motion out of the search. */
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design]{background:linear-gradient(165deg,#31114e 0%,#682887 42%,#353295 75%,#137d92 100%) fixed!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design]::before{display:block!important;position:fixed!important;content:''!important;width:360px!important;height:360px!important;left:calc(50% - 180px)!important;right:auto!important;top:9vh!important;bottom:auto!important;border-radius:50%!important;background:repeating-linear-gradient(0deg,transparent 0 6px,#441a69 6px 10px),linear-gradient(#fff24e,#ff70bc 65%,#e851c6)!important;opacity:.19!important;filter:none!important;z-index:-1!important;pointer-events:none!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design]::after{display:block!important;position:fixed!important;content:''!important;inset:65% -40% -20%!important;width:auto!important;height:auto!important;background:linear-gradient(#26fce85c 1px,transparent 1px),linear-gradient(90deg,#26fce85c 1px,transparent 1px)!important;background-size:65px 45px!important;transform:perspective(350px) rotateX(48deg)!important;transform-origin:top!important;opacity:.55!important;filter:none!important;z-index:-1!important;pointer-events:none!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] #msfTopNav{border:2px solid #49f4ea!important;border-radius:0!important;box-shadow:0 3px #f644c1!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] :is(#logoTitle,#warSpan,#counterSpan){color:#fff6fe!important;font-family:'Courier New',monospace!important;font-weight:900!important;text-shadow:3px 2px #f139c4,-3px -1px #2af7e1!important;letter-spacing:.005em!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-kicker{color:#5affea!important;letter-spacing:.16em!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .search-wrap{position:relative!important;padding:56px 22px 20px!important;background:#170d30!important;border:3px solid #f775d8!important;border-radius:14px!important;box-shadow:5px 6px 0 #17102f!important;box-sizing:border-box!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .search-wrap::before{content:'COUNTER SEARCH'!important;position:absolute!important;left:0!important;right:0!important;top:0!important;border-radius:10px 10px 0 0!important;padding:9px 16px!important;background:linear-gradient(90deg,#f77dd8,#f4a1ea)!important;color:#250c38!important;font:700 15px/1.3 'Courier New',monospace!important;letter-spacing:.05em!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] :is(#searchBtn,.msf-mode-tabs button[aria-pressed="true"],.cru-set-seg button.active){color:#170d30!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] #searchInput{border:2px solid #5debde!important;background:#25163f!important;border-radius:6px!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-tool{--window-accent:#46ecdf!important;position:relative!important;border:3px solid var(--window-accent)!important;padding:54px 18px 18px!important;min-height:150px!important;overflow:hidden!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-tool:nth-child(2){--window-accent:#f779d5!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-tool:nth-child(3){--window-accent:#fff264!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-tool:nth-child(4){--window-accent:#b39bff!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-home-tool strong{position:absolute!important;top:0!important;left:0!important;right:0!important;margin:0!important;padding:9px 12px!important;color:#200e37!important;background:var(--window-accent)!important;font:700 13px/1.3 'Courier New',monospace!important;text-transform:uppercase!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-tool-icon{color:var(--window-accent)!important;border:1px solid var(--window-accent)!important;border-radius:4px!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] #counterHomeFooter{border-top:2px solid #4af9e5!important}
html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] .msf-theme-caption{color:#71fff1!important;letter-spacing:.12em!important;font-size:11px!important}

/* Cheap Travel: deliberately dated, still readable and fully operable. */
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design]{background-color:#c3e9fc!important;background-image:radial-gradient(ellipse at 15% 23%,#ffffffa6 0%,transparent 45%),radial-gradient(ellipse at 75% 67%,#ffffffb3 0%,transparent 37%),radial-gradient(ellipse at 70% 10%,#a7daee 0%,transparent 40%)!important;background-size:380px 270px,430px 310px,600px 500px!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design]::before,html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design]::after{display:none!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] :is(a,.nav-inline-link,#offenseBtn,.msf-home-tool strong,.msf-nav-brand,.footer-links a){color:#000099!important;text-decoration:underline!important;text-underline-offset:2px!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] #msfTopNav{border:1px solid #66859d!important;background:#def3fc!important;border-radius:0!important;box-shadow:none!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-travel-welcome{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:12px!important;margin:22px 0 10px!important;font:700 17px/1.35 'Times New Roman',serif!important}
html[data-msf-theme="travel"] .msf-travel-welcome strong{font-size:29px!important;font-style:italic!important;color:#b51620!important}
html[data-msf-theme="travel"] .msf-travel-welcome em{font-size:15px!important;font-style:normal!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-home-kicker{display:none!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .logo-wrap{margin:18px auto!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] #logoTitle{font-size:34px!important;text-decoration:underline!important;color:#000099!important;letter-spacing:0!important;font-style:italic!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] :is(#warSpan,#counterSpan){color:#000099!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-mode-tabs{border:1px solid #8198a4!important;background:#e2edf0!important;padding:3px!important;border-radius:0!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] :is(#searchBtn,.msf-mode-tabs button,.back-btn,#hamburgerBtn,#cruSettingsBtn){border:2px outset #f0f0e7!important;border-radius:0!important;background:#ddd!important;color:#000!important;box-shadow:none!important;font-family:Arial,sans-serif!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-mode-tabs button[aria-pressed="true"]{border-style:inset!important;background:#fff7b8!important;color:#000!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] #searchInput{background:#fff!important;border:2px inset #e1e1d8!important;border-radius:0!important;font-family:Arial,sans-serif!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .search-wrap{padding:18px!important;box-sizing:border-box!important;background:#e8f7ff!important;border:1px solid #6b93a9!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-home-tool{border:1px solid #6b93a9!important;border-radius:0!important;background:#e6f5fd!important;box-shadow:none!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-home-tool strong{font:bold italic 19px/1.3 'Times New Roman',serif!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-home-tool>span:not(.msf-tool-icon){font:15px/1.4 'Times New Roman',serif!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-tool-icon{background:#fffbd4!important;border:1px solid #aca680!important;border-radius:0!important;color:#28415b!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] #counterHomeFooter{border-top:3px double #597484!important;padding-top:18px!important}
html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-theme-caption{font-style:italic!important;font-size:15px!important;color:#b51620!important}

@media(max-width:600px){
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchPage{width:calc(100% - 28px)!important;padding-top:clamp(140px,25vh,210px)!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .msf-search-mode{max-width:95px!important;font-size:10px!important;padding-right:5px!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchInput{font-size:16px!important;padding-inline:9px!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .search-main-row{padding-left:8px!important;padding-right:4px!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #hamburgerBtn{right:16px!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #cruSettingsBtn{right:66px!important}
 html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #hamburgerMenu{right:16px!important}
 html:is([data-msf-theme="retro"],[data-msf-theme="vaporwave"]) body[data-msf-design] .search-wrap{padding-left:14px!important;padding-right:14px!important}
 html[data-msf-theme="vaporwave"][data-msf-theme] body[data-msf-design] #logoTitle{font-size:clamp(23px,7vw,34px)!important}
 html:is([data-msf-theme="retro"],[data-msf-theme="vaporwave"]) body[data-msf-design] .msf-home-tool{padding-inline:12px!important}
 html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .msf-travel-welcome{font-size:15px!important;margin-top:12px!important}
 html[data-msf-theme="travel"] .msf-travel-welcome strong{font-size:25px!important}
 html[data-msf-theme="travel"][data-msf-theme] body[data-msf-design] .search-wrap{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] *{scroll-behavior:auto!important}}

html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #logoTitle{display:none!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #cruSettingsBtn{display:flex!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #searchBtn::after{content:""!important;display:block!important;width:22px!important;height:22px!important;background:currentColor!important;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")!important}
html[data-msf-theme="google"] #searchBtn .msf-search-go-icon{display:none!important}
/* Keep result names and secondary actions readable on each palette. */
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.results-team-name,.results-label,.list-section-title,.notes-hint,.cru-team-name,.msf-event-kicker){color:var(--msf-text)!important;font-family:var(--theme-font)!important;text-shadow:none!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.ac-page-btn,#subBtn,#exportCountersBtn,.cm-mtoggle,.cru-set-info,.cru-set-pill,.msf-card-notes,.cm-menu,.cm-mi){color:var(--msf-text)!important;background:var(--msf-raised)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] .cru-set-pill.on{background:var(--msf-accent)!important;color:#fff!important}
html:is([data-msf-theme="google"],[data-msf-theme="retro"],[data-msf-theme="travel"]) body[data-msf-design] .counter-punch-corner.up{color:#236033!important;background:#e4f2e5!important;border-color:#74a47d!important}
html:is([data-msf-theme="google"],[data-msf-theme="retro"],[data-msf-theme="travel"]) body[data-msf-design] .counter-punch-corner.down{color:#9a3030!important;background:#fce5e5!important;border-color:#cd8d8d!important}

html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] #offenseBtn{background:var(--msf-raised)!important;color:var(--msf-text)!important;border:1px solid var(--msf-line)!important}
html:is([data-msf-theme="google"],[data-msf-theme="retro"]) body[data-msf-design] .msf-mode-tabs button[aria-pressed="true"]{color:#fff!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #msfSearchMode{background:#fff!important;border-radius:0!important;border-right:0!important}

html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(div,span,strong,em,p,a,label,small){font-family:var(--theme-font)!important}
html:is([data-msf-theme="google"],[data-msf-theme="retro"],[data-msf-theme="travel"]) body[data-msf-design] #msfLoginBtn{background:#245780!important;border:1px solid #204867!important;padding:6px 14px!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme="vaporwave"] body[data-msf-design] .cru-set-pill.on{color:#170d30!important}

html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .search-main-row{position:relative!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] .input-wrap{position:static!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design] #suggestions{position:absolute!important;left:0!important;right:0!important;top:100%!important;width:auto!important;box-sizing:border-box!important}
html[data-msf-theme="google"][data-msf-theme] body[data-msf-design].arena-mode #msfSearchMenuExtras #offenseBtn{display:none!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] #suggestions mark{color:var(--msf-accent)!important;background:transparent!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.letter-section,.meta-card,.msf-list-tabs,.team-row,.cp-room-header,.def-team-slot,.def-panel,.def-card){background:var(--msf-surface)!important;color:var(--msf-text)!important;border-color:var(--msf-line)!important;border-radius:var(--theme-radius)!important}
html[data-msf-theme]:not([data-msf-theme="standard"]) body[data-msf-design] :where(.letter-label,.letter-header,.team-row,.team-row a,.cp-room-title,.meta-name,.counter-note-hint){color:var(--msf-text)!important}
}
