.ft-panel,
.ftu-card,
.ftu-listing,
.fta-wrap,
.fta-card,
.ftl-topbar,
.ftl-card,
.ftl-left,
.ftl-right,
.ftl-contact {
  border-radius: 24px !important;
}

.ft-panel,
.ftu-card,
.ftu-listing,
.fta-wrap,
.fta-card {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34) !important;
}

.ft-panel-title,
.ftu-title,
.fta-card h3 {
  letter-spacing: -0.03em;
}

.ft-btn,
.ftu-btn,
.fta-btn,
.ftu-btn-lite {
  border-radius: 16px !important;
}

.ft-note,
.ftu-note,
.ftu-history {
  border-radius: 18px !important;
}

.ftu-listing-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  align-items: stretch !important;
  margin-top: auto;
}

.ftu-listing-grid {
  align-items: stretch;
}

.ftu-listing {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ftu-listing-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
}

.ftu-listing-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ftu-listing-title {
  min-height: calc(1.3em * 2);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ftu-listing-price {
  min-height: 1.4em;
  margin: 0;
  color: #eef3f7 !important;
  font-weight: 700;
  align-items: baseline;
  gap: 8px !important;
}

.ftu-listing-price .ft-price-old {
  color: rgba(226, 233, 239, 0.62) !important;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration-thickness: 1.5px;
}

.ftu-listing-price .ft-price-new {
  color: #eef3f7 !important;
  font-size: 1em !important;
  font-weight: 700;
}

.ftu-listing-price .ft-price-regular {
  color: #eef3f7 !important;
  font-size: 1em;
  font-weight: 700;
}

.ftu-listing-price .ft-price-old + .ft-price-new {
  color: #17da69 !important;
}

.ftu-listing-price.has-discount .ft-price-new {
  color: #17da69 !important;
}

.ftu-listing-grid--favorites {
  grid-auto-rows: 1fr;
}

.ftu-listing-action-form {
  margin: 0;
}

.ftu-listing-action-form,
.ftu-listing-action {
  min-width: 0;
}

.ftu-listing-action {
  width: 100%;
  min-height: 40px;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.2;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.ftu-listing-grid--favorites .ftu-listing-action {
  font-size: 12px;
  min-height: 36px;
  padding: 0 8px !important;
}

.ftu-listing-action::after {
  content: "";
  position: absolute;
  inset: auto auto -28px -20%;
  width: 60%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg) translateX(-140%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.ftu-listing-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.ftu-listing-action:hover::after {
  transform: rotate(18deg) translateX(260%);
}

.ftu-listing-action:active {
  transform: translateY(0) scale(0.98);
}

.ftu-listing-action.is-primary {
  background: linear-gradient(135deg, #25ff86, #17da69) !important;
  color: #041109 !important;
  border-color: rgba(23, 218, 105, 0.3) !important;
  box-shadow: 0 14px 28px rgba(23, 218, 105, 0.18);
}

.ftu-listing-action.is-danger {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 92, 122, 0.24) !important;
  color: #ffd8df !important;
}

.ftu-listing-action.is-danger:hover {
  border-color: rgba(255, 92, 122, 0.38) !important;
  box-shadow: 0 14px 28px rgba(255, 92, 122, 0.12);
}

.ftu-chat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.ftu-chat-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  display: grid;
  gap: 8px;
  max-height: 620px;
  overflow: auto;
}

.ftu-chat-thread {
  display: grid;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  color: #e9f0f3 !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ftu-chat-thread:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.32);
  background: rgba(23, 218, 105, 0.06);
}

.ftu-chat-thread.is-active {
  border-color: rgba(23, 218, 105, 0.5);
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.16), rgba(23, 218, 105, 0.06));
}

.ftu-chat-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ftu-chat-thread-meta,
.ftu-chat-thread-date {
  font-size: 12px;
  color: #9fb0ba;
}

.ftu-chat-thread-preview {
  font-size: 13px;
  color: #d2dee5;
}

.ftu-chat-unread {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #001b0b;
  background: #25ff86;
}

.ftu-chat-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.ftu-chat-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.ftu-chat-panel-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9fb0ba;
}

.ftu-chat-messages {
  margin-top: 12px;
  margin-bottom: 12px;
  flex: 1 1 auto;
  min-height: 180px;
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-right: 4px;
}

.ftu-chat-empty {
  margin: 0;
  font-size: 13px;
  color: #b4c4cc;
}

.ftu-chat-message {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  max-width: 90%;
}

.ftu-chat-message.is-own {
  margin-left: auto;
  border-color: rgba(23, 218, 105, 0.28);
  background: rgba(23, 218, 105, 0.08);
}

.ftu-chat-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  color: #9fb0ba;
}

.ftu-chat-message-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: #eef3f7;
  font-size: 14px;
  line-height: 1.45;
}

.ftu-chat-form {
  display: grid;
  gap: 8px;
}

.ftu-chat-form label {
  font-size: 12px;
  color: #9fb0ba;
}

.ftu-chat-form textarea {
  width: 100%;
  min-height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 16, 0.78);
  color: #eef3f7;
  padding: 10px 12px;
  resize: vertical;
}

.ftu-chat-form textarea:focus {
  outline: none;
  border-color: rgba(23, 218, 105, 0.48);
  box-shadow: 0 0 0 3px rgba(23, 218, 105, 0.12);
}

.ftu-chat-refresh-note {
  margin: 2px 2px 0;
  font-size: 11px;
  color: #89a0ac;
}

.ftu-wrap.has-sidebar-js .ftu-sidebar,
.ftu-wrap .ftu-sidebar {
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  overflow: visible !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(180deg, rgba(10, 14, 16, 0.96), rgba(7, 11, 13, 0.94)) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42) !important;
  transition: none !important;
  z-index: auto !important;
}

.ftu-wrap.has-sidebar-js .ftu-toolbar,
.ftu-wrap .ftu-toolbar,
.ftu-wrap.has-sidebar-js .ftu-sidebar-overlay {
  display: none !important;
}

.ftu-wrap.has-sidebar-js .ftu-sidebar-head,
.ftu-wrap .ftu-sidebar-head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #f5f7fa;
}

.ftu-wrap.has-sidebar-js .ftu-sidebar-close,
.ftu-wrap .ftu-sidebar-close {
  display: none !important;
  width: 36px;
  height: 36px;
}

.ftu-wrap.has-sidebar-js .ftu-layout,
.ftu-wrap .ftu-layout {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

.ftu-wrap.has-sidebar-js .ftu-content,
.ftu-wrap .ftu-content {
  margin-left: 0;
  min-width: 0;
}

.ftu-nav {
  gap: 10px !important;
}

.ftu-tab-btn {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #dce3e5 !important;
  text-decoration: none;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.ftu-tab-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 218, 105, 0.24) !important;
  background: rgba(23, 218, 105, 0.08) !important;
  color: #f5f7fa !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), 0 0 24px rgba(23, 218, 105, 0.08);
}

.ftu-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.18), rgba(23, 218, 105, 0.08)) !important;
  border-color: rgba(23, 218, 105, 0.34) !important;
  color: #f5fff8 !important;
  box-shadow: inset 0 0 0 1px rgba(23, 218, 105, 0.1), 0 16px 34px rgba(23, 218, 105, 0.12);
}

.ftu-profile-card {
  overflow: hidden;
}

.ftu-profile-body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(310deg, #062013, #22ff84, #062617, #000000) !important;
  background-size: 1000% 1000% !important;
  -webkit-animation: ftuProfileGradient 10s ease infinite;
  -moz-animation: ftuProfileGradient 10s ease infinite;
  animation: ftuProfileGradient 10s ease infinite;
}

.ftu-profile-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(23, 218, 105, 0.44), transparent 28%),
    radial-gradient(circle at 78% 70%, rgba(23, 218, 105, 0.28), transparent 30%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.ftu-profile-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.ftu-profile-bio {
  position: relative;
  z-index: 1;
  color: #f5f7fa !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ftu-profile-avatar-wrap {
  background: rgba(8, 12, 14, 0.96) !important;
  z-index: 3 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

.ftu-profile-avatar-wrap img {
  object-fit: contain !important;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
}

.ftu-profile-body {
  position: relative;
  z-index: 1;
  padding-top: 58px !important;
}

#ft-pick-profile-avatar,
#ft-clear-profile-avatar,
#ft-pick-profile-banner,
#ft-clear-profile-banner {
  min-height: 42px;
  padding: 0 16px !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

#ft-pick-profile-avatar::after,
#ft-clear-profile-avatar::after,
#ft-pick-profile-banner::after,
#ft-clear-profile-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -28px -20%;
  width: 60%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg) translateX(-140%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

#ft-pick-profile-avatar:hover,
#ft-clear-profile-avatar:hover,
#ft-pick-profile-banner:hover,
#ft-clear-profile-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

#ft-pick-profile-avatar:hover::after,
#ft-clear-profile-avatar:hover::after,
#ft-pick-profile-banner:hover::after,
#ft-clear-profile-banner:hover::after {
  transform: rotate(18deg) translateX(260%);
}

#ft-pick-profile-avatar:active,
#ft-clear-profile-avatar:active,
#ft-pick-profile-banner:active,
#ft-clear-profile-banner:active {
  transform: translateY(0) scale(0.98);
}

#ft-pick-profile-avatar,
#ft-pick-profile-banner {
  background: linear-gradient(135deg, #25ff86, #17da69) !important;
  color: #041109 !important;
  border-color: rgba(23, 218, 105, 0.3) !important;
  box-shadow: 0 14px 28px rgba(23, 218, 105, 0.18);
}

#ft-clear-profile-avatar,
#ft-clear-profile-banner {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 92, 122, 0.24) !important;
  color: #ffd8df !important;
}

#ft-clear-profile-avatar:hover,
#ft-clear-profile-banner:hover {
  border-color: rgba(255, 92, 122, 0.38) !important;
  box-shadow: 0 14px 28px rgba(255, 92, 122, 0.12);
}

@-webkit-keyframes ftuProfileGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

@-moz-keyframes ftuProfileGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

@keyframes ftuProfileGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

.ftu-section-head--privacy {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: linear-gradient(180deg, rgba(18, 22, 29, 0.96), rgba(13, 17, 23, 0.92)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
}

.ftu-section-head--privacy h3 {
  color: #f5f7fb !important;
}

.ftu-section-head--privacy .ftu-section-sub {
  color: rgba(214, 223, 232, 0.82) !important;
}

.ftu-section-head--privacy .ftu-badge--soft {
  background: rgba(23, 218, 105, 0.14) !important;
  color: #b8ffd4 !important;
  border-color: rgba(23, 218, 105, 0.34) !important;
}

.ftu-privacy-card {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(18, 22, 29, 0.96), rgba(13, 17, 23, 0.94)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
}

.ftu-privacy-card-head h4 {
  color: #f5f7fb !important;
}

.ftu-privacy-card-head p {
  color: rgba(198, 208, 220, 0.84) !important;
}

.ftu-privacy-options {
  gap: 12px !important;
}

.ftu-check-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 58px;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(180deg, rgba(20, 24, 31, 0.96), rgba(14, 18, 24, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition: transform 0.18s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

.ftu-check-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 218, 105, 0.3) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(23, 218, 105, 0.08) inset !important;
}

.ftu-check-card input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 20px;
  display: inline-block !important;
  border-radius: 50% !important;
  border: 1px solid rgba(208, 218, 229, 0.55) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: none !important;
  position: relative;
  transform: none !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.ftu-check-card input::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #041109;
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.ftu-check-card span {
  color: #eef3f7 !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.ftu-check-card:has(input:checked) {
  border-color: rgba(23, 218, 105, 0.55) !important;
  background: linear-gradient(180deg, rgba(16, 48, 30, 0.98), rgba(11, 30, 20, 0.96)) !important;
  box-shadow:
    0 18px 38px rgba(7, 15, 10, 0.24),
    0 0 0 1px rgba(23, 218, 105, 0.12) inset,
    0 0 22px rgba(23, 218, 105, 0.12) !important;
}

.ftu-check-card:has(input:checked) span {
  color: #ffffff !important;
}

.ftu-check-card input:checked {
  border-color: #17da69 !important;
  background: linear-gradient(135deg, #25ff86, #17da69) !important;
  box-shadow: 0 0 0 4px rgba(23, 218, 105, 0.16) !important;
}

.ftu-check-card input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.ftu-privacy-footer {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(18, 22, 29, 0.96), rgba(13, 17, 23, 0.94)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22) !important;
}

.ftu-privacy-select label {
  color: #d8dee8 !important;
}

.ftu-privacy-select .ftu-select {
  min-height: 52px;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #f5f7fb !important;
}

@media (max-width: 760px) {
  .ftu-wrap.has-sidebar-js .ftu-layout,
  .ftu-wrap .ftu-layout {
    grid-template-columns: 1fr !important;
  }

  .ftu-wrap.has-sidebar-js .ftu-sidebar,
  .ftu-wrap .ftu-sidebar {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 6px;
  }

  .ftu-wrap.has-sidebar-js .ftu-content,
  .ftu-wrap .ftu-content {
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .ftu-chat-layout {
    grid-template-columns: 1fr;
  }

  .ftu-chat-list {
    max-height: 340px;
  }

  .ftu-chat-panel {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .ftu-chat-layout {
    grid-template-columns: 1fr;
  }

  .ftu-chat-list {
    max-height: 320px;
  }

  .ftu-chat-panel {
    min-height: 420px;
  }

  .ftu-chat-message {
    max-width: 100%;
  }

  .ftu-listing-grid--favorites .ftu-listing-action {
    font-size: 11px;
    min-height: 34px;
    padding: 0 7px !important;
  }

  .ftu-listing-action {
    font-size: 12px;
    min-height: 38px;
    padding: 0 8px !important;
  }

  .ftu-listing-actions {
    grid-template-columns: 1fr !important;
  }
}
