:root {
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
  --shadow-1: 0 12px 30px rgba(16, 39, 69, 0.06);
  --shadow-2: 0 18px 45px rgba(16, 39, 69, 0.08);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, 0.35);
  --brand-blue: #2563eb;
  --brand-green: #3b82f6;
  --brand-green-dark: #1d4ed8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background 0.25s ease, color 0.25s ease;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 195px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #17365e 0%, #0d2340 100%);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.08);
}

.brand-copy strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-copy span {
  display: block;
  font-size: 0.84rem;
  margin-top: 3px;
}

.search {
  flex: 1;
  position: relative;
}

.search input {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  padding: 0 20px 0 48px;
  font-size: 0.96rem;
  outline: none;
}

.search img {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid transparent;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
}

.theme-switcher {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.theme-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  min-width: 68px;
  height: 36px;
  padding: 0 14px;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease, color .15s ease;
}

.theme-btn:hover { transform: translateY(-1px); }
.theme-btn.is-active { box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.theme-btn-light,
.theme-btn-dark {
  background: transparent;
}

.hero {
  padding: 24px 0 26px;
}

.hero-shell {
  border-radius: 34px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  padding: 6px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.h1-logo-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.h1-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 20px;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 720px;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 610px;
  font-size: 1.08rem;
  line-height: 1.72;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.proof-pill .check,
.why-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.btn {
  min-height: 60px;
  padding: 0 28px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  gap: 10px;
}

.btn:hover { transform: translateY(-1px); }

.btn-telegram-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-stats strong {
  display: block;
  font-size: 1.14rem;
  margin-bottom: 4px;
}

.hero-stats span {
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  border-radius: 30px;
  padding: 22px;
  overflow: hidden;
}

.panel-label,
.core-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.panel-card,
.core-panel-card {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  padding: 20px;
}

.panel-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 420px;
}

.panel-card p,
.cta-core-copy p {
  margin: 12px 0 0;
  line-height: 1.62;
  max-width: 460px;
}

.panel-points,
.core-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  font-weight: 600;
}

.panel-points span::before,
.core-points span::before,
.card-points span::before {
  content: "✔";
  margin-right: 8px;
  font-weight: 800;
}

.panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-soft-green,
.btn-soft-white,
.btn-card-primary,
.btn-card-secondary,
.btn-secondary-alt {
  border-radius: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-soft-green,
.btn-soft-white {
  min-height: 50px;
  padding: 0 20px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.mini-tile,
.card,
.category,
.update,
.why-card,
.core-panel-card {
  border-radius: 24px;
}

.mini-tile {
  padding: 14px;
}

.mini-tile .row,
.card-title,
.core-app {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mini-tile .row { margin-bottom: 8px; }

.app-icon,
.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.app-icon {
  display: block;
  object-fit: cover;
  flex: 0 0 auto;
}

.category-icon {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}

.category-icon {
  width: 56px;
  height: 56px;
  font-size: 1.45rem;
  margin-bottom: 16px;
  border-radius: 18px;
}

.mini-tile strong,
.core-app strong,
.card-title h3,
.category h3,
.update strong,
.why-card h3 {
  display: block;
  margin: 0;
}

.mini-tile span,
.core-app span,
.card-title p,
.category p,
.update span,
.why-card p,
.version {
  font-size: 0.84rem;
}

.card-title p,
.category p,
.why-card p {
  margin-top: 8px;
  line-height: 1.62;
}

.mini-safe,
.verified,
.core-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.card .verified {
  font-size: 0.68rem;
  padding: 6px 9px;
}

section { padding: 28px 0; }
.section-main { transition: background 0.25s ease, color 0.25s ease; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 8px 0 0;
  max-width: 700px;
  line-height: 1.68;
}

.section-link,
.category small,
.footer-links a {
  font-weight: 800;
  white-space: nowrap;
}

.cards,
.categories,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card,
.category,
.why-card {
  padding: 18px;
}

.category,
.why-card { padding: 22px; }

.card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover { transform: translateY(-2px); }

.card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.card-title { min-width: 0; align-items: start; }
.card-title > div { min-width: 0; }
.card-title h3 {
  min-height: calc(1.15em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 1rem;
  line-height: 1.15;
  text-overflow: ellipsis;
}
.card-title p {
  min-height: calc(1.45em * 2);
  margin: 5px 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.card-top .verified {
  flex: 0 0 auto;
  width: 72px;
  min-height: 38px;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.12;
}

.card-points {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
  font-size: 0.9rem;
}

.card-actions {
  display: grid;
  gap: 10px;
}

.btn-card-primary,
.btn-card-secondary {
  height: 46px;
}

.cta-core {
  position: relative;
  padding: 38px 0;
}

.cta-core-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.cta-core-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.cta-actions { margin-top: 28px; }
.core-panel { display: flex; justify-content: center; }
.core-panel-card { width: 100%; max-width: 430px; }
.core-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.core-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.core-stats div {
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}

.core-stats strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.core-stats span { font-size: 0.8rem; }
.core-download { width: 100%; }

.updates {
  display: grid;
  gap: 14px;
}

.update {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
}

.pdt-hero-section {
  padding-top: 8px;
}

.pdt-layout {
  display: block;
}

.pdt-main {
  padding: 22px;
}

.pdt-main-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pdt-app-icon {
  width: 100%;
  max-width: 176px;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0 auto;
  border-radius: 22px;
  object-fit: cover;
}

.pdt-icon-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.pdt-icon-actions .btn {
  min-height: 46px;
  width: 100%;
  padding: 0 14px;
}

.pdt-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.pdt-meta-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.pdt-meta-list li {
  line-height: 1.56;
}

.pdt-intro {
  margin: 16px 0 0;
  line-height: 1.66;
}

.pdt-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdt-support-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pdt-support-links a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdt-first-screen {
  padding-top: 6px;
}

.pdt-first-card {
  border-radius: 18px;
  padding: 28px;
}

.pdt-first-head {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pdt-first-icon {
  width: 194px;
  height: 194px;
  border-radius: 12px;
  object-fit: cover;
}

.pdt-first-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.1vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pdt-first-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pdt-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.pdt-date {
  font-weight: 600;
}

.pdt-first-rating {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pdt-first-rating .star {
  font-size: 1.95rem;
  line-height: 1;
}

.pdt-rating-text {
  margin-left: 8px;
  font-size: 1.1rem;
}

.pdt-first-download {
  margin-top: 18px;
  min-height: 52px;
  width: min(760px, 100%);
  border-radius: 10px;
  font-size: 1.1rem;
  gap: 10px;
}

.pdt-download-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pdt-first-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pdt-share-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pdt-share-btn {
  min-height: 40px;
  padding: 0 14px;
  gap: 6px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  display: inline-flex;
  align-items: center;
}

.pdt-share-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
}

.pdt-share-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pdt-share-toast {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pdt-share-toast.visible {
  opacity: 1;
  transform: translateX(0);
}

.pdt-share-dmca {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.pdt-share-dmca-link {
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdt-share-dmca-link:hover {
  color: #1d4ed8;
}

.pdt-safe-link {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  background: #e8f8ef;
  color: #1f9d65;
  border: 1px solid #bdebd0;
}

.pdt-safe-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.pdt-security-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}

.pdt-security-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 30, 0.45);
}

.pdt-security-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border-radius: 14px;
  padding: 22px 22px 16px;
  background: #f2f4f3;
  color: #2f3439;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.pdt-security-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #9aa0a6;
  cursor: pointer;
}

.pdt-security-dialog h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.pdt-security-app {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdt-security-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.pdt-security-app strong {
  display: block;
  font-size: 1.05rem;
  color: #5b5f63;
}

.pdt-security-app span {
  display: block;
  margin-top: 4px;
  color: #8a9096;
  font-size: 0.95rem;
}

.pdt-security-result {
  margin-top: 18px;
  display: block;
  border-radius: 12px;
  padding: 14px;
  background: #dff0e7;
}

.pdt-security-copy strong {
  display: block;
  color: #16a765;
  font-size: 1rem;
}

.pdt-security-copy span {
  display: block;
  margin-top: 8px;
  color: #20b26f;
}

.pdt-security-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.pdt-security-list li {
  position: relative;
  padding-left: 28px;
  color: #4f5459;
  font-size: 1.05rem;
}

.pdt-security-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #2ec27e;
  color: #16a765;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
}

.pdt-security-source {
  margin: 18px 0 0;
  color: #8a8f94;
  font-size: 1rem;
}

[hidden].pdt-security-modal {
  display: none;
}

.pdt-first-desc {
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 600;
}

.pdt-apk-section {
  padding-top: 6px;
}

.pdt-apk-card {
  border-radius: 18px;
  padding: 24px;
}

.pdt-apk-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.pdt-apk-table {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.pdt-apk-row {
  min-height: 46px;
  border-radius: 6px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: minmax(132px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.pdt-apk-key {
  font-size: 1.01rem;
  font-weight: 800;
  line-height: 1.3;
}

.pdt-apk-value {
  justify-self: end;
  text-align: right;
  font-size: 1.01rem;
  font-weight: 500;
  line-height: 1.3;
  word-break: break-word;
}

.pdt-apk-accent {
  font-weight: 700;
}

.pdt-modinfo-section {
  padding-top: 6px;
}

.pdt-modinfo-card {
  border-radius: 18px;
  padding: 24px;
}

.pdt-modinfo-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.pdt-modinfo-intro {
  margin: 12px 0 0;
  line-height: 1.68;
  font-size: 1.02rem;
}

.pdt-modinfo-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pdt-modinfo-list li {
  min-height: 46px;
  border-radius: 6px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.pdt-mod-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.pdt-shots-section {
  padding-top: 6px;
}

.pdt-shots-card {
  border-radius: 18px;
  padding: 24px;
}

.pdt-shots-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.pdt-shots-track {
  margin-top: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: auto;
}

.pdt-shots-track::-webkit-scrollbar {
  height: 10px;
}

.pdt-shots-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
}

.pdt-shot-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.pdt-shot-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.pdt-desc-section {
  padding-top: 6px;
}

.pdt-desc-card {
  border-radius: 18px;
  padding: 24px;
}

.pdt-desc-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.pdt-desc-card p {
  margin: 12px 0 0;
  line-height: 1.7;
  font-size: 1.01rem;
}

.pdt-section-card {
  padding: 22px;
}

.pdt-section-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.pdt-section-card p {
  margin: 12px 0 0;
  line-height: 1.68;
}

.pdt-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.pdt-list li {
  line-height: 1.62;
}

.pdt-mini-cards .card {
  min-height: 170px;
}

.pdt-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pdt-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.pdt-version-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.pdt-version-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
}

.pdt-version-main strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
}

.pdt-version-main .version {
  display: block;
  margin-top: 6px;
}

.pdt-version-download {
  min-height: 44px;
  padding: 0 18px;
}

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

.pdt-comment-list {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.pdt-comment-list article {
  border-radius: 14px;
  padding: 12px;
}

.pdt-comment-list strong {
  display: block;
  margin-bottom: 2px;
}

.pdt-comment-list p {
  margin: 0;
}

.pdt-faq-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.pdt-faq-list details {
  border-radius: 14px;
  padding: 10px 12px;
}

.pdt-faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.pdt-faq-list details p {
  margin: 10px 0 0;
}

.about-card p {
  margin: 0;
  line-height: 1.72;
}

.about-points {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.about-points li {
  line-height: 1.68;
}

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

.collection-card h3 {
  margin: 12px 2px 0;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.collection-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.collection-card:hover .collection-thumb img {
  transform: scale(1.03);
}

.collection-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(5, 15, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.news-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.03);
}

.news-body {
  padding: 16px 18px 18px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.news-body h3 {
  margin: 12px 0 0;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.news-body h3 a {
  transition: color .18s ease;
}

.news-body p {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.62;
}

.news-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  font-weight: 600;
}

.news-foot span + span::before {
  content: "•";
  margin-right: 8px;
}

.news-article-section {
  padding-top: 10px;
}

.news-article {
  border-radius: 22px;
  padding: 18px;
}

.news-article-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.3vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.news-article-meta-row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.news-author-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-author-name {
  font-size: 1rem;
  font-weight: 700;
}

.news-author-role {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
}

.news-article-date {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.news-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform .16s ease, opacity .16s ease;
}

.news-social-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.news-social-fb { background: #3b5998; color: #ffffff; }
.news-social-tw { background: #1da1f2; color: #ffffff; }
.news-social-rd { background: #ff5700; color: #ffffff; }
.news-social-sh { background: #d8dde6; color: #64748b; }

.news-article-divider {
  margin: 14px 0 18px;
  border: 0;
  height: 1px;
}

.news-article-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article-cover {
  margin-top: 18px;
  border-radius: 0;
  overflow: hidden;
}

.news-article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.news-article-content {
  margin-top: 20px;
  display: grid;
  gap: 22px;
}

.news-content-block h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.news-content-block p {
  margin: 12px 0 0;
  font-size: 1.02rem;
  line-height: 1.76;
}

.list-page-body main {
  padding-top: 10px;
}

.list-page-head {
  padding-top: 24px;
  padding-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.breadcrumb a,
.breadcrumb-sep {
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-page-title,
.list-card {
  border-radius: 28px;
}

.list-page-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-toolbar-section {
  padding-top: 8px;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.list-filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.list-filter {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.list-meta {
  font-size: 0.92rem;
  font-weight: 600;
}

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

.list-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.list-card:hover {
  transform: translateY(-3px);
}

.list-thumb-wrap {
  position: relative;
  padding: 14px 14px 0;
}

.list-tags {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.list-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.list-thumb {
  min-height: 188px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.list-app-icon {
  width: 94px;
  height: 94px;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

.list-card-body {
  padding: 14px 16px 16px;
}

.list-card-body h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-submeta,
.list-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-submeta {
  margin-top: 8px;
}

.list-rating {
  margin-top: 8px;
}

.list-rating span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.star {
  font-size: 0.9rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-btn,
.page-dots {
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.page-btn-wide {
  padding: 0 16px;
}

.search-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-query-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.search-query-pill,
.search-suggestion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.search-empty-section {
  padding-top: 18px;
}

.search-empty-card {
  border-radius: 28px;
  padding: 34px;
  text-align: center;
}

.search-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.search-empty-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.search-empty-card p {
  margin: 14px auto 0;
  max-width: 620px;
  line-height: 1.68;
}

.search-suggestions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.search-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

footer {
  padding: 22px 0 40px;
  font-size: 0.92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Light */
body.theme-light {
  color: #102745;
  background:
    radial-gradient(circle at 8% 10%, rgba(37,99,235,0.08), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(59,130,246,0.06), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7ff 44%, #eef4ff 100%);
}

body.theme-light .topbar {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(16,39,69,0.06);
  box-shadow: 0 8px 22px rgba(16,39,69,0.04);
}

body.theme-light .theme-switcher {
  background: rgba(16,39,69,0.06);
  border: 1px solid rgba(16,39,69,0.08);
}

body.theme-light .menu-toggle {
  background: #ffffff;
  color: #102745;
  border-color: rgba(16,39,69,0.1);
}

body.theme-light .theme-btn {
  color: #466086;
}

body.theme-light .theme-btn.is-active {
  background: #ffffff;
  color: #102745;
  border-color: rgba(16,39,69,0.08);
}

body.theme-light .brand-copy span,
body.theme-light .nav-links,
body.theme-light .hero-sub,
body.theme-light .hero-stats span,
body.theme-light .breadcrumb,
body.theme-light .search-query-line,
body.theme-light .list-meta,
body.theme-light .list-submeta,
body.theme-light .section-head p,
body.theme-light .news-meta,
body.theme-light .news-body p,
body.theme-light .news-foot,
body.theme-light .news-article-date,
body.theme-light .news-article-lead,
body.theme-light .news-content-block p,
body.theme-light .card-title p,
body.theme-light .category p,
body.theme-light .update span,
body.theme-light .why-card p,
body.theme-light footer,
body.theme-light .mini-tile span,
body.theme-light .panel-card p,
body.theme-light .cta-core-copy p,
body.theme-light .core-app span,
body.theme-light .core-stats span,
body.theme-light .version {
  color: #667a99;
}

body.theme-light .search input {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dce6f5;
  color: #102745;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(16,39,69,0.04);
}
body.theme-light .search img { opacity: 0.72; }

body.theme-light .hero-shell,
body.theme-light .hero-panel,
body.theme-light .panel-card,
body.theme-light .mini-tile,
body.theme-light .card,
body.theme-light .news-card,
body.theme-light .pdt-comment-list article,
body.theme-light .pdt-faq-list details,
body.theme-light .list-card,
body.theme-light .search-empty-card,
body.theme-light .category,
body.theme-light .update,
body.theme-light .why-card,
body.theme-light .core-panel-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #dce6f5;
  box-shadow: var(--shadow-2);
}

body.theme-light .eyebrow,
body.theme-light .proof-pill,
body.theme-light .verified,
body.theme-light .mini-safe,
body.theme-light .core-badge,
body.theme-light .core-tag {
  background: #eaf1ff;
  border: 1px solid #d5e4ff;
  color: #1d4ed8;
}

body.theme-light .eyebrow .dot,
body.theme-light .proof-pill .check,
body.theme-light .why-check {
  background: #3b82f6;
}

body.theme-light .title-dark,
body.theme-light .section-head h2,
body.theme-light .card-title h3,
body.theme-light .news-body h3,
body.theme-light .news-article-title,
body.theme-light .news-content-block h2,
body.theme-light .news-author-name,
body.theme-light .collection-card h3,
body.theme-light .list-page-title,
body.theme-light .list-card-body h3,
body.theme-light .category h3,
body.theme-light .update strong,
body.theme-light .why-card h3,
body.theme-light .cta-core-copy h2,
body.theme-light .panel-card h3,
body.theme-light .core-app strong,
body.theme-light .hero-stats strong,
body.theme-light .section-link,
body.theme-light .category small,
body.theme-light .footer-links a,
body.theme-light .btn-secondary,
body.theme-light .btn-card-secondary,
body.theme-light .btn-secondary-alt {
  color: #102745;
}

body.theme-light .news-body h3 a:hover {
  color: #1d4ed8;
}

body.theme-light .news-tag {
  background: #84cc16;
  color: #ffffff;
}

body.theme-light .news-author-role {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
}

body.theme-light .news-article-divider {
  background: #dce6f5;
}

body.theme-light .news-article {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #dce6f5;
  box-shadow: var(--shadow-2);
}

body.theme-light .title-accent {
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.theme-light .btn-primary,
body.theme-light .btn-soft-green {
  background: linear-gradient(180deg, #4f8efb 0%, #3b82f6 44%, #2563eb 100%);
  color: white;
  box-shadow: 0 18px 36px rgba(59,130,246,0.28);
}

body.theme-light .pdt-chip {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #d7dbff;
}

body.theme-light .pdt-date {
  color: #4a5f7d;
}

body.theme-light .pdt-first-rating .star.on {
  color: #5b61ea;
}

body.theme-light .pdt-first-rating .star.off {
  color: #b8bfd1;
}

body.theme-light .pdt-first-download {
  background: linear-gradient(180deg, #6c70ef 0%, #5b61ea 100%);
  color: #ffffff;
}

body.theme-light .pdt-first-desc {
  color: #506685;
}

body.theme-light .pdt-apk-title {
  color: #102745;
}

body.theme-light .pdt-apk-row {
  background: linear-gradient(180deg, #f3f6fb 0%, #eef3f9 100%);
  border: 1px solid #dbe5f2;
}

body.theme-light .pdt-apk-key {
  color: #0f2746;
}

body.theme-light .pdt-apk-value {
  color: #173a66;
}

body.theme-light .pdt-apk-accent {
  color: #2563eb;
}

body.theme-light .pdt-modinfo-title {
  color: #102745;
}

body.theme-light .pdt-modinfo-intro {
  color: #506685;
}

body.theme-light .pdt-modinfo-list li {
  background: linear-gradient(180deg, #f3f6fb 0%, #eef3f9 100%);
  border: 1px solid #dbe5f2;
  color: #173a66;
}

body.theme-light .pdt-mod-badge {
  background: #eaf1ff;
  border: 1px solid #c9ddff;
  color: #1d4ed8;
}

body.theme-light .pdt-shots-title {
  color: #102745;
}

body.theme-light .pdt-shot-item {
  border: 1px solid #dbe5f2;
  box-shadow: var(--shadow-1);
}

body.theme-light .pdt-shots-track {
  scrollbar-color: #9aa5b5 #d5d9df;
}

body.theme-light .pdt-shots-track::-webkit-scrollbar-track {
  background: #d5d9df;
  border-radius: 999px;
}

body.theme-light .pdt-shots-track::-webkit-scrollbar-thumb {
  background: #9aa5b5;
}

body.theme-light .pdt-desc-title {
  color: #102745;
}

body.theme-light .pdt-desc-card p,
body.theme-light .about-points li {
  color: #506685;
}

body.theme-light .pdt-version-main strong {
  color: #102745;
}

body.theme-light .btn-secondary,
body.theme-light .btn-soft-white,
body.theme-light .btn-card-secondary,
body.theme-light .btn-secondary-alt {
  background: #ffffff;
  border: 1px solid #dce6f5;
  box-shadow: var(--shadow-1);
}

body.theme-light .panel-label {
  background: #eaf1ff;
  border: 1px solid #d5e4ff;
  color: #183b8c;
}

body.theme-light .panel-card {
  background: linear-gradient(135deg, #eef3ff 0%, #f5f9ff 48%, #eef6ff 100%);
}

body.theme-light .app-icon,
body.theme-light .category-icon {
  background: linear-gradient(135deg, #eef2ff, #f7f3ff);
  border: 1px solid #dce6f5;
  color: #7a8baa;
}

body.theme-light .btn-card-primary {
  background: #eaf1ff;
  border: 1px solid #c7dafd;
  color: #1d4ed8;
}

body.theme-light .list-filter,
body.theme-light .search-query-pill,
body.theme-light .search-suggestion,
body.theme-light .page-btn,
body.theme-light .page-dots {
  background: #ffffff;
  border: 1px solid #dce6f5;
  box-shadow: var(--shadow-1);
}

body.theme-light .search-empty-icon {
  background: linear-gradient(180deg, #f4f7fb 0%, #edf1f7 100%);
  border: 1px solid #dce6f5;
  color: #102745;
}

body.theme-light .list-filter.active,
body.theme-light .page-btn.is-current {
  background: #102745;
  border-color: #102745;
  color: #ffffff;
}

body.theme-light .list-thumb {
  background: linear-gradient(180deg, #f4f7fb 0%, #edf1f7 100%);
}

body.theme-light .list-tag {
  background: #f97316;
  color: #ffffff;
}

body.theme-light .list-tag-safe {
  background: #3b82f6;
}

body.theme-light .list-rating,
body.theme-light .star {
  color: #f97316;
}

body.theme-light .cta-core {
  background: linear-gradient(180deg, #eef4ff 0%, #f7fbff 55%, #eef6ff 100%);
  color: #102745;
  border-top: 1px solid #dce6f5;
  border-bottom: 1px solid #dce6f5;
}

body.theme-light .core-stats div {
  background: rgba(16,39,69,0.03);
  border: 1px solid #dce6f5;
}

body.theme-light .footer {
  border-top: 1px solid rgba(16,39,69,0.08);
}

/* Dark */
body.theme-dark {
  color: #eaf2ff;
  background:
    radial-gradient(circle at 10% 10%, rgba(59,130,246,0.18), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(59,130,246,0.12), transparent 30%),
    linear-gradient(180deg, #060e1c 0%, #09172a 100%);
}

body.theme-dark .topbar {
  background: rgba(10,20,40,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.theme-dark .theme-switcher {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

body.theme-dark .menu-toggle {
  background: rgba(255,255,255,0.08);
  color: #eaf2ff;
  border-color: rgba(255,255,255,0.12);
}

body.theme-dark .theme-btn {
  color: #aac1e2;
}

body.theme-dark .theme-btn.is-active {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
}

body.theme-dark .brand-copy span,
body.theme-dark .nav-links,
body.theme-dark .hero-sub,
body.theme-dark .hero-stats span,
body.theme-dark .breadcrumb,
body.theme-dark .search-query-line,
body.theme-dark .list-meta,
body.theme-dark .list-submeta,
body.theme-dark .section-head p,
body.theme-dark .news-meta,
body.theme-dark .news-body p,
body.theme-dark .news-foot,
body.theme-dark .news-article-date,
body.theme-dark .news-article-lead,
body.theme-dark .news-content-block p,
body.theme-dark .card-title p,
body.theme-dark .category p,
body.theme-dark .update span,
body.theme-dark .why-card p,
body.theme-dark footer,
body.theme-dark .mini-tile span,
body.theme-dark .panel-card p,
body.theme-dark .cta-core-copy p,
body.theme-dark .core-app span,
body.theme-dark .core-stats span,
body.theme-dark .section-link,
body.theme-dark .category small,
body.theme-dark .footer-links a,
body.theme-dark .version {
  color: #9fb4d7;
}

body.theme-dark .search input {
  background: #0f223d;
  border: 1px solid rgba(255,255,255,0.08);
  color: #eaf2ff;
}
body.theme-dark .search img { opacity: 0.86; }

body.theme-dark .hero-shell,
body.theme-dark .hero-panel,
body.theme-dark .panel-card,
body.theme-dark .mini-tile,
body.theme-dark .card,
body.theme-dark .news-card,
body.theme-dark .pdt-comment-list article,
body.theme-dark .pdt-faq-list details,
body.theme-dark .list-card,
body.theme-dark .search-empty-card,
body.theme-dark .category,
body.theme-dark .update,
body.theme-dark .why-card,
body.theme-dark .core-panel-card {
  background: linear-gradient(180deg, #0f223d 0%, #0b1a33 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

body.theme-dark .eyebrow,
body.theme-dark .proof-pill,
body.theme-dark .verified,
body.theme-dark .mini-safe,
body.theme-dark .core-badge,
body.theme-dark .core-tag {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.20);
  color: #bfdbfe;
}

body.theme-dark .eyebrow .dot,
body.theme-dark .proof-pill .check,
body.theme-dark .why-check {
  background: #3b82f6;
}

body.theme-dark .title-dark,
body.theme-dark .section-head h2,
body.theme-dark .card-title h3,
body.theme-dark .news-body h3,
body.theme-dark .news-article-title,
body.theme-dark .news-content-block h2,
body.theme-dark .news-author-name,
body.theme-dark .collection-card h3,
body.theme-dark .list-page-title,
body.theme-dark .list-card-body h3,
body.theme-dark .category h3,
body.theme-dark .update strong,
body.theme-dark .why-card h3,
body.theme-dark .cta-core-copy h2,
body.theme-dark .panel-card h3,
body.theme-dark .core-app strong,
body.theme-dark .hero-stats strong,
body.theme-dark .btn-secondary,
body.theme-dark .btn-card-secondary,
body.theme-dark .btn-secondary-alt {
  color: #eaf2ff;
}

body.theme-dark .news-body h3 a:hover {
  color: #93c5fd;
}

body.theme-dark .news-tag {
  background: rgba(132,204,22,0.22);
  border: 1px solid rgba(163,230,53,0.4);
  color: #d9f99d;
}

body.theme-dark .news-author-role {
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(74,222,128,0.42);
  color: #bbf7d0;
}

body.theme-dark .news-article-divider {
  background: rgba(255,255,255,0.12);
}

body.theme-dark .news-article {
  background: linear-gradient(180deg, #0f223d 0%, #0b1a33 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

body.theme-dark .title-accent {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.theme-dark .btn-primary,
body.theme-dark .btn-soft-green {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 12px 30px rgba(59,130,246,0.40);
}

body.theme-dark .pdt-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #9fb4ff;
}

body.theme-dark .pdt-date {
  color: #aac1e2;
}

body.theme-dark .pdt-first-rating .star.on {
  color: #7481ff;
}

body.theme-dark .pdt-first-rating .star.off {
  color: rgba(255,255,255,0.25);
}

body.theme-dark .pdt-first-download {
  background: linear-gradient(180deg, #6c70ef 0%, #5b61ea 100%);
  color: #ffffff;
}

body.theme-dark .pdt-first-desc {
  color: #c6d6ef;
}

body.theme-dark .pdt-apk-title {
  color: #eaf2ff;
}

body.theme-dark .pdt-apk-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.1);
}

body.theme-dark .pdt-apk-key {
  color: #eaf2ff;
}

body.theme-dark .pdt-apk-value {
  color: #d6e4fa;
}

body.theme-dark .pdt-apk-accent {
  color: #60a5fa;
}

body.theme-dark .pdt-modinfo-title {
  color: #eaf2ff;
}

body.theme-dark .pdt-modinfo-intro {
  color: #c6d6ef;
}

body.theme-dark .pdt-modinfo-list li {
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  color: #d6e4fa;
}

body.theme-dark .pdt-mod-badge {
  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.32);
  color: #bfdbfe;
}

body.theme-dark .pdt-shots-title {
  color: #eaf2ff;
}

body.theme-dark .pdt-shot-item {
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

body.theme-dark .pdt-shots-track {
  scrollbar-color: rgba(255,255,255,0.38) rgba(255,255,255,0.14);
}

body.theme-dark .pdt-shots-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}

body.theme-dark .pdt-shots-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.38);
}

body.theme-dark .pdt-desc-title {
  color: #eaf2ff;
}

body.theme-dark .pdt-desc-card p,
body.theme-dark .about-points li {
  color: #c6d6ef;
}

body.theme-dark .pdt-version-main strong {
  color: #eaf2ff;
}

body.theme-dark .btn-secondary,
body.theme-dark .btn-soft-white,
body.theme-dark .btn-card-secondary,
body.theme-dark .btn-secondary-alt {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-dark .panel-label {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.20);
  color: #bfdbfe;
}

body.theme-dark .panel-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.10) 45%, rgba(96,165,250,0.08) 100%);
}

body.theme-dark .app-icon,
body.theme-dark .category-icon,
body.theme-dark .core-icon {
  background: linear-gradient(135deg, rgba(96,165,250,0.16), rgba(139,92,246,0.18));
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
}

body.theme-dark .btn-card-primary {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.30);
  color: #bfdbfe;
}

body.theme-dark .list-filter,
body.theme-dark .search-query-pill,
body.theme-dark .search-suggestion,
body.theme-dark .page-btn,
body.theme-dark .page-dots {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-dark .search-empty-icon {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eaf2ff;
}

body.theme-dark .list-filter.active,
body.theme-dark .page-btn.is-current {
  background: #ffffff;
  border-color: #ffffff;
  color: #09172a;
}

body.theme-dark .list-thumb {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.05) 100%);
}

body.theme-dark .list-tag {
  background: #f97316;
  color: #ffffff;
}

body.theme-dark .list-tag-safe {
  background: #3b82f6;
}

body.theme-dark .list-rating,
body.theme-dark .star {
  color: #fb923c;
}

body.theme-dark .cta-core {
  background: linear-gradient(180deg, #020617 0%, #050f1e 100%);
  color: #eaf2ff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.theme-dark .core-stats div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

body.theme-dark .footer {
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Mobile priority: show CTA in first screen */
@media (max-width: 1080px) {
  .hero-grid,
  .cta-core-wrap {
    grid-template-columns: 1fr;
  }

  .pdt-first-head {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .pdt-first-icon {
    width: 160px;
    height: 160px;
  }

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

  .pdt-community-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .categories,
  .why-grid,
  .collection-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-article-title {
    font-size: clamp(1.55rem, 5vw, 2.2rem);
  }

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

  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar { position: sticky; top: 0; }

  .nav {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 12px;
    min-height: auto;
  }

  .brand {
    min-width: auto;
  }

  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: 0.78rem; }

  .search {
    order: 5;
    width: 100%;
  }

  .search input {
    height: 46px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin-top: 2px;
    padding: 10px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .theme-switcher {
    margin-left: 0;
    order: 3;
  }

  .theme-btn {
    min-width: 58px;
    height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  body.theme-light .nav-links {
    background: #ffffff;
    border: 1px solid #dce6f5;
    box-shadow: var(--shadow-1);
  }

  body.theme-light .nav-links a {
    background: rgba(16,39,69,0.03);
  }

  body.theme-dark .nav-links {
    background: linear-gradient(180deg, #0f223d 0%, #0b1a33 100%);
    border: 1px solid rgba(255,255,255,0.08);
  }

  body.theme-dark .nav-links a {
    background: rgba(255,255,255,0.04);
  }

  .hero {
    padding: 14px 0 18px;
  }

  .hero-shell {
    padding: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 12px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .hero-sub {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .proof-row {
    gap: 8px;
    margin-top: 14px;
  }

  .proof-pill {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-actions,
  .panel-actions,
  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn,
  .search-actions .btn,
  .panel-actions a,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-actions-primary {
    margin-top: 16px;
  }

  .hero-stats {
    margin-top: 16px;
    gap: 16px;
  }

  .hero-panel {
    order: 3;
    margin-top: 4px;
  }

  .pdt-layout {
    grid-template-columns: 1fr;
  }

  .pdt-main-grid {
    grid-template-columns: 1fr;
  }

  .pdt-main {
    padding: 18px;
  }

  .pdt-section-card {
    padding: 18px;
  }

  .pdt-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .pdt-version-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .pdt-version-download {
    width: 100%;
  }

  .pdt-app-icon {
    max-width: 150px;
  }

  .pdt-first-card {
    padding: 16px;
  }

  .pdt-first-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pdt-first-icon {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }

  .pdt-first-rating .star {
    font-size: 1.6rem;
  }

  .pdt-first-rating {
    flex-wrap: nowrap;
    align-items: center;
  }

  .pdt-rating-text {
    margin-left: 6px;
    width: auto;
    font-size: 1rem;
  }

  .pdt-first-download {
    width: 100%;
    font-size: 1.05rem;
    min-height: 48px;
  }

  .pdt-first-desc {
    font-size: 1rem;
  }

  .pdt-apk-card {
    padding: 16px;
  }

  .pdt-apk-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 4px;
  }

  .pdt-apk-value {
    justify-self: start;
    text-align: left;
  }

  .pdt-modinfo-card {
    padding: 16px;
  }

  .pdt-modinfo-list li {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .pdt-mod-badge {
    width: 22px;
    height: 22px;
    font-size: 0.74rem;
  }

  .pdt-shots-card {
    padding: 16px;
  }

  .pdt-shots-track {
    grid-auto-columns: 86%;
    gap: 10px;
  }

  .pdt-desc-card {
    padding: 16px;
  }

  .cards,
  .categories,
  .why-grid,
  .collection-grid,
  .news-grid,
  .list-grid {
    grid-template-columns: 1fr;
  }

  .list-card-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .breadcrumb {
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    text-overflow: clip;
  }

  .breadcrumb a,
  .breadcrumb-sep {
    overflow: visible;
    text-overflow: clip;
    flex: 0 0 auto;
  }

  .list-page-title {
    font-size: 1.55rem;
  }

  .news-article {
    padding: 14px;
  }

  .news-article-title {
    font-size: 1.45rem;
  }

  .news-author-avatar {
    width: 42px;
    height: 42px;
  }

  .news-social {
    width: 100%;
    justify-content: flex-start;
  }

  .list-thumb {
    min-height: 160px;
  }

  .list-app-icon {
    width: 84px;
    height: 84px;
  }

  .pagination {
    gap: 8px;
  }

  .update {
    grid-template-columns: auto 1fr;
  }

  .version,
  .update .btn-card-primary {
    grid-column: 2;
  }

  .core-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Download page ── */
.dl-section {
  padding-top: 6px;
}

.dl-card {
  border-radius: 18px;
  padding: 28px;
}

.dl-meta {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid transparent;
}

.dl-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.dl-title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dl-updated {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.dl-tips {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.dl-tips-icon {
  flex-shrink: 0;
  font-size: 0.8rem;
}

.dl-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.dl-btn-fast {
  width: 100%;
  max-width: 480px;
  min-height: 58px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.01em;
}

.dl-btn-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.dl-fast-label {
  margin: -4px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.dl-btn-apk {
  width: 100%;
  max-width: 480px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.04em;
  border-width: 2px;
  border-style: solid;
}

.dl-btn-apk-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Download page – light theme */
body.theme-light .dl-meta {
  border-color: #dce6f5;
}

body.theme-light .dl-updated {
  color: #4a5f7d;
}

body.theme-light .dl-tips {
  color: #d97706;
}

body.theme-light .dl-tips-icon {
  color: #f59e0b;
}

body.theme-light .dl-fast-label {
  color: #506685;
}

body.theme-light .dl-btn-fast {
  background: linear-gradient(180deg, #5b8ef8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
}

body.theme-light .dl-btn-fast:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.42);
}

body.theme-light .dl-btn-apk {
  background: transparent;
  border-color: #2563eb;
  color: #2563eb;
}

body.theme-light .dl-btn-apk:hover {
  background: #eaf1ff;
}

/* Download page – dark theme */
body.theme-dark .dl-meta {
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .dl-updated {
  color: #9fb4d7;
}

body.theme-dark .dl-tips {
  color: #fbbf24;
}

body.theme-dark .dl-tips-icon {
  color: #f59e0b;
}

body.theme-dark .dl-fast-label {
  color: #9fb4d7;
}

body.theme-dark .dl-btn-fast {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.40);
}

body.theme-dark .dl-btn-fast:hover {
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.54);
}

body.theme-dark .dl-btn-apk {
  background: transparent;
  border-color: #60a5fa;
  color: #60a5fa;
}

body.theme-dark .dl-btn-apk:hover {
  background: rgba(59, 130, 246, 0.10);
}

/* History Versions */
.dl-history-section {
  padding-top: 6px;
}

.dl-history-card {
  border-radius: 18px;
  padding: 28px;
}

.dl-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dl-history-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.dl-history-bar {
  width: 32px;
  height: 3px;
  border-radius: 999px;
  margin-top: 7px;
  background: #2563eb;
}

.dl-history-more {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

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

.dl-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid transparent;
}

.dl-history-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dl-history-info strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.dl-history-meta {
  font-size: 0.88rem;
}

.dl-history-tag {
  font-size: 0.86rem;
  font-weight: 600;
}

.dl-history-dl {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
  gap: 8px;
}

.dl-history-dl-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* History Versions – light */
body.theme-light .dl-history-title {
  color: #102745;
}

body.theme-light .dl-history-more {
  background: #1a2e4a;
  color: #ffffff;
  border-color: #1a2e4a;
}

body.theme-light .dl-history-item {
  border-color: #dce6f5;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-1);
}

body.theme-light .dl-history-info strong {
  color: #102745;
}

body.theme-light .dl-history-meta {
  color: #506685;
}

body.theme-light .dl-history-tag {
  color: #2563eb;
}

body.theme-light .dl-history-dl {
  background: linear-gradient(180deg, #5b8ef8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37,99,235,0.28);
}

/* History Versions – dark */
body.theme-dark .dl-history-title {
  color: #eaf2ff;
}

body.theme-dark .dl-history-more {
  background: rgba(255,255,255,0.12);
  color: #eaf2ff;
  border: 1px solid rgba(255,255,255,0.18);
}

body.theme-dark .dl-history-item {
  border-color: rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.04) 100%);
}

body.theme-dark .dl-history-info strong {
  color: #eaf2ff;
}

body.theme-dark .dl-history-meta {
  color: #9fb4d7;
}

body.theme-dark .dl-history-tag {
  color: #60a5fa;
}

body.theme-dark .dl-history-dl {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}

/* Telegram Promo */
.telegram-promo-section {
  padding: 32px 0;
}

.telegram-promo-card {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #0088cc 0%, #0073aa 100%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 40px rgba(0,136,204,0.3);
  flex-wrap: wrap;
}

.telegram-promo-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.telegram-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #ffffff;
}

.telegram-promo-text h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.telegram-promo-text p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.telegram-promo-btn {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #0088cc;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.telegram-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  background: #f0f0f0;
}

.telegram-promo-btn svg {
  width: 16px;
  height: 16px;
  stroke: #0088cc;
}

body.theme-light .telegram-promo-card {
  background: linear-gradient(135deg, #0088cc 0%, #0073aa 100%);
}

body.theme-light .telegram-promo-text h3,
body.theme-light .telegram-promo-text p {
  color: #ffffff;
}

@media (max-width: 760px) {
  .dl-card {
    padding: 18px;
  }

  .dl-meta {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .dl-app-icon {
    width: 72px;
    height: 72px;
  }

  .dl-btn-fast,
  .dl-btn-apk {
    max-width: 100%;
  }

  .dl-history-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dl-history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dl-history-info {
    width: 100%;
  }

  .dl-history-dl {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Rating & Comments Module ===== */
.rc-section {
  padding: 32px 0 40px;
}

.rc-wrap {
  max-width: 780px;
}

.rc-section--centered .rc-wrap {
  margin: 0 auto;
  text-align: center;
}

.rc-section--centered .rc-stars {
  justify-content: center;
}

.rc-block-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

/* Star rating */
.rc-rating-block {
  margin-bottom: 28px;
}

.rc-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.rc-star {
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #c5cdd9;
  transition: color 0.15s ease, transform 0.12s ease;
  user-select: none;
}

.rc-star.on  { color: #f5a623; }
.rc-star.hover { color: #f5a623; transform: scale(1.15); }

.rc-rating-meta {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* Comment form */
.rc-comment-block {
  margin-bottom: 32px;
}

.rc-form {
  display: grid;
  gap: 12px;
}

.rc-textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-textarea:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.rc-input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rc-input:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.rc-form-error {
  margin: 0;
  font-size: 0.88rem;
  color: #ef4444;
}

.rc-submit-btn {
  justify-self: start;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 10px;
  border: none;
  background: #10b981;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.rc-submit-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Comments list */
.rc-comments-block {
  border-top: 1px solid transparent;
  padding-top: 22px;
}

.rc-comments-heading {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rc-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.rc-comment-item {
  border-top: 1px solid transparent;
  padding-top: 16px;
}

.rc-comment-item:first-child {
  border-top: none;
  padding-top: 0;
}

.rc-comment-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.rc-comment-author {
  font-size: 0.96rem;
  font-weight: 700;
}

.rc-comment-date {
  font-size: 0.82rem;
}

.rc-comment-text {
  margin: 0;
  line-height: 1.65;
  font-size: 0.96rem;
}

/* ---- Light theme ---- */
body.theme-light .rc-section {
  color: #102745;
}

body.theme-light .rc-comments-block,
body.theme-light .rc-comment-item {
  border-color: #dce6f5;
}

body.theme-light .rc-textarea,
body.theme-light .rc-input {
  background: #ffffff;
  border: 1px solid #dce6f5;
  color: #102745;
}

body.theme-light .rc-textarea:focus,
body.theme-light .rc-input:focus {
  border-color: #93c5fd;
}

body.theme-light .rc-comment-date {
  color: #667a99;
}

body.theme-light .rc-rating-meta {
  color: #466086;
}

/* ---- Dark theme ---- */
body.theme-dark .rc-section {
  color: #eaf2ff;
}

body.theme-dark .rc-comments-block,
body.theme-dark .rc-comment-item {
  border-color: rgba(255,255,255,0.09);
}

body.theme-dark .rc-textarea,
body.theme-dark .rc-input {
  background: #0f223d;
  border: 1px solid rgba(255,255,255,0.1);
  color: #eaf2ff;
}

body.theme-dark .rc-textarea::placeholder,
body.theme-dark .rc-input::placeholder {
  color: #5b7499;
}

body.theme-dark .rc-textarea:focus,
body.theme-dark .rc-input:focus {
  border-color: rgba(59,130,246,0.5);
}

body.theme-dark .rc-comment-date {
  color: #9fb4d7;
}

body.theme-dark .rc-rating-meta {
  color: #9fb4d7;
}
/* ===== /Rating & Comments Module ===== */
