html,
body {
  min-height: 100%;
}

html,
body,
body.bg-black,
.bg-black {
  background: #000000 !important;
  background-color: #000000 !important;
}

.bi {
  display: inline-block;
  line-height: 1;
  vertical-align: -.12em;
}

.active .bi-heart::before,
.text-primary .bi-heart::before,
.product-detail-heart-btn.active .bi-heart::before,
.product-heart-btn.active .bi-heart::before {
  content: "\f415";
}

.active .bi-person::before,
.text-primary .bi-person::before {
  content: "\f4da";
}

.active .bi-chat-dots::before,
.text-primary .bi-chat-dots::before {
  content: "\f249";
}

.nav-icon {
  font-size: 1.75rem;
  margin-bottom: 2px;
}

.nav-icon-lg {
  font-size: 2rem;
}

.chat-screen {
  min-height: 100vh;
  max-width: 1800px;
  overflow: visible !important;
  padding-bottom: 260px;
  width: 100%;
}

.top-nav {
  background: transparent;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-register-btn {
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 850;
  gap: 6px;
  height: 44px;
  min-height: 0;
  padding: 0 16px;
  width: auto;
}

.nav-register-btn:hover,
.nav-register-btn:focus-visible {
  color: #fff !important;
  box-shadow: 0 0 24px rgba(91,150,255,.28), 0 12px 26px rgba(0,0,0,.34);
}

.register-screen {
  height: 100dvh;
  max-width: 520px;
  min-height: 0;
  overflow: hidden;
  padding: clamp(12px, 3vh, 24px) 16px;
}

.register-header {
  margin-bottom: 42px;
}

.register-card {
  border: 1px solid rgba(255,255,255,.08);
  padding: 20px;
}

.auth-body {
  background: #000000 !important;
  background-color: #000000 !important;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.auth-screen {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 574px;
  padding: clamp(12px, 3vh, 28px) 36px clamp(10px, 2vh, 18px);
  width: 100%;
}

.auth-header {
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 0 0 auto;
  margin-bottom: clamp(8px, 2.2vh, 24px);
  padding: 0;
}

.auth-back,
.auth-top-link {
  color: rgba(255,255,255,.72);
  text-decoration: none;
}

.auth-back .bi {
  font-size: 2.25rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 32;
}

.auth-top-link {
  font-size: 1.5rem;
  font-weight: 500;
}

.auth-card {
  background: transparent !important;
  border: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

.auth-logo {
  border-radius: 50%;
  box-shadow: none;
  display: block;
  height: clamp(48px, 8vh, 76px);
  margin: 0 auto clamp(8px, 2vh, 18px);
  object-fit: contain;
  width: clamp(48px, 8vh, 76px);
}

.auth-copy {
  flex: 0 0 auto;
  margin: 0 auto clamp(10px, 2.4vh, 24px);
  max-width: 390px;
  text-align: center;
}

.auth-copy h1 {
  color: #f7f7f7;
  font-size: clamp(1.75rem, 5.4vh, 2.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 clamp(6px, 1.5vh, 14px);
}

.auth-copy p {
  color: rgba(255,255,255,.58);
  font-size: clamp(.86rem, 2.5vh, 1.2rem);
  line-height: 1.35;
  margin: 0;
}

.auth-alert {
  background: rgba(220, 53, 69, .14);
  border-color: rgba(220, 53, 69, .32);
  color: #ffd7dc;
  margin-bottom: 18px;
}

.auth-form {
  flex: 0 1 auto;
  display: grid;
  gap: clamp(6px, 1.3vh, 11px);
  min-height: 0;
}

.auth-role-grid {
  display: grid;
  gap: clamp(8px, 1.4vh, 14px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(4px, 1.2vh, 12px);
}

.auth-role-grid .btn-check {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.auth-role-option,
.auth-field,
.auth-secondary {
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.14);
  color: rgba(255,255,255,.74);
  box-sizing: border-box;
  display: flex;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.auth-role-grid > div {
  min-width: 0;
}

.auth-role-option {
  cursor: pointer;
  gap: clamp(8px, 1.5vh, 16px);
  min-height: clamp(46px, 8vh, 74px);
  padding: clamp(8px, 1.5vh, 14px) clamp(10px, 2vw, 20px);
}

.auth-role-option .bi,
.auth-field .bi,
.auth-safe .bi {
  color: rgba(255,255,255,.62);
  flex: 0 0 auto;
  font-size: clamp(1.35rem, 3vh, 1.8rem);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 32;
  overflow: hidden;
  text-align: center;
  width: 2rem;
}

.auth-role-option b {
  color: #eeeeee;
  font-size: clamp(.92rem, 2.2vh, 1.15rem);
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-selected-role {
  align-items: center;
  background: rgba(91,150,255,.13);
  border: 1px solid rgba(91,150,255,.28);
  border-radius: 16px;
  color: #fff;
  display: flex;
  gap: 12px;
  min-height: clamp(42px, 6.8vh, 58px);
  padding: 0 clamp(14px, 2.4vw, 22px);
}

.auth-selected-role .bi {
  color: #8fb8ff;
  font-size: 1.35rem;
}

.auth-selected-role span {
  flex: 1;
  font-weight: 850;
}

.auth-selected-role a {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-choice-screen .auth-copy {
  max-width: none;
  width: 100%;
  margin-bottom: clamp(14px, 3vh, 28px);
}

.auth-choice-screen .auth-card {
  position: relative;
}

.auth-choice-screen .auth-logo,
.auth-choice-screen .auth-copy,
.auth-choice-screen .auth-choice-grid,
.auth-choice-screen .auth-secondary,
.auth-choice-screen .auth-safe {
  position: relative;
  z-index: 1;
}

.auth-choice-grid {
  display: grid;
  gap: 16px;
}

/* The role chooser has enough room for clear, single-line desktop copy. */
@media (min-width: 576px) {
  .auth-choice-screen {
    max-width: 680px;
  }

  .auth-choice-screen .auth-copy h1,
  .auth-choice-screen .auth-copy p {
    white-space: nowrap;
  }
}

.auth-body:has(.auth-choice-screen) {
  height: auto;
  min-height: 100dvh;
  overflow-y: auto;
}

.auth-choice-screen {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.auth-choice-screen .auth-safe {
  flex: 0 0 auto;
  padding-bottom: 12px;
}

.auth-choice-card {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.24), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045)),
    rgba(20, 25, 34, .66);
  backdrop-filter: blur(26px) saturate(168%);
  -webkit-backdrop-filter: blur(26px) saturate(168%);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 26px;
  box-shadow:
    0 28px 58px rgba(0,0,0,.44),
    0 0 48px rgba(91,150,255,.10),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  gap: 10px;
  isolation: isolate;
  min-height: 154px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-choice-card::after {
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.16) 48%, transparent 58%),
    radial-gradient(circle at 100% 100%, rgba(91,150,255,.18), transparent 38%);
  content: "";
  inset: 0;
  opacity: .65;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.auth-choice-card:hover,
.auth-choice-card:focus-visible {
  border-color: rgba(150,190,255,.52);
  box-shadow:
    0 34px 68px rgba(0,0,0,.50),
    0 0 58px rgba(91,150,255,.24),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(91,150,255,.12);
  color: #fff;
  transform: translateY(-3px);
}

.auth-choice-card-accent {
  background:
    radial-gradient(circle at 24% 0%, rgba(120,176,255,.36), transparent 34%),
    linear-gradient(145deg, rgba(91,150,255,.28), rgba(255,255,255,.055)),
    rgba(20, 31, 50, .72);
  border-color: rgba(91,150,255,.40);
  box-shadow:
    0 30px 64px rgba(0,0,0,.48),
    0 0 58px rgba(91,150,255,.18),
    inset 0 1px 0 rgba(255,255,255,.26);
}

.auth-choice-art {
  align-items: center;
  display: flex;
  gap: 12px;
}

.auth-choice-art .bi {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06)),
    rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  box-shadow:
    0 16px 32px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.26);
  color: rgba(255,255,255,.88);
  display: inline-flex;
  font-size: 1.72rem;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.auth-choice-card-accent .auth-choice-art .bi {
  color: #dceaff;
}

.auth-choice-card b {
  font-size: clamp(1.35rem, 3.1vh, 1.78rem);
  font-weight: 900;
  line-height: 1.05;
}

.auth-choice-card span:not(.auth-choice-art) {
  color: rgba(255,255,255,.76);
  font-size: clamp(.88rem, 2vh, 1rem);
  font-weight: 700;
  line-height: 1.35;
}

.auth-choice-card small {
  align-items: center;
  color: #b9d2ff;
  display: inline-flex;
  font-size: .84rem;
  font-weight: 850;
  gap: 6px;
  margin-top: 2px;
}

.auth-choice-card small .bi {
  font-size: .9rem;
}

.auth-choice-login {
  margin-top: 14px;
}

.auth-radio-dot {
  border: 3px solid rgba(255,255,255,.22);
  border-radius: 50%;
  flex: 0 0 auto;
  height: clamp(20px, 3.4vh, 27px);
  position: relative;
  width: clamp(20px, 3.4vh, 27px);
}

.btn-check:checked + .auth-role-option {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
}

.btn-check:checked + .auth-role-option .auth-radio-dot {
  border-color: #f3f3f3;
}

.btn-check:checked + .auth-role-option .auth-radio-dot::after {
  background: #f3f3f3;
  border-radius: 50%;
  content: "";
  inset: 6px;
  position: absolute;
}

.auth-field {
  gap: clamp(10px, 1.8vh, 18px);
  min-height: clamp(44px, 7.3vh, 66px);
  padding: 0 clamp(14px, 2.4vw, 22px);
}

.auth-field input {
  background: transparent;
  border: 0;
  color: #f5f5f5;
  flex: 1;
  font-size: clamp(.98rem, 2.5vh, 1.28rem);
  font-weight: 650;
  min-width: 0;
  outline: 0;
}

.auth-field input::placeholder {
  color: rgba(255,255,255,.55);
  opacity: 1;
}

.auth-primary {
  background: #f4f4f4;
  border: 0;
  border-radius: 14px;
  box-sizing: border-box;
  color: #0d0d0d;
  font-size: clamp(1rem, 2.6vh, 1.3rem);
  font-weight: 850;
  min-height: clamp(44px, 7.3vh, 66px);
  margin-top: clamp(2px, .8vh, 8px);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.auth-divider {
  align-items: center;
  color: rgba(255,255,255,.58);
  display: grid;
  font-size: clamp(.82rem, 1.8vh, 1rem);
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(8px, 1.5vh, 16px);
  margin: 0 28px;
}

.auth-divider::before,
.auth-divider::after {
  background: rgba(255,255,255,.11);
  content: "";
  height: 1px;
}

.auth-secondary {
  color: #f2f2f2;
  font-size: clamp(.98rem, 2.4vh, 1.25rem);
  font-weight: 800;
  justify-content: center;
  min-height: clamp(44px, 7.3vh, 66px);
  text-decoration: none;
}

.auth-google {
  align-items: center;
  background: rgba(255,255,255,.96);
  border: 0;
  border-radius: 14px;
  color: #151515;
  display: inline-flex;
  font-size: clamp(.95rem, 2.25vh, 1.18rem);
  font-weight: 850;
  gap: 10px;
  justify-content: center;
  min-height: clamp(44px, 7.3vh, 66px);
  text-decoration: none;
  width: 100%;
}

.auth-google .bi {
  color: #0d6efd;
  font-size: 1.2em;
}

.auth-safe {
  align-items: center;
  color: rgba(255,255,255,.52);
  display: flex;
  font-size: clamp(.72rem, 1.8vh, .92rem);
  gap: 10px;
  justify-content: center;
  margin: clamp(4px, 1vh, 10px) 0 0;
  min-width: 0;
  text-align: center;
}

.auth-safe .bi {
  font-size: 1.35rem;
}

@media (max-width: 575.98px) {
  .auth-screen {
    padding: clamp(10px, 2.4vh, 20px) 20px clamp(8px, 1.6vh, 14px);
  }

  .auth-header {
    margin-bottom: clamp(6px, 1.5vh, 14px);
  }

  .auth-copy {
    margin-bottom: clamp(8px, 1.8vh, 16px);
  }

  .auth-logo {
    height: clamp(44px, 7vh, 62px);
    margin-bottom: clamp(6px, 1.4vh, 12px);
    width: clamp(44px, 7vh, 62px);
  }

  .auth-copy h1 {
    font-size: clamp(1.55rem, 4.8vh, 2.15rem);
    margin-bottom: clamp(5px, 1vh, 10px);
  }

  .auth-copy p {
    font-size: clamp(.8rem, 2.1vh, 1rem);
    line-height: 1.28;
  }

  .auth-role-grid {
    gap: 8px;
    margin-bottom: 4px;
  }

  .auth-role-option {
    gap: 7px;
    min-height: clamp(42px, 7vh, 58px);
    padding: 8px;
  }

  .auth-role-option b {
    font-size: clamp(.82rem, 2vh, .98rem);
  }

  .auth-role-option .bi {
    font-size: 1.28rem;
    width: 1.28rem;
  }

  .auth-radio-dot {
    border-width: 2px;
    height: 22px;
    width: 22px;
  }

  .auth-field,
  .auth-primary,
  .auth-secondary {
    min-height: clamp(42px, 6.8vh, 56px);
  }

  .auth-field {
    gap: 14px;
    padding: 0 18px;
  }

  .auth-field input,
  .auth-primary,
  .auth-secondary {
    font-size: clamp(.88rem, 2.2vh, 1.06rem);
  }

  .auth-form {
    gap: clamp(5px, 1vh, 8px);
  }

  .auth-primary {
    margin-top: 2px;
  }

  .auth-divider {
    margin: 2px 28px;
  }

  .auth-safe {
    font-size: clamp(.68rem, 1.7vh, .82rem);
    margin-top: 4px;
  }
}

@media (max-width: 390px) {
  .auth-screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .auth-role-option {
    gap: 6px;
    padding: 12px 8px;
  }

  .auth-role-option .bi,
  .auth-field .bi {
    font-size: 1.25rem;
  }

  .auth-role-option b,
  .auth-field input,
  .auth-primary,
  .auth-secondary {
    font-size: 1rem;
  }
}

@media (max-height: 760px) {
  .auth-screen {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .auth-header {
    margin-bottom: 8px;
  }

  .auth-back .bi {
    font-size: 1.65rem;
  }

  .auth-copy {
    margin-bottom: 8px;
  }

  .auth-logo {
    height: 44px;
    margin-bottom: 7px;
    width: 44px;
  }

  .auth-copy h1 {
    font-size: 1.45rem;
    margin-bottom: 4px;
  }

  .auth-copy p {
    font-size: .76rem;
    line-height: 1.25;
  }

  .auth-form {
    gap: 6px;
  }

  .auth-role-grid {
    margin-bottom: 4px;
  }

  .auth-role-option {
    min-height: 40px;
    padding: 6px;
  }

  .auth-role-option b,
  .auth-field input,
  .auth-primary,
  .auth-secondary {
    font-size: 1rem;
  }

  .auth-field,
  .auth-primary,
  .auth-secondary {
    min-height: 40px;
  }

  .auth-divider {
    font-size: .78rem;
    margin: 0 28px;
  }

  .auth-safe {
    font-size: .68rem;
    margin-top: 2px;
  }
}

@media (max-height: 650px) {
  .auth-header {
    margin-bottom: 4px;
  }

  .auth-logo {
    height: 36px;
    margin-bottom: 5px;
    width: 36px;
  }

  .auth-copy {
    margin-bottom: 5px;
  }

  .auth-copy h1 {
    font-size: 1.22rem;
  }

  .auth-copy p {
    font-size: .68rem;
  }

  .auth-form {
    gap: 4px;
  }

  .auth-role-option,
  .auth-field,
  .auth-primary,
  .auth-secondary {
    min-height: 34px;
  }

  .auth-safe {
    font-size: .62rem;
  }
}

.logo {
  width: clamp(70px, 8vw, 150px);
}

.intro,
.prompt-grid,
.input-bar {
  max-width: 1250px;
  width: 100%;
}

.prompt-grid {
  margin-top: 18px;
  row-gap: .75rem;
  transform: translateY(-35px);
}

.input-wrap {
  bottom: 105px;
  left: 0;
  position: fixed !important;
  right: 0;
  z-index: 70;
}

.chat-main-content {
  min-height: 0;
  padding-bottom: 230px !important;
  padding-top: 12px;
}

.chat-response-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  overflow: visible;
  padding: 4px 4px 10px;
  width: 100%;
}

.chat-has-messages {
  justify-content: flex-start !important;
  padding-top: 0;
}

.chat-has-messages > .text-center {
  margin-bottom: 10px !important;
}

.chat-has-messages h1 {
  font-size: 1.35rem;
  margin-bottom: 10px !important;
}

.chat-has-messages .intro {
  display: none;
}

.ai-message {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  line-height: 1.45;
  max-width: min(720px, 88%);
  padding: 12px 14px;
}

.ai-message.incoming {
  background: rgba(255,255,255,.075);
  justify-self: start;
}

.ai-message.outgoing {
  background: linear-gradient(135deg, #2e70ff, #3158ff);
  justify-self: end;
}

.ai-message-body {
  overflow-wrap: anywhere;
}

.ai-note {
  display: inline-block;
  opacity: .7;
}

.ai-message-image {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: block;
  margin-bottom: 8px;
  max-width: 180px;
  object-fit: cover;
  width: 100%;
}

.ai-website-cards {
  display: grid;
  gap: 8px;
  grid-auto-columns: minmax(118px, 145px);
  grid-auto-flow: column;
  margin-top: 10px;
  max-width: min(520px, 100%);
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.ai-website-cards::-webkit-scrollbar {
  display: none;
}

.ai-website-card {
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--bs-border-radius);
  color: #fff;
  display: grid;
  gap: 3px;
  overflow: hidden;
  padding: 6px;
  text-decoration: none;
}

.ai-website-card img {
  aspect-ratio: 1 / .68;
  background: rgba(255,255,255,.06);
  border-radius: var(--bs-border-radius-sm);
  display: block;
  object-fit: cover;
  width: 100%;
}

.ai-website-card span {
  color: #5b96ff;
  font-size: .6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-website-card b {
  display: -webkit-box;
  font-size: .72rem;
  line-height: 1.12;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ai-website-card small {
  color: rgba(255,255,255,.68);
  font-size: .64rem;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-error-list {
  background: rgba(220, 53, 69, .13);
  border: 1px solid rgba(220, 53, 69, .28);
  border-radius: 16px;
  color: #ffd9de;
  font-size: .88rem;
  margin-bottom: 14px;
  max-width: 760px;
  padding: 10px 14px;
  width: 100%;
}

.chat-search-results {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--bs-border-radius-lg);
  margin-bottom: 12px;
  max-width: 720px;
  padding: 10px;
  width: 100%;
}

.chat-search-results[hidden] {
  display: none;
}

.chat-search-results-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.chat-search-results-head b {
  font-size: .86rem;
}

.chat-search-results-head button {
  align-items: center;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.chat-search-form {
  align-items: center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 8px 8px 14px;
}

.chat-search-form .bi {
  color: rgba(255,255,255,.72);
  flex: 0 0 auto;
  font-size: 1rem;
}

.chat-search-form input {
  background: transparent;
  border: 0;
  color: #fff;
  flex: 1 1 auto;
  font: inherit;
  min-width: 0;
  outline: 0;
}

.chat-search-form input::placeholder {
  color: rgba(255,255,255,.44);
}

.chat-search-form button {
  background: #5b96ff;
  border: 0;
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: .78rem;
  font-weight: 850;
  padding: 8px 13px;
}

.chat-search-results p {
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  margin: 6px 2px 0;
}

.chat-search-focus {
  text-shadow: 0 0 16px rgba(91,150,255,.8);
}

.chat-prompts-compact {
  margin-top: 14px;
  max-width: 780px;
  transform: none;
}

.chat-input-field {
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  min-width: 0;
  outline: 0;
}

.chat-input-field::placeholder {
  color: rgba(255,255,255,.72);
}

.chat-image-btn {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.chat-file-input {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.upload-recommend-size {
  color: rgba(255,255,255,.5);
  display: block;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.25;
  opacity: .5;
}

.upload-box .upload-recommend-size,
.profile-ad-upload .upload-recommend-size {
  margin-top: 4px;
}

.profile-upload-btn .upload-recommend-size {
  flex-basis: 100%;
  font-size: .68rem;
  text-align: center;
}

.chat-upload-recommend {
  margin-bottom: 0;
  margin-top: 8px;
  max-width: 760px;
  text-align: left;
  width: min(100%, 760px);
}

.chat-image-btn.has-image {
  background: linear-gradient(135deg, #4f8cff, #8b5cf6) !important;
  border-color: rgba(255,255,255,.32);
  box-shadow: 0 0 22px rgba(92, 148, 255, .38);
  color: #fff !important;
}

.chat-image-preview {
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  display: flex;
  gap: 10px;
  margin-top: 10px;
  max-width: 760px;
  padding: 7px 8px 7px 7px;
  width: min(100%, 760px);
}

.chat-image-preview[hidden] {
  display: none;
}

.chat-image-preview img {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.chat-image-preview span {
  color: rgba(255,255,255,.82);
  flex: 1;
  font-size: .86rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-image-preview button {
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.chat-image-preview .bi {
  font-size: 20px;
}

.chat-edit-screen {
  min-height: 100vh;
  max-width: 1180px;
  overflow: visible !important;
  padding-bottom: 128px;
}

.chat-edit-hero {
  margin: 0 auto 24px;
  max-width: 720px;
  padding: 6px 24px 0;
}

.chat-edit-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.chat-edit-hero p {
  color: rgba(255,255,255,.62);
  margin: 0;
}

.chat-edit-form {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 920px;
  padding: 0 clamp(16px, 4vw, 42px);
}

.chat-edit-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.chat-edit-card label,
.chat-opacity-row span {
  color: rgba(255,255,255,.76);
  font-size: .88rem;
  font-weight: 800;
}

.chat-edit-card textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  color: #fff;
  font: inherit;
  min-height: 66px;
  outline: 0;
  padding: 14px 16px;
  resize: vertical;
  width: 100%;
}

.chat-opacity-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) 42px;
}

.chat-opacity-row input {
  accent-color: #6b96ff;
}

.chat-opacity-row output {
  color: rgba(255,255,255,.72);
  font-size: .84rem;
  text-align: right;
}

.chat-edit-save {
  justify-self: end;
  min-height: 52px;
  min-width: 180px;
  padding: 0 28px;
}

.messages-screen {
  box-sizing: border-box;
  min-height: 100vh;
  max-width: 1800px;
  overflow: visible;
  padding: 28px clamp(24px, 4vw, 52px) 130px;
}

.messages-header {
  margin-bottom: clamp(36px, 6vh, 58px);
}

.messages-actions {
  flex-wrap: nowrap;
}

.messages-active-action {
  box-shadow:
    0 0 28px rgba(91,150,255,.45),
    0 12px 26px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.messages-content {
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
}

.messages-content h1 {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 20px;
}

.messages-search {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  color: rgba(255,255,255,.6);
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  min-height: 58px;
  padding: 0 20px;
  width: 100%;
}

.messages-search .bi {
  flex: 0 0 auto;
  font-size: 1.8rem;
}

.messages-search input {
  background: transparent;
  border: 0;
  color: #fff;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 650;
  min-width: 0;
  outline: 0;
}

.messages-search input::placeholder {
  color: rgba(255,255,255,.54);
}

.conversation-list {
  display: grid;
  gap: 6px;
}

.conversation-card {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
  display: grid;
  gap: 18px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 132px;
  padding: 18px;
  text-decoration: none;
}

.conversation-avatar {
  align-items: center;
  background: transparent;
  border-radius: 0;
  display: flex;
  height: 64px;
  justify-content: center;
  overflow: visible;
  width: 64px;
}

.conversation-avatar img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.conversation-copy {
  min-width: 0;
}

.conversation-copy h2 {
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  font-weight: 850;
  margin: 0 0 9px;
}

.conversation-copy p {
  color: rgba(255,255,255,.72);
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  font-weight: 520;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-meta {
  align-items: flex-end;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 13px;
  justify-content: center;
}

.conversation-meta time {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  white-space: nowrap;
}

.conversation-meta span {
  align-items: center;
  background: linear-gradient(135deg, #75b8ff, #4f83ff);
  border-radius: 50%;
  color: #071327;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 850;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.thread-screen {
  min-height: 100vh;
  max-width: 1800px;
  overflow: visible;
  padding: 32px clamp(18px, 5vw, 58px) 176px;
  position: relative;
}

.thread-header {
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 58px;
  padding-bottom: 34px;
}

.thread-nav-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.thread-back,
.thread-menu {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.72);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  width: 44px;
}

.thread-back .bi,
.thread-menu .bi {
  font-size: 2rem;
}

.thread-back.back-text-btn {
  justify-content: center;
}

.thread-peer {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  width: 100%;
}

.thread-peer:hover {
  color: inherit;
}

.thread-avatar,
.thread-mini-avatar {
  background: transparent;
  border-radius: 0;
  flex: 0 0 auto;
  overflow: visible;
}

.thread-avatar {
  height: 78px;
  width: 78px;
}

.thread-mini-avatar {
  height: 58px;
  width: 58px;
}

.thread-avatar img,
.thread-mini-avatar img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.thread-peer h1 {
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 850;
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-peer p {
  color: #4fc977;
  font-size: 1.12rem;
  font-weight: 650;
  margin: 0;
}

.thread-body {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 980px;
}

.thread-day {
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
  font-weight: 750;
  justify-self: center;
  margin-bottom: 4px;
}

.thread-row {
  align-items: end;
  display: flex;
  gap: 16px;
}

.thread-row.outgoing {
  justify-content: flex-end;
}

.thread-row.incoming {
  justify-content: flex-start;
}

.thread-bubble {
  background: rgba(255,255,255,.065);
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  max-width: min(68%, 520px);
  padding: 24px 28px 22px;
  position: relative;
}

.thread-row.outgoing .thread-bubble {
  background: linear-gradient(135deg, rgba(73,128,221,.95), rgba(42,82,155,.98));
  border-radius: 28px 28px 4px 28px;
}

.thread-row.incoming .thread-bubble {
  border-radius: 28px 28px 28px 4px;
}

.thread-bubble p {
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  font-weight: 650;
  line-height: 1.58;
  margin: 0 0 10px;
}

.thread-bubble p:last-of-type {
  margin-bottom: 0;
}

.thread-bubble time {
  color: rgba(255,255,255,.58);
  display: block;
  font-size: .92rem;
  font-weight: 650;
  margin-top: 10px;
  text-align: right;
}

.thread-bubble time .bi {
  font-size: 1rem;
  vertical-align: -.15em;
}

.thread-attachment {
  align-items: center;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: inherit;
  display: flex;
  gap: 8px;
  margin-top: 10px;
  max-width: 100%;
  padding: 10px 12px;
  text-decoration: none;
}

.thread-attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-image-attachment {
  display: block;
  padding: 0;
}

.thread-image-attachment img {
  border-radius: 12px;
  display: block;
  max-height: 280px;
  max-width: 100%;
}

.typing-bubble {
  align-items: center;
  background: rgba(255,255,255,.065);
  border-radius: 28px 28px 28px 4px;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
}

.typing-bubble i {
  background: rgba(255,255,255,.7);
  border-radius: 50%;
  display: block;
  height: 13px;
  width: 13px;
}

.thread-compose {
  align-items: center;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  bottom: 104px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.28);
  display: flex;
  gap: 14px;
  left: 50%;
  max-width: 980px;
  padding: 12px 14px;
  position: fixed;
  transform: translateX(-50%);
  width: min(calc(100vw - 64px), 980px);
  z-index: 18;
}

.thread-compose button {
  align-items: center;
  background: rgba(0,0,0,.28);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  padding: 0;
  width: 58px;
}

.thread-attachment-picker {
  align-items: center;
  background: rgba(0,0,0,.28);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 58px;
}

.thread-attachment-picker .bi {
  font-size: 2rem;
}

.thread-attachment-picker input[type="file"] {
  cursor: pointer;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.thread-compose .thread-send {
  background: #5b96ff;
  color: #071327;
}

.thread-compose button .bi {
  font-size: 2rem;
}

.thread-compose input {
  background: transparent;
  border: 0;
  color: #fff;
  flex: 1;
  font-size: 1.15rem;
  font-weight: 650;
  min-width: 0;
  outline: 0;
}

.thread-compose input::placeholder {
  color: rgba(255,255,255,.52);
}

.thread-compose-error {
  bottom: 182px;
  color: #ffb4b4;
  font-size: .9rem;
  font-weight: 650;
  left: 50%;
  margin: 0;
  max-width: 980px;
  position: fixed;
  text-align: center;
  transform: translateX(-50%);
  width: min(calc(100vw - 64px), 980px);
  z-index: 18;
}

@media (max-width: 767.98px) {
  .messages-screen {
    max-width: 560px;
    padding: 32px 24px 126px;
  }

  .messages-header {
    margin-bottom: 48px;
  }

  .messages-actions {
    gap: 12px !important;
  }

  .messages-content h1 {
    margin-bottom: 20px;
  }

  .messages-search {
    min-height: 58px;
  }

  .conversation-list {
    gap: 4px;
  }

  .conversation-card {
    border-radius: 15px;
    gap: 16px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    min-height: 132px;
    padding: 18px;
  }

  .thread-screen {
    max-width: 560px;
    padding: 38px 32px 178px;
  }

  .thread-header {
    gap: 14px;
    margin-bottom: 58px;
    padding-bottom: 34px;
  }

  .thread-avatar {
    height: 68px;
    width: 68px;
  }

  .thread-body {
    gap: 28px;
  }

  .thread-bubble {
    max-width: 78%;
  }

  .thread-compose {
    bottom: 102px;
    width: min(calc(100vw - 64px), 560px);
  }
}

@media (max-width: 420px) {
  .messages-screen {
    padding-left: 20px;
    padding-right: 20px;
  }

  .messages-actions {
    gap: 7px !important;
  }

  .conversation-card {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    min-height: 112px;
    padding: 14px;
  }

  .conversation-avatar {
    height: 54px;
    width: 54px;
  }

  .conversation-meta time {
    font-size: .78rem;
  }

  .thread-screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .thread-peer {
    gap: 10px;
  }

  .thread-avatar {
    height: 52px;
    width: 52px;
  }

  .thread-mini-avatar {
    height: 48px;
    width: 48px;
  }

  .thread-bubble {
    max-width: 80%;
    padding: 18px 20px;
  }

  .thread-compose {
    width: calc(100vw - 36px);
  }

  .thread-compose button {
    height: 48px;
    width: 48px;
  }
}

.input-bar .btn {
  align-items: center;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.bottom-nav {
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.035)),
    rgba(13, 15, 18, .76) !important;
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid rgba(255,255,255,.16) !important;
  border-bottom: 0 !important;
  border-radius: 34px 34px 0 0 !important;
  bottom: 0;
  box-shadow:
    0 -20px 70px rgba(0, 0, 0, .56),
    0 0 46px rgba(91,150,255,.12),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .03);
  left: 50%;
  max-width: 720px;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom)) !important;
  position: fixed;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  z-index: 20;
}

.bottom-nav-inner {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.bottom-nav-link {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 24px;
  color: rgba(255, 255, 255, .68) !important;
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-height: 56px;
  min-width: 0;
  padding: 8px 10px;
  position: relative;
  transition: background .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
}

.nav-notification-dot {
  background: #ff5f7a;
  border: 2px solid #101114;
  border-radius: 999px;
  height: 12px;
  position: absolute;
  right: 10px;
  top: 8px;
  width: 12px;
  z-index: 2;
}

.bottom-nav-link::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.24), transparent 34%),
    radial-gradient(circle, rgba(76, 131, 255, .34), rgba(116, 76, 255, 0) 70%);
  border-radius: inherit;
  content: "";
  inset: 4px;
  opacity: 0;
  position: absolute;
  transition: opacity .22s ease;
}

.bottom-nav-link .nav-icon,
.bottom-nav-link .nav-label {
  position: relative;
  z-index: 1;
}

.bottom-nav-link .nav-icon {
  font-size: 1.45rem;
  margin-bottom: 0;
}

.bottom-nav-link .nav-icon-fill {
  display: none !important;
}

.bottom-nav-link.text-primary .nav-icon-outline {
  display: none !important;
}

.bottom-nav-link.text-primary .nav-icon-fill {
  display: block !important;
}

.bottom-nav-link .nav-label {
  font-size: .66rem;
  font-weight: 700;
  line-height: 1;
  opacity: .82;
}

.bottom-nav-link.text-primary {
  background:
    linear-gradient(145deg, rgba(91,150,255,.28), rgba(255,255,255,.07)),
    rgba(30,36,48,.72);
  border-color: rgba(140,176,255,.32);
  color: #eef5ff !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.32),
    0 0 30px rgba(85, 139, 255, .30),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.bottom-nav-link.text-primary::before {
  opacity: 1;
}

.bottom-nav-link:hover,
.bottom-nav-link:focus-visible {
  color: #fff !important;
  transform: translateY(-1px);
}

.bottom-nav-ai {
  background: transparent;
  color: rgba(255, 255, 255, .68) !important;
  flex-grow: 1;
  min-height: 56px;
  transform: none;
  box-shadow: none;
}

.bottom-nav-ai .nav-icon {
  font-size: 1.55rem;
}

.bottom-nav-ai .nav-label {
  font-size: .68rem;
}

.bottom-nav-ai.text-primary {
  background:
    linear-gradient(145deg, rgba(91,150,255,.28), rgba(255,255,255,.07)),
    rgba(30,36,48,.72);
  border-color: rgba(140,176,255,.32);
  color: #eef5ff !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.32),
    0 0 30px rgba(85, 139, 255, .30),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

@media (max-width: 420px) {
  .bottom-nav {
    border-radius: 30px 30px 0 0 !important;
    padding: 7px 8px !important;
    width: 92vw;
  }

  .bottom-nav-link {
    min-height: 54px;
    padding: 7px 6px;
  }

  .bottom-nav-link .nav-icon {
    font-size: 1.42rem;
  }

  .bottom-nav-ai {
    min-height: 54px;
  }

  .bottom-nav-ai .nav-icon {
    font-size: 1.42rem;
  }

}

@media (min-width: 421px) and (max-width: 767.98px) {
  .bottom-nav {
    width: 92vw;
  }
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  color: #d9d9df;
  margin-top: 32px;
  padding: 24px 0 120px;
}

.profile-footer-order > .site-footer {
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(22, 24, 28, .58);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 20px 58px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.12);
  margin-left: clamp(32px, 5vw, 66px);
  margin-right: clamp(32px, 5vw, 66px);
  overflow: hidden;
  padding-left: 18px;
  padding-right: 18px;
  position: relative;
}

.site-footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.site-footer-text,
.site-footer a,
.footer-line,
.footer-social {
  color: #b8bcc7;
  font-size: .86rem;
}

.site-footer a {
  text-decoration: none;
}

.footer-line {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-line .bi {
  color: #6b73ff;
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social a {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 6px 10px;
}

.icon-plain {
  background: transparent;
  border: 0;
  color: inherit;
  line-height: 1;
  padding: 0;
}

.app-icon-action {
  align-items: center;
  background: rgba(18,18,18,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  width: 44px;
}

.app-icon-action.has-notification,
.company-video-action.has-notification,
.bottom-nav-link.has-notification {
  position: relative;
}

.app-icon-action .bi {
  font-size: 1.32rem;
}

.admin-nav-link {
  background: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0;
}

.admin-nav-avatar {
  display: block;
  border-radius: 0;
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.thread-menu.admin-nav-link {
  border-radius: 14px;
}

.app-icon-action:hover,
.app-icon-action:focus-visible {
  color: #fff;
  box-shadow: 0 0 24px rgba(91,150,255,.28), 0 12px 26px rgba(0,0,0,.34);
}

.back-text-btn {
  border-radius: 999px !important;
  gap: 6px;
  height: 44px;
  padding: 0 14px 0 12px !important;
  width: auto !important;
}

.back-text-btn span:last-child {
  font-size: .9rem;
  font-weight: 800;
}

.back-chevron {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-1px);
}

.app-icon-action.nav-register-btn {
  border-radius: 999px;
  flex: 0 1 auto;
  gap: 6px;
  height: 44px;
  max-width: min(42vw, 132px);
  min-width: 0;
  padding: 0 12px;
  width: auto;
}

.app-icon-action.nav-register-btn .bi {
  flex: 0 0 auto;
  font-size: 1.1rem;
}

.app-icon-action.nav-register-btn span:last-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-add-modal {
  align-items: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  position: fixed;
  z-index: 60;
}

.home-manage-screen {
  min-height: 100vh;
  max-width: 1180px;
  overflow: visible;
  padding: 28px clamp(16px, 4vw, 54px) 128px;
}

.home-manage-nav {
  margin-bottom: 28px;
}

.home-manage-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 36%),
    rgba(18,18,18,.88);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(24px, 4vw, 46px);
}

.home-edit-card {
  padding: clamp(22px, 3.2vw, 38px);
}

.home-add-choice-card,
.home-add-category-card {
  padding: clamp(22px, 3.2vw, 38px);
}

.home-manage-grid,
.home-manage-form-grid,
.home-manage-two-col {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-manage-grid {
  margin-bottom: 22px;
}

.home-manage-form-grid {
  align-items: start;
  margin-top: 8px;
}

.home-manage-save {
  margin-top: 22px;
  min-height: 52px;
  min-width: 160px;
  padding: 0 26px;
}

.home-manage-input {
  font-size: 1rem;
  min-height: 56px;
  padding: 14px 22px;
}

.page-delete-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
}

.delete-card form {
  position: absolute;
  right: 8px;
  top: 8px;
}

@media (max-width: 767.98px) {
  .home-manage-screen {
    max-width: 560px;
    padding: 22px 18px 126px;
  }

  .home-manage-card {
    border-radius: 24px;
    padding: 24px 18px;
  }

  .home-manage-grid,
  .home-manage-form-grid,
  .home-manage-two-col {
    grid-template-columns: 1fr;
  }

  .home-manage-input {
    font-size: 1.05rem;
    min-height: 64px;
    padding: 18px 24px;
  }

  .page-delete-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .edit-category-workspace {
    grid-template-columns: 1fr;
  }

  .edit-category-picker,
  .edit-category-form {
    border-radius: 20px;
    padding: 16px;
  }

  .edit-category-list {
    max-height: 220px;
  }

  .edit-category-media {
    justify-items: start;
  }

  .edit-category-preview,
  .edit-category-upload {
    max-width: 260px;
  }

  .edit-category-upload {
    max-width: none;
  }

  .home-add-choice-card .home-option-card {
    grid-template-columns: 1fr;
    min-height: 150px;
  }

  .home-add-choice-card .home-option-icon {
    height: 58px;
    width: 58px;
  }

  .home-add-category-form {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .home-add-category-photo {
    max-width: 260px;
  }
}

@media (min-width: 768px) {
  .page-delete-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .page-delete-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .page-delete-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.home-add-modal[hidden] {
  display: none;
}

.home-add-dialog {
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(145deg, rgba(28,28,30,.96), rgba(12,12,14,.96)) !important;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px !important;
  box-shadow:
    0 28px 90px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.08);
  max-height: min(86vh, 860px);
  max-width: 920px;
  overflow: hidden;
  padding: clamp(28px, 6vw, 64px);
  position: relative;
  width: 100%;
}

.home-modal-x {
  align-items: center;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  color: rgba(255,255,255,.9);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  position: absolute;
  right: clamp(20px, 5vw, 52px);
  top: clamp(20px, 5vw, 52px);
  width: 64px;
}

.home-modal-x .bi {
  font-size: 2.2rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 40;
}

.home-modal-head {
  margin: 0 88px clamp(28px, 5vw, 48px) 0;
}

.home-modal-head.compact {
  margin-bottom: 24px;
}

.home-modal-head h2 {
  color: #f7f7f7;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 18px;
}

.home-modal-head.compact h2 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
}

.home-modal-head p {
  color: rgba(255,255,255,.62);
  font-size: clamp(1.05rem, 3vw, 1.55rem);
  line-height: 1.4;
  margin: 0;
}

.home-modal-head.compact p {
  font-size: clamp(.95rem, 2.3vw, 1.12rem);
}

.home-edit-card > .home-modal-head {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.home-edit-card > .home-modal-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 12px;
}

.home-edit-card > .home-modal-head p {
  font-size: clamp(.98rem, 2vw, 1.25rem);
}

.home-edit-card .home-modal-head.compact {
  margin-bottom: 18px;
}

.home-edit-card .home-modal-head.compact h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.home-add-choice-card > .home-modal-head,
.home-add-category-card > .home-modal-head {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.home-add-choice-card > .home-modal-head h2,
.home-add-category-card > .home-modal-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 12px;
}

.home-add-choice-card > .home-modal-head p,
.home-add-category-card > .home-modal-head p {
  font-size: clamp(.98rem, 2vw, 1.25rem);
}

.home-add-panel {
  display: none;
}

.home-add-panel.active {
  display: block;
}

.home-option-card {
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  color: #f5f5f5;
  display: grid;
  gap: clamp(16px, 4vw, 34px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: clamp(116px, 18vw, 160px);
  padding: clamp(20px, 4vw, 36px);
  text-align: left;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
  width: 100%;
}

.home-option-card + .home-option-card {
  margin-top: clamp(18px, 3vw, 28px);
}

.home-option-card:hover,
.home-option-card:focus-visible,
.home-option-card.active {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.home-option-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border-radius: 18px;
  color: rgba(255,255,255,.78);
  display: inline-flex;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  height: clamp(72px, 12vw, 104px);
  justify-content: center;
  width: clamp(72px, 12vw, 104px);
}

.home-option-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.home-option-copy b {
  color: #f7f7f7;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 850;
  line-height: 1.1;
}

.home-option-copy small {
  color: rgba(255,255,255,.56);
  font-size: clamp(.95rem, 3vw, 1.35rem);
  font-weight: 650;
  line-height: 1.25;
}

.home-option-radio {
  border: 2px solid rgba(255,255,255,.54);
  border-radius: 50%;
  height: clamp(32px, 5vw, 44px);
  position: relative;
  width: clamp(32px, 5vw, 44px);
}

.home-option-card.active .home-option-radio::after {
  background: #f4f4f4;
  border-radius: 50%;
  content: "";
  inset: 8px;
  position: absolute;
}

.home-add-choice-card .home-manage-grid {
  gap: clamp(16px, 3vw, 24px);
  margin-bottom: 0;
}

.home-add-choice-card .home-option-card {
  align-content: center;
  border-radius: 22px;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: clamp(210px, 25vw, 260px);
  padding: clamp(20px, 3vw, 28px);
}

.home-add-choice-card .home-option-card + .home-option-card {
  margin-top: 0;
}

.home-add-choice-card .home-option-icon {
  border-radius: 20px;
  height: 76px;
  width: 76px;
}

.home-add-choice-card .home-option-radio {
  bottom: 22px;
  position: absolute;
  right: 22px;
}

.home-add-panel .btn {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}

.upload-box {
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 20px !important;
  color: #d9d9df;
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 160px;
  padding: 22px;
  position: relative;
  text-align: center;
}

.upload-box-square {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.upload-box .bi {
  color: rgba(255,255,255,.68);
  font-size: 2.4rem;
}

.home-add-category-form {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.home-add-category-photo {
  min-height: 0;
  width: 100%;
}

.home-add-category-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.home-add-category-fields .home-manage-input,
.home-add-category-fields .home-manage-save {
  margin-bottom: 0 !important;
  width: 100%;
}

.home-add-category-fields .home-manage-save {
  display: block;
  margin-top: 0;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .home-add-choice-card .home-option-card {
    grid-template-columns: 1fr;
    min-height: 150px;
  }

  .home-add-choice-card .home-option-icon {
    height: 58px;
    width: 58px;
  }

  .home-add-category-form {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .home-add-category-photo {
    max-width: 260px;
  }
}

.edit-category-list {
  display: grid;
  gap: 10px;
  max-height: 34vh;
  overflow-y: auto;
}

.edit-category-choice {
  background: rgba(255,255,255,.025) !important;
  border-color: rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  min-height: 54px;
  color: #f3f3f3;
  text-decoration: none;
}

.edit-category-choice.active {
  background: rgba(77, 141, 255, .22) !important;
  border-color: rgba(126, 170, 255, .62) !important;
  box-shadow: 0 0 20px rgba(77, 141, 255, .22);
}

.edit-category-preview {
  aspect-ratio: 1 / 1;
  display: block;
  max-height: 220px;
  object-fit: cover;
  width: min(100%, 220px);
}

.edit-category-layout {
  align-items: start;
  gap: clamp(22px, 4vw, 34px);
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.edit-category-picker,
.edit-category-form {
  min-width: 0;
}

.edit-category-picker,
.edit-category-form {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: clamp(16px, 2.4vw, 22px);
}

.edit-category-workspace {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(180px, 220px) minmax(220px, 1fr);
}

.edit-category-media,
.edit-category-fields {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.edit-category-media {
  display: grid;
  gap: 14px;
}

.edit-category-preview,
.edit-category-upload {
  width: 100%;
}

.edit-category-preview {
  max-height: none;
}

.edit-category-upload {
  aspect-ratio: auto;
  min-height: 0;
  padding: 14px 16px;
}

.edit-category-fields .home-manage-input,
.edit-category-fields .home-manage-save,
.edit-category-fields .edit-category-upload {
  box-sizing: border-box;
  margin-bottom: 0 !important;
  width: 100%;
}

.edit-category-fields .home-manage-save {
  display: block;
  margin-top: 0;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .edit-category-layout,
  .edit-category-workspace {
    grid-template-columns: 1fr;
  }

  .edit-category-picker,
  .edit-category-form {
    border-radius: 20px;
    padding: 16px;
  }

  .edit-category-list {
    max-height: 220px;
  }

  .edit-category-media {
    justify-items: start;
  }

  .edit-category-preview,
  .edit-category-upload {
    max-width: 260px;
  }

  .edit-category-fields .edit-category-upload {
    max-width: none;
  }
}

.edit-empty-state {
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.68);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 240px;
  padding: 24px;
  text-align: center;
}

.edit-empty-state .bi {
  font-size: 2.4rem;
}

.delete-list {
  display: grid;
  gap: 14px;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 2px;
}

.delete-group + .delete-group {
  margin-top: 32px;
}

.delete-group h3 {
  color: rgba(255,255,255,.88);
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.home-delete-modal .home-add-dialog {
  display: flex;
  flex-direction: column;
}

.home-delete-modal .delete-list {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}

.home-delete-modal .home-delete-close.btn {
  flex: 0 0 auto;
}

.delete-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 8px;
}

.delete-card img {
  aspect-ratio: 2.8 / 1;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.delete-remove {
  align-items: center;
  background: rgba(220, 53, 69, .92);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
}

@media (max-width: 575.98px) {
  .home-add-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .home-add-dialog {
    border-radius: 24px !important;
    max-height: 88vh;
    padding: 26px 20px 22px;
  }

  .home-modal-x {
    height: 46px;
    right: 18px;
    top: 18px;
    width: 46px;
  }

  .home-modal-x .bi {
    font-size: 1.75rem;
  }

  .home-modal-head {
    margin-right: 58px;
  }

  .home-option-card {
    border-radius: 18px;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 96px;
    padding: 16px;
  }

  .home-option-icon {
    border-radius: 16px;
    font-size: 2rem;
    height: 58px;
    width: 58px;
  }

  .home-option-copy b {
    font-size: 1.18rem;
  }

  .home-option-copy small {
    font-size: .88rem;
  }

  .home-option-radio {
    height: 30px;
    width: 30px;
  }

  .home-option-card.active .home-option-radio::after {
    inset: 7px;
  }
}

.prompt-grid .btn {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  padding-bottom: .75rem !important;
  padding-top: .75rem !important;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.home-screen,
.company-screen,
.news-screen {
  min-height: 100vh;
  max-width: 1800px;
  overflow: visible !important;
  padding: 24px 16px 105px;
}

.company-screen {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 100vw;
  width: 100%;
}

.company-page,
.company-page .company-screen {
  overflow-x: hidden !important;
}

.home-header,
.company-header,
.news-header {
  margin-bottom: 12px;
}

.home-user,
.home-actions,
.company-user,
.company-actions,
.news-user,
.news-actions {
  font-size: 1.75rem;
}

.home-banner-rail,
.company-logo-rail {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.home-banner-rail {
  border-radius: 12px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  overflow: hidden;
  width: 100%;
}

.home-banner {
  aspect-ratio: 1000 / 361;
  border-radius: inherit;
  display: none;
  object-fit: cover;
  max-width: 1000px;
  transform-origin: center;
  width: 100%;
}

.home-banner.active {
  animation: homeKenBurns 4200ms ease-out both;
  display: block;
}

.home-banner:nth-child(3n + 1) {
  transform-origin: 42% 48%;
}

.home-banner:nth-child(3n + 2) {
  transform-origin: 58% 44%;
}

.home-banner:nth-child(3n) {
  transform-origin: 50% 56%;
}

.home-title,
.company-title,
.company-section-title,
.news-title,
.news-see {
  font-size: clamp(1rem, 1.45vw, 1.45rem);
}

.home-title,
.company-section-title {
  margin-bottom: 14px;
}

.home-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.home-card-frame {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.home-card {
  aspect-ratio: 1 / 1;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.home-card-link {
  background: transparent;
  color: #fff;
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: visible;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-card-name {
  display: block;
  font-size: clamp(.76rem, 2.7vw, .95rem);
  font-weight: 800;
  line-height: 1.15;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.home-card-link:hover,
.home-card-link:focus-visible {
  transform: translateY(-2px);
}

.home-category-screen {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%),
    #050607;
  min-height: 100vh;
  max-width: 1800px;
  padding: 24px clamp(16px, 4vw, 42px) 130px;
}

.home-category-hero {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  display: grid;
  gap: 22px;
  margin-top: 24px;
  padding: clamp(18px, 4vw, 32px);
}

.home-category-hero img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  width: min(100%, 360px);
}

.home-category-hero h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.home-category-hero p {
  color: rgba(255,255,255,.64);
  font-size: 1rem;
  margin: 0 0 20px;
}

.home-category-products {
  margin-top: 24px;
}

.home-category-products h2 {
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.home-category-products h1 {
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.seo-breadcrumbs {
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  margin: 8px 0 18px;
}

.seo-breadcrumbs ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-breadcrumbs li {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.seo-breadcrumbs li + li::before {
  color: rgba(255,255,255,.34);
  content: "/";
}

.seo-breadcrumbs a,
.seo-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.seo-pagination {
  align-items: center;
  color: rgba(255,255,255,.72);
  display: flex;
  font-size: .86rem;
  gap: 12px;
  justify-content: center;
  margin: 22px 0 8px;
}

.seo-pagination a,
.seo-pagination span {
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  text-decoration: none;
}

.seo-pagination a {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}

.category-product-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-level-group {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  scroll-margin-top: 118px;
}

.listing-level-group h2,
.listing-level-group h3 {
  color: rgba(255,255,255,.86);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.level-filter-modal {
  align-items: center;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(18px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 60;
}

.level-filter-modal[hidden] {
  display: none;
}

.level-filter-dialog {
  background: rgba(22,24,27,.9);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px !important;
  box-shadow: 0 22px 62px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
  max-width: 420px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  width: min(100%, 420px);
}

.level-filter-list {
  display: grid;
  gap: 10px;
}

.level-filter-list button {
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px !important;
  color: #fff;
  display: flex;
  font-size: .9rem;
  font-weight: 850;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  text-align: left;
}

.level-filter-list button::after {
  color: rgba(255,255,255,.56);
  content: "\F138";
  font-family: "bootstrap-icons";
  font-size: 1rem;
}

.category-product-card {
  background: transparent;
  border: 0;
  color: #fff;
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: visible;
  position: relative;
}

.category-product-card-link {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 12px;
  display: block;
  overflow: hidden;
  width: 100%;
}

.category-product-card img {
  height: 100%;
  background: #fff;
  object-fit: contain;
  width: 100%;
}

.category-product-card-copy {
  color: #fff;
  display: grid;
  gap: 2px;
  padding: 0 2px;
  position: static;
  text-decoration: none;
}

.category-product-card b,
.category-product-card span {
  display: block;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-product-card b {
  font-size: clamp(.8rem, 3vw, .98rem);
  font-weight: 800;
  white-space: normal;
}

.category-product-card span {
  color: rgba(255,255,255,.68);
  font-size: clamp(.68rem, 2.5vw, .82rem);
  font-weight: 650;
}

.product-heart-form {
  margin: 0;
}

.product-heart-btn {
  align-items: center;
  background: rgba(15,15,15,.52);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  width: 36px;
  z-index: 3;
}

.product-heart-btn .bi {
  font-size: 20px;
}

.product-heart-btn.active,
.product-heart-btn:hover {
  background: rgba(255,255,255,.92);
  color: #ff3b6b;
  transform: translateY(-1px);
}

.category-empty-state {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  color: rgba(255,255,255,.68);
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 16px;
  text-align: center;
}

.category-empty-state .bi {
  font-size: 2rem;
}

.messages-empty-state {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  color: rgba(255,255,255,.72);
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 160px;
  padding: 24px;
  text-align: center;
}

.messages-empty-state .bi {
  font-size: 2.4rem;
}

.heart-empty-state .bi {
  color: #ff6aa2;
}

.thread-empty-state {
  color: rgba(255,255,255,.56);
  font-weight: 700;
  padding: 42px 0;
  text-align: center;
}

.home-product-detail-input {
  border-radius: 18px !important;
  display: block;
  min-height: 132px;
  resize: vertical;
  width: 100%;
}

.home-product-manage-screen {
  padding-bottom: 112px;
}

.home-product-add-card {
  max-width: 980px;
}

.home-product-add-card .home-modal-head {
  margin-bottom: clamp(16px, 3vw, 26px);
}

.home-product-add-form {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.home-product-photo-box {
  min-height: 0;
  width: 100%;
}

.edit-product-preview {
  border-radius: 14px;
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  padding: 12px;
  position: absolute;
  width: 100%;
}

.edit-product-preview + .bi,
.edit-product-preview ~ b,
.edit-product-preview ~ small {
  position: relative;
  z-index: 1;
}

.delete-card-title {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  bottom: 0;
  color: #fff;
  font-size: .8rem;
  inset-inline: 0;
  line-height: 1.2;
  overflow: hidden;
  padding: 22px 10px 8px;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-fields {
  min-width: 0;
}

.home-product-name-price-row {
  display: grid;
  grid-template-columns: 1fr;
}

.home-product-add-form .home-manage-save {
  margin-top: 6px;
  width: 100%;
}

@media (max-width: 767.98px) {
  .home-product-manage-screen {
    padding-bottom: 128px;
  }

  .home-product-add-form {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .home-product-photo-box {
    max-width: 260px;
  }

  .home-product-detail-input {
    min-height: 110px;
  }

  .home-product-name-price-row {
    grid-template-columns: 1fr;
  }
}

.company-logo-card {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  flex: 0 0 108px;
  height: var(--company-logo-size, 108px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  width: var(--company-logo-size, 108px);
}

.company-logo-rail {
  --company-logo-gap: 12px;
  --company-logo-size: 108px;
  margin-left: 0;
  max-width: 100%;
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  width: 100%;
}

.company-logo-track {
  display: flex;
  gap: var(--company-logo-gap);
  transform: translate3d(0, 0, 0);
  width: max-content;
}

.company-logo-track.is-animated {
  animation: companyLogoSlide var(--logo-slide-duration, 42s) linear infinite;
  will-change: transform;
}

.company-logo-track.is-static {
  animation: none;
  width: 100%;
}

.company-logo-set {
  display: grid;
  gap: var(--company-logo-gap);
  grid-auto-columns: var(--company-logo-size);
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--logo-rows, 1), var(--company-logo-size));
  width: max-content;
}

.company-logo-link,
.company-banner-link {
  border-radius: var(--bs-border-radius-lg);
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.not-found-screen {
  align-items: center;
  display: flex;
  min-height: 100dvh;
  max-width: 520px;
  padding: 18px;
}

.not-found-card {
  background: rgba(18,18,18,.92);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 28px 22px;
  width: 100%;
}

@keyframes companyLogoSlide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - (var(--company-logo-gap) / 2)), 0, 0);
  }
}

.company-top-row,
.company-video-section {
  margin-bottom: 24px;
}

.company-top-row {
  display: flex;
  flex-direction: column;
}

.company-video-section {
  order: 1;
}

.company-logo-rail {
  order: 2;
}

.company-top-row-no-logos {
  display: block;
}

.company-video-rail {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.company-video-card {
  aspect-ratio: 1 / 1.3;
  background: #212529;
  border-radius: 32px !important;
  display: none;
  margin: 0 auto;
  max-width: 360px;
  overflow: hidden;
  width: 72%;
}

.company-video-card.active {
  animation: companyVideoReveal 820ms ease-out both;
  display: block;
}

.company-video {
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  width: 100%;
}

.company-video-card.active .company-video {
  animation: companyVideoKenBurns 8500ms ease-in-out both;
}

@keyframes homeKenBurns {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes companyVideoReveal {
  0% {
    opacity: 0;
    transform: scale(.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes companyVideoKenBurns {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner.active,
  .company-video-card.active,
  .company-video-card.active .company-video {
    animation: none;
  }
}

.company-video-controls {
  display: grid;
  gap: 10px;
  position: absolute;
  right: max(12px, calc(50% - 168px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.company-video-action {
  align-items: center;
  background: rgba(18,18,18,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  width: 44px;
}

.company-video-action .bi {
  font-size: 1.32rem;
}

.company-video-modal {
  align-items: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  position: fixed;
  z-index: 70;
}

.news-add-modal {
  align-items: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  position: fixed;
  z-index: 70;
}

.news-add-modal[hidden] {
  display: none;
}

.company-video-modal[hidden] {
  display: none;
}

.company-video-dialog {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 36%),
    rgba(18,18,18,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08);
  max-height: min(88vh, 820px);
  max-width: 720px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
  width: min(100%, 720px);
}

.company-video-delete-dialog {
  max-width: 980px;
}

.company-video-dialog .home-modal-head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.company-video-upload-form {
  display: grid;
  gap: 16px;
}

.company-video-upload-box {
  min-height: 220px;
}

.company-video-upload-form .home-manage-save {
  margin-top: 0;
  width: 100%;
}

.company-delete-video-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 2px;
}

.company-delete-video-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
  padding: 7px;
  position: relative;
}

.company-delete-video-card video {
  aspect-ratio: 1 / 1.3;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.company-sound-btn[aria-pressed="true"] {
  background: rgba(91,150,255,.34);
  border-color: rgba(164,190,255,.38);
  box-shadow: 0 0 24px rgba(91,150,255,.34), 0 12px 26px rgba(0,0,0,.34);
}

.company-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.company-banner {
  aspect-ratio: 1000 / 361;
  background: #000;
  border-radius: var(--bs-border-radius-lg);
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  object-fit: contain;
  width: 100%;
}

.news-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 26px;
}

.news-banner {
  aspect-ratio: 1000 / 361;
  background: #000;
  border-radius: var(--bs-border-radius-lg);
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  object-fit: contain;
  width: 100%;
}

.news-banner-link {
  border-radius: var(--bs-border-radius-lg);
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  overflow: hidden;
  text-decoration: none;
  width: 100%;
}

@media (max-width: 767.98px) {
  .chat-screen,
  .home-screen,
  .company-screen,
  .news-screen {
    max-width: 430px;
  }

  .lead {
    font-size: .9rem;
  }

  .prompt-grid .btn {
    font-size: .84rem;
    min-height: 52px;
  }

  .prompt-grid {
    margin-top: 14px;
    max-width: 100%;
    row-gap: .65rem;
    transform: none;
  }

  .chat-edit-form {
    padding: 0 18px;
  }

  .chat-edit-card {
    border-radius: 18px;
    padding: 14px;
  }

  .chat-opacity-row {
    grid-template-columns: 1fr 42px;
  }

  .chat-opacity-row span {
    grid-column: 1 / -1;
  }

  .chat-edit-save {
    justify-self: stretch;
    width: 100%;
  }

  .chat-screen {
    min-height: 100dvh;
    overflow: visible !important;
    padding-bottom: 246px;
  }

  .input-wrap {
    bottom: calc(96px + env(safe-area-inset-bottom));
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .chat-main-content {
    justify-content: flex-start !important;
    padding-bottom: 224px !important;
    padding-top: 4px;
  }

  .chat-response-list {
    max-height: none;
    overflow: visible;
  }

  .ai-message {
    font-size: .86rem;
    max-width: 92%;
  }

  .chat-prompts-compact {
    display: none;
  }

  .input-bar {
    gap: 10px !important;
  }

  .input-bar .btn {
    height: 50px;
    width: 50px;
  }

  .chat-input-field {
    font-size: 16px;
  }

  .company-logo-card {
    height: var(--company-logo-size);
    width: var(--company-logo-size);
  }

  .company-logo-rail {
    --company-logo-gap: 8px;
    --company-logo-size: 52px;
  }

  .company-title {
    display: none;
  }

  .company-grid {
    gap: 12px;
  }

  .company-video-modal {
    align-items: center;
    padding: 12px;
  }

  .company-video-dialog {
    border-radius: 24px;
    max-height: 88vh;
    padding: 26px 18px 22px;
  }

  .company-video-upload-box {
    min-height: 180px;
  }

  .company-delete-video-grid {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-delete-video-card {
    border-radius: 10px;
    padding: 5px;
  }

  .company-delete-video-card video {
    border-radius: 7px;
  }
}

@media (min-width: 768px) {
  .chat-screen {
    min-height: 900px;
  }

  .company-screen {
    box-sizing: border-box;
    max-width: 100vw;
    width: 100%;
  }

  .prompt-grid {
    transform: translateY(0);
  }

  .chat-main-content {
    justify-content: center !important;
  }

  .home-screen,
  .company-screen,
  .news-screen {
    padding: 28px 52px 120px;
  }

  .home-banner-rail,
  .company-logo-rail,
  .company-video-rail {
    gap: 16px;
  }

  .home-banner-rail {
    margin-left: auto;
    margin-right: auto;
    max-width: clamp(520px, 48vw, 760px);
  }

  .company-logo-track {
    gap: var(--company-logo-gap);
  }

  .company-top-row {
    align-items: flex-start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 19vw, 310px);
    margin-bottom: 30px;
  }

  .company-logo-rail {
    order: 1;
  }

  .company-video-section {
    order: 2;
  }

  .company-top-row-no-logos {
    display: flex;
    justify-content: flex-end;
  }

  .company-top-row-no-logos .company-video-section {
    width: clamp(220px, 19vw, 310px);
  }

  .company-logo-rail,
  .company-video-section,
  .company-video-rail {
    margin-bottom: 0;
  }

  .home-grid {
    gap: 16px 26px;
    grid-template-columns: repeat(10, 1fr);
  }

  .category-product-grid {
    gap: 16px 26px;
    grid-template-columns: repeat(10, 1fr);
  }

  .company-logo-card {
    flex-basis: auto;
    height: var(--company-logo-size);
    width: var(--company-logo-size);
  }

  .company-logo-rail {
    --company-logo-gap: 16px;
    --company-logo-size: clamp(112px, 8vw, 145px);
  }

  .company-video-card {
    max-width: none;
    width: 100%;
  }

  .company-video-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
    position: static;
    transform: none;
  }

  .company-video-action {
    background: rgba(18,18,18,.66);
    height: 42px;
    width: 42px;
  }

  .company-grid {
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    gap: 28px 24px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-screen .home-grid {
    gap: clamp(14px, 2vw, 20px);
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .home-screen .home-card-link {
    min-height: 0;
  }

  .home-screen .home-card-frame {
    min-height: 150px;
  }

  .home-category-screen .category-product-grid {
    gap: clamp(14px, 2vw, 20px);
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .home-category-screen .category-product-card {
    min-height: 0;
  }

  .home-category-screen .category-product-card-link {
    min-height: 150px;
  }

  .home-category-screen .category-product-card b {
    font-size: clamp(.82rem, 1.7vw, .96rem);
  }

  .home-category-screen .category-product-card span {
    font-size: clamp(.7rem, 1.35vw, .82rem);
  }
}

@media (max-width: 767.98px) {
  .home-banner:nth-child(1) {
    order: 2;
  }

  .home-banner:nth-child(2) {
    order: 1;
  }

  .home-banner:nth-child(3) {
    order: 3;
  }
}

.profile-screen {
  background: #050607;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #f8f9fa;
  max-width: none;
  min-height: 100vh;
  overflow: visible;
  padding-bottom: 0;
  position: relative;
  width: 100%;
}

.profile-screen-contact {
  padding-bottom: 118px;
}

.profile-top-nav {
  padding: 24px 52px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}

.profile-hero {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.profile-hero-img,
.profile-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.profile-hero-img {
  object-fit: cover;
}

.profile-shade {
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.45)), linear-gradient(180deg, rgba(0,0,0,.12), #050607);
}

.profile-head {
  align-items: center;
  display: flex;
  gap: 28px;
  inset: 0;
  padding: 95px 66px 38px;
  position: relative;
  z-index: 1;
}

.profile-logo {
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  width: 160px;
}

.profile-logo-empty {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  justify-content: center;
}

.profile-logo-empty .bi {
  font-size: 4rem;
}

.profile-copy h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  margin: 0 0 14px;
}

.profile-check,
.profile-meta,
.profile-tabs .active,
.profile-info a,
.profile-card-head a {
  color: #6b73ff;
}

.profile-check {
  font-size: .85em;
}

.profile-tag {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.profile-desc {
  font-size: .92rem;
  line-height: 1.6;
  max-width: 520px;
}

.profile-meta,
.profile-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-meta span,
.profile-buttons a,
.profile-info dt {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.profile-meta .bi,
.profile-buttons .bi,
.profile-info .bi {
  font-size: 1rem;
}

.profile-meta {
  font-size: .86rem;
  margin: 18px 0 24px;
}

.profile-buttons a {
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  text-decoration: none;
}

.profile-message {
  background: linear-gradient(135deg, #4c47ff, #674dff);
}

.profile-phone,
.profile-email,
.profile-card,
.profile-stats,
.profile-benefits {
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.032) 48%, rgba(91,150,255,.055)),
    rgba(22, 24, 28, .68);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow:
    0 24px 70px rgba(0,0,0,.40),
    0 8px 26px rgba(91,150,255,.08),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,255,255,.04);
}

.profile-stats {
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 18px 60px 28px;
  overflow: hidden;
  position: relative;
}

.profile-card-stack {
  display: flex;
  flex-direction: column;
}

.profile-card::before,
.profile-stats::before,
.profile-benefits::before,
.profile-footer-order > .site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  content: "";
  height: 1px;
  left: 12px;
  opacity: .9;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 0;
}

.profile-stats div {
  border-right: 1px solid rgba(255,255,255,.06);
  display: grid;
  gap: 2px;
  padding: 20px 12px;
  text-align: center;
}

.profile-stats div:last-child {
  border-right: 0;
}

.profile-stat-icon,
.profile-stats em {
  color: #5b96ff;
  font-style: normal;
}

.profile-stat-icon {
  font-size: 1.35rem;
}

.profile-stats b,
.profile-stats strong {
  display: block;
}

.profile-tabs {
  display: flex;
  gap: 44px;
  margin: 0 60px 8px;
  overflow-x: auto;
}

.profile-tabs a {
  color: #f8f9fa;
  flex: 0 0 auto;
  padding: 12px 0 14px;
  text-decoration: none;
}

.profile-tabs .active {
  border-bottom: 2px solid #6b73ff;
}

.profile-card {
  border-radius: 10px;
  margin: 0 60px 28px;
  padding: 22px;
  position: relative;
  scroll-margin-top: 110px;
}

.about-card {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.profile-card h2 {
  font-size: 1.2rem;
  margin: 0 0 14px;
}

.profile-card p,
.profile-info,
.profile-video-wrap p,
.profile-benefits span {
  color: #d9d9df;
  font-size: .86rem;
  line-height: 1.55;
}

.profile-info {
  display: grid;
  gap: 12px 24px;
  grid-template-columns: 140px 1fr;
  margin: 18px 0 0;
}

.profile-info dt {
  font-weight: 700;
}

.profile-info dd {
  margin: 0;
}

.profile-video {
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  max-width: 360px;
  overflow: hidden;
  position: relative;
}

.profile-video img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.profile-video video {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.profile-video-empty,
.product-image-empty {
  align-items: center;
  aspect-ratio: 1.25 / 1;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.45);
  display: flex;
  justify-content: center;
  width: 100%;
}

.profile-video-empty {
  aspect-ratio: 16 / 9;
}

.profile-video-empty .bi,
.product-image-empty .bi {
  font-size: 2.4rem;
}

.profile-video .play {
  background: rgba(0,0,0,.62);
  border-radius: 50%;
  font-size: 3rem;
  left: 50%;
  padding: 12px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.profile-video small {
  background: rgba(0,0,0,.8);
  bottom: 8px;
  font-size: .7rem;
  padding: 2px 4px;
  position: absolute;
  right: 8px;
}

.profile-video-wrap h3,
.product-card h3 {
  font-size: .92rem;
  margin: 10px 0 2px;
}

.profile-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.profile-news-grid {
  margin-top: 0;
}

.profile-limited-grid:not(.is-expanded) > *:nth-child(n + 5) {
  display: none;
}

.profile-view-all-btn {
  white-space: nowrap;
}

.profile-pricing-list {
  display: grid;
  gap: 12px 24px;
  grid-template-columns: 180px 1fr;
  margin: 18px 0 0;
}

.profile-pricing-list dt {
  color: #f8f9fa;
  font-weight: 700;
}

.profile-pricing-list dd {
  color: #d9d9df;
  margin: 0;
}

.product-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
    rgba(24,25,28,.62);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  box-shadow: 0 18px 44px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10);
  min-width: 0;
  padding: 14px;
  position: relative;
}

.product-card-link {
  color: inherit;
  text-decoration: none;
}

.product-card img {
  aspect-ratio: 1.25 / 1;
  object-fit: contain;
  width: 100%;
}

.product-card b,
.product-card p {
  font-size: .8rem;
  margin: 0;
}

.product-card p {
  color: #ffc832;
}

.product-card p span {
  float: right;
}

.product-card .rating-icon {
  float: none;
  font-size: .95rem;
}

.product-card .cart-icon,
.benefit-icon {
  color: #6b73ff;
}

.profile-product-heart-form .product-heart-btn {
  right: 18px;
  top: 18px;
}

.product-badge {
  background: #4d66ff;
  border-radius: 7px;
  font-size: .7rem;
  font-weight: 700;
  left: 10px;
  padding: 4px 8px;
  position: absolute;
  top: 10px;
}

.profile-benefits {
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 60px 30px;
  padding: 16px 22px;
  position: relative;
}

.profile-benefits div {
  display: grid;
  gap: 2px;
}

.benefit-icon {
  font-size: 1.35rem;
}

.profile-benefits b {
  font-size: .86rem;
}

.heart-grid {
  display: grid;
  gap: 14px;
}

.heart-card {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: 92px minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  text-decoration: none;
}

.heart-card img {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.heart-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.heart-card b,
.heart-card span,
.heart-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heart-card span {
  color: #dfe5ff;
  font-weight: 700;
}

.heart-card small {
  color: rgba(255,255,255,.58);
}

.home-product-detail-screen {
  padding-bottom: 140px;
}

.home-product-detail-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  margin: 20px auto 0;
  max-width: 980px;
  overflow: hidden;
  padding: 16px;
}

.home-product-detail-image {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 0;
  max-width: 420px;
  object-fit: contain;
  width: 100%;
}

.home-product-detail-copy {
  display: grid;
  gap: 10px;
}

.home-product-detail-copy h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0;
}

.home-product-detail-copy b {
  color: #dfe5ff;
  font-size: 1.05rem;
}

.home-product-detail-copy p {
  color: rgba(255,255,255,.76);
  line-height: 1.6;
  margin: 0;
}

.home-product-detail-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-product-detail-meta span {
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .92rem;
  gap: 6px;
  height: 42px;
  line-height: 1;
  max-height: 42px;
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}

.home-product-detail-meta .bi {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.product-detail-heart-form {
  margin: 0;
}

.product-detail-heart-btn.active {
  background: rgba(255,255,255,.92);
  color: #ff3b6b;
}

.profile-contact-bar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.035)),
    rgba(13, 15, 18, .76);
  backdrop-filter: blur(30px) saturate(170%);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  bottom: 0;
  box-shadow:
    0 -20px 70px rgba(0, 0, 0, .56),
    0 0 46px rgba(91,150,255,.12),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255,255,255,.03);
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 50%;
  max-width: min(92vw, 560px);
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  position: fixed;
  transform: translateX(-50%);
  width: min(92vw, 560px);
  z-index: 70;
}

.profile-contact-btn {
  border-radius: 24px !important;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0 !important;
  text-decoration: none;
}

.profile-contact-btn span,
.account-message-btn span,
.account-profile-btn span,
.account-delete-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-call-btn {
  background: rgba(255, 255, 255, .08);
}

.profile-settings-modal {
  align-items: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  position: fixed;
  z-index: 70;
}

.profile-settings-modal[hidden] {
  display: none;
}

.profile-settings-dialog {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 36%),
    rgba(18,18,18,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  max-height: min(88vh, 820px);
  max-width: 760px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
  width: min(100%, 760px);
}

.profile-settings-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%),
    #050607;
  min-height: 100vh;
  max-width: 980px;
  padding: 24px clamp(16px, 4vw, 48px) 190px;
}

.profile-settings-page .profile-top-nav {
  margin-bottom: 24px;
  padding-left: 0;
  padding-right: 0;
}

.profile-settings-page-card {
  margin: 0 auto;
  max-height: none;
  overflow: visible;
  width: min(100%, 820px);
}

.profile-accounts-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 34%),
    #050607;
  min-height: 100vh;
  max-width: 980px;
  padding: 24px clamp(16px, 4vw, 48px) 150px;
}

.profile-accounts-page .profile-top-nav {
  margin-bottom: 24px;
  padding-left: 0;
  padding-right: 0;
}

.profile-accounts-head {
  margin: 0 0 22px;
}

.profile-accounts-head h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.profile-accounts-head p {
  color: rgba(255,255,255,.62);
  font-size: 1rem;
  margin: 0;
}

.account-list {
  display: grid;
  gap: 14px;
}

.account-group-list {
  display: grid;
  gap: 16px;
}

.account-role-group {
  margin: 0;
}

.account-group-head span {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.account-group-head small {
  align-items: center;
  background: rgba(91,150,255,.18);
  border: 1px solid rgba(91,150,255,.28);
  border-radius: 999px;
  color: rgba(225,233,255,.95);
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  justify-content: center;
  min-width: 30px;
  padding: 3px 9px;
}

.account-group-subtitle {
  color: rgba(255,255,255,.58);
  font-size: .86rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.account-card {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding: 14px;
}

.account-avatar {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.account-copy {
  min-width: 0;
}

.account-copy h2 {
  font-size: 1rem;
  font-weight: 850;
  margin: 0 0 4px;
}

.account-copy p {
  color: rgba(255,255,255,.58);
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy span {
  background: rgba(91,150,255,.16);
  border: 1px solid rgba(91,150,255,.28);
  border-radius: 999px;
  color: rgba(214,226,255,.95);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  padding: 4px 10px;
}

.account-ai-count {
  color: rgba(255,255,255,.58);
  display: block;
  font-size: .76rem;
  font-weight: 850;
  margin-top: 8px;
}

.account-ai-count.is-limit-reached {
  color: #ffd64d;
}

.account-actions {
  display: flex;
  gap: 8px;
}

.account-actions form {
  margin: 0;
}

.account-message-btn,
.account-profile-btn,
.account-delete-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .8rem;
  font-weight: 850;
  gap: 6px;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  text-decoration: none;
}

.account-message-btn {
  background: rgba(91,150,255,.20);
  border: 1px solid rgba(91,150,255,.32);
  color: #fff;
}

.account-profile-btn {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  color: #f4f4f4;
}

.account-delete-btn {
  background: rgba(255, 93, 93, .18);
  border: 1px solid rgba(255, 93, 93, .36);
  color: #ffdfdf;
}

.account-delete-btn:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.feature-control-page {
  max-width: 1280px;
}

.feature-plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
}

.feature-plan-card,
.feature-user-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px;
}

.feature-plan-card.profile-setting-section,
.feature-user-form.profile-setting-section {
  margin-bottom: 0;
  padding: 0;
}

.feature-section-head {
  min-height: 58px;
}

.feature-section-body {
  background: rgba(0,0,0,.06);
}

.feature-card-head,
.feature-user-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.feature-card-head span,
.feature-user-toolbar label {
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  font-weight: 800;
}

.feature-card-head h2 {
  font-size: 1.18rem;
  font-weight: 900;
  margin: 2px 0 0;
}

.feature-save-btn {
  min-height: 46px;
  min-width: 96px;
  padding: 0 18px;
}

.feature-table {
  display: grid;
  gap: 8px;
}

.feature-row {
  align-items: center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(170px, 1fr) auto 112px auto;
  min-height: 54px;
  padding: 9px 10px;
}

.feature-row-toggle-only {
  grid-template-columns: minmax(190px, 1fr) auto auto;
}

.feature-name {
  color: rgba(255,255,255,.9);
  font-size: .86rem;
  font-weight: 850;
  min-width: 0;
}

.feature-switch {
  align-items: center;
  color: rgba(255,255,255,.66);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
}

.feature-switch input {
  accent-color: #5b96ff;
}

.feature-limit {
  align-items: center;
  color: rgba(255,255,255,.58);
  display: grid;
  font-size: .72rem;
  font-weight: 800;
  gap: 3px;
  margin: 0;
}

.feature-limit input,
.feature-user-toolbar select,
.account-level-select select {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  outline: 0;
}

.feature-limit input {
  height: 34px;
  padding: 0 10px;
  width: 100%;
}

.account-control-head {
  margin-top: 32px;
}

.feature-account-list {
  gap: 16px;
}

.feature-account-card {
  align-items: start;
}

.feature-account-card .feature-user-form {
  grid-column: 1 / -1;
  width: 100%;
}

.account-role-switch {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0;
  width: 100%;
}

.account-role-switch label {
  color: rgba(255,255,255,.58);
  display: grid;
  font-size: .78rem;
  font-weight: 850;
  gap: 6px;
  margin: 0;
}

.account-role-switch select {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  font: inherit;
  min-height: 44px;
  outline: 0;
  padding: 0 12px;
}

.feature-user-toolbar {
  margin-bottom: 12px;
}

.account-level-select {
  color: rgba(255,255,255,.58);
  display: grid;
  font-size: .78rem;
  font-weight: 850;
  gap: 7px;
  margin: 0 0 14px;
}

.account-level-select select {
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}

.feature-user-toolbar label {
  display: grid;
  gap: 5px;
}

.feature-user-toolbar select {
  height: 42px;
  min-width: 168px;
  padding: 0 12px;
}

.feature-table.compact .feature-row {
  grid-template-columns: minmax(190px, 1fr) auto 120px auto;
}

.data-analyst-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-analyst-table {
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 920px;
  width: 100%;
}

.data-analyst-table th,
.data-analyst-table td {
  background: rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 800;
  padding: 12px;
  vertical-align: top;
}

.data-analyst-table th {
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
}

.data-analyst-table th:first-child,
.data-analyst-table td:first-child {
  border-left: 1px solid rgba(255,255,255,.08);
  border-radius: 14px 0 0 14px;
}

.data-analyst-table th:last-child,
.data-analyst-table td:last-child {
  border-radius: 0 14px 14px 0;
  border-right: 1px solid rgba(255,255,255,.08);
  min-width: 260px;
}

.profile-logo-picker {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 18px;
}

.profile-image-settings {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  margin-bottom: 18px;
  padding: 16px;
}

.profile-image-settings h3 {
  font-size: 1rem;
  margin: 0 0 14px;
}

.profile-setting-section {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.profile-section-head {
  align-items: center;
  background: rgba(255,255,255,.045);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 850;
  justify-content: space-between;
  padding: 14px 16px 14px 50px;
  text-align: left;
  width: 100%;
}

.profile-minimize-btn {
  align-items: center;
  background: #ffd23f;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255,210,63,.32);
  color: #101010;
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.profile-section-head[aria-expanded="false"] .profile-minimize-btn {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.profile-section-body {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px;
}

.profile-section-body[hidden] {
  display: none;
}

.profile-image-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-image-control {
  align-items: stretch;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 34px 12px 12px;
  position: relative;
}

.profile-image-preview {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  color: rgba(255,255,255,.48);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.profile-image-preview img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.profile-image-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-image-copy b {
  color: #fff;
  font-size: .9rem;
  line-height: 1.2;
}

.profile-image-copy small {
  color: rgba(255,255,255,.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-upload-btn,
.profile-delete-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
}

.profile-upload-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: #fff;
  cursor: pointer;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.profile-upload-btn .bi {
  font-size: 1rem;
}

.profile-delete-btn {
  aspect-ratio: 1 / 1;
  background: rgba(255, 93, 93, .16);
  border: 1px solid rgba(255, 93, 93, .34);
  color: #ffdede;
  cursor: pointer;
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 42px;
  padding: 0;
  width: 42px;
}

.profile-delete-btn .bi {
  font-size: 1.08rem;
}

.profile-ads-tools {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.profile-ad-upload {
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 76px;
  padding: 12px 14px;
}

.profile-ad-upload .bi {
  align-items: center;
  background: rgba(91,150,255,.18);
  border-radius: 14px;
  color: rgba(255,255,255,.9);
  display: inline-flex;
  grid-row: span 2;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.profile-ad-upload b {
  font-size: .92rem;
}

.profile-ad-upload small {
  color: rgba(255,255,255,.54);
  font-size: .76rem;
}

.profile-ads-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-ad-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
  padding: 6px;
  position: relative;
}

.profile-ad-card img {
  aspect-ratio: 2.78 / 1;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.profile-logo-picker label {
  cursor: pointer;
  min-width: 0;
}

.profile-logo-picker input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.profile-logo-picker img {
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: 0;
  object-fit: contain;
  padding: 4px;
  width: 100%;
}

.profile-logo-picker input:checked + img {
  border-color: rgba(91,150,255,.9);
  box-shadow: 0 0 22px rgba(91,150,255,.34);
}

.profile-edit-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-edit-groups {
  display: grid;
  gap: 18px;
}

.profile-edit-group {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 16px 16px;
  position: relative;
}

.profile-help-btn {
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  left: 14px;
  line-height: 1;
  opacity: .5;
  padding: 0;
  position: absolute;
  top: 13px;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
  width: 24px;
  z-index: 4;
}

.profile-help-btn:hover,
.profile-help-btn:focus-visible,
.profile-help-btn.is-open {
  background: rgba(91,150,255,.22);
  border-color: rgba(91,150,255,.42);
  color: #fff;
  opacity: 1;
  transform: scale(1.04);
}

.profile-help-btn-card {
  height: 22px;
  left: 10px;
  top: 10px;
  width: 22px;
}

.profile-help-btn-public {
  left: 9px;
  top: 8px;
}

.form-help-btn {
  left: 0;
  top: 0;
}

.form-help-pop {
  margin-bottom: 16px;
}

.profile-help-pop {
  background: rgba(13,18,25,.92);
  border: 1px solid rgba(91,150,255,.28);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 14px 12px 50px;
  padding: 12px 14px;
}

.profile-help-pop-card {
  margin: 24px 0 12px;
}

.profile-edit-group-grid {
  margin-bottom: 0;
}

.profile-edit-grid label {
  color: rgba(255,255,255,.72);
  display: grid;
  font-size: .86rem;
  font-weight: 700;
  gap: 7px;
}

.profile-edit-subtitle {
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  font-weight: 900;
  grid-column: 1 / -1;
  margin-bottom: 12px;
  margin-top: 0;
  padding-left: 28px;
}

.profile-edit-help {
  color: rgba(255,255,255,.54);
  font-size: .82rem;
  line-height: 1.45;
  margin: -4px 0 14px;
}

.profile-public-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-public-grid.is-sortable {
  align-items: stretch;
}

.profile-public-card {
  align-items: center;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 12px 14px 12px 48px;
  position: relative;
}

.profile-public-card label {
  cursor: pointer;
  display: grid;
  gap: 4px;
  margin: 0;
}

.profile-public-card input {
  height: 20px;
  left: 12px;
  margin: 0;
  position: absolute;
  top: 42px;
  width: 20px;
}

.profile-public-card .profile-card-drag {
  align-items: center;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: rgba(255,255,255,.7);
  cursor: grab;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 10px;
  touch-action: none;
  top: 10px;
  width: 32px;
}

.profile-public-card .profile-card-drag:active {
  cursor: grabbing;
}

.profile-public-grid.is-sortable .profile-public-card {
  padding-right: 52px;
}

.profile-public-card.is-dragging {
  opacity: .55;
  transform: scale(.98);
}

.profile-public-card span {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 850;
}

.profile-public-card small {
  color: rgba(255,255,255,.46);
  font-size: .76rem;
  font-weight: 700;
}

.profile-public-card.is-public {
  background: rgba(82,136,255,.13);
  border-color: rgba(91,150,255,.45);
}

.profile-public-card.is-public small {
  color: rgba(135,177,255,.88);
}

.profile-edit-grid input,
.profile-edit-grid textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #fff;
  font: inherit;
  outline: 0;
  padding: 13px 15px;
  resize: vertical;
  width: 100%;
}

.profile-edit-wide {
  grid-column: 1 / -1;
}

.profile-edit-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.profile-account-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}

.profile-edit-actions .btn,
.profile-account-actions .btn {
  min-width: 130px;
  padding: 12px 18px;
}

.btn-danger {
  background: rgba(255, 93, 93, .9);
  border-color: rgba(255, 93, 93, .9);
  color: #fff;
}

@media (max-width: 767.98px) {
  .profile-screen {
    border-radius: 0;
    max-width: none;
  }

  .profile-top-nav {
    padding: 20px 18px;
  }

  .profile-actions,
  .chat-actions,
  .home-actions,
  .company-actions,
  .news-actions {
    gap: 8px !important;
  }

  .app-icon-action {
    height: 38px;
    width: 38px;
  }

  .back-text-btn {
    height: 38px;
    padding: 0 12px 0 10px !important;
    width: auto !important;
  }

  .app-icon-action .bi {
    font-size: 1.18rem;
  }

  .profile-hero {
    height: 500px;
  }

  .profile-shade {
    background: linear-gradient(180deg, rgba(0,0,0,.28), #050607 73%);
  }

  .profile-head {
    display: block;
    padding: 160px 24px 28px;
    text-align: center;
  }

  .profile-logo {
    width: 112px;
  }

  .profile-copy h1 {
    font-size: 1.6rem;
    margin-top: 20px;
  }

  .profile-desc {
    display: none;
  }

  .profile-meta,
  .profile-buttons {
    justify-content: center;
  }

  .profile-meta {
    display: grid;
    gap: 12px;
  }

  .profile-buttons {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .profile-buttons a {
    flex: 1;
    font-size: .82rem;
    padding: 12px 10px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 18px 24px 20px;
  }

  .profile-stats div:nth-child(2) {
    border-right: 0;
  }

  .profile-tabs {
    gap: 24px;
    margin: 0 24px 10px;
  }

  .profile-tabs a {
    font-size: .82rem;
  }

  .profile-card {
    margin: 0 24px 18px;
    padding: 16px;
  }

  .about-card {
    display: block;
  }

  .profile-info {
    grid-template-columns: 125px 1fr;
  }

  .profile-pricing-list {
    grid-template-columns: 1fr;
  }

  .desktop-only {
    display: none;
  }

  .product-grid,
  .profile-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-limited-grid:not(.is-expanded) > *:nth-child(n + 3) {
    display: none;
  }

  .home-product-detail-card {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .home-product-detail-image {
    max-width: none;
  }

  .heart-card {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 10px;
  }

  .profile-benefits {
    margin: 0 24px 24px;
    padding: 16px;
  }

  .profile-screen-contact {
    padding-bottom: 108px;
  }

  .profile-video-wrap {
    margin-top: 22px;
  }

  .profile-settings-dialog {
    border-radius: 24px;
    max-height: 90vh;
  }

  .profile-settings-page {
    padding-bottom: 210px;
  }

  .profile-settings-page .profile-top-nav {
    margin-bottom: 22px;
    padding: 18px 0 0;
  }

  .profile-accounts-page {
    padding: 22px 18px 150px;
  }

  .profile-accounts-page .profile-top-nav {
    margin-bottom: 22px;
    padding: 18px 0 0;
  }

  .account-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .account-actions {
    grid-column: 1 / -1;
  }

  .account-message-btn,
  .account-profile-btn,
  .account-delete-btn {
    flex: 1;
  }

  .account-role-switch {
    grid-template-columns: 1fr;
  }

  .profile-settings-page-card {
    max-height: none;
    overflow: visible;
  }

  .profile-logo-picker {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .profile-edit-group {
    padding: 14px;
  }

  .profile-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-ads-tools {
    grid-template-columns: 1fr;
  }

  .profile-ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-edit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .profile-account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-left: 24px;
    margin-right: 24px;
  }

  .profile-contact-bar {
    border-radius: 30px 30px 0 0;
    bottom: 0;
    gap: 8px;
    max-width: 92vw;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    width: 92vw;
  }
}

/* Shared control sizing: match the AI send button while keeping text buttons wider. */
:root {
  --action-size: 58px;
  --action-size-mobile: 50px;
  --action-text-min-width: 118px;
}

.app-icon-action,
.thread-menu,
.thread-compose button,
.input-bar .btn,
.company-video-action,
.home-modal-x {
  height: var(--action-size);
  min-height: var(--action-size);
  width: var(--action-size);
}

.app-icon-action .bi,
.thread-menu .bi,
.thread-compose button .bi,
.input-bar .btn .bi,
.company-video-action .bi,
.home-modal-x .bi {
  font-size: 1.65rem;
}

.back-text-btn,
.app-icon-action.nav-register-btn,
.account-message-btn,
.account-profile-btn,
.account-delete-btn,
.profile-contact-btn {
  border-radius: 999px !important;
  height: var(--action-size);
  min-height: var(--action-size);
  min-width: var(--action-text-min-width);
  padding-left: 18px !important;
  padding-right: 18px !important;
  width: auto !important;
}

.app-icon-action.nav-register-btn {
  max-width: min(54vw, 190px);
}

.profile-edit-plan-btn {
  min-width: 132px;
}

.chat-message-btn {
  min-width: 126px;
}

.back-text-btn span:last-child,
.app-icon-action.nav-register-btn span:last-child,
.account-message-btn span:last-child,
.account-profile-btn span:last-child,
.account-delete-btn span:last-child,
.profile-contact-btn span:last-child {
  font-size: .92rem;
  line-height: 1;
}

.home-manage-save,
.chat-edit-save,
.profile-edit-actions .btn,
.profile-account-actions .btn,
.auth-primary,
.home-delete-close {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: var(--action-size);
  min-width: 132px;
  padding-bottom: 0;
  padding-top: 0;
}

.back-chevron {
  font-size: 1.55rem;
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 32;
}

.app-icon-action:not(.admin-nav-link),
.thread-menu:not(.admin-nav-link),
.thread-compose button,
.input-bar .btn,
.prompt-grid .btn,
.company-video-action,
.home-modal-x,
.profile-view-all-btn,
.profile-contact-btn,
.account-message-btn,
.account-profile-btn,
.account-delete-btn,
.product-heart-btn,
.home-manage-save,
.chat-edit-save,
.profile-edit-actions .btn,
.profile-account-actions .btn,
.auth-primary,
.home-delete-close {
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045)),
    rgba(22, 24, 28, .64);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 16px 38px rgba(0,0,0,.34),
    0 0 28px rgba(91,150,255,.10),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.app-icon-action:not(.admin-nav-link):hover,
.app-icon-action:not(.admin-nav-link):focus-visible,
.thread-menu:not(.admin-nav-link):hover,
.thread-compose button:hover,
.input-bar .btn:hover,
.prompt-grid .btn:hover,
.company-video-action:hover,
.home-modal-x:hover,
.profile-view-all-btn:hover,
.profile-contact-btn:hover,
.account-message-btn:hover,
.account-profile-btn:hover,
.account-delete-btn:hover,
.product-heart-btn:hover,
.home-manage-save:hover,
.chat-edit-save:hover,
.profile-edit-actions .btn:hover,
.profile-account-actions .btn:hover,
.auth-primary:hover,
.home-delete-close:hover {
  border-color: rgba(160,190,255,.42);
  box-shadow:
    0 20px 46px rgba(0,0,0,.40),
    0 0 34px rgba(91,150,255,.22),
    inset 0 1px 0 rgba(255,255,255,.24);
  color: #fff;
  transform: translateY(-1px);
}

.account-message-btn,
.profile-contact-btn.account-message-btn,
.home-manage-save,
.chat-edit-save,
.profile-edit-actions .btn-primary,
.profile-account-actions .btn-primary,
.auth-primary {
  background:
    linear-gradient(145deg, rgba(114,164,255,.36), rgba(91,150,255,.16)),
    rgba(28, 38, 62, .70);
  border-color: rgba(91,150,255,.38);
}

.account-delete-btn,
.profile-call-btn,
.btn-danger {
  background:
    linear-gradient(145deg, rgba(255,105,105,.30), rgba(255,70,70,.12)),
    rgba(54, 24, 27, .70);
  border-color: rgba(255,105,105,.36);
}

.product-heart-btn.active {
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,255,255,.72)),
    rgba(255,255,255,.86);
  color: #ff3b6b;
}

.app-icon-action:not(.admin-nav-link)[aria-current="page"],
.app-icon-action:not(.admin-nav-link)[aria-pressed="true"],
.thread-menu:not(.admin-nav-link)[aria-current="page"],
.thread-menu:not(.admin-nav-link)[aria-pressed="true"],
.company-video-action[aria-pressed="true"],
.profile-view-all-btn[aria-expanded="true"],
.level-filter-list button.is-active,
.level-filter-list button[aria-current="true"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.26), transparent 38%),
    linear-gradient(145deg, rgba(91,150,255,.46), rgba(99,76,255,.20)),
    rgba(30, 41, 66, .78) !important;
  border-color: rgba(150,190,255,.54) !important;
  color: #fff !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.38),
    0 0 38px rgba(91,150,255,.34),
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 0 rgba(91,150,255,.18) !important;
}

.bottom-nav-link[aria-current="page"] {
  isolation: isolate;
}

.app-icon-action:not(.admin-nav-link):active,
.thread-menu:not(.admin-nav-link):active,
.thread-compose button:active,
.input-bar .btn:active,
.prompt-grid .btn:active,
.company-video-action:active,
.home-modal-x:active,
.profile-view-all-btn:active,
.profile-contact-btn:active,
.account-message-btn:active,
.account-profile-btn:active,
.account-delete-btn:active,
.product-heart-btn:active,
.product-detail-heart-btn:active,
.home-manage-save:active,
.chat-edit-save:active,
.profile-edit-actions .btn:active,
.profile-account-actions .btn:active,
.auth-primary:active,
.home-delete-close:active,
.bottom-nav-link:active {
  transform: translateY(1px) scale(.97);
}

.profile-contact-bar .profile-contact-btn {
  box-shadow:
    0 14px 30px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.18);
  height: 56px;
  min-height: 56px;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.profile-contact-bar .account-message-btn {
  background:
    linear-gradient(145deg, rgba(91,150,255,.32), rgba(255,255,255,.07)),
    rgba(30,36,48,.72);
  border-color: rgba(140,176,255,.32);
}

.profile-contact-bar .account-profile-btn {
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.045)),
    rgba(30,32,36,.72);
  border-color: rgba(255,255,255,.16);
}

.profile-contact-bar .profile-call-btn {
  background:
    linear-gradient(145deg, rgba(255,105,105,.30), rgba(255,70,70,.12)),
    rgba(54, 24, 27, .70);
  border-color: rgba(255,105,105,.34);
}

@media (max-width: 767.98px) {
  .app-icon-action,
  .thread-menu,
  .thread-compose button,
  .input-bar .btn,
  .company-video-action,
  .home-modal-x {
    height: var(--action-size-mobile);
    min-height: var(--action-size-mobile);
    width: var(--action-size-mobile);
  }

  .back-text-btn,
    .app-icon-action.nav-register-btn,
    .account-message-btn,
    .account-profile-btn,
    .account-delete-btn,
    .profile-contact-btn {
    height: var(--action-size-mobile);
    min-height: var(--action-size-mobile);
    min-width: 104px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: auto !important;
  }

  .profile-edit-plan-btn {
    min-width: 118px;
  }

  .chat-message-btn {
    min-width: 112px;
  }

  .app-icon-action .bi,
  .thread-menu .bi,
  .thread-compose button .bi,
  .input-bar .btn .bi,
  .company-video-action .bi,
  .home-modal-x .bi {
    font-size: 1.42rem;
  }

  .home-manage-save,
  .chat-edit-save,
  .profile-edit-actions .btn,
  .profile-account-actions .btn,
  .auth-primary,
  .home-delete-close {
    min-height: var(--action-size-mobile);
    min-width: 118px;
  }
}

/* Keep every top bar pinned while scrolling, and restore rounded bottom nav corners. */
.top-nav,
.profile-top-nav,
.home-manage-nav,
.messages-header,
.home-header,
.company-header,
.news-header {
  position: sticky !important;
  top: 0;
  z-index: 80;
}

.profile-screen > .profile-top-nav {
  margin-bottom: -106px;
}

.bottom-nav {
  border-radius: 34px 34px 0 0 !important;
  overflow: hidden;
}

/* Top navigation follows each page's responsive content width. */
.top-nav {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: none !important;
  width: 100% !important;
}

@media (max-width: 767.98px) {
  .profile-screen > .profile-top-nav {
    margin-bottom: -90px;
  }
}

@media (max-width: 420px) {
  .bottom-nav {
    border-radius: 30px 30px 0 0 !important;
  }
}

@media (max-width: 900px) {
  .feature-plan-grid {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-table.compact .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row-toggle-only,
  .feature-table.compact .feature-row-toggle-only {
    grid-template-columns: 1fr 1fr;
  }

  .feature-name {
    grid-column: 1 / -1;
  }

  .feature-limit {
    grid-column: 1 / -1;
  }

  .feature-card-head,
  .feature-user-toolbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .feature-save-btn,
  .feature-user-toolbar select {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .profile-public-grid {
    grid-template-columns: 1fr;
  }
}

/* Profile images must show their real shape without clipping or fake card shadows. */
.admin-nav-link,
.conversation-avatar,
.thread-avatar,
.thread-mini-avatar,
.profile-image-preview,
.profile-logo-picker,
.profile-logo-picker label {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.admin-nav-avatar,
.conversation-avatar img,
.thread-avatar img,
.thread-mini-avatar img,
.profile-logo,
.profile-image-preview img,
.profile-logo-picker img,
.auth-logo,
.company-logo-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  overflow: visible !important;
}

/* Match the chat composer controls with the message thread composer. */
.input-bar .chat-add-btn,
.input-bar .chat-send-btn {
  align-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  min-height: 58px;
  padding: 0 !important;
  width: 58px;
}

.input-bar .chat-add-btn {
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.42) !important;
  color: #fff !important;
}

.input-bar .chat-send-btn {
  background: #5b96ff !important;
  color: #071327 !important;
}

.input-bar .chat-add-btn .bi,
.input-bar .chat-send-btn .bi {
  font-size: 2rem;
}

@media (max-width: 575.98px) {
  .input-bar .chat-add-btn,
  .input-bar .chat-send-btn {
    height: 50px;
    min-height: 50px;
    width: 50px;
  }

  .input-bar .chat-add-btn .bi,
  .input-bar .chat-send-btn .bi {
    font-size: 1.7rem;
  }
}

/* Functional icons use the Message button size everywhere. */
:root {
  --ui-icon-size: 1.1rem;
  --ui-icon-size-mobile: 1.05rem;
}

.app-icon-action .bi,
.app-icon-action.nav-register-btn .bi,
.back-text-btn .bi,
.thread-menu .bi,
.thread-compose button .bi,
.input-bar .btn .bi,
.input-bar .chat-add-btn .bi,
.input-bar .chat-send-btn .bi,
.company-video-action .bi,
.home-modal-x .bi,
.profile-contact-btn .bi,
.account-message-btn .bi,
.account-profile-btn .bi,
.account-delete-btn .bi,
.product-heart-btn .bi,
.product-detail-heart-btn .bi,
.home-manage-save .bi,
.chat-edit-save .bi,
.profile-edit-actions .btn .bi,
.profile-account-actions .btn .bi,
.auth-primary .bi,
.home-delete-close .bi,
.home-product-detail-meta .bi,
.profile-meta .bi,
.profile-buttons .bi,
.profile-info .bi,
.profile-stat-icon,
.benefit-icon,
.footer-line .bi,
.bottom-nav .nav-icon,
.bottom-nav .nav-icon-lg {
  font-size: var(--ui-icon-size) !important;
}

@media (max-width: 767.98px) {
  .app-icon-action .bi,
  .app-icon-action.nav-register-btn .bi,
  .back-text-btn .bi,
  .thread-menu .bi,
  .thread-compose button .bi,
  .input-bar .btn .bi,
  .input-bar .chat-add-btn .bi,
  .input-bar .chat-send-btn .bi,
  .company-video-action .bi,
  .home-modal-x .bi,
  .profile-contact-btn .bi,
  .account-message-btn .bi,
  .account-profile-btn .bi,
  .account-delete-btn .bi,
  .product-heart-btn .bi,
  .product-detail-heart-btn .bi,
  .home-manage-save .bi,
  .chat-edit-save .bi,
  .profile-edit-actions .btn .bi,
  .profile-account-actions .btn .bi,
  .auth-primary .bi,
  .home-delete-close .bi,
  .home-product-detail-meta .bi,
  .profile-meta .bi,
  .profile-buttons .bi,
  .profile-info .bi,
  .profile-stat-icon,
  .benefit-icon,
  .footer-line .bi,
  .bottom-nav .nav-icon,
  .bottom-nav .nav-icon-lg {
    font-size: var(--ui-icon-size-mobile) !important;
  }
}

.profile-settings-page .profile-white-action {
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(235,241,255,.88)),
    #fff !important;
  border-color: rgba(255,255,255,.82) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.28),
    0 0 28px rgba(255,255,255,.12),
    inset 0 1px 0 rgba(255,255,255,.95) !important;
  color: #05070a !important;
}

.profile-settings-page .profile-white-action:hover,
.profile-settings-page .profile-white-action:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: #05070a !important;
}

/* Sticky headers need vertical overflow to stay visible while the page scrolls. */
.home-screen,
.company-screen,
.news-screen,
.chat-screen,
.messages-screen,
.thread-screen,
.profile-screen,
.profile-settings-page,
.profile-accounts-page,
.home-category-screen,
.home-manage-screen,
.register-screen,
.not-found-screen {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.company-page,
.company-page .company-screen {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.thread-header .thread-peer {
  margin-top: clamp(4px, 1.5vw, 14px);
}

.thread-header .thread-avatar {
  height: clamp(66px, 9vw, 96px);
  width: clamp(66px, 9vw, 96px);
}

.thread-header .thread-peer h1 {
  font-size: clamp(1.65rem, 5vw, 3rem);
  max-width: 100%;
  white-space: normal;
}

.thread-header .thread-peer p {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

@media (max-width: 575.98px) {
  .thread-header {
    gap: 18px;
    margin-bottom: 42px;
    padding-bottom: 28px;
  }

  .thread-nav-row {
    min-height: 54px;
  }

  .thread-header .thread-peer {
    gap: 14px;
  }

  .thread-header .thread-avatar {
    height: 62px;
    width: 62px;
  }

  .thread-header .thread-peer h1 {
    font-size: clamp(1.35rem, 8vw, 2rem);
    line-height: 1.08;
    margin-bottom: 6px;
  }

  .thread-header .thread-peer p {
    font-size: 1.08rem;
  }
}

/* Site-wide responsive usability guardrails. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

a,
button,
label,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select,
.btn,
.app-icon-action,
.bottom-nav-link,
.profile-contact-btn,
.account-message-btn,
.account-profile-btn,
.account-delete-btn {
  touch-action: manipulation;
}

input,
textarea,
select,
button {
  font-size: max(16px, 1rem);
}

input,
textarea,
select {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
b,
strong,
span,
small,
label,
button,
a,
dt,
dd {
  overflow-wrap: anywhere;
}

.top-nav,
.profile-top-nav,
.home-manage-nav,
.thread-header {
  gap: clamp(10px, 2vw, 18px);
  min-width: 0;
}

.top-nav > *,
.profile-top-nav > *,
.home-manage-nav > *,
.thread-header > * {
  min-width: 0;
}

.app-icon-action,
.thread-menu,
.thread-compose button,
.input-bar .btn,
.company-video-action,
.home-modal-x,
.product-heart-btn,
.product-detail-heart-btn {
  flex: 0 0 auto;
}

.back-text-btn,
.app-icon-action.nav-register-btn,
.chat-message-btn,
.profile-edit-plan-btn,
.account-message-btn,
.account-profile-btn,
.account-delete-btn,
.profile-contact-btn {
  white-space: normal;
}

.profile-edit-grid,
.profile-public-grid,
.profile-image-grid,
.feature-plan-grid,
.home-grid,
.news-grid,
.profile-news-grid,
.product-grid {
  min-width: 0;
}

.profile-edit-grid label,
.profile-public-card,
.profile-image-control,
.feature-card,
.feature-row,
.home-card-link,
.news-banner-link,
.product-card,
.profile-product-card,
.profile-news-card,
.account-card,
.conversation-card {
  min-width: 0;
}

.profile-edit-grid input,
.profile-edit-grid textarea,
.profile-edit-grid select,
.profile-account-actions .btn,
.profile-edit-actions .btn,
.home-manage-save,
.chat-edit-save,
.auth-primary {
  min-height: 48px;
}

/* Rounded audit: keep real logos unboxed, but make every visible card/control feel consistent. */
.home-add-dialog,
.company-video-dialog,
.profile-settings-dialog,
.level-filter-dialog,
.register-card,
.auth-card,
.home-card-frame,
.category-product-card-link,
.home-product-detail-card,
.home-product-detail-image,
.company-banner,
.company-banner-link,
.news-banner,
.news-banner-link,
.product-card,
.profile-card,
.profile-stats,
.profile-benefits,
.profile-footer-order > .site-footer,
.profile-edit-group,
.profile-public-card,
.profile-image-control,
.profile-ad-card,
.feature-card,
.feature-row,
.account-card,
.conversation-card,
.chat-edit-card,
.ai-message-body,
.chat-search-results,
.messages-search,
.thread-bubble {
  border-radius: 18px !important;
}

.home-modal-x,
.app-icon-action:not(.admin-nav-link),
.thread-menu:not(.admin-nav-link),
.thread-compose button,
.input-bar .chat-add-btn,
.input-bar .chat-send-btn,
.product-heart-btn,
.product-detail-heart-btn,
.profile-contact-btn,
.account-message-btn,
.account-profile-btn,
.account-delete-btn,
.level-filter-list button,
.profile-edit-actions .btn,
.profile-account-actions .btn {
  border-radius: 999px !important;
}

.category-product-card img,
.product-card img,
.company-banner,
.news-banner {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  body {
    overflow-x: hidden;
  }

  .top-nav,
  .profile-top-nav,
  .home-manage-nav {
    align-items: flex-start !important;
    padding-left: clamp(18px, 6vw, 28px) !important;
    padding-right: clamp(18px, 6vw, 28px) !important;
  }

  .top-actions,
  .profile-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(70vw, 320px);
  }

  .profile-edit-actions,
  .profile-account-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-edit-actions .btn,
  .profile-account-actions .btn {
    width: 100%;
  }

  .thread-compose,
  .input-bar,
  .profile-contact-bar {
    width: min(calc(100vw - 28px), 560px) !important;
  }

  .bottom-nav {
    width: min(calc(100vw - 20px), 560px) !important;
  }

  .bottom-nav-link {
    min-height: 54px;
  }

  .bottom-nav-link .nav-label {
    font-size: .72rem;
    line-height: 1.1;
  }
}

@media (max-width: 420px) {
  .guest-auth-actions .app-icon-action.nav-register-btn {
    min-width: var(--action-size-mobile);
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: var(--action-size-mobile) !important;
  }

  .guest-auth-actions .app-icon-action.nav-register-btn span {
    display: none;
  }

  .profile-contact-bar .profile-contact-btn {
    flex: 0 0 58px;
    min-width: 58px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .profile-contact-bar .profile-contact-btn span,
  .account-actions .account-message-btn span,
  .account-actions .account-profile-btn span,
  .account-actions .account-delete-btn span,
  .chat-message-btn span {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

/* Monochrome theme: black surfaces with white/silver interaction states. */
:root {
  --bs-primary: #ffffff;
  --bs-primary-rgb: 255, 255, 255;
  --bs-link-color: #ffffff;
  --bs-link-hover-color: #d9d9d9;
}

.text-primary,
a.text-primary,
.chat-search-focus,
.profile-link,
.profile-meta .bi {
  color: #ffffff !important;
}

.bottom-nav-link.text-primary,
.bottom-nav-ai.text-primary,
.bottom-nav-link[aria-current="page"] {
  background:
    linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.08)),
    rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.48) !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.38),
    0 0 26px rgba(255,255,255,.18),
    inset 0 1px 0 rgba(255,255,255,.36) !important;
  color: #ffffff !important;
}

.bottom-nav-link.text-primary::before,
.bottom-nav-link[aria-current="page"]::before {
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.34), transparent 62%) !important;
}

.ai-message.outgoing,
.chat-search-form button,
.thread-compose .thread-send,
.input-bar .chat-send-btn,
.auth-primary,
.btn-primary,
.conversation-meta span {
  background: #ffffff !important;
  color: #050505 !important;
}

.chat-image-btn.has-image,
.company-sound-btn[aria-pressed="true"] {
  background: rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.54) !important;
  box-shadow: 0 0 22px rgba(255,255,255,.16) !important;
  color: #ffffff !important;
}

.auth-choice-card-accent,
.profile-card.is-highlighted,
.feature-card.is-active {
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.045)),
    rgba(21,21,21,.82) !important;
  border-color: rgba(255,255,255,.30) !important;
  box-shadow:
    0 24px 54px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.24) !important;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: #ffffff;
}
