@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}/* Playgram — «журнал + биржа». Цвета фона и текста берутся из темы Telegram, акцент и цвета рынка — свои. */
:root {
  --bg: var(--tg-theme-bg-color, #ffffff);
  --bg-2: var(--tg-theme-secondary-bg-color, #f2f2f6);
  --card: var(--tg-theme-section-bg-color, #ffffff);
  --ink: var(--tg-theme-text-color, #0f1014);
  --ink-2: var(--tg-theme-subtitle-text-color, #6c6f7d);
  --ink-3: var(--tg-theme-hint-color, #a2a5b1);
  --line: rgba(15, 16, 20, .09);
  --brand: #4b3cf5;
  --brand-soft: rgba(75, 60, 245, .1);
  --up: #0c9b68;
  --up-soft: rgba(12, 155, 104, .1);
  --down: #e0464c;
  --down-soft: rgba(224, 70, 76, .1);
  --star: #f2a516;
  --shade: 0 1px 2px rgba(15, 16, 20, .04), 0 8px 24px rgba(15, 16, 20, .08);
  --safe-top: var(--tg-content-safe-area-inset-top, 0px);
  --safe-bottom: max(var(--tg-safe-area-inset-bottom, 0px), env(safe-area-inset-bottom, 0px));
  --tab-h: 58px;
  --r-card: 22px;
  color-scheme: light;
}
:root.dark {
  --bg: var(--tg-theme-bg-color, #0f1014);
  --bg-2: var(--tg-theme-secondary-bg-color, #000000);
  --card: var(--tg-theme-section-bg-color, #1a1b20);
  --ink: var(--tg-theme-text-color, #f3f4f7);
  --ink-2: var(--tg-theme-subtitle-text-color, #9a9dab);
  --ink-3: var(--tg-theme-hint-color, #686b78);
  --line: rgba(255, 255, 255, .1);
  --brand: #8277ff;
  --brand-soft: rgba(130, 119, 255, .16);
  --up: #2ccf8c;
  --up-soft: rgba(44, 207, 140, .14);
  --down: #ff6b70;
  --down-soft: rgba(255, 107, 112, .14);
  --shade: 0 0 0 1px rgba(255, 255, 255, .06);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font: 400 15px/1.45 "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }

#view { padding: calc(var(--safe-top) + 6px) 0 calc(var(--tab-h) + var(--safe-bottom) + 28px); min-height: 100vh; }
#view.no-tabs { padding-bottom: calc(var(--safe-bottom) + 28px); }
.col { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.bleed { max-width: 720px; margin: 0 auto; }

/* ---------- заголовки страниц ---------- */
.lt { display: flex; align-items: flex-end; gap: 12px; padding-top: 10px; margin-bottom: 18px; }
.lt .tx { flex: 1; min-width: 0; }
.lt small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.lt h1 { margin: 0; font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -.028em; }
.me-btn { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; margin-bottom: 2px; }
.avatar { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.sh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 12px; }
.sh h2 { margin: 0; font-size: 21px; font-weight: 750; letter-spacing: -.018em; line-height: 1.2; }
.sh p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.sh .more { font-size: 15px; font-weight: 600; color: var(--brand); flex: none; padding: 6px 0 6px 10px; }
.rule { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ---------- иконка приложения ---------- */
.ico { border-radius: 23%; flex: none; object-fit: cover; background: var(--bg-2); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1); }
.ico.letter { display: grid; place-items: center; color: #fff; font-weight: 800; }
.vf { width: 16px; height: 16px; flex: none; }
.tgb { width: 16px; height: 16px; flex: none; }
.off-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: #2a9ef1; margin-top: 4px; }
.off-line .tgb { width: 16px; height: 16px; }

/* ---------- кнопки ---------- */
.get { height: 30px; min-width: 76px; padding: 0 16px; border-radius: 15px; background: var(--bg-2); color: var(--brand); font-size: 14px; font-weight: 750;
  display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: .01em; }
:root.dark .get { background: rgba(255, 255, 255, .1); }
:root.dark .get.solid { background: var(--brand); color: #fff; }
:root.dark .get.light { background: rgba(255, 255, 255, .24); color: #fff; }
.get.solid { background: var(--brand); color: #fff; }
.get.light { background: rgba(255, 255, 255, .24); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn { height: 50px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s ease; }
.btn:active, .get:active { transform: scale(.97); }
.btn.ghost { background: var(--bg-2); color: var(--ink); }
.btn.danger { background: var(--down-soft); color: var(--down); }
.btn.sm { height: 42px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 20px; height: 20px; }
.btn[disabled], .get[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: var(--bg-2); flex: none; }
:root.dark .icon-btn { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.on { color: var(--down); }
.link { color: var(--brand); font-weight: 600; }

/* ---------- истории «Сегодня» ---------- */
.story { display: block; width: 100%; border-radius: var(--r-card); overflow: hidden; position: relative; margin-bottom: 22px; background: var(--card);
  box-shadow: var(--shade); text-align: left; isolation: isolate; color: var(--ink); }
.story.media { min-height: 452px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: #111; }
.story .art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.story .art img.cover { width: 100%; height: 100%; object-fit: cover; }
.story .art .blur { position: absolute; inset: -25%; width: 150%; height: 150%; object-fit: cover; filter: blur(48px) saturate(1.6) brightness(.9); }
.story .art .big { position: absolute; left: 50%; top: 45%; width: 44%; max-width: 220px; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-6deg);
  border-radius: 23%; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); object-fit: cover; }
.story.media::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 46%, rgba(0,0,0,.78) 100%); }
.story .head { padding: 18px 20px 0; }
.story .eyebrow { font-size: 13px; font-weight: 700; opacity: .9; letter-spacing: .01em; }
.story .title { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; margin: 4px 0 0; max-width: 92%; }
.story .foot { padding: 0 20px 18px; }
.story .lede { font-size: 15px; line-height: 1.4; opacity: .9; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story .bar { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.story .bar .tx { flex: 1; min-width: 0; }
.story .bar b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story .bar .tx span { display: block; font-size: 13px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story.plain .head { padding: 18px 18px 0; }
.story.plain .eyebrow { color: var(--brand); opacity: 1; }
.story.plain .title { font-size: 24px; }
.story.plain .sub { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.story.plain .body { padding: 8px 4px 6px; }
.story.plain .cta { display: flex; justify-content: center; padding: 6px 18px 16px; }
.icon-row { display: flex; gap: 12px; padding: 16px 18px 20px; overflow-x: auto; scrollbar-width: none; }
.icon-row::-webkit-scrollbar { display: none; }
.icon-row::after { content: ""; flex: none; width: 2px; }
.icon-row button { flex: none; width: 76px; }
.icon-row b { display: block; font-size: 12px; font-weight: 600; margin-top: 7px; line-height: 1.25; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- строки ---------- */
.item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; min-height: 72px; position: relative; text-align: left; }
.item + .item::before { content: ""; position: absolute; top: 0; right: 14px; height: 1px; background: var(--line); left: var(--sep, 82px); }
.item .tx { flex: 1; min-width: 0; }
.item .nm { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 650; line-height: 1.3; }
.item .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .ds { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.item .mt { font-size: 12px; color: var(--ink-3); margin-top: 2px; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.item .mt i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; }
.item .mt svg { width: 11px; height: 11px; }
.item .mt .st svg { color: var(--star); }
.group { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: var(--shade); }

/* App Store-ряды: колонки по 3 строки, листаются вбок */
.pager { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 34px); gap: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none; max-width: 720px; margin: 0 auto; }
.pager::-webkit-scrollbar { display: none; }
.pager .pcol { scroll-snap-align: start; display: flex; flex-direction: column; }
.pager .item { padding: 8px 0; min-height: 76px; }
.pager .item + .item::before { left: 68px; right: 0; }
.pager .item .ico { width: 56px; height: 56px; }
.pager .rnk { width: 14px; font-size: 15px; font-weight: 700; color: var(--ink-2); flex: none; text-align: left; margin-right: -2px; }

/* карусель обложек */
.covers { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none;
  max-width: 720px; margin: 0 auto; }
.covers::-webkit-scrollbar { display: none; }
.cover { flex: none; width: calc(100% - 34px); scroll-snap-align: start; text-align: left; }
.cover .lbl { font-size: 12px; font-weight: 700; color: var(--brand); }
.cover .ttl { font-size: 21px; font-weight: 750; letter-spacing: -.015em; line-height: 1.2; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover .sb { font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover .pic { margin-top: 10px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; position: relative; background: var(--bg-2); isolation: isolate; }
.cover .pic img.cv { width: 100%; height: 100%; object-fit: cover; }
.cover .pic .blur { position: absolute; inset: -30%; width: 160%; height: 160%; object-fit: cover; filter: blur(40px) saturate(1.5); z-index: -1; }
.cover .pic .big { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 23%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3); object-fit: cover; }

/* ---------- биржа ---------- */
.mk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; min-height: 64px; position: relative; text-align: left; }
.mk + .mk::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--line); }
.mk .pos { width: 30px; flex: none; text-align: center; line-height: 1.1; }
.mk .pos b { display: block; font-size: 15px; font-weight: 750; }
.dlt { display: inline-flex; align-items: center; justify-content: center; gap: 1px; font-size: 10.5px; font-weight: 750;
  color: var(--ink-3); margin-top: 2px; }
.dlt svg { width: 9px; height: 9px; }
.dlt.up { color: var(--up); }
.dlt.dn { color: var(--down); }
.dlt.nw { color: var(--brand); }
.mk .ico { width: 40px; height: 40px; }
.mk .tx { flex: 1; min-width: 0; }
.mk .nm { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 650; }
.mk .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .ds { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk .spark, .mk .spk0 { flex: none; }
.spk0 { width: 58px; height: 26px; }
.mk .val { width: 66px; flex: none; text-align: right; line-height: 1.2; }
.mk .val b { display: block; font-size: 15px; font-weight: 700; }
.chg { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.chg.up { color: var(--up); }
.chg.dn { color: var(--down); }
.mk-head { display: flex; align-items: center; gap: 10px; padding: 0 14px 8px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.mk-head .c1 { width: 30px; text-align: center; }
.mk-head .c2 { flex: 1; padding-left: 50px; }
.mk-head .c3 { width: 66px; text-align: right; }
.spark { width: 58px; height: 26px; display: block; }
.spark .l { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.spark.up .l { stroke: var(--up); }
.spark.dn .l { stroke: var(--down); }
.spark.fl .l { stroke: var(--ink-3); }

/* ---------- переключатели ---------- */
.seg { display: flex; background: var(--bg-2); border-radius: 10px; padding: 2px; }
:root.dark .seg { background: rgba(255, 255, 255, .08); }
.seg button { text-align: center; flex: 1; height: 30px; border-radius: 8px; font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
:root.dark .seg button.on { background: rgba(255, 255, 255, .16); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 16px; max-width: 720px; margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 32px; padding: 0 13px; border-radius: 16px; font-size: 13.5px; font-weight: 650; white-space: nowrap; flex: none; color: var(--ink-2);
  background: var(--bg-2); display: inline-flex; align-items: center; }
:root.dark .chip { background: rgba(255, 255, 255, .08); }
.chip.on, :root.dark .chip.on { background: var(--ink); color: var(--bg); }

/* ---------- таб-бар ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  padding: 0 4px var(--safe-bottom); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-top: .5px solid var(--line); }
.tabbar.hide { display: none; }
.tab { flex: 1; max-width: 140px; height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); font-size: 10.5px; font-weight: 650; }
.tab svg { width: 25px; height: 25px; }
.tab.on { color: var(--brand); }

/* ---------- страница приложения ---------- */
.ap-head { display: flex; gap: 16px; padding-top: 12px; }
.ap-head .ico { width: 116px; height: 116px; }
.ap-head .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ap-head h1 { margin: 0; font-size: 22px; line-height: 1.18; font-weight: 800; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.ap-head .sb { font-size: 14px; color: var(--ink-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-head .acts { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.ap-head .acts .get { height: 32px; min-width: 80px; padding: 0 14px; font-size: 15px; }
.ap-head .acts .r { display: flex; gap: 6px; }
.ap-head .acts .icon-btn { width: 34px; height: 34px; }
.ap-head .acts .icon-btn svg { width: 18px; height: 18px; }

.strip { display: flex; overflow-x: auto; scrollbar-width: none; margin: 22px 0 0; padding: 0 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.strip::-webkit-scrollbar { display: none; }
.strip .cell { flex: none; min-width: 100px; padding: 0 14px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.strip .cell:first-child { padding-left: 0; }
.strip .cell + .cell::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.strip small { font-size: 11px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.strip b { font-size: 19px; font-weight: 750; color: var(--ink-2); margin: 3px 0 1px; display: inline-flex; align-items: center; gap: 4px; height: 26px; white-space: nowrap; }
.strip b svg { width: 20px; height: 20px; }
.strip span { font-size: 12px; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.strip .stars { color: var(--star); }
.strip .stars svg { width: 10px; height: 10px; }

.shots { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none;
  max-width: 720px; margin: 0 auto; }
.shots::-webkit-scrollbar { display: none; }
.shots img { height: 420px; max-width: 78vw; border-radius: 18px; flex: none; scroll-snap-align: start; object-fit: cover; background: var(--bg-2);
  box-shadow: inset 0 0 0 .5px var(--line); }
.shots img.land { height: 210px; max-width: 88vw; }

.desc { white-space: pre-line; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; margin: 0; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); padding: 4px 10px; border-radius: 8px; }
:root.dark .tag { background: rgba(255, 255, 255, .08); }

/* график аудитории */
.quote { background: var(--card); border-radius: 18px; padding: 16px 16px 12px; box-shadow: var(--shade); }
.qhead { min-height: 58px; }
.quote .v { font-size: 30px; font-weight: 750; letter-spacing: -.025em; line-height: 1.05; }
.quote .v small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.quote .d { font-size: 13.5px; font-weight: 650; margin-top: 5px; color: var(--ink-3); }
.quote .d.up { color: var(--up); }
.quote .d.dn { color: var(--down); }
.qplot { margin: 10px -2px 0; min-height: 60px; }
.qchart { display: block; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: visible; }
.qchart .grid line { stroke: var(--line); stroke-width: 1; }
.qchart text { fill: var(--ink-3); font-size: 11px; font-weight: 500; font-family: inherit; }
.qchart .l { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.qchart .area { stroke: none; opacity: .07; }
.qchart.up .l { stroke: var(--up); } .qchart.up .area, .qchart.up .end, .qchart.up .pt { fill: var(--up); }
.qchart.dn .l { stroke: var(--down); } .qchart.dn .area, .qchart.dn .end, .qchart.dn .pt { fill: var(--down); }
.qchart.fl .l { stroke: var(--ink-2); } .qchart.fl .area, .qchart.fl .end, .qchart.fl .pt { fill: var(--ink-2); }
.qchart .cur { stroke: var(--ink-3); stroke-width: 1; }
.qchart .pt { stroke: var(--card); stroke-width: 2; }
.qper { display: flex; gap: 4px; margin-top: 8px; }
.qper button { flex: 1; height: 30px; border-radius: 8px; font-size: 13px; font-weight: 650; color: var(--ink-3); text-align: center; }
.qper button.on { background: var(--bg-2); color: var(--ink); }
:root.dark .qper button.on { background: rgba(255, 255, 255, .1); }
.qstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.qstats div { text-align: center; }
.qstats div + div { border-left: 1px solid var(--line); }
.qstats small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.qstats b { font-size: 15px; font-weight: 700; }
.qempty { color: var(--ink-3); font-size: 14px; padding: 18px 8px 10px; text-align: center; }
.qper[hidden], .qstats[hidden] { display: none; }

/* отзывы */
.rsum { display: flex; align-items: center; gap: 18px; }
.rsum .big { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.rsum .of { font-size: 13px; color: var(--ink-2); font-weight: 650; margin-top: 6px; text-align: center; }
.rsum .bars { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.rsum .bars div { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--ink-3); }
.rsum .bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-2); overflow: hidden; display: block; }
:root.dark .rsum .bars i { background: rgba(255, 255, 255, .1); }
.rsum .bars em { display: block; height: 100%; background: var(--ink-2); border-radius: 2px; }
.rsum .cnt { font-size: 13px; color: var(--ink-3); text-align: right; margin-top: 4px; }
.stars { display: inline-flex; gap: 1px; color: var(--star); vertical-align: -1px; }
.stars svg { width: 12px; height: 12px; }
.stars .off { color: var(--line); }
:root.dark .stars .off { color: rgba(255, 255, 255, .16); }
.rate { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin-top: 16px; }
.rate span { font-size: 15px; color: var(--ink-2); }
.sti { display: flex; gap: 2px; }
.sti button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-3); }
.sti button.on { color: var(--star); }
.sti svg { width: 26px; height: 26px; }
.sti.big { justify-content: center; gap: 6px; }
.sti.big button { width: 46px; height: 46px; }
.sti.big svg { width: 36px; height: 36px; }
.rcards { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% - 34px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none; max-width: 720px; margin: 16px auto 0; }
.rcards::-webkit-scrollbar { display: none; }
.rc { background: var(--bg-2); border-radius: 14px; padding: 14px; scroll-snap-align: start; min-height: 168px; display: flex; flex-direction: column; text-align: left; }
:root.dark .rc { background: var(--card); }
.rc .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc .who { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere; }
.rc .rp { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc .rp b { color: var(--ink); font-weight: 650; }
.rv { padding: 16px 0; }
.rv + .rv { border-top: 1px solid var(--line); }
.rv .top { display: flex; align-items: center; gap: 8px; }
.rv .top .who { font-size: 13px; color: var(--ink-3); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv .top .dots { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-3); }
.rv .top .dots svg { width: 18px; height: 18px; }
.rv p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.rv .rp { margin-top: 10px; padding: 10px 12px; background: var(--bg-2); border-radius: 12px; font-size: 14px; }
:root.dark .rv .rp { background: rgba(255, 255, 255, .06); }
.rv .rp b { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.mine { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; }

/* сведения */
.info { margin-top: 4px; }
.info div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; }
.info div + div { border-top: 1px solid var(--line); }
.info dt { color: var(--ink-3); }
.info dd { margin: 0; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- профиль, формы ---------- */
.menu { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shade); }
.mi { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; width: 100%; text-align: left; position: relative; font-size: 16px; }
.mi + .mi::before { content: ""; position: absolute; top: 0; right: 0; left: 56px; height: 1px; background: var(--line); }
.mi .mic { width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.mi .mic svg { width: 17px; height: 17px; }
.mi .lb { flex: 1; }
.mi small { color: var(--ink-3); font-size: 15px; }
.mi .chev { width: 15px; height: 15px; color: var(--ink-3); }
.mi .ck { width: 20px; height: 20px; color: var(--brand); }
.me-card { display: flex; align-items: center; gap: 14px; padding: 4px 0 6px; }
.me-card .ph { width: 64px; height: 64px; flex: none; }
.me-card b { font-size: 21px; font-weight: 750; display: block; }
.me-card span { font-size: 14px; color: var(--ink-2); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.input, .textarea, .select { width: 100%; border: 1px solid transparent; background: var(--bg-2); border-radius: 12px; padding: 12px; font-size: 16px; outline: none; }
:root.dark .input, :root.dark .textarea, :root.dark .select { background: rgba(255, 255, 255, .07); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); }
.searchbox { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--bg-2); color: var(--ink-3); }
:root.dark .searchbox { background: rgba(255, 255, 255, .08); }
.searchbox svg { width: 18px; height: 18px; flex: none; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); height: 100%; }
.searchbox input::placeholder { color: var(--ink-3); }
.hint { font-size: 13px; color: var(--ink-3); line-height: 1.45; margin-top: 6px; }
.counter { text-align: right; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.err { color: var(--down); font-size: 14px; margin-top: 8px; }
.codebox { font: 700 24px/1 "Onest", sans-serif; letter-spacing: .08em; background: var(--bg-2); border-radius: 14px; padding: 18px; text-align: center;
  margin: 14px 0 6px; user-select: all; }
.steps { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.55; }
.steps li + li { margin-top: 6px; }
.langseg { display: flex; gap: 6px; margin-bottom: 12px; }
.langseg button { text-align: center; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.langseg button.on { background: var(--ink); color: var(--bg); }
.toggle { width: 51px; height: 31px; border-radius: 16px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.toggle.on { background: var(--up); }
.toggle.on::after { transform: translateX(20px); }

/* шторка, тост */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .38); z-index: 40; opacity: 0; transition: opacity .25s; }
.sheet-bg.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--card); border-radius: 20px 20px 0 0; max-height: 90vh; overflow-y: auto;
  padding: 8px 16px calc(var(--safe-bottom) + 18px); transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); max-width: 720px; margin: 0 auto; }
.sheet.show { transform: none; }
.sheet .grab { width: 36px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { font-size: 19px; font-weight: 750; margin: 0 0 16px; text-align: center; }
.sheet .acts { display: flex; gap: 10px; margin-top: 8px; }
#toast { position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + var(--tab-h) + 16px); transform: translate(-50%, 16px); z-index: 60; background: var(--ink);
  color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* состояния */
.skel { background: linear-gradient(90deg, var(--bg-2) 25%, var(--line) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: sk 1.3s linear infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } * { transition: none !important; } }
.empty { text-align: center; padding: 44px 24px; color: var(--ink-2); font-size: 14px; }
.empty svg { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 12px; display: block; }
.empty b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.loadmore { display: flex; justify-content: center; padding: 18px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.smart { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.smart svg { width: 15px; height: 15px; color: var(--brand); }
.recent { display: flex; flex-wrap: wrap; gap: 8px; }
.space { height: 14px; }
.center { text-align: center; }
.foot-ver { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 26px; }

/* кабинет и админка */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shade); min-width: 0; }
.kpi b { display: block; font-size: 22px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi span { font-size: 12px; color: var(--ink-3); }
.card { background: var(--card); border-radius: 18px; padding: 16px; box-shadow: var(--shade); }
.badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--up-soft); color: var(--up); }
.badge.warn { background: rgba(242, 165, 22, .16); color: #b97a00; }
.badge.bad { background: var(--down-soft); color: var(--down); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.ok { background: var(--up); }
.dot.bad { background: var(--down); }
.dot.run { background: var(--star); }
.job { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.job + .job { border-top: 1px solid var(--line); }
.job .tx { flex: 1; min-width: 0; }
.job b { display: block; font-size: 15px; font-weight: 650; }
.job small { display: block; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.logline { font-size: 12.5px; line-height: 1.45; padding: 7px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; color: var(--ink-2); }
.logline.error { color: var(--down); }
.logline.warn { color: #b97a00; }
.vbars { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.vbars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; height: 100%; }
.vbars i { display: block; background: var(--brand); border-radius: 3px 3px 0 0; min-height: 1px; }
.vbars i.o { background: var(--up); border-radius: 0; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.shot-edit { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.shot-edit .s { position: relative; flex: none; }
.shot-edit img { height: 160px; border-radius: 12px; }
.shot-edit .s button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.shot-edit .s button svg { width: 14px; height: 14px; }
.shot-edit .s .left { right: auto; left: 6px; }
.shot-add { width: 104px; height: 160px; border-radius: 12px; border: 1.5px dashed var(--ink-3); display: grid; place-items: center; color: var(--ink-3); flex: none; cursor: pointer; }
.shot-add svg { width: 26px; height: 26px; }
.mini { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mini button { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--bg-2); font-size: 12px; font-weight: 650; color: var(--ink-2); }
.mini button.on { background: var(--brand-soft); color: var(--brand); }

/* правила, жалобы, баннеры */
.lead { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: -6px 0 0; }
.rlist { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.rlist li + li { margin-top: 8px; }
.rrow { display: flex; gap: 12px; padding: 14px; align-items: flex-start; }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rrow .ri { width: 32px; height: 32px; border-radius: 9px; background: var(--down-soft); color: var(--down); display: grid; place-items: center; flex: none; }
.rrow .ri svg { width: 17px; height: 17px; }
.rrow b { display: block; font-size: 15px; font-weight: 700; }
.rrow p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.report-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 14px; border-radius: 14px;
  background: var(--bg-2); color: var(--down); font-size: 15px; font-weight: 650; }
:root.dark .report-link { background: rgba(255, 255, 255, .06); }
.report-link svg { width: 18px; height: 18px; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; margin-bottom: 16px; }
.banner.bad { background: var(--down-soft); color: var(--down); }
.banner svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.banner b { display: block; font-size: 15px; }
.banner b::first-letter { text-transform: uppercase; }
.banner p { margin: 2px 0 0; font-size: 14px; color: var(--ink); }
.ck0 { width: 20px; height: 20px; display: grid; place-items: center; }

/* подсказки поиска, подписка */
.sugg { margin-top: 10px; }
.sq { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 4px; font-size: 16px; text-align: left; border-bottom: 1px solid var(--line); }
.sq svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.sq span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 4px; text-align: left; border-bottom: 1px solid var(--line); }
.sa .tx { flex: 1; min-width: 0; }
.sa .nm { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 650; }
.sa .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa .ds { font-size: 13px; color: var(--ink-3); }
.sa .chev { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.icon-btn.sub { color: #fff; background: var(--brand); }
:root.dark .icon-btn.sub { background: var(--brand); }
.mi .lb .mi-sub { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.mi:has(.mi-sub) { padding-top: 9px; padding-bottom: 9px; }

/* ---------- переходы между экранами ---------- */
@keyframes pgPush { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes pgPop { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes pgFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#view.pg-push { animation: pgPush .26s cubic-bezier(.2, .8, .2, 1); }
#view.pg-pop { animation: pgPop .26s cubic-bezier(.2, .8, .2, 1); }
#view.pg-fade { animation: pgFade .22s ease-out; }
.story, .cover, .tile, .pod, .icon-row button { transition: transform .16s ease; }
.story:active, .cover:active, .pod:active, .icon-row button:active { transform: scale(.975); }
.story.plain .head { display: block; width: 100%; text-align: left; }
.mk .val b.nd { color: var(--ink-3); font-weight: 600; }

/* ---------- пьедестал ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 8px; align-items: end; margin: 2px 0 18px; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.pod .ico { margin-bottom: 8px; box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 35%, transparent); }
.pod b { font-size: 13.5px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.pod > span { font-size: 13px; color: var(--ink-2); font-weight: 600; margin-top: 1px; }
.pod .chg { margin-top: 1px; }
.pod .step { width: 100%; margin-top: 10px; border-radius: 14px 14px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; background: color-mix(in srgb, var(--c) 18%, var(--card)); box-shadow: var(--shade); transform-origin: bottom; animation: podUp .55s cubic-bezier(.2, .8, .2, 1) both; }
.pod .step i { font-style: normal; font-size: 26px; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, var(--ink)); line-height: 1; }
.pod.p1 .step { height: 92px; animation-delay: .12s; }
.pod.p2 .step { height: 66px; animation-delay: .04s; }
.pod.p3 .step { height: 50px; animation-delay: .2s; }
.pod.p1 b { font-size: 14.5px; }
@keyframes podUp { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- шапка категории и подборки ---------- */
.cat-hero { padding: 14px 0 18px; }
.cat-hero .cat-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.cat-hero .cat-ic svg { width: 30px; height: 30px; }
.cat-hero small { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.cat-hero h1 { margin: 2px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -.028em; line-height: 1.08; }
.cat-st { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 30px; font-size: 14px; color: var(--ink-2); }
.cat-st .stack { display: flex; }
.cat-st .stack img { width: 28px; height: 28px; border-radius: 23%; border: 2px solid var(--bg); margin-left: -8px; object-fit: cover; }
.cat-st .stack img:first-child { margin-left: 0; }
.col-hero { margin: 8px 0 18px; padding: 22px 18px 20px; border-radius: var(--r-card); background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0f1014)); color: #fff; }
.col-hero .eyebrow { font-size: 13px; font-weight: 700; opacity: .85; }
.col-hero h1 { margin: 4px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.col-hero p { margin: 8px 0 0; font-size: 15px; opacity: .85; line-height: 1.45; }

/* ---------- страница приложения: свечение и закреплённая шапка ---------- */
#view { position: relative; isolation: isolate; }
.ap-glow { position: absolute; left: 0; right: 0; top: 0; height: 300px; pointer-events: none; z-index: -1;
  background: radial-gradient(140% 100% at 20% 0%, color-mix(in srgb, var(--c) 38%, transparent), transparent 72%); }
.stick { position: fixed; left: 0; right: 0; top: 0; z-index: 25; padding-top: var(--safe-top); transform: translateY(-110%); transition: transform .25s ease;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: .5px solid var(--line); }
.stick.show { transform: none; }
.stick .in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 16px; }
.stick b { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- знакомство ---------- */
.onb { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding: calc(var(--safe-top) + 12px) 0 calc(var(--safe-bottom) + 18px);
  opacity: 0; transition: opacity .3s; }
.onb.show { opacity: 1; }
.onb .skip { align-self: flex-end; margin-right: 16px; font-size: 15px; font-weight: 600; color: var(--ink-3); padding: 8px; }
.onb .track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb .track::-webkit-scrollbar { display: none; }
.onb section { flex: none; width: 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 28px; text-align: center; }
.onb .art { width: 100%; max-width: 320px; height: 300px; display: grid; place-items: center; margin-bottom: 26px; }
.onb h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; max-width: 340px; }
.onb p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 340px; }
.onb .dots { display: flex; gap: 6px; justify-content: center; margin: 14px 0 16px; }
.onb .dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width .25s, background .25s; }
.onb .dots i.on { width: 22px; background: var(--brand); }
.onb > .btn { width: calc(100% - 32px); max-width: 420px; margin: 0 auto; }
.onb-cloud { display: grid; grid-template-columns: repeat(3, 84px); gap: 18px; }
.onb-cloud img { width: 84px; height: 84px; border-radius: 23%; object-fit: cover; box-shadow: 0 12px 28px rgba(0, 0, 0, .18); animation: fl 4.2s ease-in-out infinite; }
.onb-cloud img:nth-child(even) { animation-duration: 5s; }
@keyframes fl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.onb-chart { width: 100%; background: var(--card); border-radius: 20px; box-shadow: var(--shade); padding: 16px; }
.onb-chart svg { width: 100%; height: 120px; display: block; }
.onb-chart .g { stroke: var(--line); fill: none; }
.onb-chart .ln { fill: none; stroke: var(--up); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.onb-chart circle { fill: var(--up); opacity: 0; }
.onb section.act .onb-chart .ln { animation: draw 1.4s .2s ease-out forwards; }
.onb section.act .onb-chart circle { animation: pop .3s 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
.onb-rows { margin-top: 10px; text-align: left; }
.onb-rows .r { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.onb-rows .r b { width: 14px; }
.onb-rows .r span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.onb-rows .r em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--up); }
.onb-rows .r:last-child em { color: var(--down); }
.onb-bell { display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }
.onb-bell .b { width: 96px; height: 96px; border-radius: 30px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.onb-bell .b svg { width: 48px; height: 48px; transform-origin: 50% 10%; }
.onb section.act .onb-bell .b svg { animation: ring 1.6s .3s ease-in-out 2; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-14deg); } 50% { transform: rotate(0); } }
.onb-bell .note { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shade); text-align: left;
  opacity: 0; transform: translateY(12px); }
.onb section.act .onb-bell .note { animation: noteIn .45s .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes noteIn { to { opacity: 1; transform: none; } }
.onb-bell .note b { display: block; font-size: 15px; }
.onb-bell .note span { font-size: 13.5px; color: var(--up); font-weight: 650; }
@media (prefers-reduced-motion: reduce) { #view.pg-push, #view.pg-pop, #view.pg-fade, .pod .step, .onb-cloud img { animation: none; } }
