*{box-sizing:border-box} :root{font-family:Arial,Helvetica,sans-serif;color:#073454;--gap:16px;}body{margin:0;background:#77f8e0;min-height:100vh;background-image:conic-gradient(from 25deg at 25% 30%,transparent 0 42%,#32e6d9 43% 65%,transparent 66%),conic-gradient(from 100deg at 80% 80%,#91ffe6, #39e7d8 20%,#80f7df 40%,#55efdf 75%);background-size:950px 900px;background-attachment:fixed}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:4px solid #097bff;outline-offset:3px}button{border:0;background:white;color:#049de0}#app{padding:24px 32px}.brand{grid-column:span 2;grid-row:span 1;display:flex;background:#fff;box-shadow:0 5px 12px #08687330;border-radius:18px;overflow:hidden;min-width:0}.wordmark{flex:1;display:flex;align-items:center;justify-content:center;font-weight:1000;font-size:clamp(20px,2.7vw,48px);letter-spacing:-3px;color:#063553}.wordmark span{color:#00b0e9}.brand-tools{display:flex;flex-direction:column;border-left:1px solid #e8eef3;width:44px}.brand-tools button{flex:1;display:grid;place-items:center}.brand-tools button+button{border-top:1px solid #e8eef3}.brand-tools svg{width:20px;height:20px}.tile{position:relative;display:block;border-radius:16px;overflow:hidden;box-shadow:0 5px 10px #07536532;isolation:isolate;background:#d5ffef;grid-column:span 2;grid-row:span 2;transition:transform .16s,box-shadow .16s}.tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.tile:hover{transform:translateY(-4px);box-shadow:0 9px 15px #07536555;z-index:2}.tile:hover img{transform:scale(1.06)}.tile:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#072b58ba);opacity:0;transition:opacity .16s}.tile span{position:absolute;z-index:2;bottom:12px;left:10px;right:10px;color:white;text-align:center;font-weight:700;font-size:15px;text-shadow:0 1px 4px #000;opacity:0;transform:translateY(10px);transition:.16s}.tile:hover span,.tile:focus-visible span{opacity:1;transform:none}.tile:hover:after,.tile:focus-visible:after{opacity:1}.tile.small{grid-column:span 1;grid-row:span 1}.tile.hero{grid-column:span 3;grid-row:span 3}.tile.tall{grid-column:span 2;grid-row:span 3}.tile.wide{grid-column:span 3;grid-row:span 2}.tile b{position:absolute;top:8px;left:8px;border-radius:50%;background:white;color:#00a0de;width:25px;height:25px;display:grid;place-items:center;font-size:16px}.footer{margin:40px auto 0;background:#ffffffbd;border-radius:22px;padding:32px;max-width:1050px;line-height:1.65}.footer h1{font-size:26px;margin-top:0}.chips{display:flex;gap:10px;flex-wrap:wrap}.chip{background:#fff;border-radius:24px;padding:12px 18px;font-weight:bold;color:#087bb2;box-shadow:0 3px 0 #0b526915}.chip.active{background:#063553;color:white}.foot-links{margin-top:28px;display:flex;gap:24px;font-size:14px}.play-layout{display:grid;grid-template-columns:94px minmax(0,1fr) 204px;gap:18px;max-width:1500px;margin:auto}.rail{display:flex;flex-direction:column;gap:16px}.rail .brand{flex-direction:column;height:94px;flex-shrink:0}.rail .wordmark{font-size:29px;letter-spacing:-2px}.rail .brand-tools{height:31px;width:100%;flex-direction:row;border-top:1px solid #e8eef3}.rail .tile{height:94px;flex-shrink:0}.right-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start}.right-grid .tile{height:94px;grid-column:auto;grid-row:auto}.right-grid .tile:nth-child(5n+1){grid-column:span 2;height:204px}.player{background:white;box-shadow:0 5px 18px #065b5833;overflow:hidden;border-radius:4px}.screen{aspect-ratio:16/9;position:relative;background:#101c2c;display:grid;place-items:center;overflow:hidden}.screen iframe{width:100%;height:100%;border:0;background:#101c2c}.screen:fullscreen{width:100vw;height:100vh;aspect-ratio:auto}.launch{position:absolute;inset:0;background:#0a2543;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;text-align:center;padding:24px}.launch-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(16px) brightness(.42);transform:scale(1.1)}.launch>*:not(.launch-bg){z-index:1}.launch .cover{width:110px;height:110px;object-fit:cover;border-radius:20px;box-shadow:0 8px 20px #0006}.launch .launch-title{font-size:28px;margin:20px 0}.play-button{background:#ffdf27;color:#073454;font-weight:900;border-radius:30px;padding:17px 45px;font-size:22px;box-shadow:0 5px 0 #caad07}.player-bar{display:flex;align-items:center;padding:12px;gap:12px;min-height:72px}.player-bar img{width:45px;height:45px;object-fit:cover;border-radius:8px}.game-title{flex:1;min-width:0}.game-title h1{font-size:19px;margin:0 0 4px}.game-title small{color:#71838d}.tool{font-size:23px;border-radius:10px;width:42px;height:42px}.tool:hover{background:#e7faff}.tool.saved{color:#ed4f82}.recommendations{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin:20px 0}.recommendations .tile{grid-column:auto;grid-row:auto;aspect-ratio:1}.description{background:#fff;border-radius:18px;padding:28px;margin-top:26px;line-height:1.7}.description h2{margin-top:0}.description h3{margin-bottom:6px}.notice{color:#566c7c;font-size:13px;margin:12px 0}.breadcrumbs{font-size:13px;margin-bottom:10px;color:#267eb7}.expanded .play-layout{grid-template-columns:1fr}.expanded .rail,.expanded .right-grid{display:none}dialog{border:0;border-radius:22px;color:#073454;width:min(850px,92vw);max-height:85vh;padding:28px;box-shadow:0 15px 70px #003f6560}dialog::backdrop{background:#07345499;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-head h2{font-size:24px}.dialog-head button{font-size:32px}.results{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:20px}.results .tile{grid-column:auto;grid-row:auto;aspect-ratio:1}.results .tile span{opacity:1;transform:none;font-size:12px}.results .tile:after{opacity:1}#searchInput{border:2px solid #07a7dc;border-radius:14px;padding:16px;width:100%;outline:none;font-size:18px}#filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}#filters .chip{padding:9px 14px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#073454;color:white;border-radius:24px;padding:13px 24px;z-index:99;display:none}@media(min-width:1700px){:root{}#app{padding:16px 24px}}@media(max-width:1150px){:root{--gap:14px}#app{padding:20px}.play-layout{grid-template-columns:94px minmax(0,1fr)}.right-grid{display:none}.wordmark{font-size:28px}}@media(max-width:700px){:root{--gap:10px}#app{padding:12px}.brand{border-radius:13px}.wordmark{font-size:25px;letter-spacing:-2px}.brand-tools{width:30px}.brand-tools svg{width:17px}.tile{border-radius:13px}.tile.hero{grid-column:span 3;grid-row:span 3}.tile.tall{grid-row:span 2}.tile span{font-size:12px}.play-layout{display:block}.rail{flex-direction:row;margin-bottom:12px;overflow:hidden;height:66px}.rail .brand{min-width:140px;height:66px;flex-direction:row}.rail .brand-tools{width:34px;height:auto;flex-direction:column}.rail .tile{height:66px;min-width:66px}.screen{aspect-ratio:3/4;max-height:72vh}.player-bar{gap:6px}.player-bar h1{font-size:15px}.tool{width:32px;font-size:20px}.recommendations{grid-template-columns:repeat(4,1fr);gap:10px}.footer,.description{padding:20px}.results{grid-template-columns:repeat(3,1fr)}dialog{padding:18px}.launch .launch-title{font-size:22px}.launch .cover{width:85px;height:85px}.foot-links{flex-wrap:wrap}.dialog-head h2{font-size:21px}}

/* Home layout: stable navigation, independently responsive game grid. */
.browse-layout{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;align-items:start;width:100%}.home-nav{width:160px;display:flex;flex-direction:column;gap:12px;min-width:0}.home-nav .brand{width:160px;height:122px;flex:none;display:flex;flex-direction:column;border-radius:18px;overflow:hidden}.home-nav .wordmark{width:160px;height:74px;min-height:74px;flex:none;padding:6px;display:flex;align-items:center;justify-content:center}.brand-sign{display:flex;justify-content:center;align-items:center;width:100%;color:#073454}.home-nav .h5-emblem{display:block;width:148px;height:61px;flex:none}.home-nav .brand-tools{width:160px;height:48px;flex:none;display:grid;grid-template-columns:80px 80px;border-left:0;border-top:1px solid #e8eef3}.home-nav .brand-tools button{width:80px;height:48px;min-width:0;padding:0;background:white;display:grid;place-items:center}.home-nav .brand-tools button+button{border-top:0;border-left:1px solid #e8eef3}.home-nav .brand-tools svg{width:25px;height:25px;stroke-width:2}.home-nav .brand-tools button:hover{background:#e8f7f4}.collections{display:grid;grid-template-rows:repeat(4,76px);gap:4px;width:160px;padding:6px;border:1px solid #ffffffd9;border-radius:18px;background:linear-gradient(155deg,#fffffffa,#effcf9f5);box-shadow:0 10px 25px -12px #095a6760}.collection{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;height:76px;padding:4px;border-radius:12px;background:transparent;color:#526c78;font:600 14px/1.25 Arial,Helvetica,sans-serif;text-align:center;transition:background .18s,color .18s}.collection i{width:26px;height:26px;flex:none;display:block;color:#73939e}.collection svg{display:block;width:26px;height:26px}.collection span{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere}.collection:hover{background:#e5f4f1;color:#153d4b}.collection.active{background:#dcefeb;color:#103e48}.collection.active:before{content:'';position:absolute;left:0;top:30%;bottom:30%;width:3px;border-radius:3px;background:#0e9b99}.collection.active i{color:#098f90}.collection-ai i{color:#8a73bd}.collection-ai.active{background:#eae5f6;color:#56427b}.collection-ai.active i{color:#7960af}.collection-ai.active:before{background:#8a73bd}.collection:focus-visible{outline:2px solid #129d9d;outline-offset:1px}.mosaic{min-width:0;width:100%;display:grid;grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));grid-auto-rows:var(--cell,90px);grid-auto-flow:dense;gap:12px;align-content:start}.rail .h5-emblem{display:block;width:82px;height:42px}.rail .wordmark{min-width:0}.rail .brand-sign{max-width:100%}#installDialog{max-width:460px}#installInstructions{line-height:1.65;margin-bottom:22px}#installInstructions ol{padding-left:24px}#installInstructions li{padding:5px 0}

/* Preserve desktop composition at every width; scale the complete rail uniformly. */
@media(max-width:600px){.browse-layout{grid-template-columns:120px minmax(0,1fr);gap:12px}.home-nav{zoom:.75}.mosaic .tile.tall{grid-row:span 3}.rail .brand-forward .h5-emblem{width:82px;height:42px}}
@media(max-width:380px){.browse-layout{grid-template-columns:104px minmax(0,1fr);gap:10px}.home-nav{zoom:.65}}

.browse-sidebar{min-width:0;display:flex;flex-direction:column;gap:12px}.sidebar-games{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}.sidebar-games .tile{grid-column:auto;grid-row:auto;aspect-ratio:1;width:100%}.sidebar-games .tile span{font-size:13px}.sidebar-games .tile b{width:21px;height:21px;font-size:14px}

.sidebar-games{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:var(--side-cell,72px);grid-auto-flow:dense;align-content:start}.sidebar-games .tile{aspect-ratio:auto;min-height:0;grid-column:span 2;grid-row:span 2}.sidebar-games .tile.side-small{grid-column:span 1;grid-row:span 1}.sidebar-games .tile.side-row-1{grid-row:span 1}.sidebar-games .tile.side-row-3{grid-row:span 3}

/* Clear, labelled game controls. */
.player-bar{flex-wrap:wrap}.player-actions{display:flex;gap:6px;flex:none}.player-actions .tool{width:auto;min-width:66px;height:58px;padding:7px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #dce9ed;border-radius:11px;background:#f5fafb;color:#346174;transition:background .15s,border-color .15s}.player-actions .tool svg{width:23px;height:23px;flex:none}.player-actions .tool span{font:600 11px/1.2 Arial,Helvetica,sans-serif;white-space:nowrap}.player-actions .tool:hover{background:#e4f5f2;border-color:#9dcfc7;color:#007f80}.player-actions .tool.saved,.player-actions .tool[aria-pressed="true"]{background:#ddf2ec;color:#087f75;border-color:#90c8bb}.player-actions .tool.saved svg{fill:#087f7526}@media(max-width:1100px){.player-actions{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-top:10px;border-top:1px solid #e9eff1}.player-actions .tool{min-width:0;width:100%;padding:7px 2px}.player-bar .game-title{min-width:0}.player-actions .tool span{font-size:11px}}

#guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guide-entry{display:flex;align-items:center;gap:12px;padding:10px;background:#f0f8f6;border-radius:12px;min-width:0}.guide-entry:hover{background:#ddf2ec}.guide-entry img{width:54px;height:54px;object-fit:cover;border-radius:9px;flex:none}.guide-entry span{min-width:0}.guide-entry strong{display:block;font-size:14px;overflow-wrap:anywhere}.guide-entry small{display:block;margin-top:5px;font-size:12px;color:#497b80}#game-guide{scroll-margin-top:16px}#game-guide:focus{outline:2px solid #8ad1c4;outline-offset:3px}@media(max-width:600px){#guide-list{grid-template-columns:1fr}}

.collection-portrait i,.collection-landscape i,.collection-portrait svg,.collection-landscape svg{width:36px;height:36px}

/* Left icon, right label; retain the vertical navigation rail. */
.collection{flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;padding:8px 6px;text-align:left}.collection i{flex:0 0 36px;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.collection span{flex:1;min-width:0;white-space:nowrap;font-size:13px;line-height:1.25;overflow-wrap:normal}.collection svg{flex:none}.collection-portrait svg,.collection-landscape svg{width:36px;height:36px}
/* Illustrated category directory, independent of the navigation rail. */
.category-section{margin:42px 0 0}.category-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px;padding:0 3px}.category-heading p{font-size:11px;letter-spacing:2px;font-weight:700;margin:0 0 8px;color:#216d71}.category-heading h2{font-size:30px;letter-spacing:-.7px;margin:0}.category-heading>span{font-size:13px;color:#216d71;padding-bottom:4px}.category-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.category-card{position:relative;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 8px;min-height:96px;border-radius:20px;color:#123e53;background:#fff;box-shadow:0 6px 0 #1a7a7510,0 10px 19px -12px #07536570;text-align:left;transition:transform .18s,box-shadow .18s;isolation:isolate;overflow:hidden}.category-art{flex:0 0 76px;width:76px;height:76px;position:relative;display:grid;place-items:center}.category-art:before{content:'';position:absolute;inset:9px 4px;background:var(--card-accent);border-radius:48% 52% 43% 57%;transform:rotate(-12deg);z-index:-1}.category-art img{width:100%;height:100%;object-fit:contain;transition:transform .18s}.category-label{font-size:14px;line-height:1.25;font-weight:750;overflow-wrap:normal;min-width:0}.category-arrow{display:none}.category-featured{min-height:224px;flex-direction:column;align-items:stretch;gap:6px;padding:12px 18px 20px}.category-featured .category-art{width:100%;height:164px;flex:1 0 164px}.category-featured .category-art img{max-width:190px}.category-featured .category-art:before{inset:18px 0 7px}.category-featured .category-label{font-size:17px;padding-right:18px}.category-featured .category-arrow{display:block;position:absolute;right:17px;bottom:20px;color:#7c9eaa;font-size:19px}.category-card:hover{transform:translateY(-4px);box-shadow:0 14px 24px -10px #07536570}.category-card:hover img{transform:rotate(-4deg) scale(1.06)}.category-empty{grid-column:1/-1;text-align:center;padding:12px 20px 26px;max-width:480px;margin:auto}.category-empty img{display:block;margin:auto}.category-empty p{line-height:1.6;color:#607986}.footer{max-width:none;margin-top:28px;padding:26px 30px}.footer h1{font-size:21px;margin-bottom:8px}.footer p{font-size:14px}.foot-links{margin-top:20px}
@media(max-width:1100px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-featured:nth-child(5),.category-featured:nth-child(6){grid-column:auto;flex-direction:column;align-items:stretch;min-height:190px}.category-featured .category-art,.category-featured:nth-child(5) .category-art,.category-featured:nth-child(6) .category-art{flex:1 0 130px;height:130px;width:100%}.category-card{padding:8px;gap:5px;border-radius:16px}.category-featured{padding:10px 14px 18px;min-height:190px}.category-label{font-size:12px}.category-art{flex-basis:58px;width:58px;height:58px}.category-featured .category-label{font-size:15px}}
@media(max-width:520px){.category-section{margin-top:30px}.category-heading h2{font-size:23px}.category-heading>span{display:none}.category-heading p{font-size:9px;letter-spacing:1.5px}.category-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-featured,.category-featured:nth-child(5),.category-featured:nth-child(6){min-height:176px}.category-featured .category-art,.category-featured:nth-child(5) .category-art,.category-featured:nth-child(6) .category-art{height:118px;flex-basis:118px}.category-card:not(.category-featured){min-height:82px}.category-art{width:52px;height:60px;flex-basis:52px}.category-featured .category-label{font-size:14px}.category-featured .category-arrow{right:11px;bottom:18px}.footer{padding:20px}.foot-links{gap:14px}}
@media(prefers-reduced-motion:reduce){.category-card,.category-art img{transition:none}}

/* Approved compact navigation: same fixed rail, larger content. */
.collections{grid-template-rows:repeat(4,64px);gap:3px;padding:5px;border-radius:18px}
.collection{height:64px;gap:4px;padding:4px;color:#496773}
.collection i{width:44px;height:48px;flex:0 0 44px}
.collection svg{width:34px;height:34px}
.collection-portrait svg{width:44px;height:51px}
.collection-landscape svg{width:46px;height:42px}
.collection span{font-size:14px;font-weight:700;line-height:1.15;white-space:nowrap}
.collection-install span{white-space:normal}
.collection-ai svg{width:36px;height:36px}
.collection.active{color:#103e48}
.collection.active:before{top:23%;bottom:23%}

/* Production integration: explicit pixels, never viewport-converted type. */
html{background:#70f5de;font-size:16px}body{min-width:280px;margin:0}.mosaic-home.page-container,.h5-detail-page{padding:0;background:transparent;min-height:100vh}.mosaic-site{font:14px/1.5 Arial,Helvetica,sans-serif;color:#073454}.mosaic-site h1,.mosaic-site h2,.mosaic-site h3{font-weight:700}.mosaic-site dialog:not([open]){display:none}.mosaic-site button{border:0}.mosaic-site .tile img{max-width:none}.mosaic-partners,.mosaic-ad,.mosaic-extra-guide,.mosaic-legacy-guide{margin:24px;padding:24px;background:#ffffffdf;border-radius:18px;color:#123e53}.mosaic-ad{text-align:center}.mosaic-ad>p{font-size:11px;color:#607986}.mosaic-partners .h5-partners{margin:0;border:0;padding:0;background:none}.mosaic-partners .h5-partners p,.mosaic-partners .h5-partners h2,.mosaic-partners .partners__actions a{color:#123e53}.mosaic-extra-guide h2{font-size:22px;margin:18px 0 8px}.mosaic-extra-guide ul{padding-left:24px}.mosaic-extra-guide details{padding:12px 0}.mosaic-legacy-guide .pawnshop-detail{background:#152423;border-radius:16px;margin-top:16px}.mosaic-legacy-guide summary{cursor:pointer;font-weight:700}.mosaic-site .footer h1{line-height:1.3}.mosaic-site .foot-links{flex-wrap:wrap}.mosaic-site .collection span{overflow-wrap:normal}.mosaic-site .dialog-head{gap:12px}.mosaic-site dialog{color:#073454}.mosaic-site .category-card{border:0}.mosaic-site .category-cards a{display:flex}.mosaic-site .play-main{min-width:0}.mosaic-site .game-title h1{overflow-wrap:anywhere}

/* Production integration: explicit pixels, never viewport-converted type. */
html{background:#70f5de;font-size:16px}body{min-width:280px;margin:0}.mosaic-home.page-container,.h5-detail-page{padding:0;background:transparent;min-height:100vh}.mosaic-site{font:14px/1.5 Arial,Helvetica,sans-serif;color:#073454}.mosaic-site h1,.mosaic-site h2,.mosaic-site h3{font-weight:700}.mosaic-site dialog:not([open]){display:none}.mosaic-site button{border:0}.mosaic-site .tile img{max-width:none}.mosaic-partners,.mosaic-ad,.mosaic-extra-guide,.mosaic-legacy-guide{margin:24px;padding:24px;background:#ffffffdf;border-radius:18px;color:#123e53}.mosaic-ad{text-align:center}.mosaic-ad>p{font-size:11px;color:#607986}.mosaic-partners .h5-partners{margin:0;border:0;padding:0;background:none}.mosaic-partners .h5-partners p,.mosaic-partners .h5-partners h2,.mosaic-partners .partners__actions a{color:#123e53}.mosaic-extra-guide h2{font-size:22px;margin:18px 0 8px}.mosaic-extra-guide ul{padding-left:24px}.mosaic-extra-guide details{padding:12px 0}.mosaic-legacy-guide .pawnshop-detail{background:#152423;border-radius:16px;margin-top:16px}.mosaic-legacy-guide summary{cursor:pointer;font-weight:700}.mosaic-site .footer h1{line-height:1.3}.mosaic-site .foot-links{flex-wrap:wrap}.mosaic-site .collection span{overflow-wrap:normal}.mosaic-site .dialog-head{gap:12px}.mosaic-site dialog{color:#073454}.mosaic-site .category-card{border:0}.mosaic-site .category-cards a{display:flex}.mosaic-site .play-main{min-width:0}.mosaic-site .game-title h1{overflow-wrap:anywhere}
/* Keep the approved mint background on the new detail shell as well. */
.page-container.h5-detail-page{background:transparent!important;padding:0!important}.mosaic-site .notice{color:#275d64}.mosaic-site .notice a{color:#07566b}
/* Immersive layout only. Game scripts, URLs, ad bridges and saves stay unchanged. */
.immersive-exit,.immersive-banner{display:none}body.game-immersive{overflow:hidden}
.immersive-shell.is-immersive{position:fixed;inset:0;z-index:1000;margin:0;background:#101820;width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px);box-sizing:border-box}
.is-immersive .screen{flex:1;min-height:0;width:100%;height:auto;max-height:none;aspect-ratio:auto;container-type:size;display:grid;place-items:center;background:#101820}
.is-immersive .screen iframe{width:100%;height:100%;display:block;border:0}
.is-immersive.immersive-pawnshop .screen iframe{width:min(100cqw,calc(100cqh * 950 / 1655));height:min(100cqh,calc(100cqw * 1655 / 950))}
.is-immersive .immersive-exit{display:grid;place-items:center;position:absolute;left:0;top:max(4px,env(safe-area-inset-top));width:43px;height:37px;z-index:3;border:0;border-radius:0 0 15px 0;background:white;color:#12516a;font-size:27px;line-height:1;box-shadow:0 2px 8px #0002;cursor:pointer}
.is-immersive .immersive-banner{display:flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;height:calc(64px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:white}
.banner-reserved{display:grid;place-items:center;width:320px;max-width:100%;height:50px;background:#f5f7f8;color:#9aa9af;font:10px Arial,sans-serif;letter-spacing:1px}
@media(orientation:landscape) and (max-height:500px){.immersive-shell.is-immersive{padding-top:env(safe-area-inset-top,0px)}.is-immersive .immersive-banner{height:calc(58px + env(safe-area-inset-bottom));padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}}

/* Real 320x50 display unit: 150px separation from the entire game viewport.
   No overlay, no ad resizing, no refresh. Small viewports and ad-free games exclude it. */
.is-immersive .immersive-banner{display:none}
.is-immersive.has-fullscreen-banner .immersive-banner{display:flex;position:relative;flex:none;box-sizing:border-box;margin-top:150px;height:calc(72px + env(safe-area-inset-bottom));padding:16px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;align-items:center;justify-content:center}
.fullscreen-ad-label{position:absolute;top:2px;left:0;width:100%;text-align:center;color:#88979d;font:10px Arial,sans-serif;line-height:12px}
.immersive-banner ins.adsbygoogle{flex:none;width:320px!important;height:50px!important}
