/* Модалки, форма добавления канала, анимации, правки 2026-06, администраторы и пользователи. */
/* Порядок подключения важен: каскад зависит от последовательности файлов. */
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalLift { from { opacity: 0; transform: translateY(calc(var(--modal-y, 0px) + 12px)); } to { opacity: 1; } }
@media (max-width: 1500px) { body { min-width: 0; } .header { padding: 0 24px; } .page-shell, .footer { width: calc(100% - 48px); } }
@media (max-width: 900px) { .header { height: 116px; grid-template-columns: 1fr auto; grid-template-rows: 52px 48px; grid-template-areas: "brand actions" "nav nav"; padding: 8px 16px 0; } .header::after { top: 116px; } .brand { grid-area: brand; } .catalog-menu { grid-area: nav; } .header-actions { grid-area: actions; gap: 12px; } .page-shell { width: calc(100% - 32px); grid-template-columns: 1fr; } .sidebar, .add-channel, .filters { width: 100%; } .channel-grid { width: 100%; grid-template-columns: minmax(0,338px); } .footer { grid-template-columns: 1fr; } .footer-empty { display: none !important; } }



.step-text { display: block; }
.channel-step:nth-child(2), .channel-step:nth-child(4) { display: flex; align-items: center; }
.step-red { color: #E62229; font-weight: 400; }
.step-blue { color: var(--blue); }
.catalog-search img { transition: opacity .28s ease, filter .28s ease; }
.search-clear { display: none !important; }
.reach-periods button { transition: color .2s ease, background-color .24s ease, border-color .24s ease, transform .18s ease; }
.reach-periods button.selected { animation: periodSelect .2s ease; }
.filter-actions button img { transition: transform .45s ease, filter .2s ease; }
.save-search[aria-pressed="true"] img { animation: favoritePop .28s ease; filter: none; }
.restore-search.is-spinning img { animation: restoreSpin .55s ease; }
@keyframes chipIn { from { opacity: 0; transform: scale(.86) translateY(-2px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes checkboxPop { 0% { transform: scale(.82); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes favoritePop { 0% { transform: scale(.8); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes restoreSpin { to { transform: rotate(360deg); } }
@keyframes periodSelect { 0% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes copyPulse { 0% { transform: scale(.98); } 100% { transform: scale(1); } }


.metric-icon-img { width: 16px; height: 16px; object-fit: contain; flex: 0 0 16px; }
.metric-orders .metric-icon-img { margin-right: 5.5px; }
.metric-score .metric-icon-img { margin-right: 6.25px; }
input[type="search"]::-webkit-search-cancel-button { appearance: none; display: none; }
input[type="search"]::-ms-clear { display: none; width: 0; height: 0; }

/* 2026-06 auth/catalog polish */
.language { width: 68px; }
.language img { content: url('../assets/global.png'); width: 20px; height: 20px; object-fit: contain; }
.selected-categories { flex-wrap: nowrap; }
.chip { max-width: 210px; flex: 0 0 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: opacity .54s ease, transform .54s ease, background-color .18s ease; }
.chip.just-added { animation-duration: .54s; }
.dropdown-search img { width: 20px; height: 20px; flex-basis: 20px; transition: opacity .28s ease, filter .28s ease; }
.dual-range { overflow: visible; cursor: pointer; }
.catalog-empty { padding-bottom: 100px; }
.catalog-page { margin-bottom: 80px; }
.catalog-search { padding-left: 18.5px; padding-right: 18.5px; }
.catalog-search img { width: 21px; height: 21px; flex-basis: 21px; transition: opacity .28s ease, filter .28s ease; }
.sort-direction { align-items: center; justify-items: center; }
.sort-direction[aria-pressed="true"] img { transform: scaleX(-1); }
.catalog-sort.has-selection .dropdown-trigger { color: var(--text-75); }
.catalog-sort.has-selection .sort-direction img { opacity: .75; }
.card-pro { width: 41px; height: 22px; font: 700 12px/18px var(--font); }
.metric strong::after { width: 16px; height: 16px; }
.metric-orders strong, .metric-score strong { gap: 5px; }
.metric-orders .metric-icon-img, .metric-score .metric-icon-img { margin-right: 0 !important; }
.metric-score strong { color: #F7C02A; }
.card-slots { justify-content: flex-start; }
.modal-card { animation: modalZoom .22s ease; }
.bot-copy .copy-default b { color: var(--blue); font: 500 14px/18px var(--font); }
.bot-copy.copied .copy-success b { color: #fff; font: 500 14px/18px var(--font); }
.bot-copy.copied img { content: url('../assets/copy-check.svg'); }
.add-channel-card .bot-copy {
  height: 44px;
  padding: 0 14px 0 16px;
  color: var(--blue);
  background: rgba(30,85,249,.12);
  border-radius: 8px;
}
.add-channel-card .bot-copy:hover,
.add-channel-card .bot-copy:active,
.add-channel-card .bot-copy:focus,
.add-channel-card .bot-copy:focus-visible {
  color: var(--blue);
  background: rgba(30,85,249,.12);
}
.add-channel-card .bot-copy.copied,
.add-channel-card .bot-copy.copied:hover,
.add-channel-card .bot-copy.copied:active,
.add-channel-card .bot-copy.copied:focus,
.add-channel-card .bot-copy.copied:focus-visible {
  color: #fff;
  background: var(--blue);
}
.add-channel-card .bot-copy .copy-default b,
.add-channel-card .bot-copy.copied .copy-success b {
  font: 600 16px/20px var(--font);
}
.add-channel-card .bot-copy img {
  width: 18px;
  height: 18px;
}
.add-channel-card .bot-copy .copy-default img {
  filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(3215%) hue-rotate(220deg) brightness(98%) contrast(103%);
}
.my-channel-avatar[href],
.my-channel-text[href] {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.submit-channel.is-loading::after { left: 50%; top: 50%; translate: -50% -50%; }
@keyframes modalZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }

/* Modal positioning fix: keep zoom animation from fighting translateY offsets */
#auth-modal { align-items: start; padding-top: calc(50vh - 154px); }
#channel-modal { align-items: start; padding-top: calc(50vh - 353px); }
.auth-card,
.add-channel-card { transform: none; }
.modal-card { transform-origin: center; animation: modalZoomStable .22s cubic-bezier(.2,.8,.2,1); }
@keyframes modalZoomStable {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}



body.hot .hot-deal span, body.hot .hot-deal b { font: 400 14px/18px var(--font); }

/* 2026-06-26 UI corrections */
html, body, button, input { font-synthesis: none; }
.site::before { background-size: 806px 806px; }
body.profile-view .catalog-menu::after,
html.route-profile .catalog-menu::after { opacity: 0; transform: translateX(0); box-shadow: none; }
html.route-profile .catalog-page,
html.route-channel .catalog-page { display: none; }
.catalog-menu::after { box-shadow: 0 -2px 32px #4373FF, 0 -2px 24px rgba(67,115,255,.8), 0 -2px 12px rgba(67,115,255,.5); }
body.hot .catalog-menu::after,
html.route-hot .catalog-menu::after { box-shadow: 0 -2px 32px #FFAE34, 0 -2px 24px rgba(255,174,52,.8), 0 -2px 12px rgba(255,174,52,.5); }
body.profile-view .nav-item { color: var(--text-75); font-weight: 400; text-shadow: none; }
.login .profile-name { width: 58px; font: 500 16px/20px var(--font); mask-image: none; -webkit-mask-image: none; text-overflow: ellipsis; }
.empty-selection { font: 500 14px/18px var(--font); }
.section-title { font: 300 16px/20px var(--font); }
.catalog-search { padding-left: 18.5px; padding-right: 18.5px; gap: 8px; }
.catalog-search img { width: 15px; height: 15px; flex: 0 0 15px; }
.dropdown-search { padding-left: 14.5px; padding-right: 12px; gap: 8px; }
.dropdown-search img { width: 15px; height: 15px; flex: 0 0 15px; }
.profile-page-title { justify-content: center; text-align: center; }
.profile-content { border: 1px solid var(--line); }
.sort-dropdown .dropdown-panel { top: 60px; width: 220px; padding: 4px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; transform: translateY(-6px); }
.catalog-sort:has(.sort-dropdown.open) { border-radius: 10px; }
.sort-dropdown.open .dropdown-panel { transform: translateY(0); }
.sort-dropdown .dropdown-panel button { height: 34px; padding: 0 10px; justify-content: center; text-align: center; border-radius: 7px; font: 400 16px/20px var(--font); }
.sort-dropdown .dropdown-panel button:hover, .sort-dropdown .dropdown-panel button.selected { color: var(--blue); background: rgba(30,85,249,.12); }
.metric-score strong { color: var(--orange) !important; }
.filter-actions img, .clear-filters img { width: 19px; height: 19px; }
.chip.removing { pointer-events: none; opacity: 0; transform: scale(.86) translateY(-2px); transition: opacity .54s ease, transform .54s ease; }

.chip.removing { animation: none !important; }


/* Center selected sorting value while keeping chevron clickable and 20px from right */
.dropdown-trigger { position: relative; justify-content: center; padding: 0 40px 0 17px; text-align: center; }
.dropdown-trigger span { display: block; width: 100%; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; }
.dropdown-trigger i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }


/* Keep active menu glow out of the header blur strip without clipping sides */
.header::before { content: ""; position: absolute; left: 0; right: 0; top: 72px; height: 12px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(5,7,13,.72), rgba(5,7,13,0)); backdrop-filter: blur(12px); }
.header::after { display: none; }


/* Wider authenticated profile button */
.login.is-profile,
.login.is-profile:hover { width: 190px; }
.login.is-profile .profile-name { width: 110px; }


/* Sorting control final geometry */
.catalog-sort { width: 220px; height: 52px; padding: 0; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 0; }
.sort-direction { width: 40px; height: 52px; display: grid; place-items: center; }
.sort-direction img { width: 16px; height: 16px; transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
.sort-direction[aria-pressed="true"] img { transform: scaleX(-1); }
.sort-dropdown { position: static; width: 180px; min-width: 0; }
.dropdown-trigger { position: relative; width: 180px; height: 52px; padding: 0 40px 0 0; display: flex; align-items: center; justify-content: center; color: var(--text-40); text-align: center; font: 300 16px/20px var(--font); }
.dropdown-trigger span { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; pointer-events: none; }
.dropdown-trigger i { position: absolute; right: 20px; top: 50%; width: 9px; height: 5px; background: url('../assets/chevron-down.svg') center/contain no-repeat; transform: translateY(-50%); transform-origin: center; pointer-events: none; transition: transform .2s ease; }
.sort-dropdown.open .dropdown-trigger i { transform: translateY(-50%) rotate(180deg); }
.catalog-sort.has-selection .dropdown-trigger { color: var(--text-75); }


/* Profile button exact fixed size */
.login.is-profile,
.login.is-profile:hover { width: 138px; height: 52px; padding: 4px 20px 4px 4px; gap: 12px; }
.login.is-profile .avatar { width: 44px; height: 44px; flex: 0 0 44px; }
.login.is-profile .profile-name { width: auto; min-width: 0; max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; mask-image: none; -webkit-mask-image: none; font: 500 16px/20px var(--font); }

/* Keep the unauthenticated icon and label centered as one symmetric group. */
.login:not(.is-profile),
.login:not(.is-profile):hover { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; }
.login:not(.is-profile) .avatar { position: static; width: 16px; height: 13.26px; flex: 0 0 16px; }
.login:not(.is-profile) .login-text { position: static; width: auto; height: auto; display: block; }


/* Active menu glow restored */
.catalog-menu::after { box-shadow: 0 -2px 32px #4373FF, 0 -2px 24px rgba(67,115,255,.8), 0 -2px 12px rgba(67,115,255,.5); }
body.hot .catalog-menu::after,
html.route-hot .catalog-menu::after { box-shadow: 0 -2px 32px #FFAE34, 0 -2px 24px rgba(255,174,52,.8), 0 -2px 12px rgba(255,174,52,.5); }
body.profile-view .catalog-menu::after,
html.route-profile .catalog-menu::after { opacity: 0; transform: translateX(0); box-shadow: none; }


/* Sort direction icon exact geometry */
.sort-direction { width: 52px; justify-items: start; padding-left: 18px; }
.sort-direction img { width: 19px; height: 19px; }
.sort-direction[aria-pressed="true"] img { transform: scaleY(-1); }


/* Sort direction icon keeps original SVG fill/opacity */
.catalog-sort.has-selection .sort-direction img,
.sort-direction img { opacity: 1; filter: none; }


/* Profile menu exact inner spacing and section titles */
.profile-menu-title { font: 500 16px/20px var(--font); }
.profile-menu-items > button { width: 306px; color: var(--text-75); font: 400 18px/22px var(--font); }
.profile-menu-items > button.selected { color: #fff; font-weight: 600; }
.profile-menu-card .profile-menu-title {
  width: calc(100% + 8px);
  height: 38px;
  border-radius: 0;
  font: 500 16px/20px var(--font);
}
.profile-main-menu .profile-menu-title,
.profile-buy-menu .profile-menu-title { color: var(--blue); }
.profile-sell-menu .profile-menu-title { color: #2AB822; }
.profile-manage-menu .profile-menu-title { color: var(--orange); }
.profile-menu-card.collapsed {
  height: 39px;
  min-height: 39px;
  gap: 0;
}

/* Profile copy fields match add-channel username copy style */
.profile-id-field > span { color: var(--text-75); font: 400 14px/18px var(--font); }
.profile-id-field .profile-copy { width: 100%; height: 38px; margin-top: 0; padding: 0 14px 0 16px; }
.profile-id-field .profile-copy img { position: static; right: auto; width: 18px; height: 18px; }
.profile-id-field .profile-copy .copy-default b { color: var(--blue); font: 500 14px/18px var(--font); }
.profile-id-field .profile-copy.copied .copy-success b { color: #fff; font: 500 14px/18px var(--font); }
.profile-content-favorites { min-height: 526px; padding: 0; background: transparent; border: 0; }
.profile-favorites-grid { display: grid; grid-template-columns: repeat(3, 338px); gap: 16px; align-items: start; }
.profile-empty-state { min-height: 214px; padding: 32px; display: flex; align-items: center; color: var(--text-75); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font: 400 16px/20px var(--font); }

.profile-content-users {
  width: 1046px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.profile-content-administrators {
  width: 1046px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.administrator-sidebar { align-content: start; }
.administrator-sidebar h3 { margin: 0; color: #fff; font: 500 16px/20px var(--font); }
.administrator-assign-row { display: grid; gap: 8px; }
.administrator-assign-row .moderation-search { width: 100%; padding-right: 6px; }
.administrator-assign-submit {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2EB822;
  border-radius: 8px;
  font: 600 20px/20px var(--font);
}
.administrator-assign-submit:disabled { opacity: .45; cursor: default; }
.administrator-grants { display: grid; gap: 12px; padding: 16px 24px 24px; color: var(--text-75); }
.administrator-grants label { display: flex; align-items: center; gap: 8px; }
.administrator-grant-actions { display: flex; gap: 8px; }
.administrator-grant-actions button { flex: 1 1 0; }
.channel-share-access-card { width: min(460px, calc(100vw - 32px)); display: grid; gap: 16px; }
.channel-share-access-card h2 { margin: 0; color: #fff; font: 600 22px/28px var(--font); }
.channel-share-access-card p { margin: 0; color: var(--text-75); }
.channel-share-access-card form { display: grid; gap: 14px; }
.channel-share-access-id { display: grid; gap: 6px; color: var(--text-75); }
.channel-share-access-id input { min-height: 44px; padding: 0 12px; border: 1px solid var(--border-20); border-radius: 10px; background: var(--surface-10); color: var(--text-100); }
.channel-share-access-card fieldset { display: grid; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--border-20); border-radius: 10px; }
.channel-share-access-card legend { padding: 0 6px; color: var(--text-75); }
.channel-share-access-card fieldset label { display: flex; align-items: center; gap: 8px; color: var(--text-100); }
.channel-share-access-feedback { min-height: 20px; }
.share-access-card { width: min(454px, calc(100vw - 32px)); min-height: 0; max-height: calc(100vh - 32px); overflow: hidden; }
.share-access-card h2 { text-align: center; }
.share-access-subtitle-accent { color: var(--blue); }
.share-access-card .modal-subtitle { max-width: 340px; margin: 12px auto 0; }
.share-access-form { margin-top: 28px; display: grid; gap: 20px; text-align: left; }
.share-access-grants { min-height: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-75); font: 400 14px/18px var(--font); }
.share-access-grant-chip { position: relative; min-height: 32px; max-width: 100%; overflow: visible; color: var(--text-75); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font: 400 14px/18px var(--font); }
.share-access-grant-chip:hover, .share-access-grant-chip:focus-within, .share-access-grant-chip.is-selected { color: var(--text); border-color: var(--blue); }
.share-access-grant-select { min-height: 30px; max-width: 100%; padding: 0 34px 0 12px; overflow: hidden; color: inherit; background: transparent; border: 0; border-radius: inherit; font: inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.share-access-grant-remove { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; padding: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; color: var(--text-75); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; font: 600 14px/16px var(--font); transition: opacity .15s ease, color .15s ease, border-color .15s ease; }
.share-access-grant-chip:hover .share-access-grant-remove, .share-access-grant-chip:focus-within .share-access-grant-remove, .share-access-grant-remove:focus-visible { opacity: 1; pointer-events: auto; }
.share-access-grant-remove:hover, .share-access-grant-remove:focus-visible { color: var(--text); border-color: var(--blue); outline: none; }
.share-access-grant-chip.is-loading .share-access-grant-remove { color: transparent; pointer-events: none; }
.share-access-grant-chip.is-loading .share-access-grant-remove::after { content: ""; width: 10px; height: 10px; border: 1px solid rgba(255,255,255,.35); border-top-color: var(--blue); border-radius: 50%; animation: shareAccessRemoveSpin .75s linear infinite; }
.share-access-grants.is-loading, .share-access-grants.is-error, .share-access-grants.is-empty { display: flex; }
.share-access-grants.is-error { color: #EF5350; }
.share-access-grants .share-access-grants-retry { margin-left: 4px; color: var(--blue); text-decoration: underline; }
.share-access-field { display: grid; gap: 8px; color: var(--text); font: 500 14px/18px var(--font); }
.share-access-field input { width: 100%; height: 48px; padding: 0 14px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; font: 400 16px/20px var(--font); outline: none; }
.share-access-field input:focus { border-color: var(--blue); }
.share-access-field input[aria-invalid="true"] { border-color: #EF5350; }
.share-access-permissions { min-width: 0; margin: 0; padding: 0; display: grid; gap: 8px; border: 0; }
.share-access-permissions legend { margin-bottom: 4px; padding: 0; color: var(--text); font: 500 14px/18px var(--font); }
.share-access-permission { min-height: 20px; display: flex; align-items: center; gap: 8px; color: var(--text-75); font: 400 16px/20px var(--font); }
.share-access-feedback { min-height: 20px; margin: -4px 0 0; color: var(--text-75); text-align: center; font: 400 14px/20px var(--font); }
.share-access-feedback.is-error { color: #EF5350; }
.share-access-submit { position: relative; width: 100%; max-width: 430px; height: 48px; margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--blue); border-radius: 10px; font: 600 14px/18px var(--font); }
.share-access-submit.is-loading { color: transparent; background: var(--blue); pointer-events: none; }
.share-access-submit.is-error, .share-access-submit.is-error:hover { color: #fff; background: #E62929; border-color: #E62929; }
.share-access-submit.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: shareAccessLoaderSpin .75s linear infinite; }
@keyframes shareAccessLoaderSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes shareAccessRemoveSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.profile-users-layout {
  width: 1046px;
  display: grid;
  grid-template-columns: 692px 314px;
  gap: 40px;
  align-items: start;
}
.profile-users-list {
  width: 692px;
  display: grid;
  gap: 8px;
}
.profile-users-sidebar {
  width: 314px;
  display: grid;
  gap: 20px;
}
.profile-user-card {
  position: relative;
  width: 692px;
  min-height: 84px;
  max-height: 84px;
  overflow: hidden;
  background: #1B1B23;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: max-height .82s cubic-bezier(.22,1,.36,1), border-radius .22s ease;
}
.profile-user-card.expanded-radius {
  border-radius: 24px;
}
.profile-user-card.open {
  max-height: 420px;
}
.profile-user-head {
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  padding: 12px 0 12px 12px;
}
.profile-user-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1E55F9, #00A5E9);
  border-radius: 50%;
  overflow: hidden;
  font: 600 22px/1 var(--font);
}
.profile-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.profile-user-name {
  margin-left: 16px;
  max-width: 210px;
  min-width: 0;
  color: #fff;
  font: 600 18px/22px var(--font);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-user-chip {
  height: 35px;
  margin-left: 5px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1E55F9;
  background: rgba(30,85,249,.12);
  border-radius: 8px;
  font: 500 14px/18px var(--font);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.profile-user-chip.id-chip {
  min-width: 52px;
}
.profile-user-chip .copy-success {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.profile-user-chip .copy-success img {
  width: 16px;
  height: 16px;
}
.profile-user-chip.copied {
  color: #fff;
  background: #1E55F9;
}
.profile-user-chip.copied .copy-default {
  display: none !important;
}
.profile-user-chip.copied .copy-success {
  display: flex !important;
}
.profile-user-name + .profile-user-chip {
  margin-left: 12px;
}
.profile-user-go {
  width: 35px;
  height: 35px;
  margin-left: 5px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  background: rgba(30,85,249,.12);
  border-radius: 50%;
  pointer-events: none;
}
.profile-user-go::before {
  content: "";
  width: 16px;
  height: 16px;
  background: #1E55F9;
  mask: url('../assets/profile-user-arrow.svg') center/contain no-repeat;
  -webkit-mask: url('../assets/profile-user-arrow.svg') center/contain no-repeat;
}
.profile-user-toggle.my-channel-chevron {
  margin-left: auto;
  flex: 0 0 67px;
  width: 67px;
  height: 84px;
  margin-top: -12px;
  margin-bottom: -12px;
  opacity: .75;
}
.profile-user-card.open .profile-user-toggle.my-channel-chevron::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.profile-user-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height .42s cubic-bezier(.22,1,.36,1), opacity .22s ease;
}
.profile-user-card.open .profile-user-content {
  height: 336px;
  opacity: 1;
}
.profile-user-settings {
  margin: 16px 24px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  color: rgba(255,255,255,.75);
  font: 400 14px/18px var(--font);
}
.profile-user-settings b {
  color: #fff;
  font: 400 14px/18px var(--font);
  text-align: right;
}
.profile-user-balance {
  margin: 18px 24px 24px;
  display: grid;
  gap: 12px;
}
.profile-user-balance-current {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font: 500 14px/18px var(--font);
}
.profile-user-balance-current span {
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  background: #05050D;
  box-shadow: inset 0 0 0 1px #2F2F37;
}
.profile-user-balance-current b {
  color: #fff;
  font: 600 14px/18px var(--font);
}
.profile-user-balance-actions {
  display: grid;
  grid-template-columns: 112px 82px 82px 112px 96px 96px;
  gap: 8px;
  align-items: center;
}
.profile-user-balance-actions label {
  height: 42px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: #05050D;
  box-shadow: inset 0 0 0 1px #2F2F37;
  color: rgba(255,255,255,.45);
  font: 500 12px/15px var(--font);
}
.profile-user-balance-actions input {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font: 500 14px/18px var(--font);
}
.profile-user-balance-actions button {
  height: 42px;
  border-radius: 10px;
  color: #fff;
  background: #1E55F9;
  font: 600 13px/16px var(--font);
  transition: opacity .18s ease, background-color .18s ease;
}
.profile-user-balance-actions button[data-user-balance-action="debit"] {
  background: #E62929;
}
.profile-user-balance-actions button:disabled {
  opacity: .45;
}
.profile-user-referral {
  display: grid;
  grid-template-columns: 220px 120px;
  gap: 8px;
  align-items: center;
}
.profile-user-referral label {
  height: 42px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  background: #05050D;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #2F2F37;
  font: 500 12px/15px var(--font);
}
.profile-user-referral input {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font: 500 14px/18px var(--font);
}
.profile-user-referral button {
  height: 42px;
  color: #fff;
  background: #1E55F9;
  border-radius: 10px;
  font: 600 13px/16px var(--font);
}
.profile-user-referral button:disabled {
  opacity: .45;
}
.profile-user-card.balance-error .profile-user-balance-actions label {
  box-shadow: inset 0 0 0 1px rgba(246,75,75,.75);
}
.profile-user-card.balance-error .profile-user-referral label {
  box-shadow: inset 0 0 0 1px rgba(246,75,75,.75);
}
.profile-users-sidebar .moderation-stat {
  height: auto;
  min-height: 0;
  padding-bottom: 0;
  overflow: visible;
}
.profile-users-sidebar .moderation-stat-list {
  padding: 0 20px 16px;
}

