/* Матч-центр: листинги /football/matches/ и /football/{razdel}/matches/
   Динамическая подсветка активного тега ($MC_TAGS_CSS) остаётся инлайном в <head>. */
.mc-note { display:block; background-color:#FDFDEC; border:1px solid #E9E751; color:#4B4632; font:700 16px/22px 'NT',sans-serif; letter-spacing:-.2px; border-radius:7px; padding:15px 21px 15px 21px; margin:-10px 0 25px 0; }

/* неактивные элементы листалки */
.nf-dis { opacity:.35; cursor:default; }
.nf-cur { background:#45BC45 !important; color:#fff !important; box-shadow:none !important; }
a.nf-q, a.nf-arr { text-decoration:none; display:inline-block; }

.mc-tags-odds { display:flex; justify-content:space-between; margin-bottom:35px; }
.mc-tags-odds div:nth-of-type(1) { flex:1; }
.mc-tags-odds div:nth-of-type(2) { flex:none; width:76px; position:relative; top:1px; }
.tags-short { display:flex; flex-wrap:wrap; }
.tags-short a { display:flex; align-items:center; padding:5px 0; margin:0 18px 0 0; }
.tags-short a img { width:20px; height:20px; }
.tags-short a b { margin:0 0 0 6px; font:500 13px/1 'NT'; color:#33444C; letter-spacing: -.4px; position:relative; top:1px; }

.matches { margin-bottom:40px;  }
.mc-match { margin:0 0 35px 0;  }
.mc-match ul { margin:0 0 17px 0; padding:0; }
.mc-match ul li { list-style:none; display:flex; justify-content:space-between; border-bottom:1px solid #EEF0F4; }
.mc-match i, .mc-match u, .mc-match s { font-style:normal; text-decoration:none; }
.mc-match header { display:flex; align-items:center; margin-bottom:6px; min-height:29px; justify-content:space-between; }
.mc-match header h2 { display:flex; align-items:center; font: 800 16px/24px 'NT',sans-serif; margin:0; padding:0; letter-spacing: -.3px;   }
.mc-match header h2 img {  margin-right:8px; }
.mc-match header i a { display:inline-block; height:24px; margin: -3px 0 0 16px; background-image: url(/i/v17/i/icons-tt.png?15); background-repeat: no-repeat; background-size: 20px 438px; background-position: left -362px; }
.mc-match header i a u { display:inline-block; font: 500 12px/31px 'NT',sans-serif;  color:#52707F; letter-spacing: -.3px; text-decoration:underline; padding-left:27px; }
.mc-date { display:flex; justify-content:space-between; background-color:#E7ECEF; border-radius: 5px; }
.mc-date i:nth-of-type(1) { width:calc(79% - 36px);  border-radius: 5px 0 0 5px;  }
.mc-date i:nth-of-type(1) time { display: block; border-radius: 5px; font: 700 11px/25px 'NT', sans-serif; letter-spacing: -.3px; color: #2B3940; text-transform: uppercase; text-align:center; }
.mc-date i:nth-of-type(2) {  width:21%; }
.mc-date i:nth-of-type(2) b { flex:1; margin:0 0 0 5%; display:flex; justify-content:space-between; align-items:center; background-color:#D7DFE3; border-radius:16px;  }
.mc-date i:nth-of-type(2) b u { width:33%; max-width:40px;  text-align:center; font: 700 11px/25px 'NT', sans-serif; color:#52707F;  }
.mc-date > s { width:36px; }
.mc-match-f li a:nth-of-type(1) { width:calc(79% - 36px); display:flex; justify-content:space-between; height:24px; padding:8px 0; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(1) { width:65px; display:flex; flex: none; align-items:center; }
.mc-match li time { font: 700 12px/24px 'NT', sans-serif; letter-spacing: -.3px; border-radius: 5px; text-align: center;  display:inline-block; width:44px; }
.mc-match li.mc-ns time { background-color:#F4F7F9; color:#33444C;    }
.mc-match li.mc-on time { background-color:#4FBF4F; color:#fff;   }
.mc-match li.mc-ht time { background-color:#E9E751; color:#5F5C0C;  }
.mc-match li.mc-st time { background-color:#FE5F00; color:#fff; }
.mc-match li.mc-ok time {  background-color:#E7ECEF; color:#33444C;  }
.mc-match li.mc-pp time { background-color:#F3F5F8; color:#8A99A3; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(1) u { width: 10px; height: 16px; display: inline-block; background-image: url(/i/v17/i/icons-tt.png?15); background-repeat: no-repeat; background-size: 16px 350px; background-position: -3px -148px; margin: 3px 0 0 5px; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) { width:100%; min-width:0; display:flex; justify-content: center; align-items:center; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) { width:64px; padding-right:20px; flex: none; display:flex; justify-content:flex-end; align-items:center; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(1) { width: 41%; text-align: right; font: 700 15px/21px 'NT', sans-serif; color: #111; letter-spacing: -.4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(2) { width: 18%; min-width: 34px; text-align: center; font: 800 16px/21px 'NT', sans-serif; color: #000; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(3) { width: 41%; font: 700 15px/21px 'NT', sans-serif; color: #111; letter-spacing: -.4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) s { color:#52707F; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) sub { font: 500 13px/1 'NT', sans-serif; letter-spacing: -1px; color: #52707F; margin: 0 0 0 4px; position: relative; top: -8px; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) u { width:20px; height:24px; background-image: url(/i/v17/i/icons-tt.png?15); background-repeat: no-repeat; background-size: 20px 438px; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) u.mc-mult { background-position: center -314px; margin: -6px 0 0 0; }
.mc-match-f li.mc-ok a:nth-of-type(1) i:nth-of-type(3) u.mc-mult, .mc-match-f li.mc-st a:nth-of-type(1) i:nth-of-type(3) u.mc-mult { background-position: center -337px; margin: -7px 0 0 0;}
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) u.mc-tips { background-position: center -293px; position:relative; right:-1px; margin: -6px 0 0 0;}
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) b { display: inline-block; background-color: #E7ECEF; color: #33444C; font: 700 11px/18px 'NT', sans-serif; letter-spacing: -.7px; border-radius: 4px; padding: 0 4px 0 3px; min-width: 16px; text-align: center; margin: 0 0 0 8px; }
.mc-match-f li a:nth-of-type(2) { width:21%; display:flex; justify-content:space-between; height:24px; padding:8px 0;  }
.mc-match-f li a:nth-of-type(2) i { flex:1; margin:0 0 0 5%; display:flex; justify-content:space-between; align-items:center; }
.mc-match-f li a:nth-of-type(2) i u { width:33%; max-width:40px; text-align:center; color:#33444C; font: 500 12px/22px 'NT', sans-serif;  }
.mc-match-f li a:nth-of-type(2) i u.mc-odds-top { background-color:#FDFCF7; border:1px solid #E9E751; border-radius:24px; display:inline-block; width:calc(100% - 2px); }
.mc-match-f li > p { display:flex; width:20px; height:22px; margin:8px 0 0 16px; padding:0; }
.mc-match-f li > p > a {  display:block; width:18px !important; height:22px !important; background-image: url(/i/v17/i/icons-tt.png?15); background-repeat: no-repeat; background-size: 16px 350px; background-position: 7px -308px; padding:0 !important; margin:0; border:1px solid #E6EAF0; background-color:#F3F5F8; border-radius:5px;  }
.mc-lead-refresh { display:flex; justify-content:space-between; margin:10px 0 25px 0; align-items:flex-start; }
.mc-lead-refresh div:nth-of-type(2) { display:flex; justify-content:flex-end;  width:155px;  }
.mc-lead-refresh p { font:400 15px/19px 'NT',sans-serif; color:#52707F; padding:0; margin:0; }
.mc-lead-refresh div:nth-of-type(1) { min-width:0; }
.mc-lead-refresh div:nth-of-type(1) p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; height:38px; }
.mc-lead-refresh.is-open div:nth-of-type(1) p { display:block; -webkit-line-clamp:unset; overflow:visible; }
.mc-lead-more { display:none; background:none; border:0; padding:0 0 0 4px; margin:0; cursor:pointer;  font:700 15px/19px 'NT',sans-serif; color:#2B3940; }
.mc-lead-refresh.is-clamped .mc-lead-more { display:inline-block; }
.mc-lead-refresh.is-open .mc-lead-more { display:none; }

/* ряд фильтров: слева разделы, справа дни + календарь + стрелки */
.nf { display:flex; justify-content:space-between; align-items:flex-start; margin:25px 0 16px 0; padding:0 10px 11px 10px; border-radius:11px; background-color:#E7ECEF; }
.nf-row { display:flex; align-items:center; flex-wrap:wrap; }
.nf-q { background-color:#fff; border-radius:7px; border:none; font:700 14px/1 'NT',sans-serif; letter-spacing:-.3px; color:#111; cursor:pointer; padding:10px 12px; margin:10px 0 0 0; position:relative; transition:color .3s; box-shadow:0 2px 4px rgba(142,156,164,.1); }
.nf-left .nf-q { margin-right:10px; }
.nf-right .nf-q, .nf-right .mcal, .nf-right .nf-ar { margin-left:10px; }
.nf-ar { display:flex; margin-top:10px; }
.nf-arr { background-color:#fff; padding:8px 10px 6px 10px; margin:0 0 0 8px; border:0; border-radius:7px; font:500 20px/1 'NT'; cursor:pointer; box-shadow:0 2px 4px rgba(142,156,164,.1); }
.nf-arr:first-child { margin-left:0; }
.nf-arr[disabled] { opacity:.35; cursor:default; }

/* календарик */
.mcal { position:relative; margin-top:10px; }
.mcal-btn { display:flex; align-items:center; justify-content:center; width:38px; height:36px; margin:0; padding:0; border:0; border-radius:7px; background:#fff; color:#33444C; cursor:pointer; box-shadow:0 2px 4px rgba(142,156,164,.1); }
.mcal-btn:hover, .mcal.is-open .mcal-btn { color:#111; background:#F7F9FA; }
.mcal-pop { position:absolute; right:0; top:calc(100% + 4px); z-index:60; width:252px; max-width:calc(100vw - 30px); padding:10px; border:1px solid #d6dbe3; border-radius:9px; background:#fff; box-shadow:0 10px 25px rgba(142,156,164,.18); }
.mcal-pop[hidden] { display:none; }
.mcal-head { display:flex; align-items:center; justify-content:space-between; margin:0 0 8px 0; }
.mcal-title { font:700 14px/1 'NT',sans-serif; color:#111; letter-spacing:-.3px; }
.mcal-prev, .mcal-next { width:28px; height:28px; padding:0; border:0; border-radius:6px; background:#F3F5F8; font:500 15px/1 'NT',sans-serif; color:#33444C; cursor:pointer; }
.mcal-prev:hover, .mcal-next:hover { background:#E7ECEF; }
.mcal-prev[disabled], .mcal-next[disabled] { opacity:.3; cursor:default; }
.mcal-wd, .mcal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; }
.mcal-wd i { font:500 11px/18px 'NT',sans-serif; font-style:normal; color:#8A99A3; text-align:center; }
.mcal-grid a, .mcal-grid b, .mcal-grid s { display:block; height:30px; border-radius:6px; font:500 13px/30px 'NT',sans-serif; text-align:center; text-decoration:none; }
.mcal-grid a { color:#111; background:#F3F5F8; }
.mcal-grid a:hover { background:#DDE4E8; }
.mcal-grid b { color:#C2CCD2; }
.mcal-grid .is-today { box-shadow:inset 0 0 0 2px #45BC45; }
.mcal-grid .is-sel { background:#45BC45; color:#fff; font-weight:700; }
.mcal-grid .is-sel.is-today { box-shadow:inset 0 0 0 2px #2B3940; }

.refresh-control { display: flex; align-items: center;  gap: 10px; position: relative; right:-4px; }
.refresh-interval { cursor: pointer; display:inline-block; width:50px; text-align:right;  }
#interval-display { font:700 13px/1px 'NT',sans-serif; color:#399D39; letter-spacing:-.2px; padding:0 0 3px 0; border-bottom: 1px dashed #73CC73; text-decoration:none; }
#interval-display:hover { color:#3A49A0; border-bottom: 1px solid #3A49A0; }
#refresh-button { cursor: pointer;  background-color: #45BC45; border-radius: 50%; width: 36px; height: 36px;  }
#refresh-button .refresh-pic { filter: drop-shadow(3px 5px 4px rgba(0, 0, 0, 0.3)); }
#refresh-button circle { fill:#45BC45; }
#refresh-button:hover circle { fill:#399D39; }
#interval-menu { position: absolute; top: 130%; left: 0; background: white;  border: 1px solid #ccc; border-radius: 6px; padding: 5px 0;  list-style: none; width: 160px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);  z-index: 10; }
#interval-menu li { padding: 8px 12px; cursor: pointer; }
#interval-menu li:hover { background: #f0f0f0; }
#refresh-button { padding: 0; border: none; background: none; cursor: pointer; }
.progress-ring { transform: rotate(-90deg); transform-origin: center;  transition: stroke-dashoffset 1s linear; }

@media (max-width: 1050px) {
.nf { flex-direction:column; }
.nf-right { justify-content:flex-start; }
.nf-right > :first-child { margin-left:0; }
}

@media (max-width: 767px) {
.mc-match-f li > p, .mc-date > s { display:none; }
.nf { position:relative; }
.mcal { position:static; }
.mcal-pop { top:calc(100% - 4px); right:10px; }
}
@media (max-width: 640px) {
.refresh-control { position:relative; right:-4px; top:4px; }
}


.m-odds-sw { display:flex; align-items:center; justify-content:flex-end; border-left:1px solid #E7ECEF;}
.m-odds-sw button { position:relative; display:inline-flex; align-items:center; gap:8px; font:700 12px/1 'NT',Arial,sans-serif; letter-spacing:-.3px; color:#52707F; background:none; border:0; padding:6px 0; cursor:pointer; }
.m-odds-sw button::after { content:''; width:34px; height:18px; border-radius:9px; background:#4FBF4F; transition:background .15s; }
.m-odds-sw button::before { content:''; position:absolute; right:2px; top:50%; width:14px; height:14px; border-radius:50%; background:#fff; margin-top:-7px; transition:transform .15s; pointer-events:none; z-index:1;}
.mc-odds-off .m-odds-sw button::after { background:#C7D3D9; }
.mc-odds-off .m-odds-sw button::before { transform:translateX(-16px); }
.mc-odds-off .mc-date i:nth-of-type(2),
.mc-odds-off .mc-match-f li a:nth-of-type(2) { display:none; }
.mc-odds-off .mc-date i:nth-of-type(1),
.mc-odds-off .mc-match-f li a:nth-of-type(1) { width:100%; }

@media (max-width: 767px) {
.mc-match header h2 { font: 800 17px/24px 'NT',sans-serif;   letter-spacing: -.6px;  }
.mc-match-f li a:nth-of-type(1) { padding:11px 0; }
.mc-match-f li a:nth-of-type(2) { height:auto; margin:-4px 0 0 0; padding:0 0 3px 0;  }
.mc-tags-odds .tags-short a b { display:none; }
.mc-tags-odds .tags-short a img { width: 22px; height: 22px; }
.mc-tags-odds .tags-short a { padding:6px; background-color: #F3F5F8; border-radius:50%; margin:0 8px 8px 0; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) { padding-right: 0; }
.mc-date i:nth-of-type(1) time { padding-left:1px;}
.matches { margin-bottom:35px; }
.mc-match { margin:0 0 25px 0;  }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(1) { width: 40%;   }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(2) { width: 20%; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(2) b:nth-of-type(3) { width: 40%;  }
.mc-match-f ul li { flex-wrap: wrap; }
.mc-match-f li a:nth-of-type(1) { width:100%; }
.mc-match-f li a:nth-of-type(2) { width:100%; order:2; background:none; justify-content:center;  }
.mc-match-f li a:nth-of-type(2) i { flex:0 0 auto; margin:0; gap:10px; }
.mc-match-f li a:nth-of-type(2) i u { color:#445B66; margin-bottom:10px; }
.mc-match-f li a:nth-of-type(2) i u { width:auto; font: 700 13px/27px 'NT', sans-serif; letter-spacing: -.3px;  color:#445B66; min-width:52px; background:#F3F5F8; border-radius:24px;  }
.mc-match-f li a:nth-of-type(2) i u.mc-odds-top { border:0; font: 700 13px/27px 'NT', sans-serif; letter-spacing: -.3px; background:#F5F3E9; color:#585027; }
.mc-date i:nth-of-type(2) { display:none; }
.mc-date i:nth-of-type(1) { width:100%; }
.mc-match-f li a:nth-of-type(1) i:nth-of-type(3) b { margin: 0 0 0 8px; }
}

@media (max-width: 413px) {
.nf-right > .nf-q:first-child { display:none; }
.nf-right > .nf-q:nth-child(2) { margin-left:0; }
}

@media (max-width: 346px) {
.nf-right > .nf-q:nth-child(2) { display:none; }
.nf-right > .nf-q:nth-child(3) { margin-left:0; }
}