/* Gamenora Portal — layout upgrade using Arcade One's existing palette. */
.gn-theme{--gn-line:rgba(255,255,255,.09);--gn-muted:#aaa9ce;--gn-sidebar:208px;background:var(--color1,#151436);color:var(--text-primary,#fff);font-family:'Poppins',system-ui,sans-serif;margin:0;padding-top:72px}
.gn-theme *{box-sizing:border-box}
.gn-theme a{color:inherit;text-decoration:none}
.gn-theme button,.gn-theme input{font:inherit}
.gn-theme :focus-visible{outline:3px solid #a99fff;outline-offset:4px}
.gn-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gn-skip{position:fixed;top:-60px;left:12px;z-index:2000;padding:12px 20px;border-radius:8px;background:var(--solid);color:#fff}
.gn-skip:focus{top:10px}
.gn-header.side-header{position:fixed;inset:0 0 auto;height:72px;display:flex;align-items:center;gap:32px;padding:0 24px 0 14px;background:var(--color2,#262653);border-bottom:1px solid var(--gn-line);z-index:1100}
.gn-brand{display:flex;align-items:center;gap:12px;width:calc(var(--gn-sidebar) - 14px);flex-shrink:0}
.gn-logo{display:flex;align-items:center;min-width:0}
.gn-logo img{width:140px;height:auto;max-height:46px;object-fit:contain}
.gn-icon-button{background:transparent;border:0;color:inherit;cursor:pointer;width:34px;height:40px;display:grid;place-items:center;border-radius:9px;padding:4px}
.gn-icon-button:hover{background:rgba(255,255,255,.08)}
.gn-theme svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gn-search{display:flex;align-items:center;gap:10px;margin:0 auto;max-width:620px;width:100%;height:43px;border:1px solid rgba(255,255,255,.12);border-radius:24px;padding:0 8px 0 20px;background:var(--color1,#151436)}
.gn-search:focus-within{border-color:#9388ff;box-shadow:0 0 0 3px rgba(103,88,250,.17)}
.gn-search input{width:100%;min-width:0;background:transparent;border:0;color:inherit;outline:none;font-size:13px}
.gn-search input::placeholder{color:var(--gn-muted);opacity:1}
.gn-search input:focus-visible{outline:none}
.gn-search kbd{font:12px system-ui;border:1px solid var(--gn-line);border-radius:5px;color:var(--gn-muted);background:transparent;padding:1px 6px}
.gn-search button{border:0;background:transparent;color:var(--gn-muted);width:34px;height:34px;display:grid;place-items:center;border-radius:50%;cursor:pointer;flex-shrink:0}
.gn-search button:hover{color:#fff;background:rgba(255,255,255,.08)}
.gn-account{display:flex;align-items:center;gap:24px;flex-shrink:0;font-size:13px;font-weight:600}
.gn-login{display:flex;align-items:center;gap:12px;padding:11px 20px;border-radius:22px;background:var(--linear);color:#fff!important}
.gn-discover{color:var(--gn-muted)!important}
.gn-theme .master{float:none;position:static}
.gn-sidebar{position:fixed;inset:72px auto 0 0;width:var(--gn-sidebar);padding:18px 12px 24px;background:var(--color2,#262653);border-right:1px solid var(--gn-line);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#454475 transparent;z-index:1050;transition:transform .2s ease}
.gn-sidebar nav{display:flex;flex-direction:column;gap:3px}
.gn-sidebar nav>a{display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;border-radius:9px;font-size:12px;font-weight:500;color:var(--text-body,#d1d0e5);white-space:nowrap}
.gn-sidebar nav>a img{width:23px;height:23px;object-fit:contain;flex-shrink:0}
.gn-sidebar nav>a>span:first-child:not(.gn-dot){width:23px;text-align:center;font:27px/1 system-ui;color:#aba0ff}
.gn-sidebar nav>a:hover{background:rgba(255,255,255,.06);color:#fff}
.gn-sidebar nav>a.is-active{background:var(--linear);color:#fff}
.gn-sidebar nav>a.is-active>span:first-child{color:#fff}
.gn-dot{width:6px;height:6px;border-radius:50%;background:#a99fff;margin-left:auto}
.gn-primary-nav{padding-bottom:17px;border-bottom:1px solid var(--gn-line)}
.gn-nav-label{padding:20px 12px 10px;font-size:9px;letter-spacing:1.8px;text-transform:uppercase;font-weight:600;color:var(--gn-muted)}
.gn-sidebar-footer{border-top:1px solid var(--gn-line);margin:20px 10px 0;padding-top:18px;color:var(--gn-muted);font-size:10px}
.gn-sidebar-footer ul{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.gn-sidebar-footer .dropdown-menu{background:var(--color2);position:static;float:none;font-size:12px}
.gn-theme .g-content{float:none;width:auto;min-height:calc(100vh - 72px);margin-left:var(--gn-sidebar);background:var(--color1,#151436);padding:24px 26px 0;transition:margin-left .2s ease}
.gn-theme .g-content>section{float:none;width:100%;padding:0;margin:0 0 30px;scroll-margin-top:94px}
.gn-theme .g-content .container-section,.gn-theme .g-content .container{max-width:none;width:100%;padding:0}
.gn-home-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 21px}
.gn-eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--gn-muted);font-weight:500;margin-bottom:7px}
.gn-home-intro h1{font-size:24px;font-weight:600;letter-spacing:-.6px;line-height:1.35;color:inherit}
.gn-free-note{font-size:11px;color:var(--gn-muted);white-space:nowrap}
.gn-free-note span{color:#a99fff;margin-right:5px}
.gn-catalog-description{font-size:12px;color:var(--gn-muted);margin-top:9px}
.gn-sort-label{font-size:12px;white-space:nowrap;border:1px solid var(--gn-line);padding:9px 14px;border-radius:20px;background:var(--color2)}
@media(max-width:540px){.gn-catalog .gn-home-intro{align-items:flex-start;flex-direction:column;gap:12px}}
.gn-chips{display:flex;gap:8px;overflow-x:auto;padding:1px 0 8px;margin:0 0 22px;scrollbar-width:none}
.gn-chips::-webkit-scrollbar{display:none}
.gn-chips a{flex-shrink:0;border:1px solid var(--gn-line);background:var(--color2);padding:8px 16px;border-radius:20px;font-size:11px;font-weight:500;color:var(--text-body,#d1d0e5)}
.gn-chips a:hover{border-color:#8c58fa;color:#fff}
.gn-chips a.is-active{background:var(--linear);color:#fff;border-color:transparent}
.gn-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.gn-section-heading h2{display:flex;align-items:center;gap:8px;font-size:18px;letter-spacing:-.3px;font-weight:600;line-height:1.4;color:inherit}
.gn-section-heading img{width:24px;height:24px}
.gn-heading-icon{color:#a99fff;font:24px/1 system-ui}
.gn-section-note{font-size:10px;color:var(--gn-muted)}
.gn-theme .g-content .row.listing{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0;width:100%;--bs-gutter-x:0;--bs-gutter-y:0}
.gn-theme .listing>.grid-1{padding:0;margin:0;width:auto;max-width:none;min-width:0}
.gn-theme .grid-1>a{display:block;height:100%;border-radius:12px}
.gn-theme .grid-1 .game-item{position:relative;padding:0;border-radius:12px;background:var(--color2);height:100%;aspect-ratio:16/10;isolation:isolate;transition:transform .18s,box-shadow .18s;overflow:hidden}
.gn-theme .grid-1 .game-item:hover,.gn-theme .grid-1 a:focus-visible .game-item{transform:translateY(-3px);box-shadow:0 0 0 2px #8c58fa,0 10px 25px rgba(0,0,0,.22)}
.gn-theme .grid-1 .list-game{height:100%;position:relative}
.gn-theme .grid-1 .list-thumbnail{position:absolute;inset:0;width:100%;border-radius:0;height:100%;min-height:0;background:var(--color2)}
.gn-theme .grid-1 .list-thumbnail img{width:100%;height:100%;object-fit:cover;display:block;margin:0;transition:transform .25s}
.gn-theme .grid-1 a:hover .list-thumbnail img{transform:scale(1.035)}
.gn-theme .grid-1 .list-info{position:absolute;inset:auto 0 0;display:flex;align-items:end;gap:6px;padding:25px 10px 9px;background:linear-gradient(transparent,rgba(10,8,30,.88));pointer-events:none}
.gn-theme .grid-1 .list-title{font-size:11px;line-height:1.4;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0;color:#fff;flex:1}
.gn-theme .grid-1 .list-rating{float:none;width:auto;font-size:10px;color:#e3defc;flex-shrink:0;display:none}
.gn-theme .grid-1 a:hover .list-rating,.gn-theme .grid-1 a:focus-visible .list-rating{display:block}
.gn-theme .grid-1 .list-rating span{color:#ffa73f}
.gn-theme .grid-1 .list-b-play{display:none}
.gn-theme .g-content .row.listing.gn-mosaic{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.gn-theme .gn-mosaic>.grid-1:first-child{grid-column:span 2;grid-row:span 2}
.gn-theme .gn-mosaic>.grid-1:first-child .game-item{aspect-ratio:auto}
.gn-theme .gn-mosaic>.grid-1:first-child .list-title{font-size:18px;font-weight:600;padding:3px 5px}
.gn-theme .gn-mosaic>.grid-1:first-child .list-info{padding:50px 12px 12px}
.gn-theme .gn-mosaic>.grid-1:first-child .list-thumbnail{aspect-ratio:auto}
.gn-theme .b-load-more{margin-top:18px}
.gn-theme .btn-load-more{padding:10px 24px;height:auto;border:1px solid rgba(140,88,250,.5);background:var(--color2);color:inherit;font-size:12px;border-radius:22px}
.gn-theme .btn-load-more:hover{background:var(--solid);color:#fff}
.gn-theme .btn-load-more:disabled{opacity:.55;cursor:default}
.gn-theme .section-title{padding-left:38px;margin-bottom:20px;min-height:28px}
.gn-theme .section-title .g-icon{width:26px;height:26px;background:none;top:5px}
.gn-theme .section-title .g-icon img{width:26px;height:26px}
.gn-theme .section-title h3,.gn-theme .section-title h2{font-size:23px}
.gn-theme .section-title p{font-size:12px;color:var(--gn-muted)}
.gn-theme .category-description{margin-bottom:20px}
.gn-theme .category-description h4{font-size:13px;line-height:1.8;color:var(--gn-muted)}
.gn-theme .section-search .row{margin:0;width:100%}
.gn-theme .section-search .section-title{margin-bottom:20px}
.gn-empty-state{padding:36px 24px;border:1px solid var(--gn-line);border-radius:14px;background:var(--color2);margin-bottom:24px}
.gn-empty-state h2{font-size:21px}.gn-empty-state p{margin:10px 0 20px;color:var(--gn-muted)}.gn-empty-state .gn-login{display:inline-flex}
.gn-theme .g-content>section.footer{padding-top:24px;margin-top:36px;border-top:1px solid var(--gn-line)}
.gn-theme .g-content>section.section-copyright{padding:8px 0 24px;margin:0;color:var(--gn-muted)}
.gn-theme .copyright{font-size:11px;line-height:1.8}
.gn-theme .game-container{border-radius:14px;overflow:hidden;background:var(--color2)}
.gn-theme .game-info{padding:20px}
.gn-theme .game-details{padding:20px}
.gn-theme .single-title{font-size:24px}
.gn-theme .game-iframe-container{min-height:0}
.gn-theme .game-iframe{width:100%;max-width:100%}
.gn-theme .popup{max-width:calc(100vw - 28px)}
.gn-scrim{display:none}
.gn-theme.gn-nav-collapsed .gn-sidebar{transform:translateX(-100%)}
.gn-theme.gn-nav-collapsed .g-content{margin-left:0}
[dir=rtl] .gn-sidebar{left:auto;right:0;border-right:0;border-left:1px solid var(--gn-line)}
[dir=rtl] .gn-theme .g-content{margin-left:0;margin-right:var(--gn-sidebar)}
[dir=rtl] .gn-theme.gn-nav-collapsed .gn-sidebar{transform:translateX(100%)}
[dir=rtl] .gn-theme.gn-nav-collapsed .g-content{margin-right:0}
@media(min-width:1800px){.gn-theme .g-content{padding-left:32px;padding-right:32px}.gn-theme .listing .list-title{font-size:13px}.gn-theme .g-content .row.listing:not(.gn-mosaic){grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1200px){.gn-theme{--gn-sidebar:186px}.gn-header.side-header{gap:18px}.gn-brand{gap:7px}.gn-logo img{width:126px}.gn-theme .g-content{padding:22px 20px 0}.gn-account{gap:14px}.gn-discover{display:none}.gn-theme .g-content .row.listing:not(.gn-mosaic){grid-template-columns:repeat(4,minmax(0,1fr))}.gn-free-note{display:none}.gn-theme .g-content .row.listing.gn-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}.gn-theme .gn-mosaic>.grid-1:nth-child(n+6){display:none}}
@media(max-width:800px){.gn-theme{padding-top:120px}.gn-header.side-header{height:120px;flex-wrap:wrap;align-content:center;justify-content:space-between;gap:10px;padding:10px 16px}.gn-brand{width:auto;flex:1}.gn-logo img{width:134px;max-height:32px}.gn-search{order:3;max-width:none;height:38px;padding-left:16px}.gn-search kbd{display:none}.gn-account{font-size:12px}.gn-login{padding:8px 16px}.gn-sidebar{top:120px;transform:translateX(-100%);width:240px;max-width:85vw;z-index:1090}.gn-theme.gn-nav-open .gn-sidebar{transform:translateX(0)}.gn-theme .g-content{margin:0!important;padding:20px 16px 0}.gn-theme.gn-nav-open .gn-scrim{display:block;position:fixed;inset:120px 0 0;background:rgba(6,5,20,.65);border:0;z-index:1080}.gn-theme.gn-nav-open{overflow:hidden}.gn-home-intro h1{font-size:21px;letter-spacing:-.5px}.gn-home-intro{margin-bottom:16px}.gn-eyebrow{font-size:8px;letter-spacing:1.4px}.gn-section-heading h2{font-size:17px}.gn-theme .g-content>section{scroll-margin-top:138px;margin-bottom:27px}.gn-chips{margin-bottom:18px}.gn-section-note{display:none}.gn-theme .g-content .row.listing:not(.gn-mosaic){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gn-theme .popup{width:calc(100vw - 28px)}[dir=rtl] .gn-sidebar{transform:translateX(100%)}[dir=rtl] .gn-theme.gn-nav-open .gn-sidebar{transform:translateX(0)}}
@media(max-width:540px){.gn-theme .g-content .row.listing:not(.gn-mosaic){grid-template-columns:repeat(2,minmax(0,1fr))}.gn-theme .g-content .row.listing.gn-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:10px}.gn-theme .gn-mosaic>.grid-1:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:16/8}.gn-theme .gn-mosaic>.grid-1:first-child .list-title{font-size:19px}.gn-theme .grid-1 .list-title{font-size:11px}.gn-theme .single-title{font-size:21px}.gn-theme .section-game>.container-fluid>.row{--bs-gutter-x:16px}.gn-theme .copyright .dsb-panel{position:static;display:block}}
@media(prefers-reduced-motion:reduce){.gn-theme *{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:800px){.gn-theme .g-content>section{padding:0!important}.gn-theme .g-content>section.footer{padding-top:24px!important}.gn-theme .g-content>section.section-copyright{padding:8px 0 24px!important}}

/* KBH-inspired content layout. The original palette and sidebar stay intact. */
.gn-kbh-intro{margin-bottom:17px}
.gn-kbh-intro h1{font-size:25px;font-weight:700;letter-spacing:-.7px}
.gn-kbh-intro p{margin-top:6px;font-size:12px;color:var(--gn-muted)}
.gn-browse-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.gn-browse-tabs a{display:inline-flex;gap:8px;align-items:center;padding:8px 13px;border:1px solid var(--gn-line);border-radius:8px;background:var(--color2);font-size:11px;font-weight:600}
.gn-browse-tabs a span{color:#a99fff;font-size:17px;line-height:1}
.gn-browse-tabs a:hover{border-color:var(--solid);background:var(--solid);color:#fff}
.gn-browse-tabs a:hover span{color:#fff}
.gn-theme .g-content>section.gn-spotlight{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr);gap:14px;margin-bottom:22px}
.gn-spotlight-panels{min-width:0;border:1px solid var(--gn-line);border-radius:14px;overflow:hidden;background:linear-gradient(120deg,var(--color2),var(--color1))}
.gn-spotlight-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:25px;align-items:center;min-height:326px;height:100%;padding:28px}
.gn-spotlight-panel[hidden]{display:none!important}
.gn-spotlight-art{display:block;aspect-ratio:1;min-width:0;border-radius:12px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.gn-spotlight-art img{display:block;width:100%;height:100%;object-fit:cover}
.gn-spotlight-copy{min-width:0}
.gn-spotlight-label{font-size:9px;font-weight:600;letter-spacing:1.6px;color:#a99fff;margin-bottom:10px}
.gn-spotlight-label span{font-size:17px;vertical-align:middle}
.gn-spotlight-copy h2{font-size:29px;font-weight:700;line-height:1.15;letter-spacing:-.8px;color:inherit;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gn-spotlight-description{font-size:12px;line-height:1.75;color:var(--gn-muted);margin:12px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gn-spotlight-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--gn-muted);margin-bottom:18px}
.gn-spotlight-meta>span:first-child{color:#ffa73f}
.gn-play-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--linear);color:#fff!important;padding:12px 23px;border-radius:8px;font-size:12px;font-weight:600;box-shadow:0 4px 15px rgba(103,88,250,.18)}
.gn-play-button:hover{filter:brightness(1.12)}
.gn-play-button span{font-size:11px}
.gn-spotlight-picker{display:flex;flex-direction:column;justify-content:space-between;gap:5px;min-width:0}
.gn-spotlight-choice{width:100%;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent;color:inherit;text-align:start;cursor:pointer;min-width:0}
.gn-spotlight-choice>img{width:46px;height:46px;object-fit:cover;border-radius:7px;flex-shrink:0}
.gn-spotlight-choice>span:not(.gn-choice-arrow){min-width:0;flex:1}
.gn-spotlight-choice strong{display:block;font-size:11px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.5}
.gn-spotlight-choice small{display:block;color:var(--gn-muted);font-size:10px;margin-top:3px}
.gn-choice-arrow{font:24px/1 system-ui;color:var(--gn-muted);opacity:0}
.gn-spotlight-choice:hover{background:rgba(255,255,255,.04)}
.gn-spotlight-choice[aria-pressed=true]{background:var(--color2);border-color:rgba(103,88,250,.5)}
.gn-spotlight-choice[aria-pressed=true] .gn-choice-arrow{opacity:1;color:#a99fff}
.gn-category-strip{margin-bottom:28px;gap:8px}
.gn-category-strip a{display:flex;align-items:center;gap:8px;border-radius:8px;padding:9px 12px}
.gn-category-strip img{width:20px;height:20px;object-fit:contain}
.gn-heading-group{display:flex;align-items:baseline;gap:12px;min-width:0}
.gn-section-heading h2{font-size:19px;font-weight:600}
.gn-see-all{flex-shrink:0;font-size:11px;font-weight:500;color:var(--gn-muted)!important}
.gn-see-all:hover{color:#a99fff!important}
.gn-see-all span{margin-left:7px}
.gn-theme .g-content>section{margin-bottom:32px}
.gn-theme .grid-1 .game-item{background:transparent;aspect-ratio:auto;height:auto;overflow:visible;border-radius:9px;box-shadow:none}
.gn-theme .grid-1 .game-item:hover,.gn-theme .grid-1 a:focus-visible .game-item{transform:translateY(-2px);box-shadow:none}
.gn-theme .grid-1 .list-game{height:auto}
.gn-theme .grid-1 .list-thumbnail{position:relative;inset:auto;aspect-ratio:1/1;width:100%;height:auto;border-radius:9px;border:1px solid var(--gn-line);overflow:hidden}
.gn-theme .grid-1 .list-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gn-theme .grid-1 a:hover .list-thumbnail{border-color:var(--solid)}
.gn-theme .grid-1 .list-info{position:static;inset:auto;padding:9px 1px 0;background:none;display:block;min-height:41px}
.gn-theme .grid-1 .list-title{color:inherit;font-size:11px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden}
.gn-theme .grid-1 .list-rating,.gn-theme .grid-1 a:hover .list-rating,.gn-theme .grid-1 a:focus-visible .list-rating{display:block;color:var(--gn-muted);font-size:10px;margin-top:3px}
.gn-ranked-list{counter-reset:game-rank}
.gn-ranked-list>.grid-1{counter-increment:game-rank}
.gn-ranked-list .list-info{padding-left:25px!important;position:relative!important}
.gn-ranked-list .list-info:before{content:counter(game-rank);position:absolute;left:1px;top:5px;font-size:23px;font-weight:700;color:#a99fff}
@media(min-width:1800px){.gn-spotlight-panel{min-height:370px;padding:36px}.gn-spotlight-copy h2{font-size:36px}}
@media(max-width:1200px){.gn-spotlight-panel{padding:22px;gap:18px;min-height:310px;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)}.gn-spotlight-copy h2{font-size:24px}.gn-theme .g-content>section.gn-spotlight{grid-template-columns:minmax(0,2fr) minmax(190px,1fr)}.gn-spotlight-choice strong{font-size:10px}}
@media(max-width:1000px){.gn-theme .g-content>section.gn-spotlight{grid-template-columns:minmax(0,1fr)}.gn-spotlight-panel{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);min-height:260px}.gn-spotlight-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.gn-spotlight-choice{padding:8px;flex-direction:column;align-items:flex-start;gap:7px}.gn-spotlight-choice>img{width:100%;height:auto;aspect-ratio:1/1}.gn-spotlight-choice>span:not(.gn-choice-arrow){max-width:100%;width:100%}.gn-spotlight-choice small,.gn-choice-arrow{display:none}}
@media(max-width:800px){.gn-kbh-intro h1{font-size:22px}.gn-kbh-intro p{font-size:11px;line-height:1.65}.gn-spotlight-panel{min-height:250px}.gn-heading-group{gap:8px}.gn-spotlight-copy h2{font-size:25px}.gn-theme .g-content>section{margin-bottom:28px}.gn-browse-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}.gn-browse-tabs a{white-space:nowrap;flex-shrink:0}}
@media(max-width:540px){.gn-spotlight-panel{padding:20px;grid-template-columns:90px minmax(0,1fr);gap:16px;min-height:230px}.gn-spotlight-copy h2{font-size:23px}.gn-spotlight-description{font-size:11px;line-height:1.6}.gn-spotlight-meta{font-size:9px;margin-bottom:12px}.gn-spotlight-label{font-size:8px;letter-spacing:1px}.gn-play-button{font-size:11px;padding:10px 18px}.gn-spotlight-choice{padding:5px;gap:5px}.gn-spotlight-choice strong{font-size:8px;line-height:1.4}.gn-spotlight-picker{gap:4px}.gn-section-heading h2{font-size:18px}.gn-see-all{font-size:10px}.gn-theme .grid-1 .list-title{font-size:12px}.gn-theme .grid-1 .list-info{min-height:43px}.gn-category-strip{margin-bottom:23px}.gn-category-strip a{padding:8px 10px;font-size:10px}}

/* Restyle the existing sidebar game widgets; widget settings and queries remain unchanged. */
.gn-theme .section-game .gn-game-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:24px;margin:0;align-items:start}
.gn-theme .gn-game-layout>.gn-game-main,.gn-theme .gn-game-layout>.gn-game-aside{width:100%;min-width:0;padding:0}
.gn-theme .widget-sidebar .sm-widget:has(.wgt-list-game-vertical,.wgt-list-game-grid,.widget-gamelist){padding:0;background:transparent;float:none;margin-bottom:28px}
.gn-theme .widget-sidebar .sm-widget:has(.wgt-list-game-vertical,.wgt-list-game-grid,.widget-gamelist) .widget-title{font-size:15px;font-weight:600;line-height:1.5;margin:0 0 12px;color:inherit}
.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin:0;padding:0;list-style:none}
.gn-theme .widget-sidebar :is(.wgt-list-game-vertical,.wgt-list-game-grid,.widget-gamelist>li){width:100%;min-width:0;margin:0;padding:0;border:0;background:transparent}
.gn-theme .widget-sidebar :is(.wgt-list-game-vertical,.wgt-list-game-grid,.widget-gamelist>li)>a{display:block;border-radius:10px}
.gn-theme .widget-sidebar .wgt-list-game{display:block;margin:0;padding:0;background:transparent;box-shadow:none}
.gn-theme .widget-sidebar :is(.wgt-list-thumbnail,.widget-gamelist .list-thumbnail){position:relative;float:none;display:block;width:100%;height:auto;aspect-ratio:1/1;padding:0;margin:0 0 7px;border-radius:10px;overflow:hidden;background:var(--color2);border:1px solid var(--gn-line)}
.gn-theme .widget-sidebar :is(.wgt-list-thumbnail,.widget-gamelist .list-thumbnail) img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;margin:0;padding:0;border-radius:0;transition:transform .18s}
.gn-theme .widget-sidebar a:hover :is(.wgt-list-thumbnail,.list-thumbnail){border-color:var(--solid)}
.gn-theme .widget-sidebar a:hover :is(.wgt-list-thumbnail,.widget-gamelist .list-thumbnail) img{transform:scale(1.035)}
.gn-theme .widget-sidebar :is(.wgt-list-content,.widget-gamelist .list-info){display:block;position:static;width:100%;min-width:0;margin:0;padding:0;background:transparent}
.gn-theme .widget-sidebar :is(.wgt-list-title,.widget-gamelist .list-title){padding:0;margin:0;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit}
.gn-theme .widget-sidebar .widget-gamelist h3{margin:0;font-size:inherit}
.gn-theme .widget-sidebar :is(.wgt-list-category,.widget-gamelist .sub-text){padding:0;margin:3px 0 0;font-size:10px;font-weight:400;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--gn-muted)}
@media(max-width:1100px){.gn-theme .section-game .gn-game-layout{grid-template-columns:minmax(0,1fr)}.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:540px){.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.gn-theme .widget-sidebar img{transition:none}}

.gn-theme .widget-sidebar :is(.wgt-list-title,.wgt-list-category,.widget-gamelist .list-title,.widget-gamelist .sub-text){max-width:100%}

/* Continue Playing: a scrollable row using the existing square-card style. */
.gn-recent-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/6);gap:12px;overflow-x:auto;padding:3px 3px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--solid) transparent}
.gn-recent-card{min-width:0;display:block;scroll-snap-align:start;border-radius:9px}
.gn-recent-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;background:var(--color2);border:1px solid var(--gn-line);border-radius:9px}
.gn-recent-card span{display:block;margin-top:8px;font-size:11px;font-weight:600;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.gn-recent-card:hover img{border-color:var(--solid)}
.gn-recent-clear{background:transparent;border:0;color:var(--gn-muted);font-size:11px;padding:6px 0 6px 12px;cursor:pointer;white-space:nowrap}
.gn-recent-clear:hover{color:var(--text-primary,#fff)}
.gn-recent-empty{padding:18px 20px;margin:0;border:1px dashed var(--gn-line);border-radius:10px;color:var(--gn-muted);font-size:12px;line-height:1.6}
.gn-recent-grid[hidden],.gn-recent-clear[hidden],.gn-recent-empty[hidden]{display:none}
@media(max-width:1200px){.gn-recent-grid{grid-auto-columns:calc((100% - 36px)/4)}}
@media(max-width:800px){.gn-recent-grid{grid-auto-columns:calc((100% - 24px)/3)}}
@media(max-width:540px){.gn-recent-grid{grid-auto-columns:calc((100% - 12px)/2)}.gn-recent-card span{font-size:12px}}

/* Responsive game player: native game proportions, capped to the available screen height. */
.gn-theme .game-iframe-container#game-player{width:100%;height:auto;aspect-ratio:var(--gn-player-ratio,16 / 9);min-height:300px;max-height:calc(100vh - 230px);max-height:calc(100svh - 230px)}
@media(max-width:767px) and (min-height:501px){.gn-theme .game-iframe-container#game-player{min-height:0}}
@media(max-height:500px){.gn-theme .game-iframe-container#game-player{min-height:0;max-height:calc(100vh - 120px);max-height:calc(100svh - 120px)}}

/* Bounded square thumbnails: cards no longer grow with wide screens. */
.gn-theme .g-content .row.listing,.gn-theme .g-content .row.listing:not(.gn-mosaic),.gn-theme .g-content .row.listing.gn-mosaic{grid-template-columns:repeat(auto-fill,180px);grid-template-rows:auto;gap:20px 14px;justify-content:space-between}
.gn-theme .listing>.grid-1{width:100%;max-width:180px}
.gn-theme .gn-mosaic>.grid-1:first-child{grid-column:auto;grid-row:auto;aspect-ratio:auto}
.gn-theme .gn-mosaic>.grid-1:nth-child(n+6){display:block}
.gn-theme .gn-mosaic>.grid-1:first-child .list-thumbnail{aspect-ratio:1}
.gn-theme .gn-mosaic>.grid-1:first-child .list-title{font-size:11px;padding:0}
.gn-theme .gn-mosaic>.grid-1:first-child .list-info{padding:9px 1px 0}
.gn-theme .gn-recent-grid{grid-auto-columns:180px;gap:14px}
.gn-theme .gn-spotlight-panel{grid-template-columns:180px minmax(0,1fr);min-height:260px;padding:24px;gap:24px}
.gn-theme .gn-spotlight-art{width:180px;max-width:100%;justify-self:center}
.gn-theme .gn-spotlight-choice>img{width:46px;height:46px;max-width:100%;aspect-ratio:1}
.gn-theme .section-game .gn-game-layout{grid-template-columns:minmax(0,1fr) 332px}
.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(2,minmax(0,160px));gap:16px 12px;justify-content:start}
@media(max-width:1100px){
.gn-theme .section-game .gn-game-layout{grid-template-columns:minmax(0,1fr)}
.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(auto-fill,160px);justify-content:space-between}
}
@media(max-width:800px){
.gn-theme .g-content .row.listing,.gn-theme .g-content .row.listing:not(.gn-mosaic),.gn-theme .g-content .row.listing.gn-mosaic{grid-template-columns:repeat(auto-fill,136px);gap:18px 12px}
.gn-theme .listing>.grid-1{max-width:136px}
.gn-theme .gn-recent-grid{grid-auto-columns:136px;gap:12px}
.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(auto-fill,136px);gap:18px 12px}
.gn-theme .gn-spotlight-panel{grid-template-columns:112px minmax(0,1fr);gap:18px;padding:20px;min-height:230px}
.gn-theme .gn-spotlight-art{width:112px}
.gn-theme .grid-1 .list-title,.gn-theme .gn-recent-card span{font-size:11px}
}
@media(max-width:360px){
.gn-theme .g-content .row.listing,.gn-theme .g-content .row.listing:not(.gn-mosaic),.gn-theme .g-content .row.listing.gn-mosaic,.gn-theme .widget-sidebar .row:has(>.wgt-list-game-vertical,>.wgt-list-game-grid),.gn-theme .widget-sidebar .widget-gamelist{grid-template-columns:repeat(2,minmax(0,136px));gap:16px 10px}
.gn-theme .gn-spotlight-panel{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:16px}
.gn-theme .gn-spotlight-art{width:80px}
}

/* Reserve asynchronous content and stable text/icon geometry. */
.gn-theme .gn-logo img{height:40px;object-fit:contain}
.gn-continue .gn-section-heading{min-height:36px}
.gn-theme .g-content>section.gn-continue{min-height:269px}
.gn-spotlight-panels{display:grid}
.gn-theme .gn-spotlight-panel{grid-area:1 / 1;height:auto}
.gn-theme .gn-spotlight-panel[hidden]{display:grid!important;visibility:hidden;pointer-events:none}
.gn-theme .b-action .b-icon,.gn-theme .b-action2 .b-icon{display:inline-block;width:1.25em;text-align:center}
@media(max-width:800px){.gn-theme .gn-logo img{height:32px}.gn-theme .g-content>section.gn-continue{min-height:225px}}

/* Full description stays in the HTML; JavaScript enables the optional preview. */
.gn-theme .gn-description{--gn-description-limit:192px;position:relative}
.gn-theme #gn-description-content{display:flow-root}
.gn-theme .gn-description-collapsed{max-height:var(--gn-description-limit);overflow:hidden}
.gn-theme .gn-description-collapsed::after{content:"";position:absolute;inset:auto 0 0;height:42px;background:linear-gradient(transparent,var(--color2,#262653));pointer-events:none}
.gn-theme .gn-description-toggle{display:inline-flex;align-items:center;margin:12px 0 12px;padding:9px 16px;border:1px solid var(--gn-line);border-radius:9px;background:var(--color2,#262653);color:#c6bdff;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.gn-theme .gn-description-toggle[hidden]{display:none}
.gn-theme .gn-description-toggle:hover{border-color:#8c58fa;color:#fff}
.gn-theme .gn-description-toggle:focus-visible{outline:2px solid #a99cff;outline-offset:3px}
@media print{.gn-theme .gn-description-collapsed{max-height:none;overflow:visible}.gn-theme .gn-description-collapsed::after,.gn-theme .gn-description-toggle{display:none}}

