/* ==========================================================================
   GamesYY / PC template — layout-faithful rebuild
   Keeps the original 1200px shell, float-based mosaics and green ribbon
   headings. Only the markup and the CSS architecture are new.
   ========================================================================== */

:root {
  /* palette — sampled from /theme/default/css/style-1200.css + itemstyle-1200.css */
  --gbs-shell: 1200px;
  --gbs-gutter: 10px;
  --gbs-ink: #0a2645;
  --gbs-ink-soft: #4a4b58;
  --gbs-muted: #747487;
  --gbs-page: #f0f3f6;
  --gbs-surface: #ffffff;
  --gbs-line: #d4d7d9;
  --gbs-line-soft: #dddddd;
  --gbs-wash: #f2f3f5;
  --gbs-brand: #04c691;
  --gbs-brand-deep: #00ab7c;
  --gbs-brand-lite: #15d8a2;
  --gbs-brand-mint: #8ef1d5;
  --gbs-brand-rim: #c5eee3;

  --gbs-grad: linear-gradient(-19deg, #04c691, #15d8a2);
  --gbs-grad-soft: linear-gradient(-19deg, #00ab7c, #8ef1d5);

  /* radii */
  --gbs-r-tile: 16px;
  --gbs-r-tile-lg: 20px;
  --gbs-r-card: 10px;
  --gbs-r-chip: 12px;
  --gbs-r-tag: 6px;

  /* shadows */
  --gbs-sh-tile: 0 1px 5px 0 rgba(0, 21, 44, .15);
  --gbs-sh-tile-hover: 0 1px 5px 0 rgba(0, 21, 44, .60);
  --gbs-sh-card: 0 1px 5px 0 rgba(0, 21, 44, .20);

  /* fixed geometry from the original stylesheet */
  --gbs-feature: 228px;
  --gbs-cluster: 238px;
  --gbs-small: 109px;
  --gbs-strip: 86px;
  --gbs-main: 861px;
  --gbs-side: 302px;
  --gbs-detail: 862px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gbs-page);
  color: var(--gbs-ink);
  font: 14px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
img { display: block; border: 0; }
a { color: var(--gbs-ink); text-decoration: none; }
a:hover { color: var(--gbs-brand); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0 0 10px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gbs-brand); outline-offset: 2px; }

.gbs-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gbs-clear { clear: both; }

/* --------------------------------------------------------------- header */
.gbs-header {
  width: var(--gbs-shell);
  height: 50px;
  margin: 0 auto;
  background: var(--gbs-surface);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2);
}
.gbs-header__inner { height: 50px; }
.gbs-brand { float: left; width: 280px; padding: 5px 0 0 8px; }
.gbs-brand img { width: 261px; height: 40px; }

.gbs-chipbar { float: right; margin: 10px 0; display: flex; gap: 8px; }
.gbs-chip {
  display: flex; align-items: center; gap: 5px;
  height: 30px; padding: 3px 8px;
  border: 2px solid var(--gbs-brand);
  border-radius: var(--gbs-r-chip);
  color: #444; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.gbs-chip img { width: 20px; height: 20px; border-radius: var(--gbs-r-tag); }
.gbs-chip:hover { background: var(--gbs-grad); color: #fff; }
.gbs-chip:hover span { color: #fff; }

/* --------------------------------------------------------------- shell */
.gbs-shell {
  width: var(--gbs-shell);
  margin: 0 auto;
  padding: 0 0 10px;
  background: var(--gbs-surface);
}
.gbs-shell--pad { padding-left: var(--gbs-gutter); padding-right: var(--gbs-gutter); }

/* --------------------------------------------------------------- headings */
.gbs-section { clear: both; margin: 0 0 10px; text-align: left; }
.gbs-ribbon {
  position: relative; isolation: isolate; z-index: 0;
  display: inline-block; line-height: 30px; padding: 0 10px;
  color: #fff; font: 700 16px "GYDIN", Arial, sans-serif;
}
.gbs-ribbon::before, .gbs-ribbon::after {
  content: ""; position: absolute; top: 0; height: 100%; z-index: -1;
}
.gbs-ribbon::before {
  left: 0; width: 54%; border-radius: 5px 25px 25px 5px;
  background-image: linear-gradient(160deg, #2ad7a6 10%, #00ac7c);
}
.gbs-ribbon::after {
  right: 0; width: 60%; border-radius: 5px 25px 25px 5px;
  background-image: linear-gradient(160deg, #70e2c1 10%, #00ac7c);
}

/* two-part capsule heading used on inner pages */
.gbs-capsule { display: table; position: relative; margin: 0 0 4px; font-family: "GYDIN", Arial, sans-serif; }
.gbs-capsule b, .gbs-capsule i {
  position: relative; display: inline-table;
  height: 28px; line-height: 28px; padding: 0 10px;
  color: #fff; font-size: 16px; font-style: normal; font-weight: 700;
}
/* the second half overlaps the first by 20px; extra right padding keeps the
   first word fully visible instead of clipping its last letter */
.gbs-capsule b { background: var(--gbs-grad); border-radius: 4px 13px 13px 4px; padding-right: 26px; }
.gbs-capsule i { left: -20px; padding-left: 20px; background: var(--gbs-grad-soft); border-radius: 0 13px 13px 0; }

/* underlined heading used inside the detail page / footers */
.gbs-listhead { display: block; margin: 1px 5px 0 0; height: 24px; line-height: 24px; text-align: left; font-weight: 700; }
.gbs-listhead span {
  display: table; border-bottom: 3px solid var(--gbs-brand);
  font: 700 16px "GYDIN", Arial, sans-serif;
}

/* --------------------------------------------------------------- tiles */
.gbs-tile { display: block; position: relative; }
.gbs-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--gbs-r-tile); box-shadow: var(--gbs-sh-tile); transition: box-shadow .18s ease; }
.gbs-tile:hover img { box-shadow: var(--gbs-sh-tile-hover); }
.gbs-tile__name {
  display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--gbs-ink-soft); font-size: 14px; line-height: 30px; text-align: center;
}
.gbs-tile:hover .gbs-tile__name { color: var(--gbs-brand-deep); }

/* top 12-icon strip shared by landing / list / game / tag pages */
.gbs-topstrip { margin: 2px 10px; padding: 10px 0; }
.gbs-topstrip__row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.gbs-topstrip .gbs-tile { width: var(--gbs-strip); height: var(--gbs-strip); }

/* --------------------------------------------------------------- HOME mosaic
   Original: a 1200px row of alternating 228px features and 238px clusters.
   Rebuilt as flex + inner 2x2 grid: 3 x 228 + 2 x 238 + 4 x 10 gap = 1200px.
   Explicit widths keep the tiles inside one 228px row, with no overflow.  */
.gbs-mosaic {
  /* the shell is 1200px with 10px gutters -> 1180px of usable width.
     A fixed 1200px row used to push the last 228px feature 10px past the
     white container on the right. space-between keeps every F/C pattern
     inside 1180px and ends the row exactly where the original does. */
  display: flex; justify-content: space-between; gap: 0;
  width: 1180px; height: 228px; margin: 0 0 10px;
}
.gbs-mosaic--first { margin-top: 10px; }
.gbs-mosaic__feature { flex: 0 0 var(--gbs-feature); width: var(--gbs-feature); height: var(--gbs-feature); margin: 0; }
.gbs-mosaic__feature .gbs-tile { width: var(--gbs-feature); height: var(--gbs-feature); }
.gbs-mosaic__cluster {
  flex: 0 0 var(--gbs-cluster); width: var(--gbs-cluster); height: 228px;
  display: grid; grid-template-columns: repeat(2, var(--gbs-small));
  grid-template-rows: repeat(2, var(--gbs-small)); gap: 10px;
}
.gbs-mosaic__cluster .gbs-tile { width: var(--gbs-small); height: var(--gbs-small); margin: 0; }
.gbs-mosaic__cluster .gbs-tile img { border-radius: var(--gbs-r-tile); }

/* the JS-injected "popular games" row from the original template */
.gbs-mosaic--strip {
  display: grid; grid-template-columns: repeat(10, var(--gbs-small));
  grid-template-rows: var(--gbs-small); gap: 10px;
  width: 1180px; height: var(--gbs-small);
}
.gbs-mosaic--strip > .gbs-tile { width: var(--gbs-small); height: var(--gbs-small); }

/* --------------------------------------------------------------- .game-full-tags
   Original: 16 x 126px tag cards, each showing the name AND the game count
   ("22 Games"), laid out with justify-content:space-between. The earlier
   gbs-tagchip variant dropped the count and packed them with a 5px gap. */
.gbs-tagbar { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 0 10px; }
.gbs-tagicon {
  display: flex; align-items: center; gap: 5px;
  width: 126px; margin: 10px 0 0;
  padding: 5px 8px 5px 5px; border: 1px solid var(--gbs-line); border-radius: 4px;
  color: #444; font-size: 16px; font-weight: 500; transition: all .2s;
}
.gbs-tagicon img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: var(--gbs-r-tag); }
.gbs-tagicon p { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; font-size: 16px; }
.gbs-tagicon span { color: #7a7b86; font-size: 12px; transition: color .2s; }
.gbs-tagicon:hover { background: var(--gbs-grad); color: #fff; }
.gbs-tagicon:hover span { color: #fff; }

/* --------------------------------------------------------------- footer rows
   .footer-game-tags / .gl.game-full.game-h — 110px icons with names. The
   original .gl uses justify-content:space-between, which is what keeps the
   row from looking cramped (a plain gap:0 packed all 10 tiles together). */
.gbs-reco, .gbs-footerblock, .gbs-editors { padding: 0 10px; }
/* the home page already has 10px shell gutters — do not inset twice */
.gbs-shell--pad .gbs-reco,
.gbs-shell--pad .gbs-footerblock,
.gbs-shell--pad .gbs-editors { padding-left: 0; padding-right: 0; }
.gbs-footerblock { margin-top: 10px; }
.gbs-reco__row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.gbs-reco .gbs-tile { width: 110px; height: 135px; margin: 10px 0 0; }
.gbs-reco .gbs-tile img { width: 110px; height: 110px; border-radius: var(--gbs-r-tile); }

/* .nbox2.headnavgams — 20 x 109px icons in two rows of ten */
.gbs-editors { margin-top: 10px; }
.gbs-editors__row {
  display: grid; grid-template-columns: repeat(10, 109px); gap: 10px;
  justify-content: space-between; margin-top: 10px;
}
.gbs-editors__item { display: block; width: 109px; height: 109px; }
.gbs-editors__item img { width: 109px; height: 109px; border-radius: var(--gbs-r-tile); box-shadow: var(--gbs-sh-tile); }
.gbs-editors__item:hover img { box-shadow: var(--gbs-sh-tile-hover); }

/* --------------------------------------------------------------- shared ad slot
   Empty by design: the ad call code is injected when the site is built.
   The wrapper keeps the original 305px footprint so the layout stays put. */
.gbs-ad { text-align: center; font-size: 12px; color: #666; }
.gbs-ad__label { margin: 0 0 2px; color: #000; font-size: 15px; }
.gbs-ad__slot { width: 100%; }
.gbs-ad--float {
  float: left; width: 344px; min-height: 305px; margin: 0 12px 5px 6px;
  padding: 0 5px 0 2px;
}
.gbs-ad--banner { width: 100%; min-height: 90px; margin: 10px 0; }

/* --------------------------------------------------------------- LANDING (all tags) */
.gbs-landing { display: grid; grid-template-columns: minmax(0, 1fr) var(--gbs-side); column-gap: 16px; padding: 0 10px; }
.gbs-taggrid { display: flex; flex-wrap: wrap; gap: 10px 1%; margin-top: 10px; }
.gbs-tagcard {
  display: flex; align-items: flex-start; width: 32%; margin-bottom: 0;
  border: 1px solid #d3d7da; background: var(--gbs-wash); border-radius: var(--gbs-r-tag);
}
.gbs-tagcard:hover { background: #efefef; }
.gbs-tagcard__cover { flex: 0 0 76px; width: 76px; height: 76px; padding: 8px; margin-right: 8px; }
.gbs-tagcard__cover img { width: 60px; height: 60px; }
.gbs-tagcard__name { padding-top: 5px; text-align: left; }
.gbs-tagcard__name a { color: #333; font-size: 16px; line-height: 26px; }
.gbs-tagcard__name p { color: #666; }

/* --------------------------------------------------------------- LIST */
.gbs-listlayout { display: grid; grid-template-columns: minmax(0, 1fr) var(--gbs-side); column-gap: 5px; padding: 0 10px; }
.gbs-gamegrid::after { content: ""; display: block; clear: both; }
.gbs-gridcard__name { display: block; max-height: 42px; overflow: hidden; text-align: center; }
.gbs-gridcard {
  float: left; width: 113px; height: 160px; margin: 0 5px;
}
.gbs-gridcard img { width: 106px; height: 106px; border-radius: var(--gbs-r-tile); box-shadow: var(--gbs-sh-tile); }
.gbs-gridcard:hover img { box-shadow: var(--gbs-sh-tile-hover); }

/* 302px column - 2px rule - 5px inset = 295px, exactly the width of the
   original hero row (200px feature + 95px column). Previously 290px made
   the column wrap away, so the sidebar lost the small-image column. */
.gbs-side { padding-left: 5px; border-left: 2px solid rgba(4, 198, 145, .19); }
.gbs-side__block + .gbs-side__block { margin-top: 18px; }
.gbs-side .gbs-capsule { margin-bottom: 8px; }
.gbs-side__row { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; margin-top: 10px; }
.gbs-side__row .gbs-tile { flex: 0 0 95px; width: 95px; height: 95px; }
.gbs-side__row--hero .gbs-tile--feature {
  flex: 0 1 200px; min-width: 0; width: 200px; height: 200px;
}
.gbs-side__row .gbs-tile--feature img { border-radius: var(--gbs-r-tile); }
.gbs-side__col {
  flex: 0 0 95px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 5px; width: 95px; height: 200px;
}
.gbs-side__row--quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.gbs-side__row--quad .gbs-tile--medium { flex: none; width: 100%; height: auto; aspect-ratio: 1; }
.gbs-side__row--quad .gbs-tile--medium img { width: 100%; height: 100%; border-radius: var(--gbs-r-tile); }

/* --------------------------------------------------------------- GAME detail */
.gbs-detail { display: grid; grid-template-columns: minmax(0, 1fr) 305px; column-gap: 10px; padding: 0 10px; }
.gbs-crumb { display: flex; align-items: center; gap: 6px; padding: 8px 0; font-size: 13px; color: var(--gbs-muted); }
.gbs-crumb a { color: var(--gbs-ink); }
.gbs-crumb span { color: var(--gbs-muted); }

/* .share-fb-tt-p — three 30px green tabs pinned to the left edge; hover
   widens them to 35px exactly like the original. */
.gbs-share { position: absolute; left: -30px; top: 30px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.gbs-share a {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 4px 0 0 4px;
  background: var(--gbs-grad); color: #fff; font-size: 13px; font-weight: 700;
  transition: width .2s ease;
}
.gbs-share a:hover { width: 35px; color: #fff; }
.gbs-detailmain { position: relative; }

.gbs-card {
  display: block; width: 100%; padding: 10px; margin-bottom: 10px;
  background: var(--gbs-surface); border-radius: var(--gbs-r-card); box-shadow: var(--gbs-sh-card);
}
/* info card: text on the left, 342px ad on the right (matches original) */
.gbs-card--gameinfo { display: grid; grid-template-columns: minmax(0, 1fr) 342px; column-gap: 10px; align-items: start; }
.gbs-gameinfo__main { min-width: 0; }
.gbs-ad--aside { float: none; width: 342px; min-height: 305px; margin: 0; }
.gbs-card--gameinfo .gbs-params { padding-top: 12px; }
.gbs-gameinfo__head { display: flex; align-items: flex-start; gap: 15px; }
.gbs-gameinfo__thumb { flex: 0 0 90px; width: 90px; height: 90px; border-radius: 4px; box-shadow: 0 1px 5px rgba(0, 21, 44, .10); }
.gbs-gameinfo__name { font: 700 22px "GYDIN", Arial, sans-serif; margin: 0 0 4px; }
.gbs-gameinfo__meta { color: var(--gbs-muted); }

/* .game-parameter — label on its own line, four 25% columns, Tags and
   Popular Now span the full width. */
.gbs-params { display: flex; flex-wrap: wrap; width: 100%; padding: 20px 0 0; }
.gbs-params li { width: 25%; margin-bottom: 15px; color: var(--gbs-muted); font-size: 14px; }
.gbs-params li.gbs-params--full { flex-basis: 100%; margin-bottom: 0; }
.gbs-params__label { display: block; width: 100%; color: var(--gbs-ink); font-size: 16px; line-height: 30px; }
.gbs-params__pills { display: flex; flex-wrap: wrap; }
.gbs-params__icons { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.gbs-platform { width: 20px; height: 20px; }

/* a.nolink-tag-icontext / a.tag-icontext — 25px icon + label in a square
   6px-radius pill; linked pills turn green on hover. */
.gbs-tagpill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 5px; margin: 0 8px 8px 0;
  border: 1px solid var(--gbs-line); border-radius: 6px;
  color: #444; font-size: 17px; font-weight: 500; line-height: 25px;
  transition: all .2s;
}
.gbs-tagpill img { width: 25px; height: 25px; border-radius: 6px; }
.gbs-tagpill--link:hover { background: var(--gbs-grad); color: #fff; }

/* .game_score — grey 5-star sprite with a gold overlay clipped to the
   rating percentage, then the numeric score. */
.gbs-stars {
  position: relative; display: inline-block; vertical-align: middle;
  width: 80px; height: 14px; overflow: hidden;
  font-size: 14px; line-height: 14px; letter-spacing: 1px; white-space: nowrap;
}
.gbs-stars__base { color: #d8dce0; }
.gbs-stars__fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; color: #ffb400; white-space: nowrap; }
.gbs-stars__score { margin-left: 4px; color: var(--gbs-muted); font-size: 14px; font-weight: 400; }

.gbs-midstrip { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0; }
.gbs-midstrip .gbs-tile { width: 80px; height: 80px; }

/* Editor's Review disclosure — CSS-first (works with JS disabled / sandboxed
   preview). The 700px clip mirrors the source .use.show-more #game-desc. */
.gbs-review { position: relative; line-height: 24px; }
.gbs-review__state {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  opacity: 0; margin: 0; pointer-events: none;
}
.gbs-review__body { max-height: 700px; overflow: hidden; }
.gbs-review__state:checked ~ .gbs-review__body,
.gbs-review__body.is-open { max-height: none; }
.gbs-review__body p { color: #555; font-size: 16px; margin-top: 10px; text-indent: 2em; }
.gbs-more {
  display: block; width: 100%; margin-top: 10px; padding: 6px;
  border: 0; border-radius: 20px; background: #f4f7f9;
  color: var(--gbs-brand); text-align: center; line-height: 22px; font-size: 14px;
  cursor: pointer; user-select: none;
}
.gbs-more:hover { background: var(--gbs-brand-rim); }
.gbs-review__state:focus-visible ~ .gbs-more {
  outline: 3px solid var(--gbs-brand); outline-offset: 2px;
}
.gbs-more__less { display: none; }
.gbs-more__caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.gbs-review__state:checked ~ .gbs-more .gbs-more__more { display: none; }
.gbs-review__state:checked ~ .gbs-more .gbs-more__less { display: inline; }
.gbs-review__state:checked ~ .gbs-more .gbs-more__caret { transform: translateY(2px) rotate(-135deg); }

/* .game-dow — "Get this game:" + two store badges, each followed by a QR
   icon whose hover layer reveals the 138px code for that store's URL. */
.gbs-download { display: flex; flex-wrap: wrap; align-items: flex-start; }
.gbs-download > strong { width: 200px; line-height: 40px; font-size: 18px; }
.gbs-download__list {
  display: flex; align-items: center; justify-content: center;
  width: calc(100% - 200px); margin: 0; padding: 0;
}
.gbs-storeitem { display: flex; align-items: center; height: 40px; margin: 0 2%; }
.gbs-store { display: inline-flex; align-items: center; height: 40px; }
.gbs-store img { height: 40px; width: auto; }
.gbs-store:hover { opacity: .88; }
.gbs-qr { display: flex; align-items: center; width: 40px; height: 40px; position: relative; }
.gbs-qr__icon { width: 36px; height: 36px; }
.gbs-qr p {
  opacity: 0; overflow: hidden; position: absolute; left: -43px; top: 50px; z-index: 999;
  width: 158px; height: 0; margin: 0; padding: 10px; line-height: 16px;
  background: #fff; text-align: center; font-size: 12px; color: #333;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .3); transition: all .2s linear;
}
.gbs-qr:hover p { opacity: 1; top: 45px; height: 176px; }
.gbs-qr p img { display: block; width: 138px; height: 138px; margin: 2px auto 0; }
.gbs-disclaimer { width: 100%; margin: 8px 0 0; color: var(--gbs-muted); font-size: 13px; }

/* .poster-main.carousel — 840x288 stage, one full-height poster at a time,
   100px transparent prev/next hit areas. Swipe works with no JS (scroll-snap),
   pc.js drives the buttons by index. */
.gbs-shots { position: relative; width: 100%; max-width: 840px; height: 288px; margin: 0 auto; overflow: hidden; }
.gbs-shots__track {
  display: flex; width: 100%; height: 288px; margin: 0; padding: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gbs-shots__track::-webkit-scrollbar { display: none; }
.gbs-shots__item {
  flex: 0 0 100%; display: flex; align-items: center; justify-content: center;
  height: 288px; scroll-snap-align: center;
}
.gbs-shots__item img { height: 288px; width: auto; max-width: 100%; border-radius: var(--gbs-r-tag); }
.gbs-shots__btn {
  position: absolute; top: 0; z-index: 2; width: 100px; height: 288px;
  border: 0; background: transparent; color: var(--gbs-brand-deep);
  font-size: 42px; line-height: 1; opacity: .35; cursor: pointer;
}
.gbs-shots__btn:hover { opacity: 1; }
.gbs-shots__btn--prev { left: 0; }
.gbs-shots__btn--next { right: 0; }

/* sidebar of the detail page uses 305px, no green left rule */
.gbs-detail .gbs-side { padding-left: 0; border-left: 0; }
.gbs-detail .gbs-side__row .gbs-tile--feature { width: 200px; height: 200px; }

/* --------------------------------------------------------------- static PAGE */
.gbs-page { padding: 15px 10px; }
.gbs-article {
  width: 100%; max-width: 981px; margin: 0 auto;
  padding: 40px 62px;
  background: var(--gbs-surface); border-radius: 5px;
  box-shadow: 0 1px 50px 0 rgba(21, 61, 108, .05), 0 2px 4px 0 rgba(79, 92, 151, .03);
  text-align: left;
}
.gbs-article h1 { font-size: 30px; font-weight: 600; line-height: 1.2; color: #181a1b; margin: 0 0 20px; }
.gbs-article h2 { font-size: 20px; font-weight: 600; color: #181a1b; margin: 20px 0 10px; }
.gbs-article .gbs-article__meta { font-style: italic; color: #333; margin: 12px 0; }
.gbs-article p { font-size: 14px; line-height: 1.7; color: #333; margin: 16px 0; }

/* --------------------------------------------------------------- footer */
.gbs-footer {
  clear: both; width: var(--gbs-shell); margin: 0 auto; padding: 15px 0 10px;
  background: var(--gbs-surface); border-top: 1px solid var(--gbs-line-soft);
}
.gbs-footer__inner { width: 1180px; padding: 0 10px; margin: 0 auto; }
.gbs-footer__intro { line-height: 1.6; }
.gbs-footer__copy { margin: 10px 0; }
.gbs-footer__links a { position: relative; display: inline-block; padding: 0 12px; }
.gbs-footer__links a:first-child { padding-left: 0; }
.gbs-footer__links a::after {
  content: ""; position: absolute; right: 0; top: 5px; width: 2px; height: 10px; background: #999;
}
.gbs-footer__links a:last-child::after { width: 0; }

.gbs-totop {
  position: fixed; right: 30px; bottom: 30px; z-index: 100;
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 6px solid var(--gbs-brand-rim); border-radius: 50%;
  background: var(--gbs-brand); color: #fff; font-size: 20px; line-height: 1;
}
.gbs-totop.is-visible { display: flex; }
.gbs-totop:hover { color: #fff; border-width: 4px; }

/* --------------------------------------------------------------- narrow desktop fallback */
.gamesbs-mobile { display: none; }
.gamesbs-desktop { display: block; }
.gamesbs-force-mobile .gamesbs-mobile, .gamesbs-mobile-request .gamesbs-mobile { display: block !important; }
.gamesbs-force-mobile .gamesbs-desktop, .gamesbs-mobile-request .gamesbs-desktop { display: none !important; }
.gamesbs-force-mobile .gbsm-wrap, .gamesbs-mobile-request .gbsm-wrap { width: 100%; max-width: 100%; }
.gamesbs-force-mobile .gbsm-header { width: 100%; max-width: 100%; }
@media (max-width: 1240px) {
  .gbs-header, .gbs-shell, .gbs-footer { width: 100%; }
  .gbs-footer__inner { width: 100%; }
  .gbs-landing, .gbs-listlayout { grid-template-columns: minmax(0, 1fr) var(--gbs-side); }
  .gbs-detail { grid-template-columns: minmax(0, 1fr) 280px; }
  .gbs-mosaic { flex-wrap: wrap; width: 100%; height: auto; }
  .gbs-mosaic__feature { flex-basis: auto; width: min(228px, 46%); height: auto; aspect-ratio: 1; }
  .gbs-mosaic__feature .gbs-tile { width: 100%; height: 100%; }
  .gbs-mosaic__cluster { flex-basis: auto; width: auto; height: auto; }
  .gbs-mosaic__cluster .gbs-tile { width: min(109px, 22%); height: auto; aspect-ratio: 1; }
  .gbs-mosaic--strip { display: flex; flex-wrap: wrap; width: 100%; height: auto; }
  .gbs-editors__row { grid-template-columns: repeat(auto-fill, minmax(90px, 109px)); }
}
@media (max-width: 900px) {
  .gbs-chipbar { max-width: calc(100% - 290px); overflow: hidden; }
  .gbs-landing, .gbs-listlayout, .gbs-detail, .gbs-card--gameinfo { grid-template-columns: minmax(0, 1fr); }
  .gbs-ad--aside { width: 100%; min-height: 0; }
  .gbs-side { border-left: 0; padding-left: 0; }
  .gbs-tagcard { width: 48%; }
  .gbs-article { padding: 24px; }
  .gbs-download__list { width: 100%; justify-content: flex-start; }
  .gbs-download > strong { width: 100%; }
  .gbs-tagicon { width: 30%; }
  .gbs-share { left: 0; top: -34px; flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
