:root {
  --bg: #0b0c10;
  --bg-elev: #14161e;
  --bg-soft: #1a1d27;
  --ink: #f3f5f8;
  --muted: #9aa3b5;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #e11d2e;
  --accent-2: #ff4d5e;
  --ok: #3dd68c;
  --bad: #ff6b7a;
  --radius: 20px;
  --phone-w: 220px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --sticky-h: 0px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1000px 520px at 85% -8%, rgba(225, 29, 46, 0.2), transparent 55%),
    radial-gradient(700px 420px at -5% 20%, rgba(55, 90, 160, 0.16), transparent 50%),
    var(--bg);
  line-height: 1.55;
  padding-bottom: calc(var(--sticky-h) + var(--safe-b));
  /* clip (not hidden) so nested horizontal shot-rail can still scroll on phones */
  overflow-x: clip;
}

body.lang-open { overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1120px, calc(100% - 1.25rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 2rem)); }
}

code {
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

/* ─── Top ─── */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.85rem + var(--safe-t)) 0 0.85rem;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 12, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
  min-width: 0;
}
.brand img { border-radius: 11px; flex-shrink: 0; }

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.92rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s;
}
.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 420px) {
  .nav-cta { display: none; }
}

/* ─── Language picker ─── */
.lang-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  min-height: 42px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.lang-btn:hover { border-color: rgba(255,255,255,0.28); }
.lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-code { letter-spacing: 0.04em; }
.lang-chevron { opacity: 0.7; font-size: 0.75rem; }

.lang-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 80;
  display: none;
}
.lang-backdrop.is-open { display: block; }

.lang-panel {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 1.25rem));
  max-height: min(78vh, 640px);
  display: none;
  flex-direction: column;
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(225,29,46,0.22), transparent 55%),
    var(--bg-elev);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden;
}
.lang-panel.is-open {
  display: flex;
  animation: panelIn 0.22s ease both;
}

.lang-panel[hidden],
.lang-backdrop[hidden] {
  display: none !important;
}

@keyframes panelIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.lang-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.55rem;
}
.lang-panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.lang-close {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.lang-search-wrap { display: block; padding: 0 1rem 0.75rem; }
.lang-search {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
}
.lang-search:focus { border-color: rgba(225,29,46,0.55); }
.lang-grid {
  overflow-y: auto;
  padding: 0.25rem 0.75rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 520px) {
  .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lang-option {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.7rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-align: start;
  font: inherit;
  min-height: 52px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.lang-option:hover,
.lang-option:focus-visible {
  border-color: rgba(225,29,46,0.45);
  background: rgba(225,29,46,0.12);
  outline: none;
}
.lang-option.active {
  border-color: rgba(225,29,46,0.7);
  background: rgba(225,29,46,0.18);
  box-shadow: inset 0 0 0 1px rgba(225,29,46,0.25);
}
.lang-option .f { font-size: 1.35rem; line-height: 1; }
.lang-option .n {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.lang-option .n strong {
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-option .n span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── App hero (Play-style) ─── */
.app-hero {
  position: relative;
  padding: 1.5rem 0 1.25rem;
  overflow: visible;
}

.app-hero-bg {
  position: absolute;
  inset: -20% -10% auto;
  height: 220px;
  background:
    linear-gradient(120deg, rgba(225, 29, 46, 0.35), transparent 55%),
    url("assets/og-cover.jpg") center / cover;
  filter: blur(28px) saturate(1.2);
  opacity: 0.45;
  pointer-events: none;
  animation: glow 8s ease-in-out infinite alternate;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}

@keyframes glow {
  from { transform: scale(1); opacity: 0.4; }
  to { transform: scale(1.05); opacity: 0.55; }
}

.app-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon meta";
  column-gap: 0.9rem;
  row-gap: 0.5rem;
  align-items: start;
  animation: rise 0.7s ease both;
}
.app-icon-block {
  grid-area: icon;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.app-meta { grid-area: meta; min-width: 0; padding-top: 0.05rem; }

.app-version {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
  max-width: 7.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.chip {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.chip.accent {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

@media (max-width: 560px) {
  .app-row {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.7rem;
    align-items: start;
  }
  .app-icon-block { gap: 0.32rem; }
  .app-icon {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    max-width: none !important;
    border-radius: 18px;
  }
  .app-meta { padding-top: 0; }
  .app-meta h1 { font-size: 1.28rem; }
  .app-version { font-size: 0.68rem; max-width: 76px; }
  .chips { gap: 0.28rem; margin-top: 0.4rem; }
  .chip { font-size: 0.64rem; padding: 0.14rem 0.42rem; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.app-icon {
  width: 112px;
  height: 112px;
  min-width: 112px;
  min-height: 112px;
  max-width: none !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  background: #0a0a0a;
  display: block;
  flex-shrink: 0;
  box-sizing: border-box;
}

.app-meta h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.dev {
  margin: 0.25rem 0 0;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-votes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.hero-vote {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  touch-action: manipulation;
}
.hero-vote:active { transform: scale(0.98); }
.hero-vote.like:hover { border-color: rgba(52, 211, 153, 0.55); background: rgba(52, 211, 153, 0.1); }
.hero-vote.dislike:hover { border-color: rgba(248, 113, 113, 0.55); background: rgba(248, 113, 113, 0.1); }
.hero-vote:disabled { opacity: 0.55; cursor: default; }
.hero-vote-label { white-space: nowrap; }
.hero-vote-count {
  min-width: 1.1rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
}
.hero-vote.like .hero-vote-count { color: #6ee7b7; }
.hero-vote.dislike .hero-vote-count { color: #fca5a5; }
.hero-vote-note {
  margin: 0.35rem 0 0;
  min-height: 1em;
  color: var(--muted);
  font-size: 0.78rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
  margin: 0.55rem 0 0;
  padding-top: 0;
  width: auto;
}
.cta-row .btn-primary {
  white-space: nowrap;
}
.cta-row .btn-ghost {
  min-height: 0;
  padding: 0.08rem 0.05rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
  min-height: 42px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-compact {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    margin-top: 0.5rem;
    width: auto;
  }
  .cta-row .btn-primary {
    width: auto;
    padding: 0.5rem 0.9rem;
    min-height: 34px;
    font-size: 0.76rem;
    gap: 0.28rem;
    box-shadow: 0 8px 20px rgba(225, 29, 46, 0.28);
  }
  .cta-row .btn-primary svg { width: 14px; height: 14px; flex-shrink: 0; }
  .cta-row .btn-ghost {
    width: auto;
    align-self: flex-start;
    min-height: 0;
    padding: 0.08rem 0.05rem;
    font-size: 0.68rem;
    text-align: left;
    line-height: 1.25;
  }
  .app-hero { padding: 0.7rem 0 0.55rem; overflow: visible; }
  .app-hero-bg { height: 120px; filter: blur(20px) saturate(1.1); opacity: 0.32; }
  .app-meta h1 { font-size: 1.22rem; }
  .dev { font-size: 0.72rem; margin-top: 0.1rem; }
  .section { padding: 0.85rem 0; }
  #screens.section { padding-top: 0.7rem; }
  .section-head { margin-bottom: 0.5rem; }
  .section h2 { font-size: 1.12rem; }
  .lead { font-size: 0.84rem; margin-bottom: 0.7rem; }
  .top {
    padding: calc(0.5rem + var(--safe-t)) 0 0.5rem;
  }
  .brand { font-size: 0.95rem; gap: 0.4rem; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .lang-btn {
    min-height: 32px;
    padding: 0.22rem 0.5rem;
    font-size: 0.72rem;
    box-shadow: none;
  }
  .lang-flag { font-size: 0.95rem; }
  .feature { padding: 0.8rem 0.75rem; border-radius: 12px; }
  .feature strong { font-size: 0.9rem; }
  .feature p { font-size: 0.8rem; }
  .vote-card { padding: 0.75rem; border-radius: 12px; gap: 0.45rem; }
  .vote-card .count { font-size: 1.25rem; }
  .steps { padding: 0.8rem 0.8rem 0.8rem 1.55rem; border-radius: 12px; font-size: 0.84rem; }
  .video-card { border-radius: 12px; }
  .video-card .v-title { padding: 0.55rem 0.7rem; font-size: 0.82rem; }
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px rgba(225, 29, 46, 0.38);
}
.btn-primary:hover { background: #ff2a3c; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ─── Sections ─── */
.section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}
#screens.section {
  padding-top: 1.35rem;
}

.section-head { margin-bottom: 1.25rem; }

.section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 52ch;
}

.hint {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Screenshots rail (Play Market) ─── */
.shot-rail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  width: min(1120px, calc(100% - 0.5rem));
  margin-inline: auto;
}

.shot-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  overscroll-behavior-x: contain;
  /* isolate so body overflow-x does not kill swipe */
  isolation: isolate;
}
.shot-rail.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
  touch-action: none;
}

.shot-rail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.shot {
  flex: 0 0 auto;
  width: var(--phone-w);
  margin: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.2s;
  position: relative;
  aspect-ratio: 9 / 19.5;
  cursor: zoom-in;
  -webkit-user-drag: none;
}

.shot:hover { transform: translateY(-4px); border-color: rgba(225, 29, 46, 0.4); }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #12141c;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.shot.placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  background:
    linear-gradient(160deg, var(--bg-soft), var(--bg-elev));
}

.shot.placeholder strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.shot-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.7rem 0.65rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.shot-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(20, 22, 30, 0.9);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.shot-nav:hover { border-color: rgba(255,255,255,0.3); }

@media (max-width: 640px) {
  /* ~1.5 სურათი ჩანს — გვერდზე გადაწევა აშკარაა */
  :root { --phone-w: min(52vw, 190px); }
  .shot-nav { display: none; }
  .shot-rail-wrap {
    grid-template-columns: 1fr;
    width: 100%;
    overflow: visible;
  }
  .shot-rail {
    padding-inline: 0.75rem;
    padding-bottom: 0.85rem;
    gap: 0.55rem;
    scroll-padding-inline: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .shot { border-radius: 12px; margin: 0; scroll-snap-align: start; }
  .shot-cap {
    font-size: 0.68rem;
    padding: 1.2rem 0.5rem 0.45rem;
    pointer-events: none;
  }
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem;
  padding-top: calc(0.5rem + var(--safe-t));
  padding-bottom: calc(0.75rem + var(--safe-b));
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  touch-action: none;
}
.lightbox[hidden] { display: none !important; }
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}
.lightbox-img {
  max-width: min(96vw, 560px);
  max-height: min(86vh, 920px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.lightbox-img.is-swipe {
  transition: none;
}
.lightbox-cap {
  margin: 0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  max-width: 90vw;
}
.lightbox-close {
  position: absolute;
  top: calc(0.55rem + var(--safe-t));
  right: 0.55rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3;
}
.lightbox-nav.prev { left: 0.25rem; }
.lightbox-nav.next { right: 0.25rem; }
@media (max-width: 560px) {
  .lightbox-img {
    max-width: 94vw;
    max-height: 82vh;
    border-radius: 10px;
  }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }
}
body.lightbox-open { overflow: hidden; }

/* ─── Install / video ─── */
.install-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

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

.video-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-media {
  position: relative;
  width: 100%;
  background: #000;
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #000;
}
.video-card.is-short .video-media {
  max-width: 320px;
  margin: 0 auto;
}
.video-card.is-short iframe,
.video-card.is-short .video-play {
  aspect-ratio: 9 / 16;
}
.video-play {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  cursor: pointer;
  position: relative;
  background: #000;
  overflow: hidden;
}
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: inherit;
}
.video-play-ico {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(225, 29, 46, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.video-play-ico::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-play:hover .video-play-ico {
  transform: scale(1.05);
}

.video-card video {
  width: 100%;
  display: block;
  border: 0;
  background: #000;
  max-height: min(72vh, 720px);
  height: auto;
  object-fit: contain;
}

.video-card .v-title {
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.video-empty {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 40%, rgba(225,29,46,0.18), transparent 55%),
    var(--bg-soft);
}

.steps {
  margin: 0;
  padding: 1.2rem 1.2rem 1.2rem 2.2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.steps li { margin: 0.65rem 0; }
.steps strong { color: var(--ink); }

/* ─── Features ─── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
}

.feature {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  transition: border-color 0.2s, transform 0.25s ease;
}
.feature:hover {
  border-color: rgba(225, 29, 46, 0.35);
  transform: translateY(-2px);
}
.feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ─── Votes ─── */
.votes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 560px) {
  .votes { grid-template-columns: 1fr; }
}

.vote-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.vote-card .label { color: var(--muted); font-size: 0.9rem; }
.vote-card .count {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.vote-card.liked .count { color: var(--ok); }
.vote-card.disliked .count { color: var(--bad); }
.vote-card button { align-self: start; }
.vote-card button:disabled { opacity: 0.55; cursor: default; }
.vote-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.85rem; }

/* ─── Comments ─── */
#comments {
  padding-bottom: 1.5rem;
}
.comments-box {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.comment-form { display: flex; flex-direction: column; gap: 0.75rem; }
.comment-fields {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.65rem;
}
@media (max-width: 640px) {
  .comment-fields { grid-template-columns: 1fr; }
  .comments-box { padding: 0.85rem; border-radius: 14px; }
  .comment-list {
    max-height: min(58vh, 460px);
    gap: 0.55rem;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}
.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  outline: none;
  resize: vertical;
}
.field input:focus,
.field textarea:focus { border-color: rgba(225,29,46,0.55); }
.comment-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.comment-status { margin: 0; color: var(--ok); font-size: 0.84rem; }
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.28) transparent;
}
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
}
.comment-empty { margin: 0; color: var(--muted); font-size: 0.9rem; }
.comment-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  flex-shrink: 0;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.comment-meta strong { font-size: 0.9rem; color: var(--ink); }
.comment-meta time { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.comment-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ─── Mobile sticky download ─── */
.mobile-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 0.85rem calc(0.65rem + var(--safe-b));
  background: linear-gradient(transparent, rgba(11,12,16,0.92) 28%, rgba(11,12,16,0.98));
  pointer-events: none;
  justify-content: center;
}
.mobile-sticky .sticky-dl {
  pointer-events: auto;
  width: auto;
  box-shadow: 0 14px 36px rgba(225, 29, 46, 0.42);
}

@media (max-width: 720px) {
  :root { --sticky-h: 58px; }
  .mobile-sticky {
    display: flex;
    padding: 0.45rem 0.75rem calc(0.45rem + var(--safe-b));
  }
  .mobile-sticky .sticky-dl {
    width: auto;
    min-width: 0;
    max-width: calc(100% - 1.5rem);
    margin-inline: auto;
    display: flex;
    min-height: 38px;
    padding: 0.5rem 1.2rem;
    font-size: 0.84rem;
    box-shadow: 0 10px 24px rgba(225, 29, 46, 0.32);
  }
  .mobile-sticky .sticky-dl svg { width: 15px; height: 15px; }
  .vote-card button { width: 100%; }
  .lang-panel.is-open {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-height: min(86vh, 720px);
    border-radius: 22px 22px 0 0;
    animation: sheetUp 0.24s ease both;
  }
  @keyframes sheetUp {
    from { transform: translateY(18px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
  }
}

@media (min-width: 421px) and (max-width: 720px) {
  .votes { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
}

@media (hover: none) {
  .shot:hover,
  .feature:hover { transform: none; }
}
