html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p{
  margin: 0;
}
/* Catalog */
.post-sgw-catalog, .post-sgw-match{
  margin-inline: auto;
  width: min(100%, calc(90vw - 0px * 2));
  max-width: 1290px;
}
.sgw-catalog {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px !important;
  margin-bottom: 20px !important;
  font-family: 'Roboto', sans-serif;
}
.sgw-sidebar-tabs {
  display: none;
}
.sgw-sidebar-panel {
  display: block;
}
.sgw-sidebar-trigger {
  display: none;
}
.sgw-sidebar-overlay {
  display: none;
}
.sgw-catalog__sidebar {
	flex: 0 0 250px;
	max-width: 250px;
	width: 100%;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 8px;
}
.sgw-catalog__content {
	flex: 1;
	min-width: 0;
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.sgw-catalog__events{
  margin-top: 20px;
}
.sgw-catalog__events-item:not(:last-child){
  margin-bottom: 1px;
}
.sgw-catalog__events-item-title-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F0F0F5;
  border-radius: 8px;
}
.sgw-catalog__events-item-title{
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.event-title-league{
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.event-title-country{
  font-weight: 700;
}
.event-title-date{
  font-size: 14px;
  opacity: 0.6;
  color: #010028;
  margin-right: 10px;
}
.sgw-catalog__events-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
}
.sgw-toggle-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.sgw-catalog__events-toggle.is-active .sgw-toggle-icon {
  transform: rotate(0deg);
}
.sgw-catalog__filters{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.sgw-sidebar-burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
}
/*  */

/* Breadcrumbs */
.sgw-breadcrumbs {
  margin-bottom: 32px;
  font-family: 'Roboto', sans-serif;
}
.sgw-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  list-style: none;
  padding: 8px 12px;
  background: #F0F0F5;
  border-radius: 8px;
  width: fit-content;
  gap: 8px;
}
.sgw-breadcrumbs__separator{
  transform: rotate(90deg);
}
.sgw-breadcrumbs__item {
  display: contents;
}
.sgw-breadcrumbs__link {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #3D3D5C;
}
.sgw-breadcrumbs__link:hover {
  color: inherit;
}
.sgw-breadcrumbs__link:focus-visible {

}
.sgw-breadcrumbs__current {
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #3D3D5C;
}
/*  */

/* Calendar */
.sgw-filters__calendar {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.sgw-filters__calendar-select {
	padding: 6px 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.sgw-filters__calendar-select{
  color: #fff !important;
  position: relative;
}
.sgw-filters__calendar-select::before{
  position: absolute;
  top: 0;
  left: 0;
}
.sgw-calendar-dropdown {
	position: relative;
}
.sgw-calendar-dropdown__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	position: relative;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #3D3D5C;
  padding: 6px 12px;
  background: #F0F0F5;
  border-radius: 8px;
}
.sgw-calendar-dropdown__toggle:hover{
  background: #52527A;
  color: #F0F0F5;
}
.sgw-calendar-dropdown__toggle:hover img{
  filter: invert();
}
.sgw-calendar-dropdown__icon {
	width: 18px;
	height: 18px;
	margin-right: 16px;
	flex-shrink: 0;
}
.sgw-calendar-dropdown__label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sgw-calendar-dropdown__arrow {
	font-size: 12px;
	color: #999;
	margin-left: 8px;
}
.sgw-calendar-dropdown__menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-top: none;
	border-radius: 6px;
	z-index: 10;
	max-height: 250px;
	overflow-y: auto;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding-left: 0;
  margin-top: 4px;
}
.sgw-calendar-dropdown__item {
	padding: 10px 12px;
	font-size: 14px;
	cursor: pointer;
  text-align: center;
  list-style: none;
}
.sgw-calendar-dropdown__item a {
	color: #333;
	text-decoration: none;
	display: block;
	width: 100%;
}
.sgw-calendar-dropdown__item:hover,
.sgw-calendar-dropdown__item.is-active {
	background-color: #f3f4f6;
}
.sgw-calendar-nav{
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.sgw-calendar-arrow{
  padding: 8px;
  background: #F0F0F5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sgw-calendar-arrow:hover{
  background: #52527A;
}
.sgw-calendar-arrow:hover img{
  filter: invert();
}
.sgw-calendar-arrow img{
  width: 20px;
  height: 20px;
}
.sgw-calendar-arrow--prev img{
  transform: rotate(-90deg);
}
.sgw-calendar-arrow--next img{
  transform: rotate(90deg);
}
/*  */

/* Filter status */
.sgw-filters__status-list{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  /* justify-content: space-between; */
  padding-left: 0;
  gap: 8px;
}
.sgw-filters__status-item {
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  list-style-type: none;
}
.sgw-filters__status-link{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #F0F0F5;
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
  color: #3D3D5C;
  cursor: pointer;
  text-decoration: none;
}
.sgw-filters__status-item--active .sgw-filters__status-link{
  background: #52527A;
  color: #F0F0F5;
}
.sgw-filters__status-link:hover{
  background: #52527A;
  color: #F0F0F5;
  transition: all 0.3s ease;
}
.sgw-filters__status-item--active.sgw-filters__status-item--live .sgw-filters__status-link{
  background: #E53935;
}
/*  */

/* Filter Days */
.sgw-filters__days-list{
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sgw-filters__days-item{
  cursor: pointer;
  display: flex;
  line-height: 1.25;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 64px;
}
.sgw-filters__days-link{
  padding: 8px 12px;
  background: #F0F0F5;
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
  color: #3D3D5C;
}
.sgw-filters__days-link:hover{
  background: #52527A;
  color: #F0F0F5;
  transition: all 0.3s ease;
}
.sgw-filters__days-item--active .sgw-filters__days-link{
  background: #52527A;
  color: #F0F0F5;
}
/*  */

/* Filter Countries */
.sgw-filters__filter-countries {
	color: #ffffff;
}
.sgw-filters__filter-countries-title{
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
  margin-bottom: 12px;
}
.sgw-filter__country-title {
	cursor: pointer;
	position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sgw-filter__country-title:hover {
  transition: all 0.3s ease;
  background-color: #F0F0F5;
}
.sgw-filter__country-title-icon {
	transform: rotate(0deg);
}
.sgw-filter__country-title.open .sgw-filter__country-title-icon {
	transform: rotate(180deg);
}
.sgw-filter__leagues {
	list-style: none;
	margin: 0;
	padding: 0;
  list-style-type: none;
  margin-top: 12px;
}
.sgw-filter__league-item{
  margin-bottom: 8px;
}
.sgw-filter__league-link {
	display: block;
	text-decoration: none;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #4D4D4D !important;
}
.sgw-filter__league-link:hover {
  background-color: #F0F0F5;
  transition: all 0.3s ease;
}
/*  */

/* No mstches */
.sgw-no-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3D3D5C;
  text-align: center;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.sgw-no-matches__icon {
  font-size: 38px;
}
.sgw-no-matches__title {
  font-size: 24px;
  font-weight: 600;
  color: #ff496a;
  margin-bottom: 10px;
}
.sgw-no-matches__subtitle {
  font-size: 16px;
}
/*  */

/* Card match */
.sgw-match-card{
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  background: #FFFFFF;
  gap: 48px;
  border-bottom: 1px solid #E6E6E6;
  text-decoration: none;
}
.sgw-match-card:hover{
  background-color: rgba(248, 248, 250, 1);
}
.sgw-match-card__status{

}
.sgw-match-card__teams-wrapper{
  display: flex;
}
.sgw-match-card__teams{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 385px;
}
.sgw-match-card__team {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sgw-match-card__score{
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
  gap: 8px;
  justify-content: space-between;
  min-width: 85px;
}
.sgw-match-card--live .sgw-match-card__score{
  color: #E53935;
}
.sgw-team{
  display: flex;
  align-items: center;
}
.sgw-team__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.sgw-team__name {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.badge-icon {
  display: none;
}
.sgw-match-card__schedule{
  min-width: 120px;
  text-align: center;
}
.sgw-schedule__note{
  font-weight: 500;
  font-size: 14px;
  color: #52527A;
}
.sgw-schedule__time{
  font-size: 14px;
  opacity: 0.6;
  color: #010028;
}
.sgw-schedule__live {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #E53935;
}
.sgw-blink {
  display: inline-block;
  animation: sgwBlink 1s steps(1, end) infinite;
}
@keyframes sgwBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/*  */

/* Pinned leagues */
.sgw-pinned-leagues {
  margin-bottom: 32px;
}
.sgw-pinned-leagues__title {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-pinned-leagues__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sgw-pinned-leagues__list li a {
  display: block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #1A1A1A;
  padding: 8px 12px;
  border-radius: 8px;
}
.sgw-pinned-leagues__list li a:hover {
  background-color: #F0F0F5;
}
/*  */

/* Page Match */
.sgw-match__wrapper{
  padding: 12px 6px;
  margin: 32px 0;
}
.sgw-match__date{
  text-align: center;
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #4D4D4D;
}
.sgw-match__kickoff-time{
  padding-bottom: .45rem;
  padding-top: .45rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: 9999px;
  background: #F2F2F2;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-match__score{
  width: fit-content;
  margin: 0 auto;
  display: flex;
  background: #F2F2F2;
  border-radius: 8px;
}
.sgw-match__score-num{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  width: 80px;
  font-weight: 700;
  font-size: 46px;
  line-height: 120%;
  color: #1A1A1A;
}
.sgw-match__score-num--first{
  border-right: 2px solid #E6E6E6;
}
.sgw-match__header{display:grid;grid-template-columns:1fr auto 1fr;gap:32px;align-items:center;margin-bottom:16px}
.sgw-match__team{display:flex;flex-direction:column;text-align:center}
.sgw-match__team--home{
  align-items: end;
  width: 100%;
  align-items: center;
  margin-left: auto;
}
.sgw-match__team--away{
  align-items: baseline;
  width: 100%;
  align-items: center;
}
.sgw-match__logo{
  object-fit:contain; 
  padding: 12px;
  width: 80px;
  height: 80px;
  background: #FFFFFF;
  border: 1px solid #F0F0F5;
  border-radius: 999px;
}
.sgw-match__name{
  margin-top:12px;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #1A1A1A;
}
.sgw-match__center{text-align:center;min-width:220px}
.sgw-match__kickoff{font-weight:600}
.sgw-match__kickoff-block{display:flex;flex-direction:column;gap:6px;align-items:center}
.sgw-match__kickoff-date{opacity:.85}
.sgw-match__status{
  margin-top:12px;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #52527A;
}
.sgw-match__place{
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  opacity: 0.8;
}
.sgw-match__place-text{
  line-height: 1.2;
}

/* --- Cards, layout & common --- */
.sgw-card{
  background:initial;
}
.sgw-card:not(:last-child){
  margin-bottom: 32px;
}
.sgw-card__title{
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #1A1A1A;
  margin-bottom: 24px;
}
.sgw-empty{
  opacity:.7;
  text-align: center;
}
.sgw-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sgw-list{margin:8px 0 0;padding-left:18px}
.sgw-box__subtitle{font-weight:600;margin-bottom:4px}

/* Match timeline */
.sgw-card--timeline {
  margin-top: 16px;
}
.sgw-timeline {
  margin-top: 8px;
  font-size: 13px;
}
.sgw-timeline__row {
  display: grid;
  grid-template-columns: 40px 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.sgw-timeline__time {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
  text-align: center;
}
.sgw-timeline__event {
  line-height: 1.4;
}
.sgw-timeline__event--home {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: row-reverse;
  gap: 12px;
  text-align: right;
}
.sgw-timeline__event--away {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sgw-timeline__score {
  min-width: 42px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-timeline__row--period {
  padding: 12px;
  background: #F2F2F2;
}
.sgw-timeline__icon {
  display: contents;
}
.sgw-timeline__icon img {
  width: 20px;
  height: 20px;
}
.sgw-timeline__player {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #52527A;
}
.sgw-timeline__assist {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #1A1A1A;
}
.sgw-timeline__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/*  */


/* --- Definition rows --- */
.sgw-info__row{display:grid;grid-template-columns:160px 1fr;gap:8px;padding:6px 0;border-bottom:1px solid #E6E6E6}
.sgw-info__row:last-child{border-bottom:0}
.sgw-info__label{opacity:.8}

/* --- Tables --- */
table.sgw-table, .sgw-table th, .sgw-table td{
  border: none;
  width: -webkit-fill-available;
}
.sgw-table th,
.sgw-table td{
  padding:8px 10px;
  border-bottom:1px solid #eee;
  text-align:left; 

}
.sgw-table tbody tr:last-child td{
  border-bottom:0;
}
.sgw-table > tr:last-child > th,
.sgw-table > tr:last-child > td{
  border-bottom:0;
}
.sgw-table thead tr:last-child th{
  border-bottom:1px solid #eee;
}  
.sgw-table th, .sgw-table td{padding:8px 10px;border-bottom:1px solid #eee;text-align:center}
.sgw-table--compact th,.sgw-table--compact td{padding:6px 8px}
.sgw-table thead{
  padding: 10px 8px;
  height: 36px;
  background: #F0F0F5;
}
.sgw-table thead th{
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #3D3D5C;
}
.sgw-table tbody th{
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-table tbody tr{
  height: 56px;
}
.sgw-table .form{
  display: flex;
  align-items: center;
  height: inherit;
  gap: 4px;
  justify-content: center;
}

/* --- Line-ups --- */
.sgw-lineups{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.sgw-lineups__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-weight:600}
.sgw-lineups__colors{display:flex;gap:8px;align-items:center;margin:6px 0}
.sgw-swatch{display:inline-block;width:14px;height:14px;border-radius:4px;border:1px solid #ddd;margin-right:4px;vertical-align:middle}
.sgw-players{list-style:none;margin:8px 0 0;padding:0}
.sgw-player{display:flex;gap:8px;align-items:center;padding:4px 0;border-bottom:1px dashed #f1f1f1}
.sgw-player:last-child{border-bottom:0}
.sgw-player__name{font-weight:500}
.sgw-player__pos{opacity:.7}
.sgw-player__num{opacity:.6}
.sgw-player__photo{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#f3f4f6;flex:0 0 28px}
.sgw-player__photo--empty{display:inline-block;width:28px;height:28px;border-radius:50%;background:#f3f4f6}

/* --- Form table --- */
.sgw-form .pos{
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #1A1A1A;
}
.form-badge{
  text-align:center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}
.form-badge.w{background:#1DB954}
.form-badge.d{background:#E9B809}
.form-badge.l{background:#E53935}

/* H2H / Previous redesigned */
.sgw-card__title--h2h{
  padding: 8px 16px;
  background: #F0F0F5;
  border-radius: 8px;
  text-align: center;
  color: #3D3D5C;
}
.sgw-prev{list-style:none;margin:0;padding:0}
.sgw-prev__row{
  display:grid;
  gap: 16px;
  align-items:center;
  padding: 8px;
  border-bottom: 1px solid #E6E6E6;
}
.sgw-prev__row:last-child{border-bottom:0}
.sgw-prev__badge{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0px;
  width: 20px;
  height: 20px;
  background: #1DB954;
  border-radius: 2px;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}
.sgw-prev__badge.win{background:#1DB954}  /* green */
.sgw-prev__badge.draw{background:#E9B809} /* amber */
.sgw-prev__badge.loss{background:#E53935} /* red */
.sgw-prev__meta-block{display:flex;gap:12px;justify-content: center;}
.sgw-prev__date{
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #4D4D4D;
}
.sgw-prev__meta{
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #4D4D4D;
}
.sgw-prev__teams{
  display:grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items:center;
  gap:16px;
}
.sgw-prev__team{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  justify-content: flex-end;
}
.sgw-prev__team--right{justify-content:flex-start}
.sgw-prev__logo img{width:20px;height:20px;display:block}
.sgw-prev__name{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-prev__name--focus{font-weight:700}
.sgw-prev__scorebox{
  display:inline-flex;
  align-items:center;
  background: #F2F2F2;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #1A1A1A;
}
.sgw-prev__score-num{
  text-align: center;
  width: 45px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sgw-prev__score-num--first{
  border-right: 2px solid #E6E6E6;
}
.sgw-badge{
  display:inline-block;padding:1px 6px;border-radius:6px;
  font-size:11px;margin-left:6px
}
/*  */


/* --- Tabs --- */
.sgw-tabs__list{
  display:flex;
  gap:8px;
  padding-bottom:32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #E6E6E6;
}
.sgw-tab{
  appearance:none;
  cursor:pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  background: #F0F0F5;
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #3D3D5C;
  text-transform: uppercase;
}
.sgw-tab.is-active{
  background: #52527A;
  color: #F0F0F5;
}
.sgw-tab:focus{
  background: #52527A;
  color: #F0F0F5;
}
.sgw-tab:hover{
  background: #52527A;
  color: #F0F0F5;
}
.sgw-tabpanel[hidden]{display:none}
/*  */

/* активный пин — подсветка */
.sgw-pin-btn.is-pinned { opacity: 1; filter: saturate(1.4); }
.sgw-pin-btn { margin-right: 10px; opacity: .7; cursor: pointer; background: none; border: 0; font-size: 14px; filter: grayscale(1); }


@media(max-width: 1024px){
  .sgw-filters__status-list{
    overflow: scroll;
  }
  .sgw-filters__filter-status{
    width: 100%;
  }
  .post-sgw-catalog{
    padding-left: 0;
    padding-right: 0;
  }
  .sgw-match-card{
    padding-left: 0;
    padding-right: 0;
  }
  .sgw-match-card__teams{
    gap: 6px;
  }
  .sgw-badge{
    white-space: nowrap;
    display: flex;
    background-color: initial !important;
  }
  .sgw-catalog__filters{
    justify-content: center;
  }
  .sgw-catalog__title{
    font-size: 26px;
    line-height: 1.2;
  }
  .sgw-calendar-dropdown{
    margin-left: initial;
  }
  .badge-text {
    display: none;
  }
  .badge-icon {
    display: block;
  }
  .sgw-match__center{
    min-width: auto;
  }
  .sgw-match__place{
    flex-direction: column;
    text-align: center;
  }
  .sgw-match__header{
    gap: 8px;
    align-items: initial;
  }
  .sgw-grid{grid-template-columns:1fr}
  .sgw-lineups{grid-template-columns:1fr}
  .sgw-info__row{grid-template-columns:120px 1fr}
  /* .sgw-prev__row{grid-template-columns:120px 1fr} */
  .sgw-form{
    display: block;
    overflow: scroll;
  }
}
@media(max-width: 768px){
  .sgw-catalog__content{
    padding: 16px;
  }
  .sgw-catalog__filters{
    margin-bottom: 24px;
    gap: 16px;
  }
  .sgw-filters__filter-status{
    
  }
  .sgw-sidebar-trigger {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #F0F0F5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #52527A;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
  }
  .sgw-catalog__sidebar{
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    max-height: 70vh;
    z-index: 1001;
    overflow-y: auto;
    transition: bottom 0.3s ease-in-out;
    max-width: 100%;
    padding: 24px 8px;
    background: #FFFFFF;
    box-shadow: 0px -4px 4px rgba(41, 41, 61, 0.1);
    border-radius: 16px 16px 0px 0px;
  }
  body.sgw-sidebar-open .sgw-catalog__sidebar{
    bottom: 0;
  }
  .sgw-sidebar-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
  }
  .sgw-sidebar-tab {
    flex: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    background: #F0F0F5;
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #3D3D5C;
  }
  .sgw-sidebar-tab.is-active {
    background: #52527A;
    color: #F0F0F5;
  }
  .sgw-sidebar-panel {
    display: none;
  }
  .sgw-sidebar-panel.is-active {
    display: block;
  }
  .sgw-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  body.sgw-sidebar-open .sgw-sidebar-overlay{ 
    opacity: 1;
    visibility: visible;
  }
  .sgw-pinned-leagues__title,
  .sgw-filters__filter-countries-title{
    display: none;
  }
  .sgw-pinned-leagues__list li {
    padding: 8px 0;
    border-bottom: 1px solid #E6E6E6;
  }
  .sgw-filters__country {
    padding: 8px 0;
    border-bottom: 1px solid #E6E6E6;
  }
  .sgw-team__name{
    overflow-wrap: anywhere;
  }
  .sgw-tabs__list{
    overflow: scroll;
  }
  .sgw-info__row{grid-template-columns:100px 1fr}
  .sgw-prev__row{
    grid-template-columns:1fr;
    background: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .sgw-prev__row--win{
    border-left: 2px solid #1DB954;
  }
  .sgw-prev__row--loss{
    border-left: 2px solid #E53935;
  }
  .sgw-prev__row--draw{
    border-left: 2px solid #E9B809;
  }
  .sgw-prev__meta{order:3}
  .sgw-prev__venue{order:4}
  .sgw-match__logo{
    width: 42px;
    height: 42px;
    padding: 4px;
  }
  .sgw-match__score-num{
    font-size: 16px;
    line-height: 150%;
    width: 45px;
  }
  .sgw-match__name{
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
  }
  .sgw-match-card { 
    gap: 4px;
    padding: 8px;
  }
  .sgw-match-card__teams{
    min-width: auto;
  }
  .sgw-match-card__schedule { 
    text-align: center; 
    min-width: auto;
    padding: 4px 8px;
    margin-left: auto;
    order: 2;
  }
  .sgw-match-card__score{
    min-width: 18px;
    text-align: center;
    order: 3;
  }
  .sgw-breadcrumbs { 
    font-size: 13px; 
  }
  .sgw-breadcrumbs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    width: 100%;
  }
  .sgw-breadcrumbs__list::-webkit-scrollbar { display: none; }
  .sgw-catalog__events-item-title-wrapper{
    border-radius: 0;
  }
  .event-title-league{
    display: flex;
    flex-direction: column;
  }
  .sgw-toggle-icon{
    width: 22px;
    height: 22px;
  }
  .sgw-calendar-nav{
    width: 100%;
    padding: 0 16px;
  }
  .sgw-calendar-dropdown{
    width: 100%;
  }
  .sgw-calendar-dropdown__toggle{
    justify-content: center;
  }
  .sgw-calendar-arrow img{
    width: 20px;
    height: 20px;
    max-width: inherit;
  }
  .sgw-card__title{
    font-size: 16px;
    line-height: 150%;
  }
  .sgw-timeline__time{
    font-size: 14px;
    line-height: 16px;
  }
  .sgw-timeline__player{
    font-size: 14px;
    line-height: 16px;
  }
  .sgw-timeline__assist{
    font-size: 12px;
    line-height: 14px;
  }
  .sgw-timeline__score{
    font-size: 16px;
    line-height: 150%;
    padding: 2px 6px;
  }
  .sgw-timeline__row{
    gap: 0;
    padding: 12px 0;
  }
  .sgw-timeline__event--home,
  .sgw-timeline__event--away{
    gap: 8px;
  }
  .sgw-prev__badge{
    display: none;
  }

  .sgw-prev__teams{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "teamL score"
      "teamR score";
    gap: 4px;
    align-items:center;
  }
  .sgw-prev__teams .sgw-prev__team--left{
    grid-area: teamL;     
    display:flex;
    align-items:center;
    flex-direction: row-reverse;
  }
  .sgw-prev__teams .sgw-prev__team--right{
    grid-area: teamR;       
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }
  .sgw-prev__teams .sgw-prev__scorebox{
    grid-area: score;       
    justify-self: end;          
    flex-direction: column;
  }
  .sgw-prev__score-num--first{
    border-right: none;
    border-bottom: 2px solid #E6E6E6;
  }
  .sgw-prev__score-num{
    width: 30px;
    height: 32px;
  }
}