/* the Grug Arcade's classic look, shared by the games list (/arcade/) and the game pages (/arcade/place/) */
/* Laid out like a classic 2011 games page: a 920px column on a sky background, a 130px header (banner + blue nav),
   a 140px genre column, 160x130 game tiles in a 738px box, a 300x300 box beside the first rows, a Verdana footer. */
*{box-sizing:content-box}
html,body{margin:0;padding:0}
body{position:relative;font:12px Arial,Helvetica,sans-serif;color:#000;background:#1f4a10;min-width:920px}
/* the background: slow pans across ray-traced shots of Grug City, crossfading, fading down into solid green */
.bgfx{position:absolute;left:0;top:0;width:100%;height:1250px;overflow:hidden;z-index:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 0,#000 480px,transparent 1150px);mask-image:linear-gradient(#000 0,#000 480px,transparent 1150px)}
.bgfx .sh{position:absolute;inset:0;opacity:0;background:#1f4a10 50% 30%/cover no-repeat;transition:opacity 2.6s ease;will-change:transform,opacity;transform:scale(1.14)}
.bgfx .sh.on{opacity:1}
#Container{position:relative;z-index:1}
/* side skyscrapers (160x600) in the gutters beside the column: Grug's socials, cycling, with live Discord and YouTube data */
.sky{position:absolute;top:270px;width:160px;height:600px;z-index:2;display:none}
.sky.l{left:calc(50% - 460px - 178px)} .sky.r{left:calc(50% + 460px + 18px)}
@media (min-width:1300px){.sky{display:block}}
.sky .ad{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;overflow:hidden;color:#fff;text-decoration:none!important;opacity:0;visibility:hidden;transition:opacity 1.2s,visibility 0s 1.2s;
  font-family:Arial,Helvetica,sans-serif;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 6px 18px rgba(0,0,0,.35);text-align:center}
.sky .ad.on{opacity:1;visibility:visible;transition:opacity 1.2s}
.sky .ad:hover .cta{filter:brightness(1.08)}
.sky .k{font:bold 11px/1 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;margin-top:16px;opacity:.85}
.sky .h{font:bold 24px/1.05 Arial,sans-serif;margin:6px 10px 0;text-shadow:0 2px 0 rgba(0,0,0,.25)}
.sky .big{font:bold 52px/1 Arial,sans-serif;margin-top:14px;text-shadow:0 3px 0 rgba(0,0,0,.25)}
.sky .sub{font-size:12px;margin:4px 12px 0;opacity:.9;line-height:1.3}
.sky .cta{position:absolute;left:12px;right:12px;bottom:14px;height:36px;line-height:36px;border-radius:6px;font:bold 15px/36px Arial,sans-serif;background:#fff;color:#222}
.sky .figs{position:absolute;left:0;right:0;bottom:56px;height:150px}
.sky .figs img{position:absolute;bottom:0;height:140px;width:auto}
.sky .live{display:inline-block;margin-top:10px;padding:3px 8px;border-radius:10px;background:rgba(0,0,0,.25);font:bold 11px/1.2 Arial,sans-serif;letter-spacing:.05em}
.sky .av{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin:12px 10px 0}
.sky .av img,.sky .av i{width:34px;height:34px;border-radius:50%;background:#5865f2;box-shadow:0 0 0 2px #23272a,0 0 0 4px #3ba55c}
.sky .av i{display:inline-grid;place-items:center;font:bold 14px/1 Arial,sans-serif;font-style:normal;color:#fff}
.sky .names{margin:10px 12px 0;font-size:12px;line-height:1.5;color:#b9bbbe;text-align:left;width:136px}
.sky .names b{color:#fff;font-weight:bold}
.sky .thumb{position:relative;width:144px;height:81px;margin-top:12px;background:#000 center/cover no-repeat;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.sky .thumb::after{content:"";position:absolute;left:50%;top:50%;margin:-11px 0 0 -8px;border:11px solid transparent;border-left:17px solid rgba(255,255,255,.92);border-right:0}
.sky .tt{margin:8px 10px 0;font:bold 13px/1.25 Arial,sans-serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;width:140px}
.sky .stack{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.sky .stack .thumb{margin-top:0;height:72px;width:128px}
.sky .grid{display:grid;grid-template-columns:repeat(2,64px);gap:6px;margin-top:14px}
.sky .grid span{width:64px;height:64px;background:#ddd center/cover no-repeat;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.sky .kl{background:linear-gradient(#ffd6ea,#cfe6ff);color:#3a3a6a} .sky .kl .cta{background:linear-gradient(90deg,#ff9cc8,#8cc4ff);color:#fff}
.sky .kb{background:linear-gradient(160deg,#9cc9ff,#ffb3d6);color:#fff} .sky .kb .cta{color:#d14d8b}
.sky .spn{position:absolute;top:6px;right:6px;font:bold 9px/1 Arial,sans-serif;letter-spacing:.08em;padding:3px 5px;border-radius:3px;background:rgba(255,255,255,.75);color:#d14d8b}
.sky .ig{background:linear-gradient(200deg,#f9a03f 0%,#e1306c 45%,#833ab4 100%)}
.sky .dc{background:linear-gradient(#6d78f5,#4752c4)}
.sky .dk{background:#23272a}
.sky .yt{background:linear-gradient(#ff3d3d,#c4120c)}
.sky .yk{background:#0f0f0f}
.sky .cr{background:linear-gradient(#fff7e8,#ffd9e8);color:#3a2a4a}
.sky .cr .cta{background:linear-gradient(200deg,#f9a03f,#e1306c 55%,#833ab4);color:#fff}
.sky .yk .cta,.sky .yt .cta{color:#c4120c}
.sky .dc .cta,.sky .dk .cta{color:#4752c4}
.sky .ig .cta{color:#c1357a}

a{color:#1d7a0c;text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{margin:0;font-size:inherit;font-weight:inherit;display:inline}
img{border:0}
#Container{width:900px;padding:0 10px;margin:0 auto}

/* house ad in the leaderboard slot (728x90) */
#Leaderboard{width:898px;height:102px;margin:0 1px 5px;display:flex;align-items:flex-end;justify-content:center}
.lb{position:relative;display:block;width:728px;height:90px;overflow:hidden;background:#0b2350;color:#fff;text-decoration:none!important}
.lb .bgk{position:absolute;inset:0;background:linear-gradient(90deg,#0a1f48 0,#12408a 55%,#1a5bb8 100%)}
.lb .fig{position:absolute;bottom:-14px;height:104px;width:auto}
.lb .t{position:absolute;left:232px;top:12px;width:320px}
.lb .t b{display:block;font:bold 21px/1.1 Arial,Helvetica,sans-serif;text-shadow:0 2px 0 #071a3d}
.exp{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.exp i{font:bold 11px/1 Arial,Helvetica,sans-serif;font-style:normal;text-shadow:none;padding:3px 6px;border-radius:3px;background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.exp i.k{background:#fff;color:#0b3d8f}
.lb .t>span{display:block;margin-top:4px;font-size:12px;color:#cfe0ff}
.lb .go{position:absolute;right:18px;top:26px;padding:0 16px;height:36px;line-height:36px;border-radius:6px;font:bold 15px/36px Arial,Helvetica,sans-serif;color:#1e1b16;
  background:linear-gradient(#c6f57a,#9be338 50%,#86cf27 51%,#9be338);border:1px solid #5f9a18;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.lb:hover .go{filter:brightness(1.06)}

/* header: banner (100) + nav (30) */
#Header{width:900px;height:130px;position:relative;font-weight:bold;color:#fff}
#Banner{position:relative;height:100px}
#Banner .crowd{position:absolute;bottom:0;height:92px;width:auto}
#Logo{position:absolute;left:275px;top:12px;width:350px;height:70px;display:flex;align-items:center;justify-content:center;z-index:2}
#Logo img{width:350px;height:auto;filter:drop-shadow(0 2px 0 #0a2f72) drop-shadow(0 0 6px rgba(5,25,70,.55))}
#Options{position:absolute;left:0;top:0;width:200px;z-index:3}
#Options a{display:inline-block;margin:6px 5px 0 12px;padding:4px 9px;font:bold 14px/16px Arial,Helvetica,sans-serif;color:#fff;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.3);
  background:linear-gradient(#7fcf43,#45a116 50%,#38900e 51%,#44a015);border:1px solid #2a6c08;text-decoration:none}
#Options a svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}

.Navigation{position:relative;height:30px;font-size:16px;line-height:20px;background:linear-gradient(#8fdc4c 0,#5cb41e 45%,#3f9612 50%,#3a8c10 100%);z-index:5}
.Navigation ul{list-style:none;margin:0 5px;padding:0;display:flex}
.Navigation li{padding:6px 0 4px}
.Navigation li>a{display:inline-block;padding:0 8px;font-weight:bold;color:#fff;text-decoration:none;text-shadow:0 1px 0 rgba(0,40,0,.35)}
.Navigation li>a:hover{text-decoration:underline}
#gamesMenuToggle{display:inline-block;width:10px;height:6px;margin:0 0 3px -6px;padding:0 6px 0 0;cursor:pointer;vertical-align:middle;border:0;background:none}
#gamesMenuToggle::after{content:"";display:block;width:0;height:0;border:5px solid transparent;border-top:6px solid #fff;border-bottom:0}
.dropdown{display:none;position:absolute;left:121px;top:30px;z-index:20;font-weight:normal;box-shadow:0 4px 10px rgba(0,0,30,.4)}
.dropdown.open{display:flex}
.dropdown .col{background:#3a8c10;border:1px solid #275f09;padding:6px 8px}
.dropdown .gen{width:300px;display:flex;flex-wrap:wrap}
.dropdown .gen a,.dropdown .more a{display:flex;align-items:center;gap:5px;padding-left:6px!important;width:50%;box-sizing:border-box;padding:3px 2px;font-size:15px;color:#fff}
.dropdown .more{width:145px;border-left:0}
.dropdown .more a{width:auto}

#Announcement{margin:3px}
.SystemAlertText{position:relative;height:18px;padding:2px;background:#ffa500;color:#fff;font:bold 16px/18px Arial,Helvetica,sans-serif;text-align:center}
.SystemAlertText a{color:#fff;text-decoration:underline}
.SystemAlertText svg{width:16px;height:16px;vertical-align:-2px;margin-right:5px}

/* body */
#Body{width:890px;padding:5px;background:#f2f2f2;overflow:hidden}
#UsersOnline{display:block;margin:0 0 6px 2px;font:bold 13px/1.2 Arial,Helvetica,sans-serif;color:#333;text-decoration:none}
#UsersOnline b{color:#1f8a1f}
#UsersOnline:hover{text-decoration:underline}
#UsersOnline[hidden]{display:none}
.Column1e{float:left;width:140px;margin-top:10px}
.Column2e{float:left;width:740px;margin:10px 0 0 10px;position:relative}
.StandardBoxHeader{height:33px;padding:0 7px 0 5px;width:126px;color:#fff;font:bold 20px/1 Arial,Helvetica,sans-serif;position:relative;
  background:linear-gradient(#5a5a5a,#2b2b2b 50%,#111 51%,#1d1d1d);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%);border-radius:4px 0 0 0}
.StandardBoxHeader span{display:block;padding:6px 5px 0 2px}
.StandardBox{width:126px;padding:20px 5px;margin:0 0 8px;border:1px solid #aaa;background:#fff linear-gradient(#e9e9e9,#fff 90px) no-repeat}
.GameFilter>div{font-size:14px;color:#555;padding-left:12px}
.GameFilter ul{list-style:none;margin:5px 0 0;padding:0;font-size:14px}
.GameFilter li{margin:0 0 1px}
.GameFilter li a{display:inline-block;padding:0 0 0 28px;line-height:16px;color:#00f}
.GameFilter li a.on{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14'%3E%3Cpath d='M8 1l7 6-7 6z' fill='%23d20000'/%3E%3C/svg%3E") no-repeat 4px 1px}
#Genres{margin-top:20px}
.me{text-align:center}
.me .pic{width:120px;height:120px;margin:0 auto 6px;background:#fff;border:1px solid #ddd}
.me .pic img{width:120px;height:120px;object-fit:contain}
.me b{display:block;font-size:13px;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me select{width:124px;font:12px Arial,Helvetica,sans-serif;margin-bottom:8px}
.me p{margin:0 0 6px;font-size:11px;color:#555;line-height:1.3}

#PlayTabs{float:left;height:31px;display:flex}
.Tab{position:relative;height:31px;margin-left:4px;cursor:pointer;font:bold 16px Arial,Helvetica,sans-serif;color:#333;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);border-radius:4px 0 0 0;
  background:linear-gradient(#e3e3e3,#c9c9c9);box-shadow:inset 1px 1px 0 #aaa,inset -1px 0 0 #aaa}
.Tab:first-child{margin-left:4px}
.Tab span{display:block;padding:6px 20px 0 8px;height:25px;white-space:nowrap}
.Tab.on{background:linear-gradient(#fff,#f7f7f7);z-index:2;box-shadow:inset 1px 1px 0 #aaa,inset -1px 0 0 #aaa}
.Tab:not(.on):hover{background:linear-gradient(#ececec,#d4d4d4)}
.Search{position:relative;float:right}
#searchbox{width:171px;height:20px;padding:1px 2px;border:2px inset #767676;font:13.3px Arial,sans-serif;color:#000;background:#fff}
#searchbox::placeholder{color:#888}
.SearchIconButton{position:absolute;right:5px;top:5px;width:16px;height:16px;cursor:pointer;border:0;padding:0;background:none}
.StandardBoxGray{clear:both;position:relative;top:-2px;float:left;width:726px;padding:5px;margin:0 0 10px;border:1px solid #aaa;background:#fff linear-gradient(#e9e9e9,#fff 120px) no-repeat}
#GamesContent{min-height:300px}
#GamePageAdDiv{float:right;width:300px;height:300px;display:inline}
.rect{position:relative;display:block;width:300px;height:250px;overflow:hidden;color:#fff;text-decoration:none!important;background:linear-gradient(#3d93e8,#7cbcf5 58%,#c4e3fb)}
.rect .figs{position:absolute;left:0;right:0;bottom:56px;height:104px}
.rect .figs img{position:absolute;bottom:0;height:100px;width:auto}
.rect .exp{justify-content:center;margin-top:7px}
.rect .t{position:absolute;left:0;right:0;top:10px;text-align:center;font:bold 21px/1.1 Arial,Helvetica,sans-serif;text-shadow:0 2px 0 #0b3b7c}
.rect .s{display:block;margin-top:4px;font-size:12px;font-weight:normal;text-shadow:none;color:#eef6ff;text-shadow:0 1px 0 rgba(11,59,124,.5)}
.rect .bar{position:absolute;left:0;right:0;bottom:0;height:56px;background:#0b2350;display:flex;align-items:center;justify-content:center}
.rect .go{padding:0 16px;height:34px;line-height:34px;border-radius:6px;font:bold 15px/34px Arial,Helvetica,sans-serif;color:#1e1b16;
  background:linear-gradient(#c6f57a,#9be338 50%,#86cf27 51%,#9be338);border:1px solid #5f9a18;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.rect:hover .go{filter:brightness(1.06)}
.rect-note{display:block;margin-top:4px;text-align:center;font-size:11px;color:#888}
.rect-note a{color:#888}

/* the spotlight: one game at the top of the page (now Zone Royale) */
#Spotlight{margin:10px 0 2px;overflow:hidden}
#Spotlight .StandardBoxHeader{width:auto;display:inline-block;padding-right:28px}
#Spotlight .box{clear:both;position:relative;top:-2px;display:flex;gap:14px;padding:8px;border:1px solid #aaa;background:#fff linear-gradient(#e9e9e9,#fff 120px) no-repeat}
#Spotlight .shot{position:relative;flex:none;display:block;width:480px;height:270px;border:1px solid #888;overflow:hidden;background:#000}
#Spotlight .shot img{display:block;width:480px;height:270px}
#Spotlight .shot .new{position:absolute;left:8px;top:8px;padding:3px 8px;background:#d8281f;color:#fff;font:bold 13px Arial,Helvetica,sans-serif;border-radius:3px}
#Spotlight .txt{flex:1;min-width:0;font:13px/1.4 Arial,Helvetica,sans-serif;color:#333;display:flex;flex-direction:column}
#Spotlight .txt h2{margin:2px 0 0;font:bold 30px/1.05 Arial,Helvetica,sans-serif;color:#111}
#Spotlight .txt h2 a{color:inherit;text-decoration:none}
#Spotlight .tag{margin:3px 0 8px;font:bold 13px Arial,Helvetica,sans-serif;color:#c00}
#Spotlight ul{margin:0 0 10px;padding-left:18px}
#Spotlight li{margin:2px 0}
#Spotlight .play{margin-top:auto;align-self:flex-start;display:inline-block;padding:0 28px;height:42px;line-height:42px;border-radius:6px;font:bold 20px/42px Arial,Helvetica,sans-serif;color:#1e1b16;text-decoration:none;
  background:linear-gradient(#c6f57a,#9be338 50%,#86cf27 51%,#9be338);border:1px solid #5f9a18;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
#Spotlight .play:hover{filter:brightness(1.06)}
#Spotlight .fine{margin-top:6px;font-size:11px;color:#888}
/* Local Multiplayer (the box under the Spotlight; the controller photo is public domain, by Evan-Amos on Wikimedia Commons) */
#CoOp{margin:8px 0 2px;overflow:hidden;clear:both}
#CoOp .StandardBoxHeader{width:auto;display:inline-block;padding-right:28px}
#CoOp .box{clear:both;position:relative;top:-2px;display:flex;gap:14px;align-items:flex-start;padding:10px;border:1px solid #aaa;background:#fff linear-gradient(#e9e9e9,#fff 120px) no-repeat}
#CoOp .pads{flex:none;width:210px;height:auto;margin:2px 8px 0 4px}
#CoOp .txt{flex:1;min-width:0;font:13px/1.45 Arial,Helvetica,sans-serif;color:#333}
#CoOp .tag{margin:0 0 6px;font:bold 15px Arial,Helvetica,sans-serif;color:#c00}
#CoOp ol{margin:0 0 8px;padding-left:20px} #CoOp li{margin:2px 0}
#CoOp .games{margin:0 0 6px} #CoOp a{color:#00f}
#CoOp .tip{margin:0 0 6px;padding:5px 8px;background:#f6f6f6;border:1px solid #ddd}
#CoOp .fine{font-size:11px;color:#888} #CoOp .fine a{color:#888}
@media (max-width:920px){#CoOp .box{flex-direction:column}#CoOp .pads{width:170px;align-self:center}}
@media (max-width:920px){#Spotlight .box{flex-direction:column}#Spotlight .shot,#Spotlight .shot img{width:100%;height:auto}}

/* the game tiles: 180x150 cells, 160x130 tiles with 6px padding */
.Cell{float:left;width:180px;height:150px}
.GameItem{position:relative;width:160px;height:130px;padding:6px;margin:0 0 8px 8px}
.AlwaysShown{position:relative;z-index:2}
.AlwaysShown .thumb{display:block;width:160px;height:100px;background:#ccc}
.AlwaysShown .thumb img{display:block;width:160px;height:100px;object-fit:cover}
.GameName{font-weight:bold;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:14px;line-height:14px}
.PlayerCount{color:red;line-height:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.HoverShown{display:none;position:absolute;top:-10px;left:-10px;z-index:1;width:160px;padding:158px 15px 15px;font-size:11px;color:#888;background:#fff;border:1px solid #888;border-radius:5px;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.HoverShown div{line-height:14px}
.GameItem:hover{z-index:10}
.GameItem:hover .HoverShown{display:block}
.Empty{float:left;width:400px;padding:30px 10px 10px 16px;font-size:14px;color:#555;line-height:1.45}
.Paging{clear:both;text-align:center;padding-bottom:20px;color:#888;font-size:14px}
.Arrow{display:inline-block;position:relative;top:12px;width:36px;height:36px;border:0;padding:0;cursor:pointer;border-radius:50%;
  background:radial-gradient(circle at 50% 35%,#9be358,#4fa81a 60%,#3a8c10);box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.Arrow::after{content:"";position:absolute;top:11px;left:13px;border:7px solid transparent;border-left:10px solid #fff;border-right:0}
.Arrow.prev::after{left:11px;border-left:0;border-right:10px solid #fff}
.Arrow[disabled]{visibility:hidden}
#GenreDescriptionPanel{clear:both;width:715px;padding:10px;font-size:10.8px}

/* footer */
#Footer{width:860px;padding:39px 20px;background:#e6e6e6;font:13px Verdana,sans-serif;color:#aaa;text-align:center}
.FooterNav{color:#bbb;margin-bottom:12px}
.FooterNav a{color:#1d7a0c}
.Legalese{margin:10px 0;font-size:10px;color:#555;line-height:1.35}
.Legalese a{color:#1d7a0c}

/* ===== Warpdrive (our partner, https://warpdrive.team/): a starfield in deep purple, their wordmark, their pixel stamp ===== */
.wd{position:relative;overflow:hidden;color:#fff;text-decoration:none!important;
  background:linear-gradient(160deg,#07041a 0,#170a3a 48%,#3a1170 100%)}
.wd .stars{position:absolute;inset:0;pointer-events:none;opacity:.9;background:
  radial-gradient(1.2px 1.2px at 12% 18%,#fff 60%,transparent 62%),radial-gradient(1px 1px at 33% 72%,#fff 60%,transparent 62%),
  radial-gradient(1.5px 1.5px at 58% 12%,#ffd6fa 60%,transparent 62%),radial-gradient(1px 1px at 81% 44%,#fff 60%,transparent 62%),
  radial-gradient(1.2px 1.2px at 92% 86%,#c9b6ff 60%,transparent 62%),radial-gradient(1px 1px at 6% 90%,#fff 60%,transparent 62%),
  radial-gradient(1px 1px at 47% 52%,#fff 60%,transparent 62%),radial-gradient(1.4px 1.4px at 70% 66%,#fff 60%,transparent 62%),
  radial-gradient(120% 70% at 50% 120%,rgba(255,77,196,.35),transparent 60%)}
.wd .wdw{position:relative;display:block;font:italic 900 22px/1 Arial Black,Arial,Helvetica,sans-serif;letter-spacing:.06em;color:#fff;text-shadow:0 0 6px #b45cff,0 2px 0 #3d0e7a}
.wd .wdst{position:relative;display:block;image-rendering:pixelated;image-rendering:crisp-edges;box-shadow:0 0 0 1px rgba(255,255,255,.25),0 0 14px rgba(255,90,210,.45)}
.wd .spn{position:absolute;top:5px;right:5px;z-index:2;font:bold 9px/1 Arial,Helvetica,sans-serif;letter-spacing:.08em;padding:3px 5px;border-radius:3px;background:rgba(255,255,255,.85);color:#5a1aa8}
.wd .go,.wd .cta{background:linear-gradient(#ff9de6,#ff5bc8 50%,#e93fb3 51%,#ff5bc8)!important;border:1px solid #9b1c78!important;color:#fff!important;text-shadow:0 1px 0 rgba(90,0,60,.5)}
/* the 728x90 banner */
.lb.wd .wdst{position:absolute;left:14px;top:22px}
.lb.wd .t{left:162px;top:12px;width:400px}
.lb.wd .t .wdw{font-size:24px}
.lb.wd .t>span{color:#e2d4ff}
.lb.wd .exp i{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.lb.wd .exp i.k{background:#ff5bc8;color:#fff}
.lb.wd .go{top:27px;right:16px}
/* the 300x250 box */
.rect.wd .t{top:16px;display:flex;flex-direction:column;align-items:center;gap:10px;text-shadow:none}
.rect.wd .t .wdw{font-size:30px}
.rect.wd .s{color:#e2d4ff;text-shadow:none;padding:0 18px;line-height:1.35}
.rect.wd .bar{background:rgba(10,4,30,.75);border-top:1px solid rgba(255,255,255,.15)}
/* the side skyscrapers */
.sky .wd{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 10px;box-sizing:border-box}
.sky .wd .wdw{margin-top:26px;font-size:19px}
.sky .wd .wdst{margin:14px auto 0}
.sky .wd .h{font-size:20px} .sky .wd .big{color:#ff7ad9;text-shadow:0 0 12px rgba(255,90,210,.6)}
.sky .wd ul{position:relative;margin:12px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.35;color:#e2d4ff;text-align:left}
.sky .wd li{margin:0 0 6px;padding-left:12px;position:relative} .sky .wd li::before{content:"◆";position:absolute;left:0;color:#ff7ad9;font-size:9px;top:2px}
.sky .wd .k{position:relative;color:#c9b6ff;margin-top:6px}
.sky .wd .sub{position:relative}
/* the tile in the home page's catalog */
.wdt .thumb.wd{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.wdt .thumb.wd .wdw{font-size:17px}
.wdt .thumb.wd .spn{top:4px;left:4px;right:auto;font-size:9px}

/* ===== the 88x31 stamps: top right of the banner, and a row in the footer ===== */
#Stamps{position:absolute;right:3px;top:3px;z-index:3;display:flex;gap:1px}   /* (3 x 88 + 2: clear of the logo) */
#Stamps a,.Stamps a{display:block;width:88px;height:31px;line-height:0;text-decoration:none!important}
#Stamps img,.Stamps img{display:block;width:88px;height:31px;image-rendering:pixelated;image-rendering:crisp-edges}
#Stamps a:hover img,.Stamps a:hover img{filter:brightness(1.12)}
.FooterNav.Stamps{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:4px 0 14px}
#Banner .crowd:nth-of-type(3),#Banner .crowd:nth-of-type(4){height:62px!important}   /* (the right-hand pair sits under the stamps) */
/* the category pop-up on /arcade/ (opens on arrival; "Categories" in the left column opens it again) */
#CatPop{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:40px 12px;overflow:auto;background:rgba(0,0,0,.55)}
#CatPop[hidden]{display:none}
#CatPop .win{position:relative;width:880px;max-width:100%}
#CatPop .StandardBoxHeader{width:auto;display:inline-block;padding-right:28px}
#CatPop .box{position:relative;top:-2px;padding:12px;border:1px solid #aaa;background:#fff linear-gradient(#e9e9e9,#fff 120px) no-repeat}
#CatPop .x{position:absolute;right:0;top:0;width:30px;height:30px;border:1px solid #888;border-radius:4px;cursor:pointer;font:bold 16px/1 Arial,Helvetica,sans-serif;color:#333;background:linear-gradient(#fafafa,#e3e3e3 50%,#d6d6d6 51%,#e6e6e6)}
#CatPop .hi{margin:0 0 10px;font:bold 15px/1.35 Arial,Helvetica,sans-serif;color:#333}
#CatPop .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
#CatPop .card{display:flex;flex-direction:column;padding:0;border:1px solid #aaa;background:#fff;cursor:pointer;text-align:left;font:13px/1.4 Arial,Helvetica,sans-serif;color:#333}
#CatPop .card:hover{filter:brightness(1.03)} #CatPop .card:hover .go{filter:brightness(1.06)}
#CatPop .pic{position:relative;display:block;aspect-ratio:16/9;background:#000 center/cover no-repeat;border-bottom:1px solid #aaa}
#CatPop .pic .new{position:absolute;left:8px;top:8px;padding:3px 8px;background:#d8281f;color:#fff;font:bold 13px Arial,Helvetica,sans-serif;border-radius:3px}
#CatPop .card b{display:block;margin:8px 10px 2px;font:bold 20px Arial,Helvetica,sans-serif;color:#111}
#CatPop .card .t{display:block;flex:1;margin:0 10px 10px}
#CatPop .card .go{align-self:flex-start;margin:0 10px 12px;padding:0 18px;height:34px;line-height:34px;border-radius:6px;font:bold 16px/34px Arial,Helvetica,sans-serif;color:#1e1b16;
  background:linear-gradient(#c6f57a,#9be338 50%,#86cf27 51%,#9be338);border:1px solid #5f9a18;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
#CatPop .card.soon .go{color:#555;background:linear-gradient(#fafafa,#e3e3e3 50%,#d6d6d6 51%,#e6e6e6);border-color:#888}
#CatPop .all{display:block;margin:12px 0 0;text-align:center;font-size:13px}
/* a drawn dual-screen handheld for the DS card (no logos) */
#CatPop .pic.dsart,.dsart{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3%;background:#dfe6ee}
.dsart i{display:block;height:38%;aspect-ratio:4/3;border:5px solid #9aa4b0;border-radius:6px;background:#4f5a66;box-sizing:border-box}
.dsart i+i{background:#6b7682}
.UnderCon{float:left;width:396px;margin:6px 0 0 6px;padding:0 0 12px;border:1px solid #aaa;background:#fff;font:13px/1.45 Arial,Helvetica,sans-serif;color:#333}
.UnderCon .tape{height:16px;background:repeating-linear-gradient(-45deg,#f3c623 0 12px,#222 12px 24px)}
.UnderCon h3{display:block;margin:12px 14px 4px;font:bold 22px Arial,Helvetica,sans-serif;color:#111}
.UnderCon p{margin:0 14px 8px}
.UnderCon .fine{font-size:11px;color:#888}
#Cats{margin-bottom:20px}
@media (max-width:760px){
  #CatPop{padding:10px 8px}
  #CatPop .cards{grid-template-columns:1fr}
  #CatPop .pic{aspect-ratio:16/7}
  #CatPop .card b{font-size:18px}
}
@media (max-width:939px){ .UnderCon{float:none;width:auto;margin:6px 0} #Cats{margin-bottom:10px} }
@media (max-width:939px){ #Stamps{top:3px;right:3px;gap:3px;zoom:.62} }

/* ===== phones and narrow windows: the same classic page, reflowed into one column =====
   (the pages use width=device-width; above 940px nothing here applies and the page is the fixed 920px column) */
@media (max-width:939px){
  body{min-width:0;font-size:13px}
  *{box-sizing:border-box}
  #Container{width:auto;padding:0 6px}
  #Leaderboard{width:auto;height:auto;margin:6px 0 4px;justify-content:center;overflow:hidden}
  .lb{max-width:100%;flex:none}
  #Header{width:auto;height:auto}
  #Banner{height:86px;overflow:hidden}
  #Banner .crowd{height:72px!important}
  #Banner .crowd:nth-of-type(1){left:2%!important} #Banner .crowd:nth-of-type(2){display:none}
  #Banner .crowd:nth-of-type(3){display:none} #Banner .crowd:nth-of-type(4){left:auto!important;right:2%}
  #Logo{left:50%;top:22px;width:min(300px,62vw);height:auto;transform:translateX(-50%)}
  #Logo img{width:100%}
  #Options{width:auto;top:0}
  #Options a{margin:4px 0 0 4px;font-size:12px;padding:3px 7px}
  .Navigation{height:auto}
  .Navigation ul{margin:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .Navigation ul::-webkit-scrollbar{display:none}
  .Navigation li{flex:none;padding:6px 0 5px}
  .Navigation li>a{font-size:15px;padding:0 7px;white-space:nowrap}
  .dropdown{left:0;right:0;top:100%;flex-direction:column}
  .dropdown .gen{width:auto} .dropdown .more{width:auto;display:flex;flex-wrap:wrap} .dropdown .more a{width:50%}
  .SystemAlertText{height:auto;font-size:13px;line-height:17px;padding:4px 6px}
  #Body{width:auto;padding:5px;overflow:visible}
  #Body::after{content:"";display:block;clear:both}
  .Column1e,.Column2e{float:none;width:auto;margin:10px 0 0}
  .StandardBoxHeader{width:auto;display:inline-block;padding-right:30px}
  .StandardBox{width:auto;padding:12px 8px}
  .GameFilter ul{display:flex;flex-wrap:wrap;gap:4px 2px}
  .GameFilter li a{padding-left:22px;background-position:0 1px!important}
  #Genres{margin-top:10px}
  .me{display:grid;grid-template-columns:96px 1fr;gap:2px 10px;text-align:left;align-items:center}
  .me .pic{grid-row:span 4;width:96px;height:96px;margin:0} .me .pic img{width:96px;height:96px}
  .me select{width:100%;max-width:240px}
  #PlayTabs{float:none}
  .Tab span{padding:6px 14px 0 7px;font-size:14px}
  .Search{float:none;margin:6px 0}
  #searchbox{width:100%;box-sizing:border-box;height:30px}
  .StandardBoxGray{float:none;width:auto;top:0}
  #GamePageAdDiv{float:none;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;margin:4px 0 10px}
  .rect{max-width:100%}
  #GamesContent{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px 8px;min-height:0}
  .Cell{float:none;width:auto;height:auto}
  .GameItem{width:auto;height:auto;margin:0;padding:0}
  .AlwaysShown .thumb,.AlwaysShown .thumb img{width:100%;height:auto;aspect-ratio:16/10}
  .Empty{float:none;width:auto;padding:16px 6px}
  #GenreDescriptionPanel{width:auto;padding:10px 4px}
  #Spotlight .box{flex-direction:column}
  #Spotlight .shot,#Spotlight .shot img{width:100%;height:auto}
  #Spotlight .txt h2{font-size:24px}
  #Footer{width:auto;padding:22px 10px;font-size:12px}
  .FooterNav{line-height:1.9}
}
@media (max-width:760px){ .lb{zoom:.5} }   /* the 728x90 house ad, shrunk to fit */
@media (max-width:939px) and (min-width:761px){ .lb{zoom:.85} }
@media (hover:none){ .GameItem:hover .HoverShown{display:none} }
