:root {
  --bg: #ffffff;
  --bg2: #f2f2f7;
  --card: #ffffff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill2: rgba(118, 118, 128, 0.2);
  --label: #000000;
  --label2: rgba(60, 60, 67, 0.6);
  --label3: rgba(60, 60, 67, 0.3);
  --sep: rgba(60, 60, 67, 0.18);
  --accent: #007aff;
  --accent-ink: #ffffff;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --bar: rgba(249, 249, 249, 0.86);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tab-h: 56px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg2: #1c1c1e; --card: #1c1c1e; --fill: rgba(118, 118, 128, 0.24); --fill2: rgba(118, 118, 128, 0.36);
    --label: #ffffff; --label2: rgba(235, 235, 245, 0.6); --label3: rgba(235, 235, 245, 0.3); --sep: rgba(84, 84, 88, 0.6);
    --accent: #0a84ff; --bar: rgba(22, 22, 24, 0.86); --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg2: #1c1c1e; --card: #1c1c1e; --fill: rgba(118, 118, 128, 0.24); --fill2: rgba(118, 118, 128, 0.36);
  --label: #ffffff; --label2: rgba(235, 235, 245, 0.6); --label3: rgba(235, 235, 245, 0.3); --sep: rgba(84, 84, 88, 0.6);
  --accent: #0a84ff; --bar: rgba(22, 22, 24, 0.86); --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--label); }
body { min-height: 100vh; overscroll-behavior-y: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
img { display: block; }
[hidden] { display: none !important; }

.page { padding: 12px 16px calc(var(--tab-h) + var(--safe-b) + 96px); max-width: 640px; margin: 0 auto; }
.page.narrow-bottom { padding-bottom: calc(var(--safe-b) + 120px); }

/* headers */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--label2); }
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 2px 0 14px; }
.large-title { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #8e8e93, #636366); color: #fff; font-weight: 600; display: grid; place-items: center; flex: none; }
.h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 0.5px solid var(--sep); margin-bottom: 10px; }
.section-head .sub { font-size: 15px; color: var(--label2); margin-top: 2px; }
.link { color: var(--accent); font-size: 17px; }
.muted { color: var(--label2); }
.small { font-size: 13px; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); border: 1px solid currentColor; border-radius: 6px; padding: 1px 5px; vertical-align: middle; margin-left: 6px; }

/* search */
.search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--fill); padding: 0 8px; color: var(--label2); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--label); min-width: 0; }
.search input::placeholder { color: var(--label2); }
.search svg { flex: none; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; }
.trust > div { text-align: center; padding: 2px 4px; }
.trust > div + div { border-left: 0.5px solid var(--sep); }
.trust .v { font-size: 20px; font-weight: 700; color: var(--label2); display: flex; align-items: center; justify-content: center; gap: 4px; }
.trust .l { font-size: 11px; color: var(--label2); text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }

/* bundle card */
.bundle { margin-top: 18px; border-radius: 20px; padding: 18px 18px 16px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3a2a6b 0%, #18181c 55%, #0e0e10 100%); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.bundle .eyebrow { color: #8fb8ff; }
.bundle h3 { font-size: 24px; line-height: 1.15; font-weight: 700; margin: 4px 0 2px; letter-spacing: -0.01em; }
.bundle .badge { position: absolute; top: 16px; right: 16px; background: #0a84ff; color: #fff; font-weight: 700; font-size: 15px; padding: 4px 10px; border-radius: 10px; transform: rotate(-4deg); }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 14px; }
.slot { aspect-ratio: 1; border-radius: 22%; border: 1.5px dashed rgba(255, 255, 255, 0.35); display: grid; place-items: center; color: rgba(255, 255, 255, 0.55); font-size: 22px; position: relative; transition: transform .2s ease; }
.slot.filled { border: 0; }
.slot.filled img { width: 100%; height: 100%; border-radius: 22%; }
.slot.pop { animation: pop .28s ease; }
@keyframes pop { 0% { transform: scale(.7); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gift { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.25; color: rgba(255, 255, 255, 0.85); }
.gift img { width: 34px; height: 34px; border-radius: 22%; }
.gift.on img { box-shadow: 0 0 0 2px #34c759; }
.price-big { text-align: right; flex: none; }
.price-big s { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.price-big b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.bundle-progress { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); margin-top: 14px; overflow: hidden; }
.bundle-progress i { display: block; height: 100%; background: linear-gradient(90deg, #0a84ff, #5ac8fa); border-radius: 2px; transition: width .3s ease; }
.bundle-hint { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; }

/* chips */
.chips-wrap { position: sticky; top: 0; z-index: 5; background: var(--bg); margin: 0 -16px; padding: 10px 16px 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--fill); font-size: 15px; font-weight: 500; }
.chip.on { background: var(--label); color: var(--bg); }

/* rows (App Store list) */
.rows { display: grid; grid-template-columns: 1fr; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-align: left; width: 100%; }
.row + .row .row-main { border-top: 0.5px solid var(--sep); }
.row-icon { width: 62px; height: 62px; border-radius: 22.5%; flex: none; box-shadow: 0 0 0 0.5px var(--sep); object-fit: cover; }
.row-main { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; align-self: stretch; padding: 8px 0; }
.row-text { flex: 1; min-width: 0; }
.row-title { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 13px; color: var(--label2); margin-top: 2px; }
.get { flex: none; min-width: 84px; height: 30px; border-radius: 15px; background: var(--fill); color: var(--accent); font-weight: 700; font-size: 15px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; transition: background .15s, color .15s; }
.get.on { background: var(--accent); color: var(--accent-ink); }
.get-note { font-size: 10px; color: var(--label2); text-align: center; margin-top: 3px; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; position: relative; }
.tile .ic { position: relative; width: 100%; max-width: 68px; aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 0 0 0.5px var(--sep); transition: transform .15s ease, opacity .15s; object-fit: cover; }
.tile:active img { transform: scale(.94); }
.tile .nm { font-size: 12px; line-height: 1.2; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile .check { position: absolute; right: -5px; top: -5px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; border: 2px solid var(--bg); transform: scale(0); transition: transform .18s ease; }
.tile.on .check { transform: scale(1); }
.tile.on img { opacity: .9; }
.tile .gift-mark { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: #0a84ff; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; border: 2px solid var(--bg); white-space: nowrap; }

/* how it works / reviews */
.how { display: grid; gap: 10px; }
.how-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg2); border-radius: 14px; padding: 14px; }
.how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; font-size: 15px; }
.how-item b { display: block; font-size: 16px; }
.how-item span { font-size: 14px; color: var(--label2); }
.reviews { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: none; width: 78%; max-width: 320px; scroll-snap-align: start; background: var(--bg2); border-radius: 14px; padding: 14px; }
.review .stars { color: var(--orange); letter-spacing: 1px; font-size: 13px; }
.review p { margin: 6px 0 8px; font-size: 15px; line-height: 1.35; }
.review .who { font-size: 13px; color: var(--label2); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--bg2); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.35; color: var(--label2); margin-top: 10px; }
.note svg { flex: none; color: var(--green); margin-top: 1px; }
.note.warn svg { color: var(--orange); }

/* cart bar */
.cartbar { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); z-index: 20; padding: 8px 12px; background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 0.5px solid var(--sep); transform: translateY(120%); transition: transform .25s ease; }
.cartbar.show { transform: none; }
.cartbar-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.stack { display: flex; flex: none; }
.stack img { width: 30px; height: 30px; border-radius: 22%; border: 2px solid var(--bg); margin-left: -10px; }
.stack img:first-child { margin-left: 0; }
.cart-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.25; }
.cart-text b { font-size: 15px; display: block; }
.btn { height: 50px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: 17px; font-weight: 600; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.block { width: 100%; }
.btn.sm { height: 40px; font-size: 15px; border-radius: 12px; padding: 0 16px; }
.btn.gray { background: var(--fill); color: var(--accent); }
.btn.green { background: var(--green); }
.btn.plain { background: transparent; color: var(--accent); }

/* tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 0.5px solid var(--sep); display: grid; grid-template-columns: repeat(4, 1fr); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 500; color: #999; position: relative; }
.tab.on { color: var(--accent); }
.tab .dot { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* nav header (inner pages) */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 44px; margin: -12px -16px 6px; padding: 0 8px; background: var(--bar); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav .back { color: var(--accent); font-size: 17px; display: flex; align-items: center; gap: 2px; padding: 8px; }
.nav .nav-title { font-weight: 600; font-size: 17px; position: absolute; left: 50%; transform: translateX(-50%); }

/* grouped list */
.group { background: var(--bg2); border-radius: 12px; overflow: hidden; margin-top: 10px; }
.group-title { font-size: 13px; color: var(--label2); text-transform: uppercase; letter-spacing: .02em; margin: 22px 16px 6px; }
.g-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 48px; }
.g-row + .g-row { border-top: 0.5px solid var(--sep); }
.g-row img { width: 34px; height: 34px; border-radius: 22%; flex: none; }
.g-row .t { flex: 1; min-width: 0; font-size: 16px; }
.g-row .r { color: var(--label2); font-size: 16px; white-space: nowrap; }
.g-row .x { color: var(--label3); padding: 4px; }
.g-row.total .t, .g-row.total .r { font-weight: 700; color: var(--label); font-size: 18px; }
.g-row .r.green { color: var(--green); font-weight: 600; }
.g-row input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; text-transform: uppercase; min-width: 0; }
.footnote { font-size: 13px; color: var(--label2); margin: 8px 16px 0; line-height: 1.35; }
.compat { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.compat .ok { color: var(--green); }
.compat .bad { color: var(--red); }
.compat .unk { color: var(--orange); }

/* payment (test) */
.pay-card { text-align: center; padding: 26px 18px; background: var(--bg2); border-radius: 18px; margin-top: 12px; }
.pay-sum { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.qr { width: 168px; height: 168px; margin: 18px auto; border-radius: 14px; background: #fff; padding: 12px; }
.qr i { display: block; width: 100%; height: 100%; background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 4px; opacity: .85; }
.test-banner { background: rgba(255, 149, 0, 0.14); color: var(--orange); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 500; margin-top: 10px; text-align: center; }

/* order / wizard */
.order-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; }
.order-head .stack img { width: 40px; height: 40px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 10px; background: var(--fill); color: var(--label2); }
.status.paid, .status.installing { background: rgba(0, 122, 255, 0.12); color: var(--accent); }
.status.completed { background: rgba(52, 199, 89, 0.14); color: var(--green); }
.status.needs_help { background: rgba(255, 149, 0, 0.14); color: var(--orange); }
.progress { display: grid; gap: 4px; margin: 6px 0 14px; }
.progress-bars { display: flex; gap: 4px; }
.progress-bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--fill2); transition: background .25s; }
.progress-bars i.done { background: var(--accent); }
.step-card { background: var(--bg2); border-radius: 18px; padding: 18px; }
.step-card h3 { font-size: 22px; font-weight: 700; margin: 4px 0 6px; letter-spacing: -0.01em; }
.step-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.4; color: var(--label2); }
.step-card ol, .step-card ul { margin: 0 0 12px; padding-left: 22px; font-size: 16px; line-height: 1.45; }
.step-card li + li { margin-top: 6px; }
.warn-line { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.35; background: rgba(255, 149, 0, 0.12); color: var(--label); border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; }
.warn-line svg { flex: none; color: var(--orange); margin-top: 1px; }
.checks { display: grid; gap: 8px; margin: 4px 0 14px; }
.check-row { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 12px; padding: 12px; text-align: left; width: 100%; font-size: 16px; }
.check-row .box { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--label3); display: grid; place-items: center; flex: none; color: transparent; transition: all .15s; }
.check-row.on .box { background: var(--green); border-color: var(--green); color: #fff; }
.check-row img { width: 36px; height: 36px; border-radius: 22%; flex: none; }
.check-row .t { flex: 1; }
.cred { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.cred .k { font-size: 12px; color: var(--label2); }
.cred .v { font-size: 17px; font-weight: 600; font-family: ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.cred > div { flex: 1; min-width: 0; }
.copy { flex: none; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--fill); color: var(--accent); font-size: 14px; font-weight: 600; }
.copy.done { color: var(--green); }
.timer { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--label2); margin: 2px 0 12px; }
.timer .grow { flex: 1; }
.timer b { color: var(--label); font-variant-numeric: tabular-nums; }
.timer.low b { color: var(--red); }
.code-box { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 14px; padding: 14px; margin: 6px 0 12px; }
.ring { width: 56px; height: 56px; flex: none; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.code-digits { font-size: 27px; font-weight: 700; letter-spacing: 0.1em; white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.step-actions { display: grid; gap: 8px; margin-top: 14px; }
.stuck { display: block; margin: 14px auto 0; color: var(--accent); font-size: 15px; padding: 6px; }
.done-hero { text-align: center; padding: 26px 8px 10px; }
.done-hero .big { font-size: 56px; }
.done-hero h2 { font-size: 26px; margin: 8px 0 6px; }
.stars-input { display: flex; justify-content: center; gap: 6px; margin: 12px 0; }
.stars-input button { font-size: 34px; color: var(--label3); }
.stars-input button.on { color: var(--orange); }

/* orders list / invite / faq */
.order-row { display: flex; gap: 12px; align-items: center; padding: 12px 14px; width: 100%; text-align: left; }
.order-row + .order-row { border-top: 0.5px solid var(--sep); }
.order-row .t { flex: 1; min-width: 0; }
.order-row .t b { font-size: 16px; display: block; }
.empty { text-align: center; padding: 60px 20px; color: var(--label2); }
.empty .big { font-size: 48px; margin-bottom: 8px; }
.invite-hero { border-radius: 20px; padding: 22px 18px; color: #fff; background: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 100%); margin-top: 6px; }
.invite-hero h3 { margin: 0 0 6px; font-size: 22px; }
.invite-hero p { margin: 0; opacity: .9; font-size: 15px; line-height: 1.35; }
.invite-link { display: flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 10px 12px; margin-top: 14px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.stat-pair div { background: var(--bg2); border-radius: 14px; padding: 12px; text-align: center; }
.stat-pair b { font-size: 22px; display: block; }
.stat-pair span { font-size: 12px; color: var(--label2); }
details.faq { background: var(--bg2); border-radius: 12px; padding: 0 14px; margin-top: 8px; }
details.faq summary { list-style: none; padding: 14px 0; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0 0 14px; color: var(--label2); font-size: 15px; line-height: 1.4; }

/* sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity .2s; }
.sheet-backdrop.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--bg); border-radius: 14px 14px 0 0; padding: 8px 16px calc(var(--safe-b) + 18px); max-width: 640px; margin: 0 auto; transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); max-height: 88vh; overflow-y: auto; }
.sheet.show { transform: none; }
.grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--fill2); margin: 0 auto 12px; }
.app-head { display: flex; gap: 14px; align-items: center; }
.app-head img { width: 96px; height: 96px; border-radius: 22.5%; box-shadow: 0 0 0 0.5px var(--sep); }
.app-head h3 { margin: 0 0 4px; font-size: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0; border-top: 0.5px solid var(--sep); border-bottom: 0.5px solid var(--sep); padding: 10px 0; }
.facts div { text-align: center; }
.facts div + div { border-left: 0.5px solid var(--sep); }
.facts b { display: block; font-size: 17px; color: var(--label2); }
.facts span { font-size: 11px; color: var(--label2); text-transform: uppercase; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 90px); transform: translateX(-50%); z-index: 50; background: rgba(30, 30, 32, 0.92); color: #fff; padding: 10px 16px; border-radius: 14px; font-size: 15px; max-width: 86vw; text-align: center; }
.skeleton { height: 120px; border-radius: 18px; background: var(--bg2); margin-top: 16px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 360px) { .large-title { font-size: 30px; } .grid { gap: 14px 8px; } }

/* =================== beta v0 screens (FLOW.md, 26.11.2026): A «Витрина» + E path =================== */
:root { --violet: #7c3aed; --okbg: rgba(52, 199, 89, .13); --okink: #1f9d45; }
:root[data-theme="dark"] { --violet: #b794ff; --okink: #4cd964; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --violet: #b794ff; --okink: #4cd964; } }
body:not(.has-tabbar) .page { padding-bottom: calc(var(--safe-b) + 40px); }
.center { text-align: center; }
.green { color: var(--green); }
.btn.green { color: #fff; }
.okc { color: var(--green); font-weight: 600; }
.link-btn { display: block; width: 100%; text-align: center; color: var(--accent); font-size: 15px; padding: 12px 0 4px; }
.link-btn.gray { color: var(--label2); padding-top: 4px; }
.btn.ghost { background: var(--fill); color: var(--label2); }
.btn.white { background: #fff; color: #0a84ff; }
.btn.glass { background: rgba(255, 255, 255, .2); color: #fff; }
.eyebrow-date { font-size: 13px; font-weight: 600; color: var(--label2); text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }

/* onboarding carousel (С2) */
.onb { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px calc(var(--safe-b) + 18px); position: relative; max-width: 520px; margin: 0 auto; }
.onb-skip { position: absolute; right: 18px; top: calc(env(safe-area-inset-top, 0px) + 14px); color: var(--accent); font-size: 16px; }
.onb-slides { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; }
.onb-slide { display: none; flex-direction: column; align-items: center; text-align: center; }
.onb-slide.on { display: flex; animation: onbIn .35s ease; }
@keyframes onbIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.onb-slide h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; margin: 26px 0 8px; }
.onb-slide p { color: var(--label2); font-size: 16px; line-height: 1.4; margin: 0; max-width: 320px; }
.dots { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--fill2); transition: all .25s; }
.dots i.on { width: 18px; background: var(--accent); }
.onb-foot { width: 100%; }

/* mini iPhone illustrations */
.mp { width: 66px; height: 118px; border-radius: 14px; background: #1b1b1d; padding: 3px; flex: none; margin: 0 auto; }
.mp .in { width: 100%; height: 100%; border-radius: 11px; background: #f4f4f8; overflow: hidden; position: relative; }
.mp.sm { width: 54px; height: 96px; }
.mp.md { width: 110px; height: 196px; border-radius: 22px; padding: 5px; margin: 6px auto 12px; }
.mp.md .in { border-radius: 17px; }
.mp.lg { width: 150px; height: 270px; border-radius: 28px; padding: 6px; }
.mp.lg .in { border-radius: 22px; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12%; padding: 18% 12%; }
.mp-grid b { aspect-ratio: 1; border-radius: 22%; background: #ccc center/cover; position: relative; }
.mp-grid b.sel::after { content: ""; position: absolute; right: -12%; top: -12%; width: 32%; height: 32%; border-radius: 50%; background: #007aff; border: 2px solid #fff; }
.mp-dim { position: absolute; inset: 0; background: #8e8e93; }
.mp-sheet { position: absolute; left: 5%; right: 5%; bottom: 5%; background: #fff; border-radius: 10px; padding: 9% 7%; }
.mp-sheet i { display: block; height: 8px; border-radius: 4px; background: #e2e2e8; margin: 6% 0; }
.mp.sm .mp-sheet i { height: 5px; }
.hl-ring { height: 14px; border-radius: 7px; background: #007aff; box-shadow: 0 0 0 3px rgba(255, 149, 0, .9); margin-top: 10%; animation: hlpulse 1.6s infinite; }
.mp.sm .hl-ring { height: 9px; }
@keyframes hlpulse { 50% { box-shadow: 0 0 0 5px rgba(255, 149, 0, .45); } }
.mini-t { font-size: 10px; font-weight: 700; color: #007aff; text-align: center; }
.mp-home { position: absolute; inset: 0; background: linear-gradient(160deg, #6a8dff, #b06bff); }
.ok-badge { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); background: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; color: #1f9d45; padding: 3px 8px; white-space: nowrap; }
.mp.lg .ok-badge { font-size: 13px; }
.mp-set { padding: 22% 6%; display: flex; flex-direction: column; gap: 6px; }
.mp-set .sr { display: flex; align-items: center; gap: 5px; background: #fff; border-radius: 7px; padding: 5px; font-size: 9px; font-weight: 600; color: #000; }
.mp.lg .mp-set .sr { font-size: 12px; padding: 8px; border-radius: 9px; gap: 7px; }
.mp-set .sr i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.mp.lg .mp-set .sr i { width: 18px; height: 18px; border-radius: 5px; }
.mp-set .sr em { margin-left: auto; font-style: normal; color: #1f9d45; font-size: .85em; }
.mp-set .sr.hl { box-shadow: 0 0 0 2.5px #ff9500; }
.mp-set .sr.hl em { color: #ff9500; }
.mp-cloud { padding: 18% 7%; display: flex; flex-direction: column; gap: 8px; }
.mp-cloud .r { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 5px; }
.mp-cloud .r b { width: 20px; height: 20px; border-radius: 5px; background: #ccc center/cover; flex: none; }
.mp-cloud .r i { flex: 1; height: 5px; border-radius: 3px; background: #e2e2e8; }
.mp-cloud .r u { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #007aff; border-top-color: transparent; animation: spin 1s linear infinite; flex: none; }
.mp-center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; }
.mp.sm .mp-center { font-size: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* home */
.home .title-row { margin-bottom: 10px; }
.pend { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; border-radius: 16px; padding: 11px 12px; margin-bottom: 10px; text-align: left; }
.pend .pt { flex: 1; min-width: 0; } .pend .pt b { display: block; font-size: 15px; } .pend .pt span { font-size: 12px; opacity: .85; }
.pend .pgo { background: #fff; color: var(--accent); border-radius: 12px; padding: 7px 12px; font-size: 14px; font-weight: 700; flex: none; }
.refban { display: flex; align-items: center; gap: 10px; background: var(--okbg); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px; font-size: 22px; }
.refban b { display: block; font-size: 15px; color: var(--okink); } .refban span { display: block; font-size: 12px; color: var(--label2); }
.hero { display: block; width: 100%; height: 300px; border-radius: 24px; position: relative; overflow: hidden; color: #fff; cursor: pointer; background: radial-gradient(120% 90% at 10% 0%, #7FB2FF 0%, rgba(127, 178, 255, 0) 55%), radial-gradient(120% 120% at 100% 30%, #C77DFF 0%, rgba(199, 125, 255, 0) 60%), linear-gradient(160deg, #4C6FFF 0%, #6B4CFF 55%, #8E3BE8 100%); }
.hero .ov { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .8; }
.hero h3 { position: absolute; top: 34px; left: 18px; right: 70px; font-size: 24px; line-height: 27px; font-weight: 800; margin: 0; }
.hero .art { position: absolute; left: 50%; width: 290px; margin-left: -145px; top: 96px; height: 110px; }
.hero .art img { position: absolute; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 10px 20px -8px rgba(20, 10, 80, .55); transform: rotate(var(--r)); animation: floaty 5s ease-in-out infinite; }
.hero .art img.mx { width: 68px; height: 68px; border-radius: 16px; left: 111px; top: 20px; z-index: 3; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-5px) rotate(var(--r, 0deg)); } }
.hero .pb { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hero .pb > div { min-width: 0; }
.hero .pb b { font-size: 22px; } .hero .pb s { font-size: 13px; opacity: .7; margin-left: 6px; }
.hero .pb em { font-style: normal; background: #fff; color: #6b4cff; border-radius: 6px; padding: 0 5px; font-size: 12px; font-weight: 800; margin-left: 6px; vertical-align: 3px; }
.hero .pb small { display: block; font-size: 12px; opacity: .85; }
.hero .pb .get { background: #fff; color: #6b4cff; border-radius: 15px; padding: 8px 16px; font-weight: 700; font-size: 15px; flex: none; }
.feed { margin-top: 12px; background: var(--bg2); border-radius: 16px; padding: 10px 12px; }
.feed .top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--label2); }
.feed .top b { color: var(--label); font-size: 15px; font-variant-numeric: tabular-nums; display: inline-block; transition: transform .3s, color .3s; }
.feed .top b.bump { transform: scale(1.15); color: var(--green); }
.feed .live { display: inline-flex; align-items: center; gap: 6px; }
.feed .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.feed .ev { position: relative; height: 56px; overflow: hidden; margin-top: 6px; }
.feed .m { position: absolute; inset: 0; display: flex; gap: 10px; align-items: center; transition: transform .45s, opacity .45s; }
.feed .m.out { transform: translateY(-100%); opacity: 0; } .feed .m.in { transform: translateY(100%); opacity: 0; }
.ava { width: 38px; height: 38px; border-radius: 50%; flex: none; background: #ccc center/cover; color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.feed .m .t { min-width: 0; flex: 1; } .feed .m b { display: block; font-size: 14px; line-height: 1.2; font-weight: 600; }
.mini { display: flex; gap: 3px; margin-top: 4px; align-items: center; }
.mini i { width: 18px; height: 18px; border-radius: 5px; background: #ddd center/cover; flex: none; }
.mini span { font-size: 12px; color: var(--label2); margin-left: 4px; white-space: nowrap; }
.sech { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.sech h2 { font-size: 22px; margin: 0; letter-spacing: -.01em; } .sech button { color: var(--accent); font-size: 16px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
.ptile { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.ptile .ico { width: 100%; aspect-ratio: 1; border-radius: 22%; background: #ddd center/cover; position: relative; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08); transition: transform .15s, box-shadow .15s; }
.ptile .ico::after { content: "+"; position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); color: var(--accent); font-weight: 700; font-size: 17px; line-height: 21px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.ptile.on .ico { box-shadow: 0 0 0 3px var(--accent); }
.ptile.on .ico::after { content: "✓"; background: var(--accent); color: #fff; font-size: 12px; }
.ptile:active .ico { transform: scale(.94); }
.ptile.off .ico { filter: grayscale(1); opacity: .45; }
.ptile.off .ico::after { display: none; }
.ptile .soon { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: var(--label2); color: var(--bg); font-size: 10px; font-weight: 700; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.ptile .gift-mark { position: absolute; left: -4px; top: -6px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; border-radius: 6px; padding: 1px 5px; }
.ptile .nm { font-size: 12px; line-height: 1.15; text-align: center; color: var(--label); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ptile .ds { margin-top: -3px; font-size: 10px; line-height: 1.15; text-align: center; color: var(--label2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hs { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.preset { flex: 0 0 230px; height: 136px; border-radius: 20px; padding: 14px; position: relative; color: #fff; text-align: left; scroll-snap-align: start; }
.preset h4 { margin: 0; font-size: 18px; } .preset p { margin: 2px 0 0; font-size: 12px; opacity: .85; }
.preset .ics { position: absolute; left: 14px; bottom: 14px; display: flex; }
.preset .ics i { width: 38px; height: 38px; border-radius: 9px; margin-right: -8px; background: #ddd center/cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.preset .add { position: absolute; right: 12px; bottom: 18px; background: rgba(255, 255, 255, .95); color: #111; border-radius: 14px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.preset.head { height: auto; width: 100%; margin-bottom: 12px; }
.t-blue { background: linear-gradient(135deg, #3d8bff, #2f5bff); } .t-green { background: linear-gradient(135deg, #2fc26b, #13955a); }
.t-orange { background: linear-gradient(135deg, #ff9f43, #ff6b2c); } .t-ink { background: linear-gradient(135deg, #3a3a46, #14141a); } .t-pink { background: linear-gradient(135deg, #ff6fa5, #d4418e); }
.howlink { display: block; width: 100%; margin-top: 22px; background: var(--bg2); border-radius: 14px; padding: 14px; color: var(--accent); font-size: 15px; font-weight: 600; text-align: center; }
/* glass shelf bar (A), slots in a row, never overlapping */
.shelf { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); z-index: 20; padding: 0 10px; max-width: 640px; margin: 0 auto; }
.shelf-in { width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 22px; background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 6px 24px rgba(0, 0, 0, .16); padding: 10px 12px; text-align: left; }
.shelf .tx { flex: 1; min-width: 0; }
.shelf .slots { display: flex; gap: 5px; margin-bottom: 6px; }
.shelf .slots i { width: 24px; height: 24px; border-radius: 7px; background: var(--fill) center/cover; border: 1.5px dashed var(--fill2); }
.shelf .slots i.f { border: 0; } .shelf .slots i.g { opacity: .35; } .shelf .slots i.g.on { opacity: 1; }
.shelf .tx b { display: block; font-size: 15px; } .shelf .tx span { display: block; font-size: 12px; color: var(--label2); line-height: 1.25; }
.shelf .tx span.hot { color: var(--violet); font-weight: 600; }
.shelf .go { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; flex: none; }

/* sheets content */
.sheet-h { font-size: 22px; margin: 4px 0 4px; letter-spacing: -.01em; }
.sheet-p { font-size: 15px; line-height: 1.4; margin: 0 0 12px; }
.whole { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; background: var(--bg2); border-radius: 18px; padding: 14px 8px; text-align: center; font-size: 12px; }
.whole i { display: block; width: 56px; height: 56px; border-radius: 13px; margin: 0 auto 5px; background: #ddd center/cover; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.deal { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.deal div { display: flex; flex-direction: column; font-size: 12px; color: var(--label2); }
.deal s { font-size: 16px; color: var(--label2); } .deal b { font-size: 22px; color: var(--label); white-space: nowrap; }
.deal .sv { flex-basis: 100%; background: rgba(124, 58, 237, .12); color: var(--violet); font-weight: 800; font-size: 15px; border-radius: 12px; padding: 8px; text-align: center; }
.qa { display: flex; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.qa button { position: relative; width: 52px; height: 52px; border-radius: 12px; background: #ddd center/cover; }
.qa button::after { content: "+"; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; line-height: 19px; text-align: center; }
.mini-presets { margin: 12px -16px; }
.mini-presets .preset { flex: 0 0 170px; height: 96px; padding: 11px; }
.mini-presets .preset h4 { font-size: 15px; } .mini-presets .preset .ics { left: 11px; bottom: 11px; } .mini-presets .preset .ics i { width: 28px; height: 28px; }
.pay-top { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 4px; }
.pay-top b { font-size: 21px; } .pay-top .sum { font-size: 28px; } .pay-top s { color: var(--label2); font-size: 15px; margin-right: 8px; }
.sbp { display: flex; align-items: center; gap: 12px; background: var(--bg2); border-radius: 14px; padding: 13px; margin: 12px 0 0; font-weight: 600; }
.sbp i { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #5b57a2, #d90751 45%, #fab82e 75%, #0fa8e0); }
.sbp span { margin-left: auto; color: var(--accent); }
.balrow { display: flex; align-items: center; justify-content: space-between; background: var(--bg2); border-radius: 14px; padding: 12px 13px; margin-top: 8px; font-size: 15px; }
.balrow input { width: 22px; height: 22px; accent-color: var(--accent); }
.gar { display: inline-flex; align-items: center; gap: 6px; background: var(--okbg); color: var(--okink); border-radius: 20px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.stuck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stuck-grid button { background: var(--bg2); border-radius: 16px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-align: center; }

/* summary С-А */
.summary .nav .link { font-size: 17px; color: var(--accent); padding: 0 8px; }
.iosw { background: rgba(255, 149, 0, .13); border-radius: 14px; padding: 10px 12px; margin: 4px 0 10px; }
.iosw b { display: block; font-size: 15px; } .iosw span { font-size: 13px; color: var(--label2); line-height: 1.35; }
.packbox { border-radius: 20px; background: linear-gradient(135deg, rgba(124, 58, 237, .10), rgba(76, 111, 255, .10)); border: 1.5px solid rgba(124, 58, 237, .35); padding: 12px 12px 10px; }
.packbox.broken { border-style: dashed; border-color: var(--orange); background: rgba(255, 149, 0, .07); }
.packbox .lab { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--violet); margin-bottom: 10px; }
.packbox.broken .lab { color: var(--orange); } .packbox .lab b { font-size: 17px; color: var(--label); }
.sg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }
.sg .c { text-align: center; font-size: 12px; position: relative; color: var(--label); }
.sg .c .ico { display: block; width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 4px; background: #ddd center/cover; position: relative; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.sg .c .rib { position: absolute; right: -6px; top: -7px; background: var(--violet); color: #fff; font-size: 9px; font-weight: 800; border-radius: 6px; padding: 1px 5px; }
.sg .c.e .ico { background: transparent; border: 1.5px dashed var(--orange); display: grid; place-items: center; color: var(--orange); font-size: 26px; box-shadow: none; }
.sg .c.dim { opacity: .35; }
.warn { background: rgba(255, 149, 0, .13); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin-top: 10px; line-height: 1.35; }
.extra { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; }
.extra i { width: 34px; height: 34px; border-radius: 9px; background: #ddd center/cover; }
.extra span { margin-left: auto; color: var(--label2); } .extra b { color: var(--label); }
.offer { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 12px; border: 1.5px dashed var(--accent); border-radius: 16px; padding: 10px 12px; text-align: left; }
.offer .ot { flex: 1; } .offer b { display: block; font-size: 15px; } .offer b s { color: var(--label2); font-weight: 500; } .offer span { font-size: 12px; color: var(--label2); }
.offer .oa { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.sumfoot { margin-top: 18px; display: grid; gap: 10px; }
.sumfoot .line { display: flex; justify-content: space-between; font-size: 15px; }
.totl { display: flex; justify-content: space-between; align-items: baseline; }
.totl b { font-size: 26px; } .totl s { color: var(--label2); font-size: 15px; margin-right: 8px; }

/* waiting / paid / failed */
.center-screen { min-height: 100vh; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding-top: 70px; }
.xbtn { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; color: var(--label2); }
.spinner { width: 60px; height: 60px; border-radius: 50%; border: 5px solid var(--fill2); border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 40px auto 22px; }
.spinner.sm { width: 26px; height: 26px; border-width: 3px; margin: 0; flex: none; }
.spinner.xs { width: 14px; height: 14px; border-width: 2px; margin: 0; flex: none; border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; }
/* zero-downtime deploy (27.11): a request is being repeated while the server restarts; the screen stays as it is */
.netbar { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 50%; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 8px; background: rgba(30, 30, 32, 0.92); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 14px; pointer-events: none; white-space: nowrap; }
.netbar[hidden] { display: none; }
.big-h { font-size: 26px; margin: 0 0 8px; letter-spacing: -.01em; }
.center-screen > .muted { font-size: 16px; max-width: 320px; line-height: 1.4; margin: 0; }
.foot-actions { width: 100%; margin-top: auto; padding-top: 30px; display: grid; gap: 8px; }
.stuck-line { font-size: 13px; color: var(--label2); margin-top: 6px; }
.state-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #fff; margin: 40px auto 18px; }
.state-ic.green { background: var(--green); } .state-ic.red { background: var(--red); } .state-ic.gray { background: var(--label3); }
.paid-ics { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.paid-ics i { width: 44px; height: 44px; border-radius: 11px; background: #ddd center/cover; }
.bankpage .bx { background: var(--bg2); border-radius: 16px; padding: 16px; margin: 14px 0; }

/* wizard (E: one step = one action) */
.wizard .progress-bars { display: flex; gap: 4px; margin: 6px 0 8px; }
.wizard .progress-bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--fill2); }
.wizard .progress-bars i.done { background: var(--green); } .wizard .progress-bars i.cur { background: var(--accent); }
.step-meta { font-size: 13px; font-weight: 700; color: var(--label2); text-transform: uppercase; letter-spacing: .03em; display: flex; justify-content: space-between; margin-bottom: 8px; }
.step-meta .okc { text-transform: none; letter-spacing: 0; }
.step { background: var(--bg2); border-radius: 20px; padding: 16px; margin-top: 8px; }
.step-head { display: flex; gap: 12px; align-items: flex-start; }
.step-head .num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; display: grid; place-items: center; flex: none; }
.step-head h2 { font-size: 24px; line-height: 1.15; margin: 2px 0 0; letter-spacing: -.01em; }
.step .lead { font-size: 15px; color: var(--label2); line-height: 1.4; margin: 0 0 10px; text-align: center; }
.step ol { padding-left: 20px; font-size: 15px; line-height: 1.5; margin: 6px 0 12px; }
.code-copy { flex: 1; min-width: 0; text-align: left; }
.code-wait { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 14px; padding: 14px; margin: 8px 0; }
.code-wait b { display: block; font-size: 16px; }

/* invite / help */
.balcard { display: flex; align-items: center; gap: 14px; background: var(--bg2); border-radius: 18px; padding: 14px; }
.balcard > div { display: flex; flex-direction: column; } .balcard span { font-size: 12px; color: var(--label2); }
.holdnote { display: flex; flex-direction: column; gap: 2px; margin: 8px 4px 0; font-size: 14px; } .holdnote b { font-weight: 600; } .holdnote span { font-size: 12px; color: var(--label2); }
.balcard b { font-size: 24px; } .balcard b.muted { font-size: 18px; } .balcard .btn { margin-left: auto; }
.row-btns { display: flex; gap: 8px; margin-top: 12px; } .row-btns .btn:first-child { flex: 1; }
.hist .t b { display: block; font-size: 15px; font-weight: 600; } .hist .t span { display: block; }
.empty.small { padding: 18px; font-size: 14px; }
.help-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
.help-btns .btn { font-size: 15px; height: 44px; }
.group.rate { padding: 14px; text-align: center; margin-top: 10px; }

/* App Store sign-in illustration (onboarding slide 2, step «Войдите») */
.mp-as { position: absolute; inset: 0; background: #fff; padding: 9% 8%; display: flex; flex-direction: column; align-items: center; color: #000; }
.as-top { align-self: flex-start; display: flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 700; }
.as-ic { width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #19c4ff, #0a6cff); color: #fff; font-size: 8px; display: grid; place-items: center; }
.as-av { width: 26%; aspect-ratio: 1; border-radius: 50%; background: #d1d1d6; margin: 10% 0 4%; }
.as-t { font-size: 10px; font-weight: 800; margin-bottom: 6%; }
.as-f { width: 100%; background: #f2f2f7; border-radius: 6px; padding: 4% 6%; font-size: 8px; margin-bottom: 5%; text-align: left; }
.as-f small { display: block; font-size: 6px; color: #8e8e93; }
.as-btn { width: 100%; background: #007aff; color: #fff; border-radius: 7px; padding: 5% 0; font-size: 9px; font-weight: 700; text-align: center; margin-top: 3%; box-shadow: 0 0 0 3px rgba(255, 149, 0, .9); animation: hlpulse 1.6s infinite; }
.mp.lg .as-top { font-size: 11px; } .mp.lg .as-ic { width: 16px; height: 16px; font-size: 10px; border-radius: 4px; }
.mp.lg .as-t { font-size: 14px; } .mp.lg .as-f { font-size: 11px; border-radius: 8px; } .mp.lg .as-f small { font-size: 8px; } .mp.lg .as-btn { font-size: 12px; border-radius: 9px; }
.mp.sm .as-top, .mp.sm .as-f small { display: none; } .mp.sm .as-f { font-size: 6px; } .mp.sm .as-t { font-size: 7px; } .mp.sm .as-btn { font-size: 7px; }

/* iOS Settings illustration (onboarding slide 3) */
.mp-ios { position: absolute; inset: 0; background: #f2f2f7; padding: 12% 6% 0; color: #000; }
.io-h { font-size: 13px; font-weight: 800; margin: 0 0 7% 2%; }
.io-g { background: #fff; border-radius: 9px; margin-bottom: 7%; overflow: hidden; }
.io-me { display: flex; align-items: center; gap: 7px; padding: 7px; }
.io-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(#a2a2a8, #7c7c82); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; flex: none; }
.io-me b { display: block; font-size: 10px; } .io-me small { display: block; font-size: 7px; color: #8e8e93; }
.io-r { display: flex; align-items: center; gap: 6px; padding: 7px; font-size: 9.5px; position: relative; }
.io-r + .io-r { border-top: .5px solid #e5e5ea; }
.io-r i { width: 16px; height: 16px; border-radius: 4px; flex: none; display: grid; place-items: center; }
.io-r i svg { width: 13px; height: 13px; }
.io-lock { margin-left: auto; width: 13px; height: 13px; } .io-lock svg { width: 13px; height: 13px; display: block; }
.io-r.hl { box-shadow: inset 0 0 0 2px #ff9500; border-radius: 9px; }
.io-tag { margin-left: auto; background: #ff9500; color: #fff; font-size: 7.5px; font-weight: 800; border-radius: 5px; padding: 1px 5px; }
.mp.md .io-h, .mp.sm .io-h { font-size: 10px; } .mp.md .io-r, .mp.sm .io-r { font-size: 7.5px; padding: 5px; } .mp.md .io-me b { font-size: 8px; }
/* install step: per-app «Установить» + reserve link (Install-IOS links, audit Б5) */
.inst-row { display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: 12px; padding: 4px 12px 10px 0; }
.inst-row .check-row { background: transparent; padding-bottom: 4px; }
.inst-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-left: 12px; }
.inst-act:empty { display: none; }
.inst-act .btn.sm { height: 34px; font-size: 15px; }

/* editable set (Artur 26.11): iOS edit mode — jiggle, × removes, tap replaces, + adds; preset sheet and «Ваш набор» */
.edrow { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 8px; }
.edrow .link { font-size: 16px; font-weight: 600; color: var(--accent); }
.eg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; text-align: center; }
.whole.eg { padding: 16px 8px; }
.et { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: var(--label); min-width: 0; }
.et > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.et .ico { display: block; width: 58px; height: 58px; border-radius: 14px; background: #ddd center/cover; position: relative; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.et.add .ico { background: transparent; border: 1.5px dashed var(--accent); color: var(--accent); font-size: 26px; display: grid; place-items: center; box-shadow: none; }
.packbox.broken .et.add .ico { border-color: var(--orange); color: var(--orange); }
.et.gift .rib { position: absolute; right: -6px; top: -7px; background: var(--violet); color: #fff; font-size: 9px; font-weight: 800; border-radius: 6px; padding: 1px 5px; }
.et.dim { opacity: .35; }
.et .rm { position: absolute; left: calc(50% - 38px); top: -7px; width: 22px; height: 22px; border-radius: 50%; background: rgba(120, 120, 128, .9); color: #fff; font-size: 15px; line-height: 21px; text-align: center; z-index: 2; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.et.jig .ico { animation: jig .28s ease-in-out infinite alternate; }
.et.jig:nth-child(2n) .ico { animation-delay: -.14s; animation-duration: .31s; }
.et.jig:nth-child(3n) .ico { animation-delay: -.07s; animation-duration: .26s; }
@keyframes jig { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.edhint { text-align: center; font-size: 12px; color: var(--label2); margin-top: 10px; }
.sg2 { margin-top: 2px; }
.extras { margin-top: 14px; }
.extra-price { text-align: center; font-size: 13px; color: var(--label2); margin-top: 6px; }
.extra-price s { color: var(--label3); }
.offer .x2 { font-style: normal; background: rgba(124, 58, 237, .14); color: var(--violet); font-weight: 800; font-size: 12px; border-radius: 7px; padding: 1px 7px; margin-left: 4px; }
.offer b { font-size: 16px; }
.pk-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; font-size: 19px; }
.pk-old { width: 36px; height: 36px; border-radius: 9px; background: #ddd center/cover; }
.pk-search { margin-bottom: 12px; }
.pk-grid { max-height: 52vh; overflow-y: auto; padding: 8px 2px; }
.pk-grid .ptile .ico::after { display: none; }
.pk-grid [hidden] { display: none; }

/* ===== Пересборка установки (FLOW.md, 26.11 вечер) ===== */
/* iOS 27 Telegram: blur is unreliable, the grid showed through the shelf and the tab bar → solid backgrounds */
.tabbar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.shelf-in { background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none; }
:root:not([data-theme="dark"]) .shelf-in { background: #fff; }
/* presets: subtitle above the icon row (not under it), gutter on the first card, «Выбрать» never clipped */
.hs { scroll-padding: 0 16px; }
.preset { display: flex; flex-direction: column; height: auto; min-height: 136px; }
.preset .ics { position: static; margin-top: auto; padding-top: 12px; }
.preset .add { bottom: 16px; }
.ptile .gift-mark { left: 3px; top: 3px; }
.date-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 12px; }
.date-row .eyebrow-date { margin: 0; }

/* sticky time bar */
.timebar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: 15px; margin: 2px 0 10px; }
.timebar b { font-variant-numeric: tabular-nums; }
.timebar.off { background: var(--fill); color: var(--label2); }
.timebar.on { background: #fff1db; color: #6b3d00; }
.timebar.on.low, .timebar.low { background: #ffe1df; color: #8a1209; }
.timebar.done { background: #e2f6e8; color: #0f5a24; }
:root[data-theme="dark"] .timebar.on { background: #3d2a00; color: #ffd88a; }
:root[data-theme="dark"] .timebar.on.low, :root[data-theme="dark"] .timebar.low { background: #3a1210; color: #ffb4ad; }
:root[data-theme="dark"] .timebar.done { background: #0f2616; color: #9be3ae; }

.plain-list { background: var(--card); border-radius: 12px; overflow: hidden; margin: 6px 0 10px; }
.pl-row { padding: 11px 12px; font-size: 15px; } .pl-row + .pl-row { border-top: .5px solid var(--sep); }
.time-card { background: var(--card); border-radius: 14px; padding: 12px; margin: 10px 0; text-align: left; }
.time-card > b { display: block; margin-bottom: 4px; }
.tc-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; line-height: 1.35; }
.tc-n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--fill2); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.center-screen .time-card { width: 100%; max-width: 360px; }
.ok-line, .danger-line { display: flex; gap: 8px; align-items: flex-start; border-radius: 12px; padding: 10px 12px; font-size: 15px; line-height: 1.35; margin: 10px 0; }
.ok-line { background: rgba(52, 199, 89, .14); } .ok-line svg { flex: none; color: var(--green); }
.danger-line { background: rgba(255, 59, 48, .12); font-weight: 600; } .danger-line svg { flex: none; color: var(--red); }
.link-btn.small { font-size: 14px; padding-top: 6px; }

.cred { width: 100%; text-align: left; }
.cred .copy { color: var(--accent); font-size: 14px; font-weight: 600; flex: none; }
.code-card { background: var(--card); border-radius: 14px; padding: 14px 12px; margin: 8px 0; text-align: center; }
.code-card .ring { margin: 0 auto 4px; }
.code-card .code-digits { font-size: 36px; letter-spacing: .14em; margin: 4px 0; }
.code-card .cw { display: flex; align-items: center; justify-content: center; gap: 10px; }
.code-card p { margin: 6px 0 8px; }
.code-tip { background: rgba(255, 149, 0, .12); border-radius: 10px; padding: 8px 10px; font-size: 14px; text-align: left; margin-top: 6px; }

.inst-list { background: var(--card); border-radius: 14px; overflow: hidden; margin: 8px 0; }
.inst-row2 { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex-wrap: wrap; }
.inst-row2 + .inst-row2 { border-top: .5px solid var(--sep); }
.inst-row2 img { width: 40px; height: 40px; border-radius: 10px; }
.inst-row2 .t { flex: 1; min-width: 90px; font-weight: 600; }
.inst-row2 .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn.sm.gray { background: var(--fill); color: var(--accent); }
.app-icons { display: flex; flex-wrap: wrap; gap: 12px 8px; justify-content: center; background: var(--card); border-radius: 14px; padding: 12px; margin: 8px 0; }
.app-icons span { width: 64px; text-align: center; font-size: 11.5px; line-height: 1.2; }
.app-icons i { display: block; width: 52px; height: 52px; border-radius: 12px; background: #ddd center/cover; margin: 0 auto 4px; }
.numbered .nb { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; margin: 12px 0 4px; }
.center-block { text-align: center; padding: 6px 4px; }
.center-block .spinner { margin: 8px auto; }
.stuck-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 13px 4px; font-size: 16px; border-bottom: .5px solid var(--sep); }
.stuck-list button span { color: var(--label3); }

.done-hero .confetti { position: relative; height: 80px; overflow: hidden; margin-bottom: -60px; }
.done-hero .confetti i { position: absolute; top: -10px; width: 8px; height: 12px; border-radius: 2px; animation: aa-fall 2.6s linear 2 forwards; }
@keyframes aa-fall { to { transform: translateY(110px) rotate(320deg); opacity: 0; } }
.checkbig { width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: #fff; font-size: 42px; display: grid; place-items: center; margin: 0 auto 6px; position: relative; animation: aa-pop .6s ease-out; }
@keyframes aa-pop { 0% { transform: scale(.3); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.rate textarea { width: 100%; border: 0; border-radius: 12px; background: var(--fill); color: var(--label); font: inherit; font-size: 16px; padding: 10px 12px; resize: none; margin-top: 4px; box-sizing: border-box; }
.rate textarea::placeholder { color: var(--label2); }
.center-screen .time-card { background: var(--bg2); }
.wizard .timebar { top: 48px; }
.wizard .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ===== Правки Артура по живому релизу 2d1ee42 (27.11) ===== */
.home-hint { font-size: 15px; font-weight: 600; color: var(--label2); line-height: 1.3; padding-right: 10px; }
.sheet-x { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--fill); color: var(--label2); display: grid; place-items: center; z-index: 2; }
.sheet { touch-action: pan-y; }
.set-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.sb-hint { font-size: 13px; color: var(--label2); line-height: 1.35; }
.sb-btn { flex: none; font-size: 15px; font-weight: 600; color: var(--accent); background: var(--fill); border-radius: 16px; padding: 6px 12px; }
.sb-btn.on { background: var(--accent); color: #fff; }
.packbox .offer-price { display: inline-flex; align-items: baseline; gap: 6px; }
.packbox .offer-price s { font-size: 14px; color: var(--label2); font-weight: 500; }
.offer-save { font-size: 13px; font-weight: 700; color: var(--violet); margin: -2px 0 6px; }
.sheet .sheet-x + * { margin-top: 26px; }
/* official SBP block (sbp.nspk.ru, original file, untouched): main version with descriptor ≥ 40 px high,
   allowed backgrounds white / light beige / dark navy → always on white, protective field around it */
.sbp-logo { flex: none; display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 6px 8px; }
.sbp-logo img { display: block; height: 40px; width: auto; }

/* ===== Третий круг (Артур 27.11): один «Ваш выбор» ===== */
.preset-note { font-size: 14px; line-height: 1.35; margin: 0 0 8px; color: var(--label); }
.shelf .go-txt { flex: none; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; border-radius: 18px; padding: 10px 16px; }
.shelf-in.empty { cursor: default; }
.shelf-in.flash { animation: aa-flash .9s ease-out; }
@keyframes aa-flash { 0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, .55), 0 6px 24px rgba(0, 0, 0, .16); transform: scale(1); } 30% { transform: scale(1.03); } 100% { box-shadow: 0 0 0 14px rgba(0, 122, 255, 0), 0 6px 24px rgba(0, 0, 0, .16); transform: scale(1); } }
.et.have .ico { opacity: .55; box-shadow: 0 0 0 2.5px var(--green); }
.et .have-mark { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); z-index: 1; background: var(--green); color: #fff; font-size: 9px; font-weight: 800; border-radius: 6px; padding: 1px 5px; white-space: nowrap; }
.preset.head { min-height: 0; }

/* ===== Четвёртый круг (Артур 27.11): лента на реальных данных, подборка блогера ===== */
.preset .pr-ava { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.preset .pr-ava svg { width: 30px; height: 30px; }
.feed-ok { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--label2); margin-top: 12px; }
.feed-ok input { margin-top: 2px; width: 18px; height: 18px; flex: none; }
/* paid MAX: gift slot becomes a 🎁 hint of the offer */
.shelf .slots i.gh { display: grid; place-items: center; font-size: 13px; font-style: normal; border: 1.5px dashed var(--violet); background: transparent; }
/* «Установить» already opened: green outline, light fill, still tappable (not like the gray «Вторая ссылка») */
.btn.sm.opened { background: rgba(52, 199, 89, .12); color: #1f9d48; box-shadow: inset 0 0 0 1.5px #34c759; }
.btn.sm.gray.opened2 { color: #1f9d48; }
/* step 6: last and mandatory */
.last-step { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 149, 0, .14); border: 1.5px solid rgba(255, 149, 0, .55); border-radius: 14px; padding: 11px 12px; margin: 10px 0 4px; font-size: 22px; line-height: 1; }
.last-step b { display: block; font-size: 16px; line-height: 1.25; }
.last-step span { display: block; font-size: 14px; line-height: 1.35; color: var(--label2); margin-top: 3px; }
/* step 5 check before «Все открылись», «Не открывается» hints */
.open-check { display: flex; gap: 10px; align-items: flex-start; background: rgba(52, 199, 89, .12); border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: 18px; line-height: 1; }
.open-check b { display: block; font-size: 15px; line-height: 1.3; }
.open-check span { display: block; font-size: 14px; line-height: 1.35; color: var(--label2); margin-top: 3px; }
.noopen-list { background: var(--bg2); border-radius: 12px; overflow: hidden; margin: 0 0 12px; }
.no-h { padding: 10px 12px; } .no-h + .no-h { border-top: .5px solid var(--sep); }
.no-h b { display: block; font-size: 15px; } .no-h span { display: block; font-size: 14px; color: var(--label2); line-height: 1.35; margin-top: 2px; }
/* fictional blogger collab card (Боря Скидон): bright pop tone, cut-out sticker avatar */
.t-pop { background: linear-gradient(135deg, #ff5f8f, #7b5cff 60%, #2fb4ff); }
.preset.has-blogger { padding-right: 96px; overflow: hidden; }
.preset .pr-blogger { position: absolute; right: -6px; bottom: -8px; width: 104px; height: 104px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.preset .pr-blogger svg { width: 100%; height: 100%; display: block; }
.preset .pr-blogger.big { width: 84px; height: 84px; right: 6px; top: 50%; bottom: auto; transform: translateY(-50%); }
.preset.head.has-blogger { padding-right: 100px; }
.preset .pr-note { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 600; background: rgba(0, 0, 0, .22); border-radius: 6px; padding: 1px 6px; opacity: .95; }
.preset .pr-nick { display: block; font-size: 12px; font-weight: 600; opacity: .9; margin-top: 1px; }
.preset.has-blogger .add { right: 104px; }
.preset.has-blogger .ics i:nth-child(n+3) { display: none; }
/* collab photo (with consent): cut-out sticker look, white outline ring on a bright disc */
.preset .pr-blogger.photo { border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffe14d, #ff7ab6); box-shadow: 0 0 0 4px #fff, 0 6px 16px rgba(0, 0, 0, .3); overflow: hidden; width: 92px; height: 92px; right: 6px; bottom: 6px; }
.preset .pr-blogger.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preset .pr-blogger.photo.big { width: 76px; height: 76px; }
/* collab photo as a free cut-out sticker (white outline baked into the PNG), like the drawn figure */
.preset .pr-blogger.photo { border-radius: 0; background: none; box-shadow: none; overflow: visible; width: 108px; height: 108px; right: -4px; bottom: -4px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.preset .pr-blogger.photo img { object-fit: contain; }
.preset .pr-blogger.photo.big { width: 86px; height: 86px; right: 4px; bottom: auto; top: 50%; transform: translateY(-50%); }
/* upsell: chosen apps with «−», empty «+» slots up to five */
.up-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 8px; margin: 4px 0 14px; }
.up-t { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.up-t .ico { display: block; width: 52px; height: 52px; border-radius: 12px; background: #ddd center/cover; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.up-t.add .ico { background: transparent; border: 1.5px dashed var(--accent); color: var(--accent); font-size: 24px; box-shadow: none; display: grid; place-items: center; }
.up-t .nm { font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--label2); }
.up-rm { position: absolute; top: -6px; right: calc(50% - 32px); width: 22px; height: 22px; border-radius: 50%; background: var(--label2); color: var(--bg); font-size: 16px; font-weight: 700; line-height: 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
/* preset vs «Ваш выбор»: now / already / will be added */
.pv-sec { margin: 10px 0 4px; }
.pv-h { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pv-sub { font-size: 13px; color: var(--label2); margin: -4px 0 6px; }
.pv-mini { display: flex; flex-wrap: wrap; gap: 4px; }
.pv-mini i { width: 26px; height: 26px; border-radius: 7px; background: #ddd center/cover; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.et.pick .ck2 { position: absolute; top: -6px; right: calc(50% - 35px); width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--label3); background: var(--bg); color: #fff; font-size: 12px; font-weight: 800; line-height: 18px; z-index: 1; }
.et.pick .ck2.on { background: var(--accent); border-color: var(--accent); }
.et.pick.off .ico { opacity: .35; filter: grayscale(.6); }
.et.pick.off > span:last-child { color: var(--label3); }
/* preset sheet, round 2: unticked apps look normal (only the check is empty), plain-language total, gift offer line */
.et.pick.off .ico { opacity: 1; filter: none; }
.et.pick.off > span:last-child { color: var(--label); }
.et.pick .ck2:not(.on) { background: rgba(255, 255, 255, .92); }
.pv-mini i.gift { box-shadow: 0 0 0 2px var(--violet); }
.pv-total { background: var(--bg2); border-radius: 14px; padding: 12px; margin-top: 12px; }
.pv-t1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; }
.pv-t1 s { color: var(--label2); font-size: 14px; font-weight: 500; }
.pv-t2 { font-size: 13px; color: var(--label2); margin-top: 4px; }
.pv-offer { font-size: 13px; font-weight: 700; color: var(--violet); margin-top: 4px; }

/* ---- night-client-ux 27.11: install step after the tap, code wait, reinstall, reissue, skeletons ---- */
/* green «tap here» ring, the same language as the iOS frames (.i .hit) */
.go-here { position: relative; box-shadow: 0 0 0 2.5px var(--green), 0 0 0 6px rgba(52, 199, 89, .25); animation: aa-go 1.4s ease-in-out infinite; }
.btn.block.go-here { background: var(--green); color: #fff; }
@keyframes aa-go { 50% { box-shadow: 0 0 0 2.5px var(--green), 0 0 0 9px rgba(52, 199, 89, .12); } }
@media (prefers-reduced-motion: reduce) { .go-here { animation: none; } }
.btn.busy { opacity: .6; pointer-events: none; }
.btn.sm.again { min-width: 92px; }
.btn.sm.again::before { content: "↻"; font-weight: 700; margin-right: 2px; }
/* progress «2 из 5» */
.inst-prog { background: var(--card); border-radius: 14px; padding: 10px 12px 12px; margin: 8px 0; }
.ip-top { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--label2); }
.ip-top b { font-size: 20px; color: var(--label); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ip-bar { height: 6px; border-radius: 3px; background: var(--fill); margin-top: 8px; overflow: hidden; }
.ip-bar i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--green); transform-origin: left center; }
/* rows: tapped ones calm down, the next one stands out */
.inst-row2 .t small { display: block; font-size: 12.5px; font-weight: 500; color: var(--okink); margin-top: 1px; }
.inst-row2.tapped img { box-shadow: 0 0 0 2px var(--okbg); }
.inst-row2.next { background: var(--okbg); }
/* «Теперь на iPhone» card */
.after-tap { background: var(--okbg); border-radius: 14px; padding: 12px 14px 6px; margin: 10px 0 4px; }
.after-tap > b { display: block; font-size: 15px; margin-bottom: 4px; }
.after-tap ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.4; }
.after-tap li + li { margin-top: 4px; }
.after-tap .kw { color: var(--okink); font-weight: 700; }
.after-tap .link-btn { text-align: left; padding: 8px 0 6px; }
.no-h .btn.sm { margin-top: 8px; }
/* code wait */
.code-card .cw-t { font-size: 15px; color: var(--label2); font-variant-numeric: tabular-nums; min-width: 36px; }
.code-card .resend { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
/* reinstall entry on «Готово» and the re-entry banner */
.reinstall-row { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--bg2); border-radius: 14px; padding: 12px; margin: 12px 0; }
.reinstall-row .ri-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--fill); color: var(--accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.reinstall-row .t { flex: 1; min-width: 0; }
.reinstall-row .t b { display: block; font-size: 15px; } .reinstall-row .t span { display: block; font-size: 13px; color: var(--label2); margin-top: 2px; }
.reentry-line { display: flex; align-items: center; gap: 8px; background: var(--okbg); color: var(--okink); border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 600; margin: -4px 0 10px; }
.mini-ics { display: flex; justify-content: center; gap: 6px; margin: 4px 0 2px; }
.mini-ics i { width: 34px; height: 34px; border-radius: 9px; background: #ddd center/cover; }
.center-block .time-card.left { text-align: left; }
/* skeleton of the wizard while the order loads (slow VPN) */
.sk-line { height: 38px; border-radius: 12px; background: var(--bg2); margin: 2px 0 12px; animation: pulse 1.2s ease-in-out infinite; }
.skeleton.tall { height: 300px; }
.resend-wait b { font-variant-numeric: tabular-nums; color: var(--label); }
/* night-integration 27.11: registry K3–K12 lines on the steps */
.alt-line { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--fill); border-radius: 14px; padding: 10px 12px; margin: 10px 0 4px; font-size: 14px; line-height: 1.35; color: var(--label); }
.why-line, .k5-line { margin: 8px 0; }
.safari-copy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* relogin 27.11: «Продолжить с шага N» (server knows a later step) and the way back to the sign-in */
.resume-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--fill); border-radius: 14px; padding: 10px 12px; margin: 0 0 10px; font-size: 14px; }
.relogin-link { display: block; margin: 6px auto 0; }
