:root {
  --bg: #0c1622;
  --bg-soft: #101f30;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #e6edf3;
  --text-dim: #94a5b8;
  --accent: #3b9eff;
  --accent-soft: rgba(59, 158, 255, 0.16);
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans SC", system-ui, sans-serif;
  background: radial-gradient(circle at 8% 8%, rgba(59, 158, 255, 0.12), transparent 35%),
              radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.1), transparent 38%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body.kind-mods {
  --accent: #16c3a3;
  --accent-soft: rgba(22, 195, 163, 0.18);
}

body.kind-dependencies {
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.2);
}

.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px 18px 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.topbar .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.home-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sync-time {
  font-size: 12px;
  color: var(--text-dim);
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(16, 31, 48, 0.98), rgba(10, 22, 34, 0.96));
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
}

.hero p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

.hero-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.hero-links-compact {
  margin-top: 12px;
}

.hero-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.hero-link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-link-accent {
  border-color: rgba(255, 255, 255, 0);
  background: linear-gradient(135deg, rgba(22, 195, 163, 0.92), rgba(10, 155, 204, 0.88));
  color: #f6fffd;
  box-shadow: 0 8px 22px rgba(10, 155, 204, 0.2);
}

.hero-link-accent:hover {
  filter: brightness(1.05);
}

.hero-inline-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 195, 163, 0.26);
  background: rgba(22, 195, 163, 0.1);
  color: #ddfff8;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.hero-inline-entry:hover {
  transform: translateY(-1px);
  background: rgba(22, 195, 163, 0.16);
  border-color: rgba(22, 195, 163, 0.42);
}

.hero-inline-label {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-inline-sub {
  font-size: 12px;
  color: rgba(221, 247, 255, 0.82);
  white-space: nowrap;
}

.hero .stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 10px 12px;
}

.stat .num {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.2;
}

.stat .label {
  font-size: 12px;
  color: var(--text-dim);
}

.layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 14px;
}

.sidebar,
.main {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
}

.sidebar {
  padding: 14px;
  position: sticky;
  top: 14px;
  align-self: start;
}

.main {
  padding: 14px;
}

.block + .block {
  margin-top: 14px;
}

.block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.search {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 0 11px;
  outline: none;
}

.search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.version-list {
  max-height: 320px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  padding-right: 2px;
}

.version-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 9px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.version-btn .count {
  color: var(--text-dim);
  font-size: 11px;
}

.version-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tag-list {
  max-height: 250px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  padding-right: 2px;
}

.version-list,
.tag-list,
.variant-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.version-list::-webkit-scrollbar,
.tag-list::-webkit-scrollbar,
.variant-list::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.version-list::-webkit-scrollbar-thumb,
.tag-list::-webkit-scrollbar-thumb,
.variant-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(98, 208, 255, 0.72), rgba(120, 255, 207, 0.68));
}

.version-list::-webkit-scrollbar-thumb:hover,
.tag-list::-webkit-scrollbar-thumb:hover,
.variant-list::-webkit-scrollbar-thumb:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(126, 221, 255, 0.9), rgba(144, 255, 219, 0.88));
}

.version-list::-webkit-scrollbar-track,
.tag-list::-webkit-scrollbar-track,
.variant-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.version-list::-webkit-scrollbar-button,
.tag-list::-webkit-scrollbar-button,
.variant-list::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.tag-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 99px;
  font-size: 12px;
  cursor: pointer;
}

.tag-chip.active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-soft);
}

.hint {
  font-size: 12px;
  color: var(--text-dim);
}

.actions {
  display: flex;
  gap: 8px;
}

.btn {
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.primary {
  border-color: rgba(0, 0, 0, 0);
  background: var(--accent);
  color: #fff;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-dim);
}

.result-tools {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.result-tools label {
  font-size: 12px;
  color: var(--text-dim);
}

.sort-select {
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(10, 22, 34, 0.95);
  color: var(--text);
  padding: 0 9px;
  font-size: 12px;
  color-scheme: dark;
}

.sort-select option {
  background: #102334;
  color: #e8f2fb;
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.group + .group {
  margin-top: 14px;
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 9px;
  color: var(--text);
}

.group-title .count {
  color: var(--text-dim);
  font-size: 12px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--card-hover);
}

.thumb-wrap {
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

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

.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
}

.card-body {
  padding: 10px;
}

.title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 7px;
  line-height: 1.35;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--text-dim);
}

.badge.version {
  border-color: var(--accent);
  color: #dff0ff;
  background: var(--accent-soft);
}

.badge.base {
  border-color: rgba(34, 197, 94, 0.55);
  color: #c9fbd7;
  background: rgba(34, 197, 94, 0.18);
}

.desc {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.55;
  min-height: 38px;
}


.desc.clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.desc-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9dd4ff;
  font-size: 12px;
  padding: 0;
  margin: -3px 0 8px;
  cursor: pointer;
}

.desc-toggle:hover {
  color: #c8e8ff;
  text-decoration: underline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tags .tag-chip {
  margin: 0;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.downloads-line {
  margin-top: 2px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #9dd4ff;
}

.uuid {
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.foot-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.download {
  height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  text-decoration: none;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.download.ready {
  background: var(--accent);
  color: #fff;
}

.download.ready:hover {
  filter: brightness(1.08);
}

.download.disabled {
  color: var(--text-dim);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: var(--text-dim);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 10, 16, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  width: min(760px, 100%);
  max-height: min(84vh, 860px);
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0f1d2b;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-dim);
}

.variant-list {
  padding: 12px;
  overflow: auto;
  display: grid;
  gap: 10px;
}

.variant-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.variant-main {
  min-width: 0;
  flex: 1;
}

.variant-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.variant-uuid {
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.variant-downloads {
  margin-top: 6px;
  font-size: 12px;
  color: #9dd4ff;
}

.variant-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 29, 43, 0.92);
  color: #dff7ff;
  cursor: pointer;
  z-index: 9999;
  opacity: .92;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s, transform .2s, background .2s;
}

.back-top.show {
  opacity: .92;
}

.back-top:hover {
  background: rgba(21, 51, 79, 0.98);
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 740px) {
  .hero .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    column-count: 1;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

body.dep-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.18), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(255, 214, 102, 0.12), transparent 36%),
    linear-gradient(180deg, #0b1420 0%, #111d2d 100%);
}

.dep-wrap {
  max-width: 1320px;
}

.dep-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(36, 28, 6, 0.92), rgba(18, 27, 42, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.dep-kicker,
.dep-focus-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f8cf7a;
}

.dep-hero-copy h1 {
  margin-top: 10px;
}

.dep-hero-copy p {
  max-width: 720px;
  line-height: 1.7;
}

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

.dep-version-shell,
.dep-focus {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.dep-version-shell {
  padding: 16px;
  margin: 14px 0;
}

.dep-version-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.dep-block-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.dep-block-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-dim);
}

.dep-version-tabs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.dep-version-tabs::-webkit-scrollbar {
  height: 7px;
}

.dep-version-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 214, 102, 0.9), rgba(245, 158, 11, 0.82));
}

.dep-version-tabs::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dep-version-tab {
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.dep-version-tab span {
  font-size: 15px;
  font-weight: 700;
}

.dep-version-tab em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-dim);
}

.dep-version-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 102, 0.44);
}

.dep-version-tab.active {
  border-color: rgba(255, 214, 102, 0.72);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 214, 102, 0.12);
}

.dep-focus {
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dep-focus-main h2 {
  margin: 6px 0 0;
  font-size: 30px;
}

.dep-focus-main p {
  margin: 10px 0 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.dep-focus-side {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.dep-mini-card {
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.dep-mini-card span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.dep-mini-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  color: #ffd666;
}

.dep-refresh-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
}

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

.dep-version-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
  scroll-margin-top: 20px;
}

.dep-version-section + .dep-version-section {
  margin-top: 16px;
}

.dep-section-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dep-section-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f8cf7a;
}

.dep-section-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.dep-section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 800;
  color: #fff3d2;
  text-shadow: 0 0 24px rgba(245, 158, 11, 0.18);
}

.dep-section-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(255, 214, 102, 0.34);
  color: #ffe7ab;
  font-size: 12px;
}

.dep-section-pill.alt {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-dim);
}

.dep-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dep-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  display: block;
  min-height: 100%;
}

.dep-card:hover {
  border-color: rgba(255, 214, 102, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.dep-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.dep-card-top h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.dep-card-version-mark {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 11px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255, 214, 102, 0.2), rgba(245, 158, 11, 0.14));
  border: 1px solid rgba(255, 214, 102, 0.28);
  color: #ffe7ab;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.dep-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.dep-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.dep-download-list {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.dep-download-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(9, 18, 28, 0.45);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dep-download-copy {
  min-width: 0;
}

.dep-download-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dep-download-title strong {
  font-size: 15px;
  color: var(--text);
}

.dep-download-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

@media (max-width: 1180px) {
  .dep-hero {
    grid-template-columns: 1fr;
  }

  .dep-card-grid,
  .dep-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .dep-focus {
    flex-direction: column;
    align-items: stretch;
  }

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

  .dep-card {
    display: block;
  }
}

@media (max-width: 740px) {
  .dep-version-head {
    flex-direction: column;
    align-items: stretch;
  }

  .dep-version-tab {
    min-width: 120px;
  }

  .dep-section-title {
    font-size: 28px;
  }

  .dep-focus-main h2 {
    font-size: 24px;
  }

  .dep-focus-side {
    grid-template-columns: 1fr;
  }

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

  .dep-download-item {
    flex-direction: column;
    align-items: stretch;
  }

  .dep-download-item .download {
    width: 100%;
  }
}
