/* ============================================================
   AppStorrent New — Dark + Cyan  (mirrors appstorrent.click palette)
   cyan #00d9ff · bg #141414 · panel #1f1f1f · border #2c2c2c
   ============================================================ */
:root {
  --cyan:       #00d9ff;
  --cyan-dark:  #00b8e6;
  --cyan-deep:  #0098cc;
  --cyan-s:     rgba(0, 217, 255, .12);
  --cyan-glow:  rgba(0, 217, 255, .28);
  --ink:        #0d0d0d;
  --bg:         #141414;
  --bg-2:       #1a1a1a;
  --panel:      #1f1f1f;
  --panel-2:    #262626;
  --border:     #2c2c2c;
  --brd-s:      #3a3a3a;
  --text:       #e8e8e8;
  --soft:       #b8b8b8;
  --muted:      #888;
  --good:       #4cd97a;
  --good-s:     rgba(76, 217, 122, .13);
  --warn:       #ffb84d;
  --warn-s:     rgba(255, 184, 77, .13);
  --red:        #ff5c52;
  --grad:       linear-gradient(135deg, #00d9ff 0%, #00b8e6 55%, #0098cc 100%);
  --shadow:     0 8px 32px rgba(0,0,0,.6);
  --shadow-lg:  0 24px 80px rgba(0,0,0,.75);
  --glow-card:  0 0 28px -6px rgba(0, 217, 255, .22);
  --rad:        14px;
  --rad-sm:     8px;
  --rad-lg:     20px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --disp: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
section[id], h2[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 88% -8%,  rgba(0,217,255,.07), transparent 60%),
    radial-gradient(700px 400px at -8% 30%,  rgba(0,152,204,.05), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cyan-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; color: #fff; font-family: var(--disp); }
p { margin: 0 0 1em; color: var(--soft); }
strong { color: #fff; font-weight: 700; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: var(--ink); padding: .75rem 1rem; z-index: 1000; font-weight: 700; }
.skip:focus { left: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── NAV ───────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100; height: 62px;
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.nav.scrolled { background: rgba(13,13,13,.97); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 1.25rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: #fff; font-weight: 700; font-size: 1.06rem;
  font-family: var(--disp); letter-spacing: -.01em;
  flex-shrink: 0; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; border-radius: 0; }
.brand em { color: var(--soft); font-style: normal; font-weight: 400; }


.nav-links { display: none; gap: .1rem; margin-left: auto; }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-link {
  color: var(--soft); font-size: .83rem; font-weight: 600;
  padding: .38rem .8rem; border-radius: 7px;
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

.nav-burger {
  display: flex; margin-left: auto;
  background: transparent; border: 0; padding: 10px;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 860px) { .nav-burger { display: none; } }

.mobile-nav {
  display: none;
  position: fixed; inset: 64px 0 auto 0;
  background: rgba(10,12,18,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem;
  flex-direction: column; gap: .25rem;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: .85rem 0; color: var(--soft); font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.mobile-nav-link:hover { color: #fff; }
@media (min-width: 860px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* ─── HERO ──────────────────────────────────── */
.hero { padding: 6rem 0 5rem; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--cyan-s); border: 1px solid rgba(0,217,255,.25);
  color: var(--cyan); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .85rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); margin-bottom: .55rem; letter-spacing: -.04em; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; color: var(--soft); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.6; }

.hero-search {
  display: flex; align-items: center;
  max-width: 600px; margin: 0 auto 3.5rem;
  background: var(--panel); border: 1px solid var(--brd-s);
  border-radius: 50px; padding: .3rem .3rem .3rem 1.4rem; gap: .7rem;
  transition: border-color .2s, box-shadow .2s;
}
.hero-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-s); }
.hero-search input { flex: 1; background: none; border: none; outline: none; font: inherit; font-size: .96rem; color: var(--text); min-width: 0; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  background: var(--grad); color: var(--ink);
  font-weight: 700; font-size: .86rem; padding: .65rem 1.5rem;
  border-radius: 40px; flex-shrink: 0;
  transition: opacity .15s, transform .12s;
}
.hero-search button:hover { opacity: .88; transform: scale(1.02); }

.hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat-n { display: block; font-size: 1.9rem; font-weight: 800; font-family: var(--disp); color: var(--cyan); letter-spacing: -.04em; line-height: 1; margin-bottom: .15rem; }
.hstat-l { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

/* ─── INTRO BAND ────────────────────────────── */
.intro-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.intro-band .wrap-narrow p { font-size: 1.05rem; line-height: 1.75; color: var(--soft); }
.intro-band .wrap-narrow p + p { margin-top: -.2em; }
.intro-band h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 1rem; }

/* ─── CATEGORY SECTIONS ─────────────────────── */
.cat-section { padding: 4.5rem 0 5rem; border-top: 1px solid var(--border); }
.cat-section.alt { background: var(--bg-2); }
.cat-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(1.35rem, 2.8vw, 1.8rem); margin: 0; }
.cat-emoji { font-size: 1.4rem; line-height: 1; }
.see-all {
  margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--cyan);
  padding: .36rem .85rem; border: 1px solid rgba(0,217,255,.22); border-radius: 20px;
  transition: background .15s, border-color .15s, color .15s;
}
.see-all:hover { background: var(--cyan-s); border-color: var(--cyan); color: #fff; }

/* ─── APP CARDS — 5 columns → 2 rows × 5 = 10 ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 1000px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .55rem; padding: 1.35rem 1rem 1.1rem;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; cursor: pointer; position: relative;
  transition: background .18s, border-color .18s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.cat-section.alt .app-card { background: var(--bg-2); }
.app-card:hover {
  background: var(--panel-2); border-color: var(--brd-s);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(0,217,255,.08);
}
.app-icon {
  width: 68px; height: 68px; border-radius: 16px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.app-info { width: 100%; }
.app-name {
  font-size: .88rem; font-weight: 700; color: #fff; line-height: 1.3;
  margin-bottom: .2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-meta {
  display: flex; align-items: center; justify-content: center;
  gap: .15rem; font-size: .7rem; flex-wrap: wrap;
}
.app-ver { color: var(--cyan); font-weight: 600; }
.app-os { color: var(--muted); }
.app-os::before { content: "·"; padding: 0 .2rem; color: var(--brd-s); }
.app-right {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: .35rem;
}
.app-btn {
  background: var(--cyan-s); color: var(--cyan);
  border: 1px solid rgba(0,217,255,.3); font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; padding: .32rem .9rem; border-radius: 20px;
  cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
  text-decoration: none; display: inline-block; white-space: nowrap;
}
.app-btn:hover {
  background: var(--cyan); color: var(--ink); border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,217,255,.35);
}
.app-sz { font-size: .68rem; color: var(--muted); }

.badge {
  position: absolute; top: .6rem; right: .6rem;
  font-size: .56rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .13rem .42rem; border-radius: 5px; line-height: 1.4;
}
.badge-new { background: var(--cyan); color: var(--ink); }
.badge-upd { background: var(--warn-s); color: var(--warn); border: 1px solid rgba(255,184,77,.3); }
.badge-hot { background: rgba(255,92,82,.13); color: var(--red); border: 1px solid rgba(255,92,82,.28); }

/* ─── FEATURES SECTION ──────────────────────── */
.features-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-head p { color: var(--soft); max-width: 500px; margin: .5rem auto 0; }
.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-s); border: 1px solid rgba(0,217,255,.2);
  padding: .28rem .82rem; border-radius: 999px; margin-bottom: .75rem;
}
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--rad);
  padding: 1.75rem 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat-card:hover { border-color: var(--brd-s); transform: translateY(-3px); box-shadow: var(--glow-card); }
.feat-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.feat-card h3 { font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.feat-card p { font-size: .88rem; line-height: 1.65; color: var(--soft); margin: 0; }

/* ─── SPLIT SECTION ─────────────────────────── */
.split-section { padding: 5rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 720px) { .split-grid { grid-template-columns: 1fr; } }
.split-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--rad);
  padding: 2rem;
}
.split-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}
.split-label.mac { background: var(--cyan-s); color: var(--cyan); border: 1px solid rgba(0,217,255,.2); }
.split-label.win { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.split-card h3 { font-size: 1.05rem; color: #fff; margin-bottom: .75rem; }
.split-card p { font-size: .9rem; color: var(--soft); line-height: 1.7; margin-bottom: .75rem; }
.split-card p:last-child { margin-bottom: 0; }

/* ─── ARTICLE SECTION ───────────────────────── */
.article-section { padding: 5.5rem 0; border-top: 1px solid var(--border); }
.article { color: var(--soft); }
.article p { font-size: .96rem; line-height: 1.78; margin-bottom: 1rem; }
.article h2 { font-size: 1.2rem; color: #fff; margin: 2.25rem 0 .75rem; letter-spacing: -.01em; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.02rem; color: #fff; margin: 1.5rem 0 .55rem; font-weight: 700; letter-spacing: -.01em; }
.article ul { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--soft); }
.article ul li { font-size: .96rem; line-height: 1.7; margin-bottom: .35rem; }
.article ul li::marker { color: var(--cyan); }
.article strong { color: var(--text); font-weight: 600; }
.article em { font-style: italic; color: var(--text); }
.article a { color: var(--cyan); }
.article a:hover { color: var(--cyan-dark); }

/* ─── OS GRID ────────────────────────────────── */
.os-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; }
@media (max-width: 900px) { .os-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px)  { .os-grid { grid-template-columns: repeat(2, 1fr); } }

.os-card {
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  padding: 1.4rem 1rem 1.1rem;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--rad);
  text-align: center;
  transition: background .18s, border-color .18s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.os-card:hover { background: var(--panel-2); border-color: var(--brd-s); transform: translateY(-3px); box-shadow: var(--shadow); }
.os-img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.os-name { font-size: .85rem; font-weight: 700; color: #fff; line-height: 1.2; }
.os-year { font-size: .68rem; color: var(--muted); margin-top: .08rem; }
.os-tag { font-size: .6rem; font-weight: 700; padding: .16rem .5rem; border-radius: 999px; }
.os-latest { background: var(--good-s); color: var(--good); }
.os-stable  { background: var(--cyan-s); color: var(--cyan); }
.os-legacy  { background: rgba(255,255,255,.05); color: var(--muted); }

/* ─── STATS BAND ────────────────────────────── */
.stats-band {
  padding: 5rem 0; background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 4rem; }
.stat { text-align: center; }
.stat-n {
  font-size: 2.8rem; font-weight: 800; font-family: var(--disp);
  letter-spacing: -.04em; line-height: 1; margin-bottom: .3rem; color: var(--cyan);
}
.stat-l { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }

/* ─── FAQ ───────────────────────────────────── */
.faq-section { padding: 5.5rem 0; border-top: 1px solid var(--border); }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: .45rem; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--rad); overflow: hidden; transition: border-color .18s; }
.faq-item[open] { border-color: var(--brd-s); }
.faq-item summary {
  list-style: none; padding: 1rem 1.35rem;
  font-weight: 700; color: #fff; font-size: .92rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: background .15s; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--panel-2); }
.faq-item summary::after { content: "+"; font-size: 1.15rem; color: var(--cyan); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 1.35rem 1.1rem; color: var(--soft); font-size: .88rem; line-height: 1.7; border-top: 1px solid var(--border); }

/* ─── FOOTER ────────────────────────────────── */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; font-family: var(--disp); }
.foot-brand:hover { color: #fff; }
.foot-brand img { width: 32px; height: 32px; border-radius: 0; }
.foot-brand em { color: var(--soft); font-style: normal; font-weight: 400; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; }
.foot-links a { color: var(--soft); font-size: .8rem; padding: .3rem .72rem; border-radius: 20px; transition: color .15s, background .15s; }
.foot-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.foot-copy { font-size: .73rem; color: var(--muted); margin: 0; }

/* Cookie */
.cookie {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  background: var(--panel-2); border: 1px solid var(--brd-s); border-radius: var(--rad);
  padding: .8rem 1.2rem; display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; color: var(--soft); z-index: 999;
  max-width: calc(100vw - 2rem); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px);
}
.cookie p { margin: 0; }
.cookie button { background: var(--cyan); color: var(--ink); font-weight: 700; font-size: .76rem; padding: .38rem .85rem; border-radius: 6px; flex-shrink: 0; }
.cookie.hidden { display: none; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 720px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .stats-inner { gap: 2rem; }
}
@media (max-width: 480px) {
  .cat-section { padding: 3rem 0 3.5rem; }
  .hero h1 { font-size: 2.1rem; }
}

/* ============================================================
   CATALOG (listing + detail page styles)
   ============================================================ */
/* ============================================================
   AppStorrent Catalog — supplementary styles
   Loaded after styles.css. Uses same variables.
   Covers: breadcrumbs, listing filter chips, search dropdown,
           app-detail hero, spec table, screenshots, related,
           pagination, FAQ-page extras.
   ============================================================ */

/* ─── Page wrapper for listing/detail (sits below sticky nav) ─── */
.subpage {
  padding: 2.25rem 0 4rem;
  min-height: calc(100vh - 62px - 220px);
}

/* ─── Breadcrumbs ─── */
.crumbs {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .35rem; font-size: .78rem;
  color: var(--muted); margin-bottom: 1.4rem;
}
.crumbs a { color: var(--soft); text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs .sep { color: var(--brd-s); padding: 0 .15rem; }
.crumbs .crumb-current { color: var(--text); font-weight: 600; }

/* ─── Listing page header ─── */
.listing-head {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.listing-head h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0; display: flex; align-items: center; gap: .65rem;
}
.listing-head .cat-emoji { font-size: 1.6rem; line-height: 1; }
.listing-count {
  margin-left: auto;
  font-size: .78rem; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border);
  padding: .35rem .8rem; border-radius: 20px;
}

.listing-lead {
  color: var(--soft); font-size: .98rem; line-height: 1.7;
  max-width: 760px; margin: 0 0 1.6rem;
}

/* ─── Search bar (used on listing & FAQ pages) ─── */
.subpage-search {
  position: relative; max-width: 720px; margin: 0 0 1.6rem;
}
.subpage-search-form {
  display: flex; align-items: center;
  background: var(--panel); border: 1px solid var(--brd-s);
  border-radius: 50px; padding: .3rem .3rem .3rem 1.2rem; gap: .5rem;
  transition: border-color .2s, box-shadow .2s;
}
.subpage-search-form:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-s); }
.subpage-search-form input {
  flex: 1; background: none; border: none; outline: none;
  font: inherit; font-size: .92rem; color: var(--text); min-width: 0;
}
.subpage-search-form input::placeholder { color: var(--muted); }
.subpage-search-form button {
  background: var(--grad); color: var(--ink);
  font-weight: 700; font-size: .8rem; padding: .55rem 1.2rem;
  border-radius: 40px; flex-shrink: 0;
  transition: opacity .15s, transform .12s;
}
.subpage-search-form button:hover { opacity: .9; transform: scale(1.02); }

/* ─── Search results dropdown (used by hero + subpage) ─── */
.search-results-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  margin-top: .5rem; z-index: 120;
  background: var(--panel); border: 1px solid var(--brd-s);
  border-radius: 14px; padding: .6rem;
  box-shadow: var(--shadow-lg);
  max-height: 480px; overflow-y: auto;
}
.search-results-dropdown[hidden] { display: none; }
.search-results-dropdown .search-meta {
  font-size: .7rem; color: var(--muted);
  padding: .3rem .55rem .55rem;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.search-results-list { display: flex; flex-direction: column; gap: 2px; }
.search-result-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .55rem .7rem; border-radius: 9px;
  text-decoration: none; color: var(--text);
  transition: background .15s;
}
.search-result-item:hover, .search-result-item:focus-visible {
  background: var(--panel-2); color: var(--text); outline: 0;
}
.search-result-item img {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.search-result-text { flex: 1; min-width: 0; text-align: left; }
.search-result-name {
  color: #fff; font-weight: 700; font-size: .9rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}
.search-result-meta {
  display: flex; justify-content: flex-start; gap: .6rem;
  font-size: .72rem; color: var(--muted);
  margin-top: .15rem; text-align: left;
}
.search-results-dropdown .search-meta { text-align: left; }
.search-result-meta span:not(:last-child)::after { content: "·"; padding-left: .55rem; color: var(--brd-s); }
.search-result-arrow {
  color: var(--cyan); font-size: 1.1rem; flex-shrink: 0;
  opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s;
}
.search-result-item:hover .search-result-arrow { opacity: 1; transform: translateX(0); }
.search-empty {
  padding: 1.2rem .7rem; text-align: center;
  font-size: .85rem; color: var(--soft);
}

/* Position hero search results below the hero search bar */
.hero-search-wrap { position: relative; max-width: 600px; margin: 0 auto 3.5rem; }
.hero-search-wrap .hero-search { margin: 0; }

/* ─── Filter chips ─── */
.filter-chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin: 0 0 1.6rem;
}
.chip {
  background: var(--panel); color: var(--soft);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .35rem .9rem; font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { background: var(--panel-2); color: #fff; }
.chip.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }

/* ─── Listing grid (reuses .app-grid sizing) ─── */
.listing-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .listing-grid { grid-template-columns: 1fr; } }

.empty-state {
  text-align: center; padding: 4rem 1.5rem;
  border: 1px dashed var(--border); border-radius: var(--rad);
  color: var(--soft);
}
.empty-state strong { color: #fff; display: block; margin-bottom: .35rem; }

/* ─── Pagination ─── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: .35rem; margin-top: 2rem; flex-wrap: wrap;
}
.page-btn, .page-arrow {
  background: var(--panel); color: var(--soft);
  border: 1px solid var(--border); border-radius: 8px;
  padding: .42rem .8rem; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.page-btn:hover, .page-arrow:hover:not([disabled]) { background: var(--panel-2); color: #fff; }
.page-btn.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.page-arrow[disabled] { opacity: .4; cursor: not-allowed; }

/* ─── App detail page ─── */
.detail-hero {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.8rem; align-items: start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 2rem;
  margin-bottom: 2.25rem;
}
@media (max-width: 700px) {
  .detail-hero { grid-template-columns: 1fr; padding: 1.5rem; }
  .detail-hero-icon { margin: 0 auto; }
}
.detail-hero-icon {
  width: 130px; height: 130px;
  border-radius: 26px; object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
}
.detail-hero-body { min-width: 0; }
.detail-tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-s);
  border: 1px solid rgba(0,217,255,.2);
  padding: .22rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}
.detail-hero-body h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 .5rem; line-height: 1.1;
}
.detail-short {
  color: var(--soft); font-size: 1rem; line-height: 1.65;
  margin: 0 0 1.4rem; max-width: 640px;
}
.detail-meta-row {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem;
}
.meta-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--soft); font-size: .76rem; font-weight: 600;
  padding: .32rem .75rem; border-radius: 8px;
}
.meta-pill .meta-pill-l {
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-right: .15rem; font-weight: 700;
}
.meta-pill .meta-pill-v { color: #fff; font-weight: 700; }
.meta-pill.cyan .meta-pill-v { color: var(--cyan); }

.detail-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--grad); color: var(--ink);
  font-weight: 800; font-size: .88rem;
  padding: .75rem 1.5rem; border-radius: 999px;
  text-decoration: none;
  transition: opacity .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(0,217,255,.18);
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); color: var(--ink); box-shadow: 0 10px 28px rgba(0,217,255,.28); }
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--brd-s);
  font-weight: 600; font-size: .82rem;
  padding: .7rem 1.2rem; border-radius: 999px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-ghost:hover { background: var(--bg-2); color: #fff; border-color: var(--cyan); }

/* ─── Detail content layout ─── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem; align-items: start;
}
@media (max-width: 920px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-main h2 {
  font-size: 1.3rem; color: #fff;
  margin: 2.2rem 0 1rem; letter-spacing: -.01em;
}
.detail-main h2:first-child { margin-top: 0; }
.detail-main p {
  font-size: .97rem; line-height: 1.78; color: var(--soft); margin-bottom: 1rem;
}
.detail-main ul { margin: 0 0 1.2rem; padding-left: 1.2rem; color: var(--soft); }
.detail-main ul li { font-size: .95rem; line-height: 1.7; margin-bottom: .4rem; }
.detail-main ul li::marker { color: var(--cyan); }
.detail-main strong { color: var(--text); font-weight: 600; }
.detail-main em { font-style: italic; color: var(--text); }
.detail-main a { color: var(--cyan); }

/* Features bullet card row */
.feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem;
  margin: 0 0 1.4rem; padding: 0; list-style: none !important;
}
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--bg-2); border: 1px solid var(--border);
  padding: .65rem .85rem; border-radius: 10px;
  font-size: .87rem; color: var(--soft); line-height: 1.45;
}
.feature-list li::before {
  content: ""; display: block; width: 14px; height: 14px;
  background: var(--cyan); border-radius: 50%; flex-shrink: 0;
  margin-top: 4px; box-shadow: 0 0 0 4px var(--cyan-s);
}
.feature-list li::marker { display: none; }

/* ─── Screenshots gallery ─── */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  margin: 0 0 2rem;
}
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-shot {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--rad);
  aspect-ratio: 16 / 11; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .25s, border-color .2s, box-shadow .2s;
}
.gallery-shot:hover { transform: scale(1.03); border-color: var(--cyan); box-shadow: var(--glow-card); }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 2rem;
}
.lightbox.show { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh; border-radius: var(--rad);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--panel); color: #fff;
  border: 1px solid var(--brd-s); border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
}
.lightbox-close:hover { background: var(--panel-2); }

/* ─── Specs card (right column) ─── */
.spec-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 1.25rem 1.4rem;
  position: sticky; top: 80px;
}
.spec-card h3 {
  font-size: .76rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
  margin: 0 0 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border);
}
.spec-row {
  display: flex; justify-content: space-between;
  gap: 1rem; padding: .5rem 0;
  border-bottom: 1px solid var(--border); font-size: .82rem;
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-l { color: var(--muted); flex-shrink: 0; }
.spec-v {
  color: #fff; font-weight: 600; text-align: right;
  word-break: break-word; max-width: 65%;
}
.spec-v.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .72rem; color: var(--cyan); font-weight: 500;
}

/* ─── Related apps ─── */
.related-section { margin-top: 3rem; }
.related-section h2 {
  font-size: 1.2rem; color: #fff; margin: 0 0 1rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
}
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }

/* ─── FAQ-page extras ─── */
.faq-page-section { padding: 0 0 3rem; }
.faq-page-section .faq-list { max-width: none; }

/* ─── App download CTA bar (above features) ─── */
.dl-cta-bar {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, rgba(0,217,255,.08), rgba(0,152,204,.04));
  border: 1px solid rgba(0,217,255,.2);
  border-radius: var(--rad);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0 1.8rem;
  flex-wrap: wrap;
}
.dl-cta-bar svg {
  width: 28px; height: 28px; color: var(--cyan); flex-shrink: 0;
}
.dl-cta-text { flex: 1; min-width: 200px; }
.dl-cta-text strong { display: block; color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.dl-cta-text span { font-size: .8rem; color: var(--soft); }

/* ============================================================
   DETAIL PAGE — hub6-style layout in apps-torrent palette
   ============================================================ */

/* Hero: squircle + meta */
.detail-page .hero-section {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 1.75rem;
  margin: 1.4rem 0 2.5rem;
}
@media (max-width: 640px) {
  .detail-page .hero-section { grid-template-columns: 100px 1fr; gap: 1.1rem; }
}
.detail-page .squircle {
  width: 130px; height: 130px;
  border-radius: 28px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04);
  flex-shrink: 0;
}
@media (max-width: 640px) { .detail-page .squircle { width: 100px; height: 100px; border-radius: 22px; } }
.detail-page .squircle img { width: 100%; height: 100%; object-fit: cover; }

.detail-page .hero-meta h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 .55rem; line-height: 1.1;
}
.detail-page .cat-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
}
.detail-page .cat-tag {
  display: inline-block;
  background: var(--cyan-s); color: var(--cyan);
  border: 1px solid rgba(0,217,255,.22);
  padding: .25rem .7rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.detail-page .cat-tag:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.detail-page .cat-sep { color: var(--brd-s); font-weight: 700; }

/* Two-column layout */
.detail-page .two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem; align-items: start;
}
@media (max-width: 920px) { .detail-page .two-col { grid-template-columns: 1fr; } }

.detail-page .main-col { min-width: 0; }

/* Carousel */
.carousel-container {
  position: relative;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
  max-height: 460px;
  margin-bottom: 1rem;
}
.carousel-track {
  display: flex;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  height: 100%;
}
.carousel-slide {
  flex: 0 0 100%;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  background: var(--bg-2);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .35s ease;
}
.carousel-slide:hover img { transform: scale(1.02); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(20,20,20,.85); color: #fff;
  border: 1px solid var(--brd-s); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s;
}
.carousel-btn:hover { background: rgba(0,217,255,.18); border-color: var(--cyan); }
.carousel-btn.prev { left: .7rem; }
.carousel-btn.next { right: .7rem; }
.carousel-dots {
  display: flex; justify-content: center; gap: .35rem;
  margin: 0 0 1.6rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brd-s); cursor: pointer;
  border: 0; padding: 0;
  transition: background .15s, transform .15s;
}
.carousel-dot:hover { background: var(--soft); }
.carousel-dot.active { background: var(--cyan); transform: scale(1.3); }

/* Description card */
.desc-section { margin-bottom: 1.75rem; }
.desc-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 1.6rem 1.75rem;
}
.desc-card h2 {
  font-size: 1.3rem; color: #fff;
  margin: 0 0 .6rem;
  letter-spacing: -.015em;
}
.desc-underline {
  width: 44px; height: 3px;
  background: var(--cyan);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.desc-text p {
  font-size: .96rem; line-height: 1.78;
  color: var(--soft); margin: 0 0 1rem;
}
.desc-text p:last-of-type { margin-bottom: 1.3rem; }
.desc-text h3 {
  font-size: 1.02rem; color: #fff;
  margin: 1.4rem 0 .6rem; letter-spacing: -.01em;
}
.desc-text .feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 540px) { .desc-text .feature-list { grid-template-columns: 1fr; } }
.desc-text .feature-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  background: var(--bg-2); border: 1px solid var(--border);
  padding: .6rem .8rem; border-radius: 10px;
  font-size: .87rem; color: var(--soft); line-height: 1.45;
}
.desc-text .feature-list li::before {
  content: ""; flex-shrink: 0;
  width: 12px; height: 12px;
  margin-top: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cyan-s);
}

/* Section divider */
.section-divider {
  border: 0; border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* FAQ on detail page */
.faq-section-detail h2 {
  font-size: 1.3rem; color: #fff;
  margin: 0 0 1rem; letter-spacing: -.015em;
}
.faq-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  color: #fff; font-weight: 700; font-size: .92rem;
  transition: background .15s;
}
.faq-item:hover .faq-q { background: var(--panel-2); }
.faq-chevron {
  flex-shrink: 0; color: var(--cyan);
  transition: transform .25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 1.35rem;
  color: var(--soft); font-size: .88rem; line-height: 1.7;
  transition: max-height .3s ease, padding .25s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.35rem 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Related grid */
.related-section h2 {
  font-size: 1.3rem; color: #fff;
  margin: 0 0 1rem; letter-spacing: -.015em;
}
.related-section .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .85rem;
}
.related-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .55rem;
  padding: 1.2rem 1rem;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad);
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .2s, box-shadow .2s;
}
.related-card:hover {
  background: var(--panel-2); border-color: var(--brd-s);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.related-card img {
  width: 56px; height: 56px;
  border-radius: 14px; object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.related-name {
  color: #fff; font-weight: 700; font-size: .85rem;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.related-cat { color: var(--muted); font-size: .72rem; }

/* Comments */
.comments-section h2 {
  font-size: 1.3rem; color: #fff;
  margin: 0 0 1rem; letter-spacing: -.015em;
}
.comment-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 1.2rem;
  margin-bottom: .85rem;
}
.comment-input {
  width: 100%;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text); font: inherit; font-size: .9rem;
  padding: .7rem .9rem;
  margin-bottom: .65rem;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
  font-family: inherit;
}
.comment-input:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-s);
}
.comment-btn {
  background: var(--grad); color: var(--ink);
  font-weight: 700; font-size: .85rem;
  padding: .65rem 1.4rem;
  border-radius: 999px; border: 0;
  cursor: pointer;
  transition: opacity .15s, transform .12s;
}
.comment-btn:hover { opacity: .9; transform: translateY(-1px); }

.comment-item .comment-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .55rem;
}
.comment-name { color: #fff; font-weight: 700; font-size: .92rem; }
.comment-date { color: var(--muted); font-size: .72rem; }
.comment-body { color: var(--soft); font-size: .9rem; line-height: 1.65; margin: 0; }

.no-comments {
  text-align: center; color: var(--muted); font-size: .85rem;
  padding: 1.4rem 0; margin: 0;
}

/* Info-card (sticky right column) */
.info-aside { position: relative; }
.info-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 1.2rem 1.35rem;
  position: sticky; top: 80px;
}
.info-row {
  display: flex; justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.info-row:last-of-type { border-bottom: 0; }
.info-row-full {
  flex-direction: column; align-items: flex-start;
  gap: .25rem; padding: .7rem 0;
}
.info-l { color: var(--muted); flex-shrink: 0; font-weight: 600; }
.info-v {
  color: #fff; font-weight: 600;
  text-align: right; word-break: break-word; max-width: 60%;
}
.info-row-full .info-v {
  max-width: none; text-align: left;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .68rem; color: var(--cyan); font-weight: 500;
  background: var(--bg-2);
  padding: .5rem .7rem;
  border-radius: 6px;
  width: 100%; box-sizing: border-box;
  white-space: pre-wrap; word-break: break-all;
}
.info-v.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .68rem; color: var(--cyan); font-weight: 500;
}
.download-btn {
  display: flex; align-items: center; justify-content: center;
  gap: .55rem;
  background: var(--grad); color: var(--ink);
  font-weight: 800; font-size: .92rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 1.1rem;
  transition: opacity .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 8px 22px rgba(0,217,255,.22);
}
.download-btn:hover {
  opacity: .94; transform: translateY(-1px); color: var(--ink);
  box-shadow: 0 12px 30px rgba(0,217,255,.32);
}
.download-btn svg { width: 18px; height: 18px; }

/* Lightbox (full-screen with prev/next + counter) */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 2rem;
}
.lightbox-overlay.show { display: flex; }
.lightbox-stage {
  position: relative;
  max-width: 92vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  border-radius: var(--rad);
  box-shadow: var(--shadow-lg);
}
.lightbox-btn {
  background: var(--panel); color: #fff;
  border: 1px solid var(--brd-s); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.lightbox-btn:hover { background: var(--panel-2); border-color: var(--cyan); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
}
.lightbox-nav.prev { left: -64px; }
.lightbox-nav.next { right: -64px; }
@media (max-width: 700px) {
  .lightbox-nav.prev { left: .5rem; }
  .lightbox-nav.next { right: .5rem; }
}
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: var(--panel); color: #fff;
  border: 1px solid var(--brd-s);
  padding: .35rem 1rem; border-radius: 999px;
  font-size: .76rem; font-weight: 600;
}

/* Loading state on listing grid (visual cue during 1s filter delay) */
#listingGrid.loading { opacity: .4; transition: opacity .2s; pointer-events: none; }


/* ============================================================
   COMING-SOON / outage page
   ============================================================ */
.cs-page { padding: 4rem 0 5rem; text-align: center; }
.cs-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,184,77,.12); border: 1px solid rgba(255,184,77,.28);
  color: var(--warn); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .85rem; border-radius: 999px; margin-bottom: 2rem;
}
.cs-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  background: linear-gradient(135deg, var(--cyan-s), rgba(0,152,204,.08));
  border: 1px solid rgba(0,217,255,.22);
  border-radius: 50%;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  box-shadow: 0 12px 36px rgba(0,217,255,.14);
}
.cs-icon svg { width: 44px; height: 44px; }
.cs-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  color: #fff;
}
.cs-title .grad {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-subtitle {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--soft);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.cs-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 2rem 2.25rem;
  text-align: left;
  margin-bottom: 1.4rem;
}
.cs-card h2 {
  font-size: 1.1rem; color: #fff;
  margin: 0 0 1.2rem;
  letter-spacing: -.015em;
}
.cs-checklist {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.cs-checklist li {
  display: flex; align-items: flex-start; gap: .85rem;
  font-size: .94rem; line-height: 1.55;
  color: var(--soft);
}
.cs-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan-s); color: var(--cyan);
  border: 1px solid rgba(0,217,255,.22);
  border-radius: 50%;
  font-weight: 800; font-size: .75rem;
  margin-top: 2px;
}
.cs-checklist strong { color: #fff; font-weight: 700; }
.cs-actions {
  display: flex; flex-wrap: wrap; gap: .65rem;
  margin-top: .25rem;
}
.cs-foot-note {
  color: var(--muted); font-size: .82rem; line-height: 1.55;
  margin: 1.2rem auto 0;
  max-width: 540px;
}
