.servicesTypeTabsRow {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.servicesTypeTabs .subtab.is-disabled {
  color: rgba(232,236,255,.32);
  cursor: not-allowed;
}
.servicesTypeTabs .subtab.is-disabled .productPlacementTabIcon {
  opacity: .35;
}
.servicesPeriod {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.servicesPeriod form {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
}
.servicesMonthTabs {
  display: flex;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.servicesMonthTabs .subtab.is-disabled {
  color: rgba(232,236,255,.32);
  cursor: not-allowed;
}
.servicesMonthTabs .subtab.is-disabled:hover {
  background: transparent;
  border-color: transparent;
}
.servicesCalendarHead {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 14px;
}
.servicesSearch {
  display: grid;
  gap: 6px;
}
.servicesSearch .field {
  width: 220px;
}
.servicesCalendarScroll {
  --servicesMatrixBg: #0b1020;
  --servicesMatrixBorder: #20273a;
  max-height: 680px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: var(--servicesMatrixBg);
}
.servicesCalendar {
  --country-width: 210px;
  width: 100%;
}
.servicesCalendar[data-services-kind="telegram"] {
  --country-width: 380px;
  --spot-size: 46px;
  width: max(100%, calc(var(--country-width) + 16px + (var(--spots) * var(--spot-size)) + ((var(--spots) - 1) * 6px)));
}
.servicesCalendar[data-services-kind="telegram"] .servicesCalendarDays,
.servicesCalendar[data-services-kind="telegram"] .servicesCalendarSpots {
  grid-template-columns: repeat(var(--spots), minmax(var(--spot-size), 1fr));
}
.servicesChannelIdentity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
a.servicesChannelLink,
a.servicesChannelLink:hover,
a.servicesChannelLink:hover .servicesChannelCopy > strong {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.servicesChannelStats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  margin-top: 4px;
  color: rgba(232,236,255,.62);
  font-size: 12px;
  font-weight: 750;
}
.servicesChannelStats .thirdPartyMarketFlags {
  gap: 3px;
}
.servicesChannelStats .thirdPartyMarketFlags span {
  font-size: 15px;
}
.servicesChannelStats .thirdPartyMarketFlag::after {
  left: calc(100% + 8px);
  top: 50%;
  bottom: auto;
  transform: translate(3px, -50%);
}
.servicesChannelStats .thirdPartyMarketFlag:hover::after,
.servicesChannelStats .thirdPartyMarketFlag:focus-visible::after {
  transform: translate(0, -50%);
}
.servicesChannelStatsMetrics {
  min-width: 0;
  white-space: nowrap;
}
.servicesChannelLogo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.servicesChannelCopy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.servicesCalendar[data-services-kind="telegram"] .servicesChannelCopy > strong,
.servicesCalendar[data-services-kind="telegram"] .servicesChannelCopy > span,
.servicesCalendar[data-services-kind="telegram"] .servicesChannelCopy > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.servicesCalendarHead.is-telegram {
  flex-wrap: wrap;
}
.servicesCalendarAxis,
.servicesCalendarRow {
  display: grid;
  grid-template-columns: var(--country-width) minmax(0, 1fr);
  width: 100%;
}
.servicesCalendarRow {
  border-bottom: 1px solid var(--servicesMatrixBorder);
}
.servicesCalendarRow[hidden],
.servicesCalendarEmpty[hidden],
.servicesApprove[hidden],
.servicesGamePick[hidden],
#servicesSheet [data-services-copy][hidden],
#servicesSheet [data-services-paste][hidden],
#servicesSheet [data-services-release][hidden],
#servicesSheet [data-services-approve-button][hidden],
#servicesSheet [data-services-casino-check][hidden],
.servicesSpotPicker[hidden] {
  display: none !important;
}
.servicesCalendarAxis {
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid var(--servicesMatrixBorder);
  background: var(--servicesMatrixBg);
}
.servicesCalendarCorner,
.servicesCalendarCountry {
  position: sticky;
  left: 0;
  z-index: 5;
  border-right: 1px solid var(--servicesMatrixBorder);
  background: var(--servicesMatrixBg);
}
.servicesCalendarCorner {
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(232,236,255,.58);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}
.servicesCalendarDays,
.servicesCalendarSpots {
  display: grid;
  grid-template-columns: repeat(var(--spots), minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}
.servicesCalendarDay {
  display: grid;
  min-height: 42px;
  place-content: center;
  text-align: center;
}
.servicesCalendarDay span {
  color: rgba(232,236,255,.48);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.servicesCalendarDay strong {
  margin-top: 2px;
  font-size: 13px;
}
.servicesCalendarDay.is-past span,
.servicesCalendarDay.is-past strong {
  color: rgba(232,236,255,.28);
}
.servicesCalendarCountry {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
}
.servicesCalendarCountry > strong {
  font-size: 15px;
}
.servicesCalendarCountry > span:not(.slotMarketLabel),
.servicesCalendarCountry > small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.servicesCalendarSpots {
  align-items: start;
}
.servicesSpot {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  align-self: start;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: inherit;
  font: inherit;
}
.servicesSpot img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.servicesSpotDay {
  position: absolute;
  inset: 2px;
  display: grid;
  place-items: center;
  color: rgba(232,236,255,.86);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}
button.servicesSpot {
  cursor: pointer;
}
.servicesSpot.is-locked {
  cursor: not-allowed;
  opacity: .42;
}
button.servicesSpot.is-locked {
  cursor: pointer;
}
button.servicesSpot.is-locked.is-copy,
button.servicesSpot.is-locked.is-crowd {
  opacity: 1;
}
.servicesSpot.is-locked img {
  filter: grayscale(1);
}
button.servicesSpot.is-locked.is-copy img,
button.servicesSpot.is-locked.is-crowd img {
  filter: none;
}
.servicesCalendar.is-paste-armed [data-services-spot][data-occupied="1"],
.servicesCalendar.is-paste-armed [data-services-spot].is-paste-closed {
  opacity: .42;
  cursor: not-allowed;
}
.servicesCalendar.is-paste-armed [data-services-spot][data-occupied="1"] img {
  filter: grayscale(1);
}
button.servicesSpot.is-open:hover {
  border-color: var(--focusBorderStrong);
  background: var(--focusBgSoft);
  box-shadow: inset 0 0 0 1px var(--focusBorder);
}
.servicesSpot.is-selected {
  border-color: var(--focusBorderStronger);
  background: var(--focusBgStrong);
  box-shadow: inset 0 0 0 1px var(--focusBorderStronger);
}
.servicesSpot.is-mine {
  border-color: rgba(167, 139, 250, .45);
  background: rgba(124, 92, 255, .16);
}
.servicesSpot.is-copy,
.servicesSpot.is-releasing,
.servicesSpot.is-crowd,
.servicesSpot.is-selected.is-pasted {
  border-color: #f5c61c;
  box-shadow: inset 0 0 0 1px #f5c61c;
}
.servicesSpot.has-game::before,
.servicesSpot.has-giveaway::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #10182c;
}
.servicesSpot.has-game::before {
  background: #ff3dbe;
}
.servicesSpot.has-giveaway::before {
  background: #22d3ee;
}
.servicesSpot.is-paste-target .servicesSpotDay {
  display: none;
}
.servicesSpotPaste {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--warnTextStrong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
  pointer-events: none;
}
.servicesGameTip {
  position: fixed;
  z-index: 40;
  max-width: min(360px, calc(100vw - 16px));
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(11, 16, 32, .96);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.servicesGameTip[hidden] {
  display: none;
}
.servicesGameTip.is-below {
  transform: translate(-50%, 0);
}
#servicesSheet.sheet {
  display: none;
}
html:not([data-sheet-dock="side"]) #servicesSheet.sheet {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  margin-top: 16px;
  padding: 16px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(2, 7, 20, .38);
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}
html:not([data-sheet-dock="side"]) #servicesSheet.sheet.is-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
}
html:not([data-sheet-dock="side"]) #servicesSheet .sheetTop,
html:not([data-sheet-dock="side"]) #servicesSheet .sheetBody,
html:not([data-sheet-dock="side"]) #servicesSheet .sheetFooter {
  width: auto;
  max-width: none;
  margin: 0;
}
html:not([data-sheet-dock="side"]) #servicesSheet .sheetTop {
  grid-column: 1;
  align-items: center;
}
html:not([data-sheet-dock="side"]) #servicesSheet .sheetFooter {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  border: 0;
  justify-content: flex-end;
}
html:not([data-sheet-dock="side"]) #servicesSheet .sheetBody {
  grid-column: 1 / -1;
  max-height: none;
  overflow: visible;
}
#servicesSheet .servicesSheetError {
  grid-column: 1 / -1;
  margin: 0;
}
#servicesSheet .sheetBody {
  display: grid;
  gap: 14px;
  padding-bottom: 16px;
}
.servicesSheetKindLabel {
  margin: 12px 2px 4px;
  color: rgba(232,236,255,.62);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: lowercase;
}
.servicesSheetKindLabel:first-child {
  margin-top: 0;
}
.servicesSheetGroup {  display: grid;
  gap: 8px;
}
.servicesSheetGroup.is-multi {
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(167, 139, 250, .38);
  border-radius: 16px;
  background: rgba(124, 92, 255, .08);
}
.servicesSheetGroup.is-multi .servicesSheetCard {
  border-color: rgba(255,255,255,.06);
  background: rgba(8, 12, 24, .62);
}
.servicesSheetGroupHead,
.servicesSheetCardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}
.servicesSheetGroupHead.sheetRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.servicesSheetGroupCountries {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 100%;
  color: rgba(232,236,255,.62);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.servicesSheetGroupCountries.servicesSheetCardTitle .servicesSheetCardDay {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  color: rgba(232,236,255,.62);
  font-weight: 650;
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: unset;
}
.servicesSheetGroupHead.sheetRow:hover {
  border-color: transparent;
  background: transparent;
}
.servicesSheetGroupHead .sheetRowLeft {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: normal;
}
.servicesSheetGroupHead .sheetRowMain {
  display: flex;
  min-width: 0;
}
.servicesSheetCardTitle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.servicesSheetChannelLogo {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.servicesSheetCardHead strong span.servicesSheetCardDay,
.servicesSheetCardTitle .servicesSheetCardDay {
  flex: 0 1 auto;
  min-width: auto;
  max-width: 100%;
  overflow: hidden;
  color: rgba(232,236,255,.92);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.servicesSheetCardHead {
  flex-wrap: wrap;
}
.servicesSheetCardActions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}
.servicesSheetPin {
  padding: 6px 10px;
  white-space: nowrap;
}
.servicesSheetGroupTitle {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.servicesSheetGroupTitle strong,
.servicesSheetCardHead strong {
  color: rgba(232,236,255,.92);
  font-size: 14px;
}
.servicesSheetCardHead strong span {
  color: rgba(232,236,255,.62);
  font-weight: 500;
}
.servicesSheetGroupTitle span {
  color: rgba(232,236,255,.62);
  font-size: 12px;
}
.servicesSheetCards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
html[data-sheet-dock="side"] #servicesSheet.sheet {
  min-width: 0;
  overflow-x: hidden;
}
html[data-sheet-dock="side"] #servicesSheet .sheetBody {
  overflow-x: hidden;
}
html[data-sheet-dock="side"] #servicesSheet .servicesSheetCards {
  grid-template-columns: minmax(0, 1fr);
}
.servicesSheetCard {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(10,14,28,.3);
}
#servicesSheet .sheetFooter {
  justify-content: flex-end;
  gap: 10px;
}
#servicesSheet.is-saving .sheetFooter button {
  cursor: wait;
}
.servicesPage:has(#servicesSheet.is-saving) {
  cursor: wait;
}
.servicesPage:has(#servicesSheet.is-saving) .servicesCalendar {
  pointer-events: none;
}
#servicesSheet .sheetFooter:has([data-services-pinned-wrap]:not([hidden])) {
  justify-content: space-between;
}
#servicesSheet [data-services-copy] {
  border-color: var(--warnBorder);
  background: var(--warnBg);
  color: var(--warnText);
}
#servicesSheet [data-services-copy]:hover:not(:disabled) {
  background: var(--warnBgMid);
}
#servicesSheet [data-services-copy]:disabled {
  opacity: .4;
  cursor: not-allowed;
}
#servicesSheet [data-services-paste] {
  border-color: var(--focusBorder);
  background: var(--focusBgMid);
  color: rgba(242,238,255,.98);
}
#servicesSheet [data-services-paste]:hover {
  border-color: var(--focusBorderStrong);
  background: var(--focusBgStrong);
}
#servicesSheet [data-services-release],
#servicesSheet [data-services-sheet-clear].is-cancel {
  border-color: var(--badBorder);
  background: var(--badBg);
  color: var(--badText);
}
#servicesSheet [data-services-release]:hover,
#servicesSheet [data-services-sheet-clear].is-cancel:hover {
  background: var(--badBgMid);
}
#servicesSheet [data-services-casino-check].widgetsCheckOk,
#servicesSheet [data-services-casino-check].widgetsCheckErr {
  opacity: 1;
  cursor: default;
}
#servicesSheet [data-services-approve-button] {
  border-color: var(--focusBorder);
  background: var(--focusBgMid);
  color: rgba(242,238,255,.98);
}
#servicesSheet [data-services-approve-button]:hover:not(:disabled) {
  border-color: var(--focusBorderStrong);
  background: var(--focusBgStrong);
}
#servicesSheet [data-services-approve-button]:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.servicesSheetCardFields {
  display: grid;
  gap: 8px;
}
.servicesSheetProviderLink {
  color: inherit;
  text-decoration: none;
}
.servicesSheetProviderLink:hover {
  color: #c4b5fd;
}
#servicesSheet .sheetItemPartnerSelect.field,
#servicesSheet .sheetItemCasinoSelect.field {
  width: 100%;
  max-width: none;
}
.servicesGamePick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}
.servicesGamePick label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.servicesGamePick select {
  width: auto;
  max-width: 100%;
  text-transform: none;
}
.servicesCalendarEmpty {
  padding: 16px;
}
.servicesPage {
  container-type: inline-size;
}
@container (max-width: 1240px) {
  .servicesPage .servicesCalendarHead:not(.is-telegram) {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .servicesPage .servicesCalendarHead:not(.is-telegram) .servicesPeriod {
    flex: 1 1 auto;
    min-width: 0;
  }
  .servicesPage .servicesCalendarHead:not(.is-telegram) .servicesMonthTabs {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }
  .servicesPage .servicesCalendarHead:not(.is-telegram) .servicesSearch {
    flex: 1 1 200px;
    width: auto;
    min-width: 160px;
    max-width: 280px;
    margin-left: auto;
  }
  .servicesPage .servicesCalendarHead:not(.is-telegram) .servicesSearch .field {
    width: 100%;
    max-width: 100%;
  }
}
@container (max-width: 560px) {
  .servicesPage .servicesCalendarHead:not(.is-telegram) .servicesSearch {
    flex: 1 0 100%;
    max-width: none;
    margin-left: 0;
  }
}
@media (max-width: 720px) {
  .servicesCalendarHead {
    flex-wrap: wrap;
  }
  .servicesSearch,
  .servicesSearch .field {
    width: 100%;
  }
  #servicesSheet.sheet.is-open {
    grid-template-columns: minmax(0, 1fr);
  }
  #servicesSheet .sheetFooter {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
}
