/* ==========================================================================
   GTX "Spotlight" header (9 Oct 2026) - gtx-spotlight.php / js/gtx-spotlight.js
   Loaded only when the header variant is "spotlight" (wp option gtx_header_variant).
   Everything is scoped to .gtx-sl* so the page, the footer and the classic header CSS are untouched.
   ========================================================================== */
.gtx-sl, .gtx-sl-search, .gtx-sl-mm {
    --sl-bg: #07070b; --sl-ink: #f5f5fa; --sl-mute: #b9b9cc; --sl-dim: #9a9ab0; --sl-line: rgba(255,255,255,.1);
    --sl-o: #ff6b00; --sl-o2: #ff9a3d; --sl-hd: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
    --sl-tx: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --sl-h: 72px;
    color: var(--sl-ink); font: 16px/1.45 var(--sl-tx); -webkit-font-smoothing: antialiased; text-align: left;
}
.gtx-sl *, .gtx-sl-search *, .gtx-sl-mm * { box-sizing: border-box; }
.gtx-sl a, .gtx-sl-search a, .gtx-sl-mm a, .gtx-sl a:hover, .gtx-sl-search a:hover, .gtx-sl-mm a:hover { color: inherit; text-decoration: none !important; }
.gtx-sl ul, .gtx-sl-mm ul { list-style: none; margin: 0; padding: 0; }
.gtx-sl li { margin: 0; padding: 0; }
.gtx-sl p, .gtx-sl-search p, .gtx-sl-mm p { margin: 0; }
.gtx-sl button, .gtx-sl-search button, .gtx-sl-mm button, .gtx-sl-mm summary {
    font: inherit; color: inherit; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; padding: 0; margin: 0;
    text-transform: none; letter-spacing: normal; line-height: inherit; min-height: 0; width: auto; height: auto;
}
/* bb-theme paints every button blue on :hover/:focus/:active (button:hover {background-color:#2b7bb9 ...}) */
.gtx-sl button:hover, .gtx-sl button:focus, .gtx-sl button:active, .gtx-sl-search button:hover, .gtx-sl-search button:focus, .gtx-sl-search button:active,
.gtx-sl-mm button:hover, .gtx-sl-mm button:focus, .gtx-sl-mm button:active { background-color: transparent; border-color: transparent; outline: none; }
.gtx-sl img, .gtx-sl-search img, .gtx-sl-mm img { display: block; max-width: none; border: 0; }
.gtx-sl [hidden], .gtx-sl-search[hidden], .gtx-sl-search [hidden], .gtx-sl-mm[hidden], .gtx-sl-mm [hidden], .gtx-sl-scrim[hidden] { display: none !important; }
.gtx-sl :focus-visible, .gtx-sl-search :focus-visible, .gtx-sl-mm :focus-visible { outline: 2px solid var(--sl-o2); outline-offset: 3px; border-radius: 6px; }
.gtx-sl-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gtx-sl-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gtx-sl-h, .gtx-sl-mh { font: 700 13px var(--sl-hd) !important; letter-spacing: 2px; text-transform: uppercase; color: var(--sl-dim); }

/* ---------- bar ---------- */
.gtx-sl { position: fixed; top: 0; left: 0; right: 0; z-index: 100000; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
body.admin-bar .gtx-sl { top: 32px; }
.gtx-sl-spacer { height: var(--sl-h, 72px); }
.gtx-sl.is-away { transform: translateY(-100%); }
body.admin-bar .gtx-sl.is-away { transform: translateY(calc(-100% - 32px)); }
.gtx-sl-bar {
    position: relative; height: 72px; display: flex; align-items: center; gap: 6px;
    padding: 0 max(24px, calc((100vw - 1400px) / 2));
    background: linear-gradient(180deg, rgba(7,7,11,.97), rgba(7,7,11,.92)); border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .3s, border-color .3s;
}
.gtx-sl.is-solid .gtx-sl-bar { background: rgba(10,10,16,.82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--sl-line); }
.gtx-sl-brand { flex: none; margin-right: 18px; }
.gtx-sl-brand img { height: 46px; width: auto; }
.gtx-sl-nav { display: flex; }
.gtx-sl-navl { display: flex; gap: 2px; }
.gtx-sl .gtx-sl-nb {
    position: relative; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 13px; border-radius: 10px;
    font: 700 17px/1 var(--sl-hd); letter-spacing: .6px; color: #fff; text-transform: uppercase; white-space: nowrap;
}
.gtx-sl-nb .gtx-sl-i { width: 14px; height: 14px; transition: transform .25s; opacity: .75; }
.gtx-sl-nb::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sl-o), var(--sl-o2)); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.gtx-sl-nb:hover::after, .gtx-sl-nb[aria-expanded="true"]::after { transform: scaleX(1); }
.gtx-sl-nb[aria-expanded="true"] .gtx-sl-i { transform: rotate(180deg); }
.gtx-sl .gtx-sl-bar .gtx-sl-find {
    margin-left: auto; display: flex; align-items: center; gap: 10px; width: min(304px, 21vw); min-width: 136px; height: 46px; padding: 0 8px 0 14px;
    border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--sl-mute); font-size: 15px;
    transition: background .2s, border-color .2s, box-shadow .3s;
}
.gtx-sl .gtx-sl-bar .gtx-sl-find:hover, .gtx-sl .gtx-sl-bar .gtx-sl-find:focus-visible { background: rgba(255,255,255,.11); border-color: rgba(255,154,61,.55); box-shadow: 0 0 0 4px rgba(255,107,0,.12); }
.gtx-sl-find .gtx-sl-i { color: var(--sl-o2); }
.gtx-sl-find span { text-align: left; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtx-sl-find kbd, .gtx-sl-sx kbd { font: 600 12px var(--sl-tx); color: var(--sl-mute); border: 1px solid var(--sl-line); border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; background: rgba(0,0,0,.3); }
.gtx-sl .gtx-sl-ib { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; transition: background .2s; flex: none; }
.gtx-sl .gtx-sl-ib:hover { background: rgba(255,255,255,.08); }
.gtx-sl-ib img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; }
.gtx-sl .gtx-sl-pbtn {
    display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 13px; flex: none;
    font: 700 16px var(--sl-hd); letter-spacing: .6px; text-transform: uppercase; color: #000; white-space: nowrap;
    background: linear-gradient(135deg, var(--sl-o), var(--sl-o2)); box-shadow: 0 8px 30px -8px rgba(255,107,0,.7), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s, box-shadow .2s;
}
.gtx-sl-pbtn:hover { transform: translateY(-1px); }
.gtx-sl-pbtn .gtx-sl-i { width: 16px; height: 16px; }
.gtx-sl-popw { position: static; }
.gtx-sl-m { display: none !important; }

/* ---------- mega panels ---------- */
.gtx-sl-scrim { position: fixed; inset: 0; z-index: 99990; background: rgba(4,4,8,.55); }
.gtx-sl-mega {
    display: none; position: absolute; left: 50%; top: 78px; width: min(1400px, calc(100vw - 40px)); max-height: calc(100vh - 96px); overflow: auto; overscroll-behavior: contain;
    transform: translate(-50%, -8px); opacity: 0; transition: opacity .2s, transform .3s cubic-bezier(.2,.8,.2,1);
    background: linear-gradient(180deg, rgba(18,18,26,.985), rgba(10,10,15,.99)); border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
    box-shadow: 0 40px 120px -20px #000, 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
body.admin-bar .gtx-sl-mega { max-height: calc(100vh - 128px); }
.gtx-sl-mega.is-on { display: block; }
.gtx-sl-mega.is-open { opacity: 1; transform: translate(-50%, 0); }
.gtx-sl-mega::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,154,61,.8), transparent); }
.gtx-sl-mg { display: grid; grid-template-columns: 236px minmax(360px, 460px) 1fr; min-height: 470px; }
.gtx-sl-cats { padding: 20px 14px; border-right: 1px solid var(--sl-line); display: flex; flex-direction: column; gap: 2px; }
.gtx-sl-cats .gtx-sl-h { margin: 0 12px 10px; }
.gtx-sl-cats [role="tablist"] { display: flex; flex-direction: column; gap: 2px; }
.gtx-sl .gtx-sl-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; font: 700 17px/1.2 var(--sl-hd); color: var(--sl-mute); text-align: left; transition: background .15s, color .15s; }
.gtx-sl-cat small { font: 600 12px var(--sl-tx); color: var(--sl-dim); }
.gtx-sl .gtx-sl-cat:hover { background: rgba(255,255,255,.05); color: #fff; }
.gtx-sl .gtx-sl-cat[aria-selected="true"] { background: rgba(255,107,0,.14); color: #fff; box-shadow: inset 3px 0 0 var(--sl-o); }
.gtx-sl-ask { margin: 14px 0 12px; padding: 14px; border-radius: 14px; background: linear-gradient(160deg, rgba(88,101,242,.25), rgba(88,101,242,.05)); border: 1px solid rgba(120,130,255,.3); font-size: 14px; color: #d9dbff; }
.gtx-sl-ask b { display: flex; align-items: center; gap: 6px; font: 700 16px var(--sl-hd); color: #fff; margin-bottom: 4px; }
.gtx-sl-ask b .gtx-sl-i { width: 18px; height: 18px; color: #aab2ff; }
.gtx-sl-ask a { color: #fff !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.gtx-sl-allg { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 12px; border: 1px dashed rgba(255,154,61,.45); color: #fff; font: 700 16px var(--sl-hd); letter-spacing: .3px; }
.gtx-sl-allg .gtx-sl-i { color: var(--sl-o2); margin-left: auto; }
.gtx-sl-allg:hover { background: rgba(255,107,0,.1); }
.gtx-sl-glist { padding: 18px 12px; border-right: 1px solid var(--sl-line); }
/* genres with more than 8 games: compact 2-column grid, never a scroll bar (Matthew, 9 Oct 2026) */
.gtx-sl-glist ul.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.gtx-sl-glist ul.is-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.is-grid .gtx-sl-gr { grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 11px; row-gap: 1px; align-content: center; min-height: 50px; padding: 6px 10px 6px 6px; border-radius: 10px; }
.is-grid .gtx-sl-th { grid-row: 1 / 3; align-self: center; width: 38px; height: 38px; border-radius: 9px; }
.is-grid .gtx-sl-tl { padding: 3px; }
.is-grid .gtx-sl-tl b { font-size: 13px; }
.is-grid .gtx-sl-gn { grid-column: 2; display: block; font-size: 16px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-grid .gtx-sl-gr .gtx-sl-gp { grid-column: 2; font-size: 14px; line-height: 1.2; }
.is-grid .gtx-sl-gp small { font-size: 12px; }
.is-grid.is-dense .gtx-sl-gr { min-height: 42px; padding-top: 3px; padding-bottom: 3px; }
.gtx-sl-gr { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 7px 12px 7px 8px; border-radius: 12px; transition: background .15s; }
.gtx-sl-th { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.gtx-sl-tl { display: grid; place-items: center; padding: 5px; background: radial-gradient(circle at 30% 20%, hsl(var(--h) 55% 30%), hsl(var(--h) 45% 10%)); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.gtx-sl-tl img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gtx-sl-tl b { font: 700 15px var(--sl-hd); color: #fff; }
.gtx-sl-gn { font: 700 18px/1.2 var(--sl-hd); color: #fff; }
.gtx-sl-gr .gtx-sl-gp { font: 700 16px var(--sl-hd); color: #fff; white-space: nowrap; }
.gtx-sl-gp small { font: 500 12px var(--sl-tx); color: var(--sl-dim); }
.gtx-sl-gr:hover, .gtx-sl-gr:focus-visible, .gtx-sl-gr.is-on { background: linear-gradient(90deg, rgba(255,107,0,.16), rgba(255,107,0,.02)); outline: 0; }
.gtx-sl-gr:hover .gtx-sl-gn, .gtx-sl-gr.is-on .gtx-sl-gn { color: var(--sl-o2); }
/* spotlight */
.gtx-sl-spot { position: relative; margin: 14px; border-radius: 16px; overflow: hidden; isolation: isolate; background: #0d0d14; min-height: 440px; }
.gtx-sl-ly { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .5s ease, transform 6s ease; z-index: -2; }
.gtx-sl-ly.is-off { opacity: 0; }
.gtx-sl-mega.is-open .gtx-sl-ly:not(.is-off) { transform: scale(1.05); }
.gtx-sl-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,7,11,.92) 0%, rgba(7,7,11,.55) 45%, rgba(7,7,11,.1) 75%), linear-gradient(0deg, rgba(7,7,11,.9), transparent 55%); }
.gtx-sl-spk { position: absolute; top: 20px; left: 24px; padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); font: 700 13px var(--sl-hd); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.gtx-sl-spin { position: absolute; left: 30px; bottom: 28px; right: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.gtx-sl-splogo { height: 84px; width: auto; max-width: min(340px, 100%); object-fit: contain; object-position: left bottom; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }
.gtx-sl-spname { font: 700 42px/1 var(--sl-hd) !important; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.gtx-sl-spmeta { display: flex; flex-wrap: wrap; gap: 10px; }
.gtx-sl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: #fff; }
.gtx-sl-chip b { font: 700 17px var(--sl-hd); color: var(--sl-o2); }
.gtx-sl-chip .gtx-sl-i { width: 16px; height: 16px; color: var(--sl-o2); }
.gtx-sl-live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: gtx-sl-pulse 2s infinite; }
@keyframes gtx-sl-pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.gtx-sl-spcta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.gtx-sl-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font: 700 17px var(--sl-hd); letter-spacing: .5px; text-transform: uppercase; }
.gtx-sl-btn .gtx-sl-i { width: 17px; height: 17px; }
.gtx-sl .gtx-sl-btn-o { color: #000 !important; background: linear-gradient(135deg, var(--sl-o), var(--sl-o2)); box-shadow: 0 10px 30px -10px rgba(255,107,0,.9); }
.gtx-sl-btn-o:hover { filter: brightness(1.08); }
.gtx-sl-btn-g { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.gtx-sl-btn-g:hover { background: rgba(255,255,255,.16); }
.gtx-sl-mfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 13px 24px; border-top: 1px solid var(--sl-line); background: rgba(255,255,255,.02); font-size: 14px; color: var(--sl-mute); }
.gtx-sl-mfoot a, .gtx-sl .gtx-sl-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; }
.gtx-sl-mfoot a:hover, .gtx-sl-link:hover { color: var(--sl-o2) !important; }
.gtx-sl-mfoot .gtx-sl-i { width: 17px; height: 17px; color: var(--sl-o2); }
.gtx-sl-mfoot .gtx-sl-r { margin-left: auto; }
/* hosting / guides / support */
.gtx-sl-hg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; }
.gtx-sl-hc { position: relative; border-radius: 16px; padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--sl-line); min-height: 300px; display: flex; flex-direction: column; background-size: cover; background-position: center; }
.gtx-sl-hh { display: flex; align-items: center; gap: 10px; font: 700 23px/1.15 var(--sl-hd); color: #fff; }
.gtx-sl-hh .gtx-sl-i { color: var(--sl-o2); width: 24px; height: 24px; }
.gtx-sl-hh:hover { color: var(--sl-o2) !important; }
.gtx-sl-hc > p { margin: 6px 0 12px; color: var(--sl-mute); font-size: 14px; }
.gtx-sl-hl { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; margin: 0 -8px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.gtx-sl-hl .gtx-sl-i { width: 16px; height: 16px; color: var(--sl-dim); transition: transform .2s, color .2s; }
.gtx-sl-hl:hover { background: rgba(255,107,0,.12); }
.gtx-sl-hl:hover .gtx-sl-i { transform: translateX(3px); color: var(--sl-o2); }
.gtx-sl-hg3 { grid-template-columns: repeat(3, 1fr); }
/* Dedicated as its own top-level item (trial 9 Oct 2026; revert: SWITCH.md) */
.gtx-sl-mega-s { width: min(920px, calc(100vw - 40px)); }
.gtx-sl-dg { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 18px; }
.gtx-sl-dg .gtx-sl-hc { min-height: 290px; overflow: hidden; }
.gtx-sl .gtx-sl-dgo { margin-top: auto; align-self: flex-start; }
.gtx-sl-dcard { background: radial-gradient(120% 90% at 100% 0%, rgba(255,107,0,.13), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
.gtx-sl-dcard > p { margin-bottom: 14px; }
.gtx-sl .gtx-sl-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 20px; }
.gtx-sl .gtx-sl-sp { --a: #e8423a; position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 12px 12px 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.gtx-sl-sp::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--a); box-shadow: 0 0 14px var(--a); }
.gtx-sl-sp::after { content: ""; position: absolute; right: -24px; top: -24px; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, var(--a), transparent 70%); opacity: .16; }
.gtx-sl-sp small { font: 700 10.5px/1 var(--sl-tx); letter-spacing: 1.4px; text-transform: uppercase; color: var(--a); filter: brightness(1.25); }
.gtx-sl-sp b { font: 700 20px/1.15 var(--sl-hd); letter-spacing: .5px; color: #fff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtx-sl-sp span { font-size: 12.5px; line-height: 1.3; color: var(--sl-mute); }
.gtx-sl-sp-mem { --a: #ff9a3d; } .gtx-sl-sp-ssd { --a: #3fd0ff; } .gtx-sl-sp-net { --a: #4fe08a; }
.gtx-sl-dl { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.gtx-sl-dl .gtx-sl-hl { margin: 0; padding: 14px 14px; font-size: 16px; }
.gtx-sl-gg { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; padding: 18px; }
.gtx-sl-hub { position: relative; border-radius: 16px; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 24px; background: #111 center / cover; border: 1px solid var(--sl-line); }
.gtx-sl-hub::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,7,11,.96) 25%, rgba(7,7,11,.25)); }
.gtx-sl-hub > * { position: relative; }
.gtx-sl-hub img { height: 52px; width: auto; max-width: 260px; object-fit: contain; object-position: left; margin-bottom: 10px; }
.gtx-sl-hub b { font: 700 25px/1.1 var(--sl-hd); color: #fff; }
.gtx-sl-hub > span:last-child { color: var(--sl-mute); font-size: 14px; }
.gtx-sl-hub:hover b { color: var(--sl-o2); }
.gtx-sl-tag { position: absolute !important; top: 18px; right: 18px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 700 11px var(--sl-tx); letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; background: rgba(63,208,255,.14); color: #8fe3ff; box-shadow: inset 0 0 0 1px rgba(63,208,255,.4); }
.gtx-sl-lat { border-radius: 16px; border: 1px solid var(--sl-line); padding: 18px 12px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; }
.gtx-sl-lat .gtx-sl-h { margin: 0 12px 8px; }
.gtx-sl-ar { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.35; }
.gtx-sl-ar small { display: block; color: var(--sl-dim); font-weight: 500; font-size: 13px; margin-top: 2px; }
.gtx-sl-ar:hover { background: rgba(63,208,255,.08); color: #bdeeff !important; }
.gtx-sl-more { padding: 9px 12px; color: var(--sl-o2) !important; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.gtx-sl-more:first-of-type { margin-top: auto; }
.gtx-sl-more .gtx-sl-i { width: 16px; height: 16px; }
.gtx-sl-sg { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 18px; }
.gtx-sl-srow { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; }
.gtx-sl-srow:hover { background: rgba(255,107,0,.1); }
.gtx-sl-srow .gtx-sl-i { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--sl-line); color: var(--sl-o2); }
.gtx-sl-srow b { display: block; font: 700 19px var(--sl-hd); color: #fff; }
.gtx-sl-srow small { color: var(--sl-mute); font-size: 14px; }
.gtx-sl-disc { border-radius: 16px; padding: 24px; background: radial-gradient(400px 220px at 80% 0%, rgba(88,101,242,.55), transparent 70%), linear-gradient(160deg, #1a1c3a, #0d0d18); border: 1px solid rgba(120,130,255,.35); display: flex; flex-direction: column; gap: 10px; }
.gtx-sl-disc > .gtx-sl-i { width: 42px; height: 42px; color: #fff; }
.gtx-sl-disc > b { font: 700 27px var(--sl-hd); color: #fff; }
.gtx-sl-disc p { color: #cfd2ff; }
.gtx-sl .gtx-sl-btn-d { align-self: flex-start; background: #5865f2; color: #fff !important; margin-top: auto; }
.gtx-sl-soc { display: flex; gap: 6px; }
.gtx-sl-soc a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.gtx-sl-soc a:hover { background: rgba(255,255,255,.16); }
/* small popovers: panels + language */
.gtx-sl-pop {
    display: none; position: absolute; top: 78px; right: max(20px, calc((100vw - 1400px) / 2)); width: 420px; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s;
    background: rgba(14,14,20,.985); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 30px 90px -20px #000; padding: 10px;
}
.gtx-sl-pop.is-on { display: block; }
.gtx-sl-pop.is-open { opacity: 1; transform: none; }
.gtx-sl-pnl { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; }
.gtx-sl-pnl:hover { background: rgba(255,255,255,.05); }
.gtx-sl-pnl img { width: 120px; height: 66px; object-fit: cover; object-position: left top; border-radius: 8px; border: 1px solid var(--sl-line); }
.gtx-sl-pnl b { display: flex; align-items: center; gap: 8px; font: 700 18px var(--sl-hd); color: #fff; }
.gtx-sl-pnl b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.gtx-sl-pnl small { color: var(--sl-mute); font-size: 14px; }
.gtx-sl-langp { width: 380px; }
.gtx-sl-langp .gtx-lang-panel { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px; position: static !important; margin: 0; padding: 0; list-style: none; background: none !important; border: 0 !important; box-shadow: none !important; width: auto !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
.gtx-sl-langp .gtx-lang-head, .gtx-sl-langp .gtx-lang-sep { grid-column: 1 / -1; }
.gtx-sl-langp .gtx-lang-head { padding: 6px 12px 2px; font: 700 12px var(--sl-hd); letter-spacing: 2px; text-transform: uppercase; color: var(--sl-dim); }
.gtx-sl-langp .gtx-lang-sep { height: 1px; background: var(--sl-line); margin: 6px 0; }
.gtx-sl-langp .gtx-lang-en { display: inline-block; }
/* the 8 other languages in two columns too, like UK/US/CA/AU (Matthew, 9 Oct 2026); gtx-lang-menu.css spans them */
.gtx-sl-langp .gtx-lang-panel > li.gtx-lang-item { grid-column: auto; }
.gtx-sl-langp li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #fff; }
.gtx-sl-langp li a:hover { background: rgba(255,255,255,.06); }
.gtx-sl-langp li.is-current a { background: rgba(255,107,0,.14); box-shadow: inset 3px 0 0 var(--sl-o); }
.gtx-sl-langp img { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; }

/* ---------- search dialog (results: live-search.js, .gtx-ls-*) ---------- */
.gtx-sl-search { position: fixed; inset: 0; z-index: 100010; display: flex; justify-content: center; padding: 16px; background: rgba(4,4,8,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gtx-sl-sbox { width: min(820px, 100%); align-self: flex-start; margin-top: 10px; }
.gtx-sl-search .gtx-sl-sf {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; height: 68px; padding: 0 12px 0 20px; border-radius: 18px; background: #13131c;
    border: 1px solid rgba(255,154,61,.6); box-shadow: 0 0 0 5px rgba(255,107,0,.14), 0 30px 90px -20px #000; z-index: 2;
}
.gtx-sl-sf > .gtx-sl-i { width: 24px; height: 24px; color: var(--sl-o2); }
.gtx-sl-search .gtx-sl-sf input[type="search"],
.gtx-sl-search .gtx-sl-sf input[type="search"]:hover,
.gtx-sl-search .gtx-sl-sf input[type="search"]:focus {
    flex: 1; min-width: 0; width: auto; height: 100%; margin: 0; padding: 0 44px 0 0 !important; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: 0;
    color: #fff !important; font: 600 21px var(--sl-tx); -webkit-appearance: none; appearance: none;
}
.gtx-sl-sf input::placeholder { color: #9a9ab2; }
.gtx-sl-sf input::-webkit-search-cancel-button, .gtx-sl-sf input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.gtx-sl-search .gtx-sl-sx { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 6px; color: var(--sl-mute); flex: none; }
.gtx-sl-sx .gtx-sl-i { display: none; }
.gtx-sl-search .gtx-sl-sf .gtx-ls-clear { right: 74px; }
.gtx-sl-search .gtx-sl-sf .gtx-ls-results { top: calc(100% + 10px); left: 0; right: 0; width: auto; max-width: none; max-height: calc(100vh - 140px); border-radius: 16px; }
.gtx-sl-sugg { margin-top: 12px; padding: 16px; border-radius: 18px; background: #101018; border: 1px solid rgba(255,255,255,.1); }
.gtx-sl-sugg .gtx-sl-h { margin: 0 0 12px; }
.gtx-sl-sugg > div { display: flex; flex-wrap: wrap; gap: 10px; }
.gtx-sl-sugg a { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--sl-line); font: 700 16px var(--sl-hd); color: #fff; }
.gtx-sl-sugg a:hover { border-color: rgba(255,154,61,.6); }
.gtx-sl-sugg .gtx-sl-th { width: 36px; height: 36px; border-radius: 8px; }

/* ---------- phone menu ---------- */
.gtx-sl-mm { position: fixed; inset: 0; z-index: 100020; background: #08080d; overflow: auto; overscroll-behavior: contain; padding-bottom: 40px; }
.gtx-sl-mm::before { content: ""; position: absolute; inset: 0 0 auto; height: 300px; background: radial-gradient(600px 300px at 20% 0%, rgba(255,107,0,.22), transparent 70%), radial-gradient(500px 260px at 100% 10%, rgba(63,208,255,.12), transparent 70%); pointer-events: none; }
.gtx-sl-mm > * { position: relative; }
.gtx-sl-mmtop { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 10px 0 16px; }
.gtx-sl-mmtop img { height: 38px; width: auto; }
.gtx-sl-mm .gtx-sl-mmtop .gtx-sl-ib { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); }
html .gtx-sl-mm button.gtx-sl-mms { display: flex; align-items: center; gap: 12px; margin: 8px 16px 0; width: calc(100% - 32px); height: 56px; padding: 0 16px; border-radius: 14px; background: rgba(20,20,28,.9); border: 1px solid rgba(255,154,61,.5); color: var(--sl-mute); font-size: 17px; text-align: left; }
.gtx-sl-mms .gtx-sl-i { color: var(--sl-o2); }
.gtx-sl-mms span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtx-sl-mh { margin: 24px 16px 12px !important; }
.gtx-sl-posters { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.gtx-sl-posters::-webkit-scrollbar { display: none; }
.gtx-sl-pst { flex: 0 0 150px; height: 196px; border-radius: 16px; position: relative; overflow: hidden; scroll-snap-align: start; background: radial-gradient(circle at 40% 20%, hsl(var(--h) 50% 28%), #0b0b10); }
.gtx-sl-pbg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.gtx-sl-pst::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); background: linear-gradient(0deg, rgba(0,0,0,.92) 18%, rgba(0,0,0,.05) 70%); }
.gtx-sl-plogo { position: absolute; left: 12px; bottom: 44px; max-height: 46px; max-width: 124px !important; width: auto; height: auto; object-fit: contain; object-position: left bottom; z-index: 1; }
.gtx-sl-pst .gtx-sl-gp { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.gtx-sl-pst .gtx-sl-gp b { font: 700 17px var(--sl-hd); color: #fff; }
.gtx-sl-pst .gtx-sl-gp small { font: 500 12px var(--sl-tx); color: var(--sl-mute); }
.gtx-sl-acc { margin: 10px 16px 0; border-top: 1px solid var(--sl-line); }
.gtx-sl-acc details { border-bottom: 1px solid var(--sl-line); }
.gtx-sl-mm .gtx-sl-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 62px; font: 700 22px var(--sl-hd); text-transform: uppercase; letter-spacing: .5px; color: #fff; }
.gtx-sl-acc summary::-webkit-details-marker { display: none; }
.gtx-sl-acc summary .gtx-sl-i { transition: transform .25s; color: var(--sl-o2); }
.gtx-sl-acc details[open] summary .gtx-sl-i { transform: rotate(180deg); }
.gtx-sl-al { padding: 0 0 14px; }
.gtx-sl-al a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 4px; font-size: 17px; font-weight: 600; color: #e9e9f2; border-radius: 8px; }
.gtx-sl-al a small { color: var(--sl-dim); font-weight: 500; font-size: 13px; text-align: right; }
.gtx-sl-al a small b { color: #fff; font-weight: 700; }
.gtx-sl-al .gtx-sl-alla { color: var(--sl-o2) !important; justify-content: flex-start; align-items: center; gap: 8px; }
.gtx-sl-mpan { display: grid; gap: 10px; margin: 0 16px; }
.gtx-sl-mpan a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--sl-line); font: 700 19px var(--sl-hd); color: #fff; }
.gtx-sl-mpan a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.gtx-sl-mpan a small { margin-left: auto; font: 500 13px var(--sl-tx); color: var(--sl-dim); text-align: right; }
.gtx-sl-mfootm { display: flex; align-items: flex-start; gap: 10px; margin: 24px 16px 0; flex-wrap: wrap; }
.gtx-sl-mfootm .gtx-lang-m { flex: 1 1 220px; }
html.gtx-sl-lock, html.gtx-sl-lock body { overflow: hidden !important; }

/* ---------- widths ---------- */
@media (max-width: 1400px) { .gtx-sl-find kbd { display: none; } .gtx-sl .gtx-sl-nb { padding: 0 10px; font-size: 16px; } .gtx-sl-mg { grid-template-columns: 220px minmax(310px, 370px) 1fr; } }
@media (min-width: 1180px) and (max-width: 1320px) { .gtx-sl .gtx-sl-nb { padding: 0 8px; font-size: 15.5px; gap: 5px; } .gtx-sl-nb::after { left: 8px; right: 8px; } .gtx-sl-navl { gap: 0; } }
@media (max-width: 1279px) { .gtx-sl .gtx-sl-pbtn { padding: 0 12px; } .gtx-sl-brand { margin-right: 8px; } .gtx-sl-brand img { height: 40px; } .gtx-sl .gtx-sl-bar .gtx-sl-find { width: 44px; min-width: 44px; padding: 0; justify-content: center; } .gtx-sl-find span { display: none; } }
@media (max-width: 1179px) {
    .gtx-sl-nav, .gtx-sl .gtx-sl-bar .gtx-sl-find, .gtx-sl-d, .gtx-sl .gtx-sl-pbtn { display: none !important; }
    .gtx-sl-m { display: grid !important; }
    .gtx-sl, .gtx-sl-spacer { --sl-h: 64px; }
    .gtx-sl-bar { height: 64px; padding: 0 8px 0 16px; gap: 4px; }
    .gtx-sl-brand { margin-right: auto; }
    .gtx-sl-brand img { height: 38px; }
    .gtx-sl .gtx-sl-ib { width: 48px; height: 48px; }
    .gtx-sl-search { padding: 10px; }
    .gtx-sl-search .gtx-sl-sf { height: 60px; padding: 0 6px 0 16px; gap: 10px; }
    .gtx-sl-search .gtx-sl-sf input[type="search"] { font-size: 18px; }
    .gtx-sl-sx kbd { display: none; }
    .gtx-sl-sx .gtx-sl-i { display: block; width: 24px; height: 24px; }
    .gtx-sl-search .gtx-sl-sx { width: 48px; height: 48px; justify-content: center; }
    .gtx-sl-search .gtx-sl-sf .gtx-ls-clear { display: none !important; }
    .gtx-sl-search .gtx-sl-sf .gtx-ls-link { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
    .gtx-sl-search .gtx-sl-sf .gtx-ls-results { max-height: calc(100dvh - 110px); }
}
@media (max-width: 782px) { body.admin-bar .gtx-sl { top: 46px; } body.admin-bar .gtx-sl.is-away { transform: translateY(calc(-100% - 46px)); } }
@media (max-width: 600px) { body.admin-bar .gtx-sl { top: 0; } }
@media (prefers-reduced-motion: reduce) {
    .gtx-sl, .gtx-sl *, .gtx-sl-search, .gtx-sl-search *, .gtx-sl-mm, .gtx-sl-mm * { animation: none !important; transition-duration: .01ms !important; }
    .gtx-sl-ly { transform: none !important; }
}

/* Phone menu language picker opens UPWARDS (Matthew, 9 Oct 2026: it sits at the bottom of the menu) and
   shows flag + name on one line in big tap rows (the classic .gtx-mobile-menu-foot rules don't reach here). */
.gtx-sl-mfootm .gtx-lang-m { position: relative; }
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m {
    position: absolute; left: 0; bottom: calc(100% + 8px); top: auto; margin: 0; z-index: 30;
    width: min(360px, calc(100vw - 32px)); grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
    background: #121217; border: 1px solid rgba(255,255,255,.12); border-top: 2px solid #ff6b00; border-radius: 14px;
    box-shadow: 0 -18px 40px rgba(0,0,0,.55); max-height: 70vh; overflow-y: auto;
}
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li { list-style: none; margin: 0; }
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li > a {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 10px;
    color: #e8e8ee; text-decoration: none; font-size: 16px; line-height: 1.2;
}
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li > a img { width: 22px; height: auto; flex: none; display: block; }
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li > a:hover,
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li > a:focus-visible,
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li.is-current > a { background: rgba(255,107,0,.14); }
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li.gtx-lang-head,
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li.gtx-lang-sep { grid-column: 1 / -1; }
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-panel--m > li.gtx-lang-item { grid-column: auto; }
/* chevron points up while closed (it opens upwards), down when open */
.gtx-sl-mfootm .gtx-lang-m .gtx-lang-chev { transform: rotate(180deg); }
.gtx-sl-mfootm .gtx-lang-m[open] .gtx-lang-chev { transform: rotate(0deg); }
