/* predict.tiu.ru — стили по макетам Figma. Цвета, радиусы и шрифт — в переменных :root. */
:root{
  --brand:#6828BA; --brand-dark:#5520A0; --brand-soft:#F1EAFB;
  --bg:#F4F4F4; --card:#fff; --line:#E8E8E8; --soft:#F4F4F4;
  --text:#1D1D1F; --muted:#7A7A7A; --chip:#232323;
  --pos:#3DBE50; --neg:#F0474F; --warn:#C77A00; --star:#F59E1B;
  --r-lg:16px; --r:12px; --r-sm:10px;
  --font:'Onest','Manrope',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --wrap:1320px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);font-size:15px;line-height:1.45}
a{color:var(--brand);text-decoration:none}
img{max-width:100%}
h1,h2,h3{margin:0;line-height:1.15}
.wrap{max-width:calc(var(--wrap) + 32px);margin:0 auto;padding:0 16px}
.narrow{max-width:480px}.narrow-lg{max-width:760px}
.muted{color:var(--muted);font-size:13px}
.pos{color:var(--pos)}.neg{color:var(--neg)}.zero{color:var(--muted)}.c-brand{color:var(--brand)}
.inline{display:inline}
.center{text-align:center}
.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ic{width:20px;height:20px;flex:none;vertical-align:middle}
.link-btn{background:none;border:0;padding:0;font:inherit;color:var(--brand);cursor:pointer}

/* ---------- Кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--r-sm);
  padding:10px 20px;font:600 14px/1.2 var(--font);cursor:pointer;text-align:center;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-dark)}
.btn--outline{background:#fff;color:var(--text);border-color:var(--brand)}
.btn--outline:hover{background:var(--brand-soft)}
.btn--ghost{background:#EFEFEF;color:var(--text)}
.btn--ghost:hover{background:#E4E4E4}
.btn--danger{background:var(--neg);color:#fff}
.btn--lg{padding:14px 30px;font-size:18px;font-weight:500}
.btn--primary.btn--lg{font-weight:600}
.btn--xl{width:100%;padding:15px 20px;font-size:18px}
.btn--sm{padding:7px 12px;font-size:13px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--r-sm);
  background:#EFEFEF;border:0;color:var(--text);cursor:pointer}
.icon-btn .ic{width:22px;height:22px}

/* ---------- Шапка ---------- */
.hdr{background:#fff;position:sticky;top:0;z-index:30;border-bottom:1px solid #EDEDED}
.hdr__in{display:flex;align-items:center;height:67px;gap:48px}
.logo{display:block;flex:none;line-height:0}
.logo img{width:141px;height:auto}
.nav{display:flex;gap:48px;flex:1}
.nav a{color:var(--text);font-size:16px}
.nav a:hover{color:var(--brand)}
.hdr__act{display:flex;gap:10px}
.hdr__act .btn{padding:11px 20px;font-weight:700}
.hdr__mob{display:none;gap:10px;margin-left:auto}
.ic--close{display:none}
.mmenu{display:none}

/* ---------- Заголовки страниц и вкладки ---------- */
.page-t{font-size:42px;font-weight:700;letter-spacing:-.5px;margin:48px 0 0}
.page-s{margin:14px 0 0;font-size:16px}
.h2{font-size:30px;font-weight:700;margin:0 0 24px}
.tabs{display:flex;gap:8px;margin:28px 0 40px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs__i{flex:none;padding:13px 32px;border-radius:var(--r-sm);color:#808080;font-size:18px;font-weight:600}
.tabs__i:hover{color:var(--text)}
.tabs__i.is-active{background:#fff;color:var(--brand)}
.page-bookmakers .page-t + .tabs{margin-top:28px}

/* ---------- Панели, бейджи ---------- */
.panel,.card{background:var(--card);border-radius:var(--r-lg)}
.panel--pad,.card{padding:24px}
.card{margin-bottom:16px}
.card--danger{border:1px solid #F5C9CC}
.panel__empty{padding:24px;margin:0}
.badge{display:inline-block;padding:2px 11px;border-radius:7px;font-size:13px;line-height:18px;white-space:nowrap;border:1px solid}
.st-won{color:#1E8E33;border-color:var(--pos);background:#fff}
.st-lost{color:#D5262F;border-color:var(--neg);background:#fff}
.st-void{color:#555;border-color:#BDBDBD;background:#fff}
.st-pending{color:#8A5600;border-color:#F0C27A;background:#fff}
.chip{display:inline-flex;align-items:center;justify-content:center;min-width:61px;height:34px;padding:0 12px;border-radius:8px;
  background:var(--chip);color:#fff;font-size:14px;font-weight:600;white-space:nowrap}

/* ---------- Hero (главная) ---------- */
.hero{position:relative;color:#fff;background:#2B1365 url('/assets/img/hero.jpg') center/cover no-repeat;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 80% at 80% 20%,rgba(140,80,255,.45),transparent 70%),radial-gradient(50% 60% at 10% 90%,rgba(90,40,200,.5),transparent 70%)}
.hero__in{position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:40px;padding-top:120px;padding-bottom:120px}
.hero__text{max-width:600px;padding-top:4px}
.hero h1{font-size:64px;font-weight:700;line-height:1.22;letter-spacing:-.5px}
.hero__sub{font-size:18px;margin:36px 0 0;max-width:500px}
.feats{list-style:none;display:flex;gap:56px;padding:0;margin:80px 0 0}
.feats li{display:flex;flex-direction:column;font-size:14px}
.feats__ic{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.14);margin-bottom:22px}
.feats__s{opacity:.95}
.feats b{font-size:24px;font-weight:600;line-height:1.2}
.trial{flex:0 0 536px;background:#fff;color:var(--text);border-radius:var(--r-lg);padding:40px}
.trial__t{font-size:30px;font-weight:700}
.trial__s{margin:10px 0 0;font-size:16px}
.field{display:block;margin-top:24px}
.field:first-of-type{margin-top:40px}
.field__l{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.field__l i{color:var(--neg);font-style:normal}
.field input,.trial input{height:50px;border:0;background:var(--soft);border-radius:var(--r-sm);padding:0 20px;font-size:16px}
.trial .btn--xl{margin-top:40px}
.consent{font-size:11px;color:var(--muted);margin:12px 0 0}
.trial__note{font-size:11px;margin:36px 0 0;line-height:1.4}

/* ---------- Главная: последние прогнозы и неделя ---------- */
.proof{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;padding-top:80px;padding-bottom:80px}
.lp{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #EFEFEF}
.lp:last-child{border-bottom:0}
.lp__teams{font-weight:600;font-size:16px}
.lp__meta{color:var(--muted);font-size:14px;margin-top:6px}
.lp__bet{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.lp__bet b{font-size:16px;font-weight:600}
.wgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.wsum{display:none}

/* Карточка дня */
.day{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.day__head{background:var(--soft);padding:12px 16px;color:#808080;font-size:14px;display:flex;justify-content:space-between;align-items:center}
.day__row{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-top:1px solid var(--line);font-size:14px}
.day__row b{font-weight:600}
.day__sum{font-size:18px;font-weight:700}
.day__sum--top{display:none}
.day__sum--foot{padding:12px 16px;border-top:1px solid var(--line);margin-top:auto}

/* Плашка баланса */
.balance{background:var(--brand);color:#fff;border-radius:var(--r-lg);padding:24px}
.balance__t{font-size:18px;font-weight:700}
.balance__v{font-size:40px;font-weight:700;margin:10px 0 14px;white-space:nowrap}
.balance__n{font-size:15px}
.balance--tile{border-radius:var(--r);padding:16px;display:flex;flex-direction:column}
.balance--tile .balance__v{font-size:24px;margin:8px 0}
.balance--tile .balance__n{margin-top:auto;font-size:14px}

/* ---------- История ---------- */
.hist{display:flex;flex-direction:column;gap:40px;padding-bottom:60px}
.hist__info{order:2;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.hist__info .balance{padding:24px 24px 28px}
.howto{background:#fff;border-radius:var(--r-lg);padding:24px}
.howto h3{font-size:20px;font-weight:600}
.howto p{margin:12px 0 0;font-size:15px}
.strat{margin-bottom:20px}
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:16px}

/* ---------- Прогноз дня ---------- */
.acc{background:#fff;border-radius:var(--r-lg);margin-bottom:24px;overflow:hidden}
.acc__h{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px;cursor:pointer;list-style:none;font-size:24px;font-weight:600}
.acc__h::-webkit-details-marker{display:none}
.acc__chev{color:var(--text);transition:transform .2s}
.acc[open] .acc__chev{transform:rotate(180deg);color:var(--brand)}
.acc[open] .acc__h{border-bottom:1px solid #EFEFEF}
.acc__desc{margin:0;padding:12px 24px 0;color:var(--muted);font-size:14px}
.calc{background:var(--soft);border-radius:var(--r-sm);padding:16px;margin-top:12px}
.calc__top{color:var(--muted);font-size:14px}
.calc__main{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:16px}
.calc__main b{font-weight:600}
.foot-note{font-size:14px;margin:40px 0 60px}

/* ---------- Рейтинг букмекеров ---------- */
.bks{display:flex;flex-direction:column;gap:12px}
.bk{background:#fff;border-radius:var(--r-lg)}
.bk__row{display:grid;grid-template-columns:240px 155px 185px 185px 1fr auto auto 32px;
  grid-template-areas:"logo rating bonus rel rev cta revbtn more";align-items:center;gap:12px;padding:24px 20px}
.bk__logo{grid-area:logo;display:flex;align-items:center;height:44px}
.bk__logo img{max-height:44px;max-width:140px}
.bk__m{display:flex;flex-direction:column;gap:2px}
.bk__m span{color:#808080;font-size:14px}
.bk__m b{display:flex;align-items:center;gap:4px;font-weight:600;font-size:15px}
.bk__m--rating{grid-area:rating}.bk__m--bonus{grid-area:bonus}.bk__m--rel{grid-area:rel}.bk__m--rev{grid-area:rev}
.bk__cta{grid-area:cta}.bk__rev{grid-area:revbtn;padding:10px 20px;font-weight:400}.bk__more{grid-area:more}
.ic--star{color:var(--star)}.ic--gray{color:#8A8A8A}
.bk__more{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:none;cursor:pointer;color:var(--text);padding:0}
.bk__more[aria-expanded=true] .ic{transform:rotate(180deg)}
.bk__desc{padding:0 20px 20px;font-size:14px;color:#444}
.bks + .center{margin:24px 0 60px}

/* ---------- Формы, флеши, таблицы (вход, кабинет, CMS) ---------- */
.form{display:flex;flex-direction:column;gap:12px;margin:12px 0}
.form label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:13px}
.form label.check{flex-direction:row;align-items:center;gap:8px}
input,select,textarea{font:inherit;padding:11px 14px;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;width:100%;color:var(--text)}
input[type=checkbox]{width:auto}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}
.form input:not([type=checkbox]):not([type=file]){background:var(--soft);border-color:transparent;height:50px}
.flash{margin:16px 0 0;padding:12px 16px;border-radius:var(--r-sm);font-weight:600}
.flash--ok{background:#E7F7EA;color:#17702A}.flash--err{background:#FDE8EA;color:#A3202B}
.flash--warn{background:#FFF3DF;color:#8A5600}.flash--info{background:var(--brand-soft);color:var(--brand-dark)}
.page-auth main,.page-account main,.page-admin main{padding:40px 0 60px}
.page-auth h1,.page-account h1,.page-admin h1{font-size:30px;margin:0 0 16px}
.page-account h3{font-size:20px;margin:0 0 12px}
.tbl{width:100%;border-collapse:collapse}
.tbl th{text-align:left;font-size:12px;color:var(--muted);font-weight:700;padding:8px;border-bottom:1px solid var(--line)}
.tbl td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.adm-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}

/* ---------- Подвал ---------- */
.ftr{padding:24px 0;background:#fff;font-size:14px}
.ftr__in{display:flex;gap:8px 24px;flex-wrap:wrap;align-items:center}


/* ================= Версия 2 (правки «Предикт_правки») ================= */
.narrow-md{max-width:620px}
.muted-lg{color:var(--muted);font-size:15px;margin:0 0 8px}
.chip--brand{background:var(--brand)}

/* Первый экран: 3 лучших коэффициента недели */
.hero__in{align-items:center}
.hero__cta{margin-top:48px}
.hero__best{flex:0 0 480px;display:flex;flex-direction:column;gap:12px}
.hero__best-t{font-size:18px;font-weight:600;opacity:.95;margin-bottom:4px}

/* Главная: подписи блоков */
.h2--sub{margin-bottom:6px}
.strat-name{margin:0 0 18px;color:var(--brand);font-weight:600;font-size:16px}
.lp__odds{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:6px;background:var(--brand-soft);color:var(--brand);font-size:14px}

/* Регистрация внизу посадки */
.reg{background:linear-gradient(135deg,#2B1365,#5520A0);color:#fff;padding:80px 0}
.reg__in{display:flex;justify-content:space-between;align-items:flex-start;gap:40px}
.reg__text{max-width:560px}
.reg__text h2{font-size:44px;font-weight:700}
.reg__text p{font-size:17px;margin:20px 0 0;opacity:.95}
.steps{margin:32px 0 0;padding:0;list-style:none;counter-reset:st;display:flex;flex-direction:column;gap:16px}
.steps li{counter-increment:st;display:flex;align-items:center;gap:14px;font-size:16px}
.steps li::before{content:counter(st);flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);font-weight:700}
.reg-page .trial{margin:0 auto;box-shadow:0 2px 14px rgba(0,0,0,.05)}
.trial .field:first-of-type{margin-top:32px}
.checks{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.chk{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-size:13px;line-height:1.45}
.chk input{position:absolute;opacity:0;width:1px;height:1px}
.chk__box{flex:none;width:22px;height:22px;border-radius:6px;border:1.5px solid #C9C9C9;background:#fff;display:flex;align-items:center;justify-content:center;color:transparent;transition:background .15s,border-color .15s;margin-top:1px}
.chk__box .ic{width:16px;height:16px}
.chk input:checked + .chk__box{background:var(--brand);border-color:var(--brand);color:#fff}
.chk input:focus-visible + .chk__box{outline:2px solid var(--brand);outline-offset:2px}
.chk.is-invalid .chk__box{border-color:var(--neg)}
.chk__t a{text-decoration:underline}
.trial .btn--xl{margin-top:28px}
.trial .btn--xl[disabled]{opacity:.55;cursor:not-allowed}
.trial__note{margin-top:20px}
.trial__login{font-size:14px;margin:12px 0 0}

/* Код подтверждения, вход */
.code-input{font-size:24px!important;letter-spacing:6px;text-align:center}
.verify-opts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:8px;font-size:14px}
.link-btn[disabled]{color:var(--muted);cursor:default}
.auth-links{margin:4px 0 8px;font-size:14px}

/* Эмуляция платёжного виджета */
.paycard__promo{background:var(--brand-soft);border-radius:var(--r-sm);padding:10px 14px;font-size:14px}
.pw{border:1px solid var(--line);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:12px}
.pw__head{display:flex;justify-content:space-between;align-items:center;font-weight:700}
.pw__test{font-size:12px;font-weight:600;color:var(--warn);background:#FFF3DF;border-radius:6px;padding:2px 8px}
.pw__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pw__note{margin:0;font-size:12px;color:var(--muted)}

/* Выпадающее меню (вкладки на телефоне, выбор стратегии) */
.dd{position:relative}
.dd__btn{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;background:#fff;border-radius:var(--r-sm);padding:12px 16px;font-weight:600;font-size:16px;color:var(--brand)}
.dd__btn::-webkit-details-marker{display:none}
.dd__chev{transition:transform .2s}
.dd[open] .dd__chev{transform:rotate(180deg)}
.dd__menu{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);background:#fff;border-radius:var(--r-sm);box-shadow:0 10px 30px rgba(20,10,50,.14);padding:6px;max-height:60vh;overflow:auto}
.dd__i{display:block;padding:11px 12px;border-radius:8px;color:var(--text);font-size:15px}
.dd__i:hover{background:var(--soft)}
.dd__i.is-active{color:var(--brand);font-weight:600;background:var(--brand-soft)}
.dd--tabs{display:none}

/* История: стратегия + период */
.hctl{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 28px}
.dd--strat{min-width:320px;max-width:560px;flex:1}
.seg{display:inline-flex;background:#fff;border-radius:var(--r-sm);padding:4px;gap:4px}
.seg__i{padding:9px 18px;border-radius:8px;color:#808080;font-weight:600;font-size:15px}
.seg__i.is-active{background:var(--brand);color:#fff}
.hist__info{order:0;grid-template-columns:minmax(260px,1fr) 2fr}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-radius:var(--r-lg);overflow:hidden}
.kpi{background:#fff;padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.kpi span{color:var(--muted);font-size:13px}
.kpi b{font-size:24px;font-weight:700}
.hist__main .howto{margin-top:20px}
.days--14,.days--30{grid-template-columns:repeat(7,1fr)}
.day__date{color:#A0A0A0;font-size:12px}

/* Прогноз дня: счётчик ставок у стратегии */
.acc__n{color:var(--muted);font-weight:500}

/* Рейтинг букмекеров (как на tiu.ru) */
.bk__pos{flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--soft);color:#808080;font-size:13px;font-weight:700;margin-right:14px}
.bk__desc{padding:0 20px 20px}
.bk__scores{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;background:var(--soft);border-radius:var(--r);padding:14px}
.bk__sc{display:flex;flex-direction:column;gap:4px}
.bk__sc span{color:#808080;font-size:13px}
.bk__sc b{font-size:15px}
.bk__sc--main b{color:var(--brand)}
.bk__extra{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:14px}
.promo-chip{display:inline-flex;align-items:center;gap:8px;border:1px dashed var(--brand);border-radius:var(--r-sm);padding:6px 6px 6px 12px}
.promo-chip span{color:#808080;font-size:13px}
.promo-chip b{color:var(--brand);letter-spacing:.5px}
.promo-chip__copy{border:0;background:var(--brand-soft);color:var(--brand);border-radius:6px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.promo-chip__copy.is-done{background:var(--pos);color:#fff}
.bk__link{font-weight:600}
.bk__text{margin:12px 0 0;font-size:14px;color:#444}

/* Личный кабинет */
.promo-form{display:flex;gap:10px;margin-bottom:14px}
.promo-form input{height:46px;background:var(--soft);border-color:transparent}
.promo-list{list-style:none;margin:0;padding:0}
.promo-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 0;border-top:1px solid var(--line)}
.promo-list li .badge{margin-left:auto}
.form--2 label{max-width:420px}

/* Подвал: документы */
.ftr__legal{display:flex;flex-wrap:wrap;gap:8px 24px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #EFEFEF;font-size:13px}
.ftr__legal a{color:#555}
.ftr__legal a:hover{color:var(--brand)}

/* Плашка cookie */
.cookie{position:fixed;z-index:50;left:16px;bottom:16px;max-width:560px;background:#fff;border-radius:var(--r-lg);box-shadow:0 10px 40px rgba(20,10,50,.18);
  padding:18px 20px;display:flex;align-items:center;gap:16px}
.cookie__t{margin:0;font-size:13px;line-height:1.45}
.cookie__t a{text-decoration:underline}
.cookie__btn{flex:none;padding:10px 22px}

/* Юридические страницы */
.legal .page-t{font-size:32px}
.legal__nav{display:flex;flex-wrap:wrap;gap:6px 18px;margin:16px 0 20px;font-size:14px}
.legal__body{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.legal__body p{margin:0 0 10px}
.legal__body h2{font-size:20px;margin:24px 0 10px}.legal__body h3,.legal__body h4{font-size:17px;margin:18px 0 8px}
.legal__body table{border-collapse:collapse;width:100%;font-size:14px;margin:12px 0}
.legal__body td,.legal__body th{border:1px solid var(--line);padding:6px 8px;vertical-align:top}

/* Админка */
.adm-nav{display:flex;flex-wrap:wrap;gap:4px}
.adm-nav__i{padding:8px 14px;border-radius:var(--r-sm);color:#666;font-weight:600;font-size:14px}
.adm-nav__i.is-active{background:#fff;color:var(--brand)}
.stat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.stat-chip{background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;color:var(--text)}
.stat-chip b{color:var(--brand);margin-left:4px}
.stat-chip.is-active{background:var(--brand);color:#fff}.stat-chip.is-active b{color:#fff}
.filters{display:grid;grid-template-columns:2fr 1.5fr repeat(4,1fr);gap:10px;align-items:end}
.filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600}
.filters input,.filters select{padding:8px 10px}
.filters__btns{grid-column:1/-1}
.tbl-wrap{overflow-x:auto}
.tbl input[type=text]{padding:6px 8px}
.inp-sm{width:80px!important;padding:6px 8px!important}
.inp-date{width:auto!important}
.tbl tr.is-off td{color:#A0A0A0}
.cst{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#EFEFEF;white-space:nowrap}
.cst--paid{background:#E7F7EA;color:#17702A}.cst--trial{background:var(--brand-soft);color:var(--brand-dark)}
.cst--promo{background:#E6F0FF;color:#1D4FB8}.cst--grace{background:#FFF3DF;color:#8A5600}
.cst--unbound{background:#FDE8EA;color:#A3202B}.cst--deleted{background:#E4E4E4;color:#666}
.form--promo{display:grid;grid-template-columns:1fr 2fr 160px;gap:12px}
.form--promo .form__checks,.form--promo > div:last-child{grid-column:1/-1}
.form__checks{display:flex;flex-wrap:wrap;gap:8px 24px}
.switch{display:inline-flex}
.switch-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:#EFEFEF;border-radius:999px;padding:4px 10px 4px 4px;font:600 12px var(--font);color:#666;cursor:pointer}
.switch-btn span{width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.switch-btn.is-on{background:var(--pos);color:#fff}
.pager{margin:12px 0}
.page-admin .card h3{margin:0 0 10px}
details.card summary{cursor:pointer}

/* ========== Планшет ========== */
@media (max-width:1240px){
  .nav{gap:28px}
  .hdr__in{gap:28px}
  .hero h1{font-size:52px}
  .trial{flex-basis:460px;padding:32px}
  .proof{grid-template-columns:1fr}
  .bk__row{grid-template-columns:170px 1fr 1fr 1fr 1fr 32px;
    grid-template-areas:"logo rating bonus rel rev more" "cta cta cta cta revbtn revbtn"}
  .days{grid-template-columns:repeat(4,1fr)}
  .days--14,.days--30{grid-template-columns:repeat(4,1fr)}
  .hero__best{flex-basis:400px}
  .reg__text h2{font-size:36px}
  .bk__scores{grid-template-columns:repeat(4,1fr)}
  .filters{grid-template-columns:repeat(3,1fr)}
  .kpis{grid-template-columns:repeat(2,1fr)}
}

/* ========== Мобильная версия (макет 360px) ========== */
@media (max-width:820px){
  body{font-size:14px}
  .wrap{padding:0 12px}
  .hdr__in{height:60px;gap:12px}
  .logo img{width:128px}
  .nav,.hdr__act{display:none}
  .hdr__mob{display:flex}
  .menu-open .ic--open{display:none}
  .menu-open .ic--close{display:block}
  .menu-open .mmenu{display:block}
  .mmenu{position:fixed;top:60px;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #EDEDED;overflow:auto}
  .mmenu__link{display:block;padding:12px;border-bottom:1px solid #EDEDED;color:var(--text);font-size:16px}
  .mmenu__cta{padding:12px;border-bottom:1px solid #EDEDED}
  .mmenu__cta .btn{width:100%;padding:11px}
  .menu-open{overflow:hidden}

  .page-t{font-size:28px;margin-top:28px}
  .page-s{margin-top:8px;font-size:14px}
  .h2{font-size:20px;margin-bottom:12px}
  .tabs{margin:18px -12px 20px;padding:0 12px;gap:4px}
  .tabs__i{padding:9px 12px;font-size:14px}

  .hero__in{flex-direction:column;gap:12px;padding-top:16px;padding-bottom:24px}
  .hero h1{font-size:30px;line-height:1.2}
  .hero__sub{font-size:14px;margin-top:8px}
  .feats{gap:12px;margin-top:20px;justify-content:space-between}
  .feats li{font-size:12px}
  .feats__ic{width:40px;height:40px;margin-bottom:10px}
  .feats__ic .ic{width:18px;height:18px}
  .feats b{font-size:16px}
  .trial{flex:none;width:100%;padding:20px}
  .trial__t{font-size:20px}
  .trial__s{font-size:14px;margin-top:6px}
  .field,.field:first-of-type{margin-top:14px}
  .field input,.trial input{height:50px}
  .trial .btn--xl{margin-top:16px}
  .consent{font-size:11px;color:var(--muted);margin:12px 0 0}
.trial__note{margin-top:14px;font-size:10px}

  .proof{padding-top:32px;padding-bottom:32px;gap:24px}
  .lp{flex-direction:column;gap:10px;padding:16px}
  .lp__bet{flex-direction:row;justify-content:space-between;align-items:center}
  .wgrid{display:none}
  .wsum{display:block}
  .panel--pad:has(.wsum){padding:0;overflow:hidden}
  .wsum__row{display:flex;justify-content:space-between;align-items:center;padding:18px 16px;border-bottom:1px solid #EFEFEF;font-size:14px}
  .wsum__row b{font-size:30px;font-weight:700;line-height:1}
  .wsum .balance{border-radius:0 0 var(--r-lg) var(--r-lg);padding:16px}
  .balance__v{font-size:30px}

  .hist{gap:24px}
  .hist__info{order:0;grid-template-columns:1fr;gap:8px}
  .hist__info .balance{padding:16px}
  .howto{padding:16px}
  .howto p{font-size:14px}
  .strat{display:none;padding:16px}
  .strat.is-active{display:block}
  .days{grid-template-columns:1fr;gap:8px}
  .day__head{padding:10px 12px;font-size:14px}
  .day__sum--top{display:block;font-size:18px}
  .day__sum--foot{display:none}
  .day__rows{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}
  .day__row{flex-direction:column;align-items:flex-start;border-top:0;border-left:1px solid var(--line);padding:8px 12px;font-size:13px}
  .day__row:first-child{border-left:0}

  .acc{margin-bottom:12px}
  .acc__h{padding:16px;font-size:18px;align-items:flex-start}
  .acc__desc{padding:10px 16px 0}
  .calc__main{font-size:16px}
  .foot-note{font-size:12px;margin:20px 0 32px}

  .bk__row{grid-template-columns:auto 1fr auto 32px;grid-template-areas:
    "logo rating revbtn more" "bonus rel rev rev" "cta cta cta cta";gap:12px 10px;padding:14px}
  .bk__logo{height:32px}
  .bk__logo img{max-height:30px;max-width:110px}
  .bk__m--rev{align-items:flex-end}
  .bk__m--rel{align-items:center}
  .bk__m span{font-size:14px}
  .bk__rev{padding:8px 18px}
  .bk__cta{padding:11px;width:100%}
  .bks + .center .btn{width:100%;font-size:15px;padding:10px}
  .bks + .center{margin:12px 0 32px}

  .tbl--cards thead{display:none}
  .page-auth h1,.page-account h1,.page-admin h1{font-size:24px}

  /* v2 — мобильная версия */
  .tabs{display:none}
  .dd--tabs{display:block;margin:18px 0 20px}
  .hero__cta{margin-top:20px;width:100%}
  .hero__best{flex:none;width:100%;margin-top:12px}
  .hero__best-t{font-size:15px}
  .strat-name{font-size:14px;margin-bottom:12px}
  .reg{padding:32px 0}
  .reg__in{flex-direction:column;gap:20px}
  .reg__text h2{font-size:26px}
  .reg__text p{font-size:14px;margin-top:10px}
  .steps{margin-top:18px;gap:10px}
  .steps li{font-size:14px}
  .steps li::before{width:32px;height:32px}
  .trial .field:first-of-type{margin-top:16px}
  .chk{font-size:12px}
  .hctl{flex-direction:column;align-items:stretch;margin-bottom:16px}
  .dd--strat{min-width:0}
  .seg{display:flex}.seg__i{flex:1;text-align:center;padding:9px 6px;font-size:14px}
  .hist__info{grid-template-columns:1fr}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .kpi{padding:12px 14px}.kpi b{font-size:20px}
  .days--14,.days--30{grid-template-columns:1fr}
  .bk__pos{display:none}
  .bk__desc{padding:0 14px 14px}
  .bk__scores{grid-template-columns:repeat(2,1fr)}
  .promo-form{flex-direction:column}
  .cookie{left:8px;right:8px;bottom:8px;flex-direction:column;align-items:stretch;gap:10px;padding:14px}
  .ftr__legal{flex-direction:column;gap:8px}
  .filters{grid-template-columns:1fr 1fr}
  .form--promo{grid-template-columns:1fr}
  .pw__row{grid-template-columns:1fr 1fr}
  .verify-opts{flex-direction:column}
  .legal .page-t{font-size:24px}
}

/* ================= Версия 2.2 (замечания 26.10) ================= */
:root{--green:#2FD35C;--green-dark:#22B74B;--on-green:#0B2614}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.req{color:var(--neg);font-weight:400}

/* Ярко-зелёные акценты: целевая кнопка и плашка «Прошла» */
.btn--green{background:var(--green);color:var(--on-green);font-weight:700}
.btn--green:hover{background:var(--green-dark)}
.st-won{background:var(--green);border-color:var(--green);color:var(--on-green);font-weight:600}

/* Первый экран по Figma: меньше отступ сверху, блок справа — вровень с заголовком */
.hero__in{display:grid;grid-template-columns:minmax(0,1fr) 500px;grid-template-areas:"text best" "feats best" "cta best";
  grid-template-rows:auto auto 1fr;column-gap:64px;align-items:start;padding-top:56px;padding-bottom:80px}
.hero__text{grid-area:text;max-width:620px;padding-top:0}
.hero h1{margin:0}
.feats{grid-area:feats;margin:56px 0 0}
.hero__cta{grid-area:cta;justify-self:start;margin-top:44px;min-width:280px;padding:16px 36px;font-size:18px}
.hero__best{grid-area:best;position:relative;flex:none;display:flex;flex-direction:column;gap:12px;padding-top:12px}
.hero__best-t{font-size:18px;font-weight:600;margin-bottom:2px}

/* Карточки «Прогноз прошёл» */
.hp{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:var(--r-lg);padding:14px 16px;
  display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hp--empty{color:rgba(255,255,255,.8);font-size:14px}
.hp__top,.hp__bot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hp__lg{color:rgba(255,255,255,.72);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp__date{margin-left:4px}
.hp__ok{flex:none;display:inline-flex;align-items:center;gap:4px;background:var(--green);color:var(--on-green);border-radius:999px;
  padding:3px 10px 3px 7px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.hp__ok .ic{width:13px;height:13px}
.hp__teams{display:flex;flex-wrap:wrap;gap:8px 20px;font-weight:600;font-size:16px}
.hp__bet{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:14px;font-weight:600}
.hp__score{color:rgba(255,255,255,.6);font-size:12px;font-weight:400}
.hp__profit{flex:none;display:flex;flex-direction:column;align-items:flex-end;background:rgba(10,6,30,.45);
  border:1px solid rgba(47,211,92,.55);border-radius:10px;padding:5px 12px}
.hp__profit small{font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:rgba(255,255,255,.75)}
.hp__profit b{color:var(--green);font-size:19px;white-space:nowrap}

/* Команды (логотип или буква) */
.tm{display:inline-flex;align-items:center;gap:8px;min-width:0}
.tm__logo{flex:none;width:24px;height:24px;border-radius:50%;object-fit:contain;background:#fff}
.tm__logo--txt{display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18);color:#fff;font-size:12px;font-weight:700}

/* Рекламные подписи около блоков */
.scribble{font-family:'Caveat',cursive;font-weight:700;color:#C3F7D0;font-size:26px;line-height:1;position:absolute;pointer-events:none;white-space:nowrap}
/* верхняя подпись — в промежутке между заголовком и карточками; где места нет (821–1499 px) — скрыта */
.scribble--top{display:none}
.scribble__arrow{position:absolute;right:-40px;top:30px;width:48px;height:48px;color:#C3F7D0}
.scribble--bot{right:4px;bottom:-62px;transform:rotate(-5deg);text-align:right}

/* «Эффективность за неделю»: шапки дней одной высоты — строки выровнены */
.day__head{align-items:flex-start;min-height:62px}
.day__head > span:first-child{display:flex;flex-direction:column;gap:2px}
.day__date{display:block}
.acc__n{color:var(--brand);font-weight:600}

/* Прогноз дня: новая карточка (Figma), подробности по кнопке (i) */
.pick{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"meta offer" "teams offer" "more more";
  column-gap:24px;row-gap:8px;align-items:center;padding:18px 24px;border-bottom:1px solid #EFEFEF}
.pick:last-child{border-bottom:0}
.pick__meta1{grid-area:meta;display:flex;align-items:center;gap:24px;font-size:13px;color:#555;align-self:end}
.pick__time .badge{margin-left:6px}
.pick__teams{grid-area:teams;display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;font-weight:600;font-size:17px;align-self:start}
.pick .tm__logo--txt{background:var(--brand-soft);color:var(--brand)}
.info-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:#9A9A9A;padding:2px;cursor:pointer;border-radius:50%}
.info-btn .ic{width:22px;height:22px}
.info-btn:hover,.info-btn[aria-expanded=true]{color:var(--brand)}
.offer{grid-area:offer;display:grid;grid-template-columns:124px 172px 124px 200px;gap:8px;padding:8px;border:1.5px solid #CDB8EE;border-radius:16px;background:#FAF8FE}
.offer__bk,.offer__c{background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;min-height:54px;text-align:center}
.offer__bk img{max-height:26px;max-width:100px}
.offer__bk b{font-size:14px}
.offer__c{flex-wrap:wrap}
.offer__c span{color:#808080;font-size:13px}
.offer__c b{color:var(--brand);font-size:17px;font-weight:700;white-space:nowrap}
.offer__btn{border-radius:12px;font-size:17px;padding:12px 16px}
.pick__more{grid-area:more;padding-top:6px}
.pick__meta{font-size:14px}
.pick__why{color:var(--muted);font-size:14px;margin:12px 0 0}

/* Подвал: контакты и текст tiu.ru */
.ftr__about{margin-top:16px;padding-top:16px;border-top:1px solid #EFEFEF;color:#8A8A8A;font-size:12px;line-height:1.5}
.ftr__about p{margin:0 0 6px}
.reqs{display:grid;grid-template-columns:160px 1fr;gap:8px 16px;margin:16px 0 0}
.reqs dt{color:var(--muted)}.reqs dd{margin:0}

/* Кабинет: поддержка; админка: обращения */
.label--wide{max-width:none!important}
.form textarea{background:var(--soft);border-color:transparent;resize:vertical}
.support-msg{max-width:480px;overflow-wrap:anywhere}

@media (max-width:1240px){
  .hero__in{grid-template-columns:minmax(0,1fr) 420px;column-gap:40px}
  .hero__best{flex-basis:auto}
}
@media (min-width:1500px){
  .scribble--top{display:block;left:-186px;top:52px;width:166px;white-space:normal;transform:rotate(-8deg)}
}
@media (max-width:1100px){
  .pick{grid-template-columns:1fr;grid-template-areas:"meta" "teams" "offer" "more"}
  .offer{grid-template-columns:110px 1fr 110px 190px}
}
@media (max-width:820px){
  .hero__in{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:20px;padding-bottom:28px}
  .hero__text{order:1}
  .hero__best{order:2;margin-top:18px;padding-top:0;gap:10px}
  .hero__cta{order:3;width:100%;min-width:0;margin-top:18px;padding:14px;font-size:17px}
  .feats{order:4;margin-top:20px}
  .hero__best-t{font-size:15px}
  .scribble{font-size:21px}
  .scribble--top{display:block;position:static;align-self:flex-start;margin:-2px 0 4px;transform:rotate(-6deg)}
  .scribble__arrow{display:none}
  .scribble--bot{position:static;align-self:flex-end;margin-top:2px}
  .hp{padding:12px 14px;gap:10px}
  .hp__teams{font-size:14px;gap:6px 14px}
  .hp__profit b{font-size:16px}
  .day__head{min-height:0;align-items:center}
  .day__head > span:first-child{flex-direction:row;gap:6px;align-items:baseline}
  .pick{padding:16px;row-gap:10px}
  .pick__meta1{justify-content:space-between;gap:12px}
  .pick__teams{font-size:15px;gap:6px 14px}
  .info-btn{margin-left:auto}
  .offer{grid-template-columns:1fr 1fr 1fr;padding:8px}
  .offer__c{flex-direction:column;gap:2px}
  .offer__c b{font-size:16px;white-space:normal}
  .offer__btn{grid-column:1/-1;padding:13px}
  .reqs{grid-template-columns:1fr;gap:2px}
  .reqs dd{margin-bottom:8px}
}

/* ================= Версия 2.3 (правки 06.11, predicter.ru) ================= */

/* Шапка: логотип PREDICTER.RU, счётчик вместо меню */
.logo img{width:187px;height:auto}
.hdr__in{gap:32px}
.hdr__act{margin-left:auto}
.odo{display:flex;align-items:center;gap:12px;font-size:15px;color:#555}
.odo__l{white-space:nowrap}
.odo__n{display:inline-flex;gap:3px}
.odo__d{display:inline-block;width:24px;height:34px;overflow:hidden;border-radius:7px;background:var(--brand);color:#fff;
  font:700 20px/34px var(--font);text-align:center;box-shadow:inset 0 -12px 14px rgba(0,0,0,.14)}
.odo__s{display:flex;flex-direction:column;transform:translateY(calc(var(--d) * -34px));
  transition:transform .9s cubic-bezier(.2,.8,.2,1);animation:odo-in 1.6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * .12s)}
.odo__s span{display:block;height:34px}
@keyframes odo-in{from{transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.odo__s{animation:none;transition:none}}

/* Подвал */
.ftr__logo{line-height:0}.ftr__logo img{width:128px;height:auto}

/* Экраны главной: тёмные и светлые чередуются */
.sx{padding:96px 0}
.sx--dark{background:radial-gradient(1200px 500px at 85% 0,rgba(130,70,230,.45),transparent 60%),linear-gradient(160deg,#2B1365 0%,#1B0B42 100%);color:#fff}
.sx--light{background:#fff}
.sx__t{font-size:44px;font-weight:800;letter-spacing:-.5px}
.sx__s{font-size:18px;margin:16px 0 0;max-width:760px;opacity:.9}
.sx__cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:48px}
.sx__cta .btn{min-width:280px}
.btn--glass{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.35);color:#fff}
.btn--glass:hover{background:rgba(255,255,255,.18)}

/* Регистрация — светлый экран, карточка по центру (Figma) */
.reg{background:var(--bg);color:var(--text);padding:80px 0}
.reg__in{justify-content:center}
.reg .trial{flex:0 1 560px;box-shadow:0 10px 40px rgba(43,19,101,.08)}

/* «Ставь осмысленно»: 4 шага со стрелками */
.slider{position:relative;margin-top:48px}
.steps4{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:40px}
.step4{position:relative;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:var(--r-lg);padding:24px;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.step4__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.step4__n{font-size:40px;font-weight:800;line-height:1;color:var(--green);letter-spacing:-1px}
.step4__ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.12)}
.step4__ic .ic{width:26px;height:26px}
.step4__t{font-size:20px;font-weight:700}
.step4__p{margin:12px 0 0;font-size:15px;line-height:1.5;color:rgba(255,255,255,.82)}
.step4__arrow{position:absolute;top:44px;right:-46px;width:52px;color:#C3F7D0;z-index:1}
.ic--flow{width:52px;height:21px}
.slider__nav{display:none;justify-content:center;gap:8px;margin-top:20px}
.slider__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer;transition:width .2s}
.slider__dot.is-active{background:var(--green);width:22px;border-radius:4px}

/* «Ставь по системе»: тройной фильтр */
.filter{display:grid;grid-template-columns:1fr 36px 1fr 36px 1fr 36px .8fr;align-items:stretch;margin-top:48px}
.flt{background:var(--bg);border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column}
.flt__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.flt__ic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--brand);color:#fff}
.flt__ic .ic{width:26px;height:26px}
.flt__n{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:4px 10px}
.flt__t{font-size:20px;font-weight:700}
.flt__p{margin:10px 0 0;font-size:15px;line-height:1.5;color:#444}
.flt__arrow{display:flex;align-items:center;justify-content:center;color:var(--brand)}
.flt__arrow .ic{width:28px;height:28px}
.flt--result{background:linear-gradient(160deg,#2B1365,#5520A0);color:#fff;justify-content:center;align-items:flex-start}
.flt--result .flt__p{color:rgba(255,255,255,.85)}
.flt__ic--res{background:var(--green);color:var(--on-green);margin-bottom:18px;border-radius:50%}
.system__foot{display:flex;gap:18px;align-items:flex-start;margin-top:32px;background:var(--brand-soft);border-radius:var(--r-lg);padding:24px}
.system__foot p{margin:0;font-size:16px;line-height:1.55}
.system__ic{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--brand)}

/* «Ставь как мы»: скрины с телефона */
.shots{padding:0 56px}
.shots__track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;justify-content:safe center;padding:4px}
.shots__track::-webkit-scrollbar{display:none}
.shot{flex:0 0 230px;margin:0;scroll-snap-align:center;border-radius:22px;overflow:hidden;border:6px solid #120830;
  box-shadow:0 20px 50px rgba(0,0,0,.4);background:#000;aspect-ratio:9/20.5}
.shot img{display:block;width:100%;height:100%;object-fit:cover}
.slider__btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.slider__btn:hover{background:rgba(255,255,255,.18)}
.slider__btn--prev{left:0}.slider__btn--next{right:0}
.shots .slider__nav{margin-top:24px}
.likeus__note{max-width:760px;margin:28px auto 0;text-align:center;font-size:16px;opacity:.9}

/* Статистика по дням: «Возвраты» серым */
.day__row--void,.day__row--void b{color:#9A9A9A}

/* Прогноз дня: время прогноза и текущий кэф */
.pick__fix{margin:10px 0 0;font-size:14px;color:#555;background:#FAF8FE;border-left:3px solid var(--brand);border-radius:6px;padding:8px 12px}
.pick__now{display:inline-block;margin-left:4px;color:var(--brand-dark)}

/* Ожидание подтверждения оплаты */
.pay-wait{display:flex;gap:8px}
.pay-wait span{width:10px;height:10px;border-radius:50%;background:var(--brand);animation:pw 1s infinite alternate}
.pay-wait span:nth-child(2){animation-delay:.2s}.pay-wait span:nth-child(3){animation-delay:.4s}
@keyframes pw{to{opacity:.2;transform:scale(.6)}}

/* Админка v2.3 */
.form--grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:end}
.form--grid4 > div{grid-column:1/-1}
.form--grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form--grid2 > div{grid-column:1/-1}
.shots-adm{display:flex;flex-wrap:wrap;gap:14px}
.shot-adm{width:140px;display:flex;flex-direction:column;gap:6px}
.shot-adm img{width:140px;height:300px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.ed-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;position:sticky;top:67px;background:#fff;padding:8px 0;z-index:5}
.ed-bar__sp{flex:1}
.ed-area{min-height:400px;max-height:70vh;overflow:auto;border:1px solid var(--line);border-radius:var(--r-sm);padding:16px;outline:none}
.ed-area:focus{border-color:var(--brand)}
.ed-code{font:13px/1.45 ui-monospace,Consolas,monospace;min-height:400px}
.legal-edit .actions{margin-top:12px}

@media (max-width:1240px){
  .odo__l{display:none}
  .steps4{grid-template-columns:repeat(2,1fr)}
  .step4__arrow{display:none}
  .filter{grid-template-columns:1fr 28px 1fr;row-gap:16px}
  .filter > .flt__arrow:nth-of-type(2){display:none}
}
@media (max-width:820px){
  .hdr__in{gap:10px}
  .logo img{width:132px}
  .odo{margin-left:auto;gap:6px}
  .odo__l{display:block;font-size:10px;line-height:1.15;white-space:normal;width:70px;text-align:right}
  .odo__d{width:17px;height:26px;font-size:15px;line-height:26px;border-radius:5px}
  .odo__s{transform:translateY(calc(var(--d) * -26px))}
  .odo__s span{height:26px}
  .hdr__mob{margin-left:4px}

  .sx{padding:44px 0}
  .sx__t{font-size:28px}
  .sx__s{font-size:14px;margin-top:10px}
  .sx__cta{margin-top:28px}
  .sx__cta .btn{width:100%;min-width:0}
  .reg{padding:32px 0}
  .reg .trial{flex:none;width:100%}
  .slider{margin-top:24px}
  /* «Ставь осмысленно» — слайдер */
  .steps4{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -12px;padding:0 12px}
  .steps4::-webkit-scrollbar{display:none}
  .step4{flex:0 0 84%;scroll-snap-align:center;padding:20px}
  .step4__n{font-size:32px}
  .step4__t{font-size:18px}
  .step4__p{font-size:14px}
  .slider__nav{display:flex}
  /* «Ставь по системе» — колонка со стрелками вниз */
  .filter{display:flex;flex-direction:column;gap:0;margin-top:24px}
  .filter > .flt__arrow:nth-of-type(2){display:flex}
  .flt{padding:18px}
  .flt__arrow{height:36px}
  .flt__arrow .ic{transform:rotate(90deg)}
  .flt__t{font-size:18px}.flt__p{font-size:14px}
  .system__foot{flex-direction:column;padding:18px;gap:12px}
  .system__foot p{font-size:14px}
  /* «Ставь как мы» */
  .shots{padding:0}
  .shots__track{justify-content:flex-start;margin:0 -12px;padding:4px 12px;gap:12px}
  .shot{flex-basis:62%;border-width:4px;border-radius:18px}
  .slider__btn{display:none}
  .likeus__note{font-size:14px}

  .day__rows--4{grid-template-columns:repeat(4,1fr)}
  .form--grid4,.form--grid2{grid-template-columns:1fr 1fr}
  .ed-bar{top:60px}
}

/* ================= Версия 2.4 (правки 11.11): баннеры и окно «Спасибо» ================= */
.banner-page{display:flex;justify-content:center;padding:48px 16px 80px}
.banner-card,.modal__box{background:#fff;border-radius:20px;box-shadow:0 20px 60px rgba(43,19,101,.18);padding:40px;max-width:560px;width:100%;text-align:center}
.banner-card__ic{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;
  background:var(--brand-soft);color:var(--brand);margin-bottom:18px}
.banner-card__ic .ic{width:32px;height:32px}
.banner-card__text p{margin:0 0 12px;font-size:18px;line-height:1.5}
.banner-card__text p:first-child{font-size:22px;font-weight:700}
.banner-card__act{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:24px}
.banner-card__act .btn{min-width:180px}
.modal{position:fixed;inset:0;z-index:60;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(20,8,48,.55)}
.modal.is-open{display:flex}
.modal__t{font-size:26px;font-weight:700;margin:0 0 10px}
.modal__box p{font-size:17px;margin:0}
.card--accent{border:2px solid var(--green)}
@media (max-width:820px){
  .banner-page{padding:24px 0 40px}
  .banner-card,.modal__box{padding:24px 18px}
  .banner-card__text p{font-size:16px}
  .banner-card__text p:first-child{font-size:19px}
  .banner-card__act .btn{flex:1 1 100%}
}
