/**
 * Arcade Nova skin for MyArcadeTheme.
 * An original, responsive gaming interface built on top of MyArcadePlugin's
 * existing templates and classes.
 */
:root {
  --arcade-bg: #080a12;
  --arcade-surface: #111521;
  --arcade-surface-raised: #171c2b;
  --arcade-surface-muted: #20283a;
  --arcade-line: rgba(184, 205, 237, .12);
  --arcade-text: #f4f7ff;
  --arcade-muted: #9aa7bf;
  --arcade-accent: #6c5cff;
  --arcade-accent-2: #20d9be;
  --arcade-warning: #ffc857;
  --arcade-radius: 16px;
  --arcade-shadow: 0 22px 50px rgba(0, 0, 0, .28);
}

html { background: var(--arcade-bg); }
body {
  background:
    radial-gradient(circle at 12% -5%, rgba(108, 92, 255, .20), transparent 27rem),
    radial-gradient(circle at 90% 20%, rgba(32, 217, 190, .10), transparent 32rem),
    var(--arcade-bg);
  color: var(--arcade-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
body.arcade-menu-open { overflow: hidden; }
a { color: inherit; }
a:hover { color: var(--arcade-accent-2); }
::selection { background: var(--arcade-accent); color: #fff; }
.all, .boxed-cont .bdcn, .bdcn { background: transparent; }
.cont { max-width: 1440px; padding-left: 28px; padding-right: 28px; }
.arcade-skip-link:focus {
  clip: auto; height: auto; width: auto; left: 18px; top: 18px;
  z-index: 10000; border-radius: 8px; background: #fff; color: #080a12;
  font-weight: 800; padding: 10px 14px;
}

/* Header */
.arcade-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--arcade-line);
  background: rgba(8, 10, 18, .88);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}
.arcade-header__main {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 22px;
}
.arcade-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; min-width: 150px; }
.arcade-brand:hover { color: var(--arcade-text); }
.arcade-brand img { display: block; max-width: 170px; max-height: 48px; width: auto; }
.arcade-brand__mark {
  display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px;
  background: linear-gradient(145deg, var(--arcade-accent), #9b8cff); color: #fff;
  box-shadow: 0 8px 20px rgba(108, 92, 255, .3); font-size: 20px; font-weight: 900;
}
.arcade-brand__name { color: #fff; font-size: 18px; font-weight: 850; letter-spacing: -.045em; }
.arcade-primary-nav { min-width: 0; flex: 1 1 auto; }
.arcade-primary-nav .nav_menu { display: flex; align-items: center; gap: 3px; margin: 0; }
.arcade-primary-nav .nav_menu > li { position: relative; }
.arcade-primary-nav .nav_menu > li > a {
  display: block; padding: 9px 10px; border-radius: 8px; color: #c9d2e5;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
}
.arcade-primary-nav .nav_menu > li > a:hover,
.arcade-primary-nav .nav_menu > li.current-menu-item > a,
.arcade-primary-nav .nav_menu > li.current_page_item > a { background: rgba(255,255,255,.06); color: #fff; }
.arcade-primary-nav .nav_menu > li ul {
  position: absolute; top: calc(100% + 12px); left: 0; width: 210px; padding: 7px;
  border: 1px solid var(--arcade-line); border-radius: 12px; background: #151a27;
  box-shadow: var(--arcade-shadow); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: .16s ease;
}
.arcade-primary-nav .nav_menu > li:hover > ul,
.arcade-primary-nav .nav_menu > li:focus-within > ul { opacity: 1; pointer-events: auto; transform: translateY(0); }
.arcade-primary-nav .nav_menu > li ul a { display: block; padding: 9px 10px; border-radius: 7px; color: #c9d2e5; font-size: 13px; }
.arcade-primary-nav .nav_menu > li ul a:hover { background: rgba(255,255,255,.07); color: #fff; }
.arcade-nav-random a { color: var(--arcade-accent-2) !important; }
.arcade-nav-random span { margin-right: 4px; }
.arcade-search {
  display: flex; align-items: center; flex: 0 1 250px; min-width: 145px; height: 38px;
  overflow: hidden; border: 1px solid var(--arcade-line); border-radius: 10px; background: rgba(255,255,255,.045);
}
.arcade-search:focus-within { border-color: rgba(32, 217, 190, .55); box-shadow: 0 0 0 3px rgba(32,217,190,.1); }
.arcade-search input { min-width: 0; height: 100%; border: 0; background: transparent !important; color: var(--arcade-text); font-size: 13px; }
.arcade-search input::placeholder { color: #8d99af; }
.arcade-search button { width: 38px; height: 38px; padding: 0; background: transparent; color: #b5c0d5; font-size: 25px; font-weight: 400; text-transform: none; }
.arcade-search button:hover { color: #fff; }
.arcade-account { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 13px; font-weight: 750; }
.arcade-account__login, .arcade-account__logout { color: #cbd4e6; white-space: nowrap; }
.arcade-account__join {
  padding: 8px 12px; border-radius: 9px; background: var(--arcade-accent); color: #fff; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(108,92,255,.2);
}
.arcade-account__join:hover { background: #7d70ff; color: #fff; }
.arcade-account__user { display: inline-flex; align-items: center; gap: 7px; max-width: 150px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arcade-account__user .avatar { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.arcade-menu-toggle { display: none; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--arcade-line); border-radius: 9px; background: #151a27; }
.arcade-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; }
.arcade-category-bar { border-top: 1px solid rgba(255,255,255,.045); background: rgba(15, 19, 31, .9); }
.arcade-category-bar > .cont { display: flex; align-items: center; min-height: 42px; gap: 14px; }
.arcade-category-bar__label { color: var(--arcade-accent-2); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.arcade-category-bar nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.arcade-category-bar nav::-webkit-scrollbar { display: none; }
.arcade-category-list { display: flex; gap: 3px; width: max-content; margin: 0; }
.arcade-category-list a { display: block; padding: 7px 9px; color: #aebbd0; font-size: 12px; font-weight: 650; white-space: nowrap; }
.arcade-category-list a:hover { color: #fff; }

/* Home discovery */
.arcade-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end;
  position: relative; overflow: hidden; margin: 36px 0 30px; padding: clamp(29px, 5vw, 55px);
  border: 1px solid rgba(144, 135, 255, .22); border-radius: 22px;
  background:
    linear-gradient(105deg, rgba(21, 18, 52, .96), rgba(14, 29, 45, .93)),
    radial-gradient(circle at 90% 10%, #2b7181, transparent 50%);
  box-shadow: var(--arcade-shadow);
}
.arcade-hero:after { content: ""; position: absolute; width: 360px; height: 360px; right: -95px; top: -160px; border: 48px solid rgba(109, 92, 255, .16); border-radius: 50%; }
.arcade-hero__copy { position: relative; z-index: 1; max-width: 680px; }
.arcade-kicker { margin: 0 0 10px; color: var(--arcade-accent-2); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.arcade-hero h1 { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.arcade-hero p:not(.arcade-kicker) { max-width: 540px; margin: 17px 0 0; color: #bdc8da; font-size: 16px; line-height: 1.7; }
.arcade-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.arcade-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 850; }
.arcade-button--primary { background: var(--arcade-accent); color: #fff; box-shadow: 0 12px 28px rgba(108,92,255,.27); }
.arcade-button--primary:hover { background: #7d70ff; color: #fff; transform: translateY(-1px); }
.arcade-button--quiet { border: 1px solid rgba(255,255,255,.18); color: #e9effa; }
.arcade-button--quiet:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.arcade-hero__metrics { display: grid; position: relative; z-index: 1; min-width: 178px; gap: 11px; }
.arcade-hero__metrics > div { padding: 13px 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(5, 8, 18, .25); }
.arcade-hero__metrics strong { display: block; color: #fff; font-size: 23px; line-height: 1.1; letter-spacing: -.04em; }
.arcade-hero__metrics span { display: block; margin-top: 3px; color: #aab7ca; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

/* Sections, grids and game cards */
.main-cn { color: var(--arcade-text); }
.blk-cn, .box, .post-sngl, .widget, #myarcadetheme-author-info {
  border: 1px solid var(--arcade-line); border-radius: var(--arcade-radius); background: var(--arcade-surface); box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.blk-cn { margin-bottom: 28px; padding: 17px; }
.titl {
  display: flex; min-height: 32px; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 16px; color: #f4f7ff; font-size: 18px; font-weight: 850; letter-spacing: -.02em;
}
.titl > div:first-child, .titl > a:first-child { position: relative; }
.titl > div:first-child:after, .titl > a:first-child:after { content: ""; display: block; width: 30px; height: 3px; margin-top: 7px; border-radius: 99px; background: var(--arcade-accent-2); }
.titl .botn-mrgm, .titl > .botn-mrgm { color: var(--arcade-accent-2); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.game_sorting { color: var(--arcade-muted); font-size: 12px; }
.game_sorting label { padding: 0; }
.game_sorting .selecter-selected, .game_sorting select { color: #dfe7f7; }
.game_sorting .selecter-options { color: #1a2130; }

#cntpromotedgames > .lst-gams,
.main-cn > .lst-gams,
.main-cn > .lst-gmct,
.main-cn > .lst-gmct-cntcls-n6,
.blk-cn > .lst-gmct-cntcls-n6,
.lst-gmct.cate-grid,
.lst-gams.cate-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
}
#cntpromotedgames > .lst-gams > li,
.main-cn > .lst-gams > li,
.main-cn > .lst-gmct > li,
.main-cn > .lst-gmct-cntcls-n6 > li,
.blk-cn > .lst-gmct-cntcls-n6 > li,
.lst-gmct.cate-grid > li,
.lst-gams.cate-grid > li { float: none !important; width: auto !important; padding: 0 !important; }
.gmcn-midl, .gmcn-larg, .gmcn-smal {
  position: relative; overflow: hidden; height: 100%; border: 1px solid var(--arcade-line); border-radius: 13px;
  background: var(--arcade-surface-raised); box-shadow: 0 8px 20px rgba(0,0,0,.14); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gmcn-midl:hover, .gmcn-larg:hover, .gmcn-smal:hover { border-color: rgba(108,92,255,.75); box-shadow: 0 18px 28px rgba(0,0,0,.30); transform: translateY(-4px); }
.gmcn-midl .gm-imag, .gmcn-larg .gm-imag:first-child, .gmcn-smal .gm-imag:first-child { display: block; position: relative; overflow: hidden; aspect-ratio: 1 / .82; margin: 0; background: #202738; }
.gmcn-midl .gm-imag a, .gmcn-larg .gm-imag:first-child a, .gmcn-smal .gm-imag:first-child a { display: block; width: 100%; height: 100%; }
.gmcn-midl .gm-imag img, .gmcn-larg .gm-imag:first-child img, .gmcn-smal .gm-imag:first-child img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .32s ease; }
.gmcn-midl:hover .gm-imag img, .gmcn-larg:hover .gm-imag:first-child img, .gmcn-smal:hover .gm-imag:first-child img { transform: scale(1.06); }
.gmcn-midl .gm-imag:after, .gmcn-larg .gm-imag:first-child:after { content: "PLAY"; display: grid; position: absolute; right: 9px; bottom: 9px; width: 38px; height: 28px; place-items: center; border-radius: 7px; background: var(--arcade-accent); color: #fff; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .04em; opacity: 0; transform: translateY(5px); transition: .18s ease; }
.gmcn-midl:hover .gm-imag:after, .gmcn-larg:hover .gm-imag:first-child:after { opacity: 1; transform: translateY(0); }
.gmcn-midl .gm-text, .gmcn-larg .gm-titl, .gmcn-larg .gm-desc { padding-right: 11px; padding-left: 11px; }
.gmcn-midl .gm-text { min-height: 81px; padding-top: 10px; padding-bottom: 9px; }
.gmcn-midl .gm-cate, .gmcn-larg .gm-cate { min-height: 16px; overflow: hidden; color: var(--arcade-accent-2); font-size: 10px; font-weight: 800; line-height: 1.3; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.gmcn-midl .gm-cate a { color: inherit; }
.gmcn-midl .gm-titl, .gmcn-larg .gm-titl { overflow: hidden; margin-top: 3px; color: #f5f7fd; font-size: 13px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.gmcn-midl .gm-titl a:hover, .gmcn-larg .gm-titl a:hover { color: var(--arcade-accent-2); }
.gmcn-larg .gm-desc { display: none; }
.gmcn-midl .gm-rate, .gmcn-larg .gm-rate, .gmcn-midl .gm-view, .gmcn-larg .gm-view { color: #9faec6; font-size: 10px; }
.gmcn-midl .gm-rate, .gmcn-larg .gm-rate { color: var(--arcade-warning); }
.gmcn-midl .gm-rate-view, .gmcn-larg .gm-rate-view { padding: 0 11px 10px; }
.gmcn-larg { padding-bottom: 10px; }
.gmcn-larg .gm-titl { padding-top: 10px; }

/* Sidebar, forms and pagination */
.sidebar .widget, .side-cn .widget { margin-bottom: 18px; padding: 16px; }
.widget-title, .widgettitle { margin: 0 0 13px; color: #fff; font-size: 14px; font-weight: 850; letter-spacing: -.01em; }
.widget ul li { border-color: var(--arcade-line); }
.widget a { color: #c6d1e6; }
.widget a:hover { color: var(--arcade-accent-2); }
.widget input[type="text"], .widget input[type="search"],
input[type="text"], input[type="password"], textarea, select, .mt-slct .selecter-selected {
  border-color: var(--arcade-line); border-radius: 9px; background: #0d111c; color: #e9effa;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, .mt-slct.focus .selecter-selected { border-color: rgba(32,217,190,.55); box-shadow: 0 0 0 3px rgba(32,217,190,.1); }
button, input[type="reset"], input[type="submit"], a.read-more, [class*="botn"] { border-radius: 9px; background: var(--arcade-accent); color: #fff; }
button:hover, input[type="reset"]:hover, input[type="submit"]:hover, a.read-more:hover, [class*="botn"]:hover { background: #7d70ff; color: #fff; }
.wp-pagenavi, .navigation { margin: 24px 0; color: var(--arcade-muted); }
.wp-pagenavi a, .wp-pagenavi span, .page-numbers { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; margin: 2px; border: 1px solid var(--arcade-line); border-radius: 8px; background: var(--arcade-surface); color: #dbe4f4; }
.wp-pagenavi .current, .page-numbers.current, .wp-pagenavi a:hover, .page-numbers:hover { border-color: var(--arcade-accent); background: var(--arcade-accent); color: #fff; }

/* Game page */
.post-game { overflow: hidden; margin: 30px 0 26px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.post-game > header {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 13px;
  padding: 16px 18px; border: 1px solid var(--arcade-line); border-radius: var(--arcade-radius) var(--arcade-radius) 0 0; background: var(--arcade-surface);
}
.post-game > header figure { grid-row: 1 / span 2; margin: 0; overflow: hidden; border-radius: 10px; }
.post-game > header figure img { display: block; width: 58px; height: 58px; object-fit: cover; }
.post-game > header h1 { grid-column: 2; margin: 0; color: #fff; font-size: clamp(20px, 3vw, 29px); line-height: 1.15; letter-spacing: -.035em; }
.post-game .game_post_meta_data { grid-column: 2; margin: 2px 0 0; color: var(--arcade-muted); font-size: 12px; }
.post-game .game_post_meta_data > * { margin-right: 9px; }
.post-game .gm-vote { grid-column: 3; grid-row: 1 / span 2; color: var(--arcade-warning); }
.game-cn { margin: 0; padding: 18px; border: 1px solid var(--arcade-line); border-top: 0; border-radius: 0 0 var(--arcade-radius) var(--arcade-radius); background: #0e121e; }
.myarcade_game_wrap { margin: 0; }
.game-play { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #030407; box-shadow: 0 16px 35px rgba(0,0,0,.32); }
.game-play iframe, .game-play object, .game-play embed { display: block; max-width: 100%; }
.above_game_banner, .below_game_banner { display: flex; justify-content: center; width: 100%; max-width: 100%; min-height: 0; margin: 0 auto 14px; }
.below_game_banner { margin-top: 14px; margin-bottom: 0; }
.bnr_above_game_spacer, .bnr_below_game_spacer { display: none; }
.left_game_sidebar, .right_game_sidebar { overflow: hidden; width: 200px; padding: 10px; border: 1px solid var(--arcade-line); border-radius: 12px; background: var(--arcade-surface); }
.post-game-play + .cntcls { margin-top: 4px; }
.post-game-play + .cntcls .main-cn > * { margin-bottom: 22px; }
.post-game-play + .cntcls .blk-cn { padding: 20px; }
.post-sngl:not(.post-game), .post-sngl { margin: 30px 0; padding: clamp(20px, 4vw, 36px); }
.post-sngl h1, .post-sngl h2, .post-sngl h3 { color: #fff; }
.post-sngl p, .post-sngl li { color: #bdc8da; }
.game_tags { justify-content: flex-start; gap: 8px; }
.game_tags a { margin: 0; border: 1px solid var(--arcade-line); border-radius: 999px; background: var(--arcade-surface-muted); color: #cad5e8; font-size: 12px; }
.game_tags a:hover { background: var(--arcade-accent); border-color: var(--arcade-accent); color: #fff; }

/* Footer */
.ftcn { margin-top: 56px; border-top: 1px solid var(--arcade-line); background: #0b0e17; }
.ftcn-1 { padding: 32px 0 12px; border-bottom: 1px solid var(--arcade-line); }
.ftcn-2 { padding: 20px 0; color: #8592aa; font-size: 12px; }
.ftcn-2 p { margin: 0; }
.ftcn a { color: #b9c7dc; }
.ftcn a:hover { color: var(--arcade-accent-2); }
.botn-gtop { right: 20px; bottom: 20px; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--arcade-shadow); }

@media (max-width: 1240px) {
  .arcade-primary-nav .nav_menu > li > a { padding-right: 7px; padding-left: 7px; }
  .arcade-brand { min-width: auto; }
  .arcade-account__user span, .arcade-account__logout { display: none; }
  #cntpromotedgames > .lst-gams, .main-cn > .lst-gams, .main-cn > .lst-gmct, .main-cn > .lst-gmct-cntcls-n6, .blk-cn > .lst-gmct-cntcls-n6, .lst-gmct.cate-grid, .lst-gams.cate-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .arcade-header__main { min-height: 68px; gap: 13px; }
  .arcade-menu-toggle { display: block; order: 3; margin-left: auto; }
  .arcade-primary-nav { position: fixed; top: 68px; right: 12px; left: 12px; z-index: 120; display: none; overflow: auto; max-height: calc(100vh - 80px); padding: 12px; border: 1px solid var(--arcade-line); border-radius: 14px; background: #131826; box-shadow: var(--arcade-shadow); }
  .arcade-primary-nav.is-open { display: block; }
  .arcade-primary-nav .nav_menu { display: block; }
  .arcade-primary-nav .nav_menu > li > a { padding: 12px; }
  .arcade-primary-nav .nav_menu > li ul { position: static; display: block; width: auto; margin-left: 14px; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .arcade-search { order: 2; margin-left: auto; flex-basis: 220px; }
  .arcade-account { order: 4; }
  .arcade-category-bar { display: none; }
  .arcade-hero { grid-template-columns: 1fr; }
  .arcade-hero__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  #cntpromotedgames > .lst-gams, .main-cn > .lst-gams, .main-cn > .lst-gmct, .main-cn > .lst-gmct-cntcls-n6, .blk-cn > .lst-gmct-cntcls-n6, .lst-gmct.cate-grid, .lst-gams.cate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .left_game_sidebar, .right_game_sidebar { width: 100%; }
}
@media (max-width: 680px) {
  .cont { padding-left: 16px; padding-right: 16px; }
  .arcade-header__main { gap: 9px; }
  .arcade-brand__name { display: none; }
  .arcade-brand__mark { width: 33px; height: 33px; }
  .arcade-search { flex: 1 1 100px; margin-left: 0; }
  .arcade-search input { padding-right: 5px; padding-left: 9px; }
  .arcade-account { display: none; }
  .arcade-menu-toggle { margin-left: 0; }
  .arcade-primary-nav { top: 60px; }
  .arcade-hero { margin: 20px 0 22px; padding: 27px 22px; border-radius: 17px; }
  .arcade-hero h1 { font-size: 34px; }
  .arcade-hero p:not(.arcade-kicker) { font-size: 14px; }
  .arcade-hero__metrics > div { padding: 11px; }
  .arcade-hero__metrics strong { font-size: 19px; }
  .blk-cn { padding: 13px; border-radius: 13px; }
  .titl { font-size: 16px; }
  .game_sorting:first-of-type { display: none; }
  #cntpromotedgames > .lst-gams, .main-cn > .lst-gams, .main-cn > .lst-gmct, .main-cn > .lst-gmct-cntcls-n6, .blk-cn > .lst-gmct-cntcls-n6, .lst-gmct.cate-grid, .lst-gams.cate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gmcn-midl .gm-text { min-height: 76px; padding: 8px 9px; }
  .gmcn-midl .gm-rate-view, .gmcn-larg .gm-rate-view { padding-right: 9px; padding-bottom: 8px; padding-left: 9px; }
  .post-game { margin-top: 18px; }
  .post-game > header { grid-template-columns: 45px minmax(0,1fr); gap: 10px; padding: 13px; }
  .post-game > header figure img { width: 45px; height: 45px; }
  .post-game > header h1 { font-size: 20px; }
  .post-game .game_post_meta_data { font-size: 10px; }
  .post-game .gm-vote { display: none; }
  .game-cn { padding: 9px; }
  .game-play { border-radius: 8px; }
  .post-sngl:not(.post-game), .post-sngl { margin: 18px 0; padding: 19px; border-radius: 13px; }
}

/* Final Friv mosaic sizing: reset the legacy 100% padding card model. */
body.home .arcade-dashboard > .titl { margin-top: 25px; }
body.home .arcade-dashboard .game_sorting { display: none !important; }
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 148px;
  gap: 14px;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li,
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl {
  height: 100% !important;
  min-height: 0 !important;
  padding-top: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag,
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag > a,
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag img {
  object-fit: cover !important;
  object-position: center !important;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(5),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(5) {
  grid-row: span 2 !important;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(6),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(6) {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(12),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(12) {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}
@media (max-width: 1020px) {
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 126px; }
}
@media (max-width: 680px) {
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 142px; gap: 10px; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id],
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id] { grid-column: auto !important; grid-row: auto !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-row: span 2 !important; }
}

/* Desktop composition: an explicit 8-column arcade mosaic. The positions
   deliberately follow the visual rhythm of the reference layout while all
   artwork remains the site's own game media. */
@media (min-width: 1021px) {
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(5, 148px);
    grid-auto-rows: 148px;
    gap: 16px;
  }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(1),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(1) { grid-column: 1; grid-row: 1; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(2),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(2) { grid-column: 2; grid-row: 1; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-column: 3 / span 2 !important; grid-row: 1 / span 2 !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(4),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(4) { grid-column: 5; grid-row: 1; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(5),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(5) { grid-column: 6; grid-row: 1; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(6),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(6) { grid-column: 7 / span 2 !important; grid-row: 1 / span 2 !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(7),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(7) { grid-column: 1; grid-row: 2; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(8),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(8) { grid-column: 2; grid-row: 2; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(9),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(9) { grid-column: 5 / span 2 !important; grid-row: 2 / span 2 !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(10),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(10) { grid-column: 1; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(11),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(11) { grid-column: 2; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(12),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(12) { grid-column: 3; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(13),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(13) { grid-column: 4; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(14),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(14) { grid-column: 7; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(15),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(15) { grid-column: 8; grid-row: 3; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(16),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(16) { grid-column: 1 / span 2 !important; grid-row: 4 / span 2 !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(17),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(17) { grid-column: 3; grid-row: 4; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(18),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(18) { grid-column: 4; grid-row: 4; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(19),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(19) { grid-column: 5 / span 2 !important; grid-row: 4 / span 2 !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(20),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(20) { grid-column: 7; grid-row: 4; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(21),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(21) { grid-column: 8; grid-row: 4; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(22),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(22) { grid-column: 3; grid-row: 5; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(23),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(23) { grid-column: 4; grid-row: 5; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(24),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(24) { grid-column: 7; grid-row: 5; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(25),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(25) { grid-column: 8; grid-row: 5; }
}

/* -------------------------------------------------------------------------
   Arcade dashboard home — a dense, thumbnail-first layout for Friv style.
   ------------------------------------------------------------------------- */
.arcade-rail { display: none; }
.arcade-dashboard { max-width: 1286px; margin: 0 auto; }
.arcade-top-ad { position: relative; padding-top: 25px; }
.arcade-ad-label { display: block; margin: 0 0 7px; color: #8f93a2; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.arcade-top-ad__slot {
  display: flex; min-height: 170px; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: #19191f; color: #9a9eaa;
  font-size: 12px; font-weight: 750; letter-spacing: .02em; text-transform: uppercase;
}
.arcade-top-ad__slot > * { max-width: 100%; }
.arcade-continue {
  display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 18px;
  margin: 20px 0 25px; padding: 14px 18px; border: 1px solid rgba(239, 77, 83, .58); border-radius: 19px;
  background: linear-gradient(100deg, #2b171d, #211820); box-shadow: 0 12px 26px rgba(0,0,0,.14);
}
.arcade-continue > img { display: block; width: 76px; height: 76px; border: 2px solid #ffa424; border-radius: 12px; object-fit: cover; }
.arcade-continue__copy { min-width: 0; }
.arcade-continue__copy p { margin: 0 0 3px; color: #c8bdc1; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.arcade-continue__copy h1 { overflow: hidden; margin: 0; color: #fff; font-size: 22px; font-weight: 850; line-height: 1.15; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.arcade-continue__copy span { color: #f3c15d; font-size: 12px; font-weight: 700; }
.arcade-play-button { display: inline-flex; min-width: 112px; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #e7443e; color: #fff; font-size: 16px; font-weight: 850; }
.arcade-play-button:hover { background: #f0584f; color: #fff; transform: translateY(-1px); }

body.home .arcade-dashboard > .titl { margin-top: 27px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(82,231,211,.65); }
body.home .arcade-dashboard > .titl > div:first-child:after { display: none; }
body.home .arcade-dashboard > .titl > div:first-child { font-size: 23px; }
body.home .arcade-dashboard .game_sorting { margin-left: auto; }
body.home .arcade-dashboard .game_sorting .selecter-selected,
body.home .arcade-dashboard .game_sorting select { min-height: 28px; padding: 0; border: 0; background: transparent; color: #d5d9e4; font-weight: 750; }
body.home .arcade-dashboard .game_sorting label { color: #9fa6b5; font-weight: 700; }
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv,
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 132px;
  gap: 14px;
  margin: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li,
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li {
  float: none !important; width: auto !important; height: auto; margin: 0 !important; padding: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-row: span 2; }
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li[data-arcade-game-id]:nth-child(4),
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(4) { grid-column: span 2; grid-row: span 2; }
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li[data-arcade-game-id]:nth-child(9),
body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(9) { grid-column: span 2; }
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl {
  min-height: 0; height: 100%; border-radius: 14px; background: #191922;
}
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl .gm-imag { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl .gm-imag:before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.42)); opacity: 0; transition: opacity .18s ease; }
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl:hover .gm-imag:before { opacity: 1; }
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl .gm-imag:after { z-index: 2; width: 43px; height: 29px; }
body.home .arcade-dashboard #cntpromotedgames .gmcn-midl .gm-text { display: none; }
body.home .arcade-dashboard #cntpromotedgames li.frivbn { display: grid; grid-column: 1 / -1; grid-row: auto; min-height: 126px; align-items: center; margin: 0 !important; padding: 12px !important; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: #19191f; }
body.home .arcade-dashboard #cntpromotedgames li.frivbn .bnr-cnt { width: 100%; padding: 0; text-align: center; }
body.home .arcade-dashboard #cntpromotedgames li.frivbn .bnr300 { width: auto; height: auto; max-width: 100%; margin: 0 auto; }
body.home .arcade-dashboard .wp-pagenavi { margin-top: 26px; }

@media (min-width: 1021px) {
  .arcade-header__main { min-height: 72px; max-width: none; padding-right: 26px; padding-left: 22px; }
  .arcade-menu-toggle { display: block; order: -1; flex: 0 0 auto; margin: 0; }
  .arcade-brand { min-width: 210px; }
  .arcade-brand img { max-width: 190px; }
  .arcade-primary-nav {
    position: fixed; top: 80px; left: 12px; z-index: 130; display: none; overflow: auto; width: 260px; max-height: calc(100vh - 92px);
    padding: 11px; border: 1px solid var(--arcade-line); border-radius: 14px; background: #131826; box-shadow: var(--arcade-shadow);
  }
  .arcade-primary-nav.is-open { display: block; }
  .arcade-primary-nav .nav_menu { display: block; }
  .arcade-primary-nav .nav_menu > li > a { padding: 11px; }
  .arcade-primary-nav .nav_menu > li ul { position: static; display: block; width: auto; margin-left: 14px; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .arcade-search { flex: 0 1 475px; margin-right: auto; margin-left: auto; }
  .arcade-account { min-width: max-content; }
  .arcade-rail {
    display: block; position: fixed; z-index: 90; top: 72px; bottom: 0; left: 0; width: 68px; overflow-y: auto;
    border-right: 1px solid var(--arcade-line); background: #191820; scrollbar-width: none;
  }
  .arcade-rail::-webkit-scrollbar { display: none; }
  .arcade-rail ul { margin: 0; padding: 7px 0; }
  .arcade-rail a { display: grid; width: 46px; height: 36px; place-items: center; margin: 2px auto; border-radius: 10px; color: #aaa8b1; font-size: 19px; }
  .arcade-rail a:hover, .arcade-rail a:focus, .arcade-rail__home { background: rgba(239,76,66,.12); color: #e38c5d; }
  .arcade-rail nav { border-top: 1px solid rgba(255,255,255,.08); }
  .arcade-rail__home { margin-top: 10px; margin-bottom: 9px; }
  .bdcn > .cont { max-width: 1390px; padding-left: 82px; }
  body.home .cntcls.sidebar_right { display: block; }
  body.home .main-cn.cols-n12 { width: 100%; }
}
@media (max-width: 1020px) {
  .arcade-dashboard { max-width: none; }
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 118px; }
}
@media (max-width: 680px) {
  .arcade-top-ad { padding-top: 17px; }
  .arcade-top-ad__slot { min-height: 112px; }
  .arcade-continue { grid-template-columns: 54px minmax(0,1fr); gap: 11px; margin: 15px 0 22px; padding: 10px; border-radius: 13px; }
  .arcade-continue > img { width: 54px; height: 54px; border-radius: 9px; }
  .arcade-continue__copy h1 { font-size: 15px; }
  .arcade-continue__copy p, .arcade-continue__copy span { font-size: 9px; }
  .arcade-play-button { display: none; }
  body.home .arcade-dashboard > .titl > div:first-child { font-size: 18px; }
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 135px; gap: 10px; }
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li[data-arcade-game-id],
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li[data-arcade-game-id] { grid-column: auto !important; grid-row: auto !important; }
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
  body.home .arcade-dashboard #cntpromotedgames > .lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-row: span 2 !important; }
}

/* Keep legacy padding from stretching the new Friv mosaic cards. */
body.home .arcade-dashboard > .titl { margin-top: 25px; }
body.home .arcade-dashboard .game_sorting { display: none !important; }
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 148px;
  gap: 14px;
}
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li,
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl {
  height: 100% !important;
  min-height: 0 !important;
  padding-top: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag,
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag > a,
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}
body.home .arcade-dashboard #cntpromotedgames .arcade-game-card.gmcn-midl figure.gm-imag img { object-fit: cover !important; object-position: center !important; }
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-column: span 2 !important; grid-row: span 2 !important; }
/* Other imported thumbnails are often square; keep them square so that no
   game artwork is narrowed or aggressively cropped. */
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(4),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(4),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(5),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(5),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(6),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(6),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(9),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(9),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(12),
body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(12) { grid-column: auto !important; grid-row: auto !important; }
@media (max-width: 1020px) {
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 126px; }
}
@media (max-width: 680px) {
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv,
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 142px; gap: 10px; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id],
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id] { grid-column: auto !important; grid-row: auto !important; }
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-friv > li[data-arcade-game-id]:nth-child(3),
  body.home .arcade-dashboard #cntpromotedgames > ul.lst-gams-sidebar-friv > li[data-arcade-game-id]:nth-child(3) { grid-row: span 2 !important; }
}
