/* Страница канала, боковые меню профиля и первые правила личного кабинета. */
/* Порядок подключения важен: поздние правки страницы канала лежат в 09-файле. */
.channel-page { grid-template-columns: 314px 692px 314px; }
.channel-sidebar { width: 314px; }
.channel-tabs { width: 314px; height: 202px; padding: 4px; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.channel-tabs button { height: 62px; padding: 0 20px; color: var(--text-75); border-radius: 8px; text-align: left; font: 600 18px/22px var(--font); transition: color .2s ease, background-color .25s ease; }
.channel-tabs button.selected { color: var(--text); background: var(--surface-2); }
.channel-dates { width: 314px; height: 86px; margin-top: 20px; padding: 16px; display: grid; gap: 14px; background: #000003; border-radius: 12px; }
.channel-dates div { width: 282px; height: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: var(--text-75); font: 400 14px/18px var(--font); }
.channel-dates i { height: 1px; opacity: .12; border-bottom: 1px dashed #fff; }
.channel-dates b { color: #fff; font-weight: 400; }
.channel-detail-card { width: 692px; min-height: 360px; overflow: hidden; background: var(--surface); border-radius: 16px; }
.detail-cover { height: 132px; position: relative; background: var(--cover-bg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.detail-avatar { position: absolute; left: 32px; bottom: -44px; width: 88px; height: 88px; display: grid; place-items: center; background: var(--surface); border-radius: 50%; }
.detail-avatar span { width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--avatar-bg); border-radius: 50%; font: 700 24px/1 var(--font); }
.detail-body { padding: 60px 32px 32px; }
.detail-body h1 { margin: 0 0 12px; color: var(--text); font: 600 28px/34px var(--font); }
.detail-body p { max-width: 560px; margin: 0; color: var(--text-75); font: 400 16px/24px var(--font); }
.detail-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.detail-stats div { min-height: 70px; padding: 12px; background: var(--surface-2); border-radius: 12px; }
.detail-stats small { display: block; color: var(--text-40); font: 400 12px/16px var(--font); }
.detail-stats strong { display: block; margin-top: 4px; color: var(--text); font: 600 18px/22px var(--font); }
.channel-buy-column { width: 314px; display: grid; gap: 40px; align-content: start; }
.channel-link-row { min-height: 52px; display: grid; grid-template-columns: 1fr 174px; align-items: center; gap: 20px; }
.channel-link-row > span { color: var(--text-75); font: 400 14px/18px var(--font); }
.channel-link-row > span b { color: var(--orange); font-weight: 400; }
.channel-copy { width: 174px; height: 52px; padding: 0 16px 0 20px; display: flex; align-items: center; justify-content: space-between; color: var(--blue); background: rgba(30,85,249,.12); border-radius: 10px; font: 600 14px/18px var(--font); }
.channel-copy img { width: 18px; height: 18px; }
.channel-copy .copy-default img,
.profile-id-field .profile-copy .copy-default img { filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(3215%) hue-rotate(220deg) brightness(98%) contrast(103%); }
.channel-copy.copied { color: #fff; background: var(--blue); }
.channel-price-card { position: relative; width: 314px; height: 179px; background: var(--surface); border-radius: 12px; }
.static-price { position: static; height: 58px; padding-top: 20px; }
.detail-slots { top: 66px; }
.detail-buy { left: 0; right: 0; bottom: 16px; margin: 0 auto; }
.load-more { width: 314px; height: 52px; margin: 50px auto; color: var(--blue); background: transparent; border: 1px solid var(--blue); border-radius: 10px; font: 600 16px/20px var(--font); }

.profile-page { position: relative; grid-template-columns: 314px minmax(0,1046px); grid-template-rows: 52px max-content max-content; column-gap: 40px; row-gap: 0; align-content: start; }
.profile-sidebar { grid-row: 1 / -1; }
.profile-page-title { grid-column: 2; grid-row: 1; height: 52px; margin: 0; display: flex; align-items: center; color: var(--text); font: 600 30px/36px var(--font); }
.profile-page-title-balance {
  position: relative;
  justify-content: center;
  text-align: center;
}
.profile-page-title-balance .profile-balance-action {
  position: absolute;
  right: 0;
  top: 0;
}
.profile-menu-stack { display: grid; gap: 20px; }
.profile-menu-card { width: 314px; min-height: 0; padding: 4px; display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: start; background: var(--surface); border: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; overflow: hidden; transition: grid-template-rows .32s cubic-bezier(.22,1,.36,1); }
.profile-menu-title { height: 38px; margin: -4px -4px 4px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: var(--blue); background: rgba(30,85,249,.12); font: 500 14px/18px var(--font); text-align: left; }
.profile-menu-title i { width: 9px; height: 5px; background: url('../assets/chevron-down.svg') center/contain no-repeat; transform: rotate(180deg); transition: transform .22s ease; }
.profile-menu-card.collapsed .profile-menu-title i { transform: rotate(0); }
.profile-menu-items { position: relative; min-height: 0; display: grid; gap: 4px; overflow: hidden; opacity: 1; transition: opacity .24s ease; }
.profile-menu-items::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 306px;
  height: 62px;
  background: var(--surface-2);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(calc(var(--profile-active-index, 0) * 66px));
  transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .18s ease;
  pointer-events: none;
}
.profile-menu-items:has(> button.selected)::before { opacity: 1; }
.profile-menu-card.collapsed { grid-template-rows: auto 0fr; }
.profile-menu-card.collapsed .profile-menu-items { opacity: 0; pointer-events: none; }
.profile-sell-menu .profile-menu-title { color: #2AB822; background: rgba(42,184,34,.12); }
.profile-manage-menu .profile-menu-title { color: var(--orange); background: rgba(255,124,2,.12); }
.profile-menu-items > button { position: relative; z-index: 1; box-sizing: border-box; width: 306px; height: 62px; min-height: 62px; padding: 0 20px; padding-top: 0; padding-bottom: 0; color: var(--text-75); text-align: left; border-radius: 8px; font: 400 18px/22px var(--font); transition: color .2s ease, font-weight .2s ease; }
.profile-menu-items > button.selected { color: var(--text); background: transparent; font-weight: 600; }
.safe-deal-order-count { width: 24px; min-width: 24px; height: 24px; margin-left: 15px; padding: 0; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; color: #fff; border-radius: 50%; background: #1E55F9; font: 600 12px/24px var(--font); }
.profile-content { grid-column: 2; grid-row: 2; width: 1046px; min-height: 214px; margin-top: 40px; background: var(--surface); border-radius: 12px; }
.profile-content-main { min-height: 0; height: 134px; padding: 26px 32px 32px; }
.profile-content.profile-content-main { min-height: 134px; }
.profile-main-stack {
  grid-column: 2;
  grid-row: 2;
  width: 1046px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.profile-main-stack .profile-content-main {
  width: 1046px;
  margin-top: 0;
}
.profile-id-row { display: grid; grid-template-columns: 479px 479px; gap: 24px; }
.profile-id-field { height: 70px; display: grid; gap: 10px; }
.profile-id-field > span { color: var(--text); font: 600 18px/22px var(--font); }
.profile-id-field button { position: relative; width: 100%; height: 38px; padding: 0 48px 0 16px; display: flex; align-items: center; color: var(--blue); background: rgba(30,85,249,.12); border-radius: 8px; font: 500 14px/18px var(--font); transition: none; }
.profile-id-field button img { position: absolute; right: 18px; width: 18px; height: 18px; }
.profile-id-field button.copied { color: #fff; background: var(--blue); }
.profile-content-main + .profile-actions,
.profile-actions {
  position: static;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.profile-delete { width: 52px; height: 52px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 10px; transition: background-color .2s ease; }
.profile-delete:hover { background: rgba(230,41,41,.12); }
.profile-delete img { width: 20px; height: 22px; display: block; object-fit: contain; }
.profile-logout { width: 99px; height: 48px; display: flex; align-items: center; justify-content: center; color: #E62929; background: transparent; border: 1px solid #E62929; border-radius: 10px; font: 700 16px/20px var(--font); }
.profile-placeholder { padding: 32px; color: var(--text); font: 600 24px/30px var(--font); }
.profile-content-statistics {
  min-height: 572px;
  padding: 0;
  background: transparent;
  border: 0;
}

/* Channel detail page: requested final layout */
.channel-page {
  row-gap: 0;
  padding-bottom: 80px;
}
.channel-dates {
  width: 314px;
  height: auto;
  padding: 16px 20px;
  display: grid;
  gap: 14px;
  background: #000003;
  border-radius: 12px;
}
.channel-dates div {
  width: 100%;
  height: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  color: var(--text-75);
  font: 400 14px/18px var(--font);
}
.channel-dates i {
  height: 1px;
  align-self: end;
  opacity: 1;
  border: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 8px, transparent 8px 14px);
}
.channel-dates b {
  color: var(--text-75);
  font: 400 14px/18px var(--font);
}
.channel-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-cover {
  height: 220px;
  background: var(--cover-bg);
  box-shadow: none;
}
.detail-body {
  padding: 16px 32px 32px;
}
.detail-body h1 {
  margin: 0 0 42px 138px;
  color: #fff;
  font: 600 24px/30px var(--font);
}
.detail-separator {
  width: 100%;
  max-width: 628px;
}
.detail-tgstat-head {
  display: none;
}
.detail-tgstat-link {
  width: 624px;
  margin-top: 16px;
  display: block;
  border-radius: 6px;
  transition: box-shadow .2s ease;
}
.detail-tgstat-link:hover,
.detail-tgstat-link:focus-visible {
  box-shadow: inset 0 0 0 1px #27272F;
}
.detail-tgstat-widget {
  width: 624px;
  max-width: 624px;
  height: auto;
  margin: 0;
  display: block;
  border-radius: 10px;
}
.channel-buy-column {
  gap: 20px;
}
.channel-link-row {
  margin-bottom: 16px;
}
.channel-price-card {
  width: 314px;
  height: 179px;
}
.channel-price-card .static-price {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: auto;
  padding: 0;
  display: flex;
  justify-content: center;
}
.channel-price-card .detail-slots {
  top: 66px;
}
.channel-price-card .detail-buy {
  width: 290px;
  height: 48px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
}
.channel-price-card .detail-buy.in-cart {
  left: 12px;
  width: 234px;
  right: auto;
}
.channel-tgstat-card {
  width: 314px;
  height: 109px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #000003;
  border-radius: 12px;
}
.channel-tgstat-card span {
  color: #fff;
  font: 500 16px/20px var(--font);
}
.channel-tgstat-card a {
  height: 43px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  border-radius: 8px;
  font: 500 14px/18px var(--font);
}
.channel-tgstat-card img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.channel-reviews { width: 100%; margin-top: 28px; color: var(--text); }
.channel-reviews-divider { width: 100%; height: 1px; margin-bottom: 24px; background: #2F2F37; }
.channel-reviews-header { display: flex; align-items: center; justify-content: flex-start; }
.channel-reviews-header h2 { margin: 0; color: #fff; font: 600 24px/30px var(--font); }
.channel-reviews-header p { margin: 7px 0 0; color: var(--text-50); font: 400 13px/18px var(--font); }
.channel-reviews-header p b { color: var(--text-75); font-weight: 500; }
.channel-reviews-summary { --channel-reviews-summary-ascent-correction: 2px; width: 100%; margin-top: 30px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 180px; column-gap: 32px; align-items: end; }
.channel-reviews-summary:not(.has-histogram) { grid-template-columns: minmax(0, 1fr) 180px; }
.channel-reviews-score { width: 100%; min-height: 80px; padding: var(--channel-reviews-summary-ascent-correction) 0 0; display: flex; align-self: center; justify-self: start; align-items: flex-start; }
.channel-reviews-score-main { display: flex; align-items: flex-end; gap: 0; }
.channel-reviews-score-main > strong { color: #FF7C02; font: 600 80px/80px var(--font); }
.channel-reviews-score-main > .channel-reviews-scale { align-self: flex-end; margin: 0 0 0 5px; color: #FF7C02; font: 600 14px/18px var(--font); white-space: nowrap; }
.channel-reviews-controls { width: 100%; min-height: 80px; display: flex; align-self: center; justify-self: end; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7.5px; }
.channel-reviews-period { color: #7C7C7C; font: 400 14px/18px var(--font); text-align: center; white-space: nowrap; }
.channel-reviews-filter-field { width: 200px; min-width: 200px; height: 25.6px; box-sizing: border-box; display: block; color: var(--text-50); font: 400 12px/16px var(--font); }
.channel-reviews-filter-dropdown { position: relative; z-index: 1; width: 200px; min-width: 200px; height: 25.6px; }
.channel-reviews-filter-dropdown.open { z-index: 10; }
.channel-reviews-filter-trigger { position: relative; z-index: 1; width: 200px; min-width: 200px; height: 25.6px; box-sizing: border-box; padding: 0 32px 0 10px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font: 400 13px/18px var(--font); text-align: left; pointer-events: auto; }
.channel-reviews-filter-trigger span { width: 100%; text-align: left; }
.channel-reviews-filter-trigger i { position: absolute; right: 10px; top: 50%; width: 9px; height: 5px; transform: translateY(-50%); }
.channel-reviews-filter-dropdown.open .channel-reviews-filter-trigger i { transform: translateY(-50%) rotate(180deg); }
.channel-reviews-filter-dropdown .dropdown-panel { top: 29.6px; width: 200px; min-width: 200px; min-height: 25.6px; box-sizing: border-box; padding: 4px; display: grid; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; pointer-events: auto; }
.channel-reviews-filter-dropdown .dropdown-panel button { height: 25.6px; padding: 0 10px; justify-content: flex-start; color: var(--text-75); border-radius: 6px; font: 400 13px/18px var(--font); }
.channel-reviews-filter-dropdown .dropdown-panel button:hover,
.channel-reviews-filter-dropdown .dropdown-panel button:focus-visible,
.channel-reviews-filter-dropdown .dropdown-panel button.selected { color: var(--blue); background: rgba(30,85,249,.12); outline: 0; }
.channel-reviews-histogram { width: 180px; justify-self: center; align-self: center; margin: 0; padding: var(--channel-reviews-summary-ascent-correction) 0 0; background: transparent; border: 0; border-radius: 0; }
.channel-reviews-histogram h3 { display: none; }
.channel-reviews-histogram-rows { width: 180px; margin: 0; display: grid; grid-template-rows: repeat(5, 9px); row-gap: 4px; }
.channel-reviews-histogram-row { height: 9px; min-height: 9px; box-sizing: border-box; display: grid; grid-template-columns: 62px 100px; align-items: center; justify-content: center; column-gap: 8px; }
.channel-reviews-histogram-star-group { width: 62px; height: 9px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; }
.channel-reviews-histogram-star { width: 10px; height: 9px; display: block; flex: 0 0 10px; object-fit: contain; }
.channel-reviews-histogram-track { width: 100px; height: 2px; min-height: 2px; max-height: 2px; overflow: hidden; background: #D9D9D9; border-radius: 1px; }
.channel-reviews-histogram-track i { display: block; height: 2px; min-width: 0; min-height: 2px; max-height: 2px; background: #FF7C02; border-radius: 1px; }
.channel-review-star { width: 19px; height: 17px; display: block; object-fit: contain; }
.channel-review-rating { display: inline-flex; flex: 0 0 auto; gap: 5px; align-items: center; justify-content: flex-end; margin-left: auto; white-space: nowrap; }
.channel-reviews-list { margin-top: 36px; display: grid; row-gap: 20px; }
.channel-review-item { padding: 0 0 20px; border-bottom: 1px solid #2F2F37; }
.channel-review-item:last-child { padding-bottom: 0; border-bottom: 0; }
.channel-review-item-head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.channel-review-item-head > .channel-review-author-meta { min-width: 0; flex: 1 1 auto; }
.channel-review-author { min-width: 0; display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; gap: 20px; }
.channel-review-author-content { min-width: 0; display: grid; gap: 10px; }
.channel-review-author-meta { min-width: 0; display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; overflow-wrap: anywhere; }
.channel-review-author-meta > strong,
.channel-review-author-meta > small { min-width: 0; overflow-wrap: anywhere; }
.channel-review-avatar { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--blue); border-radius: 50%; font: 600 14px/18px var(--font); }
.channel-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.channel-review-item-head strong { color: #fff; font: 700 14px/18px var(--font); }
.channel-review-author small { color: #7C7C7C; font: 400 14px/18px var(--font); }
.channel-review-body { box-sizing: border-box; width: 100%; margin: 0; }
.channel-review-body p { margin: 0; color: var(--text-75); font: 400 14px/20px var(--font); overflow-wrap: anywhere; }
.channel-review-item-text.channel-review-empty-text { color: #7C7C7C; }
.channel-reviews-load-more { width: 180px; height: 38px; margin: 0 auto; color: var(--blue); background: transparent; border: 1px solid var(--blue); border-radius: 8px; font: 500 14px/18px var(--font); cursor: pointer; }
.channel-reviews-load-more:disabled { opacity: .6; cursor: default; }
.channel-reviews-state { margin-top: 16px; padding: 24px 16px; color: var(--text-50); background: var(--surface-2); border-radius: 10px; font: 400 14px/20px var(--font); text-align: center; }
.channel-reviews-empty-state { color: var(--text-50); }
.channel-reviews-state.is-error { color: #FF8B8B; }

/* Channel page vertical alignment from header menu */
.channel-page {
  grid-template-rows: 4px 52px 36px auto !important;
  row-gap: 0 !important;
}
.channel-detail-card {
  grid-row: 4 !important;
  margin-top: 0 !important;
}
.channel-buy-column {
  grid-row: 2 / span 3 !important;
  padding-top: 0 !important;
}

/* Hot offer price fields: avoid double disabled opacity */
.hot-condition-row .price-field.disabled {
  opacity: 1 !important;
}
.hot-condition-row.locked,
.hot-condition-row.status-disabled {
  opacity: .45;
}
.hot-condition-row.locked .price-field.disabled,
.hot-condition-row.status-disabled .price-field.disabled {
  opacity: 1 !important;
}

/* Channel detail page final layout */
.channel-page {
  grid-template-columns: 314px 692px 314px;
  grid-template-rows: 44px 52px 36px auto;
  align-items: start;
}
.channel-sidebar {
  padding-top: 0;
}
.channel-tabs {
  box-shadow: inset 0 0 0 1px var(--line);
  border: 0;
}
.channel-dates {
  height: auto;
  padding: 16px 20px;
  gap: 14px;
  background: #000003;
  border-radius: 12px;
}
.channel-dates div {
  width: 100%;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
}
.channel-dates i {
  height: 1px;
  align-self: end;
  border: 0;
  opacity: 1;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 8px, transparent 8px 14px);
}
.channel-dates b {
  color: var(--text-75);
  font: 400 14px/18px var(--font);
}
.channel-detail-card {
  grid-column: 2;
  grid-row: 4;
  width: 692px;
  min-height: 900px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 16px;
}
.channel-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #2F2F37;
}
.channel-detail-state {
  min-height: 260px;
  display: grid;
  place-items: center;
}
.channel-detail-message {
  width: 100%;
  padding: 32px;
  text-align: center;
}
.channel-detail-message h1 {
  margin: 0;
  color: #fff;
  font: 600 24px/30px var(--font);
}
.channel-detail-message p {
  margin: 12px auto 0;
  max-width: 420px;
  color: var(--text-75);
  font: 400 16px/22px var(--font);
}
.detail-cover {
  height: 160px;
  position: relative;
  background: var(--cover-bg);
  border-radius: 16px 16px 0 0;
  box-shadow: inset 0 0 0 2px #1B1B23;
}
.detail-avatar {
  position: absolute;
  left: 32px;
  bottom: -60px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--avatar-bg);
  border: 3px solid #1B1B23;
  border-radius: 50%;
}
.detail-avatar img,
.detail-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #fff;
  background: var(--avatar-bg);
  border-radius: 50%;
  font: 700 34px/1 var(--font);
}
.detail-body {
  padding: 16px 32px 32px;
}
.detail-body h1 {
  margin: 0 0 50px 170px;
  color: #fff;
  font: 600 24px/30px var(--font);
}
.detail-stats {
  width: 628px;
  height: 102px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 4px;
}
.detail-stats div {
  min-height: 0;
  padding: 12px 10px;
  background: #1B1B23;
  border-radius: 10px;
}
.detail-stats small {
  color: var(--text-40);
  font: 400 10px/14px var(--font);
}
.detail-stats strong {
  margin-top: 8px;
  color: #fff;
  font: 600 18px/22px var(--font);
}
.detail-description {
  width: 628px;
  height: 57px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 8px;
}
.detail-description i {
  width: 3px;
  height: 57px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 10px #058FF9;
}
.detail-description p {
  width: 617px;
  height: 57px;
  margin: 0;
  overflow: hidden;
  color: var(--text-75);
  font: 500 16px/19px var(--font);
}
.detail-separator {
  width: 692px;
  max-width: none;
  height: 1px;
  margin: 30px 0 0 -32px;
  background: #2F2F37;
}
.channel-view .detail-separator-before-statistics {
  width: calc(100% + 64px);
  max-width: none;
  margin-left: -32px;
}
.detail-body h2 {
  margin: 28px 0 0;
  color: #fff;
  font: 600 24px/30px var(--font);
}
.detail-tgstat-head {
  width: 624px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-tgstat-head h3 {
  margin: 0;
  color: #fff;
  font: 500 20px/24px var(--font);
}
.detail-tgstat-head a {
  width: 105px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font: 500 14px/18px var(--font);
  transition: color .18s ease, background-color .18s ease;
}
.detail-tgstat-head a:focus,
.detail-tgstat-head a:hover {
  color: #fff;
  background: var(--blue);
}
.detail-tgstat-widget {
  width: 624px;
  max-width: 624px;
  height: auto;
  margin-top: 16px;
  display: block;
  border-radius: 10px;
}
.channel-buy-column {
  grid-column: 3;
  grid-row: 2 / span 3;
  width: 314px;
  padding-top: 0;
  display: grid;
  gap: 36px;
  align-content: start;
}
.channel-link-row {
  width: 100%;
  height: 52px;
  display: grid;
  grid-template-columns: 190px 314px;
  align-items: center;
  justify-items: end;
  gap: 40px;
  transform: translateX(-230px);
}
.channel-link-row > span {
  white-space: nowrap;
  text-align: right;
}
.channel-copy {
  width: 314px;
  height: 52px;
  background: rgba(30,85,249,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.channel-price-card {
  width: 314px;
}
.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.profile-stat-card {
  height: 180px;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.profile-stat-card span {
  color: var(--text-75);
  font: 400 16px/20px var(--font);
}
.profile-stat-card strong {
  color: var(--text);
  font: 600 42px/48px var(--font);
  letter-spacing: -0.02em;
}
.footer { width: 1400px; min-height: 220px; margin: auto auto 0; padding: 42px 54px; display: grid; grid-template-columns: repeat(4,1fr); gap: 72px; color: var(--text-75); background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; font: 400 16px/22px var(--font); }
.footer div { display: flex; flex-direction: column; gap: 14px; }
.footer h3 { margin: 0 0 10px; color: var(--blue); font: 600 18px/22px var(--font); }
.footer-copyright { margin-top: 14px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.55); animation: modalFade .2s ease; }
.modal-card { position: relative; width: min(454px, calc(100vw - 32px)); min-height: 257px; padding: 32px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; text-align: center; animation: modalLift .22s ease; }
.auth-card { transform: translateY(-20%); }
.modal-close { position: absolute; right: 20px; top: 18px; color: var(--text-40); font-size: 24px; }
.modal-card h2 { margin: 0; color: var(--text); font: 600 32px/39px var(--font); }
.modal-card p { margin: 12px 0 0; color: var(--text-75); font: 400 16px/20px var(--font); }
.auth-note { display: block; margin-top: 16px; color: var(--text-75); font: 400 12px/16px var(--font); }
.telegram-button { width: 253px; height: 48px; margin: 24px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #0088CC; border-radius: 10px; font: 600 16px/20px var(--font); }
.telegram-button img { width: 20px; height: 20px; }
.add-channel-card { width: min(454px, calc(100vw - 32px)); height: 637px; padding: 32px 12px; text-align: left; transform: translateY(-10%); }
.add-channel-card h2 { text-align: center; }
.add-channel-card .modal-subtitle { display: none; }
.channel-steps { margin-top: 24px; display: grid; gap: 12px; }
.channel-step { position: relative; width: 430px; margin: 0 auto; padding: 20px 16px 20px 64px; color: var(--text-75); background: var(--surface-2); border-radius: 12px; font: 400 16px/20px var(--font); }
.channel-step:nth-child(1) { height: 120px; }
.channel-step:nth-child(2) { height: 89px; }
.channel-step:nth-child(3) { height: 120px; }
.channel-step:nth-child(4) { height: 70px; }
.step-number { position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font: 600 16px/20px var(--font); }
.channel-step b { color: #fff; font-weight: 600; }
.step-info { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-grid; width: 18px; height: 18px; margin-left: 0; place-items: center; color: var(--text-75); border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-style: normal; font-size: 12px; }
.bot-copy { width: 100%; height: 44px; margin-top: 13px; padding: 0 14px 0 16px; display: flex; align-items: center; justify-content: space-between; color: var(--blue); background: rgba(30,85,249,.12); border-radius: 8px; font: 500 14px/18px var(--font); transition: none; }
.bot-copy img { width: 18px; height: 18px; }
.bot-copy .copy-default img { filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(3215%) hue-rotate(220deg) brightness(98%) contrast(103%); }
.bot-copy > span { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.copy-success { display: none !important; }
.bot-copy.copied .copy-default { display: none !important; }
.bot-copy.copied { color: #fff; background: var(--blue); animation: none; }
.bot-copy.copied .copy-success { display: flex !important; }
.submit-channel { position: relative; width: 176px; height: 48px; margin: 28px auto 0; display: flex; align-items: center; justify-content: center; color: var(--blue); background: transparent; border: 1px solid var(--blue); border-radius: 10px; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.submit-channel:hover, .submit-channel:active { color: #fff; background: var(--blue); }
.submit-channel.is-loading { color: transparent; background: #5087FF; border-color: #5087FF; pointer-events: none; }
.submit-channel.is-loading::after { content: ""; position: absolute; left: calc(50% - 12px); top: calc(50% - 12px); width: 24px; height: 24px; margin: 0; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; transform-origin: 50% 50%; animation: loaderSpin .75s linear infinite; }
