/* Клуб «Делай»: тёплый градиент + жидкое стекло (iOS) */
:root {
  --ink: #2A1407;
  --body: #4E3424;
  --mute: #8A6A55;
  --line: rgba(120, 60, 20, .12);
  --accent: #F04F0E;
  --accent-2: #FF8A3D;
  --accent-deep: #B83A08;
  --grad: linear-gradient(135deg, #FF9248 0%, #F25A16 48%, #D9420A 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,146,72,.18), rgba(240,79,14,.10));
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .75);
  --glass-shadow: 0 10px 30px rgba(140, 55, 10, .10), 0 1px 2px rgba(140, 55, 10, .06);
  --hl: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  --blur: blur(22px) saturate(170%);
  --ok: #1E8A55;
  --ok-soft: rgba(30, 138, 85, .12);
  --warn: #8C5300;
  --danger: #C2281B;
  --r: 22px;
  --r-sm: 14px;
  --font: "Onest", -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 180ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: #FFF1E4; }
body {
  font-family: var(--font); color: var(--ink); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(60% 45% at 0% 0%, rgba(255, 138, 61, .55), transparent 70%),
    radial-gradient(55% 40% at 100% 18%, rgba(255, 186, 120, .55), transparent 70%),
    radial-gradient(70% 50% at 70% 100%, rgba(242, 90, 22, .30), transparent 70%),
    radial-gradient(50% 40% at 0% 75%, rgba(255, 214, 170, .7), transparent 70%),
    #FFF1E4;
  background-attachment: fixed;
}
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 104px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
svg.i { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: 32px; } h2 { font-size: 22px; } h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
p { color: var(--body); }
.mute { color: var(--mute); }
.small { font-size: 13px; }

/* стекло */
.glass, .card, .goal, .pay-opt, .kpi, .needrow, .seg, .chip, .btn.ghost, .topbar .mode, .trial {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), var(--hl);
}

/* шапка */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.brand b { font-weight: 800; }
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; box-shadow: 0 4px 12px rgba(240, 79, 14, .35), inset 0 1px 0 rgba(255,255,255,.4); }
.topbar .mode { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 7px 12px 7px 14px; font-size: 13px; font-weight: 700; color: var(--ink); transition: transform var(--t) var(--ease); }
.topbar .mode:active { transform: scale(.96); }
.topbar .mode .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(240,79,14,.18); }

/* лист выбора режима */
.sheet-bg { position: fixed; inset: 0; background: rgba(60, 25, 5, .25); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 105%); width: min(480px, 100%); z-index: 41; padding: 10px 14px calc(18px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 241, .82); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border-radius: 28px 28px 0 0; border: 1px solid var(--glass-line); box-shadow: 0 -10px 40px rgba(120, 45, 5, .18), var(--hl); transition: transform .32s var(--ease); }
.sheet { visibility: hidden; transition: transform .32s var(--ease), visibility 0s .32s; }
.sheet.on { transform: translate(-50%, 0); visibility: visible; transition: transform .32s var(--ease); } .sheet-bg.on { opacity: 1; pointer-events: auto; }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(120, 60, 20, .2); margin: 2px auto 12px; }
.sheet h3 { margin: 0 4px 10px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.roles button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid var(--glass-line); box-shadow: var(--hl); font-weight: 700; font-size: 15px; transition: all var(--t) var(--ease); }
.roles button span { font-size: 12px; font-weight: 500; color: var(--mute); }
.roles button:hover { background: rgba(255,255,255,.85); }
.roles button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(240, 79, 14, .35), inset 0 1px 0 rgba(255,255,255,.35); }
.roles button[aria-selected="true"] span { color: rgba(255,255,255,.85); }
.cnt { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: #E8A33D; color: #fff; font-size: 11px; padding: 0 6px; margin-left: 4px; }
.sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 6px 4px; font-size: 14px; font-weight: 600; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 15px; background: rgba(120, 60, 20, .18); transition: background var(--t); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform var(--t) var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.sheet .link-btn { display: block; width: 100%; text-align: center; padding: 12px; font-size: 14px; font-weight: 600; color: var(--accent-deep); }

main { padding: 0 14px; outline: none; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* карточки */
.card { border-radius: var(--r); padding: 16px; }
.card.soft { background: rgba(255, 255, 255, .38); }
.card.dark, .hero, .cover { background: var(--grad); color: #fff; border: 0; box-shadow: 0 16px 40px rgba(217, 66, 10, .35), inset 0 1px 0 rgba(255,255,255,.35); position: relative; overflow: hidden; }
.card.dark::before, .hero::before, .cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 85% 0%, rgba(255, 220, 180, .55), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(120, 20, 0, .25), transparent 70%); pointer-events: none; }
.card.dark > *, .hero > *, .cover > * { position: relative; z-index: 1; }
.card.dark p, .hero p { color: rgba(255, 255, 255, .88); }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.card.dark .label, .hero .label { color: rgba(255, 255, 255, .8); }

/* кнопки: default / hover / focus / active / disabled / loading */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 14px 20px; border-radius: 99px; font-weight: 700; font-size: 16px; color: #fff;
  background: var(--grad); box-shadow: 0 10px 24px rgba(240, 79, 14, .35), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(120, 20, 0, .15);
  transition: transform var(--t) var(--ease), box-shadow var(--t), filter var(--t), opacity var(--t); overflow: hidden; }
.btn::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52%; border-radius: 99px 99px 40% 40%; background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,0)); pointer-events: none; }
.btn:hover { filter: brightness(1.05); box-shadow: 0 14px 30px rgba(240, 79, 14, .42), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { background: rgba(255, 255, 255, .55); color: var(--mute); cursor: not-allowed; transform: none; filter: none; box-shadow: inset 0 0 0 1.5px rgba(138, 106, 85, .25); }
.btn:disabled::after { display: none; }
.btn.ghost { color: var(--ink); box-shadow: var(--glass-shadow), var(--hl); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--glass-strong); }
.btn.light { background: rgba(255, 255, 255, .9); color: var(--accent-deep); }
.btn.done { background: linear-gradient(135deg, #2FB872, #1E8A55); box-shadow: 0 10px 24px rgba(30, 138, 85, .3), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.sm { min-height: 38px; padding: 8px 12px; font-size: 13px; width: auto; }
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* заглушка «нужно от вас»: компактная, прячется выключателем */
.need { display: flex; gap: 8px; align-items: flex-start; border-radius: 14px; padding: 9px 12px; font-size: 13px; line-height: 1.4; color: var(--warn);
  background: rgba(255, 236, 196, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px dashed rgba(214, 150, 40, .6); }
.need svg.i { width: 16px; height: 16px; margin-top: 1px; }
.need b { color: #6B3F00; font-weight: 700; }
body.no-needs .need { display: none; }
.ph { background: rgba(255, 255, 255, .35); border: 1.5px dashed rgba(255, 255, 255, .85); color: rgba(255,255,255,.95); display: grid; place-items: center; text-align: center; font-size: 10px; font-weight: 700; }

/* приветствие */
.hero { border-radius: 28px; padding: 22px 20px 20px; }
.hero h1 { font-size: 36px; color: #fff; }
.hero h1 em { font-style: normal; color: #FFE3C7; }
.hero p { margin-top: 10px; font-size: 15px; }
.author { display: flex; gap: 11px; align-items: center; margin-top: 18px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.author .ph, .author img { width: 46px; height: 46px; border-radius: 50%; font-size: 9px; object-fit: cover; flex: none; }
.author b { display: block; font-size: 15px; }
.author span { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.model div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 8px 4px; font-size: 11px; color: rgba(255, 255, 255, .85); text-align: center; }
.model div b { display: block; color: #fff; font-size: 12.5px; }
.model div.last { background: rgba(255, 255, 255, .92); color: var(--accent-deep); }
.model div.last b { color: var(--ink); }

/* выбор цели */
.goals { display: grid; gap: 10px; }
.goal { display: flex; gap: 12px; align-items: center; text-align: left; border-radius: 20px; padding: 13px 14px; transition: transform var(--t) var(--ease), background var(--t); }
.goal:hover { background: var(--glass-strong); }
.goal:active { transform: scale(.985); }
.goal[aria-pressed="true"] { background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 2px var(--accent), 0 12px 28px rgba(240, 79, 14, .18); }
.goal .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--grad-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.goal[aria-pressed="true"] .ic { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(240, 79, 14, .35); }
.goal b { display: block; font-size: 16px; font-weight: 700; }
.goal span { font-size: 13px; color: var(--mute); }
.goal .tag { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--grad); color: #fff; border-radius: 99px; padding: 4px 9px; flex: none; }

/* поля */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--body); }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .7); border: 1.5px solid transparent; border-radius: 14px; padding: 12px 14px; box-shadow: inset 0 1px 2px rgba(120, 60, 20, .08); transition: border-color var(--t), background var(--t); }
.field input:hover { background: rgba(255, 255, 255, .85); }
.field input:focus { border-color: var(--accent); background: #fff; outline: none; }
.field input:disabled { opacity: .55; }
.field .hint { font-size: 12.5px; color: var(--mute); }
.field.err input { border-color: var(--danger); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* сегодня */
.trial { display: flex; align-items: center; gap: 10px; border-radius: 99px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--accent-deep); }
.dots { display: flex; gap: 5px; margin-left: auto; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(240, 79, 14, .2); }
.dots i.on { background: var(--grad); box-shadow: 0 0 6px rgba(240, 79, 14, .5); }
.big { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.big small { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .85); margin-left: 6px; letter-spacing: 0; }
.bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .25); overflow: hidden; margin-top: 14px; }
.bar i { display: block; height: 100%; background: #fff; border-radius: 5px; box-shadow: 0 0 10px rgba(255,255,255,.7); transition: width .6s var(--ease); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stats div { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); border-radius: 16px; padding: 10px 11px; }
.stats b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 11.5px; color: rgba(255, 255, 255, .85); }

.route svg.map { width: 100%; height: auto; display: block; }
.route .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-top: 6px; }
.route .ends b { color: var(--ink); }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal div { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .45); color: var(--mute); }
.cal div.done { background: var(--grad); color: #fff; box-shadow: 0 4px 10px rgba(240, 79, 14, .28), inset 0 1px 0 rgba(255,255,255,.35); }
.cal div.miss { background: transparent; border: 1.5px dashed rgba(138, 106, 85, .45); }
.cal div.today { background: #fff; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cal div.free:not(.done):not(.today) { background: rgba(255, 200, 150, .45); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--mute); margin-top: 10px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }

.feed { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 9px; }
.ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.msg .bub { background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); border-radius: 6px 18px 18px 18px; padding: 8px 12px; font-size: 14px; box-shadow: var(--hl); }
.msg .bub b { font-size: 12.5px; display: block; }
.msg .bub span { font-size: 11px; color: var(--mute); }

/* оплата */
.price { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ul li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--body); }
.ul li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 9px; height: 5px; border-left: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent); transform: rotate(-45deg); }
.card.dark .ul li { color: rgba(255, 255, 255, .92); }
.card.dark .ul li::before { border-color: #fff; }
.pay-opt { display: flex; align-items: center; gap: 12px; border-radius: 18px; padding: 13px 14px; text-align: left; width: 100%; transition: all var(--t) var(--ease); }
.pay-opt:hover { background: var(--glass-strong); }
.pay-opt[aria-pressed="true"] { background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px var(--accent), var(--glass-shadow); }
.pay-opt .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(138, 106, 85, .5); flex: none; transition: all var(--t); }
.pay-opt[aria-pressed="true"] .rd { border: 6px solid var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--body); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.ok-ic { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, #2FB872, #1E8A55); color: #fff; display: grid; place-items: center; margin: 8px auto 10px; box-shadow: 0 12px 30px rgba(30, 138, 85, .35); }
.ok-ic svg.i { width: 36px; height: 36px; }

/* эфиры */
.cover { aspect-ratio: 16 / 9; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.cover .k { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.cover .t { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; max-width: 60%; }
.cover .ph.photo { position: absolute; right: 14px; bottom: 0; width: 34%; height: 84%; border-radius: 16px 16px 0 0; z-index: 1; }
.cover .photo-img { position: absolute; right: 14px; bottom: 0; width: 34%; height: 84%; object-fit: cover; border-radius: 16px 16px 0 0; z-index: 1; }
.cover .meta { font-size: 12px; color: rgba(255, 255, 255, .9); font-weight: 600; }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit .it { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.6); border: 1px solid var(--glass-line); }
.kit .pv { aspect-ratio: 16 / 9; background: var(--grad); position: relative; display: grid; place-items: center; color: #fff; font-size: 11px; overflow: hidden; }
.kit .it p { font-size: 12px; padding: 7px 9px; font-weight: 600; }
.kit .lower { position: absolute; left: 8px; bottom: 8px; right: 30%; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 8px; padding: 4px 7px; font-size: 9px; font-weight: 800; text-align: left; }
.kit .lower span { display: block; font-weight: 500; font-size: 8px; color: var(--mute); }
.kit .qr { width: 46px; aspect-ratio: 1; background: #fff; border-radius: 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; padding: 4px; }
.kit .qr i { background: var(--ink); } .kit .qr i.w { background: #fff; }
.plats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--body); transition: all var(--t) var(--ease); }
.chip:hover { background: var(--glass-strong); }
.chip[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(240, 79, 14, .3), inset 0 1px 0 rgba(255,255,255,.35); }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.lives { display: flex; flex-direction: column; }
.live { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.live:first-child { border-top: 0; }
.live .n { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.6); display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: none; }
.live.next .n { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(240, 79, 14, .3); }
.live b { font-size: 15px; display: block; font-weight: 700; }
.live span { font-size: 12.5px; color: var(--mute); }

/* панели */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { border-radius: 20px; padding: 13px 14px; }
.kpi.hl { background: var(--grad); color: #fff; border: 0; box-shadow: 0 12px 28px rgba(217, 66, 10, .3), inset 0 1px 0 rgba(255,255,255,.35); }
.kpi b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.kpi span { font-size: 12.5px; color: var(--mute); }
.kpi.hl span { color: rgba(255, 255, 255, .85); }
.kpi .d { font-size: 12px; font-weight: 700; color: var(--ok); }
.hbar { display: grid; grid-template-columns: 108px 1fr 30px; align-items: center; gap: 8px; font-size: 13px; padding: 5px 0; }
.hbar i { display: block; height: 10px; border-radius: 5px; background: var(--grad); }
.hbar em { font-style: normal; font-weight: 800; text-align: right; }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 6px; }
.cols div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.cols i { width: 100%; border-radius: 8px 8px 3px 3px; background: rgba(240, 79, 14, .2); display: block; }
.cols div.now i { background: var(--grad); }
.cols span { font-size: 11px; color: var(--mute); }
.person { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person .info { flex: 1; min-width: 0; }
.person b { font-size: 14.5px; display: block; }
.person span { font-size: 12.5px; color: var(--mute); }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; flex: none; }
.badge.red { background: rgba(194, 40, 27, .1); color: var(--danger); }
.badge.amber { background: rgba(232, 163, 61, .18); color: var(--warn); }
.badge.green { background: var(--ok-soft); color: var(--ok); }
.badge.grey { background: rgba(255,255,255,.6); color: var(--mute); }
.seg { display: flex; border-radius: 99px; padding: 4px; gap: 2px; }
.seg button { flex: 1; padding: 8px 6px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--mute); transition: all var(--t) var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(120, 50, 10, .12); }

/* нужно от вас */
.needs { display: flex; flex-direction: column; gap: 8px; }
.needrow { display: flex; gap: 12px; align-items: flex-start; border-radius: 18px; padding: 12px 14px; }
.needrow .num { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-soft); color: var(--accent-deep); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.needrow b { font-size: 14.5px; display: block; }
.needrow span { font-size: 13px; color: var(--mute); }
.needrow .where { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-top: 3px; display: inline-block; }
.group-t { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 8px 4px 0; }

/* плавающая стеклянная панель вкладок */
.tabbar { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(452px, calc(100% - 28px)); display: flex; gap: 2px; padding: 6px; z-index: 10; border-radius: 99px;
  background: rgba(255, 250, 245, .62); -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%); border: 1px solid var(--glass-line); box-shadow: 0 14px 36px rgba(120, 45, 5, .18), var(--hl); }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--mute); padding: 7px 0 6px; border-radius: 99px; transition: all var(--t) var(--ease); }
.tabbar button:hover { color: var(--ink); }
.tabbar button[aria-current="page"] { color: var(--accent); background: rgba(255, 255, 255, .85); box-shadow: 0 2px 10px rgba(120, 50, 10, .12), var(--hl); }
.tabbar.hide { display: none; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(16px); background: rgba(42, 20, 7, .82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 16px; border-radius: 99px; opacity: 0; pointer-events: none; transition: all .28s var(--ease); z-index: 50; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.demo-ctl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 2px 0 6px; }
.demo-ctl button { font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.demo-ctl button:hover { color: var(--ink); }

.fade { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .card, .goal, .pay-opt, .kpi, .needrow, .seg, .chip, .btn.ghost, .topbar .mode, .trial, .tabbar, .sheet { background: rgba(255, 250, 245, .94); }
}

.route svg text { font-family: var(--font); font-weight: 600; }
