:root {
  --bg: #f1f1f1;
  --surface: #f3f3f3;
  --card: #f4f4f4;
  --text: #1d2c41;
  --muted: #61718f;
  --line: #d9d9ee;
  --primary: #6058d8;
  --primary-dark: #524ac8;
  --chip: #ece7ff;
  --shadow: 0 12px 32px rgba(55, 54, 138, 0.14);
  --container: 1110px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.35;
}
body.body-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
}
img { max-width: 100%; display: block; }
.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page-content { flex: 1; padding-bottom: 56px; }
.topbar, .simple-hero, .hero, .footer { position: relative; }
.hero {
  min-height: 547px;
  overflow: hidden;
  color: #fff;
}
.hero__bg,
.simple-hero__bg,
.footer__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hero__bg { background-image: url('../assets/desktop/chatgpt-image-12-2025-12-09-10-1.png'); }
.simple-hero { min-height: 92px; color: #fff; overflow: hidden; }
.simple-hero__bg { background-image: url('../assets/desktop/chatgpt-image-12-2025-12-09-10-1-1.png'); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: all .25s ease;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  position: relative;
  z-index: 2;
}
.topbar__brand img { width: 253px; height: 40px; object-fit: contain; }
.topbar__meta {
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255,255,255,.9);
  max-width: 140px;
}
.topbar__spacer { flex: 1; }
.topbar__socials,
.footer__socials,
.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar__social-link,
.social-chip {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  padding: 0;
}
.topbar__social-link img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.social-chip {
  width: 28px;
  height: 28px;
  background: var(--chip);
}
.topbar__ghost,
.hero__cta,
.btn {
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease;
}
.topbar__ghost:hover,
.hero__cta:hover,
.btn:hover { transform: translateY(-1px); }
.topbar__ghost {
  background: #fff;
  color: var(--primary);
}
.topbar__ghost-primary,
.hero__cta,
.btn-primary {
  background: #fff;
  color: var(--primary);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title-image {
  width: min(640px, 80vw);
  margin-top: 54px;
}
.hero__subtitle-image {
  width: min(785px, 80vw);
  margin-top: 22px;
}
.hero__cta {
  margin-top: 28px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 18px;
}
.topbar__dots {
  width: 180px;
  height: 54px;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 0 5px, transparent 6px);
  background-size: 56px 28px;
  background-position: top left;
  opacity: .8;
}
.topbar-scrolled .topbar__inner { min-height: 76px; }
.topbar-scrolled .topbar__meta { opacity: 0; width: 0; overflow: hidden; }
.topbar-scrolled .topbar__dots { opacity: .45; }
.simple-hero__title-row {
  position: relative;
  z-index: 1;
  padding: 6px 0 18px;
}
.simple-hero__title {
  margin: 0;
  font-size: 28px;
  color: #fff;
}
.footer {
  color: #fff;
  min-height: 200px;
  overflow: hidden;
}
.footer__bg { background-image: url('../assets/desktop/chatgpt-image-12-2025-12-09-10-1-1.png'); }
.footer__inner {
  position: relative;
  z-index: 1;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer__brand img { width: 253px; }
.footer__copy {
  margin-top: 52px;
  font-size: 14px;
}
.footer__links {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  font-size: 14px;
}
.footer__how { min-width: 165px; }
.section { margin-top: 28px; }
.surface {
  background: transparent;
  border-radius: var(--radius-xl);
}
.search-section {
  margin-top: 18px;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}
.search-box {
  position: relative;
  min-height: 50px;
  background: url('../assets/desktop/search-filters.png') no-repeat left top / 100% 100%;
}
.search-box input {
  position: absolute;
  left: 18px;
  top: 0;
  width: calc(100% - 78px);
  height: 50px;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--text);
}
.search-box button {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.btn-outline,
.filter-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
}
.channel-card {
  min-height: 436px;
  border-radius: 18px;
  background: #f3f3f3;
  padding: 28px;
  box-shadow: inset 0 0 0 1px rgba(93, 88, 216, 0.18);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;

  cursor: pointer;
}
.channel-card:hover {
  box-shadow: inset 0 0 0 2px rgba(93, 88, 216, .7), 0 12px 28px rgba(93, 88, 216, .12);
  transform: translateY(-2px);
}
.channel-card__logo-wrap {
  height: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-card__logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 32px;
}
.channel-card__title {
  margin: 24px 0 14px;
  font-size: 28px;
  line-height: 1.08;
}
.channel-card__description {
  margin: 0;
  color: #2c3850;
  font-size: 18px;
  line-height: 1.52;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.channel-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 20px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-danger {
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #f1c0c0;
}
.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--primary);
  font-size: 13px;
  white-space: nowrap;
}
.pill-light { background: #f2edff; }
.center-row { display: flex; justify-content: center; }
.empty-state {
  padding: 80px 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.empty-state h3 { margin: 0 0 10px; font-size: 28px; }
.empty-state p { margin: 0; color: var(--muted); }
.detail {
  padding-top: 32px;
}
.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--primary);
  font-weight: 700;
}
.detail__card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 42px;
}
.detail__logo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 40px;
  background: #fff;
}
.detail__name { margin: 0 0 8px; font-size: 52px; line-height: 1.04; }
.detail__subtitle { color: var(--muted); margin: 0 0 20px; font-size: 18px; }
.detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 24px;
}
.detail__meta-item {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(93,88,216,.12);
  border-radius: 18px;
  padding: 16px 18px;
}
.detail__meta-label { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.detail__meta-value { font-size: 18px; }
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail__description {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(93,88,216,.12);
}
.detail__description h2 { margin: 0 0 16px; font-size: 28px; }
.detail__description p { margin: 0; font-size: 18px; line-height: 1.6; }
.detail__contacts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.person-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(93,88,216,.12);
}
.person-card__icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 32px;
  font-weight: 700;
}
.person-card h3 { margin: 0 0 8px; font-size: 22px; }
.person-card p { margin: 0 0 10px; }
.form-page { padding-top: 28px; }
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 380px;
  gap: 28px;
}
.form-shell,
.preview-shell,
.login-shell,
.moderation-shell,
.filter-modal__panel,
.editor-shell {
  background: rgba(255,255,255,.72);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(93,88,216,.16);
  box-shadow: var(--shadow);
}
.preview-shell { position: sticky; top: 102px; align-self: start; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid .span-2 { grid-column: span 2; }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-weight: 700;
  font-size: 14px;
}
.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid rgba(93,88,216,.18);
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  outline: none;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(93,88,216,.12);
}
.textarea { min-height: 120px; resize: vertical; }
.checkbox-row,
.radio-row,
.inline-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.radio-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(93,88,216,.18);
  background: #fff;
  cursor: pointer;
}
.radio-pill input { display: none; }
.radio-pill.is-active {
  background: var(--chip);
  color: var(--primary);
  border-color: rgba(93,88,216,.35);
}
.logo-picker {
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo-picker__circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(93,88,216,.18);
}
.logo-picker__circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-picker__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stock-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.stock-item {
  border-radius: 16px;
  border: 2px solid transparent;
  padding: 8px;
  background: #f5f4ff;
  cursor: pointer;
}
.stock-item.is-selected { border-color: var(--primary); }
.stock-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.validation-list {
  margin: 0;
  padding-left: 18px;
  color: #b42318;
  font-size: 14px;
}
.preview-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.preview-card .channel-card { min-height: auto; }
.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f2edff;
  color: var(--primary);
}
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 60;
  background: rgba(29,44,65,.96);
  color: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
}
.cookie-banner__text { max-width: 860px; }
.cookie-banner__button { min-width: 130px; }
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.toast-visible { opacity: 1; transform: translateY(0); }
.toast-success { border-left: 4px solid #12b76a; }
.toast-error { border-left: 4px solid #f04438; }
.how-modal,
.filter-modal,
.image-modal,
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}
.how-modal.is-open,
.filter-modal.is-open,
.image-modal.is-open,
.success-modal.is-open { display: block; }
.how-modal__backdrop,
.filter-modal__backdrop,
.image-modal__backdrop,
.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.how-modal__panel,
.filter-modal__panel,
.image-modal__panel,
.success-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1023px, calc(100% - 40px));
  margin: 80px auto;
}
.how-modal__image-wrap { position: relative; }
.how-modal__image { width: 100%; border-radius: 24px; }
.how-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 40px;
  cursor: pointer;
}
.how-modal__accept {
  position: absolute;
  left: 82px;
  bottom: 82px;
  width: 184px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.filter-modal__panel,
.image-modal__panel,
.success-modal__panel {
  width: min(720px, calc(100% - 40px));
  margin-top: 90px;
}
.filter-modal__header,
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.filter-modal__title,
.modal__title { font-size: 28px; margin: 0; }
.filter-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.filter-modal__grid .span-2 { grid-column: span 2; }
.filter-modal__actions,
.form-actions,
.modal__actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.region-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.region-token {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(93,88,216,.16);
  cursor: pointer;
}
.region-token.is-active {
  background: var(--chip);
  color: var(--primary);
  border-color: rgba(93,88,216,.35);
}
.moderation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tab-button {
  border: 1px solid rgba(93,88,216,.16);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.tab-button.is-active {
  background: var(--primary);
  color: #fff;
}
.moderation-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}
.moderation-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.login-shell { max-width: 480px; margin: 40px auto 0; }
.success-illustration {
  width: 132px;
  margin: 0 auto;
}
.success-modal__panel {
  text-align: center;
}
.success-modal__panel p { color: var(--muted); }
.pending-card {
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  border: 1px dashed rgba(93,88,216,.3);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pending-card__thumb {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  object-fit: cover;
}
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-404__box {
  max-width: 560px;
  padding: 36px;
  background: rgba(255,255,255,.7);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.page-404__box h1 { font-size: 74px; margin: 0 0 8px; color: var(--primary); }
.page-404__box p { color: var(--muted); margin: 0 0 24px; }
.hidden { display: none !important; }

@media (max-width: 1180px) {
  .catalog-grid,
  .moderation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail__card,
  .form-layout { grid-template-columns: 1fr; }
  .preview-shell { position: static; }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 32px), 720px); }
  .hero { min-height: 420px; }
  .topbar__meta,
  .topbar__dots,
  .footer__links { display: none; }
  .topbar__inner { flex-wrap: wrap; min-height: 76px; padding: 10px 0; gap: 10px; }
  .topbar__brand img { width: 190px; height: auto; }
  .topbar__spacer { display: none; }
  .simple-hero { min-height: 72px; }
  .catalog-grid,
  .moderation-grid,
  .detail__meta,
  .detail__contacts,
  .form-grid,
  .filter-modal__grid,
  .search-row { grid-template-columns: 1fr; }
  .form-grid .span-2,
  .filter-modal__grid .span-2 { grid-column: span 1; }
  .footer__inner { flex-direction: column; justify-content: center; padding: 24px 0; text-align: center; }
  .footer__copy { margin-top: 12px; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .how-modal__panel,
  .filter-modal__panel,
  .image-modal__panel,
  .success-modal__panel { width: min(calc(100% - 16px), 720px); margin-top: 40px; }
}

@media (max-width: 640px) {
  body { background: #efefef; }
  .page-content { padding-bottom: 30px; }
  .hero {
    min-height: 290px;
  }
  .hero__bg {
    background-image: url('../assets/mobile/chatgpt-image-12-2025-12-09-10-2.png'), linear-gradient(90deg, #4f58dd, #384df2);
    background-size: 100% 80px, cover;
    background-repeat: no-repeat;
    background-position: top center, center;
  }
  .simple-hero__bg {
    background-image: url('../assets/mobile/chatgpt-image-12-2025-12-09-10-2.png');
    background-size: cover;
  }
  .topbar__inner {
    min-height: 80px;
    gap: 8px;
  }
  .topbar__brand img { width: 174px; }
  .topbar__socials { display: none; }
  .topbar__ghost { min-height: 38px; font-size: 13px; padding: 0 12px; }
  .topbar__ghost-primary { display: none; }
  .hero__content {
    padding-top: 16px;
  }
  .hero__title-image {
    width: min(293px, calc(100vw - 28px));
    margin-top: 38px;
  }
  .hero__subtitle-image {
    width: min(324px, calc(100vw - 28px));
    margin-top: 16px;
  }
  .hero__cta {
    margin-top: 16px;
    min-height: 42px;
    font-size: 15px;
  }
  .search-section { margin-top: 10px; }
  .search-row { gap: 10px; }
  .search-box {
    min-height: 48px;
    background: url('../assets/mobile/input.png') no-repeat center / 100% 100%;
  }
  .search-box input { width: calc(100% - 56px); height: 48px; left: 14px; }
  .search-box button { width: 48px; height: 48px; }
  .filter-button {
    min-height: 50px;
    background: url('../assets/mobile/search-filters.png') no-repeat center / 100% 100%;
    color: transparent;
    border: 0;
    width: 126px;
    justify-self: start;
  }
  .btn-outline { min-height: 44px; }
  .catalog-grid,
  .moderation-grid { grid-template-columns: 1fr; gap: 16px; }
  .channel-card {
    min-height: auto;
    padding: 20px;
  }
  .channel-card__logo-wrap { height: 140px; }
  .channel-card__logo { width: 140px; height: 140px; border-radius: 28px; }
  .channel-card__title { font-size: 24px; margin-top: 18px; }
  .channel-card__description { font-size: 16px; }
  .detail { padding-top: 20px; }
  .detail__logo { width: 160px; height: 160px; margin: 0 auto; }
  .detail__name { font-size: 34px; text-align: center; }
  .detail__subtitle { font-size: 16px; text-align: center; }
  .detail__card { gap: 18px; }
  .detail__description,
  .form-shell,
  .preview-shell,
  .login-shell,
  .moderation-shell,
  .filter-modal__panel,
  .editor-shell,
  .success-modal__panel { padding: 20px; border-radius: 22px; }
  .stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-picker { flex-direction: column; align-items: flex-start; }
  .how-modal__image {
    content: url('../assets/mobile/iphone-13-14-9.png');
    margin: 0 auto;
    width: min(340px, calc(100vw - 16px));
  }
  .how-modal__panel { width: min(100%, 356px); margin-top: 18px; }
  .how-modal__close { top: 18px; right: 14px; font-size: 32px; color: #1d2c41; }
  .how-modal__accept {
    left: 60px;
    bottom: 104px;
    width: 170px;
    height: 34px;
  }
  .footer {
    min-height: 243px;
  }
  .footer__bg {
    background-image: url('../assets/mobile/group-29.png');
    background-size: cover;
    background-position: center;
  }
  .footer__inner { min-height: 243px; opacity: 0; }
  .simple-hero__title { font-size: 22px; }
  .page-404__box { padding: 24px; }
  .page-404__box h1 { font-size: 54px; }
}

/* ---- correction pass: replace text/button PNG stubs with native UI ---- */
.topbar__ghost,
.btn,
.btn-outline,
.filter-button,
.pill,
.topbar__social-link {
  white-space: nowrap;
}

.topbar__inner {
  gap: 14px;
}

.topbar__social-link {
  width: 20px;
  height: 20px;
  font-size: 14px;
  box-shadow: none;
}

.topbar__ghost--wide {
  min-width: 162px;
  padding: 0 24px;
}

.topbar__ghost {
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #5c58d8;
}

.topbar__ghost-primary {
  color: #4e49ca;
}

.hero {
  min-height: 480px;
}

.hero__content {
  padding-top: 62px;
}

.hero__title,
.hero__subtitle {
  margin: 0;
  text-align: center;
  color: #fff;
}

.hero__title {
  max-width: 780px;
  font-size: 60px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  max-width: 720px;
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.hero__cta {
  margin-top: 26px;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #5b57d7;
}

.search-section {
  margin-top: 20px;
}

.search-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
}

.search-box {
  position: relative;
  min-height: 46px;
  background: #fff !important;
  border: 1px solid rgba(95, 90, 215, 0.22);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(80, 77, 190, 0.05);
}

.search-box input {
  position: static;
  width: calc(100% - 56px);
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
}

.search-box button {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 54px;
  height: 46px;
  border-radius: 0 8px 8px 0;
  background: #6058d8;
  color: #fff;
}

.search-box button::before {
  content: '⌕';
  font-size: 28px;
  line-height: 1;
}

.btn-outline,
.filter-button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid rgba(95, 90, 215, 0.18);
  background: #fff;
  color: #24334d;
  font-weight: 500;
}

.btn-outline {
  min-width: 190px;
}

.filter-button {
  min-width: 124px;
}

.footer__inner {
  opacity: 1 !important;
}

.footer__brand img {
  width: 210px;
}

.footer__copy,
.footer__links a {
  color: rgba(255,255,255,.92);
}

.footer__links {
  gap: 22px;
}

.how-modal__backdrop,
.image-modal__backdrop,
.success-modal__backdrop,
.filter-modal__backdrop {
  background: rgba(22, 23, 76, 0.42);
  backdrop-filter: blur(5px);
}

.how-modal__panel--custom {
  width: min(1020px, calc(100% - 28px));
}

.how-modal__card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(15, 21, 72, 0.22);
  padding: 48px 46px;
}

.how-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 28px;
}

.how-modal__heading {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1;
}

.how-modal__text {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.3;
  color: #222;
}

.how-modal__confirm {
  margin-top: 28px;
  min-height: 42px;
  padding: 0 20px;
}

.how-modal__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-modal__sq {
  width: min(255px, 100%);
  height: auto;
}

.how-modal__close {
  top: 18px;
  right: 24px;
  font-size: 44px;
  color: #111;
}

.filter-modal__panel {
  width: min(760px, calc(100% - 24px));
  margin-top: 34px;
  padding: 34px 30px 28px;
  border-radius: 30px;
  background: rgba(236, 238, 255, 0.94);
  border: 1px solid rgba(122, 114, 230, 0.24);
  box-shadow: 0 32px 60px rgba(23, 24, 82, 0.22);
}

.filter-modal__header {
  margin-bottom: 22px;
}

.filter-modal__title {
  font-size: 28px;
  font-weight: 700;
}

.filter-modal .field label {
  font-size: 16px;
  font-weight: 700;
}

.filter-modal .input,
.filter-modal .select {
  min-height: 48px;
  border-radius: 14px;
}

.filter-modal .inline-row {
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.filter-modal .radio-pill {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  border-radius: 999px;
}

.filter-modal__actions {
  margin-top: 28px;
  justify-content: flex-end;
}

.image-modal__panel,
.success-modal__panel {
  width: min(820px, calc(100% - 24px));
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  border: 1px solid rgba(122, 114, 230, 0.2);
  box-shadow: 0 32px 60px rgba(23, 24, 82, 0.22);
}

.stock-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stock-item {
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9ff 0%, #edf0ff 100%);
  border: 2px solid transparent;
  padding: 10px;
}

.stock-item.is-selected {
  border-color: #6b62e6;
  box-shadow: 0 0 0 3px rgba(107, 98, 230, 0.18);
}

.form-page {
  padding-top: 22px;
}

.form-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
}

.form-shell,
.preview-shell {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(95, 90, 215, 0.18);
  box-shadow: 0 16px 36px rgba(56, 53, 152, 0.08);
}

.form-shell .modal__title {
  font-size: 34px;
}

.form-grid {
  gap: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: #1f2e47;
}

.input,
.select,
.textarea {
  min-height: 46px;
  border-radius: 10px;
  border-color: rgba(95, 90, 215, 0.2);
}

.textarea {
  min-height: 106px;
}

.logo-picker {
  align-items: center;
}

.logo-picker__circle {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(95, 90, 215, 0.2);
  background: linear-gradient(180deg, #efeff7 0%, #dfe1ea 100%);
}

.logo-picker__actions .btn {
  min-height: 40px;
}

.notice {
  background: rgba(96, 88, 216, 0.08);
  color: #5c58d8;
  margin-top: 16px;
}

.captcha-box {
  border: 1px solid rgba(95, 90, 215, 0.2);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.captcha-box.has-error {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.08);
}

.captcha-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.captcha-box__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.captcha-box__check input {
  width: 18px;
  height: 18px;
}

.captcha-box__badge {
  min-width: 72px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2edff;
  color: #5c58d8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.captcha-box__task {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.captcha-box__task span {
  font-weight: 700;
}

.captcha-box__input {
  max-width: 180px;
}

.preview-shell .channel-card {
  min-height: auto;
  padding: 22px;
}

.preview-shell .channel-card__logo-wrap {
  height: 136px;
}

.preview-shell .channel-card__logo {
  width: 132px;
  height: 132px;
  border-radius: 24px;
}

.preview-shell .channel-card__title {
  font-size: 22px;
  margin: 10px 0 8px;
}

.preview-shell .channel-card__description {
  font-size: 14px;
  line-height: 1.45;
}

.success-illustration {
  width: 180px;
}

@media (max-width: 1180px) {
  .hero__title {
    font-size: 52px;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .topbar__socials {
    display: flex;
  }

  .topbar__brand img {
    width: 180px;
  }

  .topbar__ghost--wide {
    min-width: 150px;
    padding: 0 18px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .how-modal__layout {
    grid-template-columns: 1fr;
  }

  .how-modal__copy {
    order: 2;
  }

  .how-modal__visual {
    order: 1;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 360px;
  }

  .topbar__inner {
    gap: 10px;
    padding-top: 8px;
  }

  .topbar__meta,
  .topbar__dots {
    display: none;
  }

  .topbar__brand img {
    width: 165px;
  }

  .topbar__social-link {
    width: 20px;
    height: 20px;
  }

  .topbar__social-link img {
    width: 20px;
    height: 20px;
  }

  .topbar__ghost {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .topbar__ghost--wide {
    min-width: auto;
  }

  .hero__content {
    padding-top: 38px;
  }

  .hero__title {
    max-width: 340px;
    font-size: 31px;
    line-height: 1.02;
  }

  .hero__subtitle {
    max-width: 320px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero__cta {
    margin-top: 18px;
    min-height: 42px;
    padding: 0 18px;
  }

  .search-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .search-row .btn-outline {
    display: none;
  }

  .search-box {
    min-height: 44px;
  }

  .search-box input {
    width: calc(100% - 50px);
    height: 42px;
    font-size: 13px;
  }

  .search-box button {
    width: 46px;
    height: 44px;
  }

  .filter-button {
    min-width: 118px;
    width: auto;
    color: #24334d !important;
    background: #fff !important;
    border: 1px solid rgba(95, 90, 215, 0.18) !important;
  }

  .footer {
    min-height: 170px;
  }

  .footer__inner {
    min-height: 170px;
    padding: 28px 0;
    gap: 16px;
  }

  .footer__brand img {
    width: 160px;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  .footer__socials {
    flex-wrap: wrap;
    justify-content: center;
  }

  .how-modal__card {
    padding: 46px 18px 22px;
  }

  .how-modal__heading {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .how-modal__text {
    font-size: 14px;
  }

  .how-modal__sq {
    width: 150px;
  }

  .how-modal__close {
    top: 10px;
    right: 14px;
    font-size: 36px;
  }

  .filter-modal__panel,
  .image-modal__panel,
  .success-modal__panel {
    width: min(calc(100% - 16px), 720px);
    margin-top: 12px;
    padding: 22px 18px;
    border-radius: 24px;
  }

  .filter-modal__grid {
    grid-template-columns: 1fr;
  }

  .filter-modal__grid .span-2 {
    grid-column: span 1;
  }

  .stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .captcha-box__task {
    flex-direction: column;
    align-items: flex-start;
  }

  .captcha-box__input {
    max-width: 100%;
  }
}

.topbar__social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* v11 social icon pass */
.topbar__social-link,
.footer__socials .topbar__social-link {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.topbar__social-link img,
.footer__socials .topbar__social-link img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  background: transparent;
}


/* v13 social rendering fix */
.topbar__social-link,
.footer__socials .topbar__social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.topbar__social-link img,
.footer__socials .topbar__social-link img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  background: transparent !important;
}

/* v14 main page + home hero polish */
.hero__mobile-how,
.hero__mobile-socials {
  display: none;
}

.filter-button {
  position: relative;
  min-width: 124px;
  padding: 0 42px 0 18px;
  border: 0 !important;
  background: #5755C4 !important;
  color: #fff !important;
  font-weight: 500;
}

.filter-button::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 12px;
  transform: translateY(-50%);
  background: url('../assets/ui/filter-icon.png') center/contain no-repeat;
}

.channel-card__logo {
  border-radius: 0;
  -webkit-mask-image: url('../assets/form-screen/image-7.png');
  mask-image: url('../assets/form-screen/image-7.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.channel-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel-card__footer-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.channel-card__footer-meta .pill {
  min-width: 0;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .hero--home {
    min-height: 428px;
  }

  .hero--home .topbar-mobile-simple .topbar__inner {
    justify-content: center;
    min-height: 68px;
    padding: 14px 0 0;
    overflow: visible;
  }

  .hero--home .topbar-mobile-simple .topbar__meta,
  .hero--home .topbar-mobile-simple .topbar__spacer,
  .hero--home .topbar-mobile-simple .topbar__socials,
  .hero--home .topbar-mobile-simple .topbar__ghost,
  .hero--home .topbar-mobile-simple .topbar__dots {
    display: none !important;
  }

  .hero--home .topbar-mobile-simple .topbar__brand img {
    width: 188px;
    height: auto;
  }

  .hero--home .hero__content {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero__title {
    max-width: 340px;
    font-size: 31px;
    line-height: 1.02;
    font-weight: 800;
  }

  .hero__subtitle {
    max-width: 320px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero__cta {
    display: none;
  }

  .hero__mobile-how {
    display: inline-flex;
    margin-top: 18px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #5b57d7;
    font-size: 13px;
    cursor: pointer;
  }

  .hero__mobile-socials {
    display: flex;
    margin-top: 12px;
    gap: 10px;
  }

  .hero__mobile-socials .topbar__social-link {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
  }

  .hero__mobile-socials .topbar__social-link img {
    width: 18px !important;
    height: 18px !important;
  }

  .search-section {
    margin-top: 14px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: start;
  }

  .search-row .btn-outline {
    display: inline-flex !important;
    min-width: 167px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
    color: #5755C4;
    background: #fff;
  }

  .search-box {
    width: 100%;
  }

  .filter-button {
    min-width: 102px;
    min-height: 42px;
    padding: 0 34px 0 14px;
    justify-self: start;
  }

  .filter-button::after {
    right: 12px;
    width: 14px;
    height: 10px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .channel-card {
    padding: 18px 14px 18px;
    border-radius: 16px;
  }

  .channel-card__logo-wrap {
    height: 168px;
  }

  .channel-card__logo {
    width: 152px;
    height: 152px;
  }

  .channel-card__title {
    font-size: 18px;
    line-height: 1.1;
    margin: 8px 0 10px;
  }

  .channel-card__description {
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 4;
  }

  .channel-card__button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .channel-card__footer {
    margin-top: 14px;
    align-items: center;
  }

  .channel-card__footer-meta {
    gap: 6px;
  }

  .channel-card__footer-meta .pill {
    min-height: 20px;
    padding: 0 8px;
    font-size: 10px;
  }

  .footer {
    min-height: 243px;
  }

  .footer__bg {
    background-image: url('../assets/mobile/main-footer-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
  }

  .footer__inner {
    min-height: 243px;
    padding: 18px 0 14px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    row-gap: 10px;
    text-align: center;
    opacity: 1 !important;
  }

  .footer__left,
  .footer__right {
    display: contents;
  }

  .footer__brand {
    grid-row: 1;
  }

  .footer__brand img {
    width: 188px;
  }

  .footer__how {
    grid-row: 2;
    min-height: 31px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 12px;
    min-width: 122px;
  }

  .footer__socials {
    grid-row: 3;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer__socials .topbar__social-link {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
  }

  .footer__socials .topbar__social-link img {
    width: 18px !important;
    height: 18px !important;
  }

  .footer__links {
    grid-row: 4;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-left: 18px;
    margin-top: 6px;
  }

  .footer__links a {
    font-size: 10px;
    color: rgba(255,255,255,.95);
  }

  .footer__copy {
    grid-row: 5;
    width: 100%;
    margin-top: 0;
    padding-left: 18px;
    text-align: left;
    font-size: 10px;
    color: rgba(255,255,255,.45);
  }
}

/* ===== v15 project page + home polish ===== */

.topbar__social-link,
.footer__socials .topbar__social-link {
  width: 24px;
  height: 24px;
}

.topbar__social-link img,
.footer__socials .topbar__social-link img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  background: transparent !important;
}

.filter-button {
  position: relative;
  min-width: 126px;
  background: #5755C4 !important;
  color: #fff !important;
  border: 0 !important;
  padding-right: 42px !important;
}

.filter-button::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 13px;
  transform: translateY(-50%);
  background: url('../assets/custom/filter-icon.png') center/contain no-repeat;
}

.channel-card__logo,
.channel-card__logo--blob {
  border-radius: 0 !important;
  -webkit-mask-image: url('../assets/custom/blob-mask.png');
  mask-image: url('../assets/custom/blob-mask.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.channel-card__footer {
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.channel-card__footer-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pill-views {
  gap: 5px;
  padding-inline: 10px;
}

.pill-views img {
  width: 15px;
  height: 11px;
  object-fit: contain;
}

.detail__back { display: none; }

.project-container {
  width: min(900px, calc(100% - 64px));
}

.project-view {
  max-width: 900px;
  margin: 42px auto 0;
}

.project-head {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.project-head__logo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.project-head__logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: max-content;
}

.project-head__title {
  margin: 2px 0 8px;
  font-size: 62px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000;
}

.project-head__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.project-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  background: #E6DEFF;
  color: #6058D8;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.project-pill--with-grid::before {
  content: '⠿';
  font-size: 11px;
  line-height: 1;
}

.project-pill--views img {
  width: 15px;
  height: 11px;
}

.project-head__summary {
  margin: 0;
  max-width: 470px;
  font-size: 18px;
  line-height: 1.35;
  color: #252525;
}

.project-head__summary--secondary { margin-top: 2px; }

.project-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}

.project-social {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.project-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.project-head__socials {
  gap: 14px;
}

.project-section {
  margin-top: 18px;
}

.project-section__title {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 1;
  color: #111;
}

.project-section__title::before {
  width: 18px;
  text-align: center;
  color: #6058D8;
  font-size: 20px;
  line-height: 1;
}

.project-section__title--contest::before { content: '◔'; }
.project-section__title--region::before { content: '⌂'; }
.project-section__title--description::before { content: '☰'; }
.project-section__title--author::before { content: '◔'; }
.project-section__title--contact::before { content: '?'; }

.project-info-list {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 0;
  display: grid;
  gap: 8px;
}

.project-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #2a2a2a;
}

.project-info-list li::before {
  color: #6058D8;
  font-size: 18px;
}

.project-info-list li:nth-child(1)::before { content: '◌'; }
.project-info-list li:nth-child(2)::before { content: '#'; font-weight: 700; }
.project-info-list li:nth-child(3)::before { content: '◫'; font-size: 15px; }

.project-region-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 620px;
}

.project-region-more {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #C9BCFF;
  color: #6058D8;
  font-size: 18px;
  cursor: pointer;
}

.project-description-text {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.45;
  color: #242424;
}

.project-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 22px;
}

.project-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-person__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #6058D8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6058D8;
  font-size: 34px;
  flex: 0 0 auto;
}

.project-person__name {
  font-size: 18px;
  color: #111;
  margin-bottom: 8px;
}

.project-person__socials {
  gap: 8px;
}

.project-empty {
  color: #666;
  font-size: 14px;
}

.image-modal__panel {
  overflow: hidden;
}

.image-modal__panel .stock-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.image-modal__panel .stock-item {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.image-modal__panel .stock-item__shape {
  display: block;
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  -webkit-mask-image: url('../assets/custom/blob-mask.png');
  mask-image: url('../assets/custom/blob-mask.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.image-modal__panel .stock-item.is-selected .stock-item__shape {
  outline: 3px solid rgba(96, 88, 216, 0.25);
  outline-offset: 3px;
  border-radius: 24px;
}

.footer__bg {
  background-image: url('../assets/desktop/chatgpt-image-12-2025-12-09-10-1-1.png');
}

@media (max-width: 640px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .hero .topbar__ghost,
  .hero .topbar__socials,
  .hero .topbar__meta,
  .hero .topbar__dots,
  .hero .topbar__ghost-primary {
    display: none !important;
  }

  .hero .topbar__brand {
    margin: 0 auto;
  }

  .hero__content {
    padding-top: 10px;
  }

  .hero__cta,
  .hero__mobile-how,
  .hero__mobile-socials {
    display: inline-flex;
  }

  .hero__mobile-how {
    margin-top: 16px;
    min-height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #5755C4;
  }

  .hero__mobile-socials {
    margin-top: 12px;
    justify-content: center;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-row .btn-outline {
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    order: 2;
  }

  .search-row .filter-button {
    order: 3;
    width: fit-content;
  }

  .search-row .search-box { order: 1; }

  .catalog-grid {
    gap: 18px;
  }

  .channel-card {
    padding: 16px 14px 20px;
  }

  .channel-card__logo-wrap { height: 120px; }
  .channel-card__logo { width: 118px; height: 118px; }
  .channel-card__title { font-size: 18px; margin: 14px 0 10px; }
  .channel-card__description { font-size: 14px; line-height: 1.45; }
  .channel-card__footer {
    align-items: center;
    gap: 10px;
  }
  .channel-card__button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
  }
  .channel-card__footer-meta {
    gap: 6px;
  }
  .channel-card__footer-meta .pill {
    height: 20px;
    padding: 0 8px;
    font-size: 10px;
  }

  .simple-hero .topbar__inner {
    justify-content: center;
  }
  .page-channel .simple-hero .topbar__socials,
  .page-channel .simple-hero .topbar__ghost,
  .page-channel .simple-hero .topbar__meta,
  .page-channel .simple-hero .topbar__dots,
  .page-channel .simple-hero .topbar__ghost-primary {
    display: none !important;
  }
  .page-channel .simple-hero {
    min-height: 80px;
  }

  .project-container {
    width: min(100%, calc(100% - 50px));
  }

  .project-view {
    margin-top: 28px;
  }

  .project-head {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    text-align: center;
  }

  .project-head__logo-col {
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .project-head__logo {
    width: 160px;
    height: 160px;
  }

  .project-head__title {
    font-size: 0;
    margin: 0;
  }

  .project-head__content {
    width: 100%;
  }

  .project-head__badges,
  .project-head__summary,
  .project-head__summary--secondary {
    text-align: left;
  }

  .project-head__badges {
    justify-content: center;
  }

  .project-section__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .project-info-list li,
  .project-description-text,
  .project-person__name {
    font-size: 16px;
  }

  .project-people {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-person {
    align-items: flex-start;
  }

  .footer {
    min-height: 243px;
  }

  .footer__bg {
    background-image: url('../assets/mobile/footer-bg.png') !important;
    background-position: center;
    background-size: cover;
  }

  .footer__inner {
    min-height: 243px;
    padding: 22px 0 18px;
    gap: 10px;
    justify-content: flex-start;
    text-align: center;
  }

  .footer__left,
  .footer__right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__brand img {
    width: 210px;
  }

  .footer__how {
    min-height: 38px;
    padding: 0 16px;
    margin-top: 10px;
  }

  .footer__socials {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-top: 14px;
    font-size: 12px;
  }

  .footer__copy {
    margin-top: 10px;
    font-size: 12px;
  }

  .image-modal__panel {
    width: min(336px, calc(100% - 20px));
    padding: 20px 18px;
  }

  .image-modal__panel .modal__header {
    display: block;
    margin-bottom: 12px;
  }

  .image-modal__panel .modal__title {
    display: none;
  }

  .image-modal__panel .stock-grid {
    grid-template-columns: repeat(2, 100px);
    justify-content: center;
    gap: 12px 18px;
  }

  .image-modal__panel .stock-item__shape {
    width: 100px;
    height: 100px;
  }

  .modal__actions {
    justify-content: center;
  }
}


/* ===== v16 fixes ===== */
.topbar__dots {
  width: 62px !important;
  height: 16px !important;
  flex: 0 0 auto;
  background: none !important;
  opacity: 1 !important;
  position: relative;
}
.topbar__dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8px 8px, rgba(255,255,255,.72) 0 4px, transparent 4.5px),
    radial-gradient(circle at 31px 8px, rgba(255,255,255,.72) 0 4px, transparent 4.5px),
    radial-gradient(circle at 54px 8px, rgba(255,255,255,.72) 0 4px, transparent 4.5px);
}
.topbar__social-link,
.footer__socials .topbar__social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.topbar__social-link img,
.footer__socials .topbar__social-link img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
}

.channel-card__footer-meta {
  margin-left: auto;
  justify-content: flex-end;
  align-self: flex-end;
}

@media (max-width: 767px) {
  .hero--home {
    min-height: 392px !important;
  }
  .hero__bg {
    background-image: url('../assets/mobile/hero-bg.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  .hero--home .topbar-mobile-simple .topbar__inner {
    padding-top: 14px !important;
    min-height: 64px !important;
  }
  .hero__title {
    max-width: 324px !important;
    font-size: 30px !important;
    line-height: 1.03 !important;
  }
  .hero__subtitle {
    max-width: 302px !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }
  .hero__mobile-how {
    margin: 18px auto 0 !important;
    min-width: 158px;
    min-height: 40px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px !important;
    font-size: 13px !important;
  }
  .hero__mobile-socials {
    margin-top: 12px !important;
    justify-content: center !important;
  }
  .search-row {
    gap: 12px !important;
  }
  .search-row .btn-outline,
  .search-row .filter-button {
    width: 100% !important;
    justify-content: center !important;
  }
  .catalog-grid {
    gap: 16px !important;
  }
  .channel-card {
    min-height: 446px !important;
    padding: 16px 14px 20px !important;
    border-radius: 18px !important;
  }
  .channel-card__logo-wrap {
    height: auto !important;
    padding: 8px 14px 0 !important;
    margin-bottom: 22px !important;
  }
  .channel-card__logo {
    width: 160px !important;
    height: 160px !important;
  }
  .channel-card__title {
    margin: 0 14px 10px !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
  }
  .channel-card__description {
    margin: 0 14px !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 4;
    min-height: 68px;
  }
  .channel-card__footer {
    margin-top: auto !important;
    padding: 0 14px !important;
    gap: 12px !important;
  }
  .channel-card__button {
    min-height: 36px !important;
    padding: 0 16px !important;
  }
  .channel-card__footer-meta {
    gap: 8px !important;
  }
  .channel-card__footer-meta .pill {
    min-height: 22px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }
  .footer__bg {
    background-image: url('../assets/mobile/footer-bg-main.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  .footer__inner {
    min-height: 243px !important;
    padding-top: 16px !important;
    row-gap: 12px !important;
  }
  .footer__brand img {
    width: 204px !important;
  }
  .footer__how {
    margin: 0 auto !important;
    min-width: 156px !important;
  }
  .footer__socials {
    display: flex !important;
    margin-top: 0 !important;
  }
}


/* v17 icons + project page refinements */
body.enable-scroll-topbar {
  background: #ffffff;
}

.search-section,
.section {
  background: #ffffff;
}

.project-socials {
  flex-wrap: nowrap;
}

.project-social {
  flex: 0 0 auto;
}

.project-section__title {
  gap: 8px;
}

.project-section__title::before {
  content: none !important;
}

.project-section__title img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.project-info-list li::before {
  content: none !important;
}

.project-info-list li img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.project-region-more {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.project-region-more img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.project-person__icon {
  width: 75px;
  height: 75px;
  padding: 0;
  border: 0;
  background: transparent;
}

.project-person__icon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.project-person__socials {
  flex-wrap: nowrap;
}

.project-head__socials {
  flex-wrap: nowrap;
}

.project-social img {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .project-head__socials,
  .project-person__socials {
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
  }

  .project-social {
    width: 28px;
    height: 28px;
    background: transparent;
  }

  .project-social img {
    width: 24px;
    height: 24px;
  }
}


.project-section__title img {
  width: 22px;
  height: 22px;
}

.project-section__title--contest + .project-info-list {
  padding-left: 26px;
}

@media (max-width: 640px) {
  .project-info-list {
    padding-left: 18px;
  }
  .project-info-list li {
    gap: 8px;
  }
}


/* v19 overrides */
body.home-page,
body.home-page .page-content,
body.home-page .search-section,
body.home-page .section { background: #ffffff; }
.cookie-banner__text a,
.footer__links a:last-child { text-decoration: underline; }
.region-selector--dropdown {
  display: block;
  max-height: 188px;
  overflow-y: auto;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #d8d9ef;
  border-radius: 14px;
  background: #fff;
}
.region-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  color: #2c3850;
  font-size: 15px;
}
.region-option input { accent-color: #6058d8; }
.region-option-empty { color: #667085; padding: 8px 4px; }


/* v21 overrides */
.project-social{width:48px;height:48px;}
.project-social img{width:34px !important;height:34px !important;}
.project-head__socials{gap:16px;}
.project-section{margin-top:30px; padding-top:8px;}
.project-description-text{padding-left:4px; max-width:900px;}
.project-region-row{max-width:760px; row-gap:10px;}
.project-region-more.is-open img{transform:rotate(90deg);}
.project-pill--hidden-region.hidden{display:none;}
.project-info-list{gap:12px;}
.project-info-list li{padding-left:10px;}
.region-option.is-disabled{opacity:.45;}
.cookie-banner__text a,.footer__links a{text-decoration:underline;}


/* v22 overrides */
.cookie-banner__text a, .footer__links a{ text-decoration: underline; }
.footer__links{ gap: 34px; }
.filter-modal .field label{ display:block; }
.region-selector--dropdown{ max-height: 140px; overflow-y:auto; }
.region-option{ padding: 5px 4px; }
.search-section,.section,body.home-page,.home-page .page-content{ background:#fff !important; }
.project-head__socials{ gap:18px; }
.project-social{ width:56px; height:56px; }
.project-social img{ width:40px !important; height:40px !important; }
.project-section{ margin-top:38px; padding-top:14px; }
.project-info-list{ gap:14px; padding-left:34px; }
.project-info-list li{ padding-left:0; }
.project-description-text{ padding-top:6px; line-height:1.45; }
.project-person-wrap{ padding-top:8px; }
.project-person__socials{ gap:12px; flex-wrap:nowrap; }
.project-region-row{ column-gap:10px; row-gap:10px; }
.project-region-more{ margin-left:2px; }
@media (max-width: 767px){
  .project-social{ width:38px; height:38px; }
  .project-social img{ width:28px !important; height:28px !important; }
  .project-section{ margin-top:26px; padding-top:10px; }
  .project-info-list{ padding-left:22px; }
}


/* v23 spacing fixes */
.project-head {
  align-items: start;
}
.project-head__logo-col {
  width: 240px;
  max-width: 240px;
}
.project-head__content {
  min-width: 0;
  padding-left: 8px;
}
.project-head__summary,
.project-head__summary--secondary,
.project-description-text,
.project-person__name {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.project-socials {
  overflow: hidden;
}
.project-social img {
  display: block;
}
@media (max-width: 767px) {
  .project-head__logo-col {
    width: 100%;
    max-width: 100%;
  }
  .project-head__content {
    padding-left: 0;
  }
}


/* v24 social icon clarity */
.project-social__icon {
  display: block;
  width: 40px;
  height: 40px;
}

@media (max-width: 767px) {
  .project-social__icon {
    width: 28px;
    height: 28px;
  }
}


.how-modal__list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.cookie-banner {
  background: rgba(29,44,65,.96);
}

.cookie-banner__text {
  max-width: 980px;
}

.footer__links {
  align-items: center;
}

.project-social__icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  display: block;
}

.project-pill--views {
  gap: 8px;
}


/* v26 hero + social + responsive fixes */
.hero--home {
  min-height: 620px;
}

.hero--home .hero__content {
  padding-top: 44px;
  padding-bottom: 64px;
}

.hero--home .hero__title {
  max-width: 920px;
  font-size: clamp(50px, 6vw, 76px);
  line-height: 0.98;
}

.hero--home .hero__subtitle {
  max-width: 980px;
  margin-top: 18px;
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 1.45;
}

.hero--home .hero__cta {
  margin-top: 24px;
  min-height: 46px;
  padding: 0 30px;
  flex-shrink: 0;
}

.topbar__social-link,
.footer__socials .topbar__social-link {
  width: 24px;
  height: 24px;
}

.topbar__social-link img,
.footer__socials .topbar__social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.project-head__socials,
.project-person__socials,
.project-socials {
  gap: 12px;
  flex-wrap: nowrap;
}

.project-social {
  width: auto;
  height: auto;
  min-width: 32px;
  min-height: 32px;
  flex: 0 0 auto;
  background: transparent;
}

.project-social__icon,
.project-social img {
  width: auto !important;
  height: auto !important;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px) {
  .hero--home {
    min-height: 560px;
  }

  .hero--home .hero__content {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero--home .hero__title {
    font-size: clamp(38px, 7vw, 58px);
  }

  .hero--home .hero__subtitle {
    max-width: 760px;
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .project-social {
    min-width: 24px;
    min-height: 24px;
  }

  .project-social__icon,
  .project-social img {
    max-width: 24px;
    max-height: 24px;
  }
}

@media (max-width: 640px) {
  .hero--home {
    min-height: 360px;
  }

  .hero--home .hero__content {
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .hero--home .hero__title {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.02;
  }

  .hero--home .hero__subtitle {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero--home .hero__cta {
    margin-top: 14px;
  }

  .topbar__social-link,
  .footer__socials .topbar__social-link {
    width: 20px;
    height: 20px;
  }

  .topbar__social-link img,
  .footer__socials .topbar__social-link img {
    width: 20px;
    height: 20px;
  }
}


/* v8 filter modal centering */
.filter-modal .field.span-2 .inline-row {
  width: 100%;
  justify-content: center;
}

/* v9 filter modal vertical text alignment */
.filter-modal .radio-pill {
  display: inline-grid;
  place-items: center;
  align-content: center;
  min-height: 46px;
  padding: 0 18px;
  line-height: 1.1;
}
