/* ---------- Token desain ---------- */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #e8e8ed;
  --raised: #ffffff;
  --line: #d2d2d7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-ink: #ffffff;
  --link: #0066cc;
  --accent-soft: #e8e8ed;
  --ok: #0f7a4e;
  --ok-soft: #e2f4ea;
  --warn: #8a5300;
  --warn-soft: #fbefd9;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
  --max: 1080px;
  --gut: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1d1d1f;
    --surface-2: #2c2c2e;
    --raised: #636366;
    --line: #424245;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #0071e3;
    --accent-ink: #ffffff;
    --link: #2997ff;
    --accent-soft: #2c2c2e;
    --ok: #55c892;
    --ok-soft: #14301f;
    --warn: #e6ab55;
    --warn-soft: #33260f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5);
  }
}

/* ---------- Dasar ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 var(--font); letter-spacing: -.015em; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
main { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 64px; min-height: 70vh; outline: none; }
section { margin-top: 56px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.link { color: var(--link); font-size: 17px; white-space: nowrap; }
.link:hover { text-decoration: underline; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 4px var(--gut); display: flex; align-items: center; gap: 14px; min-height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--text); color: var(--bg); display: grid; place-items: center; }
.brand-mark svg { width: 16px; height: 16px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 12px; font-size: 14px; color: var(--text); opacity: .72; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 500; }
.search { flex: 1; min-width: 0; max-width: 260px; margin-left: auto; position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search input { width: 100%; height: 36px; border-radius: 10px; border: 0; background: var(--surface-2); padding: 0 12px 0 36px; font-size: 16px; }
.iconbtn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; flex: none; }
.iconbtn:hover { background: var(--surface-2); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 14px; display: grid; place-items: center; flex: none; }
.avatar.lg { width: 72px; height: 72px; font-size: 26px; }

/* ---------- Tombol & kontrol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 980px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font-weight: 400; cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.ghost:hover { background: var(--line); filter: none; }
.btn.soft { background: var(--surface-2); color: var(--link); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.light { background: #fff; color: #17171b; }
.seg { display: inline-flex; padding: 2px; background: var(--surface-2); border-radius: 10px; }
.seg button { min-height: 40px; padding: 0 22px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-weight: 500; color: var(--text); font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--raised); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 14px; font-weight: 600; }
.input, select.input { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; }
.err { color: #c62828; font-size: 14px; }
@media (prefers-color-scheme: dark) { .err { color: #ff8a80; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 0; font-size: 15px; cursor: pointer; }
.chip:hover { background: var(--surface-2); }
.pf { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.wait { background: var(--warn-soft); color: var(--warn); }
.stars { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stars svg { width: 13px; height: 13px; fill: #e8a200; stroke: none; }
.stars svg.off { fill: var(--line); }

/* ---------- Ikon aplikasi ---------- */
.icon { --s: 64px; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .225); background: linear-gradient(145deg, var(--c1), var(--c2)); display: grid; place-items: center; color: #fff; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 6px rgba(0, 0, 0, .12); }
.icon svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { --s: 48px; } .icon.lg { --s: 76px; } .icon.xl { --s: 120px; }

/* ---------- Beranda ---------- */
.home-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; margin: 28px 0 36px; }
.hero { display: flex; align-items: center; gap: 32px; padding: 40px; border-radius: 24px; background: var(--surface); color: var(--text); }
.hero .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hero h2 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 8px; letter-spacing: -.02em; }
.hero p { color: var(--muted); max-width: 46ch; }
.hero .acts { margin-top: 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero .icon { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.hero-side { margin-left: auto; display: flex; gap: 10px; }
.hero-side a { opacity: .9; } .hero-side a:hover { opacity: 1; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 208px; gap: 14px; overflow-x: auto; padding: 4px var(--gut) 12px; margin: 0 calc(var(--gut) * -1); scroll-snap-type: x proximity; scrollbar-width: thin; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 0; background: none; min-width: 0; }
.card:hover { opacity: .8; }
.card h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.card-m { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.price { font-size: 14px; font-weight: 600; color: var(--link); background: var(--surface); padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.chart { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.rank { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.rank .n { width: 22px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.rank .t { min-width: 0; flex: 1; }
.rank .t h3, .rank .t p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .t p { font-size: 14px; color: var(--muted); }

.home-top h1 { font-size: clamp(34px, 6vw, 56px); }
.home-top p { font-size: clamp(17px, 2.4vw, 24px); margin-top: 10px; }
.d-meta .link { font-size: inherit; }

/* ---------- Jelajah ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 8px; }
.filters select { min-height: 44px; border-radius: 10px; border: 0; background: var(--surface); padding: 0 14px; max-width: 100%; }
.count { margin: 14px 0; font-size: 14px; color: var(--muted); }
.empty { text-align: center; padding: 64px 16px; background: var(--surface); border-radius: 18px; }
.empty .ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 999px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.empty h2 { margin-bottom: 6px; } .empty .btn { margin-top: 18px; }

/* ---------- Detail ---------- */
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--text); }
.d-head { display: flex; gap: 24px; align-items: flex-start; }
.d-head .info { min-width: 0; flex: 1; }
.d-head h1 { font-size: clamp(26px, 4vw, 36px); }
.d-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--muted); }
.d-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 60ch; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--gut) 12px; margin: 28px calc(var(--gut) * -1) 0; scrollbar-width: thin; }
.shot { flex: none; border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.shot.mac { width: 440px; aspect-ratio: 16 / 10; }
.shot.ios { width: 190px; aspect-ratio: 9 / 19; border-radius: 28px; border: 5px solid var(--text); }
.m-bar { height: 22px; background: var(--surface-2); display: flex; gap: 5px; align-items: center; padding: 0 9px; flex: none; }
.m-bar b { width: 8px; height: 8px; border-radius: 9px; background: var(--line); }
.m-body { flex: 1; display: flex; min-height: 0; }
.m-side { width: 26%; background: linear-gradient(var(--c1), var(--c2)); opacity: .9; }
.shot.ios .m-side { display: none; }
.m-main { flex: 1; padding: 7%; display: flex; flex-direction: column; gap: 8%; min-width: 0; }
.m-main i, .m-cards i { display: block; border-radius: 6px; background: var(--surface-2); }
.m-h { height: 12%; width: 55%; background: var(--c1) !important; opacity: .85; }
.m-l { height: 7%; } .m-l.s { width: 70%; }
.m-hero { flex: 1.3; background: linear-gradient(135deg, var(--c1), var(--c2)) !important; }
.m-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.shot.ios .m-cards { grid-template-columns: repeat(2, 1fr); }
.shot.ios .m-cards i:last-child { display: none; }
.m-bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; }
.m-bars i { flex: 1; background: linear-gradient(var(--c1), var(--c2)) !important; border-radius: 4px 4px 0 0 !important; }
.d-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 36px; }
.d-cols h2 { margin-bottom: 12px; }
.d-cols .blk + .blk { margin-top: 32px; }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 4px; }
.panel { background: var(--surface); border-radius: 18px; padding: 24px; }
.kv { display: grid; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv div:last-child { border: 0; padding-bottom: 0; } .kv div:first-child { padding-top: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 500; }
.rate { display: flex; gap: 24px; align-items: center; margin-bottom: 18px; }
.rate .big { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.bars { flex: 1; display: grid; gap: 5px; max-width: 320px; }
.bars div { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.bars i { display: block; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bars i b { display: block; height: 100%; background: var(--text); border-radius: 6px; opacity: .7; }
.rev { padding: 16px 0; border-top: 1px solid var(--line); }
.rev-h { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 4px; }
.rev p { color: var(--muted); font-size: 15px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { text-align: center; padding: 0 8px; min-width: 0; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.about { max-width: 680px; margin-top: 32px; }
.about ul { margin-bottom: 16px; }
.small.link { font-size: 14px; }
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .facts div:nth-child(3) { border-left: 0; }
}

/* ---------- Keranjang, checkout, pustaka ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 24px; }
.line { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line .t { flex: 1; min-width: 0; }
.line .t p { font-size: 14px; color: var(--muted); }
.line .r { text-align: right; display: grid; gap: 4px; justify-items: end; }
.textbtn { background: none; border: 0; padding: 6px 0; color: var(--muted); cursor: pointer; font-size: 14px; text-decoration: underline; min-height: 32px; }
.textbtn:hover { color: var(--text); }
.sum { display: grid; gap: 10px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .tot { font-weight: 700; font-size: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.pay { display: grid; gap: 10px; }
.pay label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; min-height: 56px; }
.pay label:has(input:checked) { border-color: var(--link); box-shadow: 0 0 0 1px var(--accent); }
.pay input { accent-color: var(--link); width: 18px; height: 18px; }
.pay small { display: block; color: var(--muted); }
.sim { font-size: 13px; color: var(--warn); background: var(--warn-soft); padding: 8px 12px; border-radius: var(--r-sm); }
.done { text-align: center; max-width: 560px; margin: 24px auto 0; }
.done .ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.done .ok.neutral { background: var(--surface); color: var(--muted); }
.done .ok svg { width: 30px; height: 30px; }
.done .panel { text-align: left; margin: 24px 0; }
.key { font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 4px 8px; border-radius: 6px; letter-spacing: .03em; }
.lib-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Developer ---------- */
.dev-head { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.stat { background: var(--surface); border-radius: 18px; padding: 20px; }
.stat .v { font-size: clamp(18px, 2.3vw, 26px); font-weight: 600; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; color: var(--muted); }
.dash-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bar-chart { width: 100%; height: 180px; display: block; margin-top: 12px; }
.bar-chart rect { fill: var(--accent); opacity: .85; }
.bar-chart text { fill: var(--muted); font-size: 9px; }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.td-app { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.td-app .icon { --s: 36px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.steps { display: flex; gap: 8px; margin: 20px 0 24px; padding: 0; list-style: none; }
.steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600; }
.steps li.on { border-color: var(--link); color: var(--text); }
.form { max-width: 560px; display: grid; gap: 18px; }
.form-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.checks { display: flex; gap: 10px; flex-wrap: wrap; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.checks input { accent-color: var(--link); width: 18px; height: 18px; }
.drop { border: 1px dashed var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.narrow { max-width: 440px; margin: 24px auto 0; }
.narrow h1 { font-size: 28px; margin-bottom: 6px; }
.narrow .form { margin-top: 24px; }
.acct-list { display: grid; gap: 10px; margin-top: 20px; }

.area { min-height: 0; padding: 10px 14px; resize: vertical; line-height: 1.45; }
.upl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 8px; }
.upl input[type=file] { font-size: 14px; max-width: 100%; }
.bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--link); }
.swatches input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 4px; }
.review ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- Footer, tab bar, toast ---------- */
.foot { background: var(--surface); padding: 20px var(--gut) 28px; color: var(--muted); font-size: 12px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--text); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.tabbar { display: none; }
#toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; z-index: 40; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
  .d-cols, .two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-side { display: none; }
}
@media (max-width: 720px) {
  :root { --gut: 16px; }
  h2 { font-size: 22px; }
  main { padding-top: 20px; padding-bottom: 110px; }
  .nav, .top .acct { display: none; }
  .brand span:last-child { display: none; }
  .search { max-width: none; }
  .hero { padding: 24px; flex-direction: column; align-items: flex-start; gap: 18px; border-radius: 20px; }
  .hero .icon { --s: 72px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid { gap: 24px 16px; }
  .card .icon { --s: 60px; }
  .card-f { flex-direction: column; align-items: flex-start; }
  .row { grid-auto-columns: 168px; }
  .chart { grid-template-columns: minmax(0, 1fr); }
  .d-head { gap: 16px; }
  .d-head .icon { --s: 84px; }
  .d-acts .btn { flex: 1; }
  .shot.mac { width: 300px; }
  .shot.ios { width: 160px; }
  .rate { gap: 16px; } .rate .big { font-size: 40px; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 0 8px; }
  .filters select { flex: 1 1 46%; min-width: 0; }
  .foot { display: none; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 6px; min-height: 52px; font-size: 11px; font-weight: 500; color: var(--muted); }
  .tabbar a[aria-current="page"] { color: var(--link); }
  #toast { bottom: 76px; }
  .line { flex-wrap: wrap; }
  .line .r { width: 100%; justify-items: stretch; text-align: left; padding-left: 62px; }
  .lib-acts { justify-content: flex-start; width: 100%; padding-left: 62px; }
  .line .t { flex: 1 1 calc(100% - 62px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
