@font-face {
  font-family: Lexend;
  src: url('/assets/fonts/lexend-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #21143f;
  --sidebar: #2c1a53;
  --paper: #352058;
  --text: #faf6ff;
  --muted: #d3c2ee;
  --accent: #e7cdff;
  --ink: #281238;
  --border: #583c79;
  --violet: #7930b5;
  --magenta: #af1c7a;
  --intro-edge: #a8cf90;
  --gallery-violet: #512683;
  --gallery-plum: #422064;
  --sidebar-width: 218px;
  --page-gutter: 28px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 19px; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template: "sidebar main" 1fr "sidebar footer" auto / var(--sidebar-width) minmax(0, 1fr);
  color: var(--text);
  background: var(--bg);
  font: 1rem/1.5 Lexend, system-ui, sans-serif;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #f5d7ff; outline-offset: 3px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(calc(100% - 56px), 1350px); margin-inline: auto; }
.site-header { grid-area: sidebar; background: var(--sidebar); border-right: 1px solid var(--border); }
.header-inner { position: sticky; top: 0; width: 100%; padding: 24px 12px; max-height: 100vh; overflow-y: auto; }
.logo { display: flex; align-items: center; gap: 7px; padding: 8px 7px; font-size: 1.17rem; font-weight: 720; letter-spacing: -.055em; }
.logo-wordmark { display: block; width: min(100%, 190px); height: auto; }
.menu-toggle { display: none; }
.menu-button { display: none; }
.cat-nav { display: grid; gap: 5px; margin-top: 27px; }
.cat-nav a { padding: 9px 12px; border-radius: 7px; color: var(--muted); font-size: .89rem; font-weight: 520; white-space: nowrap; }
.cat-nav a:hover { color: white; background: var(--magenta); }
.cat-nav [aria-current="page"] { color: white; background: var(--violet); }
.popular-games { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.13); padding-top: 16px; }
.popular-games summary { cursor: pointer; color: #fff; font-size: .9rem; font-weight: 720; list-style: none; }
.popular-games summary::-webkit-details-marker { display: none; }
.popular-games summary::after { content: '⌄'; float: right; color: var(--muted); transition: transform .18s ease; }
.popular-games[open] summary::after { transform: rotate(180deg); }
.popular-games nav { display: grid; gap: 3px; margin-top: 8px; }
.popular-games a { padding: 7px 12px; border-radius: 7px; color: var(--muted); font-size: .87rem; font-weight: 560; white-space: nowrap; }
.popular-games a:hover, .popular-games a:focus-visible, .popular-games a[aria-current="page"] { color: #fff; background: var(--magenta); }

main.wrap {
  grid-area: main;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(1350px, calc(100% - 2 * var(--page-gutter)))) minmax(0, 1fr);
  align-content: start;
  padding-block: 20px 44px;
}
main.wrap > * { grid-column: 2; min-width: 0; }
main.wrap > .home-intro { grid-column: 1 / -1; }
.toolbar { display: flex; justify-content: end; margin-bottom: 18px; }
.search-form { display: flex; gap: 7px; width: min(100%, 365px); }
.search-form input { width: 100%; min-width: 0; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; background: #2a1a49; color: var(--text); font-size: .88rem; }
.search-form input::placeholder { color: var(--muted); }
.search-form button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; border: 1px solid transparent; border-radius: 7px; background: var(--accent); color: var(--ink); font-weight: 690; cursor: pointer; }
.search-form button { color: var(--text); border-color: var(--border); background: var(--paper); font-size: .83rem; }
.search-form button:hover, .search-form button:focus-visible,
.btn:hover, .btn:focus-visible { color: white; background: var(--magenta); }

.home-intro { margin-block: 4px 26px; padding: clamp(14px, 3vw, 26px) var(--page-gutter); border-inline: 5px solid var(--intro-edge); background: var(--magenta); color: white; }
.home-intro h1 { font-size: clamp(2rem, 4.1vw, 3.35rem); font-weight: 740; line-height: 1.1; letter-spacing: -.06em; }
.home-intro p { margin-top: 8px; }

.hero { padding-block: 6px 20px; }
.hero h1, .game-page-head h1 { font-size: clamp(1.95rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.055em; }
.hero p, .game-page-head .cat, .game-info p { margin-top: 8px; color: var(--muted); }
.hero a, .notice a, .breadcrumb a { text-decoration: underline; text-underline-offset: .15em; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 12px; }

.section-head h1, .section-head h2 { font-size: clamp(1.3rem, 3vw, 1.72rem); letter-spacing: -.045em; line-height: 1.15; }
.library-count { color: var(--text); font-size: .8rem; text-align: right; }

.game-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.game-card { min-width: 0; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.game-card-media { display: block; overflow: hidden; background: #2a1a49; }
.game-card-media:focus-visible { outline-offset: -3px; }
.game-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.game-card-body { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 5px; padding: 8px; }
.game-card h3 { line-height: 1.23; font-size: .87rem; font-weight: 610; letter-spacing: -.02em; overflow-wrap: anywhere; }
.game-card h3 a:hover { text-decoration: underline; }
.card-action { display: inline-flex; align-items: center; gap: 4px; flex: none; border-radius: 5px; padding: 3px 6px; color: var(--ink); background: var(--accent); font-size: .70rem; font-weight: 700; white-space: nowrap; }
.card-action span { font-size: .56rem; }
.game-card:hover, .game-card:focus-within { border-color: #c398f1; }
.game-card .card-action:hover, .game-card .card-action:focus-visible { color: white; background: var(--magenta); }

.plain-gallery .gallery-band { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 16px 14px; background: var(--gallery-violet); }
.plain-gallery .gallery-band:nth-child(even) { background: var(--gallery-plum); }
.plain-gallery .game-card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.plain-gallery .game-card-media { border-radius: 0; }
.plain-gallery .game-card-body { flex-direction: column; justify-content: start; padding: 7px 0 0; text-align: center; }
.plain-gallery .game-card h3 a { text-decoration: underline; text-underline-offset: .16em; }
.plain-gallery .card-action { padding: 3px 7px; background: transparent; color: var(--text); }
.plain-gallery .game-card .card-action:hover, .plain-gallery .game-card .card-action:focus-visible { color: white; background: var(--magenta); }
@media (max-width: 1100px) {
  .plain-gallery .gallery-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .plain-gallery .gallery-bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 10px; background: var(--gallery-violet); }
  .plain-gallery .gallery-band { display: contents; }
}
.home-guide { margin-top: 32px; }
.home-guide section + section { margin-top: 25px; }
.home-guide h3 { margin-top: 14px; font-size: 1rem; }
.home-guide h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.04em; }
.home-guide p { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.game-ad-slot {
  display: grid;
  place-items: center;
  min-height: 1px;
}
.game-ad-top {
  width: min(100%, 728px);
  min-height: 90px;
  justify-self: center;
  margin-bottom: 26px;
}
.game-ad-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.game-ad-rail { display: none; }
@media (min-width: 1240px) {
  .game-ad-layout { grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 24px; }
  .game-ad-rail { display: grid; min-height: 240px; align-self: start; }
}
@media (max-width: 520px) {
  .game-ad-top { min-height: 64px; margin-bottom: 18px; }
}

.game-page-head { margin-bottom: 16px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.game-preview { display: flex; align-items: center; gap: clamp(18px, 4vw, 60px); padding: clamp(16px, 2.5vw, 28px); margin-bottom: 20px; background: var(--magenta); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.game-preview img { display: block; width: min(48%, 520px); height: auto; border-radius: 10px; }
.game-preview-copy { display: grid; justify-items: start; gap: 14px; }
.game-preview-copy p { color: rgba(255,255,255,.86); }
.btn-play-3d { min-height: 56px; padding: 12px 24px; border: 1px solid #ffe77b; border-radius: 10px; background: linear-gradient(180deg, #ffe972 0%, #ffc32f 52%, #efa20a 100%); color: #352100; font-size: 1.05rem; font-weight: 800; box-shadow: 0 5px 0 #9d6200, 0 9px 18px rgba(0,0,0,.18); transform: translateY(0); }
.btn-play-3d:hover, .btn-play-3d:focus-visible { color: #352100; background: linear-gradient(180deg, #fff29a 0%, #ffd24e 52%, #f3ad14 100%); box-shadow: 0 3px 0 #9d6200, 0 6px 13px rgba(0,0,0,.16); transform: translateY(2px); }
.btn-play-3d:active { box-shadow: 0 1px 0 #9d6200; transform: translateY(4px); }
.notice { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); }
.game-info { padding: 0; background: transparent; border: 0; }
.game-info h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.04em; }
.game-info p { font-size: .9rem; line-height: 1.65; }
.game-info h2 { font-size: 1.13rem; }
.game-info p + h2 { margin-top: 17px; }
.game-info .credit { font-size: .84rem; }
.notice { margin-block: 16px; text-align: center; }
.more-games { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); }
.more-games > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; cursor: pointer; color: #fff; font-weight: 720; list-style: none; }
.more-games > summary::-webkit-details-marker { display: none; }
.more-games > summary::after { content: '+'; order: 3; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--border); border-radius: 50%; font-size: 1.2rem; line-height: 1; }
.more-games[open] > summary::after { content: '–'; }
.more-games summary small { margin-left: auto; color: var(--muted); font-size: .78rem; font-weight: 550; }
.more-games-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px 15px; }
.more-games-head h2 { font-size: 1.14rem; }
.more-games-grid { padding: 0 12px 14px; }
.game-bottom-nav { display: flex; justify-content: center; margin-top: 20px; }
.game-back-home { min-height: 46px; }
.related-games { margin-top: 26px; }
.related-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related-games-grid .game-card { min-height: 100%; border-radius: 10px; }
.related-games-grid .game-card img { aspect-ratio: 16 / 9; }
.game-player { width: min(100%, 1280px); margin-inline: auto; border: 1px solid var(--border); border-radius: 13px; background: #171022; overflow: hidden; }
.game-player-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: #291943; }
.game-player-head h1 { font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.2; }
.game-player-head p { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.game-player-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.game-player-back, .game-fullscreen { flex: none; min-height: 42px; }
.game-fullscreen { border-color: #ffe77b; background: #ffc32f; color: #352100; }
.game-fullscreen:hover, .game-fullscreen:focus-visible { color: #352100; background: #ffe972; }
.game-frame-wrap { width: 100%; background: #0b0712; aspect-ratio: 16 / 9; min-height: min(72vh, 720px); }
.game-frame { display: block; width: 100%; height: 100%; border: 0; background: #0b0712; }
.game-player-footer { background: #291943; font-size: .86rem; }
.game-player-menu-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 39px; border: 0; border-top: 1px solid rgba(255,255,255,.12); background: #21143f; color: var(--muted); cursor: pointer; font: inherit; }
.game-player-menu-toggle:hover, .game-player-menu-toggle:focus-visible { color: #fff; background: #311b57; }
.game-player-bottom-panel { padding: 13px 20px; }
.game-player-links { display: grid; justify-items: end; gap: 8px; }
.game-player-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: .18em; }
.game-player-footer a:hover { color: #fff; }
.game-player:fullscreen { width: 100vw; height: 100vh; max-width: none; border: 0; border-radius: 0; display: flex; flex-direction: column; background: #0b0712; }
.game-player:fullscreen .game-player-head, .game-player:fullscreen .game-player-footer { flex: none; }
.game-player:fullscreen .game-frame-wrap { flex: 1; min-height: 0; aspect-ratio: auto; }
.game-player:fullscreen .game-frame { min-height: 0; }
.site-footer { grid-area: footer; padding: 58px 0 28px; color: rgba(255,255,255,.86); background: var(--magenta); font-size: .9rem; }
.footer-inner { display: grid; justify-items: center; text-align: center; }
.footer-brand { display: block; width: min(215px, 100%); margin-bottom: 10px; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-tagline { margin: 0; color: #fff; line-height: 1.55; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); width: min(100%, 650px); gap: 0; margin: 34px auto 30px; border-block: 1px solid rgba(255,255,255,.22); }
.footer-columns nav { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 22px 24px; }
.footer-columns nav + nav { border-inline-start: 1px solid rgba(255,255,255,.22); }
.footer-columns h2 { margin: 0 0 3px; color: #fff; font-size: .95rem; }
.footer-columns a { color: rgba(255,255,255,.78); line-height: 1.45; }
.footer-columns a:hover, .footer-columns a:focus-visible, .footer-copyright a:hover { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
.footer-copyright { width: min(100%, 650px); margin: 0; color: rgba(255,255,255,.64); font-size: .82rem; }
.footer-copyright a { color: #fff; }

@media (max-width: 1360px) { .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1170px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  :root { --sidebar-width: 180px; --page-gutter: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { width: 100%; }
  .logo { font-size: 1rem; gap: 3px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { grid-template: "sidebar" auto "main" 1fr "footer" auto / minmax(0, 1fr); }
  .site-header { border-right: 0; border-bottom: 1px solid var(--border); }
  .header-inner { position: static; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; max-height: none; overflow: visible; padding: 9px 13px; }
  .logo { flex: 0 1 190px; min-width: 0; padding: 4px 0; }
  .menu-toggle { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--paper); color: var(--text); cursor: pointer; font-size: .84rem; font-weight: 650; }
  .menu-button span { font-size: 1.1rem; line-height: 1; }
  .menu-toggle:focus-visible + .menu-button { outline: 2px solid #f5d7ff; outline-offset: 3px; }
  .menu-toggle:checked + .menu-button { background: var(--magenta); }
  .site-nav-panel { display: none; flex: 0 0 100%; padding: 10px 0 8px; }
  .menu-toggle:checked ~ .site-nav-panel { display: block; }
  .cat-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; overflow: visible; }
  .cat-nav a { min-height: 42px; padding: 9px; white-space: normal; }
  .popular-games { margin: 10px 0 0; padding-top: 10px; }
  .popular-games summary { font-size: .84rem; }
  .popular-games nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 3px; padding: 3px 0; }
  .popular-games a { min-height: 40px; padding: 8px 9px; font-size: .8rem; white-space: normal; }
  main.wrap { padding-top: 14px; }
  .toolbar { margin-bottom: 12px; }
  .search-form { width: 100%; }
}
@media (max-width: 520px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-card h3 { font-size: .79rem; }
  .game-card-body { padding: 6px; }
}

.pagination, .pagination form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.pagination { margin-top: 24px; }
.pagination a, .pagination button { display: inline-flex; min-height: 42px; min-width: 42px; align-items: center; justify-content: center; padding: 5px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--paper); color: var(--text); }
.pagination button { cursor: pointer; }
.pagination a:hover, .pagination button:hover { border-color: var(--magenta); background: var(--magenta); color: white; }
.pagination [aria-current="page"], .pagination [aria-current="page"]:hover { background: var(--accent); color: var(--ink); }
.pagination span { padding-inline: 5px; color: var(--muted); }

.info-page { width: min(100%, 850px); }
.info-page h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.05em; }
.info-page h2 { margin-top: 22px; font-size: 1.2rem; }
.info-page p, .info-page li { margin-top: 9px; color: var(--muted); line-height: 1.65; }
.info-page ul { padding-left: 24px; }
.info-page a { color: var(--text); text-decoration: underline; text-underline-offset: .16em; overflow-wrap: anywhere; }
.cookie-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }
.cookie-choices .btn { min-height: 44px; }

.cookie-banner {
  position: fixed;
  z-index: 20;
  inset-inline-end: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 24px));
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 5px 24px #0006;
}
.cookie-banner h2 { font-size: 1rem; }
.cookie-banner p { margin-block: 3px 9px; color: var(--muted); font-size: .85rem; }
.cookie-banner form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cookie-banner .btn, .cookie-banner form a { min-height: 40px; padding: 7px 10px; font-size: .8rem; }
.cookie-banner .cookie-banner-off { border: 1px solid var(--border); color: var(--text); background: transparent; }
.cookie-banner form a { display: inline-flex; align-items: center; text-decoration: underline; }

.new-games-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin-block: 0 18px; }
.new-games-filters label { display: grid; gap: 4px; color: var(--text); font-size: .85rem; }
.new-games-filters input, .new-games-filters select { min-height: 42px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 5px; background: var(--paper); color: var(--text); font: inherit; }
.new-games-filters .btn { min-height: 42px; }
.new-games-filters a { align-self: center; text-decoration: underline; }

@media (max-width: 760px) {
  main.wrap {
    --section-gap: 12px;
    --content-gap: 8px;
    row-gap: var(--section-gap);
    padding-block: var(--section-gap);
  }

  main.wrap > :is(.toolbar, .home-intro, .section-head, .new-games-filters, .pagination,
    .home-guide, .breadcrumb, .game-ad-top, .game-page-head, .game-preview, .notice) {
    margin-block: 0;
  }

  .header-inner { padding-block: 6px; }
  .home-intro { padding-block: var(--section-gap); }
  .hero { padding-block: 0; }
  .home-intro p, .hero p, .game-info p { margin-top: var(--content-gap); }

  #catalog-results .section-head { margin: 0 0 var(--content-gap); }
  #catalog-results .pagination { margin-top: var(--section-gap); }
  #catalog-results .notice { margin-block: 0; }
  .plain-gallery .gallery-band { gap: 10px; padding: 10px; }

  .home-guide :is(section + section, p + h2, ul + h2),
  .info-page h2, .game-info p + h2 { margin-top: var(--section-gap); }
  .home-guide h3, .info-page p, .info-page li { margin-top: var(--content-gap); }
  .home-guide ul { margin-block: var(--content-gap) 0; padding-inline-start: 20px; }
  .cookie-choices { margin-block: var(--section-gap); }
  .game-preview { gap: var(--section-gap); }
  .game-preview .btn { min-width: 0; overflow-wrap: anywhere; }
  .game-preview, .notice { padding: var(--section-gap); }

  .new-games-filters { gap: var(--content-gap); }
  .new-games-filters label { flex: 1 1 130px; min-width: 0; }
  .new-games-filters :is(input, select) { width: 100%; min-width: 0; }

  .site-footer { padding: 28px 0 20px; }
  .footer-inner { justify-items: start; text-align: left; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 24px 0; }
  .footer-columns nav { justify-items: start; gap: 6px; padding: 18px 12px; }
  .footer-columns nav:first-child { padding-inline-start: 0; }
  .footer-columns nav:last-child { grid-column: 1 / -1; padding-inline: 0; border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .footer-copyright { width: 100%; font-size: .76rem; }
  .game-preview { flex-direction: column; align-items: stretch; }
  .game-preview img { width: 100%; }
  .game-preview-copy { justify-items: stretch; }
  .btn-play-3d { width: 100%; }
  .game-player { border-radius: 9px; }
  .game-player-head { align-items: flex-start; flex-direction: column; padding: 13px; }
  .game-player-actions { width: 100%; justify-content: stretch; }
  .game-player-back, .game-fullscreen { flex: 1 1 150px; }
  .game-frame-wrap { min-height: 62vh; aspect-ratio: auto; }
  .game-player:fullscreen .game-frame-wrap { flex: 1; min-height: 0; }
  .game-player-bottom-panel { grid-template-columns: 1fr; padding: 12px 13px; font-size: .8rem; }
  .game-player-links { justify-items: start; grid-template-columns: 1fr 1fr; gap: 12px; }
  .more-games > summary { padding: 13px; }
  .more-games-head { align-items: flex-start; flex-direction: column; padding: 0 13px 12px; }
  .more-games-grid { padding: 0 8px 10px; }
  .related-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (max-width: 520px) {
  .plain-gallery .gallery-bands { gap: 10px; padding: 10px; }
}
