/* ShortcutGames shared navigation + search, v20261021-4. Appended last on each public HTML page. */
:root{--sg-side-width:226px;--sg-shell-header:85px;--sg-shell-ink:#171719;--sg-shell-line:#e9e9ec}
body.sg-shared-shell{overflow-x:clip}
body.sg-shared-shell .sg-site-header{
 box-sizing:border-box!important;position:sticky!important;inset:0 0 auto!important;z-index:1500!important;
 width:100%!important;max-width:100%!important;height:var(--sg-shell-header)!important;min-height:var(--sg-shell-header)!important;
 display:flex!important;justify-content:center!important;align-items:center!important;padding:0 18px!important;
 border:0!important;border-bottom:1px solid var(--sg-shell-line)!important;background:#fff!important;
 background-image:none!important;box-shadow:none!important;overflow:visible!important;
}
body.sg-shared-shell .sg-site-header .logo{position:static!important;transform:none!important;display:flex!important;justify-content:center!important;align-items:center!important;flex:1!important;margin:0!important;padding:0!important;line-height:1!important;z-index:auto!important}
body.sg-shared-shell .sg-site-header .logo a{display:flex;justify-content:center;align-items:center}
body.sg-shared-shell .sg-site-header .logo img{width:90px!important;height:71px!important;max-height:71px!important;max-width:90px!important;object-fit:contain!important}
body.sg-shared-shell #nav{display:none!important;visibility:hidden!important;pointer-events:none!important}
body.sg-shared-shell #overlay{display:none!important}
body.sg-shared-shell .sg-site-header .hamburger{position:absolute!important;left:20px!important;top:34px!important;margin:0!important;width:23px!important;height:18px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;z-index:1511!important;background:transparent!important;border:0!important;cursor:pointer!important;transform:none!important}
body.sg-shared-shell .sg-site-header .hamburger div{width:100%!important;height:2.6px!important;flex:0 0 2.6px!important;background:#151515!important;border:0!important;border-radius:3px!important;transition:transform .17s ease,opacity .15s ease!important}
body.sg-shared-shell .sg-site-header .hamburger.open div:first-child{transform:translateY(7.5px) rotate(45deg)!important}
body.sg-shared-shell .sg-site-header .hamburger.open div:nth-child(2){opacity:0!important}
body.sg-shared-shell .sg-site-header .hamburger.open div:last-child{transform:translateY(-7.5px) rotate(-45deg)!important}
body.sg-shared-shell .sg-site-header .hamburger:focus-visible,body.sg-shared-shell .sg-site-header .search-btn:focus-visible{outline:3px solid #4b4b4f!important;outline-offset:6px!important}
/* Exactly one sidebar for homepage, category pages, and all standard game pages. */
body.sg-shared-shell #sgSidebar{display:none!important}
.sg-shared-sidebar{box-sizing:border-box!important;position:fixed!important;z-index:1400!important;left:0!important;top:var(--sg-shell-header)!important;bottom:0!important;width:var(--sg-side-width)!important;height:auto!important;max-height:calc(100dvh - var(--sg-shell-header))!important;display:block!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:#c7c7ca transparent!important;background:#fff!important;border:0!important;border-right:1px solid var(--sg-shell-line)!important;box-shadow:none!important;padding:19px 11px 26px!important;transform:translateX(0)!important;transition:transform .2s ease!important;font-family:Inter,'Segoe UI',Arial,sans-serif!important}
.sg-shared-sidebar *{box-sizing:border-box!important}
.sg-shared-sidebar .sg-side-group{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;margin:0!important;padding:0!important}
.sg-shared-sidebar .sg-side-primary{padding-bottom:15px!important;border-bottom:1px solid var(--sg-shell-line)!important;margin-bottom:15px!important}
.sg-shared-sidebar .sg-side-caption{font:800 10px/1.4 Inter,'Segoe UI',Arial,sans-serif!important;letter-spacing:1.3px!important;color:#8a8b91!important;padding:7px 9px 10px!important;margin:0!important}
.sg-shared-sidebar .sg-extra-heading{padding-top:18px!important;margin-top:11px!important;border-top:1px solid var(--sg-shell-line)!important}
.sg-shared-sidebar .sg-side-link{display:flex!important;align-items:center!important;gap:11px!important;min-height:39px!important;padding:9px 10px!important;border:0!important;border-radius:7px!important;background:#fff!important;color:#27272a!important;text-decoration:none!important;text-transform:none!important;font:750 12.5px/1.25 Inter,'Segoe UI',Arial,sans-serif!important;white-space:normal!important;letter-spacing:-.15px!important;box-shadow:none!important;transition:background-color .12s ease!important}
.sg-shared-sidebar .sg-side-link:hover,.sg-shared-sidebar .sg-side-link:focus-visible{background:#f1f1f3!important;outline:none!important}
.sg-shared-sidebar .sg-side-link.selected{color:#fff!important;background:#19191d!important}
.sg-shared-sidebar .sg-side-link.selected:hover{background:#303035!important}
.sg-shared-sidebar .sg-side-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;flex:0 0 20px!important;color:#8b8598!important;font:19px/1 Arial,sans-serif!important;filter:none!important}
.sg-shared-sidebar .selected .sg-side-icon{color:#fff!important}
.sg-shared-sidebar .sg-side-footer{font:800 10px/1.3 Inter,Arial,sans-serif!important;letter-spacing:1px!important;color:#a2a2a8!important;padding:22px 10px 12px!important}
body.sg-shared-shell:not(.sg-shell-collapsed)>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer){margin-left:var(--sg-side-width)!important;max-width:calc(100% - var(--sg-side-width))!important;width:calc(100% - var(--sg-side-width))!important}
body.sg-shared-shell.sg-shell-collapsed .sg-shared-sidebar{transform:translateX(-105%)!important}
body.sg-shared-shell.sg-shell-collapsed>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer){margin-left:0!important;max-width:100%!important;width:100%!important}
/* Category mosaics remain full width inside the available content area. */
body.sg-shared-shell.sg-v09-category main.sg-category-main{min-width:0!important;margin-top:0!important;margin-bottom:0!important}
body.sg-shared-shell .sg-category-main .sg-cat-grid,body.sg-shared-shell .sg-category-main .hero-games-row{min-width:0!important}
body.sg-shared-shell .sg-layout .sg-body{min-width:0!important;width:100%!important;flex:1 1 auto!important}
/* Desktop: identical inline header search on all pages. */
body.sg-shared-shell .sg-site-header .search-btn{display:none!important}
body.sg-shared-shell .sg-site-header .search-panel,body.sg-shared-shell .sg-site-header .search-panel.active{
 box-sizing:border-box!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 position:absolute!important;z-index:1510!important;right:20px!important;left:auto!important;top:50%!important;
 width:min(350px,calc(100vw - 170px))!important;max-width:none!important;min-height:0!important;height:43px!important;max-height:none!important;
 margin:0!important;padding:0!important;background:#f4f4f6!important;border:1px solid #e3e3e8!important;border-radius:10px!important;
 box-shadow:none!important;overflow:visible!important;transform:translateY(-50%)!important;transition:none!important;
}
body.sg-shared-shell .sg-site-header .search-panel::before,body.sg-shared-shell .sg-site-header .search-panel::after{display:none!important;content:none!important}
body.sg-shared-shell .sg-site-header .search-input-wrap{display:flex!important;align-items:center!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0 13px!important;background:transparent!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
body.sg-shared-shell .sg-site-header .search-input{box-sizing:border-box!important;display:block!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;color:#202024!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;font:500 13px/1.4 Inter,'Segoe UI',Arial,sans-serif!important;min-width:0!important;appearance:none!important;-webkit-appearance:none!important}
body.sg-shared-shell .sg-site-header .search-input::placeholder{color:#83838d!important;opacity:1!important}
body.sg-shared-shell .sg-site-header .search-panel:focus-within{border-color:#c1c1ca!important;box-shadow:0 0 0 3px #2222220e!important}
body.sg-shared-shell .sg-site-header .search-results:not([hidden]){box-sizing:border-box!important;display:block!important;visibility:visible!important;position:absolute!important;top:calc(100% + 7px)!important;left:-1px!important;right:-1px!important;width:calc(100% + 2px)!important;z-index:1520!important;max-height:min(65dvh,430px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:7px!important;margin:0!important;background:#fff!important;border:1px solid #dedee3!important;border-radius:11px!important;box-shadow:0 17px 36px #11111125!important;opacity:1!important;transform:none!important}
body.sg-shared-shell .sg-site-header .search-results[hidden]{display:none!important}
.sg-shared-sidebar a:focus-visible,.sg-search-result:focus-visible{outline:2px solid #151518!important;outline-offset:2px!important}
.sg-search-result{display:flex!important;align-items:center!important;gap:11px!important;min-height:60px!important;margin:0!important;padding:7px 8px!important;border-radius:8px!important;background:#fff!important;border:0!important;color:#19191b!important;text-decoration:none!important;cursor:pointer!important;transition:background-color .12s ease!important}
.sg-search-result:hover,.sg-search-result.is-current{background:#f2f2f5!important}
.sg-search-result img,.sg-search-cover-fallback{box-sizing:border-box!important;width:58px!important;height:44px!important;flex:0 0 58px!important;object-fit:cover!important;border:1px solid #e8e8ea!important;border-radius:6px!important;background:#eeeef1!important;display:block!important}
.sg-search-cover-fallback{display:grid!important;place-items:center!important;font-size:20px!important;color:#444!important}
.sg-search-copy{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.sg-search-name{display:block!important;font:750 13px/1.3 Inter,'Segoe UI',Arial,sans-serif!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#17171a!important}
.sg-search-meta{font:500 11px/1.25 Inter,Arial,sans-serif!important;color:#74747c!important}
.sg-search-empty,.sg-search-hint,.sg-search-loading{padding:15px 12px!important;color:#676771!important;font:500 13px/1.45 Inter,Arial,sans-serif!important}
.sg-search-heading{padding:10px 8px 6px!important;color:#74747c!important;font:800 10px/1.25 Inter,Arial,sans-serif!important;letter-spacing:.9px!important;text-transform:uppercase!important}
.sg-search-chip-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:4px 7px 11px!important}
.sg-search-chip{color:#202026!important;background:#f6f6f7!important;border:1px solid #e2e2e6!important;padding:8px 10px!important;border-radius:20px!important;font:650 12px/1 Inter,Arial,sans-serif!important;text-decoration:none!important}
.sg-search-chip:hover{border-color:#aaa!important}
.sg-shell-shade{position:fixed!important;inset:var(--sg-shell-header) 0 0!important;z-index:1390!important;background:rgba(0,0,0,.46)!important;display:none!important}
.sg-shell-shade[hidden]{display:none!important}
/* Immersive originals: keep game UI unobstructed; menu opens via a floating entry point. */
body.sg-shared-standalone .sg-shared-sidebar{top:0!important;max-height:100dvh!important;height:100dvh!important;width:246px!important;z-index:2147480000!important;transform:translateX(-105%)!important}
body.sg-shared-standalone.sg-side-open .sg-shared-sidebar{transform:translateX(0)!important}
body.sg-shared-standalone .sg-shell-shade{inset:0!important;z-index:2147479999!important}
.sg-standalone-menu-toggle{position:fixed!important;bottom:16px!important;left:16px!important;z-index:2147479000!important;background:#19191d!important;color:#fff!important;border:1px solid #444!important;border-radius:999px!important;padding:11px 14px!important;box-shadow:0 4px 14px #0003!important;font:750 12px/1.2 Arial,sans-serif!important;cursor:pointer!important}
.sg-standalone-menu-toggle span{margin-left:5px!important}
@media(max-width:820px){
 :root{--sg-shell-header:76px}
 body.sg-shared-shell .sg-site-header{height:76px!important;min-height:76px!important}
 body.sg-shared-shell .sg-site-header .hamburger{left:18px!important;top:29px!important}
 body.sg-shared-shell .sg-site-header .logo img{max-height:67px!important;height:67px!important;width:85px!important}
 body.sg-shared-shell .sg-site-header .search-btn{position:absolute!important;top:16px!important;right:12px!important;z-index:1512!important;display:grid!important;place-items:center!important;visibility:visible!important;width:44px!important;height:44px!important;padding:0!important;background:transparent!important;color:#19191d!important;border:0!important;border-radius:50%!important;opacity:1!important;transform:none!important;cursor:pointer!important}
 body.sg-shared-shell .sg-site-header .search-btn svg{display:block!important;width:23px!important;height:23px!important}
 body.sg-shared-shell .sg-site-header .search-panel,body.sg-shared-shell .sg-site-header .search-panel.active{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;position:absolute!important;top:calc(100% + 9px)!important;right:12px!important;left:12px!important;transform:none!important;width:auto!important;height:49px!important;max-width:none!important;background:#fff!important;border:1px solid #dddde3!important;border-radius:12px!important;box-shadow:0 8px 30px #0002!important;z-index:1550!important}
 body.sg-shared-shell .sg-site-header.sg-search-open .search-panel,body.sg-shared-shell .sg-site-header.sg-search-open .search-panel.active{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 body.sg-shared-shell .sg-site-header .search-input{font-size:15px!important}
 body.sg-shared-shell .sg-site-header .search-results:not([hidden]){top:calc(100% + 6px)!important;max-height:min(59dvh,430px)!important}
 body.sg-shared-shell .sg-shared-sidebar{position:fixed!important;left:0!important;top:76px!important;bottom:0!important;width:min(256px,82vw)!important;max-height:calc(100dvh - 76px)!important;z-index:1450!important;box-shadow:9px 0 22px #0002!important;transform:translateX(-105%)!important}
 body.sg-shared-shell.sg-side-open .sg-shared-sidebar{transform:translateX(0)!important}
 body.sg-shared-shell>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer),body.sg-shared-shell.sg-shell-collapsed>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer){margin-left:0!important;max-width:100%!important;width:100%!important}
 body.sg-shared-shell .sg-layout{padding:0!important}
 body.sg-shared-shell .sg-site-header .search-panel:focus-within{box-shadow:0 8px 30px #0002!important}
}
@media(max-width:430px){body.sg-shared-shell .sg-site-header .logo img{max-height:62px!important;height:62px!important;width:80px!important}.sg-search-result img{width:52px!important;flex-basis:52px!important}.sg-search-name{font-size:12.5px!important}}
@media(prefers-reduced-motion:reduce){.sg-shared-sidebar,.sg-search-result,.sg-site-header .hamburger div{transition:none!important}}
/* Mobile must override the desktop content shift with equal-or-higher specificity. */
@media(max-width:820px){
 body.sg-shared-shell:not(.sg-shell-collapsed)>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer),
 body.sg-shared-shell.sg-shell-collapsed>:is(main,.sg-layout,.game-intro,.game-links,.more-games,.about-section,.browse-categories-section,.sg-related,.sg-discover,section,footer){margin-left:0!important;max-width:100%!important;width:100%!important}
 body.sg-shared-shell main{min-width:0!important}
}
