:root {
  color-scheme: light;
  --home-bg: #ffffff;
  --home-surface: #ffffff;
  --home-surface-soft: #f2f4f7;
  --home-border: var(--fdc-border-panel, var(--fdc-color-border, #d6e3f2));
  --home-border-strong: var(--fdc-border-panel-strong, var(--fdc-color-border-strong, #c3d4e8));
  --home-text: #131722;
  --home-text-sub: #667085;
  --home-text-soft: #8b97a8;
  --home-primary: var(--fdc-shell-primary, var(--fdc-color-accent, #2563eb));
  --home-primary-strong: #0d4fb3;
  --home-primary-soft: rgba(37, 99, 235, 0.1);
  --home-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  --home-hero-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
  --home-header-offset: var(--fdc-header-offset, 56px);
  --home-font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --home-bg: #0b1220;
  --home-surface: #131c2c;
  --home-surface-soft: #182235;
  --home-border: var(--fdc-border-panel, var(--fdc-color-border, #3b4d68));
  --home-border-strong: var(--fdc-border-panel-strong, var(--fdc-color-border-strong, #4b6282));
  --home-text: #eef2f7;
  --home-text-sub: #b6c2d1;
  --home-text-soft: #8c9aae;
  --home-primary: var(--fdc-color-accent-strong, #2563eb);
  --home-primary-strong: #bfdbfe;
  --home-primary-soft: rgba(37, 99, 235, 0.2);
  --home-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  --home-hero-shadow: 0 32px 72px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--home-header-offset);
  font-family: var(--home-font-family);
  background: var(--home-bg);
  color: var(--home-text);
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.home-container .fdc-content-chip,
.home-container .fdc-status-card,
.home-hero-title,
.home-search-input,
.home-search-submit,
.home-search-load-more,
.btn-action,
.home-search-tab,
.home-filter-trigger,
.section-title,
.section-title-link,
.section-link,
.home-game-square-label,
.calendar-game,
.calendar-date,
.calendar-date-sub,
.calendar-title,
.calendar-location,
.news-game,
.news-chip,
.community-item-chip,
.news-copy strong,
.news-footer,
.news-footer-stat,
.posts-post-title,
.posts-post-meta-row,
.posts-post-author,
.posts-post-stat,
.community-trade-title,
.community-trade-price,
.community-trade-meta,
.community-trade-stat,
.home-map-card-title,
.home-map-card-copy {
  font-family: var(--home-font-family);
}

.calendar-date,
.calendar-date-sub,
.news-footer,
.news-footer-stat,
.posts-post-meta-row,
.posts-post-stat,
.community-trade-price,
.community-trade-meta,
.community-trade-stat,
.home-meta-date {
  font-variant-numeric: tabular-nums;
}

.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;
}

.home-container {
  --fdc-news-card-border: var(--home-border);
  --fdc-news-card-border-strong: var(--home-border-strong);
  --fdc-news-card-surface: var(--home-surface);
  --fdc-news-card-surface-soft: var(--home-surface-soft);
  --fdc-news-card-text: var(--home-text);
  --fdc-news-card-sub: var(--home-text-sub);
  --fdc-news-card-muted: var(--home-text-soft);
  --fdc-news-card-shadow: var(--home-shadow);
  --fdc-news-card-title-size: 1.05rem;
  --fdc-news-card-thumb-ratio: 16 / 9.2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px) clamp(40px, 4vw, 56px);
  flex: 1 0 auto;
}

.home-hero {
  position: relative;
  overflow: visible;
  margin-bottom: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #bfd9fc 0%, #8ab8f8 100%);
  box-shadow: var(--home-hero-shadow);
  z-index: 3;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.46), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(92, 146, 222, 0.08));
}

.home-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 52px 24px 56px;
  text-align: center;
}

.home-hero-title {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.home-hero-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.08em 0.16em;
  margin-left: 0.14em;
  vertical-align: middle;
}

.home-hero-brand-logo {
  display: block;
  width: clamp(188px, 25vw, 308px);
  height: auto;
  object-fit: contain;
}

.home-hero-search {
  width: 100%;
  max-width: 720px;
}

.home-search-shell {
  position: relative;
}

.home-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--home-border-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.home-search-input-wrap {
  position: relative;
}

.home-search-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.74);
  font-size: 24px;
  pointer-events: none;
}

.home-search-input {
  width: 100%;
  min-height: 52px;
  padding: 0 20px 0 56px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.home-search-input::placeholder {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.home-search-input:focus,
.home-search-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.home-search-submit,
.home-search-load-more,
.btn-action {
  min-height: 52px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: var(--home-primary);
  color: #ffffff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.home-search-submit {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
}

.home-search-submit:disabled,
.home-search-load-more:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.home-search-popover {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--home-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.home-hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.home-hero-link {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.home-search-shell.is-results-open .home-search-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

:root[data-theme='dark'] .home-search-form {
  border-color: rgba(96, 165, 250, 0.26);
  background: rgba(15, 23, 42, 0.68);
}

:root[data-theme='dark'] .home-search-input-icon {
  color: #cbd5e1;
}

:root[data-theme='dark'] .home-search-input::placeholder {
  color: rgba(203, 213, 225, 0.78);
}

:root[data-theme='dark'] .home-search-popover {
  background: rgba(15, 23, 42, 0.98);
}

:root[data-theme='dark'] .home-hero-link {
  border-color: rgba(96, 165, 250, 0.24);
  background: rgba(15, 23, 42, 0.48);
  color: #f8fafc;
}

:root[data-theme='dark'] .community-trade-price {
  color: #93c5fd;
}

.home-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.home-search-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--home-border);
}

.home-search-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.home-search-tab {
  min-height: 30px;
  padding: 0 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--home-text-sub);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.home-search-tab.is-active {
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.home-filter-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.home-filter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 68px;
  max-width: 108px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  color: var(--home-text);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.home-filter-trigger-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-filter-trigger:disabled {
  opacity: 0.58;
  cursor: default;
}

.home-filter-trigger-caret {
  font-size: 16px;
  color: var(--home-text-soft);
}

.home-search-toolbar .home-filter-panel {
  left: auto;
  right: 0;
}

.home-filter-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 12;
  display: none;
  width: min(188px, calc(100vw - 32px));
  min-width: 156px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.home-filter-dropdown.is-open .home-filter-panel {
  display: grid;
  gap: 6px;
}

.home-filter-search {
  position: relative;
}

.home-filter-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--home-text-soft);
  pointer-events: none;
}

.home-filter-search-input {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 0 10px 0 32px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  color: var(--home-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
}

.home-filter-search-input::placeholder {
  color: var(--home-text-soft);
  font-weight: 600;
}

.home-filter-search-input:focus {
  outline: none;
  border-color: var(--home-border-strong);
  box-shadow: none;
}

.home-filter-search-input::-webkit-search-decoration,
.home-filter-search-input::-webkit-search-cancel-button,
.home-filter-search-input::-webkit-search-results-button,
.home-filter-search-input::-webkit-search-results-decoration {
  display: none;
}

.home-filter-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 156px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

.home-filter-empty {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--home-text-sub);
  font-size: 0.76rem;
  font-weight: 600;
}

.home-filter-option,
.home-filter-link {
  min-height: 34px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--home-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-filter-option.is-active {
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.home-search-results[hidden],
.home-search-results:empty {
  display: none;
}

.home-search-results {
  display: grid;
  gap: 10px;
  max-height: min(480px, calc(100vh - 220px));
  overflow: auto;
}

.home-section-state.fdc-status-card {
  margin: 0;
  border-radius: 14px;
  --fdc-status-card-border: var(--home-border);
  --fdc-status-card-bg: var(--home-surface);
  --fdc-status-card-shadow: none;
  --fdc-status-card-title-override: var(--home-text);
  --fdc-status-card-text-override: var(--home-text-sub);
}

.home-section-state .fdc-status-card-copy {
  gap: 6px;
}

.home-section-state .fdc-status-card-title {
  font-size: 0.96rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.home-section-state .fdc-status-card-body {
  font-size: 0.84rem;
  line-height: 1.55;
}

.home-search-state,
.community-status-card,
.news-status-card,
.calendar-status-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: var(--home-surface);
}

.home-search-state strong,
.community-status-card strong,
.news-status-card strong,
.calendar-status-card strong {
  font-size: 0.96rem;
  color: var(--home-text);
}

.home-search-state p,
.community-status-card p,
.news-status-card p,
.calendar-status-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--home-text-sub);
}

.home-search-skeleton,
.community-skeleton-chip,
.community-skeleton-line,
.community-skeleton-meta,
.community-trade-row-skeleton-media,
.community-trade-row-skeleton-copy,
.news-item-skeleton,
.calendar-item-skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--home-surface-soft) 25%, var(--home-surface) 50%, var(--home-surface-soft) 75%);
  background-size: 200% 100%;
  animation: home-skeleton 1.4s infinite;
}

.home-search-skeleton {
  height: 88px;
  border: 1px solid var(--home-border);
  border-radius: 16px;
}

.home-search-recent {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.home-search-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-search-recent-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--home-text);
}

.home-search-recent-title-icon,
.home-search-recent-item-icon {
  font-size: 16px;
  color: var(--home-text-soft);
}

.home-search-recent-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: var(--home-text-sub);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.home-search-suggestion-list,
.home-search-group-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-search-suggestion,
.home-search-group-link,
.home-search-group-more {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: var(--home-surface);
  color: var(--home-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-search-suggestion.is-placeholder {
  min-width: 84px;
  border-color: color-mix(in srgb, var(--home-border) 70%, transparent);
  color: transparent;
  pointer-events: none;
}

.home-search-results.is-discovery {
  gap: 0;
  max-height: none;
  overflow: visible;
}

.home-search-discovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
}

.home-search-discovery-panel {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 6px 16px 2px 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.home-search-discovery-panel.is-popular {
  padding: 6px 0 2px 18px;
  border-left: 1px solid var(--home-border);
}

.home-search-discovery-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.home-search-discovery-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--home-text);
}

.home-search-discovery-caption {
  display: none;
}

.home-search-recent-list,
.home-search-popular-list {
  display: grid;
  gap: 2px;
}

.home-search-recent-item,
.home-search-popular-item {
  width: 100%;
  min-height: 30px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--home-text);
  font: inherit;
  text-align: left;
  display: grid;
  align-items: center;
  cursor: pointer;
}

.home-search-recent-item {
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
}

.home-search-recent-item-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-search-popular-item {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
}

.home-search-popular-rank {
  color: var(--home-primary);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.home-search-popular-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-search-discovery-empty {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 2px;
  color: var(--home-text-sub);
}

.home-search-discovery-empty strong {
  font-size: 0.78rem;
  color: var(--home-text);
}

.home-search-discovery-empty p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
}

.home-search-group {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.home-search-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.home-search-group-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--home-text);
}

.home-search-group-summary {
  font-size: 0.76rem;
  color: var(--home-text-sub);
}

.home-search-group-body,
.home-search-card-list {
  display: grid;
  gap: 10px;
}

.home-search-group-error {
  font-size: 0.76rem;
  color: #b91c1c;
}

.home-search-post-card,
.home-search-user-card,
.home-search-card-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
}

.home-search-post-link {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.home-search-post-card:hover,
.home-search-user-card:hover,
.home-search-card-item:hover {
  border-color: var(--home-primary);
  background: var(--home-primary-soft);
}

.home-search-post-card:hover .home-search-post-title,
.home-search-user-card:hover .home-search-user-name {
  color: var(--home-primary-strong);
}

.home-search-results.is-discovery {
  gap: 14px;
}

.home-search-post-meta,
.home-search-user-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--home-text-sub);
}

.home-search-post-chip {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.home-search-post-title,
.home-search-user-name,
.home-search-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--home-text);
}

.home-search-post-preview,
.home-search-user-bio,
.home-search-card-code {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--home-text-sub);
}

.home-search-user-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.home-search-user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
}

.home-search-card-item {
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.home-search-card-thumb {
  width: 60px;
  height: 84px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--home-surface-soft);
}

.home-search-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-search-card-thumb-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--home-text-sub);
}

.home-search-card-copy {
  display: grid;
  gap: 4px;
}

.home-search-card-game {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--home-primary);
}

.home-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(216px, 19vw, 264px) minmax(0, 1fr) clamp(248px, 22vw, 300px);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.home-left-column,
.home-center-column,
.home-right-column {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 24px);
  min-width: 0;
}

.home-center-column {
  gap: clamp(24px, 2.4vw, 32px);
}

.home-support-panel,
.home-calendar-panel,
.home-news-panel,
.home-posts-panel,
.home-trade-panel,
.home-map-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.section-header-emphasis {
  margin-bottom: 4px;
}

.section-title {
  margin: 0;
  color: var(--home-text);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-title-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: inherit;
  text-decoration: none;
}

.section-title-link:hover {
  color: var(--home-primary);
}

.section-title-link .material-symbols-outlined {
  font-size: 20px;
}

.section-link {
  color: var(--home-text-sub);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-link:hover {
  color: var(--home-primary);
}

.section-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.section-link-arrow .material-symbols-outlined {
  font-size: 18px;
}

.section-link-icon-only {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  justify-content: center;
  border-radius: 999px;
}

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

.home-game-square-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-game-square-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.home-game-square-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-game-square-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-game-square-label {
  display: block;
  width: 100%;
  color: var(--home-text);
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-game-square-placeholder {
  aspect-ratio: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.home-calendar-list {
  display: grid;
  gap: 10px;
}

.calendar-item,
.calendar-item-link {
  display: grid;
  grid-template-columns: 4px 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.calendar-item-link {
  padding: 14px 16px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.calendar-item-link:hover {
  border-color: var(--home-primary);
  background: var(--home-surface-soft);
}

.calendar-accent {
  min-height: 100%;
  border-radius: 999px;
  background: var(--home-primary);
}

.calendar-meta {
  display: grid;
  align-items: center;
  gap: 2px;
  min-height: 64px;
  padding: 6px 2px;
  border-radius: 8px;
  background: var(--home-surface-soft);
  text-align: center;
}

.calendar-game {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-date-sub {
  color: var(--home-text-sub);
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 700;
}

.calendar-date {
  color: var(--home-text);
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 900;
}

.calendar-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.calendar-chip-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.calendar-title {
  display: -webkit-box;
  color: var(--home-text);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.calendar-location {
  min-width: 0;
  color: var(--home-text-sub);
  font-size: 0.76rem;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-game,
.calendar-side-chip {
  justify-self: start;
  align-self: start;
  width: fit-content;
  max-width: 100%;
}

.calendar-region-chip.is-seoul {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.24);
  color: #2563eb;
}

.calendar-region-chip.is-gyeonggi {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.24);
  color: #0284c7;
}

.calendar-region-chip.is-incheon {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.24);
  color: #0891b2;
}

.calendar-region-chip.is-busan {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.24);
  color: #b45309;
}

.calendar-region-chip.is-daegu {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.24);
  color: #c2410c;
}

.calendar-region-chip.is-gwangju {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.24);
  color: #db2777;
}

.calendar-region-chip.is-daejeon {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.24);
  color: #7c3aed;
}

.calendar-region-chip.is-ulsan {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.24);
  color: #0f766e;
}

.calendar-region-chip.is-sejong {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.24);
  color: #4f46e5;
}

.calendar-region-chip.is-gangwon {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.24);
  color: #15803d;
}

.calendar-region-chip.is-chungbuk {
  background: rgba(132, 204, 22, 0.14);
  border-color: rgba(132, 204, 22, 0.24);
  color: #4d7c0f;
}

.calendar-region-chip.is-chungnam {
  background: rgba(101, 163, 13, 0.14);
  border-color: rgba(101, 163, 13, 0.24);
  color: #3f6212;
}

.calendar-region-chip.is-jeonbuk {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.24);
  color: #dc2626;
}

.calendar-region-chip.is-jeonnam {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.24);
  color: #e11d48;
}

.calendar-region-chip.is-gyeongbuk {
  background: rgba(217, 119, 6, 0.14);
  border-color: rgba(217, 119, 6, 0.24);
  color: #b45309;
}

.calendar-region-chip.is-gyeongnam {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
  color: #059669;
}

.calendar-region-chip.is-jeju {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.24);
  color: #9333ea;
}

.calendar-region-chip.is-national,
.calendar-region-chip.is-online,
.calendar-region-chip.is-location {
  background: rgba(71, 85, 105, 0.1);
  border-color: rgba(71, 85, 105, 0.2);
  color: #475569;
}

:root[data-theme='dark'] .calendar-region-chip.is-seoul {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.36);
  color: #bfdbfe;
}

:root[data-theme='dark'] .calendar-region-chip.is-gyeonggi {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(56, 189, 248, 0.36);
  color: #bae6fd;
}

:root[data-theme='dark'] .calendar-region-chip.is-incheon {
  background: rgba(6, 182, 212, 0.22);
  border-color: rgba(34, 211, 238, 0.34);
  color: #a5f3fc;
}

:root[data-theme='dark'] .calendar-region-chip.is-busan {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(251, 191, 36, 0.34);
  color: #fde68a;
}

:root[data-theme='dark'] .calendar-region-chip.is-daegu {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(251, 146, 60, 0.34);
  color: #fed7aa;
}

:root[data-theme='dark'] .calendar-region-chip.is-gwangju {
  background: rgba(236, 72, 153, 0.2);
  border-color: rgba(244, 114, 182, 0.34);
  color: #fbcfe8;
}

:root[data-theme='dark'] .calendar-region-chip.is-daejeon {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(167, 139, 250, 0.34);
  color: #ddd6fe;
}

:root[data-theme='dark'] .calendar-region-chip.is-ulsan {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(45, 212, 191, 0.34);
  color: #99f6e4;
}

:root[data-theme='dark'] .calendar-region-chip.is-sejong {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(129, 140, 248, 0.34);
  color: #c7d2fe;
}

:root[data-theme='dark'] .calendar-region-chip.is-gangwon {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(74, 222, 128, 0.34);
  color: #bbf7d0;
}

:root[data-theme='dark'] .calendar-region-chip.is-chungbuk {
  background: rgba(132, 204, 22, 0.2);
  border-color: rgba(163, 230, 53, 0.34);
  color: #d9f99d;
}

:root[data-theme='dark'] .calendar-region-chip.is-chungnam {
  background: rgba(101, 163, 13, 0.2);
  border-color: rgba(132, 204, 22, 0.34);
  color: #d9f99d;
}

:root[data-theme='dark'] .calendar-region-chip.is-jeonbuk {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.34);
  color: #fecaca;
}

:root[data-theme='dark'] .calendar-region-chip.is-jeonnam {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(251, 113, 133, 0.34);
  color: #fecdd3;
}

:root[data-theme='dark'] .calendar-region-chip.is-gyeongbuk {
  background: rgba(217, 119, 6, 0.2);
  border-color: rgba(245, 158, 11, 0.34);
  color: #fde68a;
}

:root[data-theme='dark'] .calendar-region-chip.is-gyeongnam {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.34);
  color: #a7f3d0;
}

:root[data-theme='dark'] .calendar-region-chip.is-jeju {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.34);
  color: #e9d5ff;
}

:root[data-theme='dark'] .calendar-region-chip.is-national,
:root[data-theme='dark'] .calendar-region-chip.is-online,
:root[data-theme='dark'] .calendar-region-chip.is-location {
  background: rgba(71, 85, 105, 0.34);
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
}

.calendar-item-skeleton {
  height: 92px;
  border-radius: 16px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-news-grid[data-count='0'] {
  grid-template-columns: minmax(0, 320px);
}

.news-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  border-color: var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.news-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  background: var(--home-surface-soft);
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.news-item:hover .news-thumb {
  transform: scale(1.04);
}

.news-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-game,
.news-chip,
.community-item-chip {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  line-height: 1;
  font-weight: 800;
}

.news-game,
.community-item-chip {
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.news-chip {
  background: var(--home-surface-soft);
  color: var(--home-text-sub);
}

.news-copy strong {
  display: -webkit-box;
  color: var(--home-text);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  color: var(--home-text-sub);
  font-size: 0.76rem;
  font-weight: 700;
}

.news-footer-stats {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}

.home-meta-date,
.news-footer-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.home-meta-date {
  min-width: 0;
  color: var(--home-text-sub);
}

.home-meta-date-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-meta-date .material-symbols-outlined,
.news-footer-stat .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--home-text-soft);
}

.news-item-skeleton {
  height: 288px;
  border-radius: 10px;
}

.home-posts-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
}

.community-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: var(--home-surface);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.community-item-link {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.community-item:hover {
  border-color: var(--home-primary);
  background: var(--home-primary-soft);
}

.community-item:hover .community-item-title {
  color: var(--home-primary-strong);
}

.community-item-head,
.community-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.community-item-meta {
  color: var(--home-text-sub);
  font-size: 0.78rem;
  font-weight: 700;
}

.community-item-title {
  margin: 0;
  color: var(--home-text);
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.community-item-author-host,
.community-item-author-link,
.home-search-post-author-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.community-item-author-link:hover,
.community-item-author-link:focus-visible,
.home-search-post-author-link:hover,
.home-search-post-author-link:focus-visible {
  color: var(--home-primary-strong);
}

.community-item-meta-primary {
  color: var(--home-text);
  font-weight: 800;
}

.posts-post-item + .posts-post-item {
  border-top: 1px solid var(--home-border);
}

.posts-post-shell {
  display: grid;
  gap: 8px;
}

.posts-post-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.14s ease;
}

.posts-post-link:hover {
  background: var(--home-surface-soft);
}

.posts-post-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.posts-post-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.posts-post-title {
  margin: 0;
  display: -webkit-box;
  color: var(--home-text);
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: keep-all;
  min-width: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.posts-post-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 12px;
  min-width: 0;
  color: var(--home-text-sub);
  font-size: 0.76rem;
  font-weight: 700;
}

.posts-post-meta-left,
.posts-post-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.posts-post-meta-left {
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.posts-post-meta-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  white-space: nowrap;
}

.posts-post-author {
  display: inline-block;
  max-width: 100%;
  color: var(--home-text);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.posts-author-identity-host,
.posts-post-author-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.posts-post-author-link:hover,
.posts-post-author-link:focus-visible {
  color: var(--home-primary-strong);
}

.posts-post-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--home-text-sub);
  white-space: nowrap;
}

.posts-post-stat .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--home-text-soft);
}

.posts-post-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-text-soft);
  font-size: 18px;
  line-height: 1;
}

.community-item-skeleton {
  gap: 12px;
  pointer-events: none;
}

.community-skeleton-line {
  width: 100%;
  height: 16px;
  border-radius: 999px;
}

.community-skeleton-line.is-title {
  height: 18px;
  width: 90%;
}

.community-skeleton-line.is-short {
  width: 64%;
}

.community-skeleton-meta {
  width: 56%;
  height: 13px;
  border-radius: 999px;
}

.home-trade-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-trade-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.community-trade-row:hover {
  transform: translateY(-2px);
  border-color: var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.community-trade-media {
  width: 88px;
  aspect-ratio: 5 / 7;
  border-radius: 8px;
  overflow: hidden;
  background: var(--home-surface-soft);
}

.community-trade-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-trade-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.community-trade-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.community-trade-chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.community-trade-title {
  color: var(--home-text);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.community-trade-price {
  color: var(--home-primary);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

.community-trade-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
  color: var(--home-text-sub);
  font-size: 0.76rem;
  font-weight: 700;
}

.community-trade-meta-copy {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.community-trade-stat-list {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}

.community-trade-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.community-trade-stat .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--home-text-soft);
}

.community-trade-row-skeleton {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: stretch;
  pointer-events: none;
}

.community-trade-row-skeleton-media {
  border-radius: 8px;
}

.community-trade-row-skeleton-copy {
  border-radius: 8px;
}

.home-map-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: var(--home-surface);
  text-align: center;
}

.home-map-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--home-primary);
  color: #ffffff;
  font-size: 32px;
}

.home-map-card-title {
  margin: 0;
  display: -webkit-box;
  color: var(--home-text);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-map-card-copy {
  margin: 0;
  color: var(--home-text-sub);
  font-size: 0.82rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-map-card-action {
  width: 100%;
  margin-top: 4px;
  min-height: 44px;
  border-radius: 10px;
}

.calendar-status-card.is-compact {
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
}

.calendar-status-card.is-compact strong {
  font-size: 0.9rem;
}

.calendar-status-card--empty {
  justify-items: center;
  gap: 12px;
  padding: 22px 18px;
  text-align: center;
}

.calendar-status-card--empty strong {
  font-size: 0.94rem;
  line-height: 1.4;
}

.calendar-status-card--empty p {
  max-width: 220px;
  font-size: 0.8rem;
}

.calendar-status-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-primary);
  font-size: 28px;
}

.news-status-link {
  color: var(--home-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.news-retry-button {
  border: none;
  background: transparent;
  color: var(--home-primary);
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.quick-link-list,
.game-list-spotlight,
.popular-list {
  display: none;
}

@keyframes home-skeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1120px) {
  .home-workspace {
    grid-template-columns: clamp(208px, 22vw, 240px) minmax(0, 1fr) clamp(236px, 24vw, 280px);
    gap: 16px;
  }

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

@media (max-width: 980px) {
  .home-workspace {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  }

  .home-right-column {
    grid-column: 2 / 3;
    justify-self: end;
    width: min(100%, clamp(248px, 32vw, 300px));
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 840px) {
  .home-hero-content {
    padding: 44px 20px 48px;
  }

  .home-workspace {
    grid-template-columns: 1fr;
  }

  .home-left-column,
  .home-right-column {
    display: flex;
    grid-column: auto;
    justify-self: stretch;
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }

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

@media (max-width: 720px) {
  .home-search-form {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 10px;
  }

  .home-search-input {
    min-height: 56px;
  }

  .home-search-submit {
    width: 100%;
  }

  .home-search-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .home-search-toolbar {
    margin-left: 0;
    justify-content: flex-start;
  }

  .home-search-tabs {
    gap: 6px;
  }

  .home-search-tab {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .home-search-discovery-grid {
    grid-template-columns: 1fr;
  }

  .home-search-discovery-panel {
    padding-right: 0;
  }

  .home-search-discovery-panel.is-popular {
    padding-left: 0;
    padding-top: 14px;
    border-left: none;
    border-top: 1px solid var(--home-border);
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

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

  .home-game-square-card {
    gap: 7px;
    padding: 14px 10px;
  }

  .home-game-square-icon {
    width: 52px;
    height: 52px;
  }

  .home-game-square-label {
    font-size: 0.76rem;
  }

  .community-trade-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .community-trade-media {
    width: 76px;
  }

  .posts-post-link {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .posts-post-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .posts-post-meta-right {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .home-container {
    padding: 16px 12px 32px;
  }

  .home-hero {
    margin-bottom: 28px;
    border-radius: 18px;
  }

  .home-hero-content {
    gap: 16px;
    padding: 36px 16px 40px;
  }

  .home-hero-title {
    font-size: 2rem;
  }

  .home-hero-brand-logo {
    width: clamp(172px, 52vw, 240px);
  }

  .section-title {
    font-size: 1.25rem;
  }

  .home-game-square-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-game-square-card {
    gap: 6px;
    padding: 12px 8px;
  }

  .home-game-square-icon {
    width: 48px;
    height: 48px;
  }

  .home-game-square-label {
    font-size: 0.72rem;
  }

  .home-search-popover {
    padding: 12px;
  }

  .home-hero-links {
    gap: 6px;
  }

  .home-hero-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}
