@scope (.eato-site) {
  :scope { overflow-x: clip; }

  .mobile-search-toggle { display: none; }

  .topbar > .global-search { margin-inline-start: auto; }

  .language-picker { position: relative; flex: 0 0 auto; }
  .language-flag, .language-option::before {
    background: var(--locale-flag) center / cover no-repeat;
    border-radius: 2px;
    box-shadow: 0 0 0 1px #fff2;
  }
  .language-flag {
    position: absolute;
    z-index: 1;
    inset-inline-start: 10px;
    top: 50%;
    width: 17px;
    height: 12px;
    transform: translateY(-50%);
    pointer-events: none;
  }
  :scope .language-picker .language-select {
    padding-inline: 32px 23px;
    min-inline-size: 115px;
    max-inline-size: 140px;
  }

  .hero-cover { position: absolute; inset: 0; display: block; }
  .hero-cover .cover-art { position: absolute; inset: 0; }
  .hero-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .feature-shell:not([data-state="loaded"]) img { visibility: hidden; }
  .feature-shell {
    --hero-cover-x: 0px;
    --hero-cover-y: 34px;
  }
  .feature-shell[data-state="loading"]:not(:focus-visible) { opacity: 0; }
  .feature-shell:not([data-state="loading"]) {
    animation: hero-card-enter .65s cubic-bezier(.2,.68,.3,1) both;
  }
  .feature-shell:nth-child(2) { --hero-cover-y: -34px; }
  .feature-shell:nth-child(2) { animation-delay: 65ms; }
  .feature-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, #0a1213e0, transparent 55%);
  }
  .feature-shell:nth-child(2)::after {
    background: linear-gradient(to bottom, #0a1213e0, transparent 55%);
  }
  .feature-shell .cover-art::after { content: none; }
  .feature-caption { z-index: 2; pointer-events: none; }

  .stat-num { font-variant-numeric: tabular-nums; }
  .stat-value-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .game-card { display: flex; flex-direction: column; }
  .list-view .game-card { flex-direction: row; }
  .card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .card-heading { align-items: baseline; }
  .card-title { min-width: 0; }
  .card-heading .release-date {
    flex: none;
    margin-inline-start: auto;
    color: var(--lime);
    font-weight: 700;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 5px;
    list-style: none;
    margin: auto 0 0;
    padding: 11px 0 0;
    font-size: 10px;
  }
  .card-badges li { min-width: 0; max-width: 100%; }
  .card-badge {
    display: block;
    padding: 3px 6px;
    line-height: 1.2;
    border: 1px solid #354747;
    border-radius: 4px;
    background: #202b2c;
    color: #bacbc7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-badge.genre { border-color: #4e6351; background: #25382d; color: #d2e7af; }
  .card-badge:hover { border-color: var(--lime); color: var(--lime); }

  @media (max-width: 760px) {
    .mobile-backdrop {
      width: 100%;
      height: 100%;
      padding: 0;
      border-radius: 0;
      background: #080e14a8;
      backdrop-filter: blur(7px);
    }

    .topbar {
      min-height: 64px;
      height: auto;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 0 12px;
      align-content: center;
    }
    .topbar-right { justify-content: flex-end; }
    .mobile-search-toggle { display: grid; }
    .topbar > .global-search {
      display: none;
      grid-area: 2 / 1 / auto / -1;
      margin: 0 0 10px;
      max-width: none;
      width: 100%;
    }
    .topbar.mobile-search-open { padding-top: 10px; row-gap: 8px; }
    .topbar.mobile-search-open > .global-search { display: flex; }
    .topbar > .global-search > svg { display: block; }

    .language-flag { inset-inline-start: 9px; width: 20px; height: 14px; }
    :scope .language-picker .language-select {
      width: 38px;
      min-inline-size: 38px;
      max-inline-size: 38px;
      padding: 0;
      color: transparent;
      font-size: 0;
    }
    :scope .language-picker .language-select::picker-icon { display: none; }
    @supports not (appearance: base-select) {
      :scope .language-picker .language-select { appearance: none; }
    }

    .feature-shell { --hero-cover-x: 36px; --hero-cover-y: 0px; }
    .feature-shell:nth-child(2) { --hero-cover-x: -36px; --hero-cover-y: 0px; }

    .filter-bottom > .filter-view { gap: 5px; }
    .catalog-view-buttons .view-btn { width: 28px; }
    .list-view .card-body { padding: 10px 8px 10px 10px; }
    .list-view .card-title { font-size: 12px; white-space: normal; }
    .list-view .card-heading .release-date { font-size: 9px; }
    .list-view .card-badges { padding-top: 8px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .feature-shell:not([data-state="loading"]) { animation: none; }
    .feature-shell[data-state="loading"]:not(:focus-visible) { opacity: 1; }
  }
}

@keyframes hero-card-enter {
  from { opacity: 0; translate: var(--hero-cover-x) var(--hero-cover-y); }
  to { opacity: 1; translate: 0 0; }
}

