/* Матч-центр SapphireBet — под тёмную тему (--bg_1..3, --accent) */
.sbmc{--mc-card:#0e2381;--mc-card2:#112ba2;--mc-line:rgba(255,255,255,.12);--mc-muted:#aab4d8;--mc-live:#ff4d4f;font:15px/1.45 Roboto,sans-serif}
.sbmc a{color:inherit}
.sbmc-h1{font-size:clamp(20px,1rem + .6vw,26px);line-height:1.25;margin:0 0 12px}
.sbmc-h2{font-size:17px;margin:20px 0 8px}
.sbmc-trail{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;font-size:13px;color:var(--mc-muted)}
.sbmc-trail li+li::before{content:"›";margin-right:6px;opacity:.6}
.sbmc-trail a{color:var(--mc-muted)}
.sbmc-trail a:hover{color:var(--accent)}
.sbmc-ico{width:18px;height:18px;flex:none}

/* Меню: виды спорта и дни */
.sbmc-nav{position:sticky;top:0;z-index:5;background:var(--bg_3);padding:6px 0 8px;margin-bottom:12px;border-bottom:1px solid var(--mc-line)}
.sbmc-sports{position:relative;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.sbmc-sports::-webkit-scrollbar,.sbmc-days__strip::-webkit-scrollbar{display:none}
.sbmc-chip{display:inline-flex;align-items:center;gap:6px;flex:none;height:34px;padding:0 10px;border-radius:17px;background:var(--mc-card);color:#fff;font-size:14px;white-space:nowrap;border:1px solid transparent}
.sbmc-chip:hover{border-color:var(--accent)}
.sbmc-chip.is-active{background:var(--accent);color:#000}
.sbmc-chip.is-disabled{opacity:.4;pointer-events:none}
.sbmc-chip__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sbmc-chip__n{font-size:12px;opacity:.75}
.sbmc-chip--live{margin-left:auto}
.sbmc-chip--live i{width:8px;height:8px;border-radius:50%;background:var(--mc-live);animation:sbmc-pulse 1.4s infinite}
.sbmc-chip--live.is-active i{background:#000}
@keyframes sbmc-pulse{50%{opacity:.3}}
.sbmc-days{display:flex;align-items:center;gap:6px;margin-top:8px}
.sbmc-days__strip{position:relative;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}
.sbmc-day{flex:none;padding:5px 10px;border-radius:8px;font-size:13px;color:var(--mc-muted);white-space:nowrap}
.sbmc-day:hover{color:#fff;background:var(--mc-card)}
.sbmc-day.is-active{background:var(--mc-card2);color:#fff;font-weight:600}
.sbmc-day.is-disabled{opacity:.35}
.sbmc-step{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--mc-card);font-size:18px;line-height:1}
.sbmc-step:hover{background:var(--accent);color:#000}
.sbmc-step.is-disabled{opacity:.3}

/* Лиги и матчи */
.sbmc-sport{margin-bottom:18px}
.sbmc-sport__h{display:flex;align-items:center;gap:8px;font-size:18px;margin:14px 0 8px}
.sbmc-leagues{display:grid;gap:8px}
.sbmc-sport .sbmc-league+.sbmc-league{margin-top:8px}
.sbmc-league{background:var(--mc-card);border-radius:12px;overflow:hidden}
.sbmc-league>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;font-weight:600;font-size:14px}
.sbmc-league>summary::-webkit-details-marker{display:none}
.sbmc-league>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 4px 0 0;opacity:.7}
.sbmc-league[open]>summary{background:var(--mc-card2)}
.sbmc-league[open]>summary::after{transform:rotate(-135deg);margin-top:4px}
.sbmc-league>summary img{background:#fff;border-radius:4px;padding:1px;flex:none}
.sbmc-league__name{flex:1;min-width:0}
.sbmc-league__name small{display:block;font-weight:400;font-size:12px;color:var(--mc-muted)}
.sbmc-pill{font-size:12px;font-weight:600;background:rgba(255,255,255,.12);border-radius:10px;padding:1px 8px}
.sbmc-m{display:flex;gap:10px;align-items:center;padding:8px 12px;border-top:1px solid var(--mc-line)}
.sbmc-m:hover{background:rgba(255,255,255,.05)}
.sbmc-m__time{width:52px;flex:none;display:flex;flex-direction:column;font-size:13px;color:var(--mc-muted)}
.sbmc-m__st{font-size:11px;line-height:1.2}
.sbmc-live{color:var(--mc-live);font-size:11px;font-weight:600;line-height:1.2}
.sbmc-m__teams{flex:1;min-width:0;display:grid;gap:3px}
.sbmc-m__side{display:flex;align-items:center;gap:8px;min-width:0}
.sbmc-m__side img{flex:none;object-fit:contain}
.sbmc-m__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sbmc-m__sc{font-weight:600;min-width:18px;text-align:right}
.sbmc-m.is-finished .sbmc-m__side:not(.is-win){opacity:.75}
.sbmc-m__side.is-win .sbmc-m__name{font-weight:600}
.sbmc-m.is-live .sbmc-m__sc{color:var(--mc-live)}
.sbmc-nologo{width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.15);flex:none;display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--mc-muted)}
.sbmc-nologo--big{width:64px;height:64px;font-size:30px}
.sbmc-ini{width:24px;height:24px;background:var(--mc-card2);color:#fff;font-size:15px;font-weight:700;line-height:1;border:1px solid rgba(235,169,55,.55)}
.sbmc-ini--pair{font-size:11px;letter-spacing:-.4px}
.sbmc-nologo--big.sbmc-ini{width:64px;height:64px;font-size:34px;color:var(--accent)}
.sbmc-nologo--big.sbmc-ini--pair{font-size:24px}
.sbmc-all{display:inline-block;margin-top:10px;color:var(--accent)!important;font-size:14px}
.sbmc-more{display:block;width:100%;margin-top:12px;padding:10px;border:1px dashed var(--accent);border-radius:12px;background:none;color:var(--accent);font-size:14px}
.sbmc-more:hover{background:rgba(235,169,55,.1)}
.sbmc-empty{padding:24px 0;color:var(--mc-muted)}
.sbmc-note{margin-top:16px;font-size:12px;color:var(--mc-muted)}

/* Табло матча */
.sbmc-ev{background:var(--mc-card);border-radius:16px;padding:16px;margin-bottom:14px}
.sbmc-ev__league{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--mc-muted);text-align:center;margin-bottom:12px}
.sbmc-ev__league img{background:#fff;border-radius:4px;padding:1px}
.sbmc-ev__row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.sbmc-ev__team{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-weight:600;font-size:15px;min-width:0}
.sbmc-ev__team img{width:64px;height:64px;object-fit:contain}
.sbmc-ev__mid{text-align:center}
.sbmc-ev__score{font-size:40px;font-weight:700;line-height:1;white-space:nowrap}
.sbmc-ev__score.is-time{font-size:30px;color:var(--accent)}
.sbmc-ev__st{font-size:13px;color:var(--mc-muted);margin-top:6px}
.sbmc-ev.is-live .sbmc-ev__score{color:var(--mc-live)}
.sbmc-ev__date{text-align:center;font-size:13px;color:var(--mc-muted);margin-top:14px}
.sbmc-intro{font-size:15px;margin:0 0 6px}
@media (min-width:768px){.sbmc-chip__label{position:static;width:auto;height:auto;clip:auto}.sbmc-ev__team img,.sbmc-nologo--big{width:80px;height:80px}.sbmc-ev__score{font-size:48px}}
/* Колонки не шире экрана; баннер справа — как в теме (кадр широкой картинки, обрезка контейнером) */
.sbmc .col,.sbmc .css_hr_vr{min-width:0}
@media (max-width:767px){.sbmc .css_hr_vr{margin-top:16px}}

/* Виджет «Топ-матчи» на главной */
.sbmc-w{font-size:14px}
.sbmc-w__row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sbmc-w__card{display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:var(--mc-card);border-radius:12px;color:#fff;min-width:0;border:1px solid transparent}
.sbmc-w__card:hover{border-color:var(--accent);color:#fff}
.sbmc-w__lg{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--mc-muted);min-width:0}
.sbmc-w__lg span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sbmc-w__lg .sbmc-ico{width:14px;height:14px}
.sbmc-w__team{display:flex;align-items:center;gap:8px;min-width:0;font-weight:500}
.sbmc-w__team img{flex:none;object-fit:contain}
.sbmc-w__team .sbmc-nologo{width:24px;height:24px}
.sbmc-w__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sbmc-w__team b{font-size:16px;min-width:14px;text-align:right}
.sbmc-w__card.is-live .sbmc-w__team b{color:var(--mc-live)}
.sbmc-w__st{font-size:12px;color:var(--mc-muted);margin-top:auto}
@media (max-width:991px){.sbmc-w__row{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(230px,72%);overflow-x:auto;scrollbar-width:none;position:relative}.sbmc-w__row::-webkit-scrollbar{display:none}}
