:root {
  --bg: #121821;
  --bg2: #0e131b;
  --card: #1a222e;
  --card2: #1e2735;
  --ink: #ffffff;
  --muted: #9aa4b5;
  --line: rgba(255, 255, 255, 0.06);
  --teal: #1ebba3;
  --teal2: #17a08b;
  --primary: #1ebba3;
  --button: #1ebba3;
  --star: #f6c344;
  --ribbon: #e53935;
  --ribbon-updated: #22c55e;
  --radius: 18px;
  --page: 1180px;
  --cols: 6;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --header-h: 70px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
body.scheme-light {
  --bg: #f3f5f8;
  --bg2: #e8ecf2;
  --card: #ffffff;
  --card2: #ffffff;
  --ink: #121821;
  --muted: #667085;
  --line: #e4e8ef;
  --shadow: 0 10px 28px rgba(18, 24, 33, 0.08);
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  padding-bottom: 4.5rem;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
.wrap {
  width: min(var(--page), calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}
#content { overflow-x: hidden; max-width: 100%; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header — Appyn style */
.site-header {
  background: rgba(18, 24, 33, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
body.scheme-light .site-header { background: rgba(255,255,255,0.94); }
body.header-fixed .site-header { position: sticky; top: 0; }
.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-title {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: #fff;
}
body.scheme-light .site-title { color: var(--ink); }
.custom-logo { max-height: 36px; width: auto; }
.primary-nav { justify-self: center; }
.primary-nav ul {
  display: flex; align-items: center; gap: 0.35rem;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.primary-nav a {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  font-weight: 650; font-size: 0.95rem; color: #d7dde8;
}
body.scheme-light .primary-nav a { color: #3a4558; }
.primary-nav .current-menu-item > a,
.primary-nav a:hover {
  background: var(--teal);
  color: #fff;
}
.primary-nav .sub-menu {
  display: none; position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.4rem; min-width: 180px; box-shadow: var(--shadow);
}
.primary-nav li { position: relative; }
.primary-nav li:hover > .sub-menu { display: grid; }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle {
  width: 46px; height: 26px; border-radius: 999px; border: 0;
  background: #2a3444; position: relative; cursor: pointer; color: #fff;
}
body.scheme-light .theme-toggle { background: #dbe2ee; color: #121821; }
.theme-toggle span { position: absolute; top: 50%; transform: translateY(-50%); font-size: 0.75rem; }
.theme-toggle__moon { left: 7px; }
.theme-toggle__sun { right: 7px; opacity: 0.45; }
body.scheme-light .theme-toggle__sun { opacity: 1; }
body.scheme-light .theme-toggle__moon { opacity: 0.45; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.72), rgba(18,24,33,0.92)),
    center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%231a3d35'/%3E%3Cstop offset='1' stop-color='%23121821'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='800' height='400' fill='url(%23g)'/%3E%3C/svg%3E");
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 0 2.6rem;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__desc {
  margin: 0 auto 1.4rem;
  max-width: 46rem;
  color: #c7d0de;
  font-size: 0.98rem;
}
.hero-search {
  position: relative;
  width: min(640px, 100%);
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}
.hero-search input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #121821;
  font-size: 1rem;
  min-height: 48px;
}
.hero-search__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.hero-search__btn:hover { background: var(--teal2); }
.hero-socials { display: flex; justify-content: center; gap: 0.65rem; flex-wrap: wrap; }
.hero-socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
}
.hero-socials .fb { background: #1877f2; }
.hero-socials .tw { background: #1da1f2; }
.hero-socials .ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.hero-socials .yt { background: #ff0000; }
.hero-socials .tg { background: #229ed9; }
.hero-socials .wa { background: #25d366; }

.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); z-index: 40; text-align: left; overflow: hidden;
}
.search-suggest a { display: block; padding: 0.75rem 1rem; color: var(--ink); }
.search-suggest a:hover { background: rgba(30,187,163,0.12); }

/* Sections */
.layout {
  display: grid; gap: 1.5rem; padding: 1.75rem 0 2rem;
  min-width: 0; max-width: 100%;
}
.layout__main { min-width: 0; max-width: 100%; }
.layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 280px; }
.section { margin-bottom: 2rem; min-width: 0; max-width: 100%; }
.section__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #c5ccd8;
}
body.scheme-light .section__title { color: #4b5568; }
.cat-bar {
  display: flex; gap: 0.5rem; overflow-x: auto; margin-bottom: 1.25rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar a {
  flex: 0 0 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.86rem; font-weight: 700; color: var(--muted);
}
.cat-bar a:hover { color: #fff; border-color: var(--teal); }

/* Top rated — contained slider (flex, not expanding grid) */
.rated-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0 2.75rem;
  box-sizing: border-box;
}
.rated-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.35rem 0 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  cursor: grab;
  touch-action: pan-x;
}
.rated-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rated-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.rated-card {
  flex: 0 0 300px;
  width: 300px;
  max-width: calc(100vw - 6rem);
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  position: relative;
  overflow: hidden;
}
.rated-card::after {
  content: "";
  position: absolute; left: 12%; right: 12%; bottom: 0; height: 3px;
  background: var(--teal); border-radius: 999px 999px 0 0;
  box-shadow: 0 0 18px rgba(30,187,163,0.65);
}
.rated-card__link {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0.9rem;
  align-items: center; padding: 1rem 1.05rem; min-height: 118px;
}
.rated-card__icon .app-icon,
.rated-card__icon img {
  width: 88px; height: 88px; border-radius: 22px; object-fit: cover;
}
.rated-card__meta { display: grid; gap: 0.18rem; min-width: 0; }
.rated-card__title {
  font-weight: 700; font-size: 1.02rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.rated-card__dev, .rated-card__ver { color: var(--muted); font-size: 0.82rem; }
.stars { color: #c5c9d6; font-size: 0.92rem; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 1px; }
.stars .is-on, .stars .is-half { color: var(--star); }
.stars em { font-style: normal; color: var(--muted); margin-left: 0.35rem; font-size: 0.8rem; font-weight: 700; }
body.scheme-light .stars { color: #d0d5dd; }

.app-detail__panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
  overflow: hidden;
}
.app-detail__content { margin: 1.25rem 0; font-size: 1.02rem; line-height: 1.65; }
.app-detail__content p { color: var(--muted); }
.app-hero__copy h1 { margin: 0 0 0.25rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.app-hero__icon { position: relative; flex: 0 0 auto; overflow: hidden; border-radius: 26px; }
.app-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin: 0.45rem 0 0.65rem; }
.app-meta-chip {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(30,187,163,0.12); color: var(--teal);
  font-size: 0.78rem; font-weight: 700;
}
.app-card__dev { margin: 0; color: var(--muted); font-size: 0.95rem; }
.status-pill {
  display: inline-block; margin-bottom: 0.4rem;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; color: #fff;
  background: var(--ribbon);
}
.status-pill--updated { background: var(--ribbon-updated); }
.app-crumbs {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  padding: 1.1rem 0 0; font-size: 0.84rem; color: var(--muted);
}
.app-crumbs a:hover { color: var(--teal); }
.download-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card2); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem 1.1rem; margin: 0 0 1rem;
}
.download-box__info { display: grid; gap: 0.15rem; min-width: 0; }
.download-box__info strong { font-size: 1rem; }
.download-box__info span { color: var(--muted); font-size: 0.84rem; }
.download-box--bottom { margin: 1.5rem 0; }
.app-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
  margin: 1.25rem 0; color: var(--muted); font-size: 0.88rem;
}
.app-share a {
  padding: 0.35rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; color: var(--ink);
}
.app-share a:hover { border-color: var(--teal); color: var(--teal); }
.section__title--ink { color: var(--ink) !important; }
.shots-section { margin: 1.5rem 0; }
.related-apps { margin-top: 2rem; }
.sticky-download {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 3.4rem; z-index: 55;
  padding: 0.65rem 1rem; background: rgba(18,24,33,0.92);
  border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
body.scheme-light .sticky-download { background: rgba(255,255,255,0.94); }
.sticky-download .btn { width: 100%; min-height: 48px; }
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-55%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--teal); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; z-index: 6;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.slider-nav:hover { background: var(--teal2); }
.slider-nav:disabled { opacity: 0.35; cursor: default; }
.slider-nav--prev { left: 0; }
.slider-nav--next { right: 0; }

/* Latest / related icon grid — Appyn style */
.app-grid,
.app-grid--icons {
  display: grid !important;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 1.35rem 0.85rem;
  width: 100%;
  max-width: 100%;
}
.app-grid--icons > .icon-card,
.app-grid > .icon-card {
  width: 100%;
  max-width: 120px;
  justify-self: center;
  margin: 0;
}
.icon-card { background: transparent; border: 0; box-shadow: none; text-align: center; }
.icon-card__link { display: grid; gap: 0.55rem; justify-items: center; }
.icon-card__media {
  position: relative;
  width: 104px; height: 104px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.icon-card__media .app-icon,
.icon-card__media img {
  width: 104px; height: 104px; border-radius: 24px; object-fit: cover;
}
.app-icon,
.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.app-icon--letter {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(145deg, #1ebba3, #0f766e);
  color: #fff; font-weight: 800; font-size: 2rem;
}
.icon-card__title {
  font-size: 0.86rem; font-weight: 700; color: #e8edf5;
  max-width: 130px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.scheme-light .icon-card__title { color: #1f2937; }
.icon-card__status,
.icon-card__dev {
  display: block; max-width: 130px;
  font-size: 0.72rem; color: var(--muted); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-card__stars { display: block; margin-top: 0.15rem; }
.icon-card__stars .stars { font-size: 0.72rem; }
.icon-card__stars .stars em { display: none; }

/* Blog cards — BetAPK / Appyn style */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.blog-card {
  display: grid; grid-template-columns: 110px 1fr; gap: 0.9rem;
  align-items: start; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 0.85rem; margin: 0;
}
.blog-card__media {
  display: block; width: 110px; height: 110px; border-radius: 12px; overflow: hidden;
  background: var(--bg2);
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #1ebba3, #0f766e); }
.blog-card__body h3 { margin: 0 0 0.35rem; font-size: 0.98rem; line-height: 1.3; }
.blog-card__body time { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 0.35rem; }
.blog-card__body p { margin: 0; color: var(--muted); font-size: 0.86rem; }

/* Appyn intermediate download page */
.download-page {
  max-width: 720px;
  padding: 1.5rem 0 3.5rem;
  text-align: center;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--teal); color: #fff; min-height: 40px;
  padding: 0.45rem 1.1rem; border-radius: 999px; font-weight: 800;
  margin: 0.5rem 0 1.25rem;
}
.btn-back:hover { background: var(--teal2); color: #fff; }
.download-page__head {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  text-align: left; margin: 0 auto 1.25rem; max-width: 560px;
}
.download-page__icon .app-icon,
.download-page__icon img {
  width: 72px; height: 72px; border-radius: 18px;
}
.download-page__head h1 {
  margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.45rem); line-height: 1.3;
}
.download-page__dev { margin: 0.25rem 0 0; color: var(--muted); }
.download-meta-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; text-align: left; margin: 0 0 1.5rem;
}
.download-meta-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 0.75rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--line);
  align-items: start;
}
.download-meta-row:last-child { border-bottom: 0; }
.download-meta-row span { color: var(--muted); font-size: 0.86rem; }
.download-meta-row strong { font-weight: 700; word-break: break-word; }
.download-links h2,
.install-box h2 {
  margin: 0 0 0.85rem; font-size: 1.05rem; text-align: left;
}
.download-wait {
  color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem;
}
.download-wait__num { color: var(--teal); font-size: 1.15rem; }
.btn-download--xl {
  min-height: 54px; padding: 0.75rem 1.6rem; font-size: 1.05rem;
  width: min(100%, 360px); border-radius: 14px; gap: 0.45rem;
}
.btn-download__ico { font-size: 1.1rem; }
.download-verified {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0.9rem 0 0; color: #22c55e; font-weight: 700; font-size: 0.9rem;
}
.download-verified__check {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 0.75rem;
}
.install-box {
  margin-top: 1.75rem; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem 1.2rem; text-align: left;
}
.install-box ol {
  margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: 0.45rem;
}

/* Diagonal ribbons */
.ribbon {
  position: absolute; top: 10px; left: -28px; width: 96px;
  transform: rotate(-45deg);
  text-align: center; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.04em; color: #fff; padding: 0.28rem 0;
  background: var(--ribbon); box-shadow: 0 2px 8px rgba(0,0,0,0.25); z-index: 2;
}
.ribbon--updated { background: var(--ribbon-updated); }

/* Buttons / single / misc */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0.5rem 1.15rem; border-radius: 999px; font-weight: 800; border: 0;
  cursor: pointer; white-space: nowrap;
}
.btn-get, .btn-download { background: var(--teal); color: #fff; }
.btn-download:hover { background: var(--teal2); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--teal); }
.app-hero {
  display: flex; gap: 1.15rem; align-items: flex-start;
  margin: 0 0 1.1rem; min-width: 0;
}
.app-hero__copy { min-width: 0; flex: 1; }
.app-hero__icon .app-icon, .app-hero__icon img { width: 108px; height: 108px; border-radius: 26px; }
.app-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; margin: 0.85rem 0 0; }
.info-table {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin: 0;
}
.info-table div {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.75rem 0.85rem; min-width: 0;
}
body.scheme-light .info-table div { background: #f7f9fc; }
.info-table dt { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
.info-table dd { margin: 0.2rem 0 0; font-weight: 750; word-break: break-word; }
.shots {
  display: flex; gap: 0.65rem; overflow-x: auto; margin: 0.5rem 0 1rem;
  padding-bottom: 0.35rem; scrollbar-width: none; -ms-overflow-style: none;
  max-width: 100%;
}
.shots::-webkit-scrollbar { display: none; }
.shots img { height: 240px; width: auto; max-width: none; border-radius: 16px; border: 1px solid var(--line); flex: 0 0 auto; }
.blog-list, .widget { display: grid; gap: 0.75rem; }
.widget {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0.95rem;
}
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg2); padding: 1.75rem 0 5.5rem;
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.disclaimer { color: var(--muted); font-size: 0.84rem; }
.vanta-ad {
  margin: 1rem auto; width: min(var(--page), calc(100% - 2rem));
  max-width: 100%; text-align: center; overflow: hidden;
}
.bottom-dock { display: none; }
.empty-note { color: var(--muted); }
.entry-page { padding: 1.5rem 0 3rem; }
.single-app { padding-bottom: 3rem; max-width: 100%; overflow: hidden; }
.app-cats { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0; }
.app-cats a {
  display: inline-block; padding: 0.2rem 0.55rem;
  border-radius: 999px; background: rgba(30,187,163,0.12); color: var(--teal); font-size: 0.78rem; font-weight: 700;
}

/* Comments */
.comments-area {
  margin: 1.75rem 0 1rem; padding: 1.15rem 1.2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
}
.comments-area h2, .comments-area .comment-reply-title {
  margin: 0 0 0.75rem; font-size: 1.1rem;
}
.comments-area textarea,
.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"] {
  width: 100%; max-width: 100%;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.75rem 0.9rem; font: inherit;
}
.comments-area .form-submit { margin: 0.75rem 0 0; }
.comments-area .submit,
.comments-area input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0.5rem 1.15rem; border: 0; border-radius: 999px;
  background: var(--teal); color: #fff; font-weight: 800; cursor: pointer;
}
.comment-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.85rem; }
.comment-list .comment-body {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.85rem 1rem;
}

@media (max-width: 1100px) {
  .app-grid, .app-grid--icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-bar { grid-template-columns: auto 1fr auto; }
  .primary-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.85rem 1rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .layout.has-sidebar, .footer-grid, .info-table { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .download-meta-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .download-page__head { flex-direction: column; text-align: center; }
  .app-grid, .app-grid--icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rated-slider { padding: 0 2.4rem; }
  .rated-card { flex-basis: 260px; width: 260px; }
  .bottom-dock {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed;
    left: 0; right: 0; bottom: 0; background: rgba(18,24,33,0.96);
    border-top: 1px solid var(--line); z-index: 60; backdrop-filter: blur(10px);
  }
  body.scheme-light .bottom-dock { background: rgba(255,255,255,0.96); }
  .bottom-dock a { text-align: center; padding: 0.85rem 0.2rem; font-weight: 750; font-size: 0.82rem; color: #cfd6e2; }
  body.scheme-light .bottom-dock a { color: #3a4558; }
  body.single-app .sticky-download { display: block; }
  body.single-app { padding-bottom: 7.5rem; }
  .download-box { flex-direction: column; align-items: stretch; }
  .download-box .btn { width: 100%; }
  .app-hero { flex-direction: column; align-items: center; text-align: center; }
  .app-hero__copy { width: 100%; }
  .app-hero__meta, .app-cats, .app-actions { justify-content: center; }
}
@media (max-width: 560px) {
  .app-grid, .app-grid--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-card__media, .icon-card__media .app-icon, .icon-card__media img { width: 92px; height: 92px; }
  .info-table { grid-template-columns: 1fr 1fr; }
  .app-hero__icon .app-icon, .app-hero__icon img { width: 96px; height: 96px; }
}
