.site-header {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav-links {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
  overflow-x: auto;
}

.nav-links a {
  flex: 0 0 auto;
  white-space: nowrap;
}

body {
  overflow-x: hidden;
}

.asset-guide {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 56px 40px 96px;
  overflow: visible;
}

.asset-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 42px 0 28px;
}

.asset-guide-hero > * {
  min-width: 0;
}

.asset-guide-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.asset-guide-hero p {
  max-width: min(780px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asset-guide-stat {
  width: min(220px, 100%);
  justify-self: end;
  border: 1px solid rgba(241, 201, 90, 0.34);
  border-radius: 8px;
  padding: 22px;
  background: rgba(18, 29, 34, 0.82);
}

.asset-guide-stat strong {
  display: block;
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
}

.asset-guide-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.asset-toolbar {
  position: sticky;
  top: 72px;
  z-index: 12;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 20, 0.88);
  backdrop-filter: blur(14px);
}

.filter-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  background: rgba(23, 38, 44, 0.92);
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--gold);
  color: #141a12;
  background: var(--gold);
}

.asset-table-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 29, 34, 0.88);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.asset-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.asset-table th,
.asset-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.asset-table th {
  color: #eaf5ee;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  background: #122027;
}

.asset-table tr:last-child td {
  border-bottom: 0;
}

.asset-table tbody tr:hover {
  background: rgba(241, 201, 90, 0.055);
}

.asset-table th:nth-child(1),
.asset-table td:nth-child(1) {
  width: 92px;
}

.asset-table th:nth-child(2),
.asset-table td:nth-child(2) {
  width: 180px;
}

.asset-table th:nth-child(3),
.asset-table td:nth-child(3) {
  width: 180px;
}

.asset-table th:nth-child(4),
.asset-table td:nth-child(4) {
  width: 190px;
}

.asset-thumb {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25% 75%, rgba(255,255,255,0.035) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25% 75%, rgba(255,255,255,0.035) 75%),
    #0d171b;
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
}

.asset-thumb canvas {
  width: 44px;
  height: 44px;
  image-rendering: pixelated;
}

.asset-pill,
.asset-ggm {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 9px;
  color: #e9f4ee;
  font-size: 11px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.055);
}

.asset-ggm {
  color: #141a12;
  border-color: var(--gold);
  background: var(--gold);
}

.asset-name {
  color: var(--text);
  font-weight: 850;
}

.asset-function {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    width: min(100%, 390px);
    min-height: auto;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 10px 12px;
    white-space: nowrap;
  }

  .asset-guide {
    width: min(100%, 390px);
    max-width: 390px;
    margin: 0;
    padding: 32px 18px 72px;
  }

  .asset-guide-hero {
    grid-template-columns: 1fr;
  }

  .asset-guide-hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .asset-guide-hero p {
    max-width: 100%;
    font-size: 16px;
  }

  .asset-guide-stat {
    width: 100%;
    justify-self: stretch;
  }

  .asset-toolbar {
    top: 0;
    flex-wrap: nowrap;
  }
}
