﻿/* Board Games Online — parchment + leather portal */
:root {
  --bgo-leather: #5a1717;
  --bgo-leather-mid: #7a2222;
  --bgo-leather-deep: #3f0f0f;
  --bgo-leather-shine: #8b2e2e;
  --bgo-ink: #4a1414;
  --bgo-ink-soft: #6b2a2a;
  --bgo-parchment: #f3e6c8;
  --bgo-parchment-2: #ebe0bc;
  --bgo-parchment-3: #e2d2a8;
  --bgo-parchment-edge: #c9b58a;
  --bgo-cream: #fff8e7;
  --bgo-text: #2a1c12;
  --bgo-muted: #6a5644;
  --bgo-btn: #8b1e1e;
  --bgo-btn-hover: #a52828;
  --bgo-btn-text: #fff8f0;
  --bgo-stage-bg: #4a1212;
  --bgo-shadow: 0 4px 14px rgba(40, 10, 10, 0.28);
  --bgo-shadow-soft: 0 2px 6px rgba(60, 30, 10, 0.18);
  --bgo-font-display: "Libre Baskerville", "Palatino Linotype", Palatino, serif;
  --bgo-font-body: "Nunito", "Segoe UI", sans-serif;
  --bgo-aside-w: 260px;
  --bgo-max: 1000px;
  --bgo-dock-h: 64px;
  --bgo-radius: 4px;
  --bgo-space: 8px;
  --bgo-space-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body.bgo-body {
  margin: 0;
  font-family: var(--bgo-font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--bgo-text);
  min-height: 100vh;
  background-color: #4a1212;
  background-position: 50% 0;
  background-repeat: repeat;
}

/* Embedded HTML pages: theme shell bg (not white); only max-width on content */
body.bgo-body--html {
  /* keep default leather shell from body.bgo-body + inline bg-pattern */
  color: inherit;
}

.bgo-html-page {
  display: block;
  width: 100%;
  max-width: var(--bgo-max);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bgo-ink-soft);
  text-decoration: none;
}

a:hover {
  color: var(--bgo-btn);
  text-decoration: underline;
}

.bgo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Top ad —— */
.bgo-top-ad {
  position: relative;
  background: var(--bgo-leather-deep);
  text-align: center;
}

.bgo-top-ad[hidden] {
  display: none !important;
}

.bgo-top-ad__link {
  display: block;
}

.bgo-top-ad__link img {
  margin: 0 auto;
  max-height: 90px;
  width: auto;
}

.bgo-top-ad__close {
  position: absolute;
  top: 4px;
  right: 8px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* —— Header: brand → mid(ad/cover) → nav (unified stack) —— */
.bgo-header {
  color: #fff;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.bgo-header__brand-bar {
  position: relative;
  z-index: 3;
  background-color: #5a1717;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bgo-header__brand-inner {
  max-width: var(--bgo-max);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bgo-header__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
}

.bgo-header__ext {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  max-width: min(28rem, 52vw);
}

.bgo-header__ext:empty {
  display: none;
}

.bgo-header__ext-link {
  color: #f7e9d0;
  font-family: Tahoma, var(--bgo-font-body), sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.bgo-header__ext-link:hover {
  color: #fff;
  text-decoration: none;
  border-bottom-color: rgba(255, 248, 231, 0.55);
}

.bgo-header__mid {
  position: relative;
  z-index: 1;
  background-color: #3f0f0f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 0;
  line-height: 0;
}

.bgo-header__ad {
  max-width: var(--bgo-max);
  margin: 0 auto;
  padding: 0;
}

.bgo-header__ad .bgo-top-ad {
  position: relative;
  background: transparent;
  text-align: center;
  margin: 0 auto;
  line-height: 0;
}

.bgo-header__ad .bgo-top-ad[hidden] {
  display: none !important;
}

.bgo-header__ad .bgo-top-ad__link {
  display: block;
  line-height: 0;
}

.bgo-header__ad .bgo-top-ad__link img {
  margin: 0 auto;
  max-height: min(12rem, 28vw);
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: top;
}

.bgo-header__cover {
  min-height: 4.5rem;
  height: clamp(4.5rem, 12vw, 7.5rem);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bgo-header__nav-wrap {
  position: relative;
  z-index: 4;
  margin-top: -1.25rem;
  padding: 0;
  width: 100%;
  max-width: var(--bgo-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.bgo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.bgo-brand:hover {
  color: #fff;
  text-decoration: none;
}

.bgo-brand__logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.bgo-brand__logo--fallback {
  width: auto;
  max-width: 11rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.bgo-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.bgo-brand__name {
  font-family: "Times New Roman", "Libre Baskerville", Palatino, serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 0 rgba(90, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgo-brand__tagline {
  font-size: 0.8rem;
  opacity: 0.88;
  font-weight: 600;
}

.bgo-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--bgo-radius);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0.6rem;
  flex-shrink: 0;
}

.bgo-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.bgo-nav {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 4.25rem;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  border-radius: 0.25rem 0.25rem 0 0;
  box-sizing: border-box;
}

.bgo-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  min-height: 4.25rem;
  box-sizing: border-box;
}

.bgo-nav__item {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  display: flex;
  align-items: stretch;
  position: relative;
  background: transparent;
}

.bgo-nav__item + .bgo-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 200, 120, 0.35);
  pointer-events: none;
  z-index: 1;
}

.bgo-nav__item.is-active,
.bgo-nav__item:hover {
  background-color: transparent;
  background-image: url("../image/menu-tab.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.bgo-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.25rem;
  color: #f7e9d0;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.bgo-nav__link:hover {
  color: #fff;
  text-decoration: none;
}

.bgo-nav__icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.bgo-nav__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  opacity: 0.85;
  stroke: currentColor;
}

.bgo-nav__item.is-active .bgo-nav__icon,
.bgo-nav__item:hover .bgo-nav__icon {
  opacity: 1;
}

.bgo-nav__label {
  font-family: Tahoma, var(--bgo-font-body), sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Stage / parchment sheet —— */
.bgo-stage {
  max-width: var(--bgo-max);
  margin: -0.35rem auto 0;
  padding: 0 8px 16px;
  position: relative;
  z-index: 1;
}

.bgo-parchment {
  position: relative;
  background-color: #eddaae;
  background-repeat: repeat;
  min-height: 0;
  margin-bottom: 12px;
  border-radius: 5px 0 0;
  box-shadow: inset #dfcaa4 0 0 15px 0;
  padding: 12px 12px 16px;
}

.bgo-parchment__shadows {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.bgo-parchment > .bgo-grid {
  position: relative;
  z-index: 1;
}

.bgo-sep {
  width: 160px;
  height: 9px;
  margin: 6px auto 0;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: contain;
}

.bgo-notice {
  margin-bottom: 8px;
  padding: 8px 10px;
  background: var(--bgo-parchment);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-notice__title {
  display: block;
  margin-bottom: 2px;
  color: var(--bgo-ink);
  font-family: var(--bgo-font-display);
  font-size: 0.95rem;
}

.bgo-notice__body {
  margin: 0;
  color: var(--bgo-muted);
  font-size: 0.88rem;
}

.bgo-grid {
  display: grid;
  gap: 10px;
}

.bgo-grid--with-aside {
  grid-template-columns: minmax(0, 1fr) var(--bgo-aside-w);
  align-items: start;
}

.bgo-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bgo-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: sticky;
  top: 8px;
}

body.has-download-dock-page {
  padding-bottom: calc(var(--bgo-dock-h) + 16px);
}

/* —— Buttons —— */
.bgo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: 5px;
  font-family: var(--bgo-font-body);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.15;
}

.bgo-btn:hover {
  text-decoration: none;
}

.bgo-btn--play,
.bgo-btn--accent {
  background:
    linear-gradient(180deg, #a52a2a, var(--bgo-btn));
  color: var(--bgo-btn-text);
  border-color: #5c1010;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 0 #3f0c0c;
  min-width: 0;
}

.bgo-btn--play:hover,
.bgo-btn--accent:hover {
  color: var(--bgo-btn-text);
  background: linear-gradient(180deg, var(--bgo-btn-hover), var(--bgo-btn));
}

.bgo-btn--ghost {
  background: var(--bgo-cream);
  color: var(--bgo-ink);
  border-color: var(--bgo-parchment-edge);
}

.bgo-btn--ghost:hover {
  background: #fff;
  color: var(--bgo-ink);
}

.bgo-btn--block {
  width: 100%;
}

/* —— Section heads (ornamented like original BGO) —— */
.bgo-section-head {
  margin: 10px 0 12px;
  text-align: center;
}

.bgo-section-head__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Times New Roman", "Libre Baskerville", "Palatino Linotype", Palatino, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #6d1c0c;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.bgo-section-head__title::before,
.bgo-section-head__title::after {
  content: "";
  display: block;
  width: min(200px, 70%);
  height: 10px;
  background: url("../image/separator.png") 50% 50% / contain no-repeat;
}

.bgo-section-head__tag,
.bgo-section-head__lead {
  margin: 6px 0 0;
  color: var(--bgo-muted);
  font-size: 0.85rem;
  text-align: center;
}

.bgo-section-head .bgo-sep {
  display: none;
}

.bgo-page-head {
  background: rgba(255, 248, 231, 0.65);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  padding: 10px 12px;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-page-head__eyebrow {
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bgo-ink-soft);
}

.bgo-page-head__title {
  margin: 0;
  font-family: var(--bgo-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bgo-ink);
}

.bgo-page-head__lead,
.bgo-page-head__count {
  margin: 4px 0 0;
  color: var(--bgo-muted);
  font-size: 0.88rem;
}

/* —— Hero —— */
.bgo-hero {
  padding: 0;
}

.bgo-hero__title {
  margin: 0;
  font-family: var(--bgo-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bgo-ink);
}

.bgo-hero__sub {
  margin: 3px 0 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bgo-ink-soft);
}

.bgo-hero__lead {
  margin: 4px 0 0;
  color: var(--bgo-muted);
  max-width: 70ch;
  font-size: 0.9rem;
}

/* —— Search —— */
.bgo-search {
  background: rgba(255, 248, 231, 0.7);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  padding: 6px;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-search__form {
  display: flex;
  gap: 6px;
}

.bgo-search__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: 4px;
  padding: 7px 10px;
  font: inherit;
  background: #fffdf6;
}

.bgo-search__btn {
  border: 1px solid #5c1010;
  border-radius: 5px;
  padding: 7px 12px;
  background: linear-gradient(180deg, #a52a2a, var(--bgo-btn));
  color: #fff;
  font-family: var(--bgo-font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-size: 0.75rem;
}

/* —— Banners —— */
.bgo-banners {
  position: relative;
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  overflow: hidden;
  box-shadow: var(--bgo-shadow-soft);
  background: #fffdf6;
}

.bgo-banners__track {
  position: relative;
  min-height: 80px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.bgo-banners__item {
  display: none;
}

.bgo-banners__item.is-active {
  display: block;
}

.bgo-banners__item img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}

.bgo-banners__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: var(--bgo-parchment-2);
}

.bgo-banners__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--bgo-parchment-edge);
  cursor: pointer;
  padding: 0;
}

.bgo-banners__dot.is-active {
  background: var(--bgo-btn);
}

/* —— Paper sheet cards —— */
.bgo-sheet {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 28%),
    var(--bgo-cream);
  border: 1px solid #b79b6a;
  border-radius: 3px;
  box-shadow: var(--bgo-shadow-soft);
  padding: 8px 10px;
}

/* —— Featured top-game cards (fluid, 1:1 media) —— */
.bgo-featured__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 8px;
  width: 100%;
}

.bgo-top-game {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  padding: 0.75rem 0.7rem 0.85rem;
  border: 0;
  box-shadow: none;
  background: url("../image/card-top.webp") center / 100% 100% no-repeat;
  background-color: #efe0bc;
}

.bgo-top-game__title {
  display: block;
  margin: 0 0 8px;
  padding-right: 52px;
  font-family: Tahoma, var(--bgo-font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #822a10;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.25;
}

.bgo-top-game__title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bgo-top-game__title a:hover {
  color: #b93e1c;
}

.bgo-top-game__shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid #cc9f6c;
  border-radius: 4px;
  background: #ddd0ad;
}

.bgo-top-game__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.bgo-top-game__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.bgo-top-game__stats {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Tahoma, sans-serif;
  font-size: 0.7rem;
  color: #8f6b37;
  line-height: 1.3;
}

.bgo-top-game__stats li {
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgo-top-game__stats span {
  color: #b93e1c;
  font-weight: 700;
  margin-left: 2px;
}

.bgo-top-game__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 46%;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  background: linear-gradient(180deg, #d4391a, #8b1e1e);
  border: 1px solid #5c1010;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bgo-top-game__btn:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}

/* —— Promo hot-deal accents —— */
.bgo-top-game__shot,
.bgo-game__shot {
  position: relative;
  display: block;
}

.bgo-rank-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 3px 7px;
  background: linear-gradient(180deg, #ffb400, #e08900);
  border: 1px solid #a86400;
  border-radius: 3px;
  color: #4a1a00;
  font-family: Tahoma, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(100, 40, 0, 0.3);
}

.bgo-rank-badge--1 {
  background: linear-gradient(180deg, #ffd34a, #f0a000);
  color: #5a1e00;
}

.bgo-rank-badge--2 {
  background: linear-gradient(180deg, #e8e8e8, #b0b0b0);
  border-color: #888;
  color: #333;
}

.bgo-rank-badge--3 {
  background: linear-gradient(180deg, #e8b090, #c07040);
  border-color: #8a4a28;
  color: #3a1a0a;
}

.bgo-promo-badge {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  max-width: 75%;
  padding: 4px 8px 4px 6px;
  background: linear-gradient(90deg, #d42020, #a31212);
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 2px 5px rgba(120, 0, 0, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgo-promo-badge--alt {
  background: linear-gradient(90deg, #c45c00, #8a3d00);
}

.bgo-promo-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 4px 6px;
  background: linear-gradient(90deg, rgba(255, 214, 80, 0.96), rgba(255, 170, 40, 0.96));
  border-top: 1px solid #e0a82e;
  color: #8a1f00;
  font-family: Tahoma, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.bgo-promo-strip strong {
  display: block;
  color: #c41212;
  font-size: 0.78rem;
  font-weight: 800;
  font-style: normal;
}

.bgo-promo-strip em {
  display: block;
  margin-top: 1px;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  color: #7a3d10;
}

.bgo-promo-strip--compact {
  padding: 3px 4px;
}

/* —— Catalog stack (categories top-to-bottom, no tabs) —— */
.bgo-catalog {
  margin-top: 2px;
}

.bgo-catalog__intro {
  margin: 0 0 12px;
  color: #8f6b37;
  font-size: 0.85rem;
  font-family: Tahoma, sans-serif;
  text-align: center;
}

.bgo-catalog__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bgo-catalog__block {
  min-width: 0;
}

.bgo-section-head--sub {
  margin: 4px 0 10px;
}

.bgo-section-head--sub .bgo-section-head__title {
  font-size: 1.2rem;
}

.bgo-catalog__empty {
  margin: 0;
  padding: 8px 4px;
  color: var(--bgo-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* —— Catalog game cards (fluid, 1:1 media) —— */
.bgo-game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 8px;
  margin: 0;
}

.bgo-clear {
  display: none;
}

.bgo-game {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  padding: 0.65rem 0.6rem 0.75rem;
  border: 0;
  box-shadow: none;
  background: url("../image/card-game.webp") center / 100% 100% no-repeat;
  background-color: #efe0bc;
}

.bgo-game__name {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-family: Tahoma, sans-serif;
  font-weight: 700;
  color: #822a10;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.25;
}

.bgo-game__name a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bgo-game__name a:hover {
  color: #b93e1c;
}

.bgo-game__shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid #c99b69;
  border-radius: 3px;
  background: #ddd0ad;
}

.bgo-game__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.bgo-game__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: 6px;
}

.bgo-game__stats {
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgo-game__stats li {
  margin-bottom: 2px;
  font-size: 0.65rem;
  font-family: Tahoma, sans-serif;
  color: #8f6b37;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgo-game__stats span {
  color: #b93e1c;
  margin-left: 1px;
  font-weight: 700;
}

.bgo-game__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  max-width: 48%;
}

.bgo-game__rating {
  position: relative;
  width: 5.3rem;
  max-width: 100%;
  height: 0.875rem;
  background: url("../image/sprite.webp") -405px -376px no-repeat;
  background-size: auto;
  overflow: hidden;
}

.bgo-game__rating-fill {
  height: 100%;
  max-width: 100%;
  background: url("../image/sprite.webp") -405px -351px no-repeat;
}

.bgo-game__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 1.6rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(180deg, #d4391a, #8b1e1e);
  border: 1px solid #5c1010;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: Tahoma, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bgo-game__btn:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}

.bgo-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 8px;
}

.bgo-tile-row {
  display: contents;
}

/* —— Aside panels (sidebar-bg chrome) —— */
.bgo-aside {
  width: 100%;
  margin-top: 0;
}

.bgo-panel {
  position: relative;
  background-color: transparent;
  background-repeat: repeat-y;
  background-position: 0 0;
  background-size: 100% auto;
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  padding: 14px 16px 28px;
}

.bgo-panel__overflow {
  position: absolute;
  right: 12px;
  top: -3px;
  width: 200px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: -9px -100px;
  background-size: auto 20px;
  pointer-events: none;
  opacity: 0.9;
}

.bgo-panel__bottom {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 28px;
  background-repeat: no-repeat;
  background-position: left -950px;
  background-size: 100% 40px;
  pointer-events: none;
}

.bgo-panel__head {
  margin: 0 0 6px;
  padding: 0;
  background: transparent;
  color: #6d1c0c;
  font-family: var(--bgo-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: none;
  text-align: center;
}

.bgo-panel--promo .bgo-panel__head {
  background: transparent;
  color: #6d1c0c;
}

.bgo-promo,
.bgo-rank,
.bgo-news {
  margin: 0;
  padding: 0;
}

.bgo-promo p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--bgo-muted);
  line-height: 1.35;
}

.bgo-rank {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bgo-rank__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
  padding: 5px 0 8px;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 80% 4px;
}

.bgo-rank__num {
  font-family: var(--bgo-font-display);
  font-weight: 700;
  color: var(--bgo-ink);
  font-size: 0.85rem;
}

.bgo-rank__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.bgo-rank__link img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--bgo-parchment-edge);
}

.bgo-rank__name {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgo-rank__cta {
  font-family: var(--bgo-font-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--bgo-btn);
  border-radius: 4px;
  padding: 5px 7px;
  text-decoration: none;
  border: 1px solid #5c1010;
}

.bgo-rank__cta:hover {
  color: #fff;
  text-decoration: none;
  background: var(--bgo-btn-hover);
}

.bgo-news {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bgo-news__item {
  padding: 5px 0 8px;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 80% 4px;
}

.bgo-news__link {
  display: flex;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.bgo-news__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid var(--bgo-parchment-edge);
}

.bgo-news__title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.25;
}

.bgo-news__date {
  display: block;
  margin-top: 2px;
  color: var(--bgo-muted);
  font-size: 0.75rem;
}

.bgo-panel__more {
  display: block;
  padding: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bgo-ink-soft);
}

/* —— FAQ / SEO / prose —— */
.bgo-faq,
.bgo-seo-block,
.bgo-related,
.bgo-app-body {
  background: rgba(255, 248, 231, 0.55);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  padding: 10px;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-faq__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bgo-faq__item {
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: var(--bgo-radius);
  background: var(--bgo-cream);
  padding: 0 10px;
}

.bgo-faq__q {
  cursor: pointer;
  font-weight: 700;
  padding: 7px 0;
  list-style: none;
  color: var(--bgo-ink);
  font-size: 0.9rem;
}

.bgo-faq__q::-webkit-details-marker {
  display: none;
}

.bgo-faq__a {
  padding: 0 0 8px;
  color: var(--bgo-muted);
  font-size: 0.85rem;
}

.bgo-seo-bridge__cols {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .bgo-seo-bridge__cols {
    grid-template-columns: 1fr 1fr;
  }
}

.bgo-prose {
  line-height: 1.65;
}

.bgo-prose h2,
.bgo-prose h3 {
  font-family: var(--bgo-font-display);
  color: var(--bgo-ink);
}

.bgo-prose p {
  margin: 0 0 0.9em;
}

.bgo-prose img {
  border-radius: var(--bgo-radius);
  margin: 0.8em 0;
  border: 1px solid var(--bgo-parchment-edge);
}

.bgo-prose a {
  text-decoration: underline;
}

/* —— App detail —— */
.bgo-app-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  background: var(--bgo-cream);
  border: 1px solid #b79b6a;
  border-radius: var(--bgo-radius);
  padding: 16px;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-app-hero__media img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  background: #ddd0ad;
  border: 1px solid var(--bgo-parchment-edge);
}

.bgo-app-hero__title {
  margin: 0;
  font-family: var(--bgo-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--bgo-ink);
}

.bgo-app-hero__summary {
  margin: 8px 0 0;
  color: var(--bgo-muted);
}

.bgo-app-meta {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bgo-app-meta li {
  background: var(--bgo-parchment-2);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
}

.bgo-app-meta span {
  color: var(--bgo-muted);
  margin-right: 4px;
}

.bgo-app-hero__actions {
  margin-top: 14px;
}

.bgo-related__after {
  margin: 12px 0 0;
  color: var(--bgo-muted);
}

/* —— Blog —— */
.bgo-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bgo-post-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  background: var(--bgo-cream);
  border: 1px solid #b79b6a;
  border-radius: var(--bgo-radius);
  overflow: hidden;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-post-card__media img {
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
}

.bgo-post-card__body {
  padding: 12px 12px 12px 0;
}

.bgo-post-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bgo-ink-soft);
}

.bgo-post-card__title {
  margin: 4px 0 0;
  font-family: var(--bgo-font-display);
  font-size: 1.15rem;
  color: var(--bgo-ink);
}

.bgo-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.bgo-post-card__desc {
  margin: 6px 0 0;
  color: var(--bgo-muted);
  font-size: 0.92rem;
}

.bgo-post-card__meta {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--bgo-muted);
  font-size: 0.82rem;
}

.bgo-article {
  background: var(--bgo-cream);
  border: 1px solid #b79b6a;
  border-radius: var(--bgo-radius);
  padding: 18px;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-article__title {
  margin: 0;
  font-family: var(--bgo-font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--bgo-ink);
}

.bgo-article__meta {
  margin: 8px 0 0;
  color: var(--bgo-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
}

.bgo-article__tags {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bgo-article__tags li {
  background: var(--bgo-parchment-2);
  border: 1px solid var(--bgo-parchment-edge);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
}

.bgo-article__cover {
  margin: 16px 0 0;
}

.bgo-article__cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--bgo-radius);
  border: 1px solid var(--bgo-parchment-edge);
}

.bgo-article__dek {
  margin: 14px 0 0;
  font-size: 1.05rem;
  color: var(--bgo-muted);
}

.bgo-article .bgo-prose {
  margin-top: 18px;
}

/* —— Breadcrumbs —— */
.bgo-breadcrumbs {
  margin-bottom: 4px;
}

.bgo-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 0.82rem;
  color: var(--bgo-muted);
}

.bgo-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  opacity: 0.6;
}

/* —— Empty / 404 —— */
.bgo-empty {
  background: var(--bgo-cream);
  border: 1px solid #b79b6a;
  border-radius: var(--bgo-radius);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--bgo-shadow-soft);
}

.bgo-empty h1,
.bgo-empty h2 {
  margin: 0 0 8px;
  font-family: var(--bgo-font-display);
  color: var(--bgo-ink);
}

.bgo-empty p {
  margin: 0 0 14px;
  color: var(--bgo-muted);
}

/* —— Footer —— */
.bgo-footer {
  margin-top: 8px;
  background-color: #3f0f0f;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: rgba(255, 248, 231, 0.88);
  min-height: 92px;
}

.bgo-footer__bottom {
  background: rgba(0, 0, 0, 0.5);
  min-height: 51px;
}

.bgo-footer a {
  color: #f0d9a8;
}

.bgo-footer__inner {
  max-width: var(--bgo-max);
  margin: 0 auto;
  padding: 22px 14px 28px;
}

.bgo-footer__intro {
  margin: 0 0 16px;
  max-width: 70ch;
}

.bgo-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.bgo-footer__heading {
  margin: 0 0 8px;
  font-family: var(--bgo-font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.bgo-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.bgo-footer__compliance {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.bgo-footer__compliance-title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #fff;
}

.bgo-footer__compliance p,
.bgo-footer__disclaimers p,
.bgo-footer__responsible,
.bgo-footer__copy {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: rgba(255, 248, 231, 0.7);
}

.bgo-footer__friends {
  margin: 12px 0;
}

.bgo-footer__friends .bgo-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.bgo-hero__brand {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bgo-ink-soft);
}

.bgo-hero__lead--secondary {
  opacity: 0.92;
}

.bgo-notice--home {
  margin-bottom: 10px;
}

/* —— Floating links —— */
.bgo-float-links {
  position: fixed;
  right: 12px;
  bottom: 88px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Sit above the download dock when present */
body.has-download-dock-page .bgo-float-links {
  bottom: calc(var(--bgo-dock-h) + 20px);
}

.bgo-float-links__item {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--bgo-shadow);
  border: 2px solid var(--bgo-parchment);
  background: var(--bgo-cream);
}

.bgo-float-links__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Modal —— */
.bgo-modal[hidden] {
  display: none !important;
}

.bgo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.bgo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 8, 8, 0.62);
}

.bgo-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--bgo-parchment);
  border-radius: 8px;
  border: 1px solid var(--bgo-parchment-edge);
  padding: 20px 18px 18px;
  box-shadow: 0 12px 40px rgba(20, 5, 5, 0.4);
}

.bgo-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--bgo-muted);
}

.bgo-modal__title {
  margin: 0 28px 8px 0;
  font-family: var(--bgo-font-display);
  font-size: 1.2rem;
  color: var(--bgo-ink);
}

.bgo-modal__body {
  margin: 0;
  color: var(--bgo-muted);
}

.bgo-modal__contacts {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* —— Download dock —— */
.bgo-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(63, 15, 15, 0.96);
  border-top: 3px solid #c9a86a;
  color: #fff8e7;
}

.bgo-dock__inner {
  max-width: var(--bgo-max);
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--bgo-dock-h);
}

.bgo-dock__info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bgo-dock__info img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bgo-dock__name {
  display: block;
  font-family: var(--bgo-font-display);
  font-size: 0.95rem;
}

.bgo-dock__meta {
  min-width: 0;
}

.bgo-dock__hint {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 48vw;
}

.bgo-dock__hint--promo {
  opacity: 1;
  color: #ffd48a;
  font-weight: 700;
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .bgo-grid--with-aside {
    grid-template-columns: 1fr;
  }

  .bgo-stage {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .bgo-parchment {
    border-radius: 0;
    margin-bottom: 0;
    /* full-bleed sheet; keep inner inset so content doesn't hug the viewport */
    padding-left: 12px;
    padding-right: 12px;
  }

  .bgo-nav-toggle {
    display: flex;
  }

  .bgo-header__ext {
    max-width: min(14rem, 42vw);
    gap: 0.25rem 0.5rem;
  }

  .bgo-header__ext-link {
    font-size: 0.68rem;
  }

  .bgo-header__nav-wrap {
    margin-top: 0;
    padding: 0;
    max-width: none;
  }

  .bgo-header__cover {
    min-height: 3.5rem;
    height: clamp(3.5rem, 16vw, 6rem);
  }

  .bgo-nav {
    display: none;
    max-width: none;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    background-size: cover;
    border-radius: 0;
  }

  .bgo-nav.is-open {
    display: block;
  }

  .bgo-nav__list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0.35rem 0;
    overflow: visible;
  }

  .bgo-nav__item {
    flex: 0 0 auto;
    width: auto;
    background-image: none !important;
  }

  .bgo-nav__item + .bgo-nav__item::before {
    display: none;
  }

  .bgo-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.75rem 1rem;
    height: auto;
    border-radius: 0;
  }

  .bgo-featured__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .bgo-aside {
    position: static;
    width: 100%;
  }

  .bgo-panel {
    max-width: none;
    width: 100%;
  }

  .bgo-panel__bottom {
    width: 100%;
    background-position: left -950px;
  }

  .bgo-game-list,
  .bgo-tile-grid {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  }

  .bgo-app-hero {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .bgo-app-hero__media img {
    width: 80px;
    height: 80px;
  }

  .bgo-post-card {
    grid-template-columns: 1fr;
  }

  .bgo-post-card__media img {
    max-height: 160px;
  }

  .bgo-post-card__body {
    padding: 0 12px 12px;
  }

  .bgo-float-links {
    right: 8px;
    bottom: 96px;
  }

  body.has-download-dock-page .bgo-float-links {
    bottom: calc(var(--bgo-dock-h) + 28px);
  }

  .bgo-float-links__item {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 520px) {
  .bgo-brand__name {
    font-size: 1.15rem;
  }

  .bgo-section-head__title {
    font-size: 1.15rem;
  }

  .bgo-featured__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .bgo-top-game__title,
  .bgo-game__name {
    font-size: 0.7rem;
  }

  .bgo-top-game__foot,
  .bgo-game__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .bgo-top-game__btn,
  .bgo-game__actions {
    max-width: none;
    width: 100%;
  }

  .bgo-game__actions {
    align-items: stretch;
  }

  .bgo-game__btn {
    width: 100%;
  }

  .bgo-dock__inner {
    flex-wrap: wrap;
  }

  .bgo-dock__cta {
    width: 100%;
  }

  /* Stacked dock is taller — keep float clear of it */
  body.has-download-dock-page .bgo-float-links {
    bottom: calc(var(--bgo-dock-h) + 72px);
  }

  body.has-download-dock-page {
    --bgo-dock-h: 120px;
  }
}
