/* DownloadAja — clean UI (Built in XyVerse). Tanpa gradasi, ikon garis, light/dark otomatis. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --surface-3: #e4e4e7;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #09090b;
  --text-2: #3f3f46;
  --muted: #71717a;
  --accent: #6d4aff;
  --accent-hover: #5b38f0;
  --accent-soft: #f1edff;
  --accent-text: #5b38f0;
  --on-accent: #ffffff;
  --ok: #16a34a;
  --err: #dc2626;
  --err-soft: #fef2f2;
  --err-border: #fecaca;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.05);
  --shadow: 0 1px 2px rgba(9, 9, 11, 0.04), 0 8px 24px -16px rgba(9, 9, 11, 0.18);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans',
    'PingFang SC', 'Hiragino Sans', 'Microsoft YaHei', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --bg-subtle: #0c0c0f;
    --surface: #111114;
    --surface-2: #18181b;
    --surface-3: #27272a;
    --border: #232326;
    --border-strong: #3f3f46;
    --text: #fafafa;
    --text-2: #d4d4d8;
    --muted: #a1a1aa;
    --accent: #7c5cff;
    --accent-hover: #8f74ff;
    --accent-soft: rgba(124, 92, 255, 0.14);
    --accent-text: #b4a3ff;
    --err-soft: rgba(220, 38, 38, 0.1);
    --err-border: rgba(220, 38, 38, 0.35);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-size: 0.9em; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }
img { display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.container { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font: inherit; font-size: 0.94rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 0.88rem; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.btn .icon { width: 17px; height: 17px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.link-btn { background: none; border: 0; color: var(--accent-text); cursor: pointer; font: inherit; font-size: 0.85rem; padding: 2px 4px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav > a:not(.btn) { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; }
.nav nav > a:not(.btn):hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
@media (max-width: 640px) { .nav nav > a:not(.btn) { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { text-align: center; padding-top: clamp(40px, 9vw, 88px); padding-bottom: 12px; }
.eyebrow {
  display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-subtle);
  font-size: 0.82rem; font-weight: 500; color: var(--text-2);
}
h1 {
  font-size: clamp(2rem, 5.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em;
  margin: 18px auto 14px; max-width: 760px; font-weight: 800;
}
h1 .accent { color: var(--accent); }
.lead { color: var(--muted); max-width: 620px; margin: 0 auto 28px; font-size: clamp(1rem, 2.3vw, 1.1rem); }

.search {
  display: flex; gap: 8px; max-width: 720px; margin: 0 auto; padding: 6px;
  border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; padding-left: 10px; }
.field-icon { color: var(--muted); }
#url { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 1rem; }
#url::placeholder { color: var(--muted); }
@media (max-width: 560px) {
  .search { flex-direction: column; }
  #go { width: 100%; }
  #paste span { display: none; }
}

.detected { min-height: 30px; margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); flex-wrap: wrap; }

.logo-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px auto 0; max-width: 640px; }
.logo-strip img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px var(--border); }

.plogo { width: 20px; height: 20px; border-radius: 5px; flex: none; box-shadow: 0 0 0 1px var(--border); background: var(--surface-2); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 5px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 0.86rem; font-weight: 600; color: var(--text);
}

/* ------------------------------------------------------------------ cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.result { margin: 18px auto 8px; max-width: 800px; display: grid; gap: 16px; }
.entry { padding: 16px; animation: rise 0.25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.entry-head { display: flex; gap: 14px; align-items: flex-start; }
.thumb { position: relative; width: 144px; flex: none; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .dur { position: absolute; right: 6px; bottom: 6px; background: rgba(9, 9, 11, 0.78); color: #fff; padding: 1px 6px; border-radius: 5px; font-size: 0.74rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.thumb .dur:empty { display: none; }
.meta { flex: 1; min-width: 0; }
.platform { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.platform .count { color: var(--muted); font-weight: 500; }
.meta .title { margin: 6px 0 2px; font-size: 1.04rem; line-height: 1.35; font-weight: 650; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; }
.meta .uploader { margin: 0; font-size: 0.86rem; }
@media (max-width: 520px) { .thumb { width: 108px; } .meta .title { font-size: 0.96rem; } }

.tabs { display: inline-flex; gap: 2px; margin: 16px 0 12px; padding: 3px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); }
.tab { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.tab .icon { width: 16px; height: 16px; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }

.panel { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.opt:hover { border-color: var(--border-strong); }
.opt-main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.opt .q { font-weight: 700; min-width: 60px; font-variant-numeric: tabular-nums; }
.opt .desc { color: var(--muted); font-size: 0.86rem; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 0.74rem; font-weight: 600; }
.badge.accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.empty { color: var(--muted); font-size: 0.9rem; padding: 6px 2px; margin: 0; }

.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.live-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 4px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.seg-btn { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.seg-btn.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.gtile { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.gtile:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.gtile .ph { aspect-ratio: 3 / 4; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.15s ease, opacity 0.15s ease; }
.gtile:not(.selected) img { opacity: 0.55; }
.gtile.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gcheck { position: absolute; top: 7px; left: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 9, 11, 0.35); border: 2px solid #fff; color: transparent; }
.gcheck .icon { width: 14px; height: 14px; stroke-width: 3; }
.gtile.selected .gcheck { background: var(--accent); border-color: var(--accent); color: #fff; }
.gnum { position: absolute; top: 9px; right: 40px; font-size: 0.72rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.gbadge { position: absolute; left: 7px; bottom: 7px; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(9, 9, 11, 0.72); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.gbadge .icon { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.gzoom { position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(9, 9, 11, 0.45); color: #fff; cursor: pointer; }
.gzoom:hover { background: rgba(9, 9, 11, 0.7); }
.gzoom .icon { width: 15px; height: 15px; }
.gallery-bar { position: sticky; bottom: 10px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 8px 8px 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); }

.thumb.has-preview { cursor: pointer; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(9, 9, 11, 0.62); color: #fff; cursor: pointer; transition: background 0.15s ease, transform 0.1s ease; }
.play-btn:hover { background: var(--accent); transform: scale(1.04); }
.play-btn .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.player { position: relative; margin-top: 14px; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.player video { display: block; width: 100%; max-height: 70vh; background: #000; }
.player.portrait video { max-height: 78vh; }
.player-close { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(9, 9, 11, 0.6); color: #fff; cursor: pointer; }
.player.failed { background: var(--bg-subtle); }
.player.failed .player-close { background: var(--surface-3); color: var(--text); }
.player-msg { margin: 0; padding: 18px 52px 18px 16px; color: var(--muted); font-size: 0.9rem; }

body.noscroll { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 80; background: rgba(9, 9, 11, 0.94); display: flex; flex-direction: column; animation: fade 0.15s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.viewer-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; }
.viewer-count { font-size: 0.9rem; font-weight: 600; flex: 1; }
.viewer-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.viewer-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.viewer-btn:hover, .viewer-chip:hover { background: rgba(255, 255, 255, 0.2); }
.viewer-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 12px; touch-action: pan-y; }
.viewer-stage img, .viewer-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.viewer-stage .player-msg { color: #d4d4d8; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.viewer-nav:disabled { opacity: 0.25; cursor: default; }
.viewer-nav.prev { left: 12px; }
.viewer-nav.next { right: 12px; }
.viewer-bottom { display: flex; justify-content: center; gap: 10px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); }
.viewer-bottom .btn-secondary { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.viewer-bottom .btn-secondary.is-on { border-color: var(--accent); background: rgba(124, 92, 255, 0.25); }
@media (max-width: 560px) { .viewer-nav { display: none; } }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(9, 9, 11, 0.5); animation: fade 0.15s ease; }
.modal-box { width: 100%; max-width: 520px; max-height: min(86vh, 760px); display: flex; flex-direction: column; overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 10px 18px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 1.04rem; }
.modal-body { padding: 14px 18px 18px; overflow: auto; }
.modal-body > p { margin: 0 0 12px; }
.modal-banner { width: 100%; border-radius: 12px; margin-bottom: 14px; border: 1px solid var(--border); }
.changes { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.changes li { display: flex; gap: 10px; align-items: flex-start; }
.changes .icon { color: var(--ok); margin-top: 3px; }
.changes p { margin: 2px 0 0; }
.lic-list { display: grid; gap: 6px; margin-bottom: 14px; }
.lic { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.lic:hover { text-decoration: none; border-color: var(--border-strong); background: var(--bg-subtle); }
.lic div { display: grid; gap: 1px; min-width: 0; }
.built-line { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 6px 0 0; }

.promo { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; background: rgba(9, 9, 11, 0.55); animation: fade 0.2s ease; }
.promo-box { position: relative; width: min(420px, 100%); }
.promo-box img { width: 100%; height: auto; border-radius: 20px; cursor: pointer; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55); animation: rise 0.25s ease; }
.promo-x { position: absolute; top: -12px; right: -12px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--text); box-shadow: var(--shadow), 0 0 0 1px var(--border); cursor: pointer; }
.promo-x:hover { background: var(--surface-2); }
@media (max-width: 480px) { .promo-x { top: 8px; right: 8px; } }

.task { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-subtle); border: 1px solid var(--border); }
.task-top, .task-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.task-label { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.task-pct { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 10px 0 6px; }
.bar b { display: block; height: 100%; width: 0%; border-radius: 99px; background: var(--accent); transition: width 0.2s ease; }
.bar.indeterminate b { width: 30% !important; animation: indet 1.1s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
.task.done .bar b { background: var(--ok); }
.task.done .task-label { color: var(--ok); }
.task.error .bar b { background: var(--err); width: 100% !important; }
.task.error .task-label { color: var(--err); }

.error-card { padding: 16px 18px; border: 1px solid var(--err-border); background: var(--err-soft); border-radius: var(--radius); }
.error-card h3 { margin: 0 0 4px; font-size: 1rem; display: flex; align-items: center; gap: 8px; color: var(--err); }
.error-card p { margin: 0; color: var(--text-2); }
.error-card .btn { margin-top: 12px; }
.error-card details { margin-top: 10px; color: var(--muted); font-size: 0.8rem; word-break: break-word; }

.skeleton, .sk { border-radius: 12px; background: var(--surface-2); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
.loading-card { padding: 16px; display: flex; gap: 14px; }
.loading-card .sk-thumb { width: 144px; aspect-ratio: 16 / 10; }
.loading-card .sk-lines { flex: 1; display: grid; gap: 10px; align-content: start; }
.loading-tip { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 4px 0 0; }

/* ------------------------------------------------------------------ sections */
.section { margin-top: 80px; }
.section-head { margin-bottom: 20px; }
.section h2 { font-size: clamp(1.4rem, 3.2vw, 1.75rem); letter-spacing: -0.025em; margin: 0 0 6px; font-weight: 750; }
.section-head p { margin: 0; }

.regions { display: grid; gap: 12px; }
.region { padding: 16px; }
.region-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 650; }
.region-head .flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); }
.region-head .globe { width: 22px; height: 22px; color: var(--muted); }
.region-head small { color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 0.88rem; font-weight: 500; }
.chip[title] { cursor: help; }
.chip:hover { border-color: var(--border-strong); background: var(--bg-subtle); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.step { padding: 18px; }
.step-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.step h3 { margin: 14px 0 6px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
.chev { margin-left: auto; color: var(--muted); transition: transform 0.2s ease; }
details[open] .chev { transform: rotate(180deg); }
.tech { margin-top: 12px; padding: 14px 16px; }
.tech summary { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tech ul { margin: 12px 0 2px; padding-left: 20px; color: var(--muted); font-size: 0.92rem; }
.tech li { margin: 5px 0; }

.android { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: center; padding: clamp(20px, 4vw, 36px); }
.chip-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.android h2 { margin: 14px 0 8px; }
.checks { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; color: var(--text-2); font-size: 0.94rem; }
.checks .icon { color: var(--ok); width: 17px; height: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.android .small { margin: 12px 0 0; }
.phone { justify-self: center; width: 184px; height: 350px; padding: 9px; border-radius: 32px; background: var(--text); box-shadow: var(--shadow); }
.phone-screen { height: 100%; border-radius: 24px; background: var(--bg); padding: 16px 12px; display: grid; gap: 10px; align-content: start; }
.ph-row { display: flex; align-items: center; gap: 8px; }
.ph-row img { width: 22px; height: 22px; border-radius: 6px; }
.ph-row i { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-3); }
.ph-thumb { height: 86px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.ph-line { height: 8px; border-radius: 4px; background: var(--surface-3); }
.ph-line.short { width: 60%; }
.ph-btn { font-size: 0.72rem; font-weight: 700; text-align: center; padding: 9px; border-radius: 9px; background: var(--accent); color: #fff; }
.ph-btn.alt { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.ph-prog { height: 5px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.ph-prog b { display: block; height: 100%; width: 64%; background: var(--accent); animation: grow 2.6s ease-in-out infinite; }
@keyframes grow { from { width: 8%; } to { width: 96%; } }
@media (max-width: 720px) { .android { grid-template-columns: 1fr; } .phone { display: none; } }

.faq { display: grid; gap: 8px; }
.faq details { padding: 14px 16px; }
.faq summary { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); }

.footer { margin-top: 90px; border-top: 1px solid var(--border); background: var(--bg-subtle); }
.footer-inner { padding-top: 32px; padding-bottom: 40px; text-align: center; }
.built { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.92rem; }
.footer p { max-width: 640px; margin: 12px auto 0; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow); transition: all 0.2s ease; z-index: 60; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.built picture, .built img { display: block; width: 22px; height: 22px; object-fit: contain; }

/* ------------------------------------------------------------------ support / donate */
.support-card {
  display: grid; grid-template-columns: 1.4fr auto; gap: 20px; align-items: center;
  padding: clamp(20px, 4vw, 32px);
}
.support-text h2 { margin: 12px 0 8px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.support-note { margin: 14px 0 0; }
.support-badge {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  min-width: 200px;
}
.support-badge img { width: 48px; height: 48px; object-fit: contain; }
.support-badge b { display: block; font-size: 0.95rem; }
.support-badge span { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 720px) {
  .support-card { grid-template-columns: 1fr; }
  .support-side { display: none; }
}
