
/* ========================= ТОКЕНЫ ========================= */
:root{
  --bg:#F4F4F5; --surface:#FFFFFF; --surface-2:#F0EFF0; --surface-3:#E7E5E7;
  --card-soft:#F7F7F7;
  --ink:#161517; --ink-2:#565359; --ink-3:#6E6972;
  --line:#E4E2E4; --line-2:#D2CFD2;

  --red:#e80024; --red-soft:#FDEDEF; --red-ink:#A50E22;
  --blue:#1B54C0; --blue-hover:#16449B; --blue-soft:#EAF0FC; --on-blue:#fff;
  --win:#0E7A50; --win-soft:#E7F4EE;
  --loss:#C0293B; --loss-soft:#FBECEE;
  --wait:#7A7580; --wait-soft:#F0EFF0;

  --sh:0 1px 1px rgba(22,21,23,.04);
  --sh-2:0 1px 2px rgba(22,21,23,.05),0 10px 24px -12px rgba(22,21,23,.16);
  --r:12px; --r-sm:8px;
  --f:Roboto,"Helvetica Neue",Arial,system-ui,sans-serif;
  --m:Roboto,"Helvetica Neue",Arial,system-ui,sans-serif;
  --rail:208px; --right:312px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#111012; --surface:#191819; --surface-2:#211F22; --surface-3:#2A272B;
  --card-soft:#1E1D1F;
  --ink:#EFEDF0; --ink-2:#B2ADB6; --ink-3:#8D8791;
  --line:#282629; --line-2:#373438;
  --red:#FF4D63; --red-soft:#2B1216; --red-ink:#FF7D8E;
  --blue:#6E9BF5; --blue-hover:#8DB1F8; --blue-soft:#151C2C; --on-blue:#0A1120;
  --win:#3BC489; --win-soft:#11251C; --loss:#F0616F; --loss-soft:#2A1417;
  --wait:#8E8894; --wait-soft:#211F22;
  --sh:0 1px 1px rgba(0,0,0,.5); --sh-2:0 1px 2px rgba(0,0,0,.5),0 10px 24px -12px rgba(0,0,0,.8);
}}
:root[data-theme="dark"]{
  --bg:#111012; --surface:#191819; --surface-2:#211F22; --surface-3:#2A272B;
  --card-soft:#1E1D1F;
  --ink:#EFEDF0; --ink-2:#B2ADB6; --ink-3:#8D8791;
  --line:#282629; --line-2:#373438;
  --red:#FF4D63; --red-soft:#2B1216; --red-ink:#FF7D8E;
  --blue:#6E9BF5; --blue-hover:#8DB1F8; --blue-soft:#151C2C; --on-blue:#0A1120;
  --win:#3BC489; --win-soft:#11251C; --loss:#F0616F; --loss-soft:#2A1417;
  --wait:#8E8894; --wait-soft:#211F22;
  --sh:0 1px 1px rgba(0,0,0,.5); --sh-2:0 1px 2px rgba(0,0,0,.5),0 10px 24px -12px rgba(0,0,0,.8);
}

/* ========================= БАЗА ========================= */
*{box-sizing:border-box;margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--f);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100dvh}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
input{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
img,svg{display:block}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.mono{font-family:var(--m);font-variant-numeric:tabular-nums}
h1,h2,h3{line-height:1.16}
.lbl{font-size:11px;font-weight:700;color:var(--ink-3)}

/* ========================= КАРКАС ========================= */
/* Содержимое сайта живёт в полосе 1300px, прижатой к левому краю.
   Шапка при этом остаётся во всю ширину экрана. */
.app{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);min-height:100dvh;max-width:1300px}

/* левое меню */
.rail{
  background:var(--surface);
  position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;
}
.rail-top{padding:16px 18px 12px;display:flex;align-items:center;gap:9px}
.mark{width:28px;height:28px;border-radius:8px;background:var(--red);display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px;flex-shrink:0}
.wordmark{font-weight:800;font-size:17px;}
.wordmark i{font-style:normal;font-weight:400;color:var(--ink-2)}
.rail-nav{padding:6px 10px;display:flex;flex-direction:column;gap:1px;overflow-y:auto;flex:1}
.rail-sep{font-size:10.5px;font-weight:700;color:var(--ink-3);padding:16px 10px 6px}
.ri{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:9px;color:var(--ink-2);font-weight:500;font-size:14.5px;position:relative;transition:background .14s,color .14s;text-align:left;width:100%}
.ri svg{width:19px;height:19px;flex-shrink:0}
.ri:hover{background:var(--surface-2);color:var(--ink)}
.ri.on{background:var(--surface-2);color:var(--ink);font-weight:600}
.ri.on::before{content:"";position:absolute;left:-10px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--red)}
.ri .cnt{margin-left:auto;font-family:var(--m);font-size:11px;font-weight:500;color:var(--ink-3)}
.ri .live-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:var(--red);animation:blink 1.6s infinite}
@keyframes blink{50%{opacity:.25}}
.rail-foot{padding:10px;}
.me{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;width:100%;transition:background .14s}
.me:hover{background:var(--surface-2)}
.me .t{text-align:left;min-width:0}
.me b{display:block;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me small{font-size:11.5px;color:var(--ink-3)}

/* верхняя панель */
.main{display:flex;flex-direction:column;min-width:0}
.top{
  position:sticky;top:0;z-index:50;height:58px;flex-shrink:0;
  background:color-mix(in srgb,var(--bg) 86%,transparent);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  
  display:flex;align-items:center;gap:12px;padding:0 22px;
}
.top h2{font-size:17px;font-weight:700}
.search{flex:1;max-width:400px;position:relative;margin-left:8px}
.search input{width:100%;background:var(--surface);border-radius:9px;padding:8px 12px 8px 34px;font-size:14px;transition:border-color .15s}
.search input:focus{outline:none;border-color:var(--blue)}
.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:var(--ink-3)}
.spacer{flex:1}
.ib{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;color:var(--ink-2);position:relative;transition:background .14s,color .14s;flex-shrink:0}
.ib:hover{background:var(--surface-2);color:var(--ink)}
.ib svg{width:18px;height:18px}
.ib .badge{position:absolute;top:5px;right:5px;min-width:15px;height:15px;border-radius:8px;background:var(--red);color:#fff;font-size:9.5px;font-weight:700;display:grid;place-items:center;padding:0 4px;border:2px solid var(--bg)}

.page{padding:22px;flex:1}
.screen{display:none}
.screen.on{display:block;animation:in .3s cubic-bezier(.2,.9,.3,1)}
@keyframes in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.cols{display:grid;grid-template-columns:minmax(0,1fr) var(--right);gap:20px;align-items:start}
.stack{display:flex;flex-direction:column;gap:16px;min-width:0}
/* Сайдбар листается вместе со страницей, а его последний блок
   прилипает под шапкой и остаётся на виду при дальнейшей прокрутке. */
.rside{display:flex;flex-direction:column;gap:16px;align-self:stretch}
.rside > :last-child{position:sticky;top:calc(var(--top-h, 64px) + 16px)}

/* ========================= ЭЛЕМЕНТЫ ========================= */
.card{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.ch{display:flex;align-items:center;gap:10px;padding:14px 16px}
/* значок в заголовке центрируем явно: у строки своя высота,
   и без этого он садится выше текста */
.ch > svg{align-self:center;display:block;flex-shrink:0}
.ch h3{line-height:1.25;display:flex;align-items:center}
.ch h3{font-size:14.5px;font-weight:700;flex:1}
.ch a{font-size:12.5px;font-weight:600;color:var(--blue)}
.pad{padding:16px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:14px;padding:9px 17px;border-radius:9px;min-height:38px;transition:all .15s;border:1px solid transparent;white-space:nowrap}
.btn svg{width:16px;height:16px}
.b-pri{background:var(--blue);color:var(--on-blue)}
.b-pri:hover{background:var(--blue-hover)}
.b-sec{background:var(--surface);border-color:var(--line-2);color:var(--ink)}
.b-sec:hover{border-color:var(--blue);color:var(--blue)}
.b-soft{background:var(--blue-soft);color:var(--blue)}
.b-sm{padding:6px 12px;min-height:32px;font-size:13px;border-radius:7px}
.btn.done{background:var(--surface-2);color:var(--ink-2);border-color:var(--line)}

.av{border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;flex-shrink:0;user-select:none;}
.a-xs{width:26px;height:26px;font-size:10px}
.a-s{width:34px;height:34px;font-size:12px}
.a-m{width:42px;height:42px;font-size:14px}
.a-l{width:76px;height:76px;font-size:25px}
.c1{background:linear-gradient(140deg,#C8213A,#8B0F22)}
.c2{background:linear-gradient(140deg,#2B5FC4,#173A82)}
.c3{background:linear-gradient(140deg,#B06216,#7A3F08)}
.c4{background:linear-gradient(140deg,#6B3FA0,#432466)}
.c5{background:linear-gradient(140deg,#12796A,#0A4A41)}
.c6{background:linear-gradient(140deg,#5A6169,#383D43)}

.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:400;padding:3px 8px;border-radius:6px;background:var(--surface-2);color:var(--ink-2);white-space:nowrap}
/* метка идущего матча остаётся заметной */
.t-live{font-weight:700}
.t-red{background:transparent;color:var(--red);padding:0}
.t-live{background:var(--red);color:#fff}
.t-live::before{content:"";width:5px;height:5px;border-radius:50%;background:#fff;animation:blink 1.6s infinite}
.t-res{background:var(--red-soft);color:var(--red-ink)}
/* Итог болжама: сыгравшие метки заливаем цветом, ожидание — «дышит»,
   чтобы в списке было видно, что результат ещё не подведён. */
.t-win{background:var(--win);color:#fff;font-weight:500}
.t-loss{background:var(--loss);color:#fff;font-weight:500}
.t-wait{background:var(--wait-soft);color:var(--wait)}

.t-wait::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:currentColor;flex-shrink:0;
  animation:waitPulse 1.8s ease-in-out infinite;
}
@keyframes waitPulse{
  0%,100%{opacity:.35;transform:scale(.85)}
  50%    {opacity:1;transform:scale(1)}
}

/* Тем, кто выключил анимации в системе, точку просто оставляем на месте. */
@media (prefers-reduced-motion:reduce){
  .t-wait::before{animation:none;opacity:.7}
}

/* ---- сторис ---- */
.stories{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none}
.stories::-webkit-scrollbar{display:none}
.st{display:flex;flex-direction:column;align-items:center;gap:6px;width:66px;flex-shrink:0}
.st-ring{width:60px;height:60px;border-radius:50%;padding:2.5px;background:linear-gradient(140deg,var(--red),#FF7A45);position:relative}
.st-ring.seen{background:var(--line-2)}
.st-ring .av{width:100%;height:100%;border:2.5px solid var(--surface);font-size:17px}
.st-live{position:absolute;bottom:-3px;left:50%;transform:translateX(-50%);background:var(--red);color:#fff;font-size:8.5px;font-weight:800;padding:1.5px 6px;border-radius:4px;border:2px solid var(--surface)}
.st span{font-size:11.5px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:66px;text-align:center}

/* ---- пост ---- */
.post-h{display:flex;align-items:center;gap:11px;padding:15px 16px 0}
.post-h .w{flex:1;min-width:0}
.post-h b{font-size:14px;font-weight:650;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.post-h small{color:var(--ink-3);font-size:12.5px}
.post-b{padding:11px 16px 0;font-size:14.8px}
.acts{display:flex;gap:2px;padding:9px 10px 11px}
.act{display:flex;align-items:center;gap:6px;padding:6px 11px;border-radius:8px;color:var(--ink-2);font-weight:600;font-size:13px;transition:all .14s}
.act:hover{background:var(--surface-2);color:var(--ink)}
.act svg{width:16px;height:16px}
.act.liked{color:var(--red)}
.act.liked svg{fill:var(--red)}

/* ---- матч ---- */
.match{overflow:hidden;transition:background .15s}
.match:hover{background:var(--surface-3)}
.m-top{display:flex;align-items:center;gap:8px;padding:11px 13px 4px}
.m-top .lg{font-size:11.5px;font-weight:600;color:var(--ink-2);flex:1}
.m-body{padding:13px}
.m-row{display:flex;align-items:center;gap:10px;padding:4px 0}
.m-row .kit{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:8.5px;font-weight:800;color:#fff;flex-shrink:0}
.m-row .nm{flex:1;font-size:14px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-row .sc{font-family:var(--m);font-weight:700;font-size:15px}
.m-row.dim .nm,.m-row.dim .sc{color:var(--ink-3)}
.odds{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:11px}
.odd{border-radius:7px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:1px;transition:all .14s;background:var(--surface)}
.odd:hover{border-color:var(--blue)}
.odd small{font-size:10px;font-weight:700;color:var(--ink-3);}
.odd .mono{font-weight:600;font-size:14px}
.odd.pick{border-color:var(--blue);background:var(--blue-soft)}
.odd.pick small,.odd.pick .mono{color:var(--blue)}

/* ---- купон прогноза ---- */
.tick{border-radius:var(--r-sm);overflow:hidden;background:var(--surface)}
.tick-f{display:flex;align-items:center;gap:9px;padding:10px 13px;background:var(--surface-2);flex-wrap:wrap}
.tick-f .who{display:flex;align-items:center;gap:7px;flex:1;min-width:0;font-size:13px;font-weight:600}
.kf{font-family:var(--m);font-weight:700;font-size:12.5px;background:var(--blue);color:var(--on-blue);padding:3px 9px;border-radius:6px}

/* ---- таблицы ---- */
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{font-size:11px;font-weight:700;color:var(--ink-3);text-align:left;padding:10px 14px;white-space:nowrap}
.tbl td{padding:11px 14px;vertical-align:middle}
.tbl tbody tr:last-child td{border-bottom:none}
.tbl tbody tr{transition:background .14s}
.tbl tbody tr:hover{background:var(--surface-2)}
.tbl .r{text-align:right}
.rank{font-family:var(--m);font-weight:700;font-size:13px;color:var(--ink-3);width:26px}
.rank--top{color:var(--red)}
.bar{display:inline-block;width:56px;height:4px;border-radius:99px;background:var(--surface-3);overflow:hidden;vertical-align:middle;margin-left:8px}
.bar i{display:block;height:100%;background:var(--blue)}
.form{display:inline-flex;gap:3px}
.form i{width:8px;height:8px;border-radius:2px}
.fw{background:var(--win)}.fl{background:var(--loss)}.fd{background:var(--wait)}

/* ---- список в сайдбаре ---- */
.lrow{display:flex;align-items:center;gap:10px;padding:9px 16px;transition:background .14s;}
.lrow:first-of-type{border-top:none}
.lrow:hover{background:var(--surface-2)}
.lrow--live .n b{font-weight:700}
.sc-live{font-weight:700;font-variant-numeric:tabular-nums}
.sc-live[hidden]{display:none}
.lrow .n{flex:1;min-width:0}
.lrow .n b{display:block;font-size:13.5px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lrow .n small{font-size:11.5px;color:var(--ink-3)}
.pct{font-family:var(--m);font-weight:700;font-size:13.5px;color:var(--win)}

/* ---- новости ---- */
.ngrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:16px}
.ncard{background:var(--surface);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);transition:all .18s;height:100%;display:flex;flex-direction:column}
.ncard:hover{box-shadow:var(--sh-2);border-color:var(--line-2);transform:translateY(-2px)}
.nimg{aspect-ratio:16/9;background:linear-gradient(140deg,var(--surface-3),var(--surface-2));position:relative;overflow:hidden;display:grid;place-items:center;color:var(--ink-3);font-size:11px;font-weight:600}
.nbody{padding:13px 15px 15px;display:flex;flex-direction:column;gap:7px;flex:1}
.ntitle{font-size:15px;font-weight:650;line-height:1.3}
.nmeta{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:4px}
.nmeta .d{font-family:var(--m);font-size:11.5px;color:var(--ink-3);margin-left:auto}

/* ---- профиль ---- */
.cover{height:132px;border-radius:var(--r) var(--r) 0 0;position:relative;overflow:hidden;
  background:linear-gradient(115deg,#1A1719,#3A1F25 55%,var(--red))}
.cover::after{content:"";position:absolute;inset:0;
  background-image:repeating-linear-gradient(115deg,transparent 0 38px,rgba(255,255,255,.045) 38px 76px)}
.phead{padding:0 22px 18px}
.prow{display:flex;align-items:flex-end;gap:16px;margin-top:-34px;flex-wrap:wrap}
.prow .a-l{border:4px solid var(--surface)}
.pid{flex:1;min-width:200px;padding-bottom:3px}
.pid h1{font-size:23px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pid .sub{color:var(--ink-2);font-size:13.5px;margin-top:2px}
.pacts{display:flex;gap:8px;padding-bottom:4px;flex-wrap:wrap}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));}
.stat{padding:13px 8px;text-align:center;}
.stat:first-child{border-left:none}
.stat .v{font-family:var(--m);font-size:19px;font-weight:700}
.stat .v.g{color:var(--win)}
.stat small{display:block;font-size:10.5px;font-weight:700;color:var(--ink-3);margin-top:2px}
.tabs{display:flex;gap:0;padding:0 16px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tb{padding:11px 14px;font-weight:600;font-size:14px;color:var(--ink-2);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .14s}
.tb:hover{color:var(--ink)}
.tb.on{color:var(--ink);border-color:var(--red)}
.tb .c{font-family:var(--m);font-size:11px;color:var(--ink-3);margin-left:5px}

/* ---- стрим ---- */
.stream{aspect-ratio:16/9;border-radius:var(--r-sm);overflow:hidden;position:relative;display:grid;place-items:center;
  background:linear-gradient(150deg,#241E20,#0E0C0D)}
.stream::before{content:"";position:absolute;inset:0;opacity:.18;
  background:radial-gradient(circle at 50% 50%,transparent 52px,rgba(255,255,255,.45) 52px 53px,transparent 54px),
             linear-gradient(rgba(255,255,255,.45),rgba(255,255,255,.45)) 50% 0/1px 100% no-repeat}
.play{width:62px;height:62px;border-radius:50%;background:var(--red);display:grid;place-items:center;color:#fff;z-index:2;transition:transform .18s}
.play:hover{transform:scale(1.07)}
.play svg{width:22px;height:22px;margin-left:3px}
.s-tl{position:absolute;top:11px;left:11px;right:11px;display:flex;justify-content:space-between;z-index:2}
.s-chip{background:rgba(0,0,0,.5);color:#fff;font-size:11.5px;font-weight:600;padding:4px 9px;border-radius:6px;backdrop-filter:blur(4px);display:inline-flex;align-items:center;gap:5px}

/* ---- YouTube ---- */
.vthumb{
  position:relative;aspect-ratio:16/9;border-radius:var(--r-sm);overflow:hidden;
  background:linear-gradient(145deg,#2A2427,#100D0F);
  display:grid;place-items:center;cursor:pointer;
}
.vthumb::before{content:"";position:absolute;inset:0;opacity:.16;
  background-image:repeating-linear-gradient(118deg,transparent 0 26px,rgba(255,255,255,.5) 26px 27px)}
.vthumb .yt{
  width:56px;height:39px;border-radius:11px;background:var(--red);
  display:grid;place-items:center;color:#fff;z-index:2;
  transition:transform .18s;box-shadow:0 4px 16px rgba(0,0,0,.35);
}
.vthumb .yt svg{width:19px;height:19px;margin-left:2px}
.vthumb:hover .yt{transform:scale(1.09)}
.vthumb .dur{
  position:absolute;right:8px;bottom:8px;z-index:2;
  background:rgba(0,0,0,.78);color:#fff;font-family:var(--m);
  font-size:11.5px;font-weight:500;padding:2px 6px;border-radius:4px;
}
.vthumb .ep{
  position:absolute;left:8px;top:8px;z-index:2;
  background:rgba(0,0,0,.6);color:#fff;font-size:11px;font-weight:700;
  padding:3px 8px;border-radius:5px;backdrop-filter:blur(4px);
}
.vthumb.lg .yt{width:74px;height:52px;border-radius:14px}
.vthumb.lg .yt svg{width:26px;height:26px}

/* главный выпуск: превью + описание рядом */
.vhero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;padding:16px}
.vhero h2{font-size:22px;font-weight:750;margin-top:9px}
.vhero p{color:var(--ink-2);font-size:14.5px;margin-top:9px}
.vmeta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px;font-size:12.5px;color:var(--ink-3)}
.vmeta .dot{width:3px;height:3px;border-radius:50%;background:var(--ink-3)}
.vhero-side{display:flex;flex-direction:column;justify-content:center}

/* сетка выпусков */
.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:16px}
.vitem{display:flex;flex-direction:column;gap:9px;cursor:pointer}
.vitem .vt{font-size:14.5px;font-weight:650;line-height:1.32}
.vitem:hover .vt{color:var(--blue)}

/* компактный список выпусков (в ленте справа от главного) */
.vlist{display:flex;flex-direction:column;gap:12px}
.vrow{display:grid;grid-template-columns:132px minmax(0,1fr);gap:11px;cursor:pointer;align-items:start}
.vrow .vthumb{border-radius:6px}
.vrow .vthumb .yt{width:34px;height:24px;border-radius:7px}
.vrow .vthumb .yt svg{width:12px;height:12px}
.vrow .vthumb .dur{right:4px;bottom:4px;font-size:10px;padding:1px 4px}
.vrow b{font-size:13.8px;font-weight:650;line-height:1.32;display:block}
.vrow small{font-size:11.5px;color:var(--ink-3);display:block;margin-top:4px}
.vrow:hover b{color:var(--blue)}

@media (max-width:1180px){.vhero{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.vrow{grid-template-columns:112px minmax(0,1fr)}}

/* ---- чат ---- */
.chat{display:flex;flex-direction:column;max-height:400px}
.chat-b{flex:1;overflow-y:auto;padding:12px 15px;display:flex;flex-direction:column;gap:10px;font-size:13.5px}
.chat-b b{font-weight:650}
.chat-in{display:flex;gap:8px;padding:11px 14px;}
.chat-in input{flex:1;min-width:0;background:var(--surface-2);border:1px solid transparent;border-radius:999px;padding:8px 14px;font-size:13.5px}
.chat-in input:focus{outline:none;border-color:var(--blue);background:var(--surface)}

/* ---- комментарии ---- */
.cmts{padding:13px 16px 15px;display:flex;flex-direction:column;gap:12px}
.cmt{display:flex;gap:9px}
.cbub{background:var(--surface-2);border-radius:4px 11px 11px 11px;padding:8px 12px;font-size:13.8px;min-width:0}
.cbub b{font-size:12.5px;display:inline-flex;align-items:center;gap:6px}
.cmeta{display:flex;gap:13px;margin-top:3px;padding-left:12px}
.cmeta button,.cmeta small{font-size:11.5px;font-weight:600;color:var(--ink-3)}
.at{color:var(--blue);font-weight:600}
.cin{display:flex;gap:9px;align-items:center}
.cin input{flex:1;min-width:0;background:var(--surface-2);border:1px solid transparent;border-radius:999px;padding:8px 14px;font-size:13.8px}
.cin input:focus{outline:none;border-color:var(--blue);background:var(--surface)}

/* ---- авторизация ---- */
.auth{display:grid;grid-template-columns:1fr 1fr;gap:0;max-width:900px;margin:10px auto;border-radius:var(--r);overflow:hidden;background:var(--surface);box-shadow:var(--sh-2)}
.auth-l{padding:34px 32px;background:linear-gradient(160deg,#1A1719,#2E191E 60%,#4A1520);color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-l::after{content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(115deg,transparent 0 44px,rgba(255,255,255,.04) 44px 88px)}
.auth-l > *{position:relative;z-index:1}
.auth-l h1{font-size:29px;font-weight:800}
.auth-l p{margin-top:9px;font-size:14px;opacity:.75;max-width:30ch}
.tier{display:flex;gap:11px;padding:12px 0;}
.tier b{font-size:13.5px;display:block}
.tier p{font-size:12.5px;opacity:.7;margin-top:1px;max-width:none}
.auth-r{padding:30px 32px}
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-2);border-radius:9px;padding:3px;gap:3px;margin-bottom:20px}
.seg button{padding:8px;border-radius:7px;font-weight:600;font-size:14px;color:var(--ink-2);transition:all .15s}
.seg button.on{background:var(--surface);color:var(--ink);box-shadow:var(--sh)}
.fld{margin-bottom:13px}
.fld label{display:block;font-size:12.5px;font-weight:600;margin-bottom:5px;color:var(--ink-2)}
.fld input{width:100%;background:var(--surface);border-radius:8px;padding:10px 13px;font-size:14.5px;transition:border-color .15s}
.fld input:focus{outline:none;border-color:var(--blue)}
.orr{display:flex;align-items:center;gap:11px;color:var(--ink-3);font-size:12.5px;margin:15px 0}
.orr::before,.orr::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---- сторис модалка ---- */
.smod{position:fixed;inset:0;z-index:300;display:none;place-items:center;background:rgba(10,9,10,.78);backdrop-filter:blur(8px)}
.smod.on{display:grid}
.sfr{width:min(380px,92vw);aspect-ratio:9/16;max-height:85dvh;border-radius:16px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:15px;background:linear-gradient(160deg,#3A1C22,#120E10)}
.sbars{display:flex;gap:4px}
.sbar{flex:1;height:2.5px;border-radius:99px;background:rgba(255,255,255,.28);overflow:hidden}
.sbar i{display:block;height:100%;width:0;background:#fff}
.sbar.done i{width:100%}
.sbar.run i{animation:sf 5s linear forwards}
@keyframes sf{to{width:100%}}
.shd{display:flex;align-items:center;gap:9px;margin-top:11px;color:#fff}
.sbd{color:#fff;text-align:center}
.sbd h3{font-size:24px;font-weight:800}
.sbd p{opacity:.82;margin-top:8px;font-size:14px}

/* ========================= АДАПТИВ ========================= */
.mob{display:none}
@media (max-width:1180px){
  .cols{grid-template-columns:minmax(0,1fr)}
  .rside{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .rside > :last-child{position:static}
}
@media (max-width:900px){
  :root{--rail:0px}
  .app{grid-template-columns:minmax(0,1fr)}
  .rail{display:none}
  .page{padding:14px 12px 88px}
  .top{padding:0 14px}
  .search{display:none}
  .rside{grid-template-columns:minmax(0,1fr)}
  .auth{grid-template-columns:1fr}
  .auth-l{min-height:230px}
  .mob{display:block;position:fixed;bottom:0;left:0;right:0;z-index:120;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px);padding:5px 6px calc(5px + env(safe-area-inset-bottom))}
  .mob-in{display:grid;grid-template-columns:repeat(5,1fr)}
  .mb{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 3px;color:var(--ink-3);font-size:10px;font-weight:600;border-radius:9px}
  .mb svg{width:20px;height:20px}
  .mb.on{color:var(--red)}
  .top h2{font-size:15.5px}
  .stats{grid-template-columns:repeat(3,1fr)}
  .hide-m{display:none}
}

/* ==========================================================================
   Привязка дизайн-системы к реальной вёрстке сайта.
   Ниже — только то, чего нет в прототипе: старые классы Bootstrap-разметки
   и элементы, появляющиеся из базы (логотипы команд, рубрики, редактор).
   ========================================================================== */

/* Кнопка сворачивания внизу меню */
.rail-toggle{
  display:flex;align-items:center;gap:11px;margin:auto 10px 12px;padding:9px 10px;
  border-radius:9px;color:var(--ink-3);background:none;cursor:pointer;
  font-size:13.5px;font-weight:400;transition:background .14s,color .14s;
}
.rail-toggle:hover{background:var(--surface-2);color:var(--ink)}
.rail-toggle svg{width:19px;height:19px;flex-shrink:0;transition:transform .18s}
@media (min-width:901px){
  .rail-mini .rail-toggle{justify-content:center;margin:auto 12px 12px;padding:11px 0}
  .rail-mini .rail-toggle svg{transform:rotate(180deg)}
}
@media (max-width:900px){.rail-toggle{display:none}}

/* Узкое меню — только на широком экране: остаются одни значки, подписи прячутся.
   Ширина колонки задаётся переменной, поэтому сетка перестраивается сама.
   На телефоне меню выезжает поверх страницы, места там достаточно —
   и без подписей по одним значкам не разобраться, поэтому весь блок
   ограничен шириной окна. */
@media (min-width:901px){
  .rail-mini{--rail:72px}
  .rail-mini .ri{justify-content:center;padding:11px 0;gap:0}
  .rail-mini .ri-t{display:none}
  .rail-mini .ri svg{width:21px;height:21px}
  .rail-mini .rail-sep{
    font-size:0;padding:12px 10px 6px;
  }
  .rail-mini .rail-sep::after{
    content:"";display:block;height:1px;background:var(--line);border-radius:1px;
  }
  .rail-mini .ri.on::before{left:-10px}
  .rail-mini .rail-nav{padding:6px 12px}
}

/* --- каркас: мобильное меню выезжает поверх --- */
.rail-close,.rail-open{display:none}
/* Кнопке закрытия не хватало размеров: она была в разметке,
   но занимала нулевую площадь и на экране не читалась. */
.rail-close{
  width:34px;height:34px;border-radius:9px;place-items:center;flex-shrink:0;margin-left:auto;
  background:var(--surface-2);color:var(--ink-2);cursor:pointer;transition:background .14s,color .14s;
}
.rail-close:hover{background:var(--surface-3);color:var(--ink)}
.rail-close svg{width:17px;height:17px}

.rail-veil{display:none}
@media (max-width:900px){
  .rail{
    display:flex!important;position:fixed;top:0;bottom:0;left:0;width:262px;z-index:200;
    transform:translateX(-100%);transition:transform .22s cubic-bezier(.2,.9,.3,1);
  }
  body.rail-open-state .rail{transform:none}
  body.rail-open-state .rail-veil{display:block;position:fixed;inset:0;z-index:199;background:rgba(10,9,10,.45)}
  .rail-close,.rail-open{display:grid}
  .app{grid-template-columns:minmax(0,1fr)}
  .page{padding-bottom:32px}
}
.brand{display:flex;align-items:center;gap:9px;flex:1;min-width:0}
.top-title{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* --- футер внутри рабочей области --- */
.footer{
  background:var(--surface)!important;
  color:var(--ink-2)!important;margin-top:auto;padding:28px 22px!important;
}
.footer a{color:var(--ink-2)!important}
.footer a:hover{color:var(--blue)!important}
.copyright-text{color:var(--ink-3)!important;font-size:13px}
.social-icons__icon{
  width:34px!important;height:34px!important;
  border-radius:var(--r-sm);display:inline-grid!important;place-items:center;transition:border-color .15s;
}
.social-icons__icon:hover{border-color:var(--blue)}
.footer img[src*="footer-logo"],.footer img[src*="header-logo"]{height:26px;width:auto}

/* --- логотипы команд из API --- */
img.kit{
  width:24px;height:24px;object-fit:contain;background:transparent;
  border-radius:0;display:block;flex-shrink:0;
}
.team{display:inline-flex;align-items:center;gap:7px;min-width:0}
.team img{width:20px;height:20px;object-fit:contain;flex-shrink:0}

/* --- сетка live-матчей --- */
.fb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(252px,1fr));gap:12px;padding:16px}
.fb-tabs{background:var(--surface);border-radius:var(--r);padding:0 8px;box-shadow:var(--sh)}
.fb-tabs .tb{border-bottom:2px solid transparent;text-decoration:none}
.fb-tabs .tb.on{color:var(--ink);border-color:var(--red)}
.daybar{
  padding:9px 16px;font-size:11.5px;font-weight:700;
  color:var(--ink-3);background:var(--surface-2);
}

/* --- новости из базы в новом каркасе --- */
.news,.video,.resident-item{
  background:var(--surface);border-radius:var(--r);
  box-shadow:var(--sh);overflow:hidden;height:100%;
  transition:border-color .18s,box-shadow .18s,transform .18s;
}
.news:hover,.video:hover,.resident-item:hover{
  border-color:var(--line-2);box-shadow:var(--sh-2);transform:translateY(-2px);
}
.news__image,.video__image-bg{border-radius:0!important;overflow:hidden;background:var(--surface-3)}
.news__image img,.video__image-bg img{width:100%;height:auto;display:block}
.news-info,.video-info{padding:14px 16px 16px}
.news__link,.video__link{
  font-family:var(--f)!important;font-weight:650!important;font-size:15.5px!important;
  line-height:1.3!important;color:var(--ink)!important;display:block;
}
.news__link:hover,.video__link:hover{color:var(--blue)!important}
.news__extract{color:var(--ink-2)!important;font-size:14px!important;line-height:1.5}
.news__date,.video__date{
  font-family:var(--m)!important;font-size:11.5px!important;color:var(--ink-3)!important;
  font-variant-numeric:tabular-nums;
}
.video__digest,span.video__digest,.news__category{
  background:transparent!important;color:var(--red)!important;
  font-family:var(--f)!important;font-weight:700!important;font-size:11px!important;
  padding:0!important;border-radius:0!important;
}
.news__link-more{
  display:inline-flex;align-items:center;gap:6px;font-weight:600!important;
  font-size:13.5px!important;color:var(--blue)!important;text-transform:none;
}
.news__link-more::after{content:"→";transition:transform .18s;display:inline-block}
.news__link-more:hover::after{transform:translateX(3px)}

/* --- заголовки секций --- */
.section-header{
  font-family:var(--f)!important;font-weight:750!important;
  font-size:clamp(18px,2.2vw,23px)!important;text-transform:none!important;
  color:var(--ink)!important;display:flex;align-items:center;gap:11px;
  margin-bottom:16px!important;padding-bottom:11px;
}
.section-header::before{content:"";flex-shrink:0;width:3px;height:1.05em;border-radius:2px;background:var(--red)}

/* --- страница новости --- */
.news-view,.news-last-block,.result-table,.forecast-view,.resident-view,.podcast-view,.page-content{
  background:var(--surface)!important;color:var(--ink)!important;
  border-radius:var(--r);box-shadow:var(--sh);
}
.news-view{padding:22px}
.news-view h1{font-size:clamp(23px,3vw,31px);margin-bottom:12px}
.news-view p,.news-view li{font-size:16.5px;line-height:1.68;color:var(--ink)}
.news-view a{color:var(--blue);border-bottom:1px solid color-mix(in srgb,var(--blue) 35%,transparent)}
.news-view img{max-width:100%;height:auto;border-radius:var(--r-sm)}
.news-view blockquote{border-left:2px solid var(--red);padding:4px 0 4px 18px;margin:22px 0;background:transparent}
.news-view blockquote,.news-view blockquote p,.news-view blockquote strong{color:var(--ink)!important}
.news__image-caption{color:var(--ink-3)!important;font-size:13px!important}
.author__image{border-radius:50%;object-fit:cover}
.author__name{font-weight:600!important;color:var(--ink)!important}

/* кнопка-ссылка из редактора */
.knop{
  display:inline-block;background:var(--blue)!important;border-radius:var(--r-sm)!important;
  padding:10px 20px!important;margin-left:0!important;box-shadow:none;transition:background .16s;
}
.knop:hover{background:var(--blue-hover)!important}
.knop a{
  color:var(--on-blue)!important;font-weight:600!important;font-size:14px;
  text-transform:none;border:none!important;
}

/* --- наследие старой тёмной вёрстки --- */
.homepage{padding-top:0!important}
.homepage > .container,.section-youtube-digest,.section-fonteam,.news-section{
  background:var(--surface)!important;border-radius:var(--r);
  box-shadow:var(--sh);padding:20px!important;margin-bottom:16px;
}
.fonteam-residents,.section-main-desktop__wrapper,.swiper-main{
  background:transparent!important;border:none;box-shadow:none;padding:0!important;
}
.fblic{
  background:var(--surface-2)!important;color:var(--ink-3)!important;
  border-radius:var(--r-sm);padding:13px 15px;font-size:12px;line-height:1.5;
}
.container{max-width:none;padding-left:0;padding-right:0}

/* заголовки поверх фото */
.news__image-bg,.video__image-bg{position:relative;display:block}
.news__image-bg::after,.video__image-bg::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(0deg,rgba(12,10,11,.86) 0%,rgba(12,10,11,.4) 45%,rgba(12,10,11,0) 78%);
}
.news__image-bg > *,.video__image-bg > *{position:relative;z-index:1}
.news__image-bg .news__link,.video__image-bg .video__link,
.news__image-bg .news__date,.video__image-bg .video__date{color:#fff!important;text-shadow:0 1px 10px rgba(0,0,0,.45)}

/* --- реклама --- */
section.bgmobileadv{text-align:center;margin:0 0 12px}
div[id^="adfox_"]{min-height:1px}
section.bgmobileadv:empty{min-height:0;margin:0}

/* --- прочее --- */
.swiper-slide{height:auto}
.swiper-pagination-bullet{background:var(--line-2)!important;opacity:1!important}
.swiper-pagination-bullet-active{background:var(--red)!important}
.ratio > *,.embed-responsive-item{border-radius:var(--r-sm)}

/* Разделитель между командами. Символ — оставляем в разметке ради копирования,
   но рисуем чертой: em-dash в Onest сидит на базовой линии и читается как подчёркивание. */
.vs{display:inline-block;margin:0 8px;font-size:0;line-height:0;vertical-align:middle}
.vs::before{
  content:"";display:inline-block;width:9px;height:1.5px;border-radius:1px;
  background:var(--ink-3);vertical-align:middle;
}

/* Логотипы команд делают строку выше и сбивают базовую линию, из-за чего
   разделитель уезжал вниз. Выравниваем строку матча флексом, а не базовой линией. */
.lrow .n b{display:flex;align-items:center;flex-wrap:wrap;gap:0}
.lrow .n b .team{align-items:center}
.vs::before{vertical-align:baseline}

/* ==========================================================================
   Логотип. «FON» зашит фирменным красным прямо в SVG, «team» рисуется
   currentColor — поэтому в светлой теме он тёмный, в тёмной светлый,
   и отдельная картинка под каждую тему не нужна.
   ========================================================================== */
.ft-logo{
  height:26px;width:auto;display:block;
  color:var(--ink);            /* цвет «team» */
  flex-shrink:0;
}
.rail-top .brand{display:flex;align-items:center;min-width:0}
.rail-top .ft-logo{height:24px}
.footer .ft-logo{height:22px;margin-bottom:12px}
@media (max-width:900px){ .ft-logo{height:22px} }
.ft-logo-foot{display:inline-flex;opacity:.9;transition:opacity .16s}
.ft-logo-foot:hover{opacity:1}
.ft-logo-foot .ft-logo{height:24px}

/* ==========================================================================
   YouTube: выпуски и шортсы разделены
   ========================================================================== */

/* превью теперь фоновая картинка — обложка приходит из RSS */
.vthumb{background-size:cover;background-position:center;text-decoration:none}
.vthumb.lg{min-height:240px}
.vitem{text-decoration:none;color:inherit}

/* шапка официального аккаунта */
.acc-head{overflow:hidden}
.acc-row{display:flex;align-items:center;gap:14px;padding:16px 18px}
.acc-ava{width:56px;height:56px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--surface-2)}
.acc-ava--mark{display:grid;place-items:center;padding:9px;}
.acc-ava--mark .ft-logo{height:16px}
.acc-id{flex:1;min-width:0}
.acc-id h2{font-size:19px;font-weight:750;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.acc-sub{color:var(--ink-3);font-size:13px;margin-top:2px}

/* галочка подлинности */
.verified{display:inline-flex;width:18px;height:18px;color:var(--blue);flex-shrink:0}
.verified svg{width:100%;height:100%}

/* сетка шортсов — вертикальный формат 9:16 */
.sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:16px}
.sitem{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit}
.sthumb{
  position:relative;aspect-ratio:9/16;border-radius:var(--r-sm);overflow:hidden;
  background:var(--surface-3) center/cover;display:grid;place-items:center;
}
.sthumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(12,10,11,.55),transparent 45%);
}
.sbadge{
  position:absolute;top:7px;left:7px;z-index:2;
  background:var(--red);color:#fff;font-size:9.5px;font-weight:800;
  padding:2px 7px;border-radius:4px;
}
.syt{
  width:38px;height:38px;border-radius:50%;z-index:2;
  background:rgba(255,255,255,.22);backdrop-filter:blur(6px);
  display:grid;place-items:center;color:#fff;
  border:1px solid rgba(255,255,255,.35);transition:transform .18s;
}
.syt svg{width:15px;height:15px;margin-left:2px}
.sitem:hover .syt{transform:scale(1.12)}
.st-title{font-size:13.5px;font-weight:600;line-height:1.32}
.sitem:hover .st-title{color:var(--blue)}

/* статусы аккаунта: свежие шортсы лентой */
.statuses{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:none}
.statuses::-webkit-scrollbar{display:none}
.status{display:flex;flex-direction:column;align-items:center;gap:6px;width:70px;flex-shrink:0;text-decoration:none;color:inherit}
.status-ring{
  width:64px;height:64px;border-radius:50%;padding:2.5px;
  background:linear-gradient(140deg,var(--red),#FF7A45);display:block;
}
.status-img{
  display:block;width:100%;height:100%;border-radius:50%;
  background:var(--surface-3) center/cover;border:2.5px solid var(--surface);
}
.status-name{font-size:11px;color:var(--ink-2);text-align:center;line-height:1.25}
.status:hover .status-name{color:var(--blue)}

@media (max-width:560px){
  .sgrid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}
  .acc-row{padding:14px}
}

/* ==========================================================================
   Встроенный плеер: модальное окно поверх сайта
   ========================================================================== */
.ftp{position:fixed;inset:0;z-index:400;display:none}
.ftp.on{display:block}
.ftp-veil{position:absolute;inset:0;background:rgba(8,7,8,.82);backdrop-filter:blur(10px)}
.ftp-box{
  position:relative;z-index:1;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:16px;gap:12px;
}
.ftp-head{
  width:min(1000px,100%);display:flex;align-items:center;gap:12px;color:#fff;
}
.ftp-brand{display:flex;flex-shrink:0}
.ftp-brand .ft-logo{height:20px;color:#fff}
.ftp-t{flex:1;min-width:0}
.ftp-title{display:block;font-size:15px;font-weight:650;line-height:1.3;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ftp-meta{display:block;font-size:12px;opacity:.65;margin-top:2px}
.ftp-x{
  width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:rgba(255,255,255,.12);color:#fff;flex-shrink:0;transition:background .16s;
}
.ftp-x:hover{background:rgba(255,255,255,.22)}
.ftp-x svg{width:17px;height:17px}

.ftp-stage{position:relative;display:flex;align-items:center;justify-content:center;
  width:min(1000px,100%);max-height:calc(100dvh - 150px)}
.ftp-frame{
  width:100%;aspect-ratio:16/9;background:#000;border-radius:var(--r);
  overflow:hidden;box-shadow:0 24px 70px -20px rgba(0,0,0,.8);
}
/* шортсы вертикальные — под них меняем пропорции кадра */
.ftp--short .ftp-frame{
  aspect-ratio:9/16;width:auto;height:min(78dvh,720px);margin:0 auto;
}
.ftp-frame iframe,.ftp-frame > div{width:100%;height:100%;border:0;display:block}

.ftp-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.14);color:#fff;transition:background .16s;
}
.ftp-nav:hover{background:rgba(255,255,255,.26)}
.ftp-nav svg{width:20px;height:20px}
.ftp-prev{left:-58px}
.ftp-next{right:-58px}

.ftp-foot{
  width:min(1000px,100%);display:flex;align-items:center;gap:14px;
  color:rgba(255,255,255,.7);font-size:12.5px;
}
.ftp-count{font-family:var(--m);font-variant-numeric:tabular-nums}
.ftp-yt{margin-left:auto;color:rgba(255,255,255,.8);text-decoration:underline}
.ftp-yt:hover{color:#fff}

@media (max-width:900px){
  .ftp-prev{left:6px}
  .ftp-next{right:6px}
  .ftp-stage{max-height:calc(100dvh - 140px)}
  .ftp--short .ftp-frame{height:min(70dvh,620px)}
}

/* один статус-кружок аккаунта вместо ленты отдельных роликов */
.status--account{background:none;border:none;cursor:pointer;padding:0;position:relative}
.status-img--mark{display:grid;place-items:center;background:var(--surface);padding:10px}
.status-img--mark .ft-logo{height:15px;width:auto}
.status-name{display:inline-flex;align-items:center;gap:4px;font-weight:600;font-size:12px}
.verified--sm{width:13px;height:13px}
.status-count{
  position:absolute;top:-2px;right:2px;
  min-width:19px;height:19px;border-radius:10px;padding:0 5px;
  background:var(--red);color:#fff;border:2px solid var(--bg);
  font-family:var(--m);font-size:10px;font-weight:700;
  display:grid;place-items:center;
}
.statuses{align-items:flex-start}

/* ==========================================================================
   Страница матча
   ========================================================================== */
.mx-head{overflow:hidden}
.mx-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 16px;}
.mx-top .tag{text-decoration:none}
.mx-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:22px 16px}
.mx-team{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0}
.mx-team img{width:64px;height:64px;object-fit:contain}
.mx-team b{font-size:15.5px;font-weight:650;line-height:1.25}
.mx-mid{text-align:center;min-width:96px}
.mx-nums{font-size:34px;font-weight:700;}
.mx-mid small{display:block;color:var(--ink-3);font-size:12px;margin-top:3px}
.mx-venue{padding:0 16px 16px;text-align:center;color:var(--ink-3);font-size:12.5px}

/* переключатель разделов — во всю ширину */
.seg--wide{display:grid;grid-template-columns:repeat(5,1fr);width:100%}
.seg--wide button{white-space:nowrap;font-size:13.5px;padding:9px 6px}
.mx-pane{display:none}
.mx-pane.on{display:block;animation:in .22s cubic-bezier(.2,.9,.3,1)}

/* лента событий */
.tl{padding:6px 0}
.tl-row{display:flex;align-items:center;gap:11px;padding:9px 16px;}
.tl-row:first-child{border-top:none}
.tl-row--away{flex-direction:row-reverse;text-align:right}
.tl-min{width:38px;color:var(--ink-3);font-size:12.5px;flex-shrink:0}
.tl-ico{width:9px;height:9px;border-radius:50%;background:var(--ink-3);flex-shrink:0}
.tl-goal{background:var(--win)}
.tl-card{background:#E8B21F}
.tl-subst{background:var(--blue)}
.tl-var{background:var(--ink-3)}
.tl-txt{flex:1;min-width:0}
.tl-txt b{display:block;font-size:14px;font-weight:600}
.tl-txt small{color:var(--ink-3);font-size:12px}

/* выбор ставки: кнопки-тумблеры */
.pickform{display:flex;flex-direction:column;gap:16px}
.mk{border-radius:var(--r-sm);padding:12px 13px}
.mk-title{font-size:12.5px;font-weight:700;color:var(--ink-2);margin-bottom:9px}
.mk-opts{display:flex;gap:7px;flex-wrap:wrap}
.opt{
  padding:8px 15px;border-radius:8px;
  background:var(--surface);font-size:13.5px;font-weight:600;
  transition:all .14s;min-height:38px;
}
.opt:hover{border-color:var(--blue);color:var(--blue)}
.opt.on{background:var(--blue);border-color:var(--blue);color:var(--on-blue)}
.mk-lines{display:none;gap:6px;flex-wrap:wrap;margin-top:9px;padding-top:9px;}
.mk-lines.on{display:flex}
.ln{
  padding:5px 11px;border-radius:7px;
  background:var(--surface);font-family:var(--m);font-size:12.5px;transition:all .14s;
}
.ln:hover{border-color:var(--blue)}
.ln.on{background:var(--blue-soft);border-color:var(--blue);color:var(--blue);font-weight:700}
.pickbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding-top:4px}
.pickbar label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2)}
.pickbar input[type=text]{
  background:var(--surface);border-radius:8px;
  padding:9px 12px;font-size:14px;
}
.pickbar label input{width:92px;font-family:var(--m);text-align:center}
.pickbar > input[type=text]{flex:1;min-width:180px}

/* составы */
.lu{display:grid;grid-template-columns:1fr 1fr;gap:0}
.lu-col{padding:14px 16px;}
.lu-col:first-child{border-left:none}
.lu-head{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.lu-head b{font-size:14.5px;flex:1;min-width:0}
.lu-coach{color:var(--ink-3);font-size:12px;margin-bottom:10px}
.lu-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.lu-list li{display:flex;align-items:center;gap:9px;font-size:13.8px}
.lu-num{width:22px;text-align:center;color:var(--ink-3);font-size:12px;flex-shrink:0}
.lu-ph{width:26px;height:26px;border-radius:50%;object-fit:cover;background:var(--surface-2);flex-shrink:0}
.lu-list--sub .lu-ph{width:22px;height:22px}
.lu-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lu-list--sub li{color:var(--ink-2);font-size:13px}
.lu-sub-t{margin:14px 0 8px;font-size:11px;font-weight:700;color:var(--ink-3)}

/* статистика */
.st-wrap{display:flex;flex-direction:column;gap:13px}
.st-row{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px}
.st-a,.st-b{font-size:13.5px;font-weight:600}
.st-b{text-align:right}
.st-mid{min-width:0}
.st-name{display:block;text-align:center;font-size:11.5px;color:var(--ink-3);margin-bottom:5px}
.st-bar{display:flex;height:5px;border-radius:99px;overflow:hidden;background:var(--surface-3);gap:2px}
.st-l{background:var(--blue);border-radius:99px 0 0 99px}
.st-r{background:var(--red);border-radius:0 99px 99px 0}

@media (max-width:720px){
  .seg--wide{grid-template-columns:repeat(3,1fr)}
  .mx-nums{font-size:27px}
  .mx-team img{width:48px;height:48px}
  .lu{grid-template-columns:1fr}
  .lu-col{border-left:none;}
  .lu-col:first-child{border-top:none}
}

/* ==========================================================================
   Матч: форма, отсчёт, очные встречи, лента прогнозов
   ========================================================================== */

/* кружки формы под названием команды */
.fdots{display:inline-flex;gap:4px;margin-top:2px}
.fdots i{width:9px;height:9px;border-radius:50%;display:block}
.fd-w{background:var(--win)}
.fd-l{background:var(--loss)}
.fd-d{background:var(--ink-3)}

/* обратный отсчёт */
.cd{
  display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;
  padding:12px 16px;background:var(--surface-2);
}
.cd-lbl{font-size:11.5px;font-weight:700;color:var(--ink-3);margin-right:4px}
.cd-box{
  display:flex;flex-direction:column;align-items:center;gap:1px;
  background:var(--surface);border-radius:var(--r-sm);
  padding:6px 11px;min-width:52px;
}
.cd-box b{font-family:var(--m);font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}
.cd-box small{font-size:9.5px;color:var(--ink-3);}

/* стадион и судья */
.mx-meta{
  display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;
  padding:12px 16px;
  color:var(--ink-2);font-size:13px;
}
.mx-meta span{display:inline-flex;align-items:center;gap:7px}
.mx-meta svg{width:15px;height:15px;flex-shrink:0;color:var(--ink-3)}
.mx-meta .dim{color:var(--ink-3)}

/* перевес в очных встречах */
.h2h-bar{display:flex;height:26px;border-radius:var(--r-sm);overflow:hidden;font-size:12px;font-weight:700}
.h2h-bar span{display:grid;place-items:center;color:#fff;min-width:0;transition:width .3s}
.h2h-bar .h2h-w{background:var(--blue)}
.h2h-bar .h2h-d{background:#cccccc}
.h2h-bar .h2h-l{background:var(--red)}
.h2h-leg{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:12px;color:var(--ink-2);flex-wrap:wrap}
.h2h-leg span{display:inline-flex;align-items:center;gap:6px}
.h2h-leg i{width:9px;height:9px;border-radius:3px;display:block}
.h2h-leg .h2h-w{background:var(--blue)}
.h2h-leg .h2h-d{background:var(--ink-3)}
.h2h-leg .h2h-l{background:var(--red)}

/* последние 5 матчей */
.frm{display:grid;grid-template-columns:1fr 1fr}
.frm-col{padding:12px 16px;}
.frm-col:first-child{border-left:none}
.frm-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.frm-head b{font-size:14px}
/* Раньше выезд отмечался собачкой — на сайте она означает упоминание,
   поэтому теперь это отдельная пометка: Ү — дома, Қ — в гостях. */
.frm-v{
  display:inline-grid;place-items:center;width:15px;height:15px;margin-left:6px;
  border-radius:4px;background:var(--surface-2);color:var(--ink-3);
  font-size:9.5px;font-weight:700;font-style:normal;vertical-align:middle;
}
.frm-v--a{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red)}
.frm-row{display:flex;align-items:center;gap:9px;padding:6px 0;font-size:13px;}
.frm-row:nth-child(2){border-top:none}
.frm-row i{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.frm-op{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.frm-sc{font-weight:700}
.frm-dt{color:var(--ink-3);font-size:11.5px}
.frm-row.dim{color:var(--ink-3)}

/* лента прогнозов */
.fc{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.fc-head{display:flex;align-items:center;gap:11px;padding:14px 16px 0}
.fc-who{flex:1;min-width:0}
.fc-who b{font-size:14.5px;font-weight:650;display:flex;align-items:center;gap:6px}
.fc-who small{color:var(--ink-3);font-size:12.5px}
.fc-text{padding:10px 16px 0;font-size:14.5px}
.fc-tick{display:block;margin:12px 16px 16px;border-radius:var(--r-sm);overflow:hidden;text-decoration:none;color:inherit;transition:border-color .16s}
.fc-tick:hover{border-color:var(--blue)}
.fc-tick-top{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--surface-2);}
.fc-tick-row{display:flex;align-items:center;gap:10px;padding:7px 12px}
.fc-tick-row img{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.fc-tick-row .nm{flex:1;min-width:0;font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-tick-row .sc{font-weight:700;font-size:15px}
.fc-tick-foot{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface-2)}
.fc-label{flex:1;min-width:0;font-size:13px;font-weight:600}

@media (max-width:720px){
  .frm{grid-template-columns:1fr}
  .frm-col{border-left:none;}
  .frm-col:first-child{border-top:none}
  .cd-box{min-width:46px;padding:5px 8px}
  .cd-box b{font-size:15px}
}

/* ==========================================================================
   Страница клуба
   ========================================================================== */
.tm-head{overflow:hidden}
.tm-row{display:flex;align-items:center;gap:18px;padding:20px}
.tm-logo{width:76px;height:76px;object-fit:contain;flex-shrink:0}
.tm-id{min-width:0}
.tm-id h1{font-size:27px;font-weight:750;}
.tm-sub{color:var(--ink-2);font-size:13.5px;margin-top:4px}
.tm-sub a{color:var(--red);font-weight:600}
.tm-form{margin-top:9px}
.tm-form i{width:11px;height:11px}
.tm-stats.tm-stats .stat .v{font-size:20px}

/* команды-ссылки */
a.team,a.mx-team{text-decoration:none;color:inherit;transition:color .15s}
a.team:hover{color:var(--blue)}
a.mx-team:hover b{color:var(--blue)}

/* дома / в гостях */
.ha{display:grid;grid-template-columns:1fr 1fr}
.ha-col{padding:14px 16px;}
.ha-col:first-child{border-left:none}
.ha-t{font-size:12px;font-weight:700;color:var(--ink-3);margin-bottom:10px}
.ha-nums{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:11px}
.ha-nums span{display:flex;flex-direction:column;gap:1px}
.ha-nums b{font-family:var(--m);font-size:18px;font-weight:700}
.ha-nums small{font-size:10.5px;color:var(--ink-3);}
.ha-bar{display:flex;height:6px;border-radius:99px;overflow:hidden;background:var(--surface-3)}
.ha-bar i{display:block;height:100%}

/* голы по отрезкам матча */
.mins{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;align-items:end}
.min-col{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.min-bars{display:flex;align-items:flex-end;gap:3px;height:96px}
.min-bars i{width:14px;border-radius:3px 3px 0 0;min-height:2px;display:block;transition:height .3s}
.min-f{background:var(--blue)}
.min-a{background:var(--red)}
.min-lbl{font-size:10.5px;color:var(--ink-3);white-space:nowrap}
.min-num{font-size:11px;color:var(--ink-2);font-weight:600}
.lbl .lg-f,.lbl .lg-a{display:inline-block;width:8px;height:8px;border-radius:2px;margin:0 4px 0 8px}
.lbl .lg-f{background:var(--blue)}
.lbl .lg-a{background:var(--red)}

/* состав */
.sq-t{
  padding:11px 16px 8px;font-size:11px;font-weight:700;
  color:var(--ink-3);
}
.sq{display:grid;grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:2px 14px;padding:0 16px 12px}
.sq-p{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13.8px;min-width:0}
.sq-p img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--surface-2);flex-shrink:0}
.sq-n{width:24px;text-align:center;color:var(--ink-3);font-size:12px;flex-shrink:0}
.sq-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-age{color:var(--ink-3);font-size:11.5px}

@media (max-width:720px){
  .ha{grid-template-columns:1fr}
  .ha-col{border-left:none;}
  .ha-col:first-child{border-top:none}
  .mins{grid-template-columns:repeat(3,1fr);gap:14px 8px}
  .tm-row{padding:16px;gap:14px}
  .tm-logo{width:58px;height:58px}
  .tm-id h1{font-size:22px}
  .tm-stats{grid-template-columns:repeat(3,1fr)}
}

/* ==========================================================================
   Резиденты
   ========================================================================== */
img.av{object-fit:cover;background:var(--surface-2)}

.rs-official{
  display:flex;align-items:center;gap:16px;padding:16px 18px;text-decoration:none;color:inherit;
  transition:border-color .16s,box-shadow .16s;
}
.rs-official:hover{border-color:var(--line-2);box-shadow:var(--sh-2)}
.rs-of-id{flex:1;min-width:0}
.rs-of-id h2{font-size:19px;font-weight:750;display:flex;align-items:center;gap:7px}
.rs-role{color:var(--ink-3);font-size:13px;margin-top:2px}

.rs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(268px,1fr));gap:16px}
.rs-card{
  background:var(--surface);border-radius:var(--r);
  box-shadow:var(--sh);padding:16px;display:flex;flex-direction:column;gap:12px;
  text-decoration:none;color:inherit;transition:all .18s;
}
.rs-card:hover{border-color:var(--line-2);box-shadow:var(--sh-2);transform:translateY(-2px)}
.rs-top{display:flex;align-items:center;gap:13px;min-width:0}
.rs-id{min-width:0}
.rs-id b{font-size:15.5px;font-weight:650;display:flex;align-items:center;gap:6px;line-height:1.25}
.rs-id small{color:var(--ink-3);font-size:12.5px}

.rs-nums{display:flex;gap:16px;padding:11px 0;}
.rs-nums span{display:flex;flex-direction:column;gap:1px;min-width:0}
.rs-nums b{font-family:var(--m);font-size:16px;font-weight:700}
.rs-nums b.g{color:var(--win)}
.rs-nums b.r{color:var(--loss)}
.rs-nums small{font-size:10px;color:var(--ink-3);}
.rs-empty{padding:11px 0;color:var(--ink-3);font-size:13px}

.rs-bio{color:var(--ink-2);font-size:13.5px;line-height:1.45;margin:0}
.rs-links{display:flex;gap:6px;margin-top:auto}
.rs-ico{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:var(--surface-2);color:var(--ink-3);transition:background .14s,color .14s;
}
.rs-ico svg{width:15px;height:15px;display:block}
.rs-card:hover .rs-ico{background:var(--surface-3);color:var(--ink-2)}
.rs-ico--yt{color:#e0243a}
.stat .v.g{color:var(--win)}

@media (max-width:560px){
  .rs-official{flex-wrap:wrap}
  .rs-nums{gap:12px}
}

/* Шапка резидента: над обложку поднимаем только аватар, имя и кнопки
   остаются на светлой подложке — иначе текст ложится на картинку. */
.phead .prow{margin-top:0;align-items:flex-end}
.phead .prow > img.av,
.phead .prow > span.av{margin-top:-38px;position:relative;z-index:2}
.cover{height:170px;background-color:var(--surface-3)}
.phead{padding-top:12px}
.pid h1{font-size:22px}
@media (max-width:560px){
  .cover{height:120px}
  .phead .prow{flex-wrap:wrap;gap:12px}
  .pacts{width:100%}
}

/* ==========================================================================
   Вход и личный кабинет
   ========================================================================== */
.lg-wrap{display:grid;place-items:center;min-height:60vh;padding:20px 0}
.lg-card{width:min(400px,100%);padding:28px 26px}
.lg-head{text-align:center;margin-bottom:20px}
.lg-head .ft-logo{height:24px;margin:0 auto 14px}
.lg-head h1{font-size:21px;font-weight:750}
.lg-head p{color:var(--ink-3);font-size:13.5px;margin-top:4px}
.lg-form .fld{margin-bottom:13px}
.lg-err{
  background:var(--loss-soft);color:var(--loss);border-radius:var(--r-sm);
  padding:10px 13px;font-size:13.5px;margin-bottom:14px;
}
.lg-in{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.lg-rem{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink-2);margin:4px 0 16px;cursor:pointer}
.lg-rem input{width:16px;height:16px;accent-color:var(--blue)}
.lg-note{
  margin-top:16px;padding-top:14px;
  color:var(--ink-3);font-size:12.5px;text-align:center;line-height:1.5;
}

/* пользователь в левом меню */
.rail-user{padding:10px;display:flex;align-items:center;gap:6px}
.ru{display:flex;align-items:center;gap:10px;padding:7px;border-radius:9px;flex:1;min-width:0;transition:background .14s;text-decoration:none;color:inherit}
.ru:hover{background:var(--surface-2)}
.ru-t{min-width:0}
.ru-t b{display:block;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ru-t small{font-size:11.5px;color:var(--ink-3)}
.ru-out{
  width:34px;height:34px;border-radius:9px;display:grid;place-items:center;
  color:var(--ink-3);flex-shrink:0;transition:all .14s;
}
.ru-out:hover{background:var(--surface-2);color:var(--loss)}
.ru-out svg{width:17px;height:17px}

/* кабинет */
.cab-head{display:flex;align-items:center;gap:16px;padding:18px 20px;flex-wrap:wrap}
.cab-id{flex:1;min-width:0}
.cab-id h1{font-size:22px;font-weight:750}
.cab-sub{display:flex;align-items:center;gap:8px;color:var(--ink-3);font-size:13.5px;margin-top:4px;flex-wrap:wrap}
.cab-acts{display:flex;gap:8px;flex-wrap:wrap}
.cab-form .fld{margin-bottom:14px}
.cab-form textarea,.cab-form select{
  width:100%;background:var(--surface);
  border-radius:var(--r-sm);padding:11px 13px;font-family:var(--f);font-size:14.5px;
  line-height:1.5;resize:vertical;
}
.cab-form textarea:focus,.cab-form select:focus{outline:none;border-color:var(--blue)}
.cab-form .dim{color:var(--ink-3);font-weight:400}
.cab-post{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;}
.cab-post-b{flex:1;min-width:0}
.cab-post-b b{font-size:15px;font-weight:650;display:block}
.cab-post-b small{color:var(--ink-3);font-size:12px;display:block;margin-top:2px}
.cab-post-b p{color:var(--ink-2);font-size:13.8px;margin-top:7px;line-height:1.5}

/* посты на публичной странице резидента */
.rp{padding:16px;}
.rp b{font-size:16px;font-weight:650;display:block}
.rp small{color:var(--ink-3);font-size:12.5px;display:block;margin-top:3px}
.rp p{margin-top:9px;font-size:14.5px;line-height:1.6}

/* всплывающие сообщения */
.flash{font-weight:400;padding:12px 16px;border-radius:var(--r);font-size:14px;font-weight:600}
.flash--success{background:var(--win-soft);color:var(--win)}
.flash--error{background:var(--loss-soft);color:var(--loss)}

/* ==========================================================================
   Посты резидентов
   ========================================================================== */
.rpost{padding:16px;}
.rpost:first-of-type{border-top:none}
.rpost-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.rpost-who{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.rpost-who b{font-size:14px;font-weight:650}
.rpost-who a{text-decoration:none}
.rpost-who a:hover b{color:var(--blue)}
.rpost-who small{color:var(--ink-3);font-size:12px;width:100%}
.rpost-t{font-size:16.5px;font-weight:700;line-height:1.3}
.rpost-x{color:var(--ink-2);font-size:14.2px;line-height:1.55;margin-top:7px}
.rpost-fx{
  display:flex;align-items:center;gap:8px;margin-top:12px;padding:9px 12px;
  border-radius:var(--r-sm);background:var(--surface-2);
  font-size:13px;font-weight:600;text-decoration:none;color:inherit;transition:border-color .16s;
}
.rpost-fx:hover{border-color:var(--blue)}
.rpost-fx img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.rpost-fx > span:not(.rpost-dt){flex:1;min-width:0;display:flex;align-items:center}
.rpost-dt{color:var(--ink-3);font-size:11.5px;flex-shrink:0}

/* Логотип гостей должен стоять рядом со своим названием, а не улетать
   к дате: растягивался блок с текстом, теперь вправо уводим только дату. */
.rpost-fx > span:not(.rpost-dt){flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rpost-dt{margin-left:auto}

/* ==========================================================================
   Форма поста в стиле соцсети: сразу поле текста
   ========================================================================== */
.composer{padding:16px}
.cp-top{display:flex;gap:12px;align-items:flex-start}
.cp-top textarea{
  flex:1;min-width:0;border:none;background:transparent;resize:none;
  font-family:var(--f);font-size:16px;line-height:1.5;color:var(--ink);
  padding:9px 0;min-height:46px;overflow:hidden;
}
.cp-top textarea:focus{outline:none}
.cp-top textarea::placeholder{color:var(--ink-3)}

/* заголовок и матч спрятаны, пока не понадобятся */
.cp-extra{display:none;flex-direction:column;gap:9px;margin-top:12px;padding-top:12px;}
.composer.open .cp-extra{display:flex}
.cp-extra input,.cp-extra select{
  width:100%;background:var(--surface);
  border-radius:var(--r-sm);padding:10px 12px;font-family:var(--f);font-size:14px;
}
.cp-extra input:focus,.cp-extra select:focus{outline:none;border-color:var(--blue)}

.cp-bar{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:12px;}
.cp-more{
  display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:8px;
  color:var(--ink-2);font-size:13px;font-weight:600;transition:all .14s;
}
.cp-more:hover{background:var(--surface-2);color:var(--ink)}
.cp-more svg{width:16px;height:16px;transition:transform .18s}
.composer.open .cp-more svg{transform:rotate(45deg)}
.cp-bar .btn{margin-left:auto}

/* ==========================================================================
   Быстрый прогноз: три исхода в один тап
   ========================================================================== */
.quickpick{padding:16px}
.qp-opts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.qp{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:16px 10px;border-radius:var(--r);
  background:var(--surface);transition:all .15s;cursor:pointer;min-height:112px;
  justify-content:center;text-align:center;
}
.qp:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--sh-2)}
.qp img{width:30px;height:30px;object-fit:contain}
.qp b{font-size:14px;font-weight:650;line-height:1.25}
.qp small{font-size:11.5px;color:var(--ink-3)}
.qp-x{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--surface-2);font-family:var(--m);font-weight:700;font-size:14px;color:var(--ink-2);
}
.qp.on{border-color:var(--blue);background:var(--blue-soft)}
.qp.on b{color:var(--blue)}
.qp.on .qp-x{background:var(--blue);color:var(--on-blue)}
.qp-note{margin-top:12px;color:var(--ink-3);font-size:12.5px;text-align:center}
@media (max-width:560px){
  .qp{padding:13px 6px;min-height:96px}
  .qp b{font-size:12.5px}
  .qp small{display:none}
}

/* Матч на широком экране: слева уже сделанные прогнозы, справа статистика.
   На узком экране колонки схлопываются в один поток. */
.mx-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:16px;align-items:start}
.mx-col{display:flex;flex-direction:column;gap:16px;min-width:0}
/* Колонка с прогнозами держится на месте, пока листается статистика */
.mx-split .mx-col:first-child{position:sticky;top:78px;align-self:start}
@media (max-width:1180px){
  .mx-split{grid-template-columns:minmax(0,1fr)}
  .mx-split .mx-col:first-child{position:static}
}

/* ==========================================================================
   Лента в духе Threads: без карточек, только волосяные разделители,
   слева колонка с аватаром и вертикальной нитью к ответам.
   ========================================================================== */
.th-wrap{
  background:var(--surface);
  border-radius:var(--r);overflow:hidden;
}

.th[data-href]:not(.th--open){cursor:pointer}
.th{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px 18px;}
.th:first-child{border-top:none}

/* колонка аватара с нитью */
.th-side{display:flex;flex-direction:column;align-items:center;gap:8px}
.th-av{
  width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;
  display:grid;place-items:center;color:#fff;font-weight:700;font-size:14px;
  background:var(--surface-2);user-select:none;
}
.th-av--s{width:30px;height:30px;font-size:11px}
.th-line{flex:1;width:2px;border-radius:2px;background:var(--line);min-height:10px}

/* правая часть */
.th-body{min-width:0}
.th-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.th-name{font-size:14.5px;font-weight:500;color:var(--ink);text-decoration:none}
.th-name:hover{text-decoration:underline}
.th-ok{width:15px;height:15px;color:var(--blue);flex-shrink:0}
/* пометка «болжам жасады» рядом с именем */
.th-kind{font-size:13px;font-weight:400;color:var(--ink-3)}
.th-pick{display:flex;align-items:center;gap:9px;margin-top:9px;flex-wrap:wrap}
.th-pick-l{font-size:14px;font-weight:500}
.th-time{margin-left:auto;color:var(--ink-3);font-size:13px;flex-shrink:0}

.th-title{font-size:15.5px;font-weight:650;margin-top:3px;line-height:1.3}
.th-text{margin-top:3px;font-size:15px;font-weight:400;line-height:1.5;color:var(--ink);word-wrap:break-word}
.mention{color:var(--blue);font-weight:550;text-decoration:none}
.mention:hover{text-decoration:underline}

/* прикреплённый матч */
.th-fx{
  display:flex;align-items:center;gap:7px;margin-top:10px;padding:9px 12px;
  border-radius:12px;font-size:13px;font-weight:400;
  background:var(--surface-2);
  color:inherit;text-decoration:none;transition:background .15s;
}
.th-fx:hover{background:var(--surface-3)}
.th-fx img{width:17px;height:17px;object-fit:contain;flex-shrink:0}
.th-vs{color:var(--ink-3);margin:0 2px}
/* значок перехода на страницу матча внутри полосы */
.th-fx-out{
  display:grid;place-items:center;width:26px;height:26px;border-radius:8px;flex-shrink:0;
  color:var(--ink-3);transition:background .14s,color .14s;
}
.th-fx-out:hover{background:var(--surface);color:var(--blue)}
.th-fx-out svg{width:15px;height:15px}
.th-fx-dt{margin-left:auto;color:var(--ink-3);font-size:11.5px;flex-shrink:0}

/* действия — контурные иконки без подложек, как в Threads */
.th-acts{display:flex;align-items:center;gap:2px;margin-top:8px;margin-left:-8px}
.th-act-f{display:contents}
.th-act{
  display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 9px;
  border-radius:17px;color:var(--ink-2);background:none;border:none;cursor:pointer;
  transition:background .14s,color .14s;
}
.th-act:hover{background:var(--surface-2);color:var(--ink)}
.th-act svg{width:19px;height:19px}
.th-act--on{color:var(--loss)}
.th-act--on:hover{color:var(--loss)}

.th-meta{
  display:flex;align-items:center;gap:8px;margin-top:6px;
  color:var(--ink-3);font-size:13.5px;text-decoration:none;
}
.th-meta:hover{text-decoration:underline}
.th-dot{width:3px;height:3px;border-radius:50%;background:var(--ink-3)}

/* ответы */
.th--reply{padding-top:12px;padding-bottom:12px}
.th--nested{padding-left:44px}
.th--open .th-line{min-height:14px}

/* форма публикации */
.cw-form textarea{
  width:100%;border:none;resize:none;
  font-size:15.5px;line-height:1.5;color:var(--ink);font-weight:400;
  padding:6px 14px;overflow:hidden;
}
.th-composer textarea::placeholder{color:var(--ink-3)}
.th-composer-bar{display:flex;align-items:center;gap:12px;margin-top:8px}
.th-hint{color:var(--ink-3);font-size:12.5px}
.th-hint b{color:var(--blue)}
.th-composer-bar .btn{margin-left:auto}

.th-guest{
  display:flex;align-items:center;gap:14px;padding:16px 18px;
  color:var(--ink-2);font-size:14px;flex-wrap:wrap;
}
.th-guest .btn{margin-left:auto}
.th-empty{padding:36px 18px;text-align:center;color:var(--ink-3)}

.th-back{
  display:inline-flex;align-items:center;gap:7px;color:var(--ink-2);
  font-size:14px;font-weight:600;text-decoration:none;
}
.th-back:hover{color:var(--ink)}
.th-back svg{width:17px;height:17px}

/* подсказка упоминаний */
.th-mention{
  position:absolute;z-index:300;background:var(--surface);
  border-radius:var(--r);box-shadow:var(--sh-2);
  overflow:hidden;max-height:280px;overflow-y:auto;
}
.th-mention-i{
  display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;
  background:none;border:none;text-align:left;cursor:pointer;transition:background .12s;
}
.th-mention-i:hover,.th-mention-i.on{background:var(--surface-2)}
.th-mention-i img,.th-mention-av{
  width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0;
  display:grid;place-items:center;background:var(--blue);color:#fff;font-size:11px;font-weight:700;
}
.th-mention-i b{display:block;font-size:13.5px;font-weight:600}
.th-mention-i small{display:block;font-size:11.5px;color:var(--ink-3)}

@media (max-width:560px){
  .th{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:14px}
  .th-av{width:34px;height:34px}
  .th--nested{padding-left:28px}
}

/* === Единый шрифт Roboto === */
/* Один шрифт на весь сайт: буквы и цифры. Наследование через * закрывает
   поля форм и любые узлы, где браузер подставляет собственный шрифт. */
html,body,button,input,select,textarea,optgroup,
h1,h2,h3,h4,h5,h6,code,kbd,pre,samp,.mono{
  font-family:Roboto,"Helvetica Neue",Arial,system-ui,sans-serif!important;
}
body *:not([class*="fa-"]):not(.fa){font-family:inherit!important}
/* Цифры в таблицах, счётах и таймерах остаются моноширинными по ширине знака,
   но рисуются тем же Roboto. */
.mono,.kf,.rank,.pct,.sc,.stat .v,.cd-box b,.ha-nums b,.rs-nums b,.ftp-count,
.m-row .sc,.nmeta .d,.tb .c{font-variant-numeric:tabular-nums}

/* === Лента: посты отдельными плашками === */
/* Контейнер ленты сам по себе не рисуется — каждый пост живёт своей плашкой
   на фоне страницы, поэтому разделять их линией не нужно. */
.th-wrap{background:transparent;overflow:visible}
.th{background:var(--surface);border-radius:var(--r);margin-bottom:10px}
.th:last-child{margin-bottom:0}

/* Пост вместе с ответами резидентов — одна плашка: ветка читается как
   продолжение записи, а не как отдельная карточка. */
.th-group{background:var(--surface);border-radius:var(--r);margin-bottom:16px;overflow:hidden}
.th-group:last-child{margin-bottom:0}
.th-group .th{background:transparent;border-radius:0;margin-bottom:0}
/* Ответ, лежащий сам по себе (страница ветки), — такая же плашка,
   как посты: скругления те же, что у всех блоков. */
.th-wrap > .th{border-radius:var(--r);margin-bottom:16px}
.th--branch{padding-top:2px;padding-bottom:12px;padding-left:52px}
.th--branch .th-text{font-size:14.5px}

/* Число ответов у значка — тем же приёмом, что и у реакций. */
.th-n{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
/* Внутри ветки ответы остаются частью одной плашки. */
.th--reply{margin-bottom:0;border-radius:0}
.th--reply:last-child{border-radius:0 0 var(--r) var(--r)}
.th--open{margin-bottom:0;border-radius:var(--r) var(--r) 0 0}

/* === Карточка, разрезанная на отдельные плашки === */
/* Контейнер перестаёт быть панелью: заголовок, разделитель дня и каждая
   строка становятся самостоятельными плашками на фоне страницы. */
.card--split{background:transparent;box-shadow:none;display:flex;flex-direction:column;gap:8px}
.card--split .ch{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.card--split .daybar{background:transparent;padding:6px 2px 0}
.card--split .lrow,.card--split .pad{
  background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);padding:12px 14px;
}
.card--split .lrow:hover{background:var(--surface-2)}
.lrow--live .n b{font-weight:700}
.sc-live{font-weight:700;font-variant-numeric:tabular-nums}
.sc-live[hidden]{display:none}

/* === Верхняя панель в два ряда === */
:root{--top-h:60px}

.top{
  position:sticky;top:0;z-index:120;height:auto;padding:0;
  background:var(--surface);box-shadow:var(--sh);
  display:block;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.top-row{display:flex;align-items:center;gap:14px;height:60px;padding:0 16px}
.top-brand{display:flex;align-items:center;gap:9px;flex-shrink:0}
.top-brand .ft-logo{height:22px}
.top-sect{font-size:16px;font-weight:500;color:var(--ink-2);white-space:nowrap}

/* поиск занимает середину ряда */
.top-cats{flex:1;display:flex;justify-content:flex-start;gap:6px;min-width:0;
  overflow-x:auto;scrollbar-width:none;margin:0 12px 0 28px}
.top-cats::-webkit-scrollbar{display:none}
.top-cats-i{flex-shrink:0;padding:7px 14px;border-radius:20px;font-size:13.5px;font-weight:500;
  color:var(--ink-2);white-space:nowrap;transition:background .12s,color .12s}
.top-cats-i:hover{background:var(--surface-2);color:var(--ink)}
.top-cats-i.on{background:var(--btn);color:#fff}
.top-search{flex:1;max-width:660px;margin:0 auto;position:relative;display:flex;align-items:center}
.top-search input{
  width:100%;background:var(--surface-2);border-radius:24px;
  padding:10px 16px 10px 42px;font-size:14.5px;color:var(--ink);outline:none;
  transition:background .15s;
}
.top-search input:focus{background:var(--surface-3)}
.top-search input::placeholder{color:var(--ink-3)}
.top-search svg{position:absolute;left:15px;width:17px;height:17px;color:var(--ink-3);pointer-events:none}

.top-acts{display:flex;align-items:center;gap:6px;flex-shrink:0}
.top-cta{border-radius:24px;padding:9px 18px;min-height:40px}

/* переключатель языка */
.lang{display:flex;align-items:center;background:var(--surface-2);border-radius:20px;padding:2px}
.lang-b{
  min-width:34px;height:30px;border-radius:18px;display:grid;place-items:center;
  font-size:12.5px;font-weight:700;color:var(--ink-3);transition:background .14s,color .14s;
}
.lang-b.on{background:var(--blue);color:var(--on-blue)}

/* аватар в шапке */
.top-av-b{display:grid;place-items:center;border-radius:50%;flex-shrink:0}
.top-av{width:36px;height:36px;border-radius:50%;object-fit:cover;display:grid;place-items:center;
  font-size:12.5px;font-weight:700;color:#fff}

/* выпадающие панели */
.pop-wrap{position:relative}
.pop{
  display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:130;
  min-width:270px;max-width:340px;padding:8px;
  background:var(--surface);border-radius:var(--r);box-shadow:var(--sh-2);
}
.pop.on{display:block}
.pop--right{min-width:220px}
.pop-h{padding:9px 11px 6px;font-size:13.5px;font-weight:700}
.pop-p{padding:0 11px 9px;font-size:13px;line-height:1.5;color:var(--ink-2)}
.pop-i{display:block;padding:9px 11px;border-radius:8px;font-size:14px;color:var(--ink);transition:background .12s}
.pop-i:hover{background:var(--surface-2)}
.pop-i--out{color:var(--red)}
.pop--grid{display:none;grid-template-columns:1fr 1fr;gap:2px;min-width:340px}
.pop--grid.on{display:grid}
.pa{padding:10px;border-radius:9px;transition:background .12s}
.pa:hover{background:var(--surface-2)}
.pa b{display:block;font-size:13.5px;font-weight:600;color:var(--ink)}
.pa small{display:block;font-size:11.5px;color:var(--ink-3);margin-top:1px}

/* второй ряд: рубрики новостей */
.top-nav{display:flex;align-items:center;gap:4px;padding:0 16px;height:44px;overflow-x:auto;scrollbar-width:none}
.top-nav::-webkit-scrollbar{display:none}
.tn{
  padding:0 12px;height:44px;display:inline-flex;align-items:center;white-space:nowrap;
  font-size:14px;font-weight:500;color:var(--ink-2);position:relative;transition:color .14s;
}
.tn:hover{color:var(--ink)}
.tn.on{color:var(--blue);font-weight:600}
.tn.on::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2.5px;border-radius:2px 2px 0 0;background:var(--blue)}

/* левое меню теперь начинается под шапкой, логотип живёт в шапке */
.rail{top:var(--top-h);height:calc(100dvh - var(--top-h))}
.rside > :last-child{top:calc(var(--top-h) + 16px)}
@media (min-width:901px){
  .rail-top{display:none}
  .rail-nav{padding-top:14px}
}
@media (max-width:900px){
  :root{--top-h:60px}
  .top-row{gap:8px;padding:0 10px;height:56px}
  .top-sect,.top-cta,.lang{display:none}
  /* поиск скрыт, поэтому значки прижимаем к правому краю сами:
     раньше их отодвигало растянутое поле */
  .top-search{display:none}
  .top-cats{display:none}
  .top-acts{margin-left:auto}
  .top-nav{padding:0 10px}
  .hide-s{display:none}
  .rail{top:0;height:100dvh}
}

/* === Выбор турнира === */
/* Турниры выбираются плашками: логотип на белом кружке читается
   и в светлой, и в тёмной теме, потому что эмблемы приходят с прозрачным фоном. */
.lg-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.lgt{
  display:flex;align-items:center;gap:11px;padding:12px 14px;
  background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);
  color:var(--ink);transition:background .15s,box-shadow .15s,transform .15s;
}
.lgt:hover{box-shadow:var(--sh-2);transform:translateY(-2px)}
.lgt-i{
  width:40px;height:40px;border-radius:50%;background:#fff;flex-shrink:0;
  display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(22,21,23,.08);
}
.lgt-i img{width:26px;height:26px;object-fit:contain}
.lgt-t{min-width:0}
.lgt-t b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lgt-t small{display:block;font-size:11.5px;color:var(--ink-3);margin-top:1px}
.lgt.on{background:var(--blue-soft)}
.lgt.on .lgt-t b{color:var(--blue)}
@media (max-width:600px){
  .lg-tabs{grid-template-columns:1fr 1fr;gap:8px}
  .lgt{padding:10px;gap:8px}
  .lgt-i{width:34px;height:34px}
  .lgt-i img{width:22px;height:22px}
  .lgt-t small{display:none}
}

/* === Формы, зоны таблицы и меню шапки === */
/* --- поля ввода: без обводок и системного оформления --- */
input,textarea,select,button{font:inherit;color:inherit}
input,textarea,select{
  appearance:none;-webkit-appearance:none;
  background:var(--surface-2);border:0;border-radius:var(--r-sm);
  padding:10px 13px;font-size:14.5px;color:var(--ink);width:100%;
  transition:background .15s;
}
input:focus,textarea:focus,select:focus{outline:none;background:var(--surface-3)}
input::placeholder,textarea::placeholder{color:var(--ink-3)}
input[type="search"]{font-weight:400;font-size:14px}
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
select{padding-right:34px;cursor:pointer;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:16px}
.top-search input{border-radius:24px;padding:10px 16px 10px 42px}

/* --- турнирная таблица: тонкие разделители и зоны --- */
.tbl--lined tbody td{border-bottom:1px solid var(--line)}
.tbl--lined tbody tr:last-child td{border-bottom:none}
.tbl--lined tbody tr:hover{background:color-mix(in srgb,var(--ink) 3%,transparent)}
/* Полосу зоны рисуем внутренней тенью: position:relative на ячейке
   выключал её участие в общей высоте строки, и колонка мест уезжала. */
.z-ucl  .rank{background-image:linear-gradient(to right,var(--blue) 0 3px,transparent 3px)}
.z-uel  .rank{background-image:linear-gradient(to right,#00a37a 0 3px,transparent 3px)}
.z-uecl .rank{background-image:linear-gradient(to right,#e8a33d 0 3px,transparent 3px)}
.z-down .rank{background-image:linear-gradient(to right,var(--red) 0 3px,transparent 3px)}

.zleg{display:flex;flex-wrap:wrap;gap:14px;padding:12px 16px;font-size:12px;color:var(--ink-3)}
.zl{display:inline-flex;align-items:center;gap:6px}
.zl i{width:9px;height:9px;border-radius:2px;flex-shrink:0}
.zl-ucl{background:var(--blue)}
.zl-uel{background:#00a37a}
.zl-uecl{background:#e8a33d}
.zl-down{background:var(--red)}

/* --- пункты выпадающих меню с иконками --- */
.pop-i{display:flex;align-items:center;gap:10px}
.pop-i svg{width:18px;height:18px;flex-shrink:0;color:var(--ink-3)}
.pop-i--out svg{color:var(--red)}
.pa{display:flex;align-items:center;gap:10px}
.pa-i{
  width:34px;height:34px;border-radius:9px;flex-shrink:0;display:grid;place-items:center;
  background:var(--surface-2);color:var(--ink-2);
}
.pa-i svg{width:19px;height:19px}
.pa:hover .pa-i{background:var(--blue-soft);color:var(--blue)}
.pa-t{min-width:0}

/* --- удаление своего поста в кабинете --- */
.th-act--del:hover{color:var(--red)}

/* === Главная: выпуски и новости === */
/* --- полка выпусков: карточки листаются по горизонтали --- */
.vsh .ch{gap:8px}
.vsh-nav{display:flex;gap:4px;margin-left:auto}
.vsh-b{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--surface-2);color:var(--ink-2);transition:background .14s,color .14s,opacity .14s;
}
.vsh-b:hover:not(:disabled){background:var(--blue);color:var(--on-blue)}
.vsh-b:disabled{opacity:.35;cursor:default}
.vsh-b svg{width:16px;height:16px}

.vsh-track{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;
  padding:2px 16px 16px;scrollbar-width:none;scroll-padding-left:16px;
}
.vsh-track::-webkit-scrollbar{display:none}
.vsh-i{
  flex:0 0 238px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;
  color:inherit;text-decoration:none;cursor:pointer;
}
.vsh-th{
  display:block;width:100%;aspect-ratio:16/9;border-radius:11px;position:relative;
  background:var(--surface-2) center/cover no-repeat;overflow:hidden;
}
.vsh-th::after{content:"";position:absolute;inset:0;background:rgba(10,9,10,.06);opacity:0;transition:opacity .16s}
.vsh-i:hover .vsh-th::after{opacity:1}
.vsh-th .yt{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:52px;height:37px;border-radius:11px;background:var(--red);color:#fff;
  display:grid;place-items:center;transition:transform .16s;
}
.vsh-i:hover .vsh-th .yt{transform:translate(-50%,-50%) scale(1.08)}
.vsh-th .yt svg{width:20px;height:20px;margin-left:2px}
.vsh-t{
  font-size:14px;font-weight:400;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  transition:color .14s;
}
.vsh-i:hover .vsh-t{color:var(--blue)}
.vsh-m{font-size:12px;color:var(--ink-3)}
@media (max-width:700px){
  .vsh-nav{display:none}
  .vsh-track{gap:12px;padding:2px 12px 14px;scroll-padding-left:12px}
  .vsh-i{flex-basis:230px}
}

/* --- карточки новостей --- */
.nc{
  display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:16px;align-items:start;
  background:var(--surface);border-radius:var(--r);box-shadow:var(--sh);
  padding:16px 18px;color:inherit;transition:box-shadow .16s,transform .16s;
}
.nc:hover{box-shadow:var(--sh-2);transform:translateY(-2px)}
.nc:hover .nc-t{color:var(--blue)}
.nc-b{min-width:0;display:flex;flex-direction:column;gap:7px}
.nc-m{display:flex;align-items:center;gap:10px;font-size:12px}
.nc-cat{color:var(--red);font-weight:600}
.nc-dt{color:var(--ink-3)}
.nc-t{font-size:17px;font-weight:600;line-height:1.3;transition:color .14s;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nc-x{font-size:14px;font-weight:400;line-height:1.5;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nc-i{
  width:168px;height:110px;border-radius:10px;background:var(--surface-2) center/cover no-repeat;
  align-self:start;flex-shrink:0;
}
.nc--lead{grid-template-columns:minmax(0,1fr);padding:0;overflow:hidden}
.nc--lead .nc-cover{display:block;width:100%;aspect-ratio:16/8;background:var(--surface-2) center/cover no-repeat}
.nc--lead .nc-b{padding:16px 18px 18px}
.nc--lead .nc-t{font-size:22px;line-height:1.22}
.nc--lead .nc-x{font-size:15px}
@media (max-width:700px){
  .nc{grid-template-columns:minmax(0,1fr);gap:12px}
  .nc-i{width:100%;height:180px;order:-1}
  .nc--lead .nc-t{font-size:19px}
}

/* === Реакции === */
/* Четыре реакции идут одной группой, дальше — ответ и «поделиться». */
.rx-bar{display:flex;align-items:center;gap:2px}
/* под ответом полоса чуть меньше, чтобы не спорить с самим постом */
.rx-bar--sm{margin-top:2px;margin-left:-9px}
.rx-bar--sm .rx{height:30px;padding:0 8px}
.rx-bar--sm .rx svg{width:17px;height:17px}
.rx-bar--sm .rx-n{font-size:12px}
.rx{
  display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 9px;
  border-radius:17px;color:var(--ink-2);background:none;cursor:pointer;
  transition:background .14s,color .14s;
}
.rx svg{width:19px;height:19px;flex-shrink:0}
.rx-n{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;min-width:6px}
.rx:hover{background:var(--surface-2)}

/* каждый тип получает свой цвет, чтобы строка читалась с одного взгляда */
.rx:hover{color:var(--ink)}

.rx--on{font-weight:700;color:var(--ink);background:var(--surface-2)}
.rx--on:hover{color:var(--ink);background:var(--surface-3)}
.rx--on svg{fill:currentColor;fill-opacity:.14}

.th-acts{gap:2px}

/* === Композер: вложения === */
/* Кнопки вложений стоят слева, отправка прижата вправо. */
.th-composer-bar{display:flex;align-items:center;gap:6px;margin-top:8px;padding-top:8px}
.cw-b{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink-3);background:none;cursor:pointer;transition:background .14s,color .14s;
}
.cw-b:hover{background:var(--surface-2);color:var(--ink)}
.cw-b svg{width:19px;height:19px}
.th-composer-bar .th-hint{margin-left:6px}
.th-composer-bar .btn{margin-left:auto}

/* Предпросмотр выбранного файла до отправки. */
.cw-fx{width:100%;margin-top:10px}
.cw-prev{position:relative;display:inline-block;margin-top:10px;max-width:280px}
.cw-prev img{display:block;width:100%;border-radius:12px}
.cw-x{
  position:absolute;top:7px;right:7px;width:26px;height:26px;border-radius:50%;
  background:rgba(10,9,10,.62);color:#fff;display:grid;place-items:center;cursor:pointer;
}
.cw-x svg{width:13px;height:13px}

/* Развёрнутый ответ — поле выше, чтобы писать длинный текст. */
.cw-form--big textarea{min-height:110px}

/* Картинка внутри поста и ответа. */
.th-img{display:inline-block;margin-top:10px;max-width:420px}
.th-img img{display:block;max-width:100%;width:auto;height:auto;border-radius:12px}

/* Упоминание клуба отличается от упоминания человека оттенком. */
.mention--team{color:var(--red)}

/* === Лента событий матча === */
/* Три колонки: хозяева, значок с минутой, гости. Пустая сторона
   остаётся пустой, поэтому события читаются как две ленты вдоль оси. */
.tl{display:flex;flex-direction:column}
.tl-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;gap:12px;padding:10px 16px;
  border-top:1px solid var(--line);
}
.tl-row:first-child{border-top:none}
.tl-side{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tl-side--h{justify-content:flex-end;text-align:right}
.tl-side--a{justify-content:flex-start}
.tl-side b{font-size:14px;font-weight:600}
.tl-side small{font-size:12.5px;color:var(--ink-3)}

.tl-mid{display:flex;align-items:center;gap:8px;flex-shrink:0}
.tl-min{font-size:12.5px;color:var(--ink-3);font-variant-numeric:tabular-nums;min-width:34px}
.tl-side--h ~ .tl-mid .tl-min{text-align:left}
.tl-i{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0}
.tl-i svg{width:19px;height:19px}
.tl-i--goal{color:var(--ink)}
.tl-i--own,.tl-i--miss{color:var(--ink-3)}
.tl-i--var{color:var(--ink-3)}

/* Карточка рисуется прямоугольником — так же, как её показывает судья. */
.tl-card{display:block;width:11px;height:15px;border-radius:2px;background:#E8B33D}
.tl-i--red .tl-card{background:var(--red)}

@media (max-width:640px){
  .tl-row{gap:8px;padding:9px 12px}
  .tl-side b{font-size:13.2px}
  .tl-side small{font-size:11.5px;width:100%}
  .tl-side--h small{text-align:right}
}

/* === Ссылки в ленте === */
/* Упоминания и ссылки внутри записей набраны тем же весом, что и текст:
   выделяет их только цвет. */
.th-text a,.th-text .mention,.mention,.th-link{color:#0095f6;font-weight:400;word-break:break-word}
.th-text a:hover,.mention:hover{text-decoration:underline}
.mention--team{color:#0095f6}

/* === Ответ одной строкой === */
/* Ответ пишется в одной пилюле: аватар, поле, вложения и круглая
   кнопка отправки. Разворот превращает пилюлю в поле на несколько строк,
   кнопка тогда прижимается к нижнему краю. */
/* Форма записи — такая же плашка, как у постов. */
.cw-form{
  background:var(--surface);border-radius:var(--r);
  padding:12px 14px;margin-top:10px;margin-bottom:10px;
}
.cw-pill{
  display:flex;align-items:center;gap:10px;
  background:var(--surface-2);border-radius:26px;padding:5px 6px 5px 6px;
  transition:background .15s,border-radius .15s;
}
.cw-pill:focus-within{background:var(--surface-3)}
.cw-av{width:34px;height:34px;font-size:12px;flex-shrink:0}

.cw-form textarea{
  flex:1;min-width:0;background:transparent;padding:8px 2px;
  font-size:15px;line-height:1.4;min-height:20px;
}
.cw-tools{display:flex;align-items:center;gap:2px;flex-shrink:0}
.cw-b{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink-3);background:none;cursor:pointer;transition:background .14s,color .14s;
}
.cw-b:hover{background:var(--surface);color:var(--ink)}
.cw-b svg{width:18px;height:18px}
.cw-send{
  width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;
  background:var(--blue);color:var(--on-blue);cursor:pointer;margin-left:2px;
  transition:background .14s,transform .14s;
}
.cw-send:hover{background:var(--blue-hover);transform:translateY(-1px)}
.cw-send svg{width:18px;height:18px}

/* развёрнутый вид */
.cw-form--big .cw-pill{align-items:flex-end;border-radius:20px;padding:10px 10px 8px 10px}
.cw-form--big .cw-av{align-self:flex-start}
.cw-form--big textarea{min-height:110px}

/* === Ближайшие матчи === */
/* Строка матча: эмблема турнира, команды, справа дата в сером квадрате. */
.up{
  display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:11px;align-items:center;
  padding:11px 16px;color:inherit;transition:background .14s;
}
.up:hover{background:var(--surface-2)}
.up + .up{border-top:1px solid var(--line)}
.up-lg{width:30px;height:30px;border-radius:50%;background:#fff;display:grid;place-items:center;
  box-shadow:inset 0 0 0 1px rgba(22,21,23,.07)}
.up-lg img{width:20px;height:20px;object-fit:contain}

.up-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.up-row{display:flex;align-items:center;gap:8px;min-width:0}
.up-row img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.up-row b{font-size:13.5px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.up-sc{margin-left:auto;font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}

.up-when{
  flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  min-width:62px;padding:7px 8px;border-radius:10px;background:var(--surface-2);text-align:center;
}
.up-when b{font-size:12px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.up-when small{font-size:11.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.up--live .up-row b{font-weight:650}
/* Минута идущего матча — красная плашка: нейтральный фон .up-when
   стоял ниже по файлу и перебивал красный цвет метки. */
.tag.up-when{min-width:0;padding:4px 9px;border-radius:8px;background:var(--red);color:#fff}

/* === Уведомления === */
/* Счётчик на колокольчике: мелкий, чтобы не спорил со значком. */
.ib .badge{font-size:9.5px;font-weight:700;line-height:1}
.ib .badge[hidden]{display:none}

/* Панель: шапка и подвал закреплены, список прокручивается. */
.pop--bell{
  width:min(392px,calc(100vw - 24px));max-width:392px;padding:0;overflow:hidden;
  max-height:min(72vh,560px);
}
/* display задаём только раскрытому состоянию: у .pop он none,
   и колонка в самом правиле держала панель открытой всегда */
.pop--bell.on{display:flex;flex-direction:column}
.nt-head{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  padding:14px 16px 10px;flex-shrink:0;
}
.nt-head b{font-size:16px;font-weight:400;margin-right:auto}
.nt-count{
  font-size:11.5px;font-weight:400;color:var(--blue);
  background:var(--blue-soft);padding:3px 8px;border-radius:20px;
}
.nt-mark{
  width:100%;text-align:left;font-size:12.5px;color:var(--ink-3);
  background:none;cursor:pointer;padding:0;transition:color .14s;
}
.nt-mark:hover{color:var(--blue)}

.nt-list{overflow-y:auto;padding:0 6px 6px;flex:1;scrollbar-width:thin}
.nt-card .nt-list{padding:0 10px 10px;max-height:none;overflow:visible}

/* Разделитель по времени */
.nt-sep{
  padding:10px 10px 5px;font-size:11.5px;font-weight:400;color:var(--ink-3);
}

/* Строка уведомления */
.nt{
  display:flex;align-items:flex-start;gap:12px;padding:10px;border-radius:12px;
  color:inherit;transition:background .12s;
}
.nt:hover{background:var(--surface-2)}
.nt--new{background:var(--blue-soft)}
.nt--new:hover{background:color-mix(in srgb,var(--blue) 14%,transparent)}

/* Аватар со значком типа события */
.nt-av{position:relative;flex-shrink:0}
.nt-av .th-av--m{width:40px;height:40px}
.nt-ico{
  position:absolute;right:-3px;bottom:-3px;width:19px;height:19px;border-radius:50%;
  display:grid;place-items:center;color:#fff;box-shadow:0 0 0 2px var(--surface);
}
.nt--new .nt-ico{box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 12%,var(--surface))}
.nt-ico svg{width:11px;height:11px}
.nt-ico--reply{background:var(--blue)}
.nt-ico--at{background:#7b6ef6}

.nt-b{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.nt-t{font-size:14px;font-weight:400;line-height:1.35;color:var(--ink-2)}
.nt-t b{font-weight:400;color:var(--ink)}
/* содержание ответа — цитатой, чтобы не спорило с самим событием */
.nt-p{
  font-size:13px;color:var(--ink-3);line-height:1.4;padding-left:9px;
  box-shadow:inset 2px 0 0 var(--line-2);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.nt-d{font-size:11.5px;color:var(--ink-3)}
.nt-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);flex-shrink:0;align-self:center}

/* Пусто */
.nt-empty{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:34px 24px;text-align:center;color:var(--ink-3);
}
.nt-empty svg{width:34px;height:34px;color:var(--ink-3);opacity:.5}
.nt-empty b{font-size:14px;font-weight:400;color:var(--ink-2)}
.nt-empty small{font-size:12.5px;line-height:1.4;max-width:230px}

/* Подвал */
.nt-foot{
  display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;
  padding:12px;font-size:13.5px;font-weight:400;color:var(--blue);
  background:var(--surface);transition:background .14s;
}
.nt-foot:hover{background:var(--surface-2)}
.nt-foot svg{width:15px;height:15px}

/* === Шапка резидента === */
.rp-hero{overflow:hidden}
.rp-cover{
  height:168px;background:linear-gradient(135deg,#2b2b30,#4a4a52) center/cover no-repeat;
}
.rp-body{padding:0 24px 20px}

.rp-top{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap}
.rp-ava{display:block;margin-top:-44px;flex-shrink:0}
.rp-ava img,.rp-ava-i{
  width:104px;height:104px;border-radius:50%;object-fit:cover;display:grid;place-items:center;
  background:var(--surface-3);color:#fff;font-size:30px;font-weight:600;
  box-shadow:0 0 0 4px var(--surface),0 8px 24px -10px rgba(22,21,23,.45);
}

.rp-id{flex:1;min-width:0;padding-top:14px}
.rp-id h1{
  font-size:27px;font-weight:600;line-height:1.15;
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
}
.rp-id h1 .verified{width:21px;height:21px}
.rp-role{display:flex;align-items:center;gap:2px;margin-top:5px;font-size:14px;color:var(--ink-3)}
/* описание держим в читаемой мере — длинная строка выглядит дёшево */
.rp-bio{margin-top:11px;max-width:64ch;font-size:14.5px;font-weight:400;line-height:1.55;color:var(--ink-2)}

.rp-links{display:flex;gap:8px;padding-top:16px}
.rp-ico{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  background:var(--surface-2);color:var(--ink-2);transition:background .15s,color .15s,transform .15s;
}
.rp-ico:hover{background:var(--surface-3);color:var(--ink);transform:translateY(-2px)}
.rp-ico--yt:hover{background:var(--red);color:#fff}
.rp-ico svg{width:19px;height:19px}

/* Показатели: точность вынесена вперёд как главный, остальные — короткими фишками */
.rp-stats{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:20px;padding-top:18px}
.rp-acc{min-width:158px}
.rp-acc b{font-size:34px;font-weight:600;line-height:1;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.rp-acc.g b{color:var(--win)}
.rp-acc small{display:block;font-size:12.5px;color:var(--ink-3);margin-top:3px}
.rp-bar{display:block;height:4px;border-radius:3px;background:var(--surface-2);margin-top:9px;overflow:hidden}
.rp-bar i{display:block;height:100%;border-radius:3px;background:var(--ink-3);transition:width .4s}
.rp-acc.g .rp-bar i{background:var(--win)}

.rp-chips{display:flex;gap:8px;flex-wrap:wrap}
.rp-chip{
  display:flex;flex-direction:column;gap:1px;min-width:74px;padding:9px 13px;
  border-radius:12px;background:var(--surface-2);
}
.rp-chip b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}
.rp-chip small{font-size:11.5px;color:var(--ink-3)}
.rp-chip--w b{color:var(--win)}
.rp-chip--l b{color:var(--loss)}

@media (max-width:700px){
  .rp-cover{height:120px}
  .rp-body{padding:0 16px 16px}
  .rp-ava img,.rp-ava-i{width:84px;height:84px;font-size:24px}
  .rp-ava{margin-top:-36px}
  .rp-id{padding-top:8px}
  .rp-id h1{font-size:22px}
  .rp-links{padding-top:0;width:100%}
  .rp-stats{gap:14px;margin-top:16px;padding-top:14px}
  .rp-acc b{font-size:28px}
}

/* === Страница новости === */
/* Статья лежит в обычной карточке, поэтому боковые отступы задаём здесь,
   а старые бутстраповские в 50px гасим — иначе текст жмётся к середине. */
.news-view{padding:26px 30px 30px}
.news-view .xl-pl-50,.news-view .xl-pr-50{padding-left:0!important;padding-right:0!important}
.news-view .xs-p-10,.news-view .xl-p-0,.news-view .xl-pt-30{padding:0!important}
.news-view .xs-mr-15{margin-right:0!important}
.news-view .breadcrumb{margin:0 0 14px;padding:0;font-size:13px}
.news-view .news__title{font-size:30px;font-weight:600;line-height:1.2;margin-bottom:16px}
.news-view .news-info{margin-bottom:20px}
/* Резиновыми делаем только картинки внутри самого материала:
   портрет автора и значки имеют свой размер и его терять нельзя. */
.news-view picture,.news-view video,
.news-view .news__image,.news-view .news-text img,.news-view p img{
  max-width:100%;height:auto;border-radius:var(--r)
}
.news-view .author__image{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}
.news-view .author{align-items:center;gap:12px}
.news-view .tags{margin-top:22px;display:flex;flex-wrap:wrap;gap:7px}

@media (max-width:700px){
  .news-view{padding:18px 16px 22px}
  .news-view .news__title{font-size:23px}
}

/* === Типографика материала === */
/* Врезка внутри текста */
p.fblic{background:#f7f7f7!important;font-size:12px;line-height:135%;font-weight:400}

/* Подпись под фотографией */
.news__image-caption{
  color:var(--ink-3)!important;font-size:13px!important;font-weight:400;text-align:left!important;
}

/* Теги */
a.tags__link{font-weight:400;border:0;margin-right:10px}

/* Тело материала и подзаголовки в нём */
.news__content.xl-pl-50.xl-pr-50.xl-mb-40{font-weight:400}
.news__content.xl-pl-50.xl-pr-50.xl-mb-40 h2{font-size:1.3rem;line-height:136%}

/* Лид */
.news__extract{font-weight:400;font-size:16px!important;line-height:135%}

/* Главная фотография */
img.news__image.lazy.w-100{border-radius:6px!important}

/* Подпись автора и дата в шапке материала */
.author__status{color:#777;font-weight:400;line-height:1;font-size:14px}
.d-flex.flex-column.justify-content-center.xl-pl-15{padding:0}
.author__name.xl-mb-5{font-size:14px;margin-bottom:0}
span.news__date.xl-mb-10{font-size:14px!important;font-weight:400}

/* Хлебные крошки */
a.breadcrumb-item__link{color:#777!important;border:0;font-size:14px}

/* === Карточка новости в ленте === */
.ncard{
  background:var(--surface);border-radius:var(--r);padding:30px;
  display:flex;flex-direction:column;margin-bottom:0;overflow:hidden;
}

/* шапка: автор, рубрика, время */
.ncard-h{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.ncard-av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--surface-2)}
.ncard-who{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px;font-weight:400}
.ncard-who b{font-size:14px;font-weight:400;line-height:1.2}
.ncard-who small{font-size:12.5px;color:var(--ink-3)}
.ncard-cat{
  font-size:12.5px;font-weight:400;color:var(--ink-2);flex-shrink:0;
  background:var(--surface-2);padding:5px 11px;border-radius:20px;transition:background .14s,color .14s;
}
.ncard-cat:hover{background:var(--blue-soft);color:var(--blue)}

.ncard-t{
  display:block;font-size:20px;font-weight:600;line-height:1.28;color:var(--ink);
  transition:color .14s;
}
.ncard-t:hover{color:var(--blue)}
.ncard-x{display:block;margin-top:8px;font-size:15px;font-weight:400;line-height:1.5;color:var(--ink-2)}

.ncard-img{display:block;margin-top:14px;border-radius:10px;overflow:hidden;background:var(--surface-2)}
.ncard-img img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}

.ncard-acts{display:flex;align-items:center;gap:2px;margin-top:10px;margin-left:-9px}
.ncard-hits{
  display:inline-flex;align-items:center;gap:6px;margin-left:auto;margin-right:9px;
  font-size:12.5px;color:var(--ink-3);font-variant-numeric:tabular-nums;
}
.ncard-hits svg{width:16px;height:16px}

/* отзыв резидента внизу карточки */
.ncard-cm{
  display:flex;align-items:flex-start;gap:10px;margin:16px -30px -30px;padding:14px 30px;
  background:transparent;color:inherit;transition:background .14s;
  border-top:1px solid #eee;
}
.ncard-cm:hover{background:var(--surface-3)}
.ncard-cm-b{min-width:0;font-size:13.5px;font-weight:400;line-height:1.45;color:var(--ink-2)}
.ncard-cm-b b{font-weight:400;color:var(--ink);margin-right:5px}
.ncard-cm-b span{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

.npages{display:flex;justify-content:center;padding:6px 0 2px}

/* Маячок подгрузки: пока он в поле зрения, тянется следующая порция */
.nfeed-more{display:flex;justify-content:center;padding:18px 0 26px}
.nfeed-more[hidden]{display:none}
.nfeed-spin{
  width:22px;height:22px;border-radius:50%;
  border:2px solid var(--surface-3);border-top-color:var(--ink-3);
  animation:nspin .7s linear infinite;
}
@keyframes nspin{to{transform:rotate(360deg)}}

@media (max-width:700px){
  .ncard{padding:14px 14px 6px}
  .ncard-t{font-size:17.5px}
  .ncard-cat{display:none}
  /* отступы карточки на телефоне другие: тянем отзыв ровно на них,
     иначе он уезжал за нижний край и скрывался обрезкой */
  .ncard-cm{margin:12px -14px -6px;padding:12px 14px}
}

/* === Полка шортсов === */
/* Карточка шортса вертикальная, как сам ролик: обложка на весь блок,
   сверху кружок канала, снизу подпись поверх затемнения. */
.st-track{align-items:stretch}
.st-i{
  position:relative;flex:0 0 138px;aspect-ratio:9/16;border-radius:12px;overflow:hidden;
  background:var(--surface-2) center/cover no-repeat;cursor:pointer;padding:0;
  display:block;scroll-snap-align:start;transition:transform .16s;
}
.st-i:hover{transform:translateY(-3px)}
.st-i::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(10,9,10,.72) 0%,rgba(10,9,10,.12) 42%,transparent 66%);
}

.st-ring{
  position:absolute;top:10px;left:10px;z-index:2;
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:var(--surface);box-shadow:0 0 0 3px var(--blue);
}
.st-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.st-mark{display:grid;place-items:center;width:100%;height:100%;padding:6px}
.st-mark .ft-logo{width:100%;height:auto}

.st-cap{
  position:absolute;left:10px;right:10px;bottom:10px;z-index:2;text-align:left;
  color:#fff;font-size:12.5px;font-weight:400;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  text-shadow:0 1px 2px rgba(10,9,10,.5);
}

@media (max-width:700px){
  .st-i{flex-basis:118px}
  .st-ring{width:32px;height:32px;box-shadow:0 0 0 2.5px var(--blue)}
  .st-cap{font-size:11.5px}
}

/* === Ссылка «все» значком === */
/* Ссылка на полный список: короткое слово и двойная стрелка.
   Высоту задаём явно и центрируем — в заголовке строка выравнивается
   по базовой линии, и пилюля иначе съезжает. */
.ch > a[href]:last-child,.sec > a[href]:last-child{
  display:inline-flex;align-items:center;align-self:center;gap:5px;
  height:26px;padding:0 10px;border-radius:13px;flex-shrink:0;
  background:var(--surface-2);color:var(--ink-2);
  font-size:12.5px;font-weight:400;line-height:1;
  transition:background .14s,color .14s;
}
.ch > a[href]:last-child:hover,.sec > a[href]:last-child:hover{background:var(--blue);color:var(--on-blue)}
.ch > a[href]:last-child::after,.sec > a[href]:last-child::after{
  content:"";width:12px;height:12px;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 5 7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 5 7 7-7 7M13 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Вход в шапке — тоже значком */
.top-login{
  width:36px;height:36px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;
  background:var(--blue);color:var(--on-blue);transition:background .14s;
}
.top-login:hover{background:var(--blue-hover)}
.top-login svg{width:18px;height:18px}

/* === Телефон: форма записи и карточки === */
@media (max-width:700px){
  /* В одну строку аватар, поле и пять кнопок не помещаются — текста
     просто не видно. Раскладываем в два ряда: поле сверху, кнопки снизу. */
  .cw-pill{flex-wrap:wrap;border-radius:20px;padding:8px 10px}
  .cw-pill .cw-av{order:1}
  .cw-form textarea{order:2;flex:1 1 auto;min-width:0;padding:8px 4px}
  .cw-tools{order:3;width:100%;justify-content:flex-end;gap:4px;padding-top:2px}
  .cw-send{margin-left:6px}

  /* В карточке новости на узком экране лид только мешает: заголовок
     и обложка уже всё говорят. */
  .ncard-x{display:none}
}

/* === Телефон: шапка кабинета === */
@media (max-width:700px){
  /* Имя и кнопки в одну строку не помещаются и наезжают друг на друга:
     переносим кнопки под имя. */
  .cab-head{flex-wrap:wrap;align-items:flex-start}
  .cab-id{flex:1 1 100%;min-width:0}
  .cab-id h1{font-size:20px;line-height:1.2}
  .cab-acts{flex:1 1 100%;justify-content:flex-start;margin-top:4px}
}

/* === Без разрядки и капслока === */
body *{letter-spacing:normal!important;text-transform:none!important}

/* превью загруженного файла в списках админки */
.ea-vich-thumb{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--surface-2)}

/* Рейтинг резидентов: строки плотнее обычного списка — блок стоит первым
   в боковой колонке, и высота там на счету. */
.rt-row{gap:9px;padding:7px 16px}
/* размер шрифта обычный, ужимаем только просвет между именем и подписью */
.rt-row .n b{line-height:1.25}
.rt-row .n small{margin-top:0;line-height:1.25;display:block}
.rt-pos{
  width:16px;flex-shrink:0;text-align:center;
  font-size:12.5px;font-weight:700;color:var(--ink-3);font-variant-numeric:tabular-nums;
}
.rt-pos--top{color:var(--red)}
.rt-acc{font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink-2)}
.rt-acc.g{color:var(--win)}

/* Компактная таблица в боковой колонке: строки ниже, отступы меньше */
.tbl--compact th{padding:7px 12px;font-size:10.5px}
.tbl--compact td{padding:4px 12px}
.tbl--compact .team img{width:17px;height:17px}
.tbl--compact .team{font-size:12.8px;gap:6px}
.tbl--compact .rank{font-size:12px;width:22px}
.tbl--compact tbody td{border-bottom:none}
.tbl--compact tbody tr:nth-child(even){background:color-mix(in srgb,var(--ink) 3%,transparent)}

/* Болжамы на странице матча: главное здесь — сам прогноз, поэтому он крупнее
   имени автора. Имя уходит на второй план. */
.lrow--pick .n b{font-size:12.5px;font-weight:400;color:var(--ink-3);display:block}
.lrow--pick .n small{font-size:15.5px;font-weight:400;color:var(--ink);display:block;margin-top:1px;line-height:1.3}

/* Знак Fonteam вместо слова «Резидент» в шапке профиля */
.ft-mark{display:inline-flex;align-items:center;vertical-align:middle;margin-right:6px}
.ft-mark .ft-logo{height:15px;width:auto}

/* Заголовок раздела без плашки: просто строка над содержимым. */
.sec{display:flex;align-items:center;gap:12px;padding:2px 2px 0} /* по центру, а не по базовой линии: у заголовка и ссылки разный кегль */
.sec h3{font-size:18px;font-weight:600;line-height:1.25;flex:1;min-width:0}
.sec a{font-size:13px;font-weight:400;color:var(--blue);flex-shrink:0}
.sec .lbl{font-size:13px;font-weight:400;color:var(--ink-3);flex-shrink:0}
.sec .tag{align-self:center}
.stack > .sec{margin-bottom:-6px}

/* Переключатели раскладки: что показываем только на телефоне,
   а что только на широком экране. */
.only-m{display:none}
@media (max-width:900px){
  .only-m{display:block}
  .only-d{display:none}
}

/* Последняя строка списка не должна прилипать к нижнему краю карточки */
.card > .lrow:last-child,.card > .up:last-child,.card > a.rt-row:last-child{margin-bottom:0}

/* ── Вход поверх страницы ───────────────────────────────────────────────
   Гостю не нужно уходить на отдельный адрес: он остаётся там, где читал.
   На узком экране то же окно выезжает снизу — так удобнее большому пальцу. */
.as-veil{
  position:fixed;inset:0;z-index:200;
  background:rgba(22,21,23,.5);
  opacity:0;visibility:hidden;transition:opacity .18s;
}
body.as-open .as-veil{opacity:1;visibility:visible}

.as{
  position:fixed;z-index:201;left:50%;top:50%;
  transform:translate(-50%,-46%);
  width:min(400px,calc(100vw - 32px));
  padding:30px 28px 24px;
  background:var(--surface);border-radius:16px;box-shadow:var(--sh-2);
  opacity:0;visibility:hidden;
  transition:opacity .18s,transform .18s;
}
body.as-open .as{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
body.as-open{overflow:hidden}

.as-grip{display:none}

.as-x{
  position:absolute;top:12px;right:12px;width:32px;height:32px;
  display:grid;place-items:center;
  border:0;background:transparent;border-radius:50%;
  color:var(--ink-3);cursor:pointer;
}
.as-x:hover{background:var(--surface-2)}
.as-x svg{width:16px;height:16px}

.as-head{text-align:center;margin-bottom:22px}
.as-head h2{font-size:19px;font-weight:500;color:var(--ink);margin:14px 0 5px}
.as-head p{font-size:13px;font-weight:400;color:var(--ink-3);margin:0}

.as-f{display:block;margin-bottom:13px}
.as-f span{display:block;font-size:12px;font-weight:400;color:var(--ink-3);margin-bottom:6px}
.as-f input{
  width:100%;height:44px;padding:0 14px;box-sizing:border-box;
  border:1px solid var(--line);border-radius:10px;
  background:var(--surface-2);color:var(--ink);
  font:400 15px/1 var(--f);outline:none;
}
.as-f input:focus{border-color:var(--blue);background:var(--surface)}

.as-remember{
  display:flex;align-items:center;gap:8px;cursor:pointer;
  font-size:13px;font-weight:400;color:var(--ink-3);margin:4px 0 18px;
}
.as-remember input{width:15px;height:15px;accent-color:var(--blue);margin:0}

.as-err{
  font-size:13px;font-weight:400;color:var(--red-ink);
  background:var(--red-soft);border-radius:9px;
  padding:10px 12px;margin:0 0 13px;
}

.as-submit{width:100%;height:46px;font-size:15px;justify-content:center}

.as-note{
  font-size:12px;font-weight:400;color:var(--ink-3);
  text-align:center;line-height:1.55;margin:18px 0 0;
}

@media (max-width:700px){
  .as{
    left:0;right:0;top:auto;bottom:0;
    width:100%;max-width:none;
    transform:translateY(100%);
    border-radius:20px 20px 0 0;
    padding:10px 20px calc(22px + env(safe-area-inset-bottom));
    transition:transform .26s cubic-bezier(.32,.72,0,1),opacity .1s;
  }
  body.as-open .as{transform:translateY(0)}
  .as-grip{display:block;width:38px;height:4px;border-radius:2px;background:var(--line-2);margin:0 auto 16px}
  .as-x{display:none}
  .as-head{margin-bottom:18px}
}

/* ── Турниры на узком экране ─────────────────────────────────────────────
   Полные названия не помещаются и обрезаются многоточием — вместо них
   аббревиатура и эмблема: так вкладки различаются с одного взгляда. */
.tb-lg,.tb-abbr{display:none}
.lgt-abbr{display:none}

@media (max-width:700px){
  .tb{display:inline-flex;align-items:center;gap:7px;padding:11px 12px}
  .tb-lg{display:block;width:18px;height:18px;object-fit:contain;flex-shrink:0}
  .tb-full{display:none}
  .tb-abbr{display:inline}

}

@media (max-width:600px){
  .lgt-full{display:none}
  .lgt-abbr{display:inline}
}

/* Заголовки блоков: без нижнего поля от общей типографики.
   Флексбокс центрирует элементы вместе с их полями, поэтому лишние 8px снизу
   поднимали текст заголовка на 4px выше значка и ссылки «тағы». */
.ch h2,.ch h3,.ch h4,
.sec h2,.sec h3,.sec h4{margin:0}

/* ── Хвост материала: теги и форма ответа ────────────────────────────────
   Ссылки-теги разлетались по строке: к зазору 7px добавлялось внешнее поле
   10px у каждой. Плашка держит их вместе и читается как элемент управления,
   а не как случайная синяя строка. */
.tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
a.tags__link{
  margin:0;padding:6px 11px;border-radius:999px;
  background:var(--surface-2);color:var(--ink-2);
  font-size:13px;font-weight:400;line-height:1.3;
  transition:background .14s,color .14s;
}
a.tags__link:hover{background:var(--blue-soft);color:var(--blue)}

@media (max-width:700px){
  /* Пустая форма занимала почти треть экрана: убираем лишние поля,
     оставляя кнопки нажимаемыми (30–32px — это ещё комфортная цель). */
  .cw-form{padding:10px;margin-top:8px;margin-bottom:8px}
  .cw-pill{gap:8px;padding:6px 6px 6px 8px}
  .cw-form textarea{padding:6px 2px}
  .cw-tools{padding-top:0;gap:0}
  .cw-b{width:30px;height:30px}
  .cw-b svg{width:17px;height:17px}
  .cw-send{width:32px;height:32px;margin-left:4px}
  .cw-send svg{width:17px;height:17px}
  .cw-av{width:30px;height:30px}

  /* Заголовок обсуждения ближе к самому обсуждению */
  .sec{padding-top:0}
}

/* Кнопки выбора исхода: тонкая рамка и одинаковый вес подписей.
   Цвета берём из темы: чёрный текст и рамка #eee в тёмном оформлении
   сливались с фоном — подпись «жеңеді» пропадала. */
.qp-opts button.qp{border:1px solid var(--line)}
.qp b{font-size:14px;font-weight:400;line-height:1.25}
.qp small{font-size:14px;color:var(--ink);font-weight:500}

/* Кнопка ответа рядом с реакциями под комментарием */
.th-reply-b{
  background:none;border:0;cursor:pointer;padding:6px 8px;border-radius:8px;
  font-size:13px;font-weight:400;color:var(--ink-3);transition:background .14s,color .14s;
}
.th-reply-b:hover{background:var(--surface-2);color:var(--ink)}
.th-reply-box .cw-form{background:transparent;padding:0;margin:8px 0 2px}
.th--branch{padding-left:38px}

/* Плашка материала в карточке комментария: как строка матча, но с обложкой */
.th-fx--cm{gap:10px}
.th-fx--cm img{border-radius:5px;object-fit:cover;flex-shrink:0}
.th-fx--cm b{font-size:13.5px;font-weight:400;color:var(--ink-2);overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.th-kind{font-size:13.5px;font-weight:400;color:var(--ink-3)}

/* ── Показатели болжамов ─────────────────────────────────────────────────
   Дэшборд резидента: кольцо общей точности, кривая её изменения, полоска
   последних результатов и разбивка по турнирам и видам болжама. */
.dash-top{display:flex;align-items:center;gap:22px;padding:16px 18px}
.dash-ring{position:relative;width:88px;height:88px;flex-shrink:0}
.dash-ring svg{width:88px;height:88px;transform:rotate(-90deg)}
.dash-ring circle{fill:none;stroke-width:7;stroke-linecap:round}
.dash-ring-bg{stroke:var(--surface-2)}
.dash-ring-v{stroke:var(--loss);transition:stroke-dashoffset .4s}
.dash-ring.g .dash-ring-v{stroke:var(--win)}
.dash-ring-t{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:1px;
}
.dash-ring-t b{font-size:19px;font-weight:500;color:var(--ink);line-height:1}
.dash-ring-t small{font-size:11px;font-weight:400;color:var(--ink-3)}

.dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;flex:1;min-width:0}
.dash-kpi{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;background:var(--surface-2)}
.dash-kpi b{font-size:17px;font-weight:500;color:var(--ink);line-height:1.1;font-variant-numeric:tabular-nums}
.dash-kpi small{font-size:11.5px;font-weight:400;color:var(--ink-3)}
.dash-kpi b.g{color:var(--win)}
.dash-kpi b.r{color:var(--loss)}

.dash-block{padding:14px 18px}
.dash-h{
  display:flex;align-items:baseline;gap:8px;margin-bottom:10px;
  font-size:13px;font-weight:500;color:var(--ink);
}
.dash-h span{font-size:11.5px;font-weight:400;color:var(--ink-3)}

.dash-svg{width:100%;height:auto;display:block;overflow:visible}
.dash-area{fill:url(#dashFill)}
.dash-g1{stop-color:var(--blue);stop-opacity:.22}
.dash-g2{stop-color:var(--blue);stop-opacity:0}
.dash-line{fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.dash-pt{fill:var(--surface);stroke:var(--blue);stroke-width:2.5}
.dash-mid{stroke:var(--line);stroke-width:1;stroke-dasharray:4 5}

.dash-dots{display:flex;gap:6px;flex-wrap:wrap}
.dash-dot{width:11px;height:11px;border-radius:50%;display:block;background:var(--wait)}
.dash-dot--w{background:var(--win)}
.dash-dot--l{background:var(--loss)}
.dash-dot--v{background:var(--line-2)}
.dash-dot--p{background:var(--surface-3)}

.dash-split{display:grid;grid-template-columns:1fr 1fr;gap:0}
.dash-row{
  display:grid;grid-template-columns:minmax(0,1fr) 30px 64px 46px;
  align-items:center;gap:10px;padding:7px 0;
}
.dash-row-n{display:flex;align-items:center;gap:8px;min-width:0}
.dash-row-n img{width:20px;height:20px;object-fit:contain;flex-shrink:0}
.dash-row-n b{font-size:13px;font-weight:400;color:var(--ink-2);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-row-c{font-size:12px;font-weight:400;color:var(--ink-3);text-align:right;font-variant-numeric:tabular-nums}
.dash-row-b{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}
.dash-b-w{display:block;height:100%;background:var(--win);border-radius:3px}
.dash-row-a{font-size:12.5px;font-weight:500;text-align:right;color:var(--ink-3);font-variant-numeric:tabular-nums}
.dash-row-a.g{color:var(--win)}
.dash-row-a.r{color:var(--loss)}

@media (max-width:700px){
  .dash-top{flex-direction:column;align-items:stretch;gap:14px}
  .dash-ring{align-self:center}
  .dash-kpis{grid-template-columns:repeat(2,1fr)}
  .dash-split{grid-template-columns:1fr}
}

/* Поле графика: подписи шкалы стоят поверх, сам график тянется по ширине */
.dash-plot{position:relative;padding-right:34px}
.dash-pt{fill:var(--surface);stroke:var(--blue);stroke-width:2;vector-effect:non-scaling-stroke}
.dash-y{position:absolute;right:0;font-size:10.5px;font-weight:400;color:var(--ink-3);line-height:1}
.dash-y--top{top:6px}
.dash-y--mid{top:50%;transform:translateY(-50%)}
.dash-y--bot{bottom:6px}

/* Ветка обсуждения — одна плашка: ответ раньше отрывался в отдельную
   карточку и переставал читаться как ответ. */
.cmt-group{background:var(--surface);border-radius:var(--r);margin-bottom:16px;overflow:hidden}
.cmt-group .th{background:transparent;border-radius:0;margin-bottom:0}
.cmt-group .th--branch{padding-top:2px;padding-left:52px}
.cmt-group .th--branch .th-av{width:30px;height:30px}

/* ── Карточка идущего матча ──────────────────────────────────────────────
   Собрана по образцу букмекерских табло: вид спорта плашкой, турнир
   приглушённым текстом, время матча зелёным, счёт красным справа. */
.fb-live .match{background:var(--surface-2);border-radius:14px;padding:13px 14px}
.fb-live .match:hover{background:var(--surface-3)}

.fb-live .m-top{display:flex;align-items:center;gap:9px;padding:0}
.m-sport{
  flex-shrink:0;padding:3px 9px;border-radius:6px;
  background:#6eb57e;color:#fff;font-size:12.5px;font-weight:500;line-height:1.3;
}
.fb-live .m-top .lg{
  flex:1;min-width:0;font-size:13.5px;font-weight:400;color:var(--ink-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.m-star{width:19px;height:19px;flex-shrink:0;color:var(--line-2)}

.m-time{display:flex;align-items:center;gap:7px;margin:12px 0 6px;color:#3f9d57}
.m-time svg{width:17px;height:17px}
.m-time b{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}

.fb-live .m-body{padding:0}
.fb-live .m-row{gap:11px;padding:6px 0}
.fb-live .m-row .kit{width:26px;height:26px;border-radius:0;object-fit:contain}
.fb-live .m-row .nm{font-size:15px;font-weight:500;color:var(--ink)}
.fb-live .m-row .sc{font-size:17px;font-weight:700;color:var(--red)}

/* Лента новостей: расстояние между карточками задаём контейнером —
   у самой карточки нижнего поля нет, иначе оно складывалось бы с ним. */
#news-feed{display:flex;flex-direction:column;gap:16px}

/* ── Дәл есеп ────────────────────────────────────────────────────────────
   Продолжение выбора исхода, а не отдельная карточка: заголовок-строка
   с чертой сверху, под ним серая панель со счётчиками. */
.cs{margin:2px 16px 14px}
.cs-h{
  display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;
  padding:11px 2px;font-size:14px;font-weight:500;color:var(--ink-2);
}
.cs-h:hover{color:var(--ink)}
.cs-h::-webkit-details-marker{display:none}
.cs-h svg{width:17px;height:17px;color:var(--ink-3);transition:transform .18s}
.cs[open] .cs-h svg{transform:rotate(180deg)}
.cs-h .tag{margin-left:auto}

.cs-form{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:end;
  gap:10px 14px;padding:16px 16px 14px;
  background:#F4F4F5;border-radius:12px;
}
.cs-side{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}
.cs-t{
  font-size:13px;font-weight:400;color:var(--ink-3);text-align:center;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cs-ctl{display:flex;align-items:center;gap:10px}
.cs-b{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  border:1px solid var(--line-2);background:var(--surface);color:var(--ink-3);
  font-size:17px;line-height:1;cursor:pointer;transition:background .14s,color .14s,border-color .14s;
}
.cs-b:hover{background:var(--blue-soft);border-color:var(--blue);color:var(--blue)}
.cs-v{font-size:20px;font-weight:700;min-width:18px;text-align:center;font-variant-numeric:tabular-nums}
.cs-mid{
  font-size:17px;font-weight:700;color:var(--ink);white-space:nowrap;
  padding-bottom:5px;
}
.cs-go{grid-column:1/-1;height:40px;margin-top:8px;justify-content:center}

@media (max-width:560px){
  .cs{margin:2px 14px 12px}
  .cs-form{gap:8px 8px;padding:14px 10px 12px}
  .cs-mid{font-size:15px}
  .cs-b{width:28px;height:28px;font-size:16px}
  .cs-v{font-size:18px}
  .cs-t{font-size:12px}
}

/* Значок «все турниры» в такой же круглой плашке, как эмблемы лиг */
.lgt-i svg{width:24px;height:24px;color:var(--ink-3)}
.lgt.on .lgt-i svg{color:var(--blue)}

/* ── Очные встречи ───────────────────────────────────────────────────────
   Сверху обе команды с кольцом побед и раскладкой по исходам, посередине
   число встреч; ниже таблица матчей со счётом по таймам. */
.h2-sum{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:start;
  gap:18px;padding:18px 18px 20px;
}
.h2-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.h2-col--a{align-items:flex-end}
.h2-name{display:flex;align-items:center;gap:9px;min-width:0}
.h2-col--a .h2-name{flex-direction:row-reverse}
.h2-name img{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.h2-name b{font-size:14.5px;font-weight:500;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.h2-mid{display:flex;align-items:center;gap:14px;margin-top:6px}
.h2-col--a .h2-mid{flex-direction:row-reverse}

.h2-ring{position:relative;width:84px;height:84px;flex-shrink:0}
.h2-ring svg{width:84px;height:84px;transform:rotate(-90deg)}
.h2-ring circle{fill:none;stroke-width:7}
.h2-r-bg{stroke:var(--surface-2)}
.h2-r-w{stroke:var(--win)}
.h2-r-d{stroke:var(--line-2)}
.h2-r-l{stroke:var(--loss)}
.h2-pct{position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:1px}
.h2-pct b{font-size:18px;font-weight:500;color:var(--ink);line-height:1}
.h2-pct small{font-size:10.5px;font-weight:400;color:var(--ink-3)}

.h2-leg2{display:flex;flex-direction:column;gap:6px;min-width:0}
.h2-leg2 li{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:400;color:var(--ink-2);
  white-space:nowrap}
.h2-col--a .h2-leg2 li{flex-direction:row-reverse}
.h2-leg2 i{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.h2-i-w{background:var(--win)}
.h2-i-d{background:var(--line-2)}
.h2-i-l{background:var(--loss)}

.h2-col{order:1}
.h2-total{order:2}
.h2-col--a{order:3}
.h2-total{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;padding-top:34px}
.h2-total b{font-size:26px;font-weight:500;color:var(--ink);line-height:1}
.h2-total small{font-size:12px;font-weight:400;color:var(--ink-3);text-align:center;line-height:1.35}

.h2-tbl{padding:0 6px 6px}
.h2-tr{
  display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(0,2fr) 54px 54px;
  align-items:center;gap:12px;padding:11px 12px;border-radius:10px;
}
.h2-tr + .h2-tr{box-shadow:inset 0 1px 0 var(--line)}
.h2-th{background:var(--surface-2);font-size:12px;font-weight:400;color:var(--ink-3);padding:9px 12px}
.h2-th + .h2-tr{box-shadow:none}
.h2-sc-h{text-align:center}

.h2-when{display:flex;flex-direction:column;gap:2px;min-width:0}
.h2-when b{font-size:13px;font-weight:400;color:var(--ink-2)}
.h2-when small{font-size:12px;font-weight:400;color:var(--ink-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.h2-pair{display:flex;flex-direction:column;gap:6px;min-width:0}
.h2-pair span{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:400;color:var(--ink-2);
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2-pair img{width:18px;height:18px;object-fit:contain;flex-shrink:0}
.h2-win{font-weight:500;color:var(--ink)}

.h2-sc{display:flex;flex-direction:column;gap:6px;text-align:center}
.h2-sc i{font-style:normal;font-size:14px;font-weight:400;color:var(--ink-2);
  font-variant-numeric:tabular-nums;line-height:1.35}
.h2-sc--ht i{color:var(--ink-3);font-size:13px}
.h2-sc i.h2-win{font-weight:700;color:var(--ink)}

@media (max-width:700px){
  .h2-sum{grid-template-columns:1fr;gap:14px;padding:16px 14px}
  .h2-col--a{align-items:flex-start}
  .h2-col--a .h2-name,.h2-col--a .h2-mid,.h2-col--a .h2-leg2 li{flex-direction:row}
  .h2-total{order:-1;padding-top:0;flex-direction:row;gap:8px}
  .h2-total small{text-align:left}
  .h2-total small br{display:none}
  .h2-tr{grid-template-columns:minmax(84px,1fr) minmax(0,2fr) 40px;gap:8px;padding:10px 8px}
  /* колонка первого тайма и её заголовок на телефоне не помещаются */
  .h2-tr .h2-sc--ht,.h2-th span:nth-child(3){display:none}
  .h2-th{font-size:11px}
}

/* ── Цвет кнопок ─────────────────────────────────────────────────────────
   Заданы отдельной переменной, а не через синий: синим на сайте набраны
   ссылки и подсветка выбора, их трогать не нужно. */
:root{--btn:#e80024;--btn-hover:#c4001e}
.b-pri{background:var(--btn);color:#fff}
.b-pri:hover{background:var(--btn-hover)}
.cw-send{background:var(--btn)}
.cw-send:hover{background:var(--btn-hover)}
.top-login{background:var(--btn)}
.top-login:hover{background:var(--btn-hover)}

/* ── Составы на поле ─────────────────────────────────────────────────────
   Вертикальное поле: хозяева снизу, гости сверху. Позиции игроков приходят
   от API в виде «ряд:место» и пересчитываются в проценты. */
.pitch-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px 12px}
.pitch-t{display:flex;align-items:center;gap:8px;min-width:0}
.pitch-t--a{flex-direction:row-reverse}
.pitch-t img{width:22px;height:22px;object-fit:contain}
.pitch-t b{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pitch-t .tag{flex-shrink:0}

.pitch{
  /* поле держим узким: на всю ширину колонки оно вырастало за экран */
  position:relative;width:min(100% - 28px,430px);margin:0 auto 16px;
  border-radius:12px;overflow:hidden;aspect-ratio:68/105;
  background:
    repeating-linear-gradient(180deg,#3f9d57 0 8.33%,#37904d 8.33% 16.66%);
}
.pitch-mid,.pitch-circle,.pitch-box,.pitch-goal{position:absolute;border:2px solid rgba(255,255,255,.45)}
.pitch-mid{left:0;right:0;top:50%;height:0;border-width:0 0 2px}
.pitch-circle{left:50%;top:50%;width:26%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%}
.pitch-box{left:50%;width:58%;height:15%;transform:translateX(-50%)}
.pitch-box--t{top:0;border-top:0}
.pitch-box--b{bottom:0;border-bottom:0}
.pitch-goal{left:50%;width:28%;height:6%;transform:translateX(-50%)}
.pitch-goal--t{top:0;border-top:0}
.pitch-goal--b{bottom:0;border-bottom:0}

.pl{
  position:absolute;transform:translate(-50%,-50%);
  display:flex;flex-direction:column;align-items:center;gap:3px;width:64px;
}
.pl-av{
  /* без обрезки: номер стоит углом за пределами кружка и раньше срезался */
  position:relative;width:34px;height:34px;border-radius:50%;
  background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.35);
  display:grid;place-items:center;
}
.pl-av img{width:34px;height:34px;object-fit:cover;border-radius:50%}
.pl-av i{
  position:absolute;right:-6px;bottom:-4px;min-width:18px;height:18px;padding:0 4px;
  border-radius:9px;background:var(--ink);color:#fff;box-shadow:0 0 0 2px var(--surface);
  font-style:normal;font-size:10.5px;font-weight:700;line-height:18px;text-align:center;
  font-variant-numeric:tabular-nums;
}
.pl--a .pl-av i{background:var(--red)}
.pl-n{
  font-size:11px;font-weight:400;color:#fff;text-align:center;max-width:64px;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

@media (max-width:560px){
  .pitch{width:calc(100% - 20px);margin:0 auto 12px}
  .pl{width:52px}
  .pl-av{width:28px;height:28px}
  .pl-av img{width:28px;height:28px}
  .pl-av i{min-width:16px;height:16px;line-height:16px;font-size:9.5px;right:-5px}
  .pl-n{font-size:10px;max-width:52px}
  .pitch-head{padding:0 14px 10px}
}

/* Пометка о повышенном весе точного счёта */
.cs-bonus{
  font-size:11.5px;font-weight:400;color:var(--win);
  background:var(--win-soft);border-radius:6px;padding:2px 7px;
}

/* ── Партнёрский блок ────────────────────────────────────────────────────
   Логотип, подпись и обязательные сведения о лицензии. Ссылки помечены
   как партнёрские и не передают вес поисковикам. */
.pt{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 16px}
.pt-l{display:block;line-height:0}
.pt-l img{width:236px;max-width:100%;height:auto;border-radius:6px}
.pt-c{font-size:13px;font-weight:400;color:var(--ink-3);text-align:center}
.pt-note{
  font-size:11px;font-weight:400;line-height:1.45;color:var(--ink-3);
  text-align:center;margin:0;
}
.pt-m{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  margin-left:0;color:var(--ink-3);transition:color .14s;
}
.pt-m:hover{color:var(--ink-2)}
.pt-m img{height:22px;width:auto;border-radius:5px;display:block;border:4px solid #e80024}
.pt-m svg{width:14px;height:14px;flex-shrink:0}

/* Подвал платформы */
.ft-foot{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  max-width:1300px;margin:26px auto 0;padding:22px 16px 34px;
}
.ft-foot-p{display:block;line-height:0}
.ft-foot-p img{width:180px;max-width:100%;height:auto;border-radius:5px}
.ft-foot .pt-note{max-width:720px}
.ft-foot-c{
  font-size:11.5px;font-weight:400;line-height:1.5;color:var(--ink-3);
  text-align:center;max-width:720px;margin:0;
}

/* Строка болжама на странице матча: сама ссылка занимает всю ширину,
   партнёрская метка стоит рядом отдельной ссылкой. */
.pick-go{display:flex;align-items:center;gap:11px;flex:1;min-width:0;color:inherit}
.lrow--pick .pt-m{margin-left:0}

/* Баннер партнёра: во всю ширину карточки, без внутренних полей */
.pt--bn{padding:0;gap:0;overflow:hidden}
.pt-bn{display:block;line-height:0}
.pt-bn img{width:100%;height:auto;display:block}
.pt--bn .pt-note{padding:10px 16px 12px}

/* Переключатель языка: пилюля, активный язык — брендовый кружок */
.lang-sw{
  display:inline-flex;align-items:center;padding:3px;border-radius:999px;
  background:var(--surface-2);
}
.lang-sw-i{
  min-width:30px;height:30px;padding:0 2px;border-radius:50%;
  display:grid;place-items:center;
  font-size:11.5px;font-weight:700;color:var(--ink-3);
  transition:color .14s,background .14s;
}
.lang-sw-i:hover{color:var(--ink)}
.lang-sw-i.on{background:var(--btn);color:#fff}



/* ── Единый воздух между карточками: 16px везде ──────────────────────────
   Внутри .stack зазор даёт контейнер (gap) — карточка своё поле убирает,
   иначе отступы складывались в 32px. В .th-wrap контейнер зазора не даёт,
   там работает поле карточки. */
.stack > .th-group,
.stack > .th{margin-bottom:0}

/* плашка входа и форма записи в потоке — тот же шаг, что у карточек */
.th-wrap > .th-guest,
.th-wrap > .cw-form{margin:0 0 16px}



/* Сноска-реплика резидента под партнёрским баннером: аватар и короткая
   фраза, где сумма выделена. Отдельной строкой — макет партнёра не трогаем. */
.pt-say{
  display:flex;align-items:center;gap:10px;
  margin:10px 0 0;padding:10px 14px;border-radius:var(--r);
  background:var(--surface-2);color:var(--ink-2);
  transition:background .14s;
}
.pt-say:hover{background:var(--surface-3)}
.pt-say-b{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.pt-say-n{font-size:12.5px;font-weight:500;color:var(--ink-3)}
.pt-say-t{font-size:14px;font-weight:400;line-height:1.35}
.pt-say-t b{
  font-weight:700;color:var(--btn);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}

/* Реплика в шапке профиля: между описанием и показателями */
.rp-body .pt-say{margin:14px 0 0}

/* Логотип партнёра в реплике: прижат к правому краю, рядом значок перехода */
.pt-say-go{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}
.pt-say-go img{height:21px;width:auto;border-radius:5px;display:block;border:4px solid #e80024}
.pt-say-go svg{width:14px;height:14px;color:var(--ink-3)}
.pt-say:hover .pt-say-go svg{color:var(--ink-2)}

@media (max-width:560px){
  .pt-say{flex-wrap:wrap}
  .pt-say-go{margin-left:44px;margin-top:2px}
}

/* ── Расширенная плашка матча в лентах ───────────────────────────────────
   Табло в две строки: шапка с турниром и состоянием, команды со счётом,
   подвал с контекстом и явной ссылкой на страницу матча. */
.mx2{display:block;background:var(--surface-2);border-radius:12px;overflow:hidden;
  color:inherit;transition:background .15s;margin:10px 0 15px}
.mx2:hover{background:var(--surface-3)}
.mx2-top{display:flex;align-items:center;gap:8px;padding:9px 12px 0}
.mx2-lg{width:20px;height:20px;border-radius:50%;background:#fff;display:grid;place-items:center;
  box-shadow:inset 0 0 0 1px rgba(22,21,23,.08);flex-shrink:0}
.mx2-lg img{width:14px;height:14px;object-fit:contain}
.mx2-liga{font-size:12px;font-weight:400;color:var(--ink-3);flex:1;min-width:0;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.mx2-st{flex-shrink:0;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px}
.mx2-st--live{background:var(--red);color:#fff;display:inline-flex;align-items:center;gap:5px}
.mx2-st--live::before{content:"";width:5px;height:5px;border-radius:50%;background:#fff;
  animation:blink 1.6s infinite}
.mx2-st--live i{font-style:normal;font-variant-numeric:tabular-nums}
.mx2-st--soon{background:var(--blue-soft);color:var(--blue)}
.mx2-st--ft{background:var(--surface-3);color:var(--ink-2)}

.mx2-body{display:flex;align-items:center;gap:12px;padding:10px 12px 11px}
.mx2-teams{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}
.mx2-t{display:flex;align-items:center;gap:9px;min-width:0}
.mx2-t img{width:20px;height:20px;object-fit:contain;flex-shrink:0}
.mx2-t b{font-size:14.5px;font-weight:400;color:var(--ink);overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.mx2-t.win b{font-weight:700}
.mx2-sc{flex-shrink:0;display:flex;flex-direction:column;gap:7px;align-items:flex-end;
  font-variant-numeric:tabular-nums}
.mx2-sc i{font-style:normal;font-size:15px;font-weight:700;line-height:20px;color:var(--ink)}
.mx2--live .mx2-sc i{color:var(--red)}
.mx2-when{flex-shrink:0;text-align:center;padding:0 2px}
.mx2-when b{display:block;font-size:15px;font-weight:700;color:var(--ink)}
.mx2-when small{display:block;font-size:11px;font-weight:400;color:var(--ink-3);margin-top:2px}

.mx2-foot{display:flex;align-items:center;gap:8px;padding:0 12px 10px}
.mx2-cd{font-size:12px;font-weight:400;color:var(--ink-3)}
.mx2-cd b{color:var(--ink-2);font-weight:500;font-variant-numeric:tabular-nums}
.mx2-go{margin-left:auto;display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:500;color:var(--blue)}
.mx2-go svg{width:13px;height:13px}

/* ── Главная: кружки резидентов ──────────────────────────────────────────
   Инстаграм-манера: градиентное кольцо у непросмотренных сторис. Пока
   кружок ведёт на профиль; источник сторис подключится позже. */
.sr{display:flex;gap:18px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:none}
.sr::-webkit-scrollbar{display:none}
.sr-i{display:flex;flex-direction:column;align-items:center;gap:7px;flex-shrink:0;width:74px}
.sr-ring{width:66px;height:66px;border-radius:50%;padding:3px;
  background:conic-gradient(from 210deg,#e80024,#ff7a45,#ffc24b,#e80024)}
.sr-ring--self{background:var(--line-2)}
.sr-ring > span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;
  border:2.5px solid var(--bg);overflow:hidden;background:var(--surface-2)}
.sr-ring img{width:100%;height:100%;object-fit:cover}
.sr-ring b{font-size:15px;color:var(--ink-2)}
.sr-n{font-size:11.5px;font-weight:400;color:var(--ink-2);max-width:74px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ── Главная: витрина новостей ───────────────────────────────────────── */
.hx-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:26px;
  background:var(--surface);border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
.hx{display:flex;flex-direction:column;gap:11px;min-width:0}
.hx-img{display:block;border-radius:12px;overflow:hidden;aspect-ratio:16/9;background:var(--surface-2)}
.hx-img img{width:100%;height:100%;object-fit:cover}
.hx-cat{font-size:12.5px;font-weight:700;color:var(--red)}
.hx-t{font-size:28px;line-height:1.18;font-weight:800;letter-spacing:-.3px;color:var(--ink);margin:0}
a:hover > .hx-t, a:hover > .hs-t, a:hover > .nrow-t{color:var(--btn)}
.hx-x{font-size:15px;color:var(--ink-2);line-height:1.5;margin:0}
.hx-meta{display:flex;align-items:center;gap:12px;font-size:12.5px;color:var(--ink-3);
  padding-top:2px;flex-wrap:wrap}
/* баннер в лид-карточке — сразу под реакциями */
.hx-ad{margin-top:4px}
.hx-ad img{width:100%;border-radius:12px;display:block}
.hx-eye{display:inline-flex;align-items:center;gap:5px}
.hx-eye svg{width:15px;height:15px}
.hx-rx{display:inline-flex;align-items:center;margin-left:auto}
.hx-rx .rx-bar{gap:0}
.hx-side{display:flex;flex-direction:column;min-width:0}
.hs{display:flex;flex-direction:column-reverse;gap:11px;padding:16px 0}
.hs + .hs{border-top:1px solid var(--line)}
.hs:first-child{padding-top:0}
.hs:last-child{padding-bottom:0}
.hs-b{display:flex;flex-direction:column;gap:5px;min-width:0}
.hs-t{font-size:17.5px;line-height:1.28;font-weight:700;color:var(--ink);margin:0}
.hs-img{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--surface-2)}
.hs-img img{width:100%;height:100%;object-fit:cover}

/* ── Главная: лента горизонтальными карточками ──────────────────────── */
.nrow-list{display:flex;flex-direction:column;gap:14px}
.nrow{display:grid;grid-template-columns:240px 1fr;gap:18px;background:var(--surface);
  border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);transition:transform .14s,box-shadow .14s}
.nrow:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.nrow-img{display:block;aspect-ratio:5/3;background:var(--surface-2)}
.nrow-img img{width:100%;height:100%;object-fit:cover}
.nrow-b{display:flex;flex-direction:column;gap:5px;padding:14px 18px 10px 0;min-width:0}
.nrow-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:17.5px;font-weight:700;line-height:1.3;color:var(--ink)}

/* ── Главная: рестайл полки выпусков под витрину ────────────────────── */
.vsh-i{background:var(--card-soft);border-radius:12px;overflow:hidden;padding-bottom:12px}
.vsh-th{border-radius:0;position:relative}
.vsh-th::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(0,0,0,.42))}
.vsh-th .yt{background:rgba(232,0,36,.94);border-radius:13px;z-index:1}
.vsh-t{padding:10px 13px 0}
.vsh-m{padding:4px 13px 0}

@media (max-width:820px){
  .hx-grid{grid-template-columns:1fr;padding:14px;gap:18px}
  .hx-t{font-size:21px}
  .hs{padding:14px 0}
  .nrow{grid-template-columns:118px 1fr;gap:12px}
  .nrow-img{aspect-ratio:1}
  .nrow-t{font-size:15px}
  .nrow-b{padding:10px 12px 8px 0}
  .hx-rx .rx-bar .rx:nth-child(n+3){display:none}
}

/* ── Страница поиска ─────────────────────────────────────────────────── */
.sch{background:var(--surface);border-radius:var(--r);padding:26px 22px;box-shadow:var(--sh)}
.sch-form{position:relative;max-width:640px;margin:0 auto}
.sch-form > svg{position:absolute;left:19px;top:50%;transform:translateY(-50%);
  width:20px;height:20px;color:var(--ink-3);pointer-events:none}
.sch-in{width:100%;padding:15px 52px 15px 52px;border-radius:16px;font-size:16.5px;
  border:1.5px solid var(--line);background:var(--surface-2);color:var(--ink);outline:none;
  transition:border-color .15s,background .15s,box-shadow .15s;-webkit-appearance:none}
.sch-in::placeholder{color:var(--ink-3)}
.sch-in::-webkit-search-cancel-button{display:none}
.sch-in:focus{border-color:var(--btn);background:var(--surface);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--btn) 12%,transparent)}
.sch-x{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:30px;height:30px;
  display:grid;place-items:center;border:0;border-radius:50%;cursor:pointer;
  background:var(--surface-3);color:var(--ink-2)}
.sch-x svg{width:14px;height:14px}
.sch-x:hover{background:var(--line);color:var(--ink)}
.sch-tabs{display:flex;gap:6px;flex-wrap:wrap}
.sch-tab{padding:7px 14px;border:0;border-radius:20px;font-size:13px;font-weight:500;
  color:var(--ink-2);background:var(--surface);box-shadow:var(--sh);cursor:pointer;
  transition:background .12s,color .12s}
.sch-tab:hover{color:var(--ink)}
.sch-tab.on{background:var(--btn);color:#fff}
.sch-tab b{margin-left:4px;font-weight:600;opacity:.65}
.sch-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  padding:48px 16px;color:var(--ink-3);background:var(--surface);border-radius:var(--r);box-shadow:var(--sh)}
.sch-empty svg{width:38px;height:38px;opacity:.5;margin-bottom:4px}
.sch-empty b{color:var(--ink-2);font-size:15.5px}
@media (max-width:820px){
  .sch{padding:16px 14px}
  .sch-in{font-size:16px;padding:13px 48px}
}

/* Гостевое поле комментария: выглядит как настоящее, ведёт в окно входа */
.cw-guest{cursor:pointer}
.cw-guest textarea{cursor:pointer}
.cw-av--g{display:grid;place-items:center;background:var(--surface-3);color:var(--ink-3);border-radius:50%;flex-shrink:0}
.cw-av--g svg{width:18px;height:18px}

/* Пустое состояние блока — приглушённой строкой прямо в заголовке */
.ch-note{margin-left:auto;font-size:13px;font-weight:400;color:var(--ink-3);
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Выбор лиги в сайдбарной таблице */
.stl{position:relative;min-width:0;flex:1}
.stl-b{display:inline-flex;align-items:center;gap:5px;border:0;background:none;cursor:pointer;
  font-size:15px;font-weight:700;color:var(--ink);padding:0}
.stl-b svg{width:15px;height:15px;color:var(--ink-3)}
.stl-menu{position:absolute;left:-8px;top:calc(100% + 8px);z-index:30;min-width:150px;
  display:flex;flex-direction:column;padding:6px;border-radius:12px;
  background:var(--surface);box-shadow:0 8px 28px rgba(0,0,0,.18);border:1px solid var(--line)}
.stl-i{display:block;text-align:left;border:0;background:none;cursor:pointer;
  padding:8px 11px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--ink-2)}
.stl-i:hover{background:var(--surface-2);color:var(--ink)}
.stl-i.on{color:var(--btn);font-weight:700}

/* ══ Раздел «Жекпе-жек» ═══════════════════════════════════════════════
   Постерная типографика (Barlow Condensed) для имён и афиш, красный и
   синий угол как у октагона, золото — чемпион. Афиша всегда тёмная. */
.fg-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;--cond:"Barlow Condensed","Arial Narrow",var(--f)}
.fg-h1{margin:0;font:800 34px/1 "Barlow Condensed","Arial Narrow",var(--f);letter-spacing:.01em}
.fg-sub{font-size:13px;color:var(--ink-3)}
.fg-rub{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.fg-rub .top-cats-i{background:var(--surface);box-shadow:var(--sh)}
.fg-rub .top-cats-i.on{background:var(--btn);color:#fff}
.fg-back{display:inline-flex;font-size:13px;font-weight:600;color:var(--blue)}
.fg-ph{display:grid;place-items:center;background:var(--surface-2);color:var(--ink-3)}
.fg-ph svg{width:45%;height:45%}
.fg-rk{display:inline-block;font:700 11px/1 var(--f);letter-spacing:.06em;padding:4px 7px;border-radius:5px;background:var(--surface-3);color:var(--ink-2);vertical-align:middle}
.fg-rk--c{background:#e2b23a;color:#1a1200}.fg-rk--kz{background:#2f8fe6;color:#fff}
.fg-chips{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.fg-chip{font:600 11px/1 var(--f);padding:5px 8px;border-radius:5px;background:var(--surface-2);color:var(--ink-2);white-space:nowrap}
.fg-chip--kz{background:var(--blue-soft);color:var(--blue)}.fg-chip--ok{background:var(--win-soft);color:var(--win)}
.fg-chip--x{background:var(--loss-soft);color:var(--loss)}.fg-chip--live{background:var(--btn);color:#fff}
.fg-empty{padding:22px 16px;color:var(--ink-3);text-align:center;font-size:13.5px}
.fg-m{color:var(--ink-2);font-size:12.5px}.fg-block{display:block}
.fg-ch2{padding-top:4px}
/* афиша */
.fg-poster{position:relative;overflow:hidden;border-radius:var(--r);background:#141216;color:#fff;box-shadow:var(--sh-2)}
.fg-poster::before{content:"";position:absolute;inset:-30% -10% auto;height:120%;background:radial-gradient(60% 60% at 50% 40%,rgba(232,0,36,.45),transparent 70%);pointer-events:none}
.fg-poster a{color:inherit}
.fg-oct{position:absolute;right:-60px;top:-60px;width:360px;height:360px;opacity:.07;pointer-events:none}
.fg-ptop{position:relative;display:flex;align-items:center;gap:14px;padding:16px 20px 0;flex-wrap:wrap}
.fg-ptag{font:700 11px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;background:var(--btn);color:#fff;padding:6px 9px;border-radius:5px}
.fg-ptitle{font:800 30px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;letter-spacing:.01em;margin:0}
.fg-pwhen{margin-left:auto;text-align:right;color:#b7afb3;font-size:13px}
.fg-pwhen > b{display:block;color:#fff;font:700 15px/1.2 var(--f)}
.fg-cd{display:flex;gap:6px;margin-top:4px;justify-content:flex-end}
.fg-cd > span{display:grid;place-items:center;min-width:44px;padding:5px 6px;border-radius:7px;background:rgba(255,255,255,.08)}
.fg-cd b{font:700 19px/1 "Barlow Condensed","Arial Narrow",var(--f);color:#fff}.fg-cd small{font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:#b7afb3}
.fg-main{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;padding:14px 20px 0}
.fg-fgt{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.fg-fgt-img{width:150px;height:150px;object-fit:cover;object-position:top;border-radius:50%;border:3px solid var(--corner);background:#221d24}
.fg-fgt--red{--corner:var(--btn)}.fg-fgt--blue{--corner:#5b9cf5}
.fg-fgt .fg-nm{font:700 24px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;letter-spacing:.01em;text-wrap:balance}
.fg-fgt .fg-rec{font:500 13px/1 var(--f);color:#b7afb3;font-variant-numeric:tabular-nums}
.fg-poster .fg-rk{background:rgba(255,255,255,.12);color:#fff}.fg-poster .fg-rk--c{background:#e2b23a;color:#1a1200}.fg-poster .fg-rk--kz{background:#2f8fe6}
.fg-vs{display:flex;flex-direction:column;align-items:center;gap:6px;padding-bottom:58px;color:#b7afb3;font-size:12px;text-align:center}
.fg-vs b{font:800 28px/1 "Barlow Condensed","Arial Narrow",var(--f);color:#fff;letter-spacing:.06em}
.fg-belt{display:inline-flex;align-items:center;gap:5px;color:#e2b23a;font-weight:700;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
.fg-belt::before{content:"";width:14px;height:8px;border-radius:2px;background:#e2b23a}
.fg-pfoot{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.08);margin-top:16px}
.fg-pbout{background:#141216;padding:12px 16px;font-size:13px;display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.fg-pbout .l{text-align:right}.fg-pbout b{display:block;font:700 15px/1.1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.fg-pbout small{color:#b7afb3;font-size:11px}
.fg-pbout .w{font:600 11px/1.2 var(--f);color:#b7afb3;text-align:center;max-width:90px}
.fg-pcta{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 20px;font-size:13px;color:#b7afb3;border-top:1px solid rgba(255,255,255,.08)}
.fg-pcta a{font-weight:700;color:#fff;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
/* наши бойцы */
.fg-kzl{display:flex;gap:12px;overflow-x:auto;padding:0 16px 16px;scrollbar-width:none}.fg-kzl::-webkit-scrollbar{display:none}
.fg-kzc{flex:0 0 150px;background:var(--surface-2);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;transition:transform .15s}
.fg-kzc:hover{transform:translateY(-2px)}
.fg-kzc-img{width:74px;height:74px;border-radius:50%;object-fit:cover;object-position:top;background:var(--surface-3)}
.fg-kzc b{font:700 17px/1.05 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;text-wrap:balance}
.fg-kzc small{font-size:11.5px;color:var(--ink-2);line-height:1.3}
.fg-kzc .fg-rk--kz{display:none}
.fg-kzc .fg-rec{font-variant-numeric:tabular-nums;font-weight:700;font-size:13px}
/* результаты */
.fg-res-row{display:grid;grid-template-columns:58px 74px 1fr auto;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid var(--line);font-size:13.5px}
.fg-res-b{min-width:0}
.fg-pair{display:flex;align-items:center}
.fg-pair a{display:block;border-radius:50%;flex-shrink:0}
.fg-pair-img{width:42px;height:42px;border-radius:50%;object-fit:cover;object-position:top;display:block;background:var(--surface-2)}
.fg-pair-w{position:relative;z-index:1;box-shadow:0 0 0 2.5px var(--win),0 0 0 4.5px var(--surface)}
.fg-pair-l{margin-left:-10px;opacity:.55;filter:grayscale(.6)}
.fg-pair-l .fg-pair-img{box-shadow:0 0 0 2px var(--surface)}
.fg-res-row:first-child{border-top:0}
.fg-res-d{font:600 12px/1.25 var(--f);color:var(--ink-3)}
.fg-oc{font:700 11px/1 var(--f);letter-spacing:.06em;padding:5px 8px;border-radius:5px;white-space:nowrap}
.fg-oc--w{background:var(--win-soft);color:var(--win)}.fg-oc--l{background:var(--loss-soft);color:var(--loss)}.fg-oc--n{background:var(--surface-2);color:var(--ink-2)}
/* календарь */
.fg-cal-row{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;padding:11px 16px;border-top:1px solid var(--line)}
.fg-cal-row:first-child{border-top:0}
.fg-dt{text-align:center;line-height:1}.fg-dt b{display:block;font:800 24px/1 "Barlow Condensed","Arial Narrow",var(--f)}.fg-dt small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.fg-cal-b{min-width:0}.fg-cal-t{font-weight:600;display:block}.fg-cal-t.dim{color:var(--ink-2);font-weight:500}
.fg-cal-pl{font-size:12.5px;color:var(--ink-3)}
/* рейтинг */
.fg-rt-row{display:grid;grid-template-columns:26px 30px 1fr auto;gap:8px;align-items:center;padding:7px 16px;font-size:13.5px;border-top:1px solid var(--line)}
.fg-rt-row:first-child{border-top:0}
.fg-rt-row.kz{background:var(--blue-soft)}
.fg-pos{font:700 13px/1 var(--f);color:var(--ink-3);text-align:center;font-variant-numeric:tabular-nums}.fg-pos.c{color:#c9961c}
.fg-rt-img{width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:top}
.fg-rt-n{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fg-rt-rec{font-size:12px;color:var(--ink-3);font-variant-numeric:tabular-nums}
.fg-rgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fg-news-row{display:grid;grid-template-columns:64px 1fr;gap:10px;padding:10px 16px;border-top:1px solid var(--line)}
.fg-news-row:first-child{border-top:0}
.fg-news-im{width:64px;height:48px;object-fit:cover;border-radius:8px;background:var(--surface-3)}
.fg-news b{font-size:13.5px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fg-news small{color:var(--ink-3);font-size:11.5px}
/* турнир */
.fg-eh{padding:18px 20px 16px;display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}
.fg-eh-t{margin:0;font:800 36px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.fg-eh-m{color:var(--ink-2);font-size:13.5px}
.fg-eh .fg-chips{margin-left:auto}
.fg-sec-t{padding:12px 16px 6px;font:700 12px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.fg-bout{display:grid;grid-template-columns:1fr 96px 1fr;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid var(--line)}
.fg-bout--x{opacity:.55}.fg-bout--x .fg-nm{text-decoration:line-through}
.fg-bf{display:flex;align-items:center;gap:10px;min-width:0}.fg-bf--r{flex-direction:row-reverse;text-align:right}
.fg-bf-img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;border:2.5px solid var(--corner);flex-shrink:0}
.fg-bf--r{--corner:var(--btn)}.fg-bf--b{--corner:#5b9cf5}
.fg-bf .fg-nm{display:block;font:700 18px/1.05 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.fg-bf .fg-nm.win{color:var(--win)}
.fg-bf small{display:block;color:var(--ink-3);font-size:12px;font-variant-numeric:tabular-nums}
.fg-bmid{text-align:center;font-size:11.5px;color:var(--ink-3);line-height:1.3}
.fg-bmid b{display:block;font:800 16px/1 "Barlow Condensed","Arial Narrow",var(--f);color:var(--ink-2);letter-spacing:.06em;margin-bottom:3px}
.fg-bmid .fg-belt{display:inline-flex;margin-bottom:2px}
.fg-rs{display:block;color:var(--ink);font-weight:600}.fg-rs--x{color:var(--loss)}
/* боец */
.fg-fp{display:grid;grid-template-columns:200px 1fr;gap:22px;padding:20px}
.fg-fp-img{width:200px;height:200px;border-radius:50%;object-fit:cover;object-position:top;border:4px solid var(--btn)}
.fg-fp-t{margin:0;font:800 40px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.fg-nick{color:var(--ink-2);font-size:14px;margin-top:4px}
.fg-div{margin-top:8px;color:var(--ink-2)}
.fg-wld{display:flex;gap:18px;margin:14px 0 8px}
.fg-wld > div{text-align:center}.fg-wld b{display:block;font:800 34px/1 "Barlow Condensed","Arial Narrow",var(--f)}.fg-wld small{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.fg-wld .w b{color:var(--win)}.fg-wld .l b{color:var(--loss)}
.fg-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line);border-radius:0 0 var(--r) var(--r);overflow:hidden}
.fg-stats > div{background:var(--surface);padding:12px 16px}
.fg-stats small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.fg-stats b{font:700 18px/1.2 "Barlow Condensed","Arial Narrow",var(--f)}
.fg-hist-row{display:grid;grid-template-columns:70px 1fr 1fr auto;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid var(--line);font-size:13.5px}
.fg-hist-d{font-size:12px;color:var(--ink-3);line-height:1.3}
.fg-hist-op{display:flex;align-items:center;gap:8px;font-weight:600;min-width:0}
.fg-hist-img{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top;flex-shrink:0}
.fg-hist-ev{color:var(--ink-2);font-size:12.5px;min-width:0}
@media (prefers-reduced-motion:reduce){.fg-kzc{transition:none}}
@media (max-width:820px){
  .fg-rub{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .fg-ptitle{font-size:24px}.fg-pwhen{margin-left:0;text-align:left;width:100%}.fg-cd{justify-content:flex-start}
  .fg-main{gap:6px;padding:12px 12px 0}.fg-fgt-img{width:96px;height:96px}.fg-fgt .fg-nm{font-size:18px}.fg-vs{padding-bottom:40px}.fg-vs b{font-size:20px}
  .fg-pfoot{grid-template-columns:1fr}
  .fg-bout{grid-template-columns:1fr 64px 1fr}.fg-bf-img{width:40px;height:40px}.fg-bf .fg-nm{font-size:15px}
  .fg-fp{grid-template-columns:1fr;text-align:center}.fg-fp-img{margin:0 auto;width:150px;height:150px}.fg-wld{justify-content:center}.fg-stats{grid-template-columns:repeat(2,1fr)}
  .fg-hist-row{grid-template-columns:60px 1fr auto}.fg-hist-ev{display:none}
  .fg-res-row{grid-template-columns:48px 68px 1fr auto;gap:8px}.fg-pair-img{width:36px;height:36px}.fg-rgrid{grid-template-columns:1fr}
  .fg-eh-t{font-size:28px}.fg-fp-t{font-size:30px}
}

/* страница боя */
.fg-poster--bout .fg-main{padding-bottom:6px}
.fg-ptitle--sm{font-size:22px}
.fg-ptag--x{background:var(--loss)}.fg-ptag--done{background:rgba(255,255,255,.18)}
.fg-vs-res{color:#fff;font-weight:600;font-size:12px;max-width:150px}
.fg-fgt--won .fg-fgt-img{border-color:var(--win)}
.fg-vs-go,.fg-rs--go{color:var(--btn);font-weight:700}
.fg-poster .fg-vs-go{color:#ff8a94}
.fg-fonbet{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:#fff;color:#111}
.fg-fonbet img{height:18px;width:auto;display:block}.fg-fonbet svg{width:14px;height:14px;color:#e80024}
.fg-tape{display:flex;flex-direction:column}
.fg-tape-row{display:grid;grid-template-columns:1fr 130px 1fr;align-items:center;padding:9px 16px;border-top:1px solid var(--line);font-size:14px}
.fg-tape-row:first-child{border-top:0}
.fg-tape-row .r{text-align:right;font-weight:600;color:var(--btn)}.fg-tape-row .b{font-weight:600;color:var(--blue)}
.fg-tape-row .k{text-align:center;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.fg-tape-note{padding:8px 16px 14px;font-size:12px;color:var(--ink-3)}
.fg-form{display:inline-flex;gap:4px}.fg-tape-row .r.fg-form{justify-content:flex-end}
.fg-form i{width:14px;height:14px;border-radius:4px;background:var(--surface-3)}
.fg-form-win{background:var(--win)!important}.fg-form-loss{background:var(--loss)!important}.fg-form-draw{background:var(--wait)!important}
.qp-av{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top}
.fg-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 16px 16px}
.fg-methods-col{display:flex;flex-direction:column;gap:6px}
.fg-methods-t{font:700 15px/1.1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;margin-bottom:2px}
.qp--s{padding:9px 10px;min-height:0}
@media (max-width:820px){.fg-tape-row{grid-template-columns:1fr 96px 1fr;font-size:13px}.fg-ptitle--sm{font-size:18px}}

/* ══ Страница боя: премиальная афиша ═══════════════════════════════ */
.bh{position:relative;overflow:hidden;border-radius:var(--r);color:#fff;
  background:radial-gradient(120% 90% at 50% 0%,#2a1f28 0%,#151216 55%,#0f0d10 100%);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.04) inset}
.bh-glow{position:absolute;top:-10%;width:60%;height:120%;filter:blur(60px);opacity:.55;pointer-events:none}
.bh-glow--r{left:-20%;background:radial-gradient(closest-side,rgba(232,0,36,.75),transparent)}
.bh-glow--b{right:-20%;background:radial-gradient(closest-side,rgba(48,110,220,.7),transparent)}
.bh-oct{position:absolute;left:50%;top:50%;width:520px;height:520px;transform:translate(-50%,-46%);opacity:.05;pointer-events:none}
.bh-eyebrow{position:relative;display:flex;align-items:center;gap:10px;padding:18px 24px 0;font:600 12px/1 var(--f);letter-spacing:.12em;text-transform:uppercase;color:#c9c0c4;flex-wrap:wrap}
.bh-tag{background:var(--btn);color:#fff;padding:6px 9px;border-radius:5px;letter-spacing:.1em}
.bh-ev{color:#fff}.bh-sep{color:#6f6670}
.bh-duel{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:22px 24px 8px}
.bh-f{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0;color:#fff}
.bh-ring{display:block;padding:5px;border-radius:50%;background:conic-gradient(from 200deg,var(--c1),var(--c2),var(--c1));box-shadow:0 20px 40px -18px var(--c1)}
.bh-f--r{--c1:#e80024;--c2:#ff7a45}.bh-f--b{--c1:#2f6fd6;--c2:#6bb0ff}
.bh-img{width:186px;height:186px;border-radius:50%;object-fit:cover;object-position:top;display:block;border:4px solid #141216;background:#221d24}
.bh-f.won .bh-ring{--c1:#1fbd6b;--c2:#8ff0b8}
.bh-name{font:800 40px/.95 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;letter-spacing:.01em;text-wrap:balance;margin-top:6px}
.bh-meta{font:500 14px/1.2 var(--f);color:#c9c0c4;font-variant-numeric:tabular-nums}
.bh-badges .fg-rk{background:rgba(255,255,255,.12);color:#fff}.bh-badges .fg-rk--c{background:#e2b23a;color:#1a1200}.bh-badges .fg-rk--kz{background:#2f8fe6}
.bh-mid{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:0 6px}
.bh-vs{font:800 84px/1 "Barlow Condensed","Arial Narrow",var(--f);letter-spacing:.04em;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.7);text-shadow:0 0 40px rgba(255,255,255,.12)}
.bh-date{font:700 14px/1.2 var(--f);color:#fff}
.bh-res{font:700 14px/1.3 var(--f);color:#8ff0b8;max-width:200px}
.bh-cd{display:flex;gap:6px}
.bh-cd > span{display:grid;place-items:center;min-width:52px;padding:6px 7px;border-radius:9px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}
.bh-cd b{font:700 22px/1 "Barlow Condensed","Arial Narrow",var(--f)}.bh-cd small{font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:#c9c0c4}
.bh-belt{display:inline-flex;align-items:center;gap:6px;color:#e2b23a;font:700 11px/1 var(--f);letter-spacing:.12em;text-transform:uppercase}
.bh-belt i{width:18px;height:9px;border-radius:2px;background:linear-gradient(90deg,#e2b23a,#fff0b0,#e2b23a)}
.bh-cons{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:8px 24px 4px;font:800 18px/1 "Barlow Condensed","Arial Narrow",var(--f)}
.bh-cons-l{color:#ff6b7a}.bh-cons-r{color:#7fb3ff}
.bh-cons-bar{height:8px;border-radius:5px;background:#2f6fd6;overflow:hidden}.bh-cons-bar i{display:block;height:100%;background:linear-gradient(90deg,#e80024,#ff5a6a);border-radius:5px 0 0 5px}
.bh-cons-t{grid-column:1/-1;text-align:center;font:500 11px/1 var(--f);letter-spacing:.08em;text-transform:uppercase;color:#8d838a}
.bh-foot{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:14px 24px;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.25)}
.bh-venue{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#c9c0c4}.bh-venue svg{width:16px;height:16px;color:#8d838a}
.bh-fonbet{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:10px;background:#fff;color:#e80024;box-shadow:0 10px 24px -12px rgba(255,255,255,.5);transition:transform .15s}
.bh-fonbet:hover{transform:translateY(-1px)}.bh-fonbet img{height:20px;width:auto;display:block}.bh-fonbet svg{width:15px;height:15px}
.bh-note{position:relative;padding:8px 24px 12px;font-size:10.5px;line-height:1.4;color:#6f6670;background:rgba(0,0,0,.25)}
.bh-note .pt-note,.bh-note p{margin:0;color:inherit;font-size:inherit}

/* ══ Досье: зеркальные полосы ═══════════════════════════════════════ */
.tt-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:16px 20px 10px}
.tt-title{margin:0;font:700 12px/1 var(--f);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.tt-side{font:800 20px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.tt-side--r{color:var(--btn)}.tt-side--b{color:var(--blue);text-align:right}
.tt-row{display:grid;grid-template-columns:1fr 150px 1fr;align-items:center;gap:10px;padding:10px 20px;border-top:1px solid var(--line);font-size:14px}
.tt-row--bar{grid-template-columns:72px 1fr 150px 1fr 72px}
.tt-v{font-weight:700;font-variant-numeric:tabular-nums}.tt-v--r{text-align:right;color:var(--ink)}.tt-v--b{color:var(--ink)}
.tt-k{text-align:center;font:600 11px/1.25 var(--f);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.tt-bar{height:7px;border-radius:4px;background:var(--surface-2);overflow:hidden}
.tt-bar i{display:block;height:100%;border-radius:4px}
.tt-bar--r{display:flex;justify-content:flex-end}.tt-bar--r i{background:linear-gradient(90deg,#ff7a45,var(--btn))}
.tt-bar--b i{background:linear-gradient(90deg,var(--blue),#6bb0ff)}
.tt-form{display:inline-flex;gap:3px;flex-wrap:nowrap;white-space:nowrap}.tt-v--r.tt-form{justify-content:flex-end}
.tt-form i{box-sizing:border-box;padding:0;margin:0;line-height:1;width:22px;height:22px;border-radius:6px;display:grid;place-items:center;font:800 11px/1 var(--f);font-style:normal;color:#fff;background:var(--wait)}
.tt-form i.f-win{background:var(--win)}.tt-form i.f-loss{background:var(--loss)}.tt-form i.f-draw{background:var(--wait)}
.tt-note{padding:10px 20px 14px;font-size:12px;color:var(--ink-3);border-top:1px solid var(--line)}

/* ══ Выбор: большие карточки бойцов ═════════════════════════════════ */
.pk-guest p{color:var(--ink-2);margin:0 0 12px}
.pk-win{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 14px}
.pk-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 12px 14px;border-radius:14px;border:0;background:#F0EFF0;transition:transform .15s,box-shadow .15s,border-color .15s;text-align:center;min-height:0}
.pk-card:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.pk-card b{font:800 20px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;color:var(--ink)}
.pk-card small{font-size:12px;color:var(--ink-3)}
.pk-card .pk-img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid var(--c);background:var(--surface-3)}
.pk-card--red{--c:var(--btn)}.pk-card--blue{--c:var(--blue)}
.pk-card.on{border-color:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 22%,transparent)}
.pk-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 16px}
.pk-mcol{display:flex;flex-direction:column;gap:6px}
.pk-mt{font:800 15px/1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;margin-bottom:2px}
.pk-mcol--red .pk-mt{color:var(--btn)}.pk-mcol--blue .pk-mt{color:var(--blue)}
.pk-m{padding:10px 12px;border-radius:10px;border:0;background:#F0EFF0;font-weight:600;font-size:13.5px;color:var(--ink);text-align:left;min-height:0}
.pk-mcol--red .pk-m.on{border-color:var(--btn);background:var(--red-soft)}.pk-mcol--blue .pk-m.on{border-color:var(--blue);background:var(--blue-soft)}
.pk-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:middle}
.pk-dot--red{background:var(--btn)}.pk-dot--blue{background:var(--blue)}

@media (max-width:820px){
  .bh-eyebrow{padding:14px 14px 0;font-size:11px}
  .bh-duel{grid-template-columns:1fr auto 1fr;gap:6px;padding:16px 10px 6px}
  .bh-img{width:104px;height:104px}.bh-ring{padding:3px}
  .bh-name{font-size:22px}.bh-meta{font-size:12px}
  .bh-vs{font-size:44px;-webkit-text-stroke:1.5px rgba(255,255,255,.7)}
  .bh-cd > span{min-width:42px;padding:5px}.bh-cd b{font-size:17px}
  .bh-cons{padding:8px 14px 4px;font-size:15px}.bh-foot{padding:12px 14px;flex-wrap:wrap}.bh-note{padding:8px 14px 12px}
  .tt-row{grid-template-columns:1fr 96px 1fr;padding:9px 12px;font-size:13px}
  .tt-row--bar{grid-template-columns:52px 1fr 90px 1fr 52px;gap:6px}.tt-v{font-size:12.5px}
  .tt-form i{width:16px;height:16px;font-size:9px;border-radius:4px}
  .pk-win,.pk-methods{gap:8px;padding:0 12px 12px}.pk-card b{font-size:17px}
}

/* ══ Страница бойца: премиум ═══════════════════════════════════════ */
.fh{position:relative;overflow:hidden;border-radius:var(--r);color:#fff;
  background:radial-gradient(120% 90% at 30% 0%,#2a1f28 0%,#151216 55%,#0f0d10 100%);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6);--acc:#e80024;--acc2:#ff7a45}
.fh--kz{--acc:#2f8fe6;--acc2:#7fd0ff}.fh--champ{--acc:#e2b23a;--acc2:#fff0b0}
.fh-glow{position:absolute;left:-15%;top:-30%;width:60%;height:140%;filter:blur(70px);opacity:.5;pointer-events:none;background:radial-gradient(closest-side,var(--acc),transparent)}
.fh-oct{position:absolute;right:-90px;top:-70px;width:460px;height:460px;opacity:.05;pointer-events:none}
.fh-body{position:relative;display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:center;padding:26px 26px 18px}
.fh-ring{display:block;padding:5px;border-radius:50%;background:conic-gradient(from 200deg,var(--acc),var(--acc2),var(--acc));box-shadow:0 24px 50px -20px var(--acc)}
.fh-img{width:200px;height:200px;border-radius:50%;object-fit:cover;object-position:top;display:block;border:4px solid #141216;background:#221d24}
.fh-txt{min-width:0}
.fh-eyebrow{display:flex;align-items:center;gap:8px;font:600 12px/1 var(--f);letter-spacing:.12em;text-transform:uppercase;color:#c9c0c4;flex-wrap:wrap}
.fh-sep{color:#6f6670}
.fh-name{margin:8px 0 4px;font:800 52px/.95 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;letter-spacing:.005em;text-wrap:balance}
.fh-nick{font:500 15px/1.3 var(--f);color:#c9c0c4;display:flex;gap:10px;flex-wrap:wrap}.fh-orig{color:#8d838a}
.fh-badges{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.fh-b{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;background:rgba(255,255,255,.1);font:700 11px/1 var(--f);letter-spacing:.08em;text-transform:uppercase}
.fh-b--c{background:#e2b23a;color:#1a1200}.fh-b--c i{width:16px;height:8px;border-radius:2px;background:linear-gradient(90deg,#8a6a10,#fff0b0,#8a6a10)}
.fh-b--kz{background:#2f8fe6}
.fh-wld{display:flex;gap:26px;margin-top:16px}
.fh-wld > span{display:flex;flex-direction:column;align-items:flex-start}
.fh-wld b{font:800 46px/1 "Barlow Condensed","Arial Narrow",var(--f);font-variant-numeric:tabular-nums}
.fh-wld small{font:600 10.5px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;color:#8d838a;margin-top:4px}
.fh-wld .w b{color:#4fd48a}.fh-wld .l b{color:#ff6b7a}
.fh-stats{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.07);border-top:1px solid rgba(255,255,255,.07)}
.fh-stats > div{background:rgba(0,0,0,.28);padding:12px 18px}
.fh-stats small{display:block;font:600 10px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;color:#8d838a;margin-bottom:5px}
.fh-stats b{font:700 20px/1.1 "Barlow Condensed","Arial Narrow",var(--f)}
.fh-foot{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:rgba(0,0,0,.28);border-top:1px solid rgba(255,255,255,.07)}
.fh-src{font-size:11.5px;color:#6f6670}
/* профиль в цифрах */
.fn-grid{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;padding:6px 20px 18px}
.fn-ring{position:relative;width:140px;height:140px}
.fn-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.fn-ring-bg{fill:none;stroke:var(--surface-2);stroke-width:11}
.fn-ring-v{fill:none;stroke:var(--btn);stroke-width:11;stroke-linecap:round;transition:stroke-dasharray .6s ease-out}
.fn-ring-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.fn-ring-c b{font:800 30px/1 "Barlow Condensed","Arial Narrow",var(--f)}.fn-ring-c small{font:600 9.5px/1.2 var(--f);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);max-width:80px;margin-top:3px}
.fn-bars{display:flex;flex-direction:column;gap:9px;min-width:0}
.fn-bar{display:grid;grid-template-columns:78px 1fr 28px;gap:10px;align-items:center;font-size:13px}
.fn-bar-k{color:var(--ink-2);font-weight:500}.fn-bar b{text-align:right;font-variant-numeric:tabular-nums}
.fn-bar-t{height:8px;border-radius:5px;background:var(--surface-2);overflow:hidden}.fn-bar-t i{display:block;height:100%;border-radius:5px}
.fn-bar--ko{background:linear-gradient(90deg,var(--btn),#ff7a45)}.fn-bar--sub{background:linear-gradient(90deg,#c9961c,#e2b23a)}.fn-bar--dec{background:linear-gradient(90deg,var(--blue),#6bb0ff)}
.fn-meta{display:flex;gap:24px;margin-top:6px;padding-top:10px;border-top:1px solid var(--line)}
.fn-meta > span{display:flex;flex-direction:column;gap:4px}
.fn-meta small{font:600 10px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.fn-meta b{font:700 15px/1.2 var(--f)}.fn-meta b.up{color:var(--win)}.fn-meta b.down{color:var(--loss)}
/* следующий бой */
.nx{display:grid;grid-template-columns:1fr auto 1fr auto;gap:16px;align-items:center;padding:16px 20px;border-left:4px solid var(--btn);transition:transform .15s,box-shadow .15s}
.nx:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.nx-l{display:flex;flex-direction:column;gap:3px;min-width:0}
.nx-tag{font:700 10.5px/1 var(--f);letter-spacing:.1em;text-transform:uppercase;color:var(--btn)}
.nx-ev{font:800 20px/1.1 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.nx-d{font-size:12.5px;color:var(--ink-3)}
.nx-vs{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.nx-vs-t{font:800 26px/1 "Barlow Condensed","Arial Narrow",var(--f);letter-spacing:.06em;color:var(--ink-3)}
.nx-w{font-size:11px;color:var(--ink-3)}
.nx-r{display:flex;align-items:center;gap:10px;min-width:0}
.nx-img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;border:2.5px solid var(--blue);flex-shrink:0}
.nx-name{display:block;font:700 18px/1.05 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}
.nx-r small{color:var(--ink-3);font-size:12px}
.nx-go{font-weight:700;color:var(--btn);white-space:nowrap}
/* история */
.fhs-row{display:grid;grid-template-columns:64px 1fr 1fr auto;gap:14px;align-items:center;padding:12px 20px;border-top:1px solid var(--line);position:relative}
.fhs-row::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--wait)}
.fhs-row--w::before{background:var(--win)}.fhs-row--l::before{background:var(--loss)}
.fhs-d{display:flex;flex-direction:column;line-height:1}
.fhs-d b{font:800 24px/1 "Barlow Condensed","Arial Narrow",var(--f)}.fhs-d small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-top:3px}
.fhs-op{display:flex;align-items:center;gap:10px;min-width:0}
.fhs-img{width:42px;height:42px;border-radius:50%;object-fit:cover;object-position:top;flex-shrink:0;background:var(--surface-2)}
.fhs-op b{display:block;font:700 17px/1.05 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase}.fhs-op small{font-size:12px;color:var(--ink-3)}
.fhs-m{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px}
.fhs-m b{font-weight:600}.fhs-ev{font-size:12px;color:var(--blue)}
@media (max-width:820px){
  .fh-body{grid-template-columns:1fr;text-align:center;gap:14px;padding:20px 16px 14px;justify-items:center}
  .fh-img{width:150px;height:150px}.fh-name{font-size:34px}.fh-eyebrow,.fh-nick,.fh-badges{justify-content:center}
  .fh-wld{justify-content:center;gap:20px}.fh-wld > span{align-items:center}.fh-wld b{font-size:36px}
  .fh-stats{grid-template-columns:repeat(2,1fr)}.fh-foot{flex-wrap:wrap}
  .fn-grid{grid-template-columns:1fr;justify-items:center;gap:14px}.fn-bars{width:100%}
  .nx{grid-template-columns:1fr auto;gap:10px}.nx-vs{display:none}.nx-go{grid-column:1/-1;text-align:right}
  .fhs-row{grid-template-columns:48px 1fr auto;gap:10px;padding:10px 14px}.fhs-m{grid-column:2;font-size:12px}.fhs-d b{font-size:20px}
}

/* Генеральный спонсор: лого в шапке, баннер в сайдбаре, метка на сторис */
.top-fb{display:inline-flex;align-items:center;border-radius:8px;background:#fff;border:0;margin-right:4px}
.top-fb img{height:27px;width:auto;display:block;border-radius:7px;padding:3px;background:#e80024}
/* На главной рейтинг обёрнут в .only-d/.only-m, и flex-gap сайдбара внутрь
   обёртки не попадает — отбиваем баннер вручную; прямому ребёнку gap хватает. */
.pt-side{display:block;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);margin-top:16px}
.rside > .pt-side,.stack > .pt-side{margin-top:0}
.pt-side img{width:100%;height:auto;display:block}
.sr-ring{position:relative}
.sr-fb{font-style:normal;position:absolute;left:-2px;bottom:-2px;z-index:2;width:24px;height:24px;border-radius:50%;background:var(--btn);border:2.5px solid var(--bg);display:grid;place-items:center}
.sr-fb svg{width:11px;height:11px}
@media (max-width:820px){.top-fb{margin-right:0px}.top-fb img{height:20px;padding:2px}.sr-fb{width:22px;height:22px}}

/* ══ Мобильный таб-бар: стеклянная капсула с подписями ══════════════
   При прокрутке вниз бар слегка сжимается (.mbar--min), вверх — возвращается. */
.mbar{display:none}
@media (max-width:820px){
  .mbar{position:fixed;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;
    display:grid;grid-template-columns:repeat(5,1fr);align-items:stretch;height:56px;padding:4px 2px;
    border-radius:28px;background:rgba(255,255,255,.78);
    -webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);
    border:0;
    box-shadow:0 6px 24px rgba(20,10,12,.12);
    transform-origin:50% 100%;transition:transform .28s cubic-bezier(.2,.8,.2,1),height .28s,box-shadow .28s;will-change:transform}
  .mbar--min{transform:scale(.92) translateY(4px);box-shadow:0 4px 16px rgba(20,10,12,.10)}
  .mbar-i{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;
    border-radius:24px;color:var(--ink-2);font:500 10px/1 var(--f);padding:0 2px;min-width:0;cursor:pointer;
    -webkit-tap-highlight-color:transparent;transition:color .18s,transform .18s}
  .mbar-i svg{width:22px;height:22px;stroke-width:1.6}
  .mbar-i span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mbar-i:active{transform:scale(.92)}
  .mbar-i.on{color:var(--btn)}.mbar-i.on svg{stroke-width:2.2}
  .mbar-av{width:24px;height:24px;border-radius:50%;object-fit:cover;display:block}
  .mbar-i--me.on .mbar-av{box-shadow:0 0 0 2px var(--btn)}
  .page{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  body.as-open .mbar{display:none}
  .fg-sec{flex-wrap:wrap}.fg-sec h3{width:100%;flex:none}
  @media (prefers-reduced-motion:reduce){.mbar{transition:none}}
}
@media (max-width:820px) and (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .mbar{background:rgba(30,28,31,.78);box-shadow:0 6px 24px rgba(0,0,0,.45)}
  :root:not([data-theme="light"]) .mbar-i{color:var(--ink-2)}
}
@media (max-width:820px){
  :root[data-theme="dark"] .mbar{background:rgba(30,28,31,.78);box-shadow:0 6px 24px rgba(0,0,0,.45)}
}

/* На телефоне вход есть в нижнем таб-баре — кнопка в шапке лишняя */
@media (max-width:820px){.top-login{display:none}}

/* реклама Fonbet в теле статьи — плашка-реплика */
.pt-say-wrap{margin:22px 0 10px}
.pt-say-wrap .pt-say{margin:0}

/* аватар/меню профиля в мобильной шапке не нужен: кабинет в таб-баре */
@media (max-width:820px){.pop-wrap--me{display:none}}

/* ══ Уведомления на телефоне: страница, выезжающая справа ══════════════ */
.nt-top{display:none}.nt-mark--top{display:none}
@media (max-width:820px){
  .pop--bell{display:flex!important;flex-direction:column;position:fixed;inset:0;z-index:60;width:auto;max-width:none;max-height:none;
    border-radius:0;border:0;box-shadow:none;background:var(--bg);
    transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s .32s}
  .pop--bell.on{transform:translateX(0);visibility:visible;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s}
  .nt-top{display:flex;align-items:center;gap:6px;height:56px;padding:0 10px 0 4px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0}
  .nt-top b{font-size:18px;font-weight:700}
  .nt-back{width:44px;height:44px;border:0;background:none;color:var(--ink);display:grid;place-items:center;border-radius:50%;cursor:pointer}
  .nt-back svg{width:24px;height:24px}
  .pop--bell .nt-head{display:none}
  .nt-top{gap:8px;padding:0 12px 0 4px}
  .nt-top b{font-size:22px;font-weight:800;letter-spacing:-.01em;display:inline-flex;align-items:center;gap:8px}
  .nt-top .nt-count{font:700 11px/1 var(--f);padding:4px 7px;border-radius:9px;background:var(--btn);color:#fff}
  .nt-mark--top{margin-left:auto;border:0;background:none;font:600 13px/1 var(--f);color:var(--blue);padding:10px 4px;cursor:pointer}
  .pop--bell .nt-list{padding:6px 10px calc(24px + env(safe-area-inset-bottom))}
  .pop--bell .nt-sep{margin:14px 6px 6px;padding:0;font:700 15px/1.2 var(--f);color:var(--ink);text-transform:none;letter-spacing:0;border:0;background:none}
  .pop--bell .nt{border:0;border-radius:14px;padding:12px 10px;margin:0 0 4px;gap:12px}
  .pop--bell .nt--new{background:var(--blue-soft)}
  .pop--bell .nt-av .th-av--m{width:48px;height:48px}
  .pop--bell .nt-t{font-size:15px;line-height:1.35}.pop--bell .nt-t b{font-weight:600}
  .pop--bell .nt-p{font-size:13.5px}
  .pop--bell .nt-d{font-size:12px}
  .pop--bell .nt-empty{padding:60px 20px;text-align:center;color:var(--ink-3);font-size:15px}
  .pop--bell .nt-list{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:calc(20px + env(safe-area-inset-bottom))}
  @media (prefers-reduced-motion:reduce){.pop--bell{transition:none}}
}

/* ══ Матч-центр под шапкой ══════════════════════════════════════════ */
.mc{margin:0 0 16px}
.mc-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.mc-t{margin:0;font-size:18px;font-weight:700;letter-spacing:0;display:inline-flex;align-items:baseline}
.mc-t i{width:7px;height:7px;border-radius:50%;background:var(--btn);margin-left:3px;display:inline-block}
.mc-tabs{margin-left:auto;display:flex;gap:2px;padding:4px;border-radius:24px;background:var(--surface-2);max-width:100%;overflow-x:auto;scrollbar-width:none}
.mc-tabs::-webkit-scrollbar{display:none}
.mc-tab{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:7px 12px;border-radius:20px;font:600 13px/1 var(--f);color:var(--ink-2);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.mc-tab.on{background:var(--surface);color:var(--ink);box-shadow:var(--sh)}
.mc-live-n{font:700 10.5px/1 var(--f);padding:3px 6px;border-radius:9px;background:var(--btn);color:#fff}
/* лента: две копии, едет на половину; при наведении стоит */
.mc-view{overflow:hidden;margin:0 -4px;padding:4px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.mc-track{display:flex;gap:14px;width:max-content;animation:mcRun calc(var(--n,8) * 22s) linear infinite}
.mc--still .mc-track{animation:none}.mc--still .mc-dup{display:none}
.mc--still .mc-view{-webkit-mask-image:none;mask-image:none}
.mc-view:hover .mc-track,.mc-view:active .mc-track{animation-play-state:paused}
@keyframes mcRun{to{transform:translateX(calc(-50% - 7px))}}
@media (prefers-reduced-motion:reduce){.mc-track{animation:none}.mc-view{overflow-x:auto}}
.mc-card{width:280px;flex:none;background:var(--surface);border-radius:16px;box-shadow:var(--sh);overflow:hidden;transition:transform .15s,box-shadow .15s}
.mc-card:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.mc-card[hidden]{display:none}
.mc-main{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;padding:12px 12px 10px;color:inherit}
.mc-team{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;text-align:center}
.mc-team img{width:28px;height:28px;object-fit:contain}
.mc-team b{font-size:12.5px;font-weight:600;line-height:1.15;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-mid{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:96px}
.mc-time{font-size:17px;font-weight:700;letter-spacing:0;line-height:1;font-variant-numeric:tabular-nums}
.mc-score{font-size:17px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;color:var(--btn)}
.mc-date{font-size:11px;color:var(--ink-3);white-space:nowrap}
.mc-live{display:inline-flex;align-items:center;gap:5px;font:700 11px/1 var(--f);color:var(--btn)}
.mc-live i{width:6px;height:6px;border-radius:50%;background:var(--btn);animation:waitPulse 1.8s infinite}
.mc-lg{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;color:var(--ink-3);margin-top:3px}
.mc-lg img{width:14px;height:14px;object-fit:contain}
.mc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px 10px;border-top:1px solid #eee}
.mc-exp{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-2);min-width:0}
.mc-exp b{color:var(--ink)}
.mc-exp-empty{font-weight:600;color:var(--btn)}
.mc-avs{display:inline-flex}
.mc-avs img,.mc-avs i{width:22px;height:22px;border-radius:50%;object-fit:cover;border:2px solid var(--surface);margin-left:-8px;background:var(--surface-3);font:700 10px/18px var(--f);text-align:center;font-style:normal;color:var(--ink-2)}
.mc-avs img:first-child,.mc-avs i:first-child{margin-left:0}
.mc-fb{display:inline-flex;align-items:center;gap:0px;padding:2px 5px;border-radius:14px;background:#e80024;color:#fff;flex:none}
.mc-fb img{height:15px;width:auto;display:block}.mc-fb svg{width:12px;height:12px}
@media (max-width:820px){
  .mc{margin:0 0 12px}.mc-t{font-size:18px}.mc-head{gap:8px}
  .mc-tabs{margin-left:0;width:100%}
  .mc-view{-webkit-mask-image:none;mask-image:none;margin:0 -12px;padding:4px 12px}
  .mc-card{width:250px;border-radius:14px}.mc-main{padding:12px 10px 8px}.mc-team img{width:26px;height:26px}.mc-time,.mc-score{font-size:16px}
}

/* ══ Промо-лист Fonbet ═════════════════════════════════════════════ */
.fbs-veil{position:fixed;inset:0;z-index:70;background:rgba(10,8,10,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .35s}
.fbs-veil.on{opacity:1}
.fbs{position:fixed;left:50%;bottom:0;z-index:71;width:min(560px,100%);transform:translate(-50%,105%);
  border-radius:28px 28px 0 0;color:#fff;overflow:hidden;
  background:radial-gradient(120% 100% at 50% 0%,#3a1418 0%,#1a0f12 45%,#0f0d10 100%);
  box-shadow:0 -20px 60px rgba(0,0,0,.45);transition:transform .42s cubic-bezier(.2,.8,.2,1)}
.fbs.on{transform:translate(-50%,0)}
.fbs-glow{position:absolute;left:50%;top:-40%;width:120%;height:90%;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(closest-side,rgba(232,0,36,.55),transparent 70%);filter:blur(30px);animation:fbsGlow 6s ease-in-out infinite alternate}
@keyframes fbsGlow{from{opacity:.7;transform:translateX(-50%) scale(1)}to{opacity:1;transform:translateX(-50%) scale(1.08)}}
.fbs-grip{position:absolute;left:50%;top:10px;width:44px;height:5px;border-radius:3px;background:rgba(255,255,255,.28);transform:translateX(-50%)}
.fbs-x{position:absolute;right:12px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer;z-index:2}
.fbs-x svg{width:18px;height:18px}.fbs-x:hover{background:rgba(255,255,255,.18)}
.fbs-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:40px 24px calc(22px + env(safe-area-inset-bottom))}
.fbs-logo{display:inline-flex;align-items:center;padding:8px 15px;border-radius:10px;background:#fff;box-shadow:0 14px 34px -14px rgba(255,255,255,.6);transition:transform .15s}
.fbs-logo:hover{transform:translateY(-1px)}.fbs-logo img{height:20px;width:auto;display:block}
.fbs-t{margin:14px 0 0;font:800 34px/1.05 "Barlow Condensed","Arial Narrow",var(--f);text-transform:uppercase;letter-spacing:.01em;text-wrap:balance}
.fbs-by{margin:2px 0;font:500 12px/1 var(--f);letter-spacing:.14em;text-transform:uppercase;color:#b7afb3}
.fbs-mr-wrap{width:150px;margin:0;animation:fbsUp .8s .25s cubic-bezier(.2,.8,.2,1) both}
.fbs-mr{width:100%;height:auto;display:block;filter:drop-shadow(0 10px 24px rgba(226,178,58,.25))}
@keyframes fbsUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.fbs-cta{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;margin-top:8px;border-radius:14px;background:var(--btn);color:#fff;font:700 16px/1 var(--f);box-shadow:0 12px 30px -10px rgba(232,0,36,.8);transition:transform .15s,box-shadow .15s}
.fbs-cta:hover{transform:translateY(-1px);box-shadow:0 16px 34px -10px rgba(232,0,36,.9)}.fbs-cta svg{width:16px;height:16px}.fbs-cta .fbs-cta-f{width:15px;height:15px}
.fbs-note{font-size:10.5px;line-height:1.4;color:#6f6670;max-width:440px}
.fbs-note p,.fbs-note .pt-note{margin:0;color:inherit;font-size:inherit}
@media (min-width:821px){.fbs{bottom:24px;border-radius:28px}.fbs-grip{display:none}}
@media (max-width:820px){.fbs-t{font-size:28px}.fbs-in{padding:34px 18px calc(18px + env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.fbs,.fbs-veil,.fbs-mr-wrap,.fbs-glow{transition:none;animation:none}}

/* Реплики резидентов над кружками сторис — пузырёк «мысли» с кружочками к аватару */
.sr-wrap{position:relative;padding-top:58px}
.sr-say{position:absolute;top:0;z-index:5;max-width:min(340px,calc(100% - 8px));display:flex;align-items:center;gap:8px;padding:7px 12px 7px 8px;border-radius:18px;
  background:var(--surface);color:var(--ink);font-size:12.5px;font-weight:500;line-height:1.3;
  box-shadow:var(--sh-2);border:1px solid var(--line);opacity:0;transform:translateY(8px) scale(.9);transform-origin:var(--tail,50%) 100%;
  transition:opacity .28s,transform .34s cubic-bezier(.2,.8,.2,1)}
.sr-say.on{opacity:1;transform:none}
.sr-say-av{width:22px;height:22px;border-radius:50%;object-fit:cover;flex:none}
.sr-say [data-sr-text]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* два кружочка «мысли», спускаются к кольцу говорящего */
.sr-say::after,.sr-say::before{content:"";position:absolute;border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh)}
.sr-say::after{width:10px;height:10px;bottom:-10px;left:calc(var(--tail,50%) - 5px)}
.sr-say::before{width:6px;height:6px;bottom:-19px;left:calc(var(--tail,50%) + 4px)}
.sr-say--off::after,.sr-say--off::before{display:none}
.sr-i--say .sr-ring{animation:srPulse 1.2s ease-out 1}
@keyframes srPulse{0%{box-shadow:0 0 0 0 rgba(232,0,36,.45)}100%{box-shadow:0 0 0 12px rgba(232,0,36,0)}}
@media (prefers-reduced-motion:reduce){.sr-say{transition:none}.sr-i--say .sr-ring{animation:none}}

/* ══ Битва прогнозистов ═══════════════════════════════════════════ */
.eb{overflow:hidden}
.eb-head{display:flex;align-items:center;gap:12px;padding:16px 20px 6px}
.eb-t{margin:0;font-size:18px;font-weight:700;display:inline-flex;align-items:baseline}
.eb-t i{width:7px;height:7px;border-radius:50%;background:var(--btn);margin-left:3px;display:inline-block}
.eb-n{font-size:12.5px;color:var(--ink-3);margin-left:auto}
.eb-cons{display:flex;flex-wrap:wrap;gap:6px;padding:6px 20px 4px}
.eb-cons-i{font-size:12.5px;color:var(--ink-2);padding:5px 10px;border-radius:20px;background:var(--surface-2)}
.eb-cons-i b{color:var(--btn);margin-right:2px}
.eb-grid{display:grid;grid-template-columns:repeat(2,1fr);padding:14px 12px 8px;gap:0}
.eb-grid--1{grid-template-columns:1fr;max-width:420px;margin:0 auto}
.eb-grid--many{grid-template-columns:repeat(3,1fr)}
.eb-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:14px 12px 16px;min-width:0}
/* «VS» между соседями в ряду */
.eb-card + .eb-card::before{content:"VS";position:absolute;left:-1px;top:16px;bottom:16px;width:2px;background:var(--line);
  display:grid;place-items:center;color:var(--ink-3);font:800 12px/1 var(--f);letter-spacing:.06em}
.eb-card + .eb-card::after{content:"VS";position:absolute;left:-18px;top:50%;transform:translateY(-50%);width:36px;height:22px;border-radius:11px;background:var(--surface);
  display:grid;place-items:center;color:var(--ink-3);font:800 11px/1 var(--f);letter-spacing:.08em;box-shadow:var(--sh)}
.eb-card + .eb-card::before{content:""}
.eb-grid--many .eb-card:nth-child(3n+1)::before,.eb-grid--many .eb-card:nth-child(3n+1)::after{display:none}
.eb-av{display:block;width:96px;height:96px;border-radius:50%;padding:4px;background:conic-gradient(from 200deg,#e80024,#ff7a45,#ffc24b,#e80024);box-shadow:0 14px 30px -16px rgba(232,0,36,.6)}
.eb-av img,.eb-av-ph{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:top;border:3px solid var(--surface);display:block;background:var(--surface-2)}
.eb-av-ph{display:grid;place-items:center;font:700 26px/1 var(--f);color:var(--ink-2)}
.eb-name{margin-top:6px;font-size:16.5px;font-weight:700;color:var(--ink);line-height:1.2}
.eb-role{font-size:12.5px;color:var(--ink-3)}
.eb-stat{display:inline-flex;align-items:center;gap:4px;margin-top:4px;padding:5px 10px;border-radius:20px;background:var(--surface-2);font-size:12px;color:var(--ink-2)}
.eb-stat b{color:var(--win)}.eb-stat em{font-style:normal;font-weight:700;color:var(--ink)}
.eb-stat--new{color:var(--ink-3)}
.eb-say{position:relative;margin-top:12px;padding:12px 18px;border-radius:16px;background:var(--red-soft);color:var(--btn);font-size:15.5px;font-weight:700;line-height:1.25;max-width:100%;text-wrap:balance}
.eb-say::before{content:"";position:absolute;left:50%;top:-6px;width:12px;height:12px;margin-left:-6px;background:var(--red-soft);transform:rotate(45deg);border-radius:2px}
.eb-say small{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:8px;background:var(--surface);font-size:12px;font-weight:700;color:var(--ink-2)}
.eb-card--won .eb-say{background:var(--win-soft);color:var(--win)}.eb-card--won .eb-say::before{background:var(--win-soft)}
.eb-card--lost .eb-say{background:var(--surface-2);color:var(--ink-2)}.eb-card--lost .eb-say::before{background:var(--surface-2)}
.eb-card .tag{margin-top:10px}
.eb-fb{display:inline-flex;align-items:center;gap:0px;margin-top:12px;padding:4px 6px;border-radius:6px;background:#e80024;border:0;color:#fff;box-shadow:0 10px 24px -12px rgba(232,0,36,.8);transition:transform .15s,box-shadow .15s}
.eb-fb:hover{transform:translateY(-1px);box-shadow:0 14px 28px -12px rgba(232,0,36,.9)}.eb-fb img{height:18px;width:auto;display:block}.eb-fb svg{width:15px;height:15px}
.eb-note{padding:6px 20px 14px;font-size:10.5px;line-height:1.4;color:var(--ink-3)}.eb-note .pt-note{margin:0;font-size:inherit;color:inherit}
.eb-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 16px 30px;color:var(--ink-3);font-size:14px}
.eb-empty svg{width:34px;height:34px;opacity:.5}
.eb-others{border-top:1px solid var(--line)}
@media (max-width:820px){
  .eb-grid,.eb-grid--many{grid-template-columns:1fr;padding:6px 10px 8px}
  .eb-card{padding:16px 8px}
  .eb-card + .eb-card::before{content:"";left:16px;right:16px;top:-1px;bottom:auto;width:auto;height:1px}
  .eb-card + .eb-card::after{left:50%;top:-11px;transform:translateX(-50%)}
  .eb-grid--many .eb-card:nth-child(3n+1)::before,.eb-grid--many .eb-card:nth-child(3n+1)::after{display:grid}
  .eb-av{width:84px;height:84px}
}

/* водяной знак Fonbet в центре карточки матча */
.mx2{position:relative}
.mx2-f{position:absolute;left:50%;top:50%;width:34px;height:36px;transform:translate(-50%,-50%);pointer-events:none;z-index:0;opacity:.9}
.mx2 > *:not(.mx2-f){position:relative;z-index:1}

/* ══ Enter-анимации графиков (по правилам Bklit: ~1.1s, cubic-bezier(.85,0,.15,1), стаггер) ══
   html.viz ставится скриптом до первой отрисовки: элементы ждут в нулевом состоянии (paused),
   .viz-in снимает паузу, когда блок попал в экран. Без JS класса viz нет — графики просто видны. */
:root{--viz-e:cubic-bezier(.85,0,.15,1);--viz-d:1.1s}
@keyframes vizSweep{from{stroke-dasharray:0 1000}}
@keyframes vizDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes vizFade{from{opacity:0}to{opacity:1}}
@keyframes vizGrowX{from{transform:scaleX(0)}to{transform:none}}
@keyframes vizPop{from{transform:scale(0);opacity:0}to{transform:none;opacity:1}}
@keyframes vizUp{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
/* кольца */
html.viz .dash-ring-v,html.viz .fn-ring-v,html.viz .h2-r-w,html.viz .h2-r-d,html.viz .h2-r-l{animation:vizSweep var(--viz-d) var(--viz-e) both paused;transition:none}
html.viz .h2-r-d{animation-delay:.15s}html.viz .h2-r-l{animation-delay:.3s}
/* кривая точности: линия рисуется, площадь проявляется, точки выскакивают */
html.viz .dash-line{stroke-dasharray:1 1;animation:vizDraw 1.3s var(--viz-e) both paused}
html.viz .dash-area{animation:vizFade .8s .5s ease-out both paused}
html.viz .dash-pt{transform-box:fill-box;transform-origin:center;animation:vizPop .5s calc(.35s + var(--i,0) * 60ms) cubic-bezier(.2,.8,.2,1.2) both paused}
/* бары: растут от базовой линии со стаггером */
html.viz .dash-b-w,html.viz .fn-bar-t i,html.viz .tt-bar i,html.viz .bh-cons-bar i{transform-origin:0 50%;animation:vizGrowX var(--viz-d) calc(var(--i,0) * 90ms) var(--viz-e) both paused}
html.viz .tt-bar--r i{transform-origin:100% 50%}
/* точки последних прогнозов, KPI, карточки экспертов */
html.viz .dash-dot{animation:vizPop .4s calc(var(--i,0) * 45ms) cubic-bezier(.2,.8,.2,1.2) both paused}
html.viz .dash-kpi,html.viz .fh-wld > span,html.viz .eb-card,html.viz .fn-ring{animation:vizUp .6s calc(var(--i,0) * 90ms) cubic-bezier(.2,.8,.2,1) both paused}
/* блок попал в экран — поехали */
html.viz .viz-in .dash-ring-v,html.viz .viz-in .fn-ring-v,html.viz .viz-in .h2-r-w,html.viz .viz-in .h2-r-d,html.viz .viz-in .h2-r-l,
html.viz .viz-in .dash-line,html.viz .viz-in .dash-area,html.viz .viz-in .dash-pt,
html.viz .viz-in .dash-b-w,html.viz .viz-in .fn-bar-t i,html.viz .viz-in .tt-bar i,html.viz .viz-in .bh-cons-bar i,
html.viz .viz-in .dash-dot,html.viz .viz-in .dash-kpi,html.viz .viz-in .fh-wld > span,html.viz .viz-in .eb-card,html.viz .viz-in .fn-ring{animation-play-state:running}
@media (prefers-reduced-motion:reduce){
  html.viz .dash-ring-v,html.viz .fn-ring-v,html.viz .h2-r-w,html.viz .h2-r-d,html.viz .h2-r-l,html.viz .dash-line,html.viz .dash-area,html.viz .dash-pt,
  html.viz .dash-b-w,html.viz .fn-bar-t i,html.viz .tt-bar i,html.viz .bh-cons-bar i,html.viz .dash-dot,html.viz .dash-kpi,html.viz .fh-wld > span,html.viz .eb-card,html.viz .fn-ring{animation:none}
  html.viz .dash-line{stroke-dasharray:none}
}

/* ══ Motion (motion.dev): html.mo ставится в head, элементы ждут reveal ══ */
html.mo :is(.nrow,.ncard,.hs,.sr-i,.lrow,.m-row,.vitem,.sitem,.rs-card,.th,.fg-cal-row,.fg-res-row,.fg-rt-row,.mx2){opacity:0}
.mo-prog{position:fixed;left:0;top:0;width:100%;height:3px;background:var(--btn);transform:scaleX(0);transform-origin:0 50%;z-index:9999;pointer-events:none}
.hx-img{overflow:hidden}
@media (prefers-reduced-motion:reduce){html.mo :is(.nrow,.ncard,.hs,.sr-i,.lrow,.m-row,.vitem,.sitem,.rs-card,.th,.fg-cal-row,.fg-res-row,.fg-rt-row,.mx2){opacity:1}}

/* ══ Герой боя: мерцание VS и бейджа, лучи за бойцами (по мотивам Kokonut shimmer-text / beams-background) ══ */
.bh-vs{-webkit-text-stroke:0;color:transparent;text-shadow:none;
  background:linear-gradient(110deg,rgba(255,255,255,.28) 25%,#fff 46%,#ffd6dc 50%,#fff 54%,rgba(255,255,255,.28) 75%);background-size:260% 100%;
  -webkit-background-clip:text;background-clip:text;animation:bhShine 3.4s linear infinite}
.bh-tag{background:linear-gradient(110deg,#e80024 30%,#ff7a45 50%,#e80024 70%);background-size:230% 100%;color:#fff;animation:bhShine 2.8s linear infinite}
@keyframes bhShine{to{background-position:-260% 0}}
.bh-beams{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.bh > :is(.bh-eyebrow,.bh-duel,.bh-cons,.bh-foot,.bh-note){position:relative;z-index:1}
.bh-beams i{position:absolute;top:-50%;left:var(--l);height:200%;width:var(--w,110px);transform:rotate(24deg);
  background:linear-gradient(180deg,transparent 10%,rgba(255,255,255,.05) 40%,rgba(255,255,255,.13) 50%,rgba(255,255,255,.05) 60%,transparent 90%);
  filter:blur(5px);animation:bhBeam var(--d,11s) linear infinite;animation-delay:var(--dl,0s)}
.bh-beams i:nth-child(2n){background:linear-gradient(180deg,transparent 10%,rgba(255,150,120,.05) 40%,rgba(255,180,160,.12) 50%,rgba(255,150,120,.05) 60%,transparent 90%)}
.bh-beams i:nth-child(3n){background:linear-gradient(180deg,transparent 10%,rgba(120,170,255,.05) 40%,rgba(150,190,255,.12) 50%,rgba(120,170,255,.05) 60%,transparent 90%)}
@keyframes bhBeam{from{transform:translateX(-30vw) rotate(24deg)}to{transform:translateX(75vw) rotate(24deg)}}
@media (prefers-reduced-motion:reduce){.bh-beams i,.bh-vs,.bh-tag{animation:none}.bh-vs{color:#fff;background:none;-webkit-text-fill-color:#fff}}

/* ══ Герой матча «Стадион»: газон, разметка, свечение в цветах команд, лучи, мерцание; табы по разделам ══ */
.mx-head{position:relative;--th:#e80024;--ta:#2f6fd6}
.mx-head--pitch{background:radial-gradient(ellipse at 50% 130%,#1e8a4c,#0f4a2b 55%,#0a3520);color:#fff;border-color:transparent}
.mx-head > :is(.mx-top,.mx-score,.cd,.mx-meta){position:relative;z-index:1}
.mxv-fx{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.mxv-glow{position:absolute;top:-30%;width:55%;height:160%;filter:blur(60px);opacity:.35}
.mxv-glow--h{left:-18%;background:radial-gradient(closest-side,var(--th),transparent)}
.mxv-glow--a{right:-18%;background:radial-gradient(closest-side,var(--ta),transparent)}
.mxv-lines{position:absolute;inset:0;opacity:.16}
.mxv-lines svg{width:100%;height:100%;display:block}
.mxv-beams{position:absolute;inset:0}
.mxv-beams i{position:absolute;top:-50%;left:var(--l);height:200%;width:var(--w,110px);transform:rotate(24deg);filter:blur(5px);animation:mxvBeam var(--d,11s) linear infinite;animation-delay:var(--dl,0s);
  background:linear-gradient(180deg,transparent 10%,rgba(255,255,255,.05) 40%,rgba(255,255,255,.13) 50%,rgba(255,255,255,.05) 60%,transparent 90%)}
.mxv-beams i:nth-child(2n){background:linear-gradient(180deg,transparent 10%,color-mix(in srgb,var(--th) 8%,transparent) 40%,color-mix(in srgb,var(--th) 18%,transparent) 50%,color-mix(in srgb,var(--th) 8%,transparent) 60%,transparent 90%)}
.mxv-beams i:nth-child(3n){background:linear-gradient(180deg,transparent 10%,color-mix(in srgb,var(--ta) 8%,transparent) 40%,color-mix(in srgb,var(--ta) 18%,transparent) 50%,color-mix(in srgb,var(--ta) 8%,transparent) 60%,transparent 90%)}
@keyframes mxvBeam{from{transform:translateX(-30vw) rotate(24deg)}to{transform:translateX(75vw) rotate(24deg)}}
.mx-head--pitch :is(.mx-team b,.mx-nums,.cd-box b){color:#fff}
.mx-head--pitch :is(.mx-mid small,.lbl,.mx-meta,.cd-lbl,.cd-box small){color:#cfe9d8}
.mx-head--pitch .mx-meta svg{color:#cfe9d8}
.mx-head--pitch .tag{background:rgba(255,255,255,.12);color:#fff}
.mx-head--pitch .tag.t-red{background:var(--btn);color:#fff}
.mx-head--pitch .tag.t-live{background:#fff;color:var(--btn)}
.mx-head--pitch .cd{background:rgba(0,0,0,.28);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.mx-head--pitch .cd-box{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.1);color:#fff}
.mx-head--pitch .mx-score{padding:26px 16px 18px}
.mx-head--pitch .mx-team b{font-size:17px;font-weight:700}
.mxv-ring{display:block;padding:4px;border-radius:50%;background:conic-gradient(from 200deg,var(--c),color-mix(in srgb,var(--c) 40%,#fff),var(--c));box-shadow:0 18px 36px -18px var(--c)}
.mxv-ring img{display:block;border-radius:50%;background:#fff;padding:9px;width:86px;height:86px;object-fit:contain}
.mx-team:first-child .mxv-ring{--c:var(--th)}.mx-team:last-child .mxv-ring{--c:var(--ta)}
.mx-mid{position:relative}
.mx-head--pitch .mx-mid > *{position:relative;z-index:1}
.mxv-vs{position:absolute;left:50%;top:50%;transform:translate(-50%,-56%);font:800 96px/1 "Barlow Condensed","Arial Narrow",var(--f);letter-spacing:.04em;color:transparent;pointer-events:none;z-index:0!important;
  background:linear-gradient(110deg,rgba(255,255,255,.14) 25%,rgba(255,255,255,.7) 46%,#ffd6dc 50%,rgba(255,255,255,.7) 54%,rgba(255,255,255,.14) 75%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;animation:mxvShine 3.4s linear infinite}
.mx-head--pitch .mx-nums{font:800 54px/1 "Barlow Condensed","Arial Narrow",var(--f);letter-spacing:.02em;color:transparent;
  background:linear-gradient(110deg,#fff 30%,#c6ffd9 50%,#fff 70%);background-size:230% 100%;-webkit-background-clip:text;background-clip:text;animation:mxvShine 3s linear infinite}
@keyframes mxvShine{to{background-position:-260% 0}}
@media (max-width:640px){.mx-head--pitch .mx-nums{font-size:42px}.mxv-ring img{width:68px;height:68px;padding:7px}.mxv-vs{font-size:76px}.mx-head--pitch .mx-score{padding:20px 12px 14px}}
/* табы-навигация по разделам (smooth-tab) */
.mx-tabs{position:sticky;top:var(--mx-top,64px);z-index:40;margin:0 0 12px;padding:4px;border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:var(--sh);width:max-content;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.mx-tabs::-webkit-scrollbar{display:none}
.mx-tabs-in{width:max-content}
.mx-tabs-in{position:relative;display:flex;gap:2px}
.mx-tabs a{position:relative;z-index:1;padding:8px 15px;border-radius:999px;font-weight:600;font-size:13.5px;color:var(--ink-2);white-space:nowrap;text-decoration:none;transition:color .25s}
.mx-tabs a.on{color:var(--ink)}
.mx-tabs i{position:absolute;top:0;left:0;height:100%;width:0;border-radius:999px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);z-index:0}
.mx-sec{scroll-margin-top:calc(var(--mx-top,64px) + 56px)}
@media (max-width:900px){.mx-tabs{width:auto}.mx-tabs a{padding:7px 12px;font-size:13px}}
@media (prefers-reduced-motion:reduce){.mxv-beams i,.mxv-vs,.mx-head--pitch .mx-nums{animation:none}.mx-head--pitch .mx-nums{color:#fff;background:none;-webkit-text-fill-color:#fff}}

/* ══ Сарапшылар шайқасы: карточки-плитки, кольцо точности на аватаре ══ */
.eb-grid{gap:12px;padding:10px 16px 12px}
.eb-grid .eb-card::before,.eb-grid .eb-card::after{display:none!important}
.eb-card{gap:8px;padding:20px 14px 14px;border-radius:20px;background:var(--surface-2);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.eb-card:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.eb-ring{position:relative;display:block;width:104px;height:104px;--rc:var(--ink-3)}
.eb-ring.g{--rc:var(--win)}
.eb-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.eb-ring .bg{fill:none;stroke:var(--line);stroke-width:4}
.eb-ring .v{fill:none;stroke:var(--rc);stroke-width:4;stroke-linecap:round}
.eb-ring .eb-av{position:absolute;inset:8px;width:auto;height:auto;padding:0;border-radius:50%;overflow:hidden;background:var(--surface);box-shadow:none}
.eb-ring .eb-av img,.eb-ring .eb-av-ph{border:0}
.eb-acc{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);padding:2px 8px;border-radius:999px;background:var(--rc);color:#fff;font-size:12px;font-weight:700;line-height:1.3;box-shadow:0 0 0 3px var(--surface-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.eb-acc--new{background:var(--surface);color:var(--ink-3);box-shadow:0 0 0 3px var(--surface-2),inset 0 0 0 1px var(--line)}
.eb-card .eb-name{margin-top:8px;font-size:17px}
.eb-card .eb-say{margin-top:8px}
.eb-card .eb-fb,.eb-card .tag{margin-top:auto}
html.viz .eb-ring .v{animation:vizSweep var(--viz-d) var(--viz-e) both paused}
html.viz .viz-in .eb-ring .v{animation-play-state:running}
@media (max-width:640px){.eb-grid{grid-template-columns:1fr}.eb-ring{width:96px;height:96px}}
@media (prefers-reduced-motion:reduce){html.viz .eb-ring .v{animation:none}}

/* пузырь прогноза на плитке — белый при любом статусе, цвет текста передаёт результат */
.eb-card .eb-say,.eb-card--won .eb-say,.eb-card--lost .eb-say{background:var(--surface)}
.eb-card .eb-say::before,.eb-card--won .eb-say::before,.eb-card--lost .eb-say::before{background:var(--surface)}
.eb-head{padding-bottom:2px}

/* время матча на уровне эмблем, а не по центру всего блока с названиями */
.mx-head--pitch .mx-score{align-items:start}
.mx-head--pitch .mx-mid{padding-top:10px}
@media (max-width:640px){.mx-head--pitch .mx-mid{padding-top:2px}}

/* общий сброс полей снимал с чекбоксов системный вид: включённый и выключенный выглядели одинаково */
input[type=checkbox],input[type=radio]{-webkit-appearance:auto;appearance:auto;width:auto;height:auto;padding:0;border:0;background:none;border-radius:0;accent-color:var(--btn);cursor:pointer}
.as-remember{cursor:pointer}
.as-remember input{width:17px;height:17px;flex:none}
.lg-rem{cursor:pointer}
.lg-rem input{width:17px;height:17px;flex:none}

/* ══ Знакомство резидента с сайтом (/welcome) и редактирование профиля (/cabinet/profile) ══ */
.ob{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:18px;padding-bottom:40px}
.ob-head{display:flex;flex-direction:column;gap:6px;padding-top:6px}
.ob-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--btn)}
.ob-head h1{margin:0;font-size:clamp(24px,4.4vw,32px);line-height:1.15;font-weight:800;text-wrap:balance}
.ob-head p{margin:0;color:var(--ink-2);font-size:15px;max-width:60ch}
.ob-back{font-size:13.5px;font-weight:600;color:var(--ink-3);text-decoration:none}
.ob-back::before{content:"‹ "}
.ob-back:hover{color:var(--ink)}

/* шаги */
.ob-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;list-style:none;margin:4px 0 0;padding:0;counter-reset:none}
.ob-st{position:relative;display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:12px;background:var(--surface-2);color:var(--ink-3);font-size:13.5px;font-weight:600;min-width:0}
.ob-st-n{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface);color:var(--ink-3);font-size:12.5px;font-weight:800;box-shadow:inset 0 0 0 1.5px var(--line)}
.ob-st-n svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ob-st-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ob-st.on{background:var(--red-soft);color:var(--ink)}
.ob-st.on .ob-st-n{background:var(--btn);color:#fff;box-shadow:none}
.ob-st.done{color:var(--ink-2)}
.ob-st.done .ob-st-n{background:var(--win);box-shadow:none}

.ob-sec{display:flex;flex-direction:column;gap:6px}
.ob-h2{margin:6px 0 0;font-size:20px;font-weight:800}
.ob-lead{margin:0 0 8px;color:var(--ink-2);font-size:14.5px;max-width:62ch}
.ob-card{padding:0;overflow:hidden}

/* обложка и фото */
.ob-cover{position:relative;display:block;aspect-ratio:3.4/1;background:linear-gradient(135deg,#2a1d24,#12101a 60%,#3a121b) center/cover no-repeat;cursor:pointer}
.ob-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.35));pointer-events:none}
.ob-chg{position:absolute;right:12px;bottom:12px;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:rgba(16,14,18,.62);backdrop-filter:blur(6px);color:#fff;font-size:12.5px;font-weight:600;transition:background .15s}
.ob-chg svg,.ob-ava-cam svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.ob-cover:hover .ob-chg{background:rgba(16,14,18,.82)}
.ob-cover--new{box-shadow:inset 0 0 0 3px var(--win)}
.ob-ava-row{display:flex;align-items:flex-end;gap:14px;padding:0 20px;margin-top:-44px;position:relative;z-index:2}
.ob-ava{position:relative;flex:none;width:104px;height:104px;border-radius:50%;padding:4px;background:var(--surface);box-shadow:var(--sh);cursor:pointer}
.ob-ava img,.ob-ava .ob-ava-ph{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:top;display:block}
.ob-ava-ph{display:grid;place-items:center;background:var(--surface-2);color:var(--ink-2);font-weight:800;font-size:28px}
.ob-ava-cam{position:absolute;right:2px;bottom:4px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--btn);color:#fff;box-shadow:0 0 0 3px var(--surface)}
.ob-ava--new{box-shadow:0 0 0 3px var(--win),var(--sh)}
.ob-ava-txt{display:flex;flex-direction:column;gap:2px;padding-bottom:8px;min-width:0}
.ob-ava-txt b{font-size:14.5px}
.ob-ava-txt small{font-size:12.5px;color:var(--ink-3)}

/* поля */
.ob-fields{display:flex;flex-direction:column;gap:14px;padding:18px 20px 4px}
.ob-f{display:flex;flex-direction:column;gap:6px}
.ob-f label{display:flex;align-items:baseline;gap:8px;font-size:13px;font-weight:700;color:var(--ink-2)}
.ob-f input,.ob-f textarea,.ob-post textarea{width:100%;padding:11px 13px;border:1.5px solid transparent;border-radius:12px;background:var(--surface-2);color:var(--ink);font:inherit;font-size:16px;line-height:1.45;transition:border-color .15s,background .15s}
.ob-f textarea,.ob-post textarea{resize:vertical;min-height:84px}
.ob-f input:focus,.ob-f textarea:focus,.ob-post textarea:focus{outline:none;border-color:var(--blue);background:var(--surface)}
.ob-f.bad input,.ob-f.bad textarea{border-color:var(--loss)}
.ob-count{margin-left:auto;font-size:12px;font-weight:600;color:var(--ink-3);font-variant-numeric:tabular-nums}
.ob-count.ok{color:var(--win)}
.ob-err{margin:0;font-size:13px;font-weight:600;color:var(--loss)}
.ob-err--top{padding:12px 20px;background:var(--loss-soft)}
.ob-err--pad{padding:8px 20px 0}

.ob-locked{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px 14px;border-radius:12px;border:1px dashed var(--line);background:var(--surface)}
.ob-lk{display:flex;flex-direction:column;gap:2px;min-width:0}
.ob-lk span{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-3)}
.ob-lk b{font-size:14px;font-weight:600;color:var(--ink-2);overflow-wrap:anywhere}
.ob-locked p{grid-column:1/-1;display:flex;align-items:center;gap:6px;margin:0;font-size:12.5px;color:var(--ink-3)}
.ob-locked svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}

.ob-foot{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px 20px}
.ob-go{min-width:200px}

/* пост */
.ob-post{padding:18px 20px 0;display:flex;flex-direction:column;gap:12px}
.ob-post .ob-foot{padding:4px 0 20px}
.ob-who{display:flex;align-items:center;gap:11px}
.ob-who img,.ob-who .ob-ava-ph{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top;font-size:15px}
.ob-who span{display:flex;flex-direction:column;line-height:1.25}
.ob-who small{font-size:12.5px;color:var(--ink-3)}
.ob-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ob-file{cursor:pointer}
.ob-count--post{margin-left:auto}
@keyframes obShake{25%{transform:translateX(-6px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}
.ob-shake{animation:obShake .4s;border-color:var(--loss)!important}

/* матчи */
.ob-day{margin:14px 0 6px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-3)}
.ob-ms{padding:4px 0}
.ob-m{padding:12px 16px 14px;display:flex;flex-direction:column;gap:9px;margin:0}
.ob-m + .ob-m{border-top:1px solid var(--line)}
.ob-m-meta{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--ink-3);min-width:0}
.ob-m-meta img{width:16px;height:16px;object-fit:contain}
.ob-m-t{font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.ob-m-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ob-m-go{margin-left:auto;flex:none;color:var(--ink-3);text-decoration:none;font-weight:600}
.ob-m-go:hover{color:var(--btn)}
.ob-m-opts{display:grid;grid-template-columns:1fr 76px 1fr;gap:8px}
.ob-m .ob-qp{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:9px;min-height:48px;padding:8px 12px;border:1.5px solid transparent;border-radius:12px;background:var(--surface-2);color:var(--ink);font:inherit;text-align:left;cursor:pointer;min-width:0;transition:background .15s,border-color .15s,transform .1s}
.ob-m .ob-qp img{width:26px;height:26px;object-fit:contain;flex:none}
.ob-m .ob-qp b{font-size:14px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ob-m .ob-qp.ob-qp--x{justify-content:center;text-align:center}
.ob-m .ob-qp:hover{border-color:var(--line)}
.ob-m .ob-qp:active{transform:scale(.98)}
.ob-m .ob-qp.on{background:var(--red-soft);border-color:var(--btn)}
.ob-m .ob-qp.on b{color:var(--btn)}
.ob-empty{padding:22px 20px;color:var(--ink-2);font-size:14.5px}

.ob-finish{position:sticky;bottom:12px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 18px;border-radius:16px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px);border:1px solid var(--line);box-shadow:var(--sh-2);margin:0}
.ob-made{font-size:14px;color:var(--ink-2)}
.ob-made b{font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums;margin-right:3px}
.ob-finish .btn{min-width:150px}
.ob-view{margin:0;text-align:center;font-size:14px}
.ob-view a{color:var(--ink-2);font-weight:600}

@media (max-width:640px){
  .ob{gap:14px}
  .ob-st{padding:8px 9px;gap:7px;font-size:12.5px}
  .ob-cover{aspect-ratio:2.6/1}
  .ob-ava-row{padding:0 14px;margin-top:-36px}
  .ob-ava{width:88px;height:88px}
  .ob-fields{padding:16px 14px 4px}
  .ob-locked{grid-template-columns:1fr}
  .ob-foot{padding:14px 14px 16px}
  .ob-go{flex:1;min-width:0}
  .ob-post{padding:16px 14px 0}
  .ob-m{padding:12px 12px 13px}
  .ob-m-opts{grid-template-columns:1fr 58px 1fr;gap:6px}
  .ob-m .ob-qp{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:9px 6px;min-height:74px}
  .ob-m .ob-qp b{font-size:12.5px}
  .ob-finish{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.ob-shake{animation:none}}
@media (max-width:640px){.ob-steps{display:flex}.ob-st{flex:0 0 auto}.ob-st.on{flex:1 1 auto}.ob-st:not(.on) .ob-st-t{display:none}}

/* точный счёт на шаге с матчами */
.ob-m-f{margin:0}
.ob-cs{margin:0}
.ob-cs > summary{list-style:none;display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:4px 2px;cursor:pointer;font-size:13px;font-weight:700;color:var(--ink-2);user-select:none}
.ob-cs > summary::-webkit-details-marker{display:none}
.ob-cs > summary:hover{color:var(--ink)}
.ob-cs-ic{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.ob-cs-ic::before{content:"+";font-size:14px;font-weight:800;line-height:1;color:var(--ink-3)}
.ob-cs[open] .ob-cs-ic::before{content:"−"}
.ob-cs-bonus{padding:2px 7px;border-radius:999px;background:var(--win-soft);color:var(--win);font-size:11.5px;font-weight:700}
.ob-cs-val{padding:2px 9px;border-radius:999px;background:var(--btn);color:#fff;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
.ob-cs.on > summary{color:var(--btn)}
.ob-cs.on .ob-cs-ic{background:var(--btn);box-shadow:none}
.ob-cs.on .ob-cs-ic::before{color:#fff}
.ob-cs-f{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 14px;margin:8px 0 2px;padding:12px;border-radius:12px;background:var(--surface-2)}
.ob-cs-side{display:inline-flex;align-items:center;gap:8px}
.ob-cs-side img{width:22px;height:22px;object-fit:contain}
.ob-cs-b{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font:700 18px/1 var(--f);cursor:pointer;touch-action:manipulation;transition:border-color .15s,color .15s}
.ob-cs-b:hover{border-color:var(--blue);color:var(--blue)}
.ob-cs-v{min-width:20px;text-align:center;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.ob-cs-sep{font-size:20px;font-weight:800;color:var(--ink-3)}
.ob-cs-go{min-height:34px}
@media (max-width:640px){
  .ob-cs-b{width:38px;height:38px}
  .ob-cs-go{flex:1 0 100%;min-height:40px;justify-content:center}
}

/* ══ Превью YouTube-ссылки в посте ══ */
.th-yt{display:block;max-width:560px;margin-top:10px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.th-yt:hover{border-color:var(--line-2);box-shadow:var(--sh)}
.th-yt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.th-yt-img{position:relative;display:block;aspect-ratio:16/9;background:#0e0e10;overflow:hidden}
.th-yt-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.th-yt:hover .th-yt-img img{transform:scale(1.03)}
.th-yt-play{position:absolute;left:50%;top:50%;width:64px;height:44px;margin:-22px 0 0 -32px;display:grid;place-items:center;border-radius:12px;background:rgba(15,15,15,.78);transition:background .15s}
.th-yt:hover .th-yt-play{background:#ff0000}
.th-yt-play svg{width:28px;height:28px;fill:#fff}
.th-yt-tag{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:6px;background:rgba(15,15,15,.78);color:#fff;font-size:11.5px;font-weight:700}
.th-yt-cap{display:flex;flex-direction:column;gap:4px;padding:10px 14px 12px}
.th-yt-cap small{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:var(--ink-3)}
.th-yt-cap small svg{width:20px;height:14px;flex:none}
.th-yt-cap b{font-size:14.5px;font-weight:700;line-height:1.35;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-yt--short{max-width:280px}
.th-yt--short .th-yt-img{aspect-ratio:9/16}
@media (prefers-reduced-motion:reduce){.th-yt-img img{transition:none}}

/* ══ Отметка «в сети» ══ */
.av-on{position:relative;display:inline-flex;flex:none;vertical-align:middle}
.on-dot{position:absolute;right:-1px;bottom:-1px;z-index:2;width:11px;height:11px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px var(--surface);pointer-events:none}
.av-on .th-av--s ~ .on-dot{width:9px;height:9px}
.sr-ring .on-dot{right:0;bottom:0;width:16px;height:16px;box-shadow:0 0 0 2.5px var(--bg)}
.rp-ava{position:relative}
.rp-ava .on-dot{right:9px;bottom:9px;width:20px;height:20px;box-shadow:0 0 0 3px var(--surface)}
.eb-ring .on-dot{top:9px;right:9px;bottom:auto;width:16px;height:16px;box-shadow:0 0 0 3px var(--surface-2)}
.rp-seen{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12.5px;color:var(--ink-3)}
.rp-seen--on{color:#16a34a;font-weight:600}
.rp-seen--on i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}

/* ══ Прогноз на странице матча: опрос (#pick.pv) ══ */
.pv{overflow:hidden;position:relative}
.pv-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 6px}
.pv-head h3{margin:0;font-size:19px;font-weight:800;line-height:1.2}
.pv-head p{margin:4px 0 0;font-size:13px;color:var(--ink-2)}
.pv-head p b{color:var(--ink);font-variant-numeric:tabular-nums}
.pv-timer{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:var(--surface-2);font-size:12px;font-weight:700;color:var(--ink-2);white-space:nowrap;font-variant-numeric:tabular-nums}
.pv-timer i{width:7px;height:7px;border-radius:50%;background:var(--win);box-shadow:0 0 0 3px var(--win-soft)}
.pv-pts{display:inline-flex;align-items:center;padding:2px 7px;border-radius:6px;background:var(--win-soft);color:var(--win);font-size:11.5px;font-weight:800;white-space:nowrap}
.pv-called{margin:6px 18px 0;font-size:13px;color:var(--ink-3)}
.pv-rows{display:flex;flex-direction:column;gap:8px;margin:0;padding:10px 18px 0}
.pv-opt{position:relative;cursor:pointer;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;text-align:left;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .18s,background .18s}
.pv-opt:hover{border-color:var(--line-2)}
.pv-opt:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.pv-opt.on{border-color:var(--blue);background:var(--blue-soft)}
.pv-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 14px;border-radius:14px;overflow:hidden}
.pv-row > :not(.pv-bar){position:relative;z-index:1}
.pv-row .pv-bar{position:absolute;left:0;top:0;bottom:0;width:100%;background:var(--blue);opacity:.12;transform:scaleX(0);transform-origin:0 50%;z-index:0}
.pv-row img{width:28px;height:28px;object-fit:contain;flex:none}
.pv-x{width:28px;height:28px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-weight:800;font-size:13px;color:var(--ink-2);flex:none}
.pv-row b{flex:1;min-width:0;font-size:15px;font-weight:700}
.pv-radio{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--line-2);display:grid;place-items:center;background:var(--surface);transition:border-color .18s,background .18s}
.pv-radio svg{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.pv-opt.on .pv-radio{border-color:var(--blue);background:var(--blue)}
.pv-opt.on .pv-radio svg{opacity:1}
.pv-you{display:none;padding:2px 7px;border-radius:6px;background:var(--blue);color:#fff;font-size:11px;font-weight:800}
.pv-row.on .pv-you{display:inline-block}
.pv-pct{font-size:12.5px;font-weight:700;color:var(--ink-3);font-variant-numeric:tabular-nums;opacity:0;transition:opacity .25s}
.pv.revealed .pv-pct{opacity:1}
.pv-status{display:none;align-items:center;gap:10px;margin:10px 18px 0;padding:10px 12px;border-radius:12px;background:var(--win-soft);color:var(--win);font-size:13.5px;font-weight:700}
.pv-status.show{display:flex}
.pv-status.err{background:var(--loss-soft);color:var(--loss)}
.pv-status svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pv-status.err svg{display:none}
.pv-boost{display:none;align-items:center;gap:12px;margin:10px 18px 0;padding:12px 14px;border-radius:14px;background:var(--red-soft)}
.pv-boost.show{display:flex}
.pv-boost-ic{flex:none;width:36px;height:36px;border-radius:10px;background:var(--btn);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px}
.pv-boost > span:nth-child(2){min-width:0}
.pv-boost b{display:block;font-size:14px}
.pv-boost small{display:block;font-size:12.5px;color:var(--ink-2)}
.pv-boost.on b{color:var(--btn)}
.pv-boost button{margin-left:auto;flex:none;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--btn);color:#fff;font:700 13px var(--f);cursor:pointer;touch-action:manipulation}
.pv-boost button:hover{background:#c4001e}
.pv-cs{margin:0;padding:10px 18px 0}
.pv-cs[hidden]{display:none}
.pv-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:12px;border-radius:14px;background:var(--surface-2)}
.pv-side{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.pv-side img{width:34px;height:34px;object-fit:contain}
.pv-side > span:not(.pv-ctl){font-size:12.5px;font-weight:600;color:var(--ink-2);text-align:center;line-height:1.2}
.pv-ctl{display:flex;align-items:center;gap:8px}
.pv-b{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:700 20px/1 var(--f);cursor:pointer;display:grid;place-items:center;padding:0;touch-action:manipulation;transition:border-color .15s,color .15s,background .15s}
.pv-b:hover{border-color:var(--blue);color:var(--blue)}
.pv-b:active{background:var(--blue-soft)}
.pv-v{min-width:26px;text-align:center;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}
.pv-colon{font-size:26px;font-weight:800;color:var(--ink-3);line-height:1;align-self:center}
.pv-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin-top:10px;border:0;border-radius:12px;background:var(--btn);color:#fff;font:700 15px/1 var(--f);cursor:pointer;touch-action:manipulation;transition:background .2s}
.pv-go:hover{background:#c4001e}
.pv-go.done{background:var(--win)}
.pv-go:disabled{opacity:.6;cursor:wait}
.pv-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pv-guest{display:flex;align-items:center;gap:12px;margin:10px 18px 0;padding:12px 14px;border-radius:12px;background:var(--surface-2)}
.pv-guest p{margin:0;flex:1;font-size:13.5px;color:var(--ink-2)}
.pv-guest .btn{flex:none}
.pv-guest.shake{animation:pvShake .4s}
@keyframes pvShake{25%{transform:translateX(-5px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}
.pv-foot{padding:12px 18px 16px}
.pv-note{margin:0;font-size:12px;color:var(--ink-3);line-height:1.4}
@media (max-width:640px){
  .pv-head{padding:14px 14px 4px}.pv-head h3{font-size:17px}
  .pv-timer{font-size:11px;padding:5px 8px}
  .pv-rows,.pv-cs{padding-left:14px;padding-right:14px}
  .pv-status,.pv-boost,.pv-guest,.pv-called{margin-left:14px;margin-right:14px}
  .pv-foot{padding:12px 14px 14px}
  .pv-row b{font-size:14px}
  .pv-boost{flex-wrap:wrap}.pv-boost button{width:100%}
  .pv-v{font-size:26px}.pv-b{width:44px;height:44px}
}
@media (prefers-reduced-motion:reduce){.pv-guest.shake{animation:none}}

/* верхнее меню из семи пунктов: плотнее, чтобы помещалось на 1280 */
.top-cats{margin-left:18px}
.top-cats .top-cats-i{padding:7px 11px}

/* ═══ Левое меню: парящая панель с профилем, поиском и скользящей подсветкой ═══ */
/* ── общее для панели ── */
html .rail{background:var(--surface)}

/* шапка: кто вошёл */
.sb-me{display:flex;flex-direction:column;align-items:center;gap:2px;padding:18px 14px 10px;text-align:center;overflow:hidden;text-decoration:none;color:inherit;flex:none}
.sb-ava{position:relative;flex:none;width:56px;height:56px;border-radius:50%;padding:3px;background:conic-gradient(from 200deg,var(--btn),#ff7a45,var(--btn));transition:width .32s cubic-bezier(.2,.8,.2,1),height .32s cubic-bezier(.2,.8,.2,1)}
.sb-ava img,.sb-ava span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:top;border:2.5px solid var(--surface);background:var(--surface-2);color:var(--ink-2)}
.sb-ava svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sb-ava i{position:absolute;right:1px;bottom:1px;width:13px;height:13px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2.5px var(--surface)}
.sb-me--guest .sb-ava{background:var(--line)}
.sb-name{margin-top:8px;font-size:14.5px;font-weight:700;line-height:1.2;white-space:nowrap;color:var(--ink)}
.sb-role{font-size:12px;color:var(--ink-3);white-space:nowrap}
.sb-login{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-top:8px;padding:0 16px;border-radius:10px;background:var(--btn);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}

/* поиск с горячей клавишей */
.sb-search{position:relative;display:flex;align-items:center;gap:8px;flex:none;height:40px;margin:6px 12px 6px;padding:0 10px 0 12px;border-radius:12px;background:var(--surface-2);border:1.5px solid transparent;transition:border-color .18s,background .18s,box-shadow .18s;overflow:hidden;cursor:text}
.sb-search:focus-within{background:var(--surface);border-color:var(--btn);box-shadow:0 0 0 4px var(--red-soft)}
.sb-search svg{flex:none;width:17px;height:17px;fill:none;stroke:var(--ink-3);stroke-width:1.9;stroke-linecap:round}
.sb-search input{flex:1;min-width:0;height:100%;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;outline:none;border-radius:0}
.sb-search input::placeholder{color:var(--ink-3)}
.sb-search kbd{flex:none;padding:2px 6px;border-radius:6px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font:600 11px var(--f);color:var(--ink-3);white-space:nowrap}
.sb-search:focus-within kbd{opacity:0}

/* пункты: скользящая подсветка */
html .rail-nav{position:relative;padding:4px 10px 8px;gap:2px;overflow-x:hidden}
html .rail-sep{padding:14px 10px 6px;white-space:nowrap;overflow:hidden;transition:padding .25s}
html .ri{z-index:1;min-height:42px;border-radius:12px;background:none;transition:color .15s}
html .ri:hover{background:none}
html .ri.on{background:var(--red-soft);color:var(--ink)}
html .ri.on svg{color:var(--btn)}
html .ri.on::before{display:none}
html .ri-t{white-space:nowrap;transition:opacity .18s}
.sb-pill{position:absolute;left:10px;right:10px;top:0;height:42px;border-radius:12px;background:var(--surface-2);opacity:0;pointer-events:none;z-index:0;transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .15s}
.sb-pill.show{opacity:1}

/* подвал: спонсор */
.sb-foot{flex:none;margin-top:auto;padding:8px 12px 14px;overflow:hidden}
.sb-fb{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--surface-2);color:var(--ink-2);font-size:12px;text-decoration:none;white-space:nowrap}
.sb-fb img{flex:none;height:22px;width:auto;padding:4px 6px;border-radius:6px;background:#e80024;display:block}
.sb-fb b{display:block;font-size:12.5px;color:var(--ink)}

/* кнопка-стрелка на краю */
.sb-tg{display:none}

/* ── широкий экран: парящая панель и компактный режим ── */
@media (min-width:901px){
  :root{--rail:264px}
  :root.rail-mini{--rail:92px}
  html .app{transition:grid-template-columns .36s cubic-bezier(.2,.8,.2,1)}
  html .rail{top:calc(var(--top-h) + 12px);height:calc(100dvh - var(--top-h) - 24px);margin:12px 0 12px 12px;border-radius:22px;border:1px solid var(--line);box-shadow:var(--sh);overflow:visible}
  html .rail-nav{padding-top:4px}
  .sb-tg{display:grid;place-items:center;position:absolute;right:-14px;top:30px;z-index:5;width:28px;height:28px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);box-shadow:var(--sh);cursor:pointer;transition:color .15s,border-color .15s,transform .15s}
  .sb-tg:hover{color:var(--btn);border-color:var(--btn);transform:scale(1.08)}
  .sb-tg svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
  html.rail-mini .sb-tg svg{transform:rotate(180deg)}

  /* компактный: колонка значков, а не сплющенное меню */
  html.rail-mini .sb-me{padding:16px 0 8px}
  html.rail-mini .sb-ava{width:42px;height:42px;padding:2px}
  html.rail-mini .sb-ava i{width:11px;height:11px}
  html.rail-mini .sb-name,html.rail-mini .sb-role,html.rail-mini .sb-login{display:none}
  html.rail-mini .sb-search{width:44px;margin:6px auto;padding:0;justify-content:center;cursor:pointer}
  html.rail-mini .sb-search input,html.rail-mini .sb-search kbd{display:none}
  html.rail-mini .rail-nav{padding:4px 12px 8px;overflow:visible}
  html.rail-mini .ri{justify-content:center;padding:0;gap:0}
  html.rail-mini .ri-t{display:block;width:0;opacity:0;overflow:hidden}
  html.rail-mini .sb-pill{left:12px;right:12px}
  html.rail-mini .rail-sep{height:1px;margin:10px 16px;padding:0;background:var(--line);font-size:0}
  html.rail-mini .sb-foot{padding:8px 0 14px;display:flex;justify-content:center}
  html.rail-mini .sb-fb{padding:6px;background:none}
  html.rail-mini .sb-fb span{display:none}
  html.rail-mini .sb-fb img{height:26px;width:44px;object-fit:cover;object-position:left;padding:5px 6px}

  /* подсказка с названием в компактном режиме */
  html.rail-mini .ri::after{content:attr(data-tip);position:absolute;left:calc(100% + 16px);top:50%;z-index:10;padding:6px 10px;border-radius:8px;background:var(--ink);color:var(--bg);font-size:12.5px;font-weight:600;white-space:nowrap;opacity:0;transform:translate(-6px,-50%);pointer-events:none;transition:opacity .15s,transform .2s cubic-bezier(.2,.8,.2,1)}
  html.rail-mini .ri:hover::after,html.rail-mini .ri:focus-visible::after{opacity:1;transform:translate(0,-50%)}
}

/* телефон: та же панель выезжает поверх страницы */
@media (max-width:900px){
  html .rail{width:280px;border-radius:0 22px 22px 0}
  html .rail .rail-close{position:absolute;right:10px;top:10px;z-index:4}
  .sb-search kbd{display:none}
}
/* низкий экран: в свёрнутом меню спонсора прячем, чтобы значки не вылезали за панель */
@media (min-width:901px) and (max-height:700px){html.rail-mini .sb-foot{display:none}}
@media (prefers-reduced-motion:reduce){html .app,.sb-pill,.sb-ava,.sb-tg svg{transition:none}}
.sb-name,.sb-role{max-width:100%;overflow:hidden;text-overflow:ellipsis}


/* ═══ Push-уведомления: приглашение и строка настроек ═══ */
.nt-ico--like{background:var(--btn)}
.pp{position:fixed;right:18px;bottom:18px;z-index:140;display:flex;gap:12px;width:348px;max-width:calc(100vw - 24px);padding:16px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-2);opacity:0;transform:translateY(14px);transition:opacity .28s,transform .32s cubic-bezier(.2,.8,.2,1)}
.pp[hidden],.pp-row[hidden],.pp-b[hidden]{display:none}
.pp.on{opacity:1;transform:none}
.pp-i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--red-soft);color:var(--btn)}
.pp-i svg{width:21px;height:21px}
.pp-c{min-width:0;flex:1}
.pp-h{display:block;font-size:15px;font-weight:700;line-height:1.25;color:var(--ink)}
.pp-p{margin:4px 0 12px;font-size:13.5px;line-height:1.4;color:var(--ink-2)}
.pp-acts{display:flex;gap:8px}
.pp-b{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border:0;border-radius:10px;font:700 13px var(--f);cursor:pointer;white-space:nowrap;transition:background .15s,opacity .15s}
.pp-b:disabled{opacity:.55;cursor:default}
.pp-b--main{background:var(--btn);color:#fff}
.pp-b--ghost{background:var(--surface-2);color:var(--ink)}
.pp-b--ghost:hover{background:var(--surface-3)}
.pp-row{display:flex;align-items:center;gap:10px;flex:none;margin:6px 10px;padding:10px 12px;border-radius:12px;background:var(--surface-2)}
.pp-row-i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--surface);color:var(--ink-2)}
.pp-row--on .pp-row-i{color:#16a34a}
.pp-row-i svg{width:17px;height:17px}
.pp-row-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.pp-row-t b{font-size:13.5px;font-weight:700;color:var(--ink)}
.pp-row-t small{font-size:12px;color:var(--ink-3)}
.pp-row .pp-b{min-height:32px;padding:0 11px;font-size:12.5px}
.pp-row .pp-b--ghost{background:var(--surface)}
@media (max-width:900px){.pp{left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:auto;max-width:none}}
@media (prefers-reduced-motion:reduce){.pp{transition:none}}

/* push: шаги после нажатия, подсказки под браузер */
.pp{align-items:flex-start}
.pp-i--ok{background:color-mix(in srgb,#16a34a 14%,var(--surface));color:#16a34a}
.pp-hint{margin:0 0 12px;padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:12.5px;line-height:1.4;color:var(--ink-2)}
.pp-x{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:none;color:var(--ink-3);cursor:pointer}
.pp-x:hover{background:var(--surface-2);color:var(--ink)}
.pp-x svg{width:14px;height:14px}
.pp:not(.pp--invite) .pp-h{padding-right:22px}
.pp-steps{display:flex;flex-direction:column;gap:8px;margin:10px 0 12px}
.pp-st{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.35;color:var(--ink-2)}
.pp-st i{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--red-soft);color:var(--btn);font-style:normal;font-size:11.5px;font-weight:700}
.pp-bar{display:flex;align-items:center;gap:8px;height:34px;margin:0 0 12px;padding:0 10px 0 5px;border-radius:17px;background:var(--surface-2);font-size:12.5px;color:var(--ink-3)}
.pp-bar-chip{position:relative;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--surface);color:var(--btn);box-shadow:0 0 0 2px var(--btn)}
.pp-bar-chip::after{content:"";position:absolute;inset:-2px;border-radius:50%;box-shadow:0 0 0 0 color-mix(in srgb,var(--btn) 55%,transparent);animation:ppPulse 1.6s ease-out infinite}
.pp-bar-chip svg{width:14px;height:14px}
@keyframes ppPulse{to{box-shadow:0 0 0 10px transparent}}
.pp-spin{display:block;width:18px;height:18px;margin:2px 0 4px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--btn);animation:ppSpin .8s linear infinite}
@keyframes ppSpin{to{transform:rotate(360deg)}}
.pp-acts:empty{display:none}

/* шторка-инструкция для iPhone */
.ps-veil{position:fixed;inset:0;z-index:210;background:rgba(10,8,10,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .35s}
.ps-veil.on{opacity:1}
.ps-veil[hidden],.ps[hidden]{display:none}
.ps{position:fixed;left:50%;bottom:0;z-index:211;width:min(520px,100%);max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;transform:translate(-50%,105%);border-radius:26px 26px 0 0;background:var(--surface);color:var(--ink);box-shadow:0 -18px 50px -18px rgba(0,0,0,.45);transition:transform .38s cubic-bezier(.2,.8,.2,1)}
.ps.on{transform:translate(-50%,0)}
.ps-grip{position:absolute;left:50%;top:9px;width:42px;height:5px;border-radius:3px;background:var(--line-2);transform:translateX(-50%)}
.ps-x{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:var(--surface-2);color:var(--ink-2);cursor:pointer}
.ps-x svg{width:15px;height:15px}
.ps-in{display:flex;flex-direction:column;padding:30px 20px calc(18px + env(safe-area-inset-bottom))}
.ps-ico{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--red-soft);color:var(--btn)}
.ps-ico svg{width:25px;height:25px}
.ps-t{margin:14px 0 6px;font-size:22px;font-weight:800;line-height:1.15;color:var(--ink)}
.ps-p{margin:0 0 16px;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.ps-steps{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.ps-st{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:14px;background:var(--surface-2)}
.ps-n{flex:none;width:18px;font-size:13px;font-weight:800;color:var(--ink-3);text-align:center}
.ps-g{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--surface);color:var(--blue);box-shadow:var(--sh)}
.ps-g svg{width:22px;height:22px}
.ps-g img{width:40px;height:40px;border-radius:11px;display:block}
.ps-tx{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.3}
.ps-tx b{font-size:14.5px;font-weight:700;color:var(--ink)}
.ps-tx small{font-size:12.5px;color:var(--ink-3)}
.ps-copy{margin-top:7px;min-height:32px;background:var(--surface)}
.ps-ok{min-height:48px;font-size:15.5px;border-radius:14px}
body.ps-open{overflow:hidden}
@media (min-width:821px){.ps{bottom:24px;border-radius:26px}.ps-grip{display:none}}
@media (prefers-reduced-motion:reduce){.ps,.ps-veil{transition:none}.pp-bar-chip::after,.pp-spin{animation:none}}

/* узкий телефон: шапке вошедшего не хватало ширины, страница становилась шире экрана.
   Поиск есть в выезжающем меню, поэтому значок в шапке прячем и сжимаем отступы. */
@media (max-width:430px){
  .top-acts > a.ib[href$="/search/"]{display:none}
  .top-row{gap:4px;padding:0 6px}
  .top-acts{gap:4px}
}
@media (max-width:345px){.top-acts > button.ib[onclick="ftTheme()"]{display:none}}

/* свёрнутое меню: подсказки и стрелка на краю выходят за панель — панель должна лежать выше содержимого страницы */
@media (min-width:901px){html .rail{z-index:60}}

/* плашка матча, тёмная тема: знак F — едва заметный оттиск под текстом, названия команд он перебивать не должен */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .mx2-f{opacity:.07}}
:root[data-theme="dark"] .mx2-f{opacity:.07}

/* карточка матча в ленте матчей: разделитель был светло-серым и в тёмной теме горел белой чертой */
.mc-foot{border-top-color:var(--line)}

/* нижняя панель: число пунктов меняется (Fonteam, единоборства), колонки делятся поровну сами */
@media (max-width:820px){.mbar{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}}

/* правки владельца 2026-10-09: плашка Fonbet в меню и подпись раздела в шапке */
.sb-fb{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--surface-2);color:var(--ink-2);font-size:12px;text-decoration:none;white-space:nowrap;line-height:110%}
.top-sect{font-size:14px;font-weight:400;color:#999;white-space:nowrap}
