/* ============================================================
   Melian App Store: public styles (also the base for the admin area)
   Mobile first. Deep blue brand, light surfaces, rounded cards.
   ============================================================ */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU7NSg.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../../s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_m07NSg.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../../s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0nNSg.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../../s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_TknNSg.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(../../s/plusjakartasans/v12/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_KUnNSg.ttf) format("truetype"); }

:root {
  --brand: #0a3f9e;
  --brand-600: #0b4bb8;
  --brand-700: #083480;
  --brand-900: #061f4d;
  --brand-50: #eef4ff;
  --accent: #b21b36;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ok: #047857;
  --ok-bg: #e7f6ef;
  --warn: #92400e;
  --warn-bg: #fff4e0;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(10, 63, 158, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: #eef2f7; padding: .1em .4em; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid #7aa7ff; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.ico { flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 68px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 52px; height: auto; }
.brand__text strong { color: var(--brand); font-weight: 800; }
.nav { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { color: var(--text); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--brand-50); text-decoration: none; }
.nav a.is-active { background: var(--brand-50); color: var(--brand); }
.nav__out { color: var(--muted) !important; font-weight: 500 !important; }
.burger { margin-left: auto; border: 0; background: transparent; padding: 8px; border-radius: 10px; color: var(--ink); cursor: pointer; }
.burger:hover { background: var(--brand-50); }
.topbar.is-open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }

/* ---------- Search ---------- */
.search { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; color: var(--muted); }
.search:focus-within { border-color: #7aa7ff; box-shadow: 0 0 0 4px rgba(10, 63, 158, .12); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 11px 0; }
.search--compact { display: none; margin-left: auto; width: 260px; }
.search--hero { max-width: 640px; margin: 28px auto 0; padding: 6px 6px 6px 22px; box-shadow: var(--shadow); border-color: transparent; }
.search--hero input { font-size: 1.05rem; padding: 14px 0; }
.search--hero button { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; padding: 13px 26px; border-radius: 999px; cursor: pointer; }
.search--hero button:hover { background: var(--brand-600); }
.suggest { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; text-align: left; }
.suggest a, .suggest .suggest__skel { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
.suggest a:hover, .suggest a.is-focus { background: var(--brand-50); text-decoration: none; }
.suggest__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.suggest__text strong { font-size: .95rem; }
.suggest__text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__none { padding: 12px; color: var(--muted); font-size: .92rem; }
.suggest__skel span { display: block; border-radius: 8px; }
.suggest__all { justify-content: center; color: var(--brand) !important; font-weight: 700; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, var(--brand-900), var(--brand) 55%, #1668d8); color: #fff; text-align: center; }
.hero__inner { padding: 64px 20px 72px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
.hero__lead { max-width: 640px; margin: 18px auto 0; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: .85rem; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: rgba(255, 255, 255, .9); font-size: .92rem; font-weight: 500; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Sections, chips, grid ---------- */
main { min-height: 60vh; }
.section { padding: 34px 0 6px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__head h2, .section__title { font-size: 1.35rem; margin-bottom: 14px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; transition: all .15s; }
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: #9db8ec; background: var(--brand-50); text-decoration: none; }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-active small { color: rgba(255, 255, 255, .8); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }

/* ---------- App cards and icons ---------- */
.app-icon { flex: none; border-radius: 22%; object-fit: cover; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 6px 16px -8px rgba(15, 23, 42, .3); }
.app-icon--placeholder { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; box-shadow: none; }
.app-card { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8f3; text-decoration: none; }
.app-card__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.app-card__name { color: var(--ink); font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.app-card__cat { color: var(--brand); font-size: .82rem; font-weight: 600; }
.app-card__desc { color: var(--muted); font-size: .9rem; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; color: var(--muted); font-size: .8rem; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: all .15s; text-decoration: none !important; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(10, 63, 158, .8); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--brand-50); border-color: #b9ccf2; }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger-ghost { background: #fff; color: var(--err); border-color: #f1c5c0; }
.btn--danger-ghost:hover { background: var(--err-bg); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--sm { padding: 7px 13px; font-size: .84rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; pointer-events: none; }

/* ---------- Flash messages ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; max-width: var(--wrap); margin: 16px auto 0; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .94rem; font-weight: 500; }
.flash .ico { margin-top: 3px; }
.flash--ok { background: var(--ok-bg); color: var(--ok); }
.flash--info { background: var(--brand-50); color: var(--brand-700); }
.flash--warn { background: var(--warn-bg); color: var(--warn); }
.flash--err { background: var(--err-bg); color: var(--err); }
main > .flash:first-child { margin-left: 20px; margin-right: 20px; }
@media (min-width: 1220px) { main > .flash:first-child { margin-left: auto; margin-right: auto; } }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 56px 20px; max-width: 520px; margin: 24px auto; }
.empty__art { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid #d8e5ff; }
.empty h2 { font-size: 1.4rem; margin-bottom: 8px; }
.empty p { color: var(--muted); }
.empty--sm { padding: 36px 20px; }

.notice-band { display: flex; gap: 14px; align-items: flex-start; margin: 40px 0 8px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid #d3e2ff; color: var(--brand-700); }
.notice-band p { margin: 0; }
.notice-inline { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }

/* ---------- Pages ---------- */
.page { padding: 28px 20px 40px; }
.page--narrow { max-width: 820px; }
.page__head { margin-bottom: 20px; }
.page__head h1 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.select { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.select select, .field select { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
#results { transition: opacity .15s; }
#results.is-loading { opacity: .45; pointer-events: none; }
.pager { display: flex; justify-content: center; margin-top: 26px; }
.pagination { display: flex; align-items: center; gap: 14px; }
.pagination__btn { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); }
.pagination__btn.is-disabled { opacity: .4; }
.pagination__info { color: var(--muted); font-size: .9rem; }

/* Skeleton loading */
.skel { background: linear-gradient(90deg, #eceff5 25%, #f6f8fb 37%, #eceff5 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-card { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.skel-card .skel:first-child { width: 64px; height: 64px; border-radius: 22%; flex: none; }
.skel-lines { flex: 1; display: grid; gap: 8px; align-content: start; }
.skel-lines .skel { height: 12px; }

/* ---------- App detail ---------- */
.detail-head { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.detail-head__icon { align-self: flex-start; }
.detail-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.detail-head__dev { color: var(--brand); font-weight: 600; margin: 6px 0 10px; }
.detail-head__short { color: var(--text); font-size: 1.05rem; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); line-height: 1.3; }
.stats li:last-child { border-right: 0; margin-right: 0; }
.stats strong { color: var(--ink); font-size: 1.05rem; }
.stats span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.detail-head__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots a { flex: none; scroll-snap-align: start; }
.shots img { height: 380px; width: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.detail-cols { display: grid; gap: 28px; margin-top: 8px; }
.prose { color: var(--text); font-size: 1.02rem; }
.info-card { align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 34px; }
.info-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.info-card dl { margin: 0; display: grid; gap: 12px; }
.info-card dt { color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-card dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.releases { list-style: none; display: grid; gap: 10px; }
.releases li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- Download page ---------- */
.dl-card { display: flex; flex-direction: column; gap: 20px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.dl-card h1 { font-size: 1.7rem; margin-bottom: 4px; }
.dl-card .btn { margin: 12px 0 8px; }
.steps { padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.hash { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.hash code { flex: 1; min-width: 220px; background: transparent; padding: 0; }

/* ---------- Footer ---------- */
.footer { margin-top: 60px; background: var(--brand-900); color: rgba(255, 255, 255, .78); }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.footer h2 { color: #fff; font-size: .95rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.footer__about { margin: 14px 0 0; max-width: 320px; font-size: .94rem; }
.brand--footer { color: #fff; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__logo { background: #fff; border-radius: 8px; padding: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }

/* ---------- Forms (shared) ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .92rem; }
.field > span { font-weight: 700; color: var(--ink); }
.field small, .form small { color: var(--muted); font-size: .8rem; }
.field input, .field textarea, .field select, .toolbar input, .toolbar select { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfd8e6; border-radius: 12px; padding: 11px 13px; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: #7aa7ff; box-shadow: 0 0 0 4px rgba(10, 63, 158, .12); }
.field input[readonly] { background: #f3f6fb; color: var(--muted); }
.field input[type=file] { padding: 9px; background: #f8fafd; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.count { font-style: normal; font-weight: 500; color: var(--muted); float: right; font-size: .8rem; }
.grid-2 { display: grid; gap: 16px; }

@media (min-width: 720px) {
  .nav { display: flex; }
  .burger { display: none; }
  .search--compact { display: flex; }
  .hero__inner { padding: 84px 20px 92px; }
  .detail-head { flex-direction: row; padding: 34px; gap: 30px; }
  .detail-cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .dl-card { flex-direction: row; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .shots img { height: 300px; }
  .search--compact { display: none; }
  .topbar.is-open .search--compact { display: flex; position: absolute; top: calc(68px + 190px); left: 20px; right: 20px; width: auto; }
  .releases li { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* ============================================================
   Play Store / App Store touches
   ============================================================ */

/* "Get" pill and chart rank on cards (App Store style) */
.app-card { align-items: center; position: relative; }
.app-card__get { margin-left: auto; flex: none; align-self: center; padding: 7px 20px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: .88rem; transition: background .15s, color .15s; }
.app-card:hover .app-card__get { background: var(--brand); color: #fff; }
.app-card__rank { position: absolute; top: 10px; left: 12px; font-weight: 800; font-size: .8rem; color: var(--muted); }
.app-card__rank + .app-icon, .app-card__rank + .app-icon--placeholder { margin-left: 14px; }

/* Spotlight: "app of the day" style banner */
.spotlight { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: -34px; position: relative; z-index: 2; padding: 28px 32px; border-radius: 28px; color: #fff; background: radial-gradient(600px 240px at 90% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #0b2a73, var(--brand) 60%, #1f78e6); box-shadow: 0 24px 50px -24px rgba(10, 63, 158, .8); }
.spotlight__label { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.spotlight h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 8px; }
.spotlight p { color: rgba(255, 255, 255, .86); max-width: 520px; margin-bottom: 16px; }
.spotlight__icon { border-radius: 26%; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); }

/* Play-style tab bar */
.tabs-bar { display: flex; gap: 6px; overflow-x: auto; margin: 26px 0 4px; border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tabs-bar a { flex: none; padding: 12px 18px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs-bar a:hover { color: var(--ink); text-decoration: none; }
.tabs-bar a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

/* Horizontal rails on phones (swipe like Google Play) */
@media (max-width: 719px) {
  .grid.rail { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .grid.rail::-webkit-scrollbar { display: none; }
  .grid.rail .app-card { flex: 0 0 86%; scroll-snap-align: start; }
  .spotlight { flex-direction: column-reverse; align-items: flex-start; padding: 24px; margin-top: -28px; }
  .spotlight__icon { width: 88px !important; height: 88px !important; }
}

/* Trust row */
.trust { display: grid; gap: 16px; margin: 46px 0 8px; }
.trust > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trust .ico { color: var(--brand); margin-bottom: 10px; }
.trust h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }

/* FAQ accordions */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text); }

/* App safety list (Play style) */
.safety { list-style: none; display: grid; gap: 14px; }
.safety li { display: flex; gap: 14px; align-items: flex-start; }
.safety .ico { color: var(--brand); margin-top: 2px; }
.safety strong { display: block; color: var(--ink); }
.safety span { color: var(--muted); font-size: .94rem; }

/* "Will it run on my phone?" notice */
.device-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.device-note .ico { margin-top: 2px; }
.device-note--ok { background: var(--ok-bg); color: var(--ok); }
.device-note--warn { background: var(--warn-bg); color: var(--warn); }
.device-note--info { background: var(--brand-50); color: var(--brand-700); }

.detail-head__tags { color: var(--muted); font-size: .92rem; margin: -4px 0 14px; }
.detail-head__tags a { color: var(--muted); font-weight: 600; }
.page__lead { font-size: 1.08rem; color: var(--text); max-width: 680px; margin: 8px 0 6px; }
.guide .table--plain th, .guide .table--plain td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.guide .table--plain th { background: #f8fafd; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.guide .table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.guide .table--plain { width: 100%; border-collapse: collapse; min-width: 560px; }
.footer__privacy { color: rgba(255, 255, 255, .6); }
