﻿/* Game Board — GameFAQs-inspired utilitarian directory theme */

:root {
  --gb-navy: #1a3a6b;
  --gb-navy-deep: #0f2749;
  --gb-navy-mid: #2a5088;
  --gb-link: #0645ad;
  --gb-link-hover: #0b2e6b;
  --gb-bg: #e8eef5;
  --gb-panel: #ffffff;
  --gb-panel-alt: #f4f7fb;
  --gb-border: #b8c4d4;
  --gb-border-soft: #d5dde8;
  --gb-text: #1a1a1a;
  --gb-muted: #5a6573;
  --gb-accent: #c9a227;
  --gb-danger: #c62828;
  --gb-ok: #1a6b3a;
  --gb-font: Roboto, Arial, Helvetica, "Helvetica Neue", sans-serif;
  --gb-font-condensed: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --gb-font-brand: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --gb-mono: Consolas, "Courier New", monospace;
  --gb-max: 1080px;
  --gb-radius: 2px;
  --gb-header-h: 3rem;
  --gb-footer-blue: #3b5998;
  --gb-footer-dark: #050a14;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.gb-body {
  margin: 0;
  font-family: var(--gb-font);
  font-size: 13px;
  line-height: 1.45;
  color: var(--gb-text);
  background: var(--gb-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--gb-link);
  text-decoration: none;
}

a:hover {
  color: var(--gb-link-hover);
  text-decoration: underline;
}

.gb-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gb-navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.gb-skip:focus {
  left: 0;
}

.gb-wrap {
  width: min(100% - 1.5rem, var(--gb-max));
  margin-inline: auto;
}

.gb-main {
  padding: 0.75rem 0 2rem;
  min-height: 50vh;
}

/* —— Header —— */
.gb-header {
  background: linear-gradient(180deg, var(--gb-navy-mid) 0%, var(--gb-navy) 55%, var(--gb-navy-deep) 100%);
  color: #fff;
  border-bottom: 3px solid var(--gb-accent);
}

.gb-header__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.gb-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--gb-font-brand);
  font-weight: 700;
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-transform: none;
  flex-shrink: 0;
}

.gb-brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.gb-brand__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: var(--gb-radius);
  background: rgba(255, 255, 255, 0.12);
}

.gb-brand__tag {
  display: none;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.75;
  margin-left: 0.35rem;
}

@media (min-width: 720px) {
  .gb-brand__tag {
    display: inline;
  }
}

.gb-nav-toggle {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.35rem 0.65rem;
  font: inherit;
  cursor: pointer;
  border-radius: var(--gb-radius);
}

@media (min-width: 800px) {
  .gb-nav-toggle {
    display: none;
  }
}

.gb-nav {
  display: none;
  width: 100%;
  flex-basis: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.35rem;
}

.gb-nav.is-open {
  display: block;
}

@media (min-width: 800px) {
  .gb-nav {
    display: block;
    width: auto;
    flex-basis: auto;
    flex: 1;
    border-top: none;
    padding-top: 0;
    margin-left: 0.5rem;
  }
}

.gb-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
}

.gb-nav__list a {
  color: #e8eef8;
  font-family: var(--gb-font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.gb-nav__list a:hover {
  color: #fff;
  text-decoration: underline;
}

.gb-header__search {
  flex: 1 1 12rem;
  max-width: 22rem;
  margin-left: auto;
}

@media (max-width: 799px) {
  .gb-header__search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin-left: 0;
  }
}

.gb-platform-bar {
  background: var(--gb-navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gb-platform-bar .gb-wrap {
  width: max-content;
  min-width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-inline: 0.75rem;
}

.gb-platform-bar__list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.gb-platform-bar__list a,
.gb-platform-bar__list span {
  display: block;
  padding: 0.35rem 0.65rem;
  color: #c5d4ea;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.gb-platform-bar__list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.gb-platform-bar__list a.is-active {
  background: var(--gb-bg);
  color: var(--gb-navy);
}

/* —— Panels / boards —— */
.gb-board {
  background: var(--gb-panel);
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius);
  margin-bottom: 0.75rem;
}

.gb-board__head {
  background: linear-gradient(180deg, #dce6f2 0%, #c8d4e4 100%);
  border-bottom: 1px solid var(--gb-border);
  padding: 0.4rem 0.65rem;
  font-family: var(--gb-font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gb-navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gb-board__head a {
  font-weight: 600;
  font-size: 0.72rem;
}

.gb-board__body {
  padding: 0.65rem;
}

.gb-board__body--flush {
  padding: 0;
}

.gb-layout-2col {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .gb-layout-2col {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.gb-crumbs {
  font-size: 0.75rem;
  color: var(--gb-muted);
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.5rem;
  background: var(--gb-panel-alt);
  border: 1px solid var(--gb-border-soft);
}

.gb-crumbs a {
  font-weight: 600;
}

.gb-crumbs__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.gb-page-title {
  margin: 0 0 0.35rem;
  font-family: var(--gb-font-condensed);
  font-size: 1.4rem;
  color: var(--gb-navy-deep);
  font-weight: 700;
}

.gb-lead {
  margin: 0 0 0.75rem;
  color: var(--gb-muted);
  font-size: 0.85rem;
}

.gb-notice {
  background: #fff8e6;
  border: 1px solid #e0c96a;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.gb-notice--global {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.gb-notice--global .gb-wrap {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.gb-notice__title {
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.gb-notice__body {
  margin: 0;
}

/* —— Search —— */
.gb-search {
  display: flex;
  gap: 0;
  width: 100%;
}

.gb-search__input {
  flex: 1;
  border: 1px solid var(--gb-border);
  border-right: none;
  padding: 0.4rem 0.55rem;
  font: inherit;
  border-radius: var(--gb-radius) 0 0 var(--gb-radius);
  min-width: 0;
}

.gb-header .gb-search__input {
  border-color: rgba(255, 255, 255, 0.35);
  background: #fff;
}

.gb-search__btn {
  border: 1px solid var(--gb-border);
  background: var(--gb-panel-alt);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--gb-radius) var(--gb-radius) 0;
  color: var(--gb-navy);
}

.gb-header .gb-search__btn {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--gb-accent);
  color: var(--gb-navy-deep);
}

.gb-search__hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--gb-muted);
}

.gb-search-results {
  margin-top: 0.5rem;
  border: 1px solid var(--gb-border-soft);
  background: var(--gb-panel-alt);
  display: none;
}

.gb-search-results.is-open {
  display: block;
}

.gb-search-results__item {
  display: block;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--gb-border-soft);
  color: var(--gb-text);
  text-decoration: none;
}

.gb-search-results__item:hover {
  background: #e8eef5;
  text-decoration: none;
}

.gb-search-results__empty {
  padding: 0.5rem;
  color: var(--gb-muted);
}

/* —— Tables / rows —— */
.gb-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8rem;
  font-family: var(--gb-font);
}

.gb-table th,
.gb-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--gb-border-soft);
  text-align: left;
  vertical-align: middle;
}

.gb-table th {
  background: var(--gb-panel-alt);
  font-family: var(--gb-font-condensed);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gb-muted);
  font-weight: 700;
}

.gb-table tr:nth-child(even) td {
  background: #fafbfd;
}

.gb-table tr:hover td {
  background: #eef3f9;
}

.gb-rank {
  font-weight: 700;
  color: var(--gb-muted);
  font-variant-numeric: tabular-nums;
  width: 2.25rem;
  text-align: center;
}

.gb-col-title {
  width: 28%;
}

.gb-col-bonus {
  width: 16%;
}

.gb-col-rating {
  width: 5.5rem;
  white-space: nowrap;
}

.gb-col-pay {
  width: 16%;
  font-size: 0.75rem;
  color: var(--gb-text);
  word-break: break-word;
}

.gb-col-types {
  width: 12%;
  font-size: 0.75rem;
  word-break: break-word;
}

.gb-col-actions {
  width: 11.5rem;
  white-space: nowrap;
}

.gb-app-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.gb-app-cell__text {
  min-width: 0;
}

.gb-app-cell__icon {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--gb-border-soft);
  border-radius: var(--gb-radius);
  flex-shrink: 0;
  background: var(--gb-panel-alt);
}

.gb-app-cell__name {
  display: block;
  font-weight: 700;
  color: var(--gb-link);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gb-app-cell__meta {
  display: block;
  font-size: 0.7rem;
  color: var(--gb-muted);
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gb-muted-dash {
  color: var(--gb-muted);
}

.gb-rating {
  font-weight: 700;
  color: var(--gb-navy);
  font-variant-numeric: tabular-nums;
}

.gb-rating::before {
  content: "★ ";
  color: var(--gb-accent);
}

.gb-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: 100%;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  font-family: var(--gb-font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid var(--gb-navy);
  background: linear-gradient(180deg, #3a6aaa 0%, var(--gb-navy) 100%);
  color: #fff;
  border-radius: var(--gb-radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.gb-btn--sm {
  min-width: 4.75rem;
  height: 1.7rem;
  padding: 0 0.45rem;
  font-size: 0.68rem;
}

.gb-btn:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.08);
}

.gb-btn--ghost {
  background: var(--gb-panel);
  color: var(--gb-navy);
  border-color: var(--gb-border);
}

.gb-btn--ghost:hover {
  color: var(--gb-navy);
  background: var(--gb-panel-alt);
}

.gb-btn--accent {
  background: linear-gradient(180deg, #e0c04a 0%, var(--gb-accent) 100%);
  border-color: #9a7a10;
  color: var(--gb-navy-deep);
}

.gb-btn--accent:hover {
  color: var(--gb-navy-deep);
}

/* —— Promo / deal badges (ecommerce sale style) —— */
.gb-promo {
  --gb-promo-bg: #e11d2e;
  --gb-promo-bg-2: #ff4d1a;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.35rem 0.55rem 0.35rem 0.4rem;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gb-promo-bg) 0%, var(--gb-promo-bg-2) 55%, #ffb020 160%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid #b01020;
  line-height: 1.15;
  vertical-align: middle;
  transform: rotate(-1deg);
}

.gb-promo__icon {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
}

.gb-promo__text {
  font-family: var(--gb-font-condensed);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gb-promo--sm {
  padding: 0.28rem 0.45rem 0.28rem 0.32rem;
  transform: none;
}

.gb-promo--sm .gb-promo__icon {
  width: 14px;
  height: 14px;
}

.gb-promo--sm .gb-promo__text {
  font-size: 0.78rem;
}

.gb-promo--md .gb-promo__icon {
  width: 16px;
  height: 16px;
}

.gb-promo--md .gb-promo__text {
  font-size: 0.92rem;
}

.gb-promo--lg {
  padding: 0.55rem 0.85rem 0.55rem 0.6rem;
  transform: rotate(-1.5deg);
  box-shadow: 0 3px 0 #8f0c18, 0 4px 10px rgba(225, 29, 46, 0.35);
}

.gb-promo--lg .gb-promo__icon {
  width: 26px;
  height: 26px;
}

.gb-promo--lg .gb-promo__text {
  font-size: 1.45rem;
  letter-spacing: 0.03em;
}

.gb-promo-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0.65rem 0.75rem;
  background:
    repeating-linear-gradient(
      -45deg,
      #fff4e5,
      #fff4e5 8px,
      #ffe7c2 8px,
      #ffe7c2 16px
    );
  border: 2px dashed #e11d2e;
  border-radius: 4px;
}

.gb-promo-hero__label {
  font-family: var(--gb-font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e11d2e;
}

.gb-col-bonus .gb-promo {
  max-width: 100%;
}

.gb-list__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
}

.gb-list__main {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.gb-list__main:hover {
  text-decoration: none;
}

.gb-list__main:hover .gb-list__title {
  text-decoration: underline;
}

.gb-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.gb-list__promo {
  display: block;
  margin-top: 0.15rem;
}

.gb-list__actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.gb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
}

.gb-chip {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--gb-border);
  background: var(--gb-panel);
  color: var(--gb-navy);
  border-radius: var(--gb-radius);
  cursor: pointer;
  text-decoration: none;
}

.gb-chip:hover,
.gb-chip.is-active {
  background: var(--gb-navy);
  color: #fff;
  border-color: var(--gb-navy);
  text-decoration: none;
}

.gb-chip--muted {
  cursor: default;
  background: var(--gb-panel-alt);
  color: var(--gb-muted);
}

.gb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gb-list__item {
  border-bottom: 1px solid var(--gb-border-soft);
}

.gb-list__item:last-child {
  border-bottom: none;
}

.gb-list__item:hover {
  background: #eef3f9;
}

.gb-list__title {
  font-weight: 700;
  color: var(--gb-link);
  display: block;
}

.gb-list__meta {
  font-size: 0.7rem;
  color: var(--gb-muted);
}

.gb-tag {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #e0e8f4;
  color: var(--gb-navy);
  border-radius: var(--gb-radius);
}

/* —— Banner strip —— */
.gb-banners {
  position: relative;
  overflow: hidden;
  background: var(--gb-navy-deep);
  min-height: 120px;
}

.gb-banners__slide {
  display: none;
}

.gb-banners__slide.is-active {
  display: block;
}

.gb-banners__slide a {
  display: block;
}

.gb-banners__img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.gb-banners__dots {
  position: absolute;
  bottom: 0.4rem;
  right: 0.5rem;
  display: flex;
  gap: 0.3rem;
}

.gb-banners__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gb-banners__dot.is-active {
  background: #fff;
}

/* —— FAQ —— */
.gb-faq details {
  border-bottom: 1px solid var(--gb-border-soft);
  padding: 0.45rem 0;
}

.gb-faq details:last-child {
  border-bottom: none;
}

.gb-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--gb-navy);
}

.gb-faq__a {
  margin: 0.35rem 0 0;
  color: var(--gb-muted);
  font-size: 0.8rem;
}

/* —— App detail —— */
.gb-hero {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.gb-hero__icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius);
  background: var(--gb-panel-alt);
  flex-shrink: 0;
}

.gb-hero__meta {
  flex: 1;
  min-width: 12rem;
}

.gb-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.35rem 0.75rem;
  margin: 0.5rem 0;
  font-size: 0.75rem;
}

.gb-meta-grid dt {
  color: var(--gb-muted);
  font-weight: 600;
  margin: 0;
}

.gb-meta-grid dd {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.gb-prose {
  font-size: 0.85rem;
  line-height: 1.55;
}

.gb-prose h2,
.gb-prose h3 {
  color: var(--gb-navy-deep);
  margin: 1rem 0 0.4rem;
  font-size: 1.05rem;
}

.gb-prose p {
  margin: 0 0 0.75rem;
}

.gb-prose ul,
.gb-prose ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.gb-prose img {
  border: 1px solid var(--gb-border-soft);
}

.gb-dock {
  position: sticky;
  bottom: 0;
  z-index: 60;
  background: linear-gradient(180deg, #2a5088 0%, var(--gb-navy-deep) 100%);
  border-top: 2px solid var(--gb-accent);
  padding: 0.55rem 0;
  color: #fff;
}

.gb-dock__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gb-dock__hint {
  font-size: 0.72rem;
  opacity: 0.85;
  margin: 0;
  max-width: 36rem;
}

body.has-download-dock-page .gb-main {
  padding-bottom: 4.5rem;
}

/* —— Blog —— */
.gb-cover {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-bottom: 1px solid var(--gb-border);
  display: block;
}

.gb-post-meta {
  font-size: 0.75rem;
  color: var(--gb-muted);
  margin: 0 0 0.75rem;
}

/* —— Footer (GameFAQs-style: blue bar + dark rows; CMS columns = rows) —— */
.gb-footer {
  margin-top: auto;
  border-top: none;
  padding: 0;
  font-family: var(--gb-font-condensed);
}

.gb-footer__bar {
  background: var(--gb-footer-blue);
  color: #fff;
  padding: 0.65rem 0;
}

.gb-footer__bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.gb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-family: var(--gb-font-brand);
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.gb-footer__brand:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.gb-footer__brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 2px;
}

.gb-footer__bar-meta {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
  min-width: 12rem;
}

.gb-footer__dark {
  background: var(--gb-footer-dark);
  color: #a0a0a0;
  font-size: 0.8rem;
  text-align: center;
  padding: 1.1rem 0 1.35rem;
}

.gb-footer__dark a {
  color: #a0a0a0;
  text-decoration: none;
}

.gb-footer__dark a:hover {
  color: #fff;
  text-decoration: underline;
}

.gb-footer__groups {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.gb-footer__group-title {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e6e;
}

.gb-footer__friends {
  margin: 0.75rem 0;
}

.gb-footer__friends .gb-footer__row {
  justify-content: center;
}

.gb-footer__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0;
}

.gb-footer__row li {
  display: inline-flex;
  align-items: center;
}

.gb-footer__row li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.75em;
  margin: 0 0.65rem;
  background: #3a3a3a;
  vertical-align: middle;
}

.gb-footer__row a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.gb-footer__legal {
  margin: 0.75rem auto 0;
  max-width: 52rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #7a7a7a;
}

.gb-footer__legal p {
  margin: 0 0 0.35rem;
}

.gb-footer__legal strong {
  color: #9a9a9a;
}

.gb-footer__play {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #a0a0a0;
}

.gb-footer__play strong {
  color: #e0e0e0;
}

.gb-footer__banner {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--gb-danger);
}

.gb-footer__copy {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e6e;
}

/* —— Top ad / floating / modal —— */
.gb-top-ad {
  background: #0a1a30;
  text-align: center;
  position: relative;
}

.gb-top-ad img {
  max-height: 90px;
  width: auto;
}

.gb-top-ad__close {
  position: absolute;
  top: 0.25rem;
  right: 0.35rem;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  border-radius: var(--gb-radius);
  font-size: 0.85rem;
  line-height: 1;
}

.gb-float {
  position: fixed;
  right: 0.75rem;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

body.has-download-dock-page .gb-float {
  bottom: 6.25rem;
}

.gb-float a {
  display: block;
  width: 64px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gb-float img {
  width: 64px;
  height: auto;
  display: block;
  border: 1px solid var(--gb-border);
  background: #fff;
}

.gb-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gb-modal.is-open {
  display: flex;
}

.gb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 48, 0.55);
}

.gb-modal__panel {
  position: relative;
  background: var(--gb-panel);
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius);
  max-width: 26rem;
  width: 100%;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.gb-modal__title {
  margin: 0 0 0.5rem;
  color: var(--gb-navy-deep);
  font-size: 1rem;
}

.gb-modal__body {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--gb-muted);
}

.gb-modal__contacts {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.gb-modal__contacts a {
  font-weight: 700;
}

.gb-modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gb-muted);
}

/* —— Empty / 404 —— */
.gb-empty {
  text-align: center;
  padding: 2rem 1rem;
}

.gb-empty__title {
  margin: 0 0 0.35rem;
  color: var(--gb-navy-deep);
}

.gb-empty__body {
  margin: 0 0 1rem;
  color: var(--gb-muted);
}

/* —— Tabs —— */
.gb-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--gb-border);
  background: var(--gb-panel-alt);
}

.gb-tabs__btn {
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gb-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.gb-tabs__btn.is-active {
  color: var(--gb-navy);
  border-bottom-color: var(--gb-navy);
  background: var(--gb-panel);
}

.gb-tabs__panel {
  display: none;
}

.gb-tabs__panel.is-active {
  display: block;
}

/* —— Filter hide —— */
.gb-row-hidden {
  display: none !important;
}

.gb-count {
  font-size: 0.75rem;
  color: var(--gb-muted);
  margin: 0 0 0.5rem;
}

.gb-seo-bridge {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .gb-seo-bridge {
    grid-template-columns: 1fr 1fr;
  }
}

.gb-feature-list {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
  font-size: 0.8rem;
}

.gb-feature-list li {
  margin-bottom: 0.2rem;
}

.gb-list__link .gb-btn {
  margin-left: 0.2rem;
}

/* —— Narrow / mobile —— */
@media (max-width: 900px) {
  .gb-wrap {
    width: min(100% - 1rem, var(--gb-max));
  }

  .gb-page-title {
    font-size: 1.2rem;
  }

  .gb-board__head {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .gb-promo {
    transform: none;
  }

  .gb-promo--md .gb-promo__text {
    font-size: 0.8rem;
  }

  .gb-promo--lg {
    transform: none;
    box-shadow: 0 2px 0 #8f0c18;
  }

  .gb-promo--lg .gb-promo__text {
    font-size: 1.15rem;
  }

  .gb-promo--lg .gb-promo__icon {
    width: 20px;
    height: 20px;
  }

  /* Top picks / list cards: stack */
  .gb-list__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .gb-list__actions {
    width: 100%;
  }

  .gb-list__actions .gb-btn {
    flex: 1;
  }

  .gb-list__actions {
    display: flex;
  }

  /* Ranking table → stacked cards */
  .gb-table,
  .gb-table thead,
  .gb-table tbody,
  .gb-table tr,
  .gb-table th,
  .gb-table td {
    display: block;
    width: 100% !important;
  }

  .gb-table {
    table-layout: auto;
    border: 0;
  }

  .gb-table thead {
    display: none;
  }

  .gb-table tr.gb-app-row {
    margin: 0.65rem;
    padding: 0.65rem;
    border: 1px solid var(--gb-border-soft);
    border-radius: var(--gb-radius);
    background: var(--gb-panel);
  }

  .gb-table tr.gb-app-row:nth-child(even) {
    background: var(--gb-panel-alt);
  }

  .gb-table tr.gb-app-row td,
  .gb-table tr.gb-app-row:nth-child(even) td,
  .gb-table tr.gb-app-row:hover td {
    background: transparent;
  }

  .gb-table td {
    border: 0;
    padding: 0.28rem 0;
    text-align: left;
  }

  .gb-table td.gb-rank {
    display: inline-flex;
    width: auto !important;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.45rem;
    background: var(--gb-navy);
    color: #fff;
    border-radius: 2px;
    font-size: 0.72rem;
  }

  .gb-table td.gb-col-title {
    padding-top: 0.15rem;
    padding-bottom: 0.45rem;
  }

  .gb-table td.gb-col-title .gb-app-cell__name {
    white-space: normal;
  }

  .gb-table td.gb-col-title .gb-app-cell__meta {
    white-space: normal;
  }

  .gb-table td.gb-col-pay,
  .gb-table td.gb-col-types {
    display: none;
  }

  .gb-table td.gb-col-bonus,
  .gb-table td.gb-col-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .gb-table td.gb-col-bonus::before,
  .gb-table td.gb-col-rating::before {
    content: attr(data-label);
    flex: 0 0 4.5rem;
    font-family: var(--gb-font-condensed);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gb-muted);
  }

  .gb-table td.gb-col-bonus .gb-promo {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }

  .gb-table td.gb-col-actions {
    padding-top: 0.55rem;
    margin-top: 0.25rem;
    border-top: 1px dashed var(--gb-border-soft);
  }

  .gb-actions {
    justify-content: stretch;
    gap: 0.4rem;
  }

  .gb-actions .gb-btn {
    flex: 1;
    min-width: 0;
  }

  .gb-btn--sm {
    min-width: 0;
    height: 2.1rem;
    font-size: 0.75rem;
  }

  .gb-search__btn {
    min-width: 3.25rem;
    padding: 0.5rem 0.85rem;
  }

  .gb-search__input {
    padding: 0.5rem 0.65rem;
  }

  .gb-float {
    right: 0.4rem;
    bottom: 0.75rem;
    opacity: 0.92;
  }

  .gb-float a {
    width: 44px;
  }

  .gb-float img {
    width: 44px;
  }

  body.has-download-dock-page .gb-float {
    bottom: 8.5rem;
  }

  .gb-main {
    padding-bottom: 3.5rem;
  }

  .gb-filters .gb-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .gb-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gb-footer__row li:not(:last-child)::after {
    margin: 0 0.4rem;
  }

  .gb-hero {
    flex-direction: column;
  }

  .gb-dock__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .gb-dock__inner .gb-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .gb-table tr.gb-app-row {
    margin: 0.5rem;
    padding: 0.55rem;
  }

  .gb-nav-toggle {
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
  }

  .gb-float {
    right: 0.35rem;
    bottom: 0.65rem;
    opacity: 1;
    z-index: 50;
  }

  .gb-float a {
    width: 48px;
  }

  .gb-float img {
    width: 48px;
  }

  body.has-download-dock-page .gb-float {
    bottom: 9.5rem;
  }
}
