* {
	-webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0 0 40px 0;
  --text-color: #000;
}

a:focus {
  text-decoration: none;
}

input:focus::placeholder {
    opacity: 0.5;
}

.gs-row button {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header-panel {
    border-bottom: 1px solid rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    padding: 0 12px;
}
.gs-header-tabs {
  flex-grow: 1;
  gap: 30px;
  display: flex;
  padding: 0 12px;
}
.gs-header-tab.tab-active:after {
    content: '';
    display: block;
    position: absolute;
    height: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: currentColor;
    border-radius: 3px 3px 0 0;
}
.gs-ph-desc {
  margin: 32px auto 0 auto;
  width: fit-content;
}

.gs-cell-errors {
    color: #c51212 !important;
}

.gs-status-select button {
    all: unset;
    font-weight: 500;
    color: #0288DB;
    padding: 4px 6px;
    margin: -4px -6px;
    border-radius: 6px;
}


.gs-status-select button:hover {
    /*background: #0288DB22;*/
    text-decoration: underline;
}

.gs-error-banner {
  color: #CC3F3F;
  background: #CC3F3F18;
  padding: 21px 21px 12px 21px;
  margin-top: 16px;
  border-radius: 6px;
  display: none;
}
.gs-error-banner:has(li) {
  display: block;
}

#symbols_list::before {
  /*content: " ";*/
/*  position: sticky;
  top: 0;
  display: block;
  width: 48px;
  height: 290px;
  margin-bottom: -290px;*/
  /*background: linear-gradient(180deg, #b83939, #2996d6);*/
  /*mix-blend-mode: plus-lighter;*/
}

.gs-error-banner ul {
  padding: 0 0 0 8px;
}
.gs-error-banner a {
    color: currentColor;
    font-weight: 500;
}

.gs-list-subheader {
  padding: 6px 14px 4px 14px;
  position: sticky;
  top: 0;
  font-weight: 500;
  background: #f7f7f7;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  display: flex;
  justify-content: space-between;
}

.gs-input-append {
    position: absolute;
    right: 12px;
    top: 10px;
    opacity: 0.6;
}

.gs-input-decorated {
  position: relative;
}

#collection_form .form-control[readonly] {
  background-color: transparent;
}

.preview-info a {
  color: var(--text-color);
}

ul.dropdown-menu {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    min-width: 100%;
    box-shadow: none;
    padding: 0;
}

ul.dropdown-menu li {
    padding: 0;
}

ul.dropdown-menu a {
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
}

.gs-title {
  display: flex;
  align-items: baseline;
}


.gs-title > span {
  flex-grow: 1;
}

.gs-title svg {
  vertical-align: text-top;
  margin: 0 3px;
}

.gs-delete-button {
  float: inline-end;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

.form-control.star-input {
    padding-left: 38px !important;
    background-image: url('//telegram.org/img/emoji/40/E2AD90.png');
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 12px 10px;
}
.gs-logo-title {
    display: flex;
    align-items: center;
    min-width: calc(50vw - 402px);
}
.gs-logo-title svg {
    margin-right: 7px;
}

.gs-header-tab, .gs-section-tab, .gs-pagination-item {
  font-size: 14px;
  line-height: 18px;
  font-weight: bold;
  padding: 15px 0;
  white-space: nowrap;
  position: relative;
}

.gs-main-content {
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

a.gs-login-editor-btn {
  margin-top: 25px;
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  padding: 11px 25px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 4px;
  background-color: #3092e6;
  color: #fff;
  cursor: pointer;
}
a.gs-login-editor-btn:hover {
  background-color: #2789DE;
  text-decoration: none;
  color: #fff;
}
.gs-login-editor-btn:before {
  display: inline-block;
  content: '';
  width: 20px;
  height: 17px;
  margin-right: 15px;
  vertical-align: top;
  position: relative;
  top: 2px;
  background: url('data:image/svg+xml,%3Csvg height="17" viewBox="0 0 20 17" width="20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="m1.375 7.318c5.369-2.399 8.949-3.98 10.74-4.744 5.114-2.182 6.177-2.561 6.87-2.574.152-.003.493.036.713.22.187.155.238.364.262.511.025.147.055.482.031.744-.277 2.987-1.476 10.235-2.086 13.58-.259 1.416-.767 1.89-1.259 1.937-1.069.101-1.882-.725-2.917-1.422-1.621-1.09-1.636-.811-3.174-1.911-1.376-.983-1.084-2.256-.048-3.36.271-.289 3.799-4.174 3.89-4.573.011-.05.138-.698.03-.796-.107-.098-.606-.101-.72-.075-.163.038-2.447 1.6-6.852 4.686-.735.518-1.401.77-1.997.757-.658-.015-1.923-.382-2.863-.695-1.153-.385-2.07-.588-1.99-1.241.041-.34.498-.688 1.37-1.044z" fill="%23fff" fill-rule="evenodd"/%3E%3C/svg%3E') no-repeat;
}

.gs-logo-title {
    
}

.nav {
    flex-grow: 1;
}

.header-auth-item {
  display: inline-block;
  vertical-align: top;
  padding: 11px 0;
  font-weight: 500;
  white-space: nowrap;
}
.header-auth-item + .header-auth-item {
  margin-left: 15px;
}
.header-auth-link {
  display: inline-block;
  vertical-align: top;
}
.header-auth-photo {
  display: inline-block;
  vertical-align: top;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #efefef;
  text-align: center;
  overflow: hidden;
  margin: -7px 0 -7px 0;
}
.header-auth-photo img {
  width: 100%;
}
.header-auth-photo .photo-char {
  font-size: 14px;
  vertical-align: middle;
  line-height: 32px;
  color: #999;
}
.header-search-item {
  padding-bottom: 18px;
  margin-bottom: -18px;
  overflow: hidden;
}
.header-auth-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 190px;
  color: #0086d3;
}
.header-auth-name:after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 7px;
  background: url('/img/translations/icons.png?8') no-repeat -7px -324px;
  margin: 0 0 2px 7px;
}

.symbol-groups-grid {
    display: flex;
    flex-wrap: wrap;
    justify-items: stretch;
    margin: -4px -8px;
}

.symbol-groups-grid .form-group {
    flex-grow: 1;
    width: 50%;
    padding: 4px 8px;
}

.skin-model-preview {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: auto;
  padding: 32px 12px 52px 12px;
  display: flex;
  justify-content: center;
}

.gs-gift-aside .preview-skin button {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  top: 24px;
  right: 24px;
  background-color: rgba(0,0,0,0.3);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800px" height="800px" viewBox="0 0 24 24" fill="none"><path d="M8.54636 19.7673C10.9455 20.8316 13.803 20.7738 16.2499 19.361C20.3154 17.0138 21.7084 11.8153 19.3612 7.74983L19.1112 7.31682M4.63826 16.25C2.29105 12.1845 3.68399 6.98595 7.74948 4.63874C10.1965 3.22597 13.0539 3.16816 15.4531 4.23253M2.49316 16.3336L5.22521 17.0657L5.95727 14.3336ZM18.0424 9.66565L18.7744 6.9336L21.5065 7.66565Z" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>'); 
  background-size: 20px; 
  background-repeat: no-repeat;
  opacity: 0.9;
  background-position: center;
  border: none;
}

.gs-gift-aside .preview-skin button:hover {
  background-color: rgba(0,0,0,0.4);
  opacity: 1;
}


.preview-skin {
  height: 192px;
  background: #f7f7f7;
  position: relative;

}

.preview-info {
    height: 124px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.34);
}

.preview-info > div {
  width: 100%;
  color: black;
  margin-block-end: 12px;
}

.preview-info > div:last-child {
  margin-block-end: 0;
}

.preview-info b {
  width: 100px;
  display: inline-block;
  text-align: end;
  margin-inline-end: 16px;
}

.preview-skins-container {
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.12);
    margin-bottom: 36px;
    overflow: hidden;
}

.preview-skins-container:not(.show-placeholder) .placeholder {
  display: none;
}

.preview-skins-container.show-placeholder .preview-skin:not(.placeholder) {
  display: none;
}

#skins_url.active {
	border-radius: 6px 6px 0 0;
}

.form-group:has(.update-skins-button) {
	position: relative;
}
.update-skins-button {
	position: absolute;
	top: 37px;
	right: 12px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background-color: transparent;
	color: #0e9af5;
	font-weight: bold;
	border-radius: 6px;
}
.update-skins-button:hover {
	background: #0e9af511;
}
.skins-row {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    height: 44px;
    max-width: 100%;
    align-items: center;
    justify-content: stretch;
}
.skins-row:last-child {
	border-bottom: none;
}
.skins-row:target {
  background: #31aef827;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
  animation-duration: 2.2s;
  animation-name: highlight;
  animation-timing-function: ease-in-out;
}
@keyframes highlight {
  from {
      background-color: #31aef827;
  }
  to {
      background-color: transparent;
  }
}

input.active + #skins_list {
	display: block;
}
.gs-row-total {
    display: flex;
    padding: 6px 12px;
    justify-content: space-between;
    background: #f7f7f7;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 0 0 6px 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-top: none;
}
#skins_list .gs-row-total {
  border: none;
  border-radius: 0;
  position: sticky;
  bottom: 0;
}
#skins_list {
	display: none;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0 0 6px 6px;
  border-top: none;
  overflow: clip;
}
#backdrops_list,
#symbols_list {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px 6px 0 0;
    max-height: 290px;
    overflow: auto;
}

.skins-row input {
    border:none;
    height:38px;
    background: transparent;
}
.skins-row input:focus {
    outline: none;
}
.skin-row-name {
    flex-grow: 1;
}
.skin-row-name::placeholder, .skin-row-prob::placeholder {
  opacity: 0.5;
}
.skin-row-prob input {
  width: 40px;
  text-align: end;
  padding: 0;
}
.form-group label.skin-row-prob {
  margin: 0 12px;
  text-align: end;
  font-weight: 400;
}
.skins-row img {
    width: 28px;
    height: 28px;
    margin: 4px 12px;
    object-fit: contain; 
}
#skins_list .skins-row img {
  cursor: pointer;
}

#emoji_url.active:focus {
	border-radius: 6px 6px 0 0;
}

#emoji_url {
	position: relative;
}

.form-group:has(#emoji_url.active)::after {
	content: ' ';
	position: absolute;
	display: inline-block;
	vertical-align: middle;
	width: 13px;
	height: 6px;
	right: 16px;
	bottom: 16px;
	margin-left: 5px;
	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%226%22%20viewBox%3D%220%200%2013%206%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23999999%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M%201.68%201%20L%205.8%204.46%20C%206.17%204.77%206.71%204.77%207.08%204.46%20L%2011.2%201%20L%2011.2%201%22%2F%3E%3C%2Fsvg%3E');
}

i.emoji {
  font-style: normal;
  box-sizing: content-box;
}
i.emoji > b {
  font-weight: normal;
}
.emoji_default i.emoji {
  background: none !important;
}
.emoji_image i.emoji {
  width: 1.25em;
  vertical-align: top;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  background: no-repeat 2px 50%;
  background-position-y: calc(50% - 1px);
  background-size: 1.25em 1.25em;
  text-indent: -10em;
  padding: 3px 3px 3px 2px;
  margin: -3px -2px;
}
.emoji_image .rtl i.emoji {
  padding-left: 3px;
  padding-right: 2px;
}
.emoji_image i.emoji > b {
  letter-spacing: 12em;
  pointer-events: none;
}

img.emoji {
  width: 1.25em;
  height: 1.25em;
  padding: 0 1px;
  vertical-align: top;
  vertical-align: text-top;
  box-sizing: content-box;
  cursor: inherit;
}
a:hover img.emoji {
  border-bottom: 1px solid;
  padding: 0 2px;
  margin: 0 -1px;
}

.form-control {
  font-size: 14px;
  color: #000;
}

.form-control::placeholder {
	color: #999;
}



#skins_url {
  padding-inline-end: 64px;
}
#emoji_url {
  padding-inline-end: 32px;
}

.container,
.container-fluid {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
  width: auto;
  max-width: 920px;
  box-sizing: content-box;
}

.bg-image {
  background: #f7f7f7 no-repeat center;
  background-size: cover;
}
.strong {
  font-weight: 500;
}

.user-photo {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    overflow: clip;
    bottom: 9px;
    right: 8px;
}

.user-photo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.form-control {
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 12px;
  box-shadow: none;
  border-radius: 6px;
  --input-color: #35a3f6;
}

.form-control.error {
  border-color: #d75959;
  --input-color: #d75959;
}

.form-control:focus {
  border-color: var(--input-color);
	box-shadow: inset 0 0 0 1px var(--input-color);
}

.gs-form-control-msg {
    padding: 2px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #d75959;
}

main.container { 
	max-width: 780px;
  padding: 0 12px;
 }

.gs-collection-form {
	display: flex;
  gap: 0 42px;
}

#symbols_list, #backdrops_list {
  /*display: none;*/
}

#preview {
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 42px;
}
#preview:has(picture) {
  flex-direction: row;
  align-items: stretch;
}

.js-lottie canvas {
	display: block;
	margin: auto;
	max-width: 100%;
  max-height: 100%;
}

img.backdrop {
  border-radius: 6px;
}


.gs-gift-form {
	margin-top: 32px;
	width: 460px;
  flex-grow: 1;
	flex-shrink: 1;
}

.gs-gift-placeholder {
	width: 69px;
	height: 69px;
	margin: 12px auto;
	opacity: 0.5;
	border-radius: 12px;
}
.gs-gift-placeholder svg {
  width: 100%;
  height: 100%;
}

.gs-gift-form .form-label {
	font-weight: 600;
	margin: 4px 12px 8px 12px;
  display: flex;
  align-items: baseline;
}

.gs-gift-form .form-label > div {
  flex-grow: 1;
}

.gs-gift-form .gs-label-action {
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

.gs-gift-aside button {
	width: 100%;
}

.button-active {
	background: #068cd422 !important;
}

.gs-gift-aside {
	width: 278px;
  flex-grow: 1;
	flex-shrink: 1;
	padding: 62px 0 15px 0;
}

.gs-gift-preview-plain {
	background: #f7f7f7;
	max-height: 208px;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: rgba(0,0,0,0.2);
  display: flex;
}

.preview-skin {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  margin: -12px -12px 0 -12px;
  overflow: hidden;
  /*justify-content: stretch;*/
}
.preview-skin:has(picture) {
  opacity: 1;
}

.gs-gift-preview {
	position: sticky;
	border-radius: 6px;
	top: 36px;
}

.gs-table {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: none;
  overflow: clip;
}

.gs-header-row {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  padding: 12px;
}

.gs-sort-marker {
  display: inline-block;
  position: relative;
  width: 7px;
  height: 10px;
  margin: 1px 0 1px 5px;
  vertical-align: top;
}
body.rtl .gs-sort-marker {
  margin-right: 5px;
  margin-left: 0;
}
.gs-sort-marker:before,
.gs-sort-marker:after {
  position: absolute;
  width: 7px;
  height: 4px;
  background: url('data:image/svg+xml,%3Csvg%20height%3D%224%22%20viewBox%3D%220%200%207%204%22%20width%3D%227%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m3.71%203.29%202.78-2.78c.12-.12.12-.3%200-.42-.06-.06-.13-.09-.21-.09h-5.56c-.16%200-.3.13-.3.3%200%20.08.04.16.09.21l2.78%202.78c.12.12.3.12.42%200z%22%20fill%3D%22%23222%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E') no-repeat top;
  transform-origin: top center;
  transition: transform .15s ease;
  transform: rotateX(360deg);
  left: 0;
  content: '';
}
.gs-sort-marker:before {
  transform: rotateX(180deg);
  top: 4px;
}
.gs-sort-marker:after {
/*  transform-origin: bottom center;*/
  top: 6px;
}
.gs-cell-sort {
  cursor: pointer;
}
.gs-cell-sort.sort-active.sort-asc .gs-sort-marker:before {
  transform: rotateX(180deg) scale(1.25) translateY(-2.5px);
}
.gs-cell-sort.sort-active .gs-sort-marker:after {
  transform: scale(1.25) translateY(-2.5px);
}
.gs-cell-sort.sort-active .gs-sort-marker:before {
  transform: rotateX(180deg) scale(0) translateY(7px);
}
.gs-cell-sort.sort-active.sort-asc .gs-sort-marker:after {
  transform: scale(0) translateY(7px);
}

.gs-sticker-picker {
	display: none;
	position: absolute;
	background: white;
	flex-wrap: wrap;
  padding: 0 0 4px 0;
	border-radius: 0 0 10px 10px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-top: none;
	max-height: 140px;
	width: 100%;
	overflow-y: auto;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.form-group:focus-within .gs-sticker-picker {
	display: flex;
}

.gs-sticker-picker button {
	width: 46px;
	height: 46px;
	background: transparent;
	border: none;
	border-radius: 6px;
	margin: 4px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.gs-file-input {
  display: none;
}

.gs-file-input-label {
  margin: 0;
  color: #2e87ca;
}
.gs-file-input-label:hover {
  text-decoration: underline;
}

.gs-sticker-picker button:hover {
	background: rgba(0, 0, 0, 0.06);
}

.gs-sticker-picker button img {
	width: 100%;
}

.templates-filter-input {
  border-radius: 6px;
}

.gs-controls button, .gs-controls .tg-button {
  flex-grow: 1;
}

.gs-controls button[disabled], .tg-button[disabled] {
  color: rgba(255,255,255,0.6);
}
.gs-search-input {
  font-size: 14px;
  line-height: 18px;
  padding: 11px 38px 11px 44px;
  background: transparent;
  color: #222;
  background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23999%22%20stroke-width%3D%221.3%22%3E%3Ccircle%20cx%3D%2213.18%22%20cy%3D%2210.5%22%20r%3D%224.85%22%2F%3E%3Cpath%20d%3D%22m9.83%2014.38-3.83%203.83%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
  background-repeat: no-repeat;
  background-position: 9px 7px;
}

.header-panel * {
	font-weight: 700 !important;
}

.header-panel a:hover {
  text-decoration: none;
}

a.tg-button:hover, a.tg-button:visited {
	color: white;
	text-decoration: none;
}

.gs-controls button, .tg-button {
  background: #0e9af5;
  color: white;
  min-width: 130px;
  line-height: 42px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: none;
  height: 40px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
 .gs-controls button svg, .tg-button svg {
  margin-inline-end: 5px;
 }

.secondary-button {
  margin-top: 12px;
  min-width: 160px;
  text-align: center;
  text-center: center;
  line-height: 42px;
  border-radius: 8px;
  box-shadow: none;
  height: 42px;
  border: none;
  background: none;
  font-weight: normal;
  color: #0e9af5;
}

.secondary-button::after {
    height: 6px;
    position: relative;
    bottom: 1.5px;
    /* bottom: 16px; */
    margin-left: 8px;
    width: 12px;
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2213%22%20height%3D%226%22%20viewBox%3D%220%200%2013%206%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%232d87ca%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M%201.68%201%20L%205.8%204.46%20C%206.17%204.77%206.71%204.77%207.08%204.46%20L%2011.2%201%20L%2011.2%201%22%2F%3E%3C%2Fsvg%3E);
    background-size: contain;
    background-repeat: no-repeat;
    content: " ";
    display: inline-block;
}

.delete-link {
  cursor: pointer;
}

.secondary-button:hover {
  /*background: #f3f3f3;*/
  text-decoration: underline;
}

.gs-controls button:hover:not([disabled]), .tg-button:hover:not([disabled]) {
  background: #0e90e5;
}

.gs-controls {
  display: flex;
  gap: 14px;
  align-items: stretch;
  justify-items: stretch;
  margin: 16px 0 32px 0;
}

@media (max-width: 540px) {
  .gs-controls {
   flex-wrap: wrap;
  }

  .gs-collection-form {
    flex-wrap: wrap;
  }

  .gs-gift-aside {
      width: 278px;
      padding: 0;
      margin-top: 14px;
  }
}

.gift-buy-button {
    color: #D47A00;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    background: #FFEFCF;
    border-radius: 10000px;
    margin-top: 14px;
    display: block;
    width: fit-content;
    margin: 10px auto;
}

.gift-by {
    height: 1lh;
    display: block;
    font-size: 11px;
    margin: 4px -10px;
    opacity: 0.5;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.gift-by a {
  color: var(--text-color);
}

.gs-rollout-gallery {
    background: #f2f2f2;
    margin: 0 -23px;
    padding: 18px;
    max-height: 460px;
    overflow: auto;
}

li.gs-rollout-gift {
    padding: 1px; 
    float: left; 
    width: 114px; 
    height: 160px;
    border-radius: 6px;
    background: white;
    font-size: 1em; 
    text-align: center;
    display: block;
    padding: 14px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: grab;
    overflow: clip;
    overflow-clip-margin: 2px;
}

.gs-rollout-gift-ribbon {
  position: absolute;
  width: 80px;
  top: 0;
  right: 0;
  height: 20px;
  line-height: 20px;
  border-radius: 4px;
  background: #0e9af5;
  color: white;
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  transform-origin: top left;
  transform: translate(39px, -16px) rotate(45deg);
}

.gs-rollout-gift-ribbon-unlimited {
  background: #25ac30;
  font-size: 10px;
}

.gs-rollout-gift picture {
  display: block;
  margin: auto;
  width: 74px;
  height: 74px;
}

ul.gs-rollout-gift-grid {
  list-style-type: none;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 16px;
}

.gs-rollout-gallery-help {
  font-size: 13px;
  margin: 20px auto;
  width: fit-content;
  opacity: 0.4;
  display: block;
}


.gs-rollout-upgrade-row img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    /*margin-right: -16px;*/
}

.gs-rollout-upgrade-row b {
  font-weight: 500;
  color: var(--text-color);
}

.rollout-upgrade-row-title {
  white-space: normal;
  min-width: 40px;
}

.gs-rollout-upgrade-row {
    color: #888888;
    background: white;
    padding: 10px 16px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.gs-rollout-upgrade-row:first-of-type {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.gs-rollout-upgrade-row:last-of-type {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom: none;
}

div:has(& > input) {
  background: red;
}

.gs-row.gs-row-selected {
    background: #0caade14;
    border-color: #0e9af544;
}

.gs-row {
  padding: 5px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

a.gs-row {
	color: inherit;
}

a.gs-row:hover {
	text-decoration: none;
}

.gs-row:hover:not(.gs-row-selected) {
  background: rgba(0,0,0,0.03);
}

.gs-row a {
  font-weight: 500;
}

.gs-row:last-child {
  /*border: none;*/
}

.gs-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 32px 12px 12px 12px;
  flex-wrap: wrap;
  gap: 32px 0;
}

.gs-row, .gs-header-row {
  display: flex;
  justify-content: stretch;
  align-items: center;
}

.gs-header-row > span, .gs-row > span {
  flex-grow: 1;
  flex-shrink: 1;
  padding-inline-end: 4px;
  line-height: 13px;
}

.gs-row img, .gs-table-thumb {
  width: 34px;
  height: 34px;
  margin-right: 8px;
}

.gs-header-row > span:nth-child(1), .gs-row > span:nth-child(1) {
  width: 220px; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gs-header-row > span:nth-child(2), .gs-row > span:nth-child(2) {
  width: 120px; 
}
.gs-header-row > span:nth-child(3), .gs-row > span:nth-child(3) {
  width: 100px; 
}
.gs-header-row > span:nth-child(4), .gs-row > span:nth-child(4) {
  width: 100px; 
}
.gs-header-row > span:nth-child(5), .gs-row > span:nth-child(5) {
  width: 100px; 
}


.login-popup-container section {
  line-height: 23px;
  max-width: 600px;
}
.login-popup-container h2 {
  font-size: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.login-popup-container p {
  margin-bottom: 18px;
}
.login-popup-container p.help-block {
  margin-top: 18px;
  margin-bottom: -7px;
}
.login-popup-container .form-control {
  max-width: 280px;
}

.dots-animated:after {
  position: absolute;
  display: inline-block;
  animation: dotty steps(1, end) 1s infinite;
  content: '...';
}

@-webkit-keyframes dotty {
  0%, 100% { content: '';    }
  25%      { content: '.';   }
  50%      { content: '..';  }
  75%      { content: '...'; }
}
@keyframes dotty {
  0%, 100% { content: '';    }
  25%      { content: '.';   }
  50%      { content: '..';  }
  75%      { content: '...'; }
}

@-webkit-keyframes upload-circle {
  from { transform: rotateZ(-90deg); }
  to   { transform: rotateZ(270deg); }
}
@keyframes upload-circle {
  from { transform: rotateZ(-90deg); }
  to   { transform: rotateZ(270deg); }
}


.popup-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.6);
  z-index: 101;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.popup {
  max-width: 100%;
  word-wrap: break-word;
  margin: 15px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
}
.popup section {
  position: relative;
  padding-bottom: 60px;
}
.popup h4 {
  font-size: 18px;
  margin: 5px 0 15px;
}
.popup h4 ~ h4 {
  margin-top: 25px;
}
.popup-body {
  padding: 20px;
}
.login-popup-container .popup-body {
  padding: 15px 25px 25px;
}
@media (min-width: 560px) {
  .popup {
    margin: 50px;
  }
  .popup-body {
    padding: 30px 35px;
  }
  .login-popup-container .popup-body {
    padding: 50px 60px;
  }
}
@media (min-width: 768px) {
  .popup {
    max-width: 600px;
  }
}
.popup .popup-text {
  margin: 0;
  line-height: 24px;
  position: relative;
  z-index: 1;
}
.popup .popup-buttons {
  margin: -17px -15px -10px;
  position: absolute;
  right: 0;
  bottom: 0;
}



.form-group label,
.popup-text b,
.gs-markdown strong {
  font-weight: 500;
}
.form-group-buttons {
  margin-top: 30px;
}

.gs-layer-popup {
  padding: 19px 23px;
  margin: auto 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
  flex-shrink: 1;
  min-width: 360px;
  max-width: 90%;
  max-width: calc(100vw - 30px);
}

.gs-layer-popup-rollout {
  max-width: 400px;
  width: calc(100vw - 30px);
}

.gs-layer-header {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  margin: 0 0 16px;
  overflow: hidden;
}

.popup-button {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
  background-color: transparent;
  transition: background-color .15s ease;
  color: #0288db;
  cursor: pointer;
}

.popup-button:hover {
  background: #e6f1f7;
}

.popup-button.submit-form-btn, .popup-button.popup-primary-btn {
    color: #fff;
    background: #119af5;
    transition: background-color .2s ease;
    border: none;
}

.popup-buttons {
    margin: 20px -9px -5px;
    text-align: right;
}

body { 
  --image-url-stars-icon: url('data:image/svg+xml,%3Csvg%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20width%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3Cpath%20id%3D%22a%22%20d%3D%22m6.02%204.99%202.21-4.42c.25-.51.86-.72%201.37-.46.2.1.36.27.46.47l2.08%204.26c.17.34.5.58.88.63l4.36.52c.59.08%201.02.62.95%201.22-.03.24-.14.47-.32.65l-3.45%203.42c-.14.13-.2.33-.18.53l.57%204.61c.09.66-.38%201.27-1.03%201.35-.25.03-.5-.02-.72-.14l-3.64-2c-.26-.14-.58-.15-.85-.01l-3.77%201.95c-.53.27-1.18.06-1.45-.48-.11-.2-.14-.43-.11-.65l.3-2.12c.15-1.04.79-1.93%201.71-2.41l4.19-2.15c.11-.06.15-.2.1-.31-.05-.09-.14-.14-.24-.12l-5.12.74c-.78.11-1.58-.11-2.19-.62l-1.71-1.4c-.49-.4-.56-1.12-.17-1.62.19-.22.45-.37.74-.41l4.38-.57c.28-.03.52-.21.65-.46z%22%2F%3E%3ClinearGradient%20id%3D%22b%22%20x1%3D%2225%25%22%20x2%3D%2274.92%25%22%20y1%3D%22.825%25%22%20y2%3D%22107.86%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd951%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffb222%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22c%22%20x1%3D%2250%25%22%20x2%3D%2250%25%22%20y1%3D%220%25%22%20y2%3D%2299.8%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e58f0d%22%2F%3E%3Cstop%20offset%3D%22.9996%22%20stop-color%3D%22%23eb7915%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22d%22%20height%3D%22110.6%25%22%20width%3D%22110.3%25%22%20x%3D%22-5.2%25%22%20y%3D%22-5.3%25%22%3E%3CfeOffset%20dx%3D%221%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetInner1%22%2F%3E%3CfeComposite%20in%3D%22shadowOffsetInner1%22%20in2%3D%22SourceAlpha%22%20k2%3D%22-1%22%20k3%3D%221%22%20operator%3D%22arithmetic%22%20result%3D%22shadowInnerInner1%22%2F%3E%3CfeColorMatrix%20in%3D%22shadowInnerInner1%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%200.657%200%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%281.389%201.389%29%22%3E%3Cuse%20fill%3D%22url%28%23b%29%22%20fill-rule%3D%22evenodd%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3Cuse%20fill%3D%22%23000%22%20filter%3D%22url%28%23d%29%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3Cuse%20stroke%3D%22url%28%23c%29%22%20stroke-width%3D%22.89%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
}
.icon-telegram-stars {
  background-image: var(--image-url-stars-icon);
  width: 1em;
  height: 1lh;
  position: relative;
  bottom: 3px;
  display: inline-block;
  vertical-align: top;
  background-position: 0 center;
  background-repeat: no-repeat;
  background-size: contain;
}
