﻿:root {
  --color-page: #f4f4f4;
  --color-surface: #ffffff;
  --color-text: #222222;
  --color-muted: #606060;
  --color-soft: #858585;
  --color-line: #dadada;
  --color-brand: #ff2449;
  --color-brand-dark: #da2c49;
  --color-panel: rgba(255, 255, 255, 0.9);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.08);
  --font-base: "Lato", "Noto Sans SC", Arial, sans-serif;
  --sidebar-width: 260px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --space-section: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-brand);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--color-text);
  color: var(--color-surface);
  padding: 8px 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-sidebar {
  display: none;
}

.desktop-header {
  display: none;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 50px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 8px 10px;
}

.mobile-header__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 900;
}

.mobile-header__brand img {
  width: 30px;
  height: 28px;
}

.mobile-header__menu,
.app-banner__close {
  margin-left: auto;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 6px 9px;
  font: inherit;
  cursor: pointer;
}

.mobile-header__nav {
  display: none;
  flex: 1 0 100%;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 2px;
  white-space: nowrap;
  font-weight: 700;
}

.mobile-header__nav.is-open {
  display: flex;
}

.page-shell {
  padding: 0 10px 32px;
}

.app-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  border: 1px solid var(--color-line);
  border-top: 0;
  background: var(--color-surface);
  padding: 14px 16px;
}

.app-banner[hidden] {
  display: none;
}

.app-banner p {
  margin: 0;
  color: var(--color-muted);
}

.app-banner__button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1;
}

.app-banner__button {
  flex: 0 0 auto;
  background: var(--color-brand);
  color: var(--color-surface);
  padding: 9px 12px;
}

.app-banner__button:hover,
.button--primary:hover {
  background: var(--color-brand-dark);
  color: var(--color-surface);
}

.hero-promo {
  position: relative;
  min-height: 296px;
  margin: 20px 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: var(--color-surface);
}

.hero-promo__image {
  width: 100%;
  height: 100%;
  min-height: 296px;
  object-fit: cover;
}

.hero-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08));
}

.hero-promo__content {
  position: absolute;
  inset: auto 18px 24px 18px;
  z-index: 1;
  max-width: 520px;
}

.hero-promo h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 7vw, 54px);
  line-height: 1;
  font-weight: 900;
}

.hero-promo p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.button--primary {
  background: var(--color-brand);
  color: var(--color-surface);
  padding: 12px 20px;
  font-size: 16px;
}

.bundle-strip,
.blog-strip,
.game-section,
.jam-section {
  margin: 40px 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 8px;
}

.section-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.section-heading a {
  color: var(--color-brand);
  font-weight: 700;
  white-space: nowrap;
}

.bundle-card {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 18px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 12px;
}

.bundle-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-card);
}

.bundle-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.bundle-card__thumbs img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.bundle-card h3,
.blog-card h3,
.game-card h3,
.jam-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.bundle-card p,
.bundle-card span,
.game-card p,
.blog-card p,
.jam-card p {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.bundle-card strong {
  display: block;
  margin-top: 12px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.blog-card {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 10px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 10px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 10px;
}

.game-card {
  min-width: 0;
}

.game-card img,
.game-card__placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--color-line);
  background: linear-gradient(135deg, #e8e8e8, #cfcfcf);
  object-fit: cover;
  transition: transform 160ms ease, border-color 160ms ease;
}

.game-card:hover img,
.game-card:hover .game-card__placeholder {
  transform: translateY(-2px);
  border-color: var(--color-brand);
}

.game-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-soft);
  font-weight: 900;
}

.game-card__meta {
  margin-top: 7px;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 900;
}

.game-card h3 {
  margin-top: 2px;
}

.game-card p {
  font-size: 13px;
}

.jam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.jam-card {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 14px;
}

.jam-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.jam-card strong {
  display: block;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-muted);
  padding: 24px 10px 36px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.directory-page {
  padding-top: 70px;
}

.directory-hero {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 24px;
  margin-bottom: 24px;
}

.directory-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.directory-hero p {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 16px;
}

.directory-layout {
  display: grid;
  gap: 18px;
}

.filter-panel,
.content-panel {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 16px;
}

.filter-panel h2,
.content-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.filter-panel h3 {
  margin: 18px 0 8px;
  color: var(--color-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-panel a {
  display: block;
  padding: 4px 0;
  color: var(--color-muted);
}

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tabs-row a {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 7px 10px;
  font-weight: 700;
}

.tabs-row a:first-child {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-surface);
}

.list-stack {
  display: grid;
  gap: 12px;
}

.list-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 12px;
}

.game-card,
.browse-game-card,
.jam-card,
.jam-list-card,
.devlog-card,
.blog-card {
  cursor: pointer;
}

.list-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--color-line);
}

.list-card h2,
.list-card h3 {
  margin: 0;
  font-size: 18px;
}

.list-card p {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.list-card__meta {
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature-card {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 18px;
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
}

.community-table {
  display: grid;
  gap: 10px;
}

.community-row {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--color-line);
  padding: 12px 0;
}

.community-row h2 {
  margin: 0;
  font-size: 18px;
}

.community-row p {
  margin: 0;
  color: var(--color-muted);
}

.community-row strong {
  color: var(--color-brand);
}

.community-page {
  max-width: 1124px;
  margin-right: auto;
  margin-left: auto;
}

.detail-page {
  max-width: 1124px;
  margin-right: auto;
  margin-left: auto;
  padding: 70px 10px 40px;
}

.detail-loading,
.detail-empty {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 28px;
}

.detail-hero {
  display: grid;
  gap: 20px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 20px;
}

.detail-hero__media {
  border: 1px solid var(--color-line);
  background: var(--color-page);
}

.detail-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.1;
}

.detail-hero__project,
.detail-hero__description {
  margin: 0 0 12px;
  color: var(--color-muted);
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.detail-hero__meta span {
  border: 1px solid rgba(255, 36, 73, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 36, 73, 0.08);
  color: var(--color-brand);
  padding: 5px 8px;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-page);
  padding: 0 14px;
  font-weight: 900;
}

.detail-actions a:first-child {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-surface);
}

.detail-body {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.detail-panel {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 20px;
}

.detail-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.detail-panel p {
  margin: 0 0 10px;
  color: var(--color-muted);
}

.detail-facts {
  display: grid;
  gap: 12px;
}

.detail-fact {
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
}

.detail-fact span {
  display: block;
  color: var(--color-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-fact strong {
  display: block;
  margin-top: 3px;
}

.games-page {
  max-width: 1124px;
  margin-right: auto;
  margin-left: auto;
  padding: 50px 0 50px;
}

.games-filter-column .browse-group:first-child {
  margin-bottom: 14px;
}

.games-filter-column .browse-group:first-child h2 {
  color: var(--color-text);
  font-size: 16px;
  text-transform: none;
}

.games-browse-header {
  min-height: 227px;
  background: var(--color-page);
  padding: 28px 20px 18px;
}

.games-browse-header__filter {
  display: none;
}

.games-browse-header h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.games-browse-header h1 span {
  color: var(--color-muted);
  font-weight: 700;
}

.games-type-tabs,
.games-sort-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.games-type-tabs {
  margin-bottom: 18px;
}

.games-type-tabs a,
.games-sort-row a {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 6px 9px;
  color: var(--color-muted);
  font-weight: 700;
}

.games-type-tabs a.is-active,
.games-sort-row a.is-active {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-surface);
}

.games-sort-row span {
  margin-right: 8px;
  color: var(--color-muted);
}

.games-sort-row strong {
  margin-right: 2px;
}

.games-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 10px;
  padding: 0 10px;
}

.browse-game-card {
  position: relative;
  min-width: 0;
}

.browse-game-card img {
  width: 100%;
  aspect-ratio: 315 / 250;
  border: 1px solid var(--color-line);
  object-fit: cover;
}

.browse-game-card button {
  margin: 8px 0 5px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-muted);
  padding: 4px 7px;
  font: inherit;
  font-size: 12px;
}

.browse-game-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.2;
}

.browse-game-card p {
  margin: 3px 0;
  color: var(--color-muted);
}

.browse-game-card strong,
.browse-game-card__price {
  color: var(--color-brand);
  font-size: 13px;
}

.browse-game-card__price span {
  margin-left: 3px;
  color: var(--color-brand);
}

.jams-page {
  padding-top: 50px;
  background: var(--color-page);
}

.jams-hero {
  height: 148px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.jams-hero__inner {
  max-width: 960px;
  padding: 16px 40px 0;
}

.jams-hero h1 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

.jams-hero p {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--color-muted);
}

.jams-hero .button {
  padding: 8px 13px;
  font-size: 14px;
}

.jams-featured {
  height: 327px;
  overflow: hidden;
  background: var(--color-page);
}

.jams-featured h2,
.jams-calendar h2 {
  display: flex;
  align-items: center;
  height: 42px;
  margin: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding: 0 40px;
  font-size: 18px;
  font-weight: 900;
}

.jams-featured__rail {
  display: flex;
  gap: 137px;
  min-width: max-content;
  padding: 11px 0 0 146px;
}

.jams-featured-card {
  width: 210px;
  min-height: 230px;
  background: var(--color-page);
}

.jams-featured-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.jams-featured-card p,
.jams-featured-card span,
.jams-featured-card strong,
.jams-featured-card em {
  display: block;
  margin: 7px 0 0;
  color: var(--color-muted);
  font-style: normal;
}

.jams-featured-card strong {
  color: var(--color-text);
}

.jams-featured-card em {
  color: var(--color-brand);
  font-weight: 900;
}

.jams-featured-card b {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 3px 6px;
  color: var(--color-muted);
  font-size: 12px;
}

.jams-browse {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 55px;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 0 40px;
}

.jams-browse h2 {
  margin: 0;
  font-size: 18px;
}

.jams-browse nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.jams-calendar {
  background: var(--color-page);
}

.jams-calendar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 45px;
  padding: 10px 40px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.jams-calendar__filters span {
  color: var(--color-soft);
  font-weight: 900;
}

.jams-calendar__filters a {
  color: var(--color-muted);
}

.jams-calendar__grid {
  min-height: 520px;
  overflow: hidden;
  padding: 84px 22px 40px;
  background:
    linear-gradient(var(--color-line) 1px, transparent 1px) 0 0 / 100% 33px,
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px) 0 0 / 280px 100%;
}

.jams-calendar__row {
  display: flex;
  gap: 28px;
  height: 33px;
  margin-bottom: 0;
  white-space: nowrap;
}

.jams-calendar__row span {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  height: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 36, 73, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 36, 73, 0.08);
  color: var(--color-brand);
  padding: 0 8px;
  font-size: 13px;
  text-overflow: ellipsis;
}

.jams-empty {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 24px 40px 36px;
}

.jams-empty h2 {
  margin: 0 0 8px;
}

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

.jams-card-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.jams-card-filter {
  display: none;
}

.jams-card-content {
  padding: 70px 10px 40px;
}

.jams-card-header {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 20px;
  margin-bottom: 20px;
}

.jams-card-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.jams-card-header p {
  margin: 0 0 14px;
  color: var(--color-muted);
}

.jams-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.jam-list-card {
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.jam-list-card__art {
  display: block;
  aspect-ratio: 350 / 196;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-page);
  overflow: hidden;
}

.jam-list-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jam-list-card h2 {
  margin: 14px 16px 8px;
  font-size: 19px;
  line-height: 1.25;
}

.jam-list-card p {
  margin: 0 16px 12px;
  color: var(--color-muted);
}

.jam-list-card strong,
.jam-list-card em,
.jam-list-card b {
  display: block;
  margin: 0 16px 8px;
  font-style: normal;
}

.jam-list-card strong {
  color: var(--color-brand);
}

.jam-list-card em {
  color: var(--color-muted);
}

.jam-list-card b {
  display: inline-block;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-page);
  padding: 3px 6px;
  color: var(--color-muted);
  font-size: 12px;
}

.developers-page {
  padding-top: 50px;
  background: var(--color-page);
}

.developers-hero {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 1;
  min-height: 365px;
  text-align: center;
  padding: 33px 20px 0;
  color: var(--color-surface);
}

.developers-hero h1 {
  width: min(800px, 100%);
  min-height: 114px;
  margin: 0 auto 18px;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.developers-hero p {
  max-width: 760px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.developers-hero__actions,
.developers-hero__auth,
.developers-learn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.developers-hero__actions {
  margin-top: 18px;
}

.developers-hero__actions > a:not(.button),
.developers-hero__auth a,
.developers-learn a {
  color: var(--color-brand);
  font-weight: 700;
}

.developers-hero__auth {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.developers-photo-header {
  height: 505px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18)),
    url("../images/developers-controller.jpg") 50% 60% / cover no-repeat;
}

.developers-learn {
  width: 962px;
  max-width: calc(100% - 40px);
  margin: 20px auto 0;
  justify-content: flex-start;
  border-top: 1px solid var(--color-line);
  padding: 20px 0 14px;
}

.developers-learn span {
  color: var(--color-muted);
}

.developers-features {
  width: 962px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.developers-feature {
  display: grid;
  grid-template-columns: 452px 398px;
  justify-content: center;
  column-gap: 40px;
  align-items: center;
  min-height: 333px;
}

.developers-feature .developers-feature__art {
  order: 2;
}

.developers-feature .developers-feature__copy {
  order: 1;
}

.developers-feature--right .developers-feature__art {
  order: 1;
}

.developers-feature--right .developers-feature__copy {
  order: 2;
}

.developers-feature__art {
  display: block;
  width: 452px;
  height: 252px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.developers-feature__copy h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

.developers-feature__copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.devlogs-filter-column {
  padding-top: 0 !important;
}

.devlogs-filter-title {
  display: flex;
  align-items: center;
  height: 38px;
  margin: 0 0 10px !important;
  border-bottom: 1px solid var(--color-line);
}

.devlogs-filter-title h2 {
  color: var(--color-text) !important;
  font-size: 16px !important;
  text-transform: none !important;
}

.devlogs-page {
  max-width: 1124px;
  margin-right: auto;
  margin-left: auto;
  padding: 50px 20px 50px;
}

.devlogs-header {
  min-height: 133px;
  padding-top: 20px;
}

.devlogs-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 32px;
  font-weight: 900;
}

.devlogs-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.devlogs-sort span {
  color: var(--color-muted);
  font-weight: 700;
}

.devlogs-sort a {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 6px 9px;
  color: var(--color-muted);
  font-weight: 700;
}

.devlogs-sort a.is-active {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: var(--color-surface);
}

.devlogs-grid {
  column-count: 1;
  column-gap: 10px;
}

.devlog-card {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 38px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: 0 0 16px;
  vertical-align: top;
}

.devlog-card img {
  width: 100%;
  aspect-ratio: 350 / 196;
  border-bottom: 1px solid var(--color-line);
  object-fit: cover;
}

.devlog-card h2 {
  margin: 14px 56px 8px 16px;
  font-size: 19px;
  line-height: 1.25;
}

.devlog-card__count {
  position: absolute;
  top: 211px;
  right: 16px;
  color: var(--color-brand);
  font-weight: 900;
}

.devlog-card h3 {
  margin: 0 16px 8px;
  color: var(--color-muted);
  font-size: 15px;
}

.devlog-card b {
  display: inline-block;
  margin: 0 16px 8px;
  color: var(--color-brand);
}

.devlog-card p {
  margin: 0 16px;
  color: var(--color-muted);
}

.devlog-card em {
  display: block;
  margin: 12px 16px 0;
  color: var(--color-muted);
  font-style: normal;
  font-weight: 700;
}

@media (min-width: 700px) {
  .blog-grid,
  .jam-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .list-card {
    grid-template-columns: 210px 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .devlogs-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .jams-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 980px) {
  .mobile-header {
    display: none;
  }

  .desktop-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: flex;
    align-items: center;
    height: 50px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 0 20px 0 22px;
  }

  .desktop-header__logo {
    flex: 0 0 auto;
    width: 136px;
  }

  .desktop-header__logo strong {
    display: inline-flex;
    align-items: center;
    height: 50px;
    color: var(--color-brand);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
  }

  .desktop-header__logo img {
    width: 136px;
    height: auto;
  }

  .desktop-header__nav {
    display: flex;
    align-items: center;
    height: 50px;
    margin-left: 10px;
    white-space: nowrap;
    font-size: 16px;
  }

  .desktop-header__nav a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 12px;
    font-weight: 700;
  }

  .desktop-header__search {
    display: flex;
    align-items: center;
    flex: 1 1 280px;
    max-width: 430px;
    height: 30px;
    margin: 0 10px 0 20px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: var(--color-page);
  }

  .desktop-header__search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 10px;
    color: var(--color-text);
    font: inherit;
    outline: 0;
  }

  .desktop-header__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    border: 0;
    border-left: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
  }

  .desktop-header__search svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
  }

  .desktop-header__auth {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
  }

  .desktop-header__auth a {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-weight: 700;
  }

  .desktop-header__register {
    background: var(--color-brand);
    color: var(--color-surface);
    border-color: var(--color-brand) !important;
  }

  .site-sidebar {
    position: fixed;
    inset: 50px auto 0 0;
    z-index: 10;
    display: block;
    width: var(--sidebar-width);
    overflow-y: auto;
    border-right: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 22px 20px 28px;
  }

  .browse-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 0 0 24px;
  }

  .browse-group h2 {
    margin: 0 0 3px;
    color: var(--color-soft);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .browse-group a {
    color: var(--color-muted);
  }

  .browse-group a:hover {
    color: var(--color-brand);
  }

  .browse-group__more,
  .browse-group--updates span {
    color: var(--color-brand);
    font-weight: 700;
  }

  .browse-group--updates a {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 6px;
    font-size: 13px;
  }

  .site-sidebar__app {
    display: inline-flex;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 8px 11px;
    font-weight: 900;
  }

  .page-shell,
  .site-footer {
    margin-left: var(--sidebar-width);
  }

  .page-shell {
    padding: 99px 0 50px;
  }

  .page-shell.games-page {
    margin-right: auto;
    margin-left: auto;
    padding: 50px 0 50px;
  }

  .page-shell.devlogs-page {
    margin-right: auto;
    margin-left: auto;
    padding: 50px 20px 50px;
  }

  .page-shell.community-page {
    margin-right: auto;
    margin-left: auto;
    padding: 99px 20px 50px;
  }

  .page-shell.detail-page {
    margin-right: auto;
    margin-left: auto;
    padding: 99px 20px 50px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 58%) minmax(300px, 1fr);
    align-items: start;
  }

  .detail-body {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .hero-promo {
    height: 375px;
    min-height: 375px;
    margin-top: 0;
    border-radius: 0;
  }

  .hero-promo__image {
    height: 100%;
    min-height: 375px;
  }

  .hero-promo__content {
    left: 34px;
    bottom: 38px;
  }

  .bundle-strip,
  .blog-strip,
  .game-section,
  .jam-section {
    margin: var(--space-section) 0;
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .game-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jam-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .directory-layout {
    grid-template-columns: 230px 1fr;
    align-items: start;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .games-card-grid {
    grid-template-columns: repeat(4, 273px);
    gap: 25px 10px;
    padding: 0 20px;
  }

  .browse-game-card {
    width: 273px;
  }

  .devlogs-grid {
    column-count: 3;
    column-gap: 10px;
  }

  .devlog-card {
    width: 368px;
  }

  .jams-card-page {
    display: block;
    margin-left: 0;
    padding: 50px 20px;
  }

  .jams-card-content {
    max-width: 1124px;
    margin: 0 auto;
    padding: 20px 0 40px;
  }

  .jams-card-grid {
    grid-template-columns: repeat(3, 368px);
    gap: 38px 10px;
  }

  .jam-list-card {
    width: 368px;
  }
}

@media (max-width: 520px) {
  .app-banner {
    align-items: flex-start;
  }

  .app-banner p {
    font-size: 13px;
  }

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

  .hero-promo__content {
    inset: auto 14px 18px 14px;
  }
}

