﻿:root {
  color-scheme: light;
  --container-max-width: 1200px;
  --section-padding-inline: clamp(1rem, 3vw, 2.5rem);
  --brand-width: clamp(140px, 16vw, 220px);
  --home-updates-date-width: clamp(6.5rem, 8vw, 8.5rem);
}

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

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #1f2933;
  background-color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover,
a:focus-visible {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.2s ease;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e6ebf2;
}

.site-header__inner {
  width: 100%;
  margin: 0;
  padding: 0.75rem var(--section-padding-inline);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 5rem);
}

.site-header__branding {
  margin-inline-end: auto;
  display: flex;
  align-items: center;
}

.site-header__branding picture,
.site-header__branding img {
  display: block;
  width: var(--brand-width);
  height: auto;
}

.site-nav {
  flex: none;
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav__item a {
  padding: 0.25rem 0;
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 6rem;
  color: inherit;
  transition: color 0.2s ease;
}

.site-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.site-nav__item a:hover::after,
.site-nav__item a:focus-visible::after {
  background: #2563eb;
}

.site-nav__item a:hover,
.site-nav__item a:focus-visible {
  color: #2563eb;
}

.site-header__search {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 320px;
  width: 100%;
}

.site-header__search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid #cbd2dd;
  border-radius: 999px;
  font-size: 0.9rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header__search-input:focus-visible {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.site-header__search-button {
  flex: none;
  padding: 0.45rem 0.85rem;
  border: none;
  border-radius: 999px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.site-header__search-button:hover,
.site-header__search-button:focus-visible {
  background-color: #1d4ed8;
}

.search-page {
  padding: clamp(2.5rem, 4vw, 3.75rem) var(--section-padding-inline) clamp(2.75rem, 5vw, 4rem);
}

.search-page__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-page__status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
}

.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
}

.search-results__item {
  padding: clamp(1.2rem, 2.5vw, 1.65rem) 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.search-results__item:hover .search-results__link,
.search-results__item:focus-within .search-results__link,
.search-results__item:hover .search-results__excerpt,
.search-results__item:focus-within .search-results__excerpt,
.search-results__item:hover .search-results__meta,
.search-results__item:focus-within .search-results__meta {
  color: #2563eb;
}

.search-results__link {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  font-weight: 600;
  color: #111827;
  transition: color 0.2s ease;
}

.search-results__link:hover,
.search-results__link:focus-visible {
  color: #2563eb;
}

.search-results__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.95rem;
  font-size: 0.82rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.search-results__meta time,
.search-results__meta span:not(.category-badge) {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.search-results__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.search-results__empty {
  padding: clamp(1.6rem, 3vw, 2rem) 0;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  padding: 0.12rem 0.45rem;
  border-radius: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  pointer-events: none;
  cursor: default;
}

.category-badge--blog {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.category-badge--announce {
  background: rgba(236, 72, 153, 0.15);
  color: #db2777;
}

.category-badge--game {
  background: rgba(168, 85, 247, 0.15);
  color: #9333ea;
}

.search-results__meta .category-badge {
  min-width: auto;
  padding-inline: 0.55rem;
  font-size: 0.6rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: #2563eb;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button-link:hover,
.button-link:focus-visible {
  text-decoration: none;
  background: #2563eb;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.button-link--secondary {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

.button-link--secondary:hover,
.button-link--secondary:focus-visible {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb !important;
}

main {
  width: 100%;
  margin: 0;
  padding: 2.5rem var(--section-padding-inline);
  flex: 1 0 auto;
}

.hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--section-padding-inline);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.08));
  border-radius: 16px;
}

.hero__inner {
  max-width: 640px;
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1.3;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: #374151;
}

.home-hero {
  padding: clamp(2.5rem, 6vw, 4rem) var(--section-padding-inline) 0;
}

.home-hero__inner {
  max-width: min(1100px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 116, 144, 0.12));
  border-radius: 24px;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.home-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 3vw, 24px);
  background-color: rgba(15, 23, 42, 0.06);
  aspect-ratio: 16 / 9;
}

.home-hero__image-link,
.home-hero__image-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero__image-link img {
  object-fit: cover;
}

.home-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.home-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  line-height: 1.2;
  color: #0f172a;
}

.home-hero__summary {
  margin: 0;
  font-size: 1.05rem;
  color: #1f2933;
}

.home-hero__meta {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #1f2933;
}

.home-hero__meta div {
  display: grid;
  gap: 0.25rem;
}

.home-hero__meta dt {
  font-weight: 600;
  color: #475569;
}

.home-hero__meta dd {
  margin: 0;
}

.home-hero__platforms {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-hero__platforms li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 600;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-updates {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  padding: 0 var(--section-padding-inline) clamp(2.75rem, 6vw, 3.75rem);
}

.home-updates__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
}

.home-updates__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.35rem, 3.5vw, 2rem);
}

.home-updates__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 700;
  color: #0f172a;
}

.home-updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
}

.home-updates__item {
  border-bottom: 1px solid #e2e8f0;
}

.home-updates__link {
  display: grid;
  grid-template-columns: var(--home-updates-date-width) minmax(6.5rem, auto) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.9rem;
  padding: clamp(0.95rem, 2.6vw, 1.4rem) 0;
  color: #1f2933;
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-updates__link:hover,
.home-updates__link:focus-visible {
  color: #2563eb;
  transform: translateX(3px);
}

.home-updates__date {
  grid-column: 1;
  display: inline-block;
  width: var(--home-updates-date-width);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-updates__date--placeholder {
  color: #cbd5f5;
}

.home-updates__type {
  grid-column: 2;
  min-width: 6.5rem;
  justify-self: flex-start;
}

.home-updates__summary {
  grid-column: 3;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2933;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.home-updates__date {
  transition: color 0.2s ease;
}

.home-updates__link:hover .home-updates__summary,
.home-updates__link:focus-visible .home-updates__summary,
.home-updates__link:hover .home-updates__date,
.home-updates__link:focus-visible .home-updates__date {
  color: #2563eb !important;
}

.home-updates__empty {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 16px;
  border: 1px dashed #cbd5f5;
  background: rgba(226, 232, 240, 0.35);
  color: #475569;
  text-align: center;
  font-size: 0.9rem;
}

.home-updates__cta {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  justify-content: center;
}

.home-updates__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.9rem;
  border-radius: 0;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 28px -24px rgba(29, 78, 216, 0.65);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-updates__button:hover,
.home-updates__button:focus-visible {
  color: #ffffff !important;
  background: #2563eb;
  box-shadow: 0 14px 28px -24px rgba(29, 78, 216, 0.65);
  transform: translateY(-1px);
}

.news-header {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--section-padding-inline) 1.5rem;
}

.news-header__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.news-header__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
}

.news-feed {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.news-feed__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
}

.news-feed__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
}

.news-feed__item {
  border-bottom: 1px solid #e2e8f0;
}

.news-feed__link {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 1.75rem);
  align-items: center;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-feed__link--no-thumb {
  grid-template-columns: minmax(0, 1fr);
}

.news-feed__link:hover,
.news-feed__link:focus-visible {
  color: #2563eb;
  transform: translateX(4px);
}

.news-feed__link:hover .news-feed__title,
.news-feed__link:focus-visible .news-feed__title,
.news-feed__link:hover .news-feed__summary,
.news-feed__link:focus-visible .news-feed__summary,
.news-feed__link:hover .news-feed__meta time,
.news-feed__link:focus-visible .news-feed__meta time,
.news-feed__link:hover .news-feed__date,
.news-feed__link:focus-visible .news-feed__date {
  color: #2563eb !important;
}

.news-feed__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 18px 36px -28px rgba(15, 23, 42, 0.45);
}

.news-feed__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feed__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.news-feed__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.news-feed__type {
  min-width: 6.5rem;
}

.news-feed__title {
  margin: 0;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  font-weight: 700;
  color: #111827;
  transition: color 0.2s ease;
}

.news-feed__summary {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  transition: color 0.2s ease;
}

.news-feed__meta time,
.news-feed__date {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #475569;
  transition: color 0.2s ease;
}

.news-feed__empty {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 16px;
  border: 1px dashed #cbd5f5;
  background: rgba(226, 232, 240, 0.35);
  color: #475569;
  text-align: center;
}

.games-header {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--section-padding-inline) 1.5rem;
}

.games-header__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.games-header__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
}

.games-list {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.games-list__grid {
  max-width: min(1440px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.game-card {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.25);
}

.game-card__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.game-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.game-card__title a:hover,
.game-card__title a:focus-visible {
  text-decoration: none;
  color: #2563eb;
}

.game-card__meta {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.game-card__meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.game-card__meta dd {
  margin: 0.2rem 0 0;
}

.game-card__roles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.game-card__roles li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.game-card__role-title {
  font-weight: 600;
  color: #1f2933;
}

.game-card__role-name {
  color: #4b5563;
}

.game-card__summary {
  margin: 0 0 1.25rem;
  color: #374151;
  line-height: 1.7;
}

.game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.game-detail {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.game-detail__header {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}

.game-detail__visual img {
  display: block;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.game-detail__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem);
}

.game-detail__meta {
  display: grid;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.game-detail__meta dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.game-detail__meta dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

.game-detail__roles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.game-detail__platforms {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-detail__platforms li {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1f2933;
  font-size: 0.85rem;
  font-weight: 600;
}

.game-detail__roles li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 1rem;
}

.game-detail__role-title {
  font-weight: 600;
  color: #1f2933;
}

.game-detail__role-name {
  color: #4b5563;
}

.game-detail__summary {
  margin: 0 0 1.5rem;
  color: #374151;
  line-height: 1.7;
  font-size: 1.05rem;
}

.game-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.game-detail__embed {
  margin: clamp(2rem, 4vw, 3rem) 0;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.85), rgba(255, 255, 255, 0.95));
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 60px -28px rgba(148, 163, 184, 0.45);
}

.game-embed {
  position: relative;
  width: 100%;
  max-width: min(96vw, 1920px);
  aspect-ratio: var(--embed-ratio, calc(16 / 9));
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 52px -24px rgba(148, 163, 184, 0.55);
}

.game-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

@media (max-width: 768px) {
  .game-embed {
    max-width: 100vw;
    width: 100%;
    aspect-ratio: var(--embed-ratio, calc(16 / 9));
    height: auto;
    max-height: 80vh;
  }
}

.posts-header {
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--section-padding-inline) 1.5rem;
}

.posts-header__inner {
  max-width: min(960px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.posts-header__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
}

.posts-list {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.posts-list__grid {
  max-width: min(1080px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  justify-content: flex-start;
}

.posts-empty {
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  max-width: min(720px, 90vw);
  border-radius: 16px;
  border: 1px dashed #cbd5f5;
  background: rgba(226, 232, 240, 0.35);
  color: #475569;
  text-align: center;
}

.post-card {
  flex: 0 1 320px;
  width: 320px;
  max-width: calc(100% - clamp(1.5rem, 3vw, 2.5rem));
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.25);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.post-card__category {
  margin: 0;
}

.post-card__title {
  margin: 0;
  font-size: 1.5rem;
}

.post-card__title a:hover,
.post-card__title a:focus-visible {
  text-decoration: none;
  color: #2563eb;
}

.post-card__meta {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-card__meta time {
  font-weight: 500;
}

.post-card__description {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.post-card > .button-link {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  justify-content: center;
}

.post {
  max-width: min(960px, 92vw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.post__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.post__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem);
}

.post__meta {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post__meta time {
  font-weight: 500;
}

.post__category {
  margin: 0;
}

.post__description {
  margin: 0;
  color: #4b5563;
}

.post__content {
  line-height: 1.8;
  color: #1f2933;
  font-size: 1.05rem;
}

.post__content h2,
.post__content h3,
.post__content h4 {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.post__content p {
  margin: 0 0 1.2rem;
}

.post__content ul,
.post__content ol {
  margin: 0 0 1.2rem 1.25rem;
  padding: 0;
}

.post__content code {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.95em;
}

.post__content pre {
  background: rgba(15, 23, 42, 0.08);
  padding: 1rem;
  border-radius: 12px;
  overflow-x: auto;
}

.post__content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #2563eb;
  background: rgba(37, 99, 235, 0.08);
  color: #1f2933;
  border-radius: 12px;
}

.post__content blockquote > :first-child {
  margin-top: 0;
}

.post__content blockquote > :last-child {
  margin-bottom: 0;
}

.post__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px -12px rgba(15, 23, 42, 0.25);
}

.post__content img,
.post__content video,
.post__content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.25rem 0;
  border-radius: 16px;
  box-shadow: 0 14px 36px -24px rgba(15, 23, 42, 0.35);
}

.post__content figure {
  margin: 1.5rem 0;
}

.post__content figure img {
  margin: 0;
  width: 100%;
}

.post__content th,
.post__content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  text-align: left;
  background: #ffffff;
}

.post__content thead th {
  background: #f1f5f9;
  font-weight: 600;
  color: #1f2933;
}

.post__cover {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.45);
}

.post__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.post__cover figcaption {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
  background: #ffffff;
}

.site-footer {
  border-top: 1px solid #e6ebf2;
  background-color: #f9fafc;
}

.site-footer__inner {
  width: 100%;
  margin: 0;
  padding: 1.5rem var(--section-padding-inline);
  font-size: 0.85rem;
  color: #5b6472;
  text-align: center;
}

@media (max-width: 900px) {
  :root {
    --brand-width: clamp(120px, 22vw, 180px);
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .home-hero__body {
    align-items: center;
  }

  .home-hero__meta {
    justify-items: center;
  }

  .home-hero__actions {
    justify-content: center;
  }

  .hero {
    padding: clamp(2rem, 5vw, 2.75rem) var(--section-padding-inline);
  }

  .home-updates__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .home-updates__cta {
    width: 100%;
    justify-content: center;
  }

  .home-updates__title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.8rem);
  }

  .home-updates__link {
    column-gap: 0.75rem;
  }

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

  .game-card__thumbnail img {
    height: auto;
  }

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

  .news-feed__link {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 1rem;
  }

  .news-feed__thumb {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding-inline: var(--section-padding-inline);
  }

  .home-hero__inner {
    padding: clamp(1.5rem, 6vw, 2rem);
  }

  .home-hero__media {
    aspect-ratio: 16 / 9;
  }

  .post-card {
    flex: 1 1 calc(50% - clamp(1.5rem, 3vw, 2.5rem));
    width: auto;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav__list {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .site-header__search {
    width: 100%;
    max-width: none;
    margin-inline-start: 0;
  }

  .site-header__search-button {
    padding-inline: 1.1rem;
  }

  main {
    width: 100%;
    padding-inline: var(--section-padding-inline);
  }

  .search-page {
    padding-block: 2.1rem 3rem;
  }

  .search-page__inner {
    gap: 1.5rem;
  }

  .search-results {
    gap: 1.05rem;
  }

  .search-results__item {
    padding: 1rem 0;
  }

  .home-updates__link {
    column-gap: 0.7rem;
    padding: 1rem 0;
    font-size: 0.85rem;
  }

  .home-updates__date {
    font-size: 0.75rem;
  }

  .home-updates__summary {
    font-size: 0.85rem;
  }

  .home-updates__cta {
    justify-content: center;
  }

  .news-feed__link {
    gap: 0.9rem;
    padding: 1.1rem 0;
  }

  .news-feed__thumb {
    border-radius: 14px;
  }

  .news-feed__title {
    font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  }
}

@media (max-width: 520px) {
  .post-card {
    flex: 1 1 100%;
    width: 100%;
  }

  :root {
    --brand-width: clamp(120px, 50vw, 160px);
    --home-updates-date-width: clamp(5.5rem, 26vw, 6.5rem);
  }

  .hero {
    padding: 2rem var(--section-padding-inline);
  }

  .home-updates {
    margin-top: clamp(2.1rem, 8vw, 2.8rem);
    padding: 0 var(--section-padding-inline) clamp(2.1rem, 8vw, 2.7rem);
  }

  .home-updates__link {
    column-gap: 0.55rem;
    padding: 0.85rem 0;
    font-size: 0.82rem;
  }

  .home-updates__date {
    font-size: 0.72rem;
  }

  .home-updates__summary {
    font-size: 0.82rem;
  }

  .news-header {
    padding: clamp(1.75rem, 6vw, 2.25rem) var(--section-padding-inline) 1rem;
  }

  .news-feed__link {
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .news-feed__thumb {
    max-width: 100%;
    aspect-ratio: 3 / 2;
  }

  .news-feed__meta {
    gap: 0.5rem 0.75rem;
  }

  .news-feed__type {
    padding: 0.24rem 0.7rem;
  }

  .games-header__title {
    font-size: clamp(1.8rem, 1.4rem + 2vw, 2.2rem);
  }

  .home-updates__button {
    width: 100%;
  }

  .game-card__title {
    font-size: 1.2rem;
  }

  .button-link {
    width: 100%;
    justify-content: center;
  }

  .game-detail__links {
    flex-direction: column;
    align-items: stretch;
  }
}
.posts-filter {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(107, 114, 128, 0.25);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.posts-filter__label {
  font-weight: 700;
}

.posts-filter__list {
  display: flex;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.posts-filter__item {
  display: inline;
}

.posts-filter__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-weight: 600;
}

.posts-filter__link:hover,
.posts-filter__link:focus-visible {
  color: var(--accent-color, #0078d4);
}

.posts-filter__link.is-active {
  border-color: var(--accent-color, #0078d4);
  border-bottom-width: 3px;
  font-weight: 700;
  color: var(--accent-color, #0078d4);
}

.posts-filter__link[aria-current="page"] {
  border-color: var(--accent-color, #0078d4);
  border-bottom-width: 3px;
  color: var(--accent-color, #0078d4);
}
