@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes consult-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes page-enter-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes page-enter-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes page-leave-left {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-28px);
  }
}

@keyframes page-leave-right {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}

@keyframes maintenance-spin {
  to { transform: rotate(360deg); }
}

.top-loading-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  overflow: hidden;
  background: rgba(33, 150, 243, 0.3);
  transition: opacity 0.35s ease, height 0.35s ease;
}

.top-loading-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36%;
  height: 100%;
  background: #2196f3;
  animation: top-loading-bar-run 0.4s ease-out forwards;
  transition: opacity 0.25s ease;
}

.top-loading-bar-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.top-loading-bar-hidden::after {
  animation: none;
  transform: translateX(350%);
  opacity: 0;
}

@keyframes top-loading-bar-run {
  from { transform: translateX(-100%); }
  to { transform: translateX(350%); }
}

.maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #121212;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.maintenance-overlay-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.maintenance-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.maintenance-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(157, 92, 255, 0.25);
  border-top-color: #9d5cff;
  border-radius: 50%;
  animation: maintenance-spin 0.8s linear infinite;
}

.list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  color: #8e8e93;
  font-size: 15px;
}

.list-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(157, 92, 255, 0.2);
  border-top-color: #9d5cff;
  border-radius: 50%;
  animation: maintenance-spin 0.7s linear infinite;
}

.maintenance-retry-btn {
  margin-top: 28px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(157, 92, 255, 0.3);
  border: 1px solid rgba(157, 92, 255, 0.5);
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, transform 0.1s;
}

.maintenance-retry-btn:hover,
.maintenance-retry-btn:active {
  background: rgba(157, 92, 255, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  -webkit-tap-highlight-color: transparent !important;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #121212;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: stretch;
  -webkit-tap-highlight-color: transparent !important;
}

button,
a,
.service-card,
.tabbar-item,
.back-btn,
.consult-link,
.submit-btn,
.form-textarea,
.form-input,
[role="button"] {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
  touch-action: manipulation;
}

button:focus,
button:active,
a:focus,
a:active {
  outline: none;
}

.service-card:focus {
  outline: none;
}

.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 72px;
  position: relative;
}

.view {
  display: none;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Страница объявления (подробно) */
.preset-detail-content {
  padding-bottom: 24px;
}

.preset-detail-image-wrap {
  width: 100%;
  max-height: 400px;
  background: #242424;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preset-detail-image-wrap.hidden {
  display: none !important;
}

.preset-detail-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

/* Свайп-галерея в деталях объявления */
.preset-detail-carousel {
  width: 100%;
  max-height: 400px;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.preset-detail-carousel-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.22s ease;
}

.preset-detail-carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #242424;
}

.preset-detail-carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.preset-detail-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.preset-detail-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.preset-detail-dot-active {
  background: rgba(255, 255, 255, 0.9);
}

.preset-detail-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preset-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.preset-detail-price {
  font-size: 22px;
  font-weight: 700;
  color: #9d5cff;
  margin: 0;
}

.preset-detail-desc {
  font-size: 15px;
  color: #8e8e93;
  line-height: 1.5;
  white-space: pre-wrap;
  margin: 0;
}

.preset-detail-cta {
  margin-top: 8px;
}

/* Сетка объявлений (Готовые сборки) — карточки как в маркетплейсе */
#presets-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
  row-gap: 4px;
  padding: 0;
}

#portfolio-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
  row-gap: 4px;
  padding: 0;
}

#view-presets .page-content {
  padding: 6px 4px 12px;
  margin: 0 -8px 0 -8px;
}

#view-portfolio .page-content {
  padding: 6px 4px 12px;
  margin: 0 -8px 0 -8px;
}

#presets-list.preset-list-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
}

#presets-list.preset-list-loading .list-loading {
  padding: 0;
}

#portfolio-list.preset-list-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
}

#portfolio-list.preset-list-loading .list-loading {
  padding: 0;
}

.preset-announcement-card {
  border-radius: 14px;
  overflow: hidden;
  background: #242424;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  animation: page-enter 0.35s ease-out backwards;
  transition: transform 0.1s ease, opacity 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Плавное появление карточек после загрузки */
#presets-list .preset-announcement-card:nth-child(1) { animation-delay: 0.05s; }
#presets-list .preset-announcement-card:nth-child(2) { animation-delay: 0.10s; }
#presets-list .preset-announcement-card:nth-child(3) { animation-delay: 0.15s; }
#presets-list .preset-announcement-card:nth-child(4) { animation-delay: 0.20s; }
#presets-list .preset-announcement-card:nth-child(5) { animation-delay: 0.25s; }
#presets-list .preset-announcement-card:nth-child(6) { animation-delay: 0.30s; }
#presets-list .preset-announcement-card:nth-child(7) { animation-delay: 0.35s; }
#presets-list .preset-announcement-card:nth-child(8) { animation-delay: 0.40s; }
#presets-list .preset-announcement-card:nth-child(9) { animation-delay: 0.45s; }
#presets-list .preset-announcement-card:nth-child(10) { animation-delay: 0.50s; }
#presets-list .preset-announcement-card:nth-child(11) { animation-delay: 0.55s; }
#presets-list .preset-announcement-card:nth-child(12) { animation-delay: 0.60s; }

.preset-announcement-card:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.preset-announcement-card .preset-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #2c2c2e;
  overflow: hidden;
}

.preset-announcement-card .preset-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preset-announcement-card .preset-card-delivery-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background: rgba(255, 193, 7, 0.95);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

.preset-announcement-card .preset-card-info {
  position: relative;
  padding: 10px 10px 12px;
  background: #242424;
  min-height: 72px;
}

.preset-announcement-card .preset-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preset-announcement-card .preset-card-price {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 12px 0 0 0;
}

.preset-announcement-card .preset-card-extra {
  font-size: 11px;
  color: #8e8e93;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preset-announcement-card .preset-card-price-empty {
  display: none;
}

#presets-list.preset-list-empty .consult-text {
  grid-column: 1 / -1;
}

#portfolio-list.preset-list-empty .consult-text {
  grid-column: 1 / -1;
}

#portfolio-list.preset-list-empty .profile-empty {
  grid-column: 1 / -1;
  text-align: center;
  justify-self: center;
  align-self: start;
  margin: 12px 0 0 0;
}

.page-title-sm {
  font-size: 14px;
  font-weight: 500;
  color: #8e8e93;
}

/* Пошаговое создание объявления */
.page-step {
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
  margin: 0 0 2px 0;
}

.wizard-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-content .form-textarea {
  min-height: 120px;
  resize: vertical;
}

.input-with-ruble {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-ruble .form-input {
  padding-right: 32px;
  flex: 1;
}

.input-ruble-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-78%);
  font-size: 18px;
  font-weight: 500;
  color: #8e8e93;
  pointer-events: none;
}

.create-review {
  background: #242424;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.create-review-label {
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
  margin: 0;
}

.create-review-value {
  font-size: 15px;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.create-review-value:last-of-type {
  margin-bottom: 0;
}

.preset-edit-card {
  border-radius: 16px;
  background: #242424;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-edit-card .form-label { font-size: 12px; margin-bottom: 2px; }
.preset-edit-card .form-input,
.preset-edit-card .form-textarea { font-size: 14px; padding: 8px 10px; }
.preset-edit-card .form-textarea { min-height: 60px; resize: vertical; }

.preset-edit-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preset-edit-gallery {
  flex-wrap: wrap;
}

.preset-edit-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset-edit-photo-title {
  font-size: 15px;
  margin: 4px 0 8px 0;
}

.preset-edit-photo-card {
  min-height: 100px;
  padding: 20px;
}

.preset-edit-photo-card .photo-add-icon {
  width: 32px;
  height: 32px;
  background-size: 32px 32px;
}

.preset-edit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-edit-actions .submit-btn { flex: 1; min-width: 120px; }
.preset-save-btn { background: rgba(157, 92, 255, 0.2); border-color: rgba(157, 92, 255, 0.5); color: #b794f6; }
.preset-delete-btn {
  align-self: flex-start;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(239, 83, 80, 0.6);
  background: rgba(239, 83, 80, 0.1);
  color: #ff9b9b;
  cursor: pointer;
}

.owner-form {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.owner-form-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.preset-card {
  border-radius: 16px;
  background: #242424;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.preset-image-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #242424;
  flex-shrink: 0;
}

.preset-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preset-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.preset-title {
  font-size: 15px;
  font-weight: 600;
}

.preset-price {
  font-size: 13px;
  font-weight: 500;
  color: #9d5cff;
}

.preset-desc {
  font-size: 12px;
  color: #8e8e93;
}

.preset-card .preset-delete-btn {
  align-self: flex-start;
  margin-left: 8px;
}

.view-active {
  display: flex;
}

.view-active.view-enter {
  animation: page-enter 0.3s ease-out forwards;
}

.view-active.view-enter-right {
  animation: page-enter-right 0.28s ease-in-out forwards;
}

.view-active.view-enter-left {
  animation: page-enter-left 0.28s ease-in-out forwards;
}

.view-leaving {
  animation: page-leave 0.25s ease-in forwards;
}

.view-active.view-leave-left {
  animation: page-leave-left 0.28s ease-in-out forwards;
}

.view-active.view-leave-right {
  animation: page-leave-right 0.28s ease-in-out forwards;
}

.app-header {
  padding: 8px 8px 4px;
  text-align: center;
}

.app-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #ffffff;
}

.app-title-main {
  opacity: 0.9;
}

.app-title-accent {
  color: #9d5cff;
  margin-left: 4px;
}

.app-header-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #8e8e93;
}

.app-main {
  flex: 1;
  padding: 16px 0 12px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  width: 100%;
  display: flex;
  align-items: center;
  animation: page-enter 0.35s ease-out backwards;
  padding: 14px 14px;
  border-radius: 16px;
  background: #242424;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out,
    opacity 0.1s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.12s; }
.service-card:nth-child(3) { animation-delay: 0.19s; }
.service-card:nth-child(4) { animation-delay: 0.26s; }

.service-card:active {
  transform: translateY(1px) scale(0.99);
  opacity: 0.9;
}

.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  color: #ffffff;
}

.service-icon-consult {
  background: linear-gradient(135deg, #2bd8ff, #3489ff);
  position: relative;
}

.service-icon-consult::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9.5C6 7.57 7.57 6 9.5 6H14.5C16.43 6 18 7.57 18 9.5C18 11.43 16.43 13 14.5 13H11L8.8 15.2C8.38 15.62 7.66 15.32 7.66 14.74V13C6.72 12.58 6 11.59 6 10.5V9.5Z' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  transform: translate(-0.5px, 2px);
}

.service-icon-build {
  background: linear-gradient(135deg, #4fe0ac, #2a9f6b);
  position: relative;
}

.service-icon-build::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 8px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='14' height='9' rx='1.5' stroke='%23ffffff' stroke-width='1.6'/%3E%3Crect x='9' y='17' width='6' height='1.6' rx='0.8' fill='%23ffffff'/%3E%3Ccircle cx='9' cy='10' r='0.9' fill='%23ffffff'/%3E%3Crect x='11' y='9.2' width='4.4' height='1.6' rx='0.8' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.service-icon-upgrade {
  background: linear-gradient(135deg, #b538ff, #6a2cf0);
  position: relative;
}

.service-icon-upgrade::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 14L12 10L16 14' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 10V17' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  transform: translateY(-2px);
}

.service-icon-ready {
  background: linear-gradient(135deg, #ff7ad9, #b84bff);
  position: relative;
}

.service-icon-ready::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='7' width='12' height='10' rx='2' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M8 11.5L10.7 14.2L15.2 9.8' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.service-icon-yes {
  background: linear-gradient(135deg, #4fe0ac, #2a9f6b);
}

.service-icon-yes::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 8px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6.5H13.2C13.62 6.5 14.02 6.67 14.31 6.96L17.04 9.69C17.33 9.98 17.5 10.38 17.5 10.8V16C17.5 17.1 16.6 18 15.5 18H8.5C7.4 18 6.5 17.1 6.5 16V8.5C6.5 7.4 7.4 6.5 8.5 6.5Z' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M13.5 6.5V9.2C13.5 9.64 13.86 10 14.3 10H17' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.service-icon-no {
  background: linear-gradient(135deg, #e6a84d, #c47c2a);
}

.service-icon-no::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 18V17' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M8.9 9.5C9.1 7.9 10.3 7 11.7 7C13.1 7 14.3 8.1 14.5 9.5C14.7 10.7 14.2 11.6 13.3 12.2C12.5 12.7 12 13.2 12 14.1V14.2' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 85% 85%;
}

.service-content {
  flex: 1;
  margin-left: 12px;
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-desc {
  font-size: 12px;
  line-height: 1.4;
  color: #8e8e93;
}

.service-price {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9d5cff;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(157, 92, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(107, 79, 207, 0.3);
}

.service-tag-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.service-arrow {
  margin-left: 8px;
  font-size: 20px;
  color: #8e8e93;
}

#view-build .service-card {
  padding: 22px 20px;
}

#view-build .service-icon {
  width: 52px;
  height: 52px;
  font-size: 26px;
}

#view-build .service-title {
  font-size: 20px;
}

#view-build .service-desc {
  font-size: 15px;
}

#view-build .service-arrow {
  font-size: 26px;
}

#view-build .service-list {
  gap: 16px;
}

#view-owner-presets .service-card {
  padding: 16px 18px;
}

#view-owner-presets .service-icon {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

#view-owner-presets .service-title {
  font-size: 18px;
}

#view-owner-presets .service-desc {
  font-size: 14px;
}

#view-owner-presets .service-arrow {
  font-size: 24px;
}

#view-owner-presets .service-list {
  gap: 12px;
}

.service-icon-add {
  background: linear-gradient(135deg, #4fe0ac, #2a9f6b);
  position: relative;
}

.service-icon-add::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5V19M5 12H19' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.service-icon-edit {
  background: linear-gradient(135deg, #e6a84d, #c47c2a);
  position: relative;
}

.service-icon-edit::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: 6px;
  border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.app-tabbar {
  display: flex;
  padding: 6px 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #1c1c1e;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

.app-tabbar.app-tabbar-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.tabbar-item {
  flex: 1;
  border: none;
  background: transparent;
  color: #8e8e93;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  padding: 6px 0 4px;
  transition: color 0.2s ease;
}

.tabbar-item-owner {
  display: none;
}

.tabbar-item-active {
  color: #9d5cff;
}

.tabbar-item .tabbar-icon {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.tabbar-item-active .tabbar-icon {
  opacity: 1;
  color: #9d5cff;
}

.tabbar-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  opacity: 0.7;
}

.tabbar-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tabbar-icon-primary {
  opacity: 1;
}

.tabbar-icon-profile {
  width: 24px;
  height: 24px;
  font-size: 0;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='9' r='3.2' stroke='%238e8e93' stroke-width='1.6'/%3E%3Cpath d='M6.5 18.2C7.4 15.9 9.5 14.4 12 14.4C14.5 14.4 16.6 15.9 17.5 18.2' stroke='%238e8e93' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: 90% 90%;
  opacity: 0.7;
  transform: translateY(0);
}

.tabbar-icon-portfolio {
  font-size: 20px;
  transform: translateY(0);
}

.page {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.back-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #242424;
  color: #9d5cff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-btn:active {
  opacity: 0.8;
}

.page-header-center {
  flex: 1;
  text-align: center;
}

.page-title {
  font-size: 18px;
  font-weight: 600;
}

.page-subtitle {
  font-size: 13px;
  color: #8e8e93;
  margin-top: 4px;
}

.page-content {
  flex: 1;
  padding: 24px 16px;
}

.alert-banner {
  position: relative;
  margin: 0 16px 0;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #ffb3b0;
  font-size: 13px;
  text-align: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin-bottom 0.4s ease,
    padding 0.4s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.alert-banner-visible {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-color: rgba(229, 57, 53, 0.7);
  background: rgba(229, 57, 53, 0.16);
}

.consult-text {
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 12px;
}

.consult-text strong {
  color: #9d5cff;
}

.consult-link {
  display: block;
  margin-top: 20px;
  padding: 14px 20px;
  background: #9d5cff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.consult-link:active {
  opacity: 0.9;
}

#view-consult .page-header {
  animation: consult-enter 0.35s ease-out backwards;
}

#view-consult .consult-text,
#view-consult .consult-link {
  animation: consult-enter 0.4s ease-out backwards;
}

#view-consult .consult-text:nth-of-type(1) { animation-delay: 0.08s; }
#view-consult .consult-text:nth-of-type(2) { animation-delay: 0.16s; }
#view-consult .consult-link { animation-delay: 0.26s; }

#view-build-no .page-header {
  animation: page-enter 0.3s ease-out backwards;
}

#view-build-no .form-label,
#view-build-no .form-textarea,
#view-build-no .form-input,
#view-build-no .form-price-row,
#view-build-no .form-info-block,
#view-build-no .submit-btn {
  animation: page-enter 0.35s ease-out backwards;
}

#view-build-no .form-label { animation-delay: 0.08s; }
#view-build-no .form-textarea { animation-delay: 0.14s; }
#view-build-no .form-input { animation-delay: 0.2s; }
#view-build-no .form-price-row { animation-delay: 0.26s; }
#view-build-no .form-info-block { animation-delay: 0.34s; }
#view-build-no .submit-btn { animation-delay: 0.42s; }

#view-build-yes .page-header {
  animation: page-enter 0.3s ease-out backwards;
}

#view-build-yes .alert-banner,
#view-build-yes .form-label,
#view-build-yes .form-input,
#view-build-yes .form-textarea,
#view-build-yes .form-price-row,
#view-build-yes .form-info-block,
#view-build-yes .submit-btn {
  animation: page-enter 0.35s ease-out backwards;
}

#view-build-yes .page-content > *:nth-child(1) { animation-delay: 0.06s; }
#view-build-yes .page-content > *:nth-child(2) { animation-delay: 0.09s; }
#view-build-yes .page-content > *:nth-child(3) { animation-delay: 0.12s; }
#view-build-yes .page-content > *:nth-child(4) { animation-delay: 0.15s; }
#view-build-yes .page-content > *:nth-child(5) { animation-delay: 0.18s; }
#view-build-yes .page-content > *:nth-child(6) { animation-delay: 0.21s; }
#view-build-yes .page-content > *:nth-child(7) { animation-delay: 0.24s; }
#view-build-yes .page-content > *:nth-child(8) { animation-delay: 0.27s; }
#view-build-yes .page-content > *:nth-child(9) { animation-delay: 0.30s; }
#view-build-yes .page-content > *:nth-child(10) { animation-delay: 0.33s; }
#view-build-yes .page-content > *:nth-child(11) { animation-delay: 0.36s; }
#view-build-yes .page-content > *:nth-child(12) { animation-delay: 0.39s; }
#view-build-yes .page-content > *:nth-child(13) { animation-delay: 0.42s; }
#view-build-yes .page-content > *:nth-child(14) { animation-delay: 0.45s; }
#view-build-yes .page-content > *:nth-child(15) { animation-delay: 0.48s; }
#view-build-yes .page-content > *:nth-child(16) { animation-delay: 0.51s; }
#view-build-yes .page-content > *:nth-child(17) { animation-delay: 0.54s; }
#view-build-yes .page-content > *:nth-child(18) { animation-delay: 0.57s; }
#view-build-yes .page-content > *:nth-child(19) { animation-delay: 0.60s; }
#view-build-yes .page-content > *:nth-child(20) { animation-delay: 0.63s; }
#view-build-yes .page-content > *:nth-child(21) { animation-delay: 0.66s; }
#view-build-yes .page-content > *:nth-child(22) { animation-delay: 0.69s; }
#view-build-yes .page-content > *:nth-child(23) { animation-delay: 0.72s; }
#view-build-yes .page-content > *:nth-child(24) { animation-delay: 0.75s; }
#view-build-yes .page-content > *:nth-child(25) { animation-delay: 0.78s; }
#view-build-yes .page-content > *:nth-child(26) { animation-delay: 0.81s; }
#view-build-yes .page-content > *:nth-child(27) { animation-delay: 0.84s; }
#view-build-yes .page-content > *:nth-child(28) { animation-delay: 0.87s; }
#view-build-yes .page-content > *:nth-child(29) { animation-delay: 0.90s; }
#view-build-yes .page-content > *:nth-child(30) { animation-delay: 0.93s; }
#view-build-yes .page-content > *:nth-child(31) { animation-delay: 0.96s; }
#view-build-yes .page-content > *:nth-child(32) { animation-delay: 0.99s; }
#view-build-yes .page-content > *:nth-child(33) { animation-delay: 1.02s; }
#view-build-yes .page-content > *:nth-child(34) { animation-delay: 1.05s; }

.form-textarea.form-textarea-sm {
  min-height: 72px;
}

#view-build-yes #comp-wishes-error {
  margin-bottom: 2px;
}

#view-build-yes .form-label {
  margin-bottom: 3px;
}

#view-build-yes .form-input {
  margin-bottom: 5px;
}

#view-build-yes .form-textarea {
  margin-bottom: 6px;
}

#view-build-yes .form-error {
  margin: -2px 0 3px 0;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8e8e93;
  margin-bottom: 8px;
}

.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.form-input::placeholder {
  color: #8e8e93;
}

.form-textarea::placeholder {
  color: #8e8e93;
}

.form-input.form-input-error,
.form-textarea.form-textarea-error {
  border-color: #e53935;
  box-shadow: 0 0 0 1px #e53935;
}

.input-wrap.form-input-error .form-input {
  border-color: #e53935;
  box-shadow: 0 0 0 1px #e53935;
}

/* Блок добавления фото (Внешний вид) */
.photo-section {
  margin-bottom: 20px;
}

.photo-section-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px 0;
}

.photo-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  padding: 24px;
  background: #242424;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.photo-add-card:hover,
.photo-add-card:active {
  background: #2c2c2e;
  opacity: 0.95;
}

.photo-add-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-add-icon {
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='13' r='4' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.photo-add-text {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.photo-add-card.form-input-error {
  border: 2px solid #e53935;
  box-shadow: 0 0 0 1px #e53935;
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-preview-card {
  position: relative;
  width: 100px;
  min-width: 100px;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #242424;
  flex-shrink: 0;
}

.photo-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-preview-card .photo-preview-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
}

.photo-preview-card .photo-preview-edit {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.photo-preview-card .photo-preview-edit svg {
  width: 14px;
  height: 14px;
}

.photo-add-card.photo-add-inline {
  width: 100px;
  min-width: 100px;
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
}

.form-error {
  font-size: 13px;
  color: #e53935;
  margin: -8px 0 12px 0;
  min-height: 20px;
}

.form-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: #242424;
  margin-bottom: 12px;
}

.form-price-label {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

.form-price-value {
  font-size: 15px;
  font-weight: 600;
  color: #9d5cff;
}

.form-info-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(157, 92, 255, 0.12);
  border-left: 3px solid #9d5cff;
  margin-bottom: 20px;
}

.form-info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #9d5cff;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-info-block p {
  font-size: 13px;
  line-height: 1.5;
  color: #8e8e93;
  margin: 0;
}

.submit-btn {
  width: 100%;
  padding: 16px 20px;
  background: #9d5cff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.submit-btn:active {
  opacity: 0.9;
}

.page-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 18px;
}

.profile-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #242424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-avatar-img-visible {
  opacity: 1;
}

.profile-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
}

.profile-avatar-fallback-hidden {
  display: none;
}

.profile-username {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.profile-empty {
  font-size: 14px;
  color: #8e8e93;
  margin: 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #9d5cff;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-text {
  font-size: 15px;
  color: #8e8e93;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .app {
    border-radius: 24px;
    margin: 12px;
    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

/* ----- In-app chat ----- */
.chat-view {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0;
}

.chat-owner-threads {
  display: none; /* будет показываться владельцу через JS */
  margin: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 2px;
}

.chat-thread-empty {
  font-size: 13px;
  color: #8e8e93;
  padding: 8px 6px;
}

.chat-thread-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  border-radius: 16px;
  padding: 12px 12px;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: left;
  color: #ffffff;
}

.chat-thread-item:last-child {
  margin-bottom: 0;
}

.chat-thread-item-active {
  border-color: rgba(157, 92, 255, 0.85);
  background: rgba(157, 92, 255, 0.12);
}

.chat-thread-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-thread-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c2e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-thread-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.chat-thread-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.chat-thread-time {
  font-size: 11px;
  color: #8e8e93;
  white-space: nowrap;
}

.chat-thread-bubble {
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-thread-bubble-them {
  align-self: flex-start;
}

.chat-thread-bubble-me {
  align-self: flex-end;
  background: rgba(157, 92, 255, 0.18);
  border-color: rgba(157, 92, 255, 0.65);
}

.chat-thread-item-active .chat-thread-bubble-me {
  background: rgba(157, 92, 255, 0.22);
}


.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px 12px;
}

.chat-msg-row {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-msg-row-them {
  justify-content: flex-start;
}

.chat-msg-row-me {
  justify-content: flex-end;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2c2c2e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-msg-col {
  max-width: 86%;
  display: flex;
  flex-direction: column;
}

.chat-msg-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 4px 6px;
}

.chat-msg-name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.chat-msg-time {
  font-size: 11px;
  color: #8e8e93;
  white-space: nowrap;
}

.chat-bubble {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.chat-bubble-text {
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble-me {
  align-self: flex-end;
  background: rgba(157, 92, 255, 0.22);
  border-color: rgba(157, 92, 255, 0.65);
}

.chat-bubble-them {
  align-self: flex-start;
}

.chat-composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input {
  margin-bottom: 0 !important;
  flex: 1;
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: #9d5cff;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-send-btn:active {
  opacity: 0.9;
}

