:root {
  color-scheme: light;
  --ink: #2d2024;
  --ink-soft: #59474c;
  --muted: #89767a;
  --rose: #dc566f;
  --rose-deep: #a43d4b;
  --rose-soft: #ffe6ec;
  --cream: #fffaf7;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #fffdfb;
  --champagne: #cfa872;
  --sage: #7fa79a;
  --line: rgba(176, 91, 105, 0.2);
  --line-strong: rgba(176, 91, 105, 0.36);
  --shadow: 0 20px 60px rgba(116, 58, 69, 0.13);
  --shadow-soft: 0 10px 30px rgba(116, 58, 69, 0.1);
  --radius: 8px;
  --nav-h: 76px;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
}


* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff7f5;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 245, 247, 0.95), rgba(255, 252, 249, 0.96) 45%, rgba(249, 244, 238, 0.94)),
    #fff7f5;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(220, 86, 111, 0.22);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

#app {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(176, 91, 105, 0.16);
  background: rgba(255, 250, 249, 0.88);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(420px, 1fr) minmax(160px, 220px);
  align-items: center;
  width: min(1600px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--rose-deep);
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(220, 86, 111, 0.32);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 215, 222, 0.9)),
    #fff;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.82), 0 8px 20px rgba(220, 86, 111, 0.18);
}

.brand-mark i {
  width: 23px;
  height: 23px;
}

.brand-copy {
  min-width: 0;
  line-height: 1.05;
}

.brand-cn {
  display: block;
  overflow: hidden;
  color: var(--rose-deep);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-en {
  display: block;
  margin-top: 2px;
  color: #7e5960;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: clamp(12px, 3vw, 52px);
}

.nav-item {
  position: relative;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-item::after {
  position: absolute;
  right: 12%;
  bottom: 0;
  left: 12%;
  height: 3px;
  border-radius: 999px;
  background: var(--rose);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
  content: "";
}

.nav-item.active {
  color: var(--rose);
}

.nav-item.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(176, 91, 105, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

.avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(220, 86, 111, 0.34);
  border-radius: 50%;
  object-fit: cover;
}

.page {
  width: min(1600px, calc(100% - 72px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
}

.page-title {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  color: #4b2228;
}

.page-subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(255, 247, 247, 0.96) 0%, rgba(255, 246, 247, 0.82) 48%, rgba(255, 240, 243, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 244, 0.82));
  content: "";
}

.hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: min(58vw, 900px);
  height: min(86vh, 760px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.04) contrast(1.01);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 247, 247, 0.95), rgba(255, 247, 247, 0.18) 28%, rgba(255, 247, 247, 0.02));
  content: "";
}

.hero-inner {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  width: min(1600px, calc(100% - 72px));
  margin: 0 auto;
  padding: 52px 0 84px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 0;
  color: #5a272e;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.08;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 36px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.6;
}

.hero-note {
  margin-top: 22px;
  color: #90636b;
  font-size: 15px;
}

.hero-note span {
  display: inline-block;
  margin: 0 12px;
  color: rgba(164, 61, 75, 0.62);
}

.layout-two,
.layout-merchant {
  display: grid;
  gap: 24px;
}

.layout-two {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.layout-two.wide-right {
  grid-template-columns: minmax(430px, 0.72fr) minmax(0, 1fr);
}

.layout-merchant {
  grid-template-columns: minmax(320px, 1.04fr) minmax(320px, 0.98fr) minmax(300px, 0.78fr);
  grid-template-areas:
    "site outside core"
    "site outside demand"
    "agent agent agent";
  grid-template-rows: 210px minmax(500px, auto) minmax(190px, auto);
  gap: 18px;
}

.merchant-site-panel {
  grid-area: site;
}

.merchant-outside-panel {
  grid-area: outside;
}

.merchant-core-panel {
  grid-area: core;
}

.merchant-demand-panel {
  grid-area: demand;
}

.merchant-agent-panel {
  grid-area: agent;
}

.panel,
.tool-panel,
.modal-card,
.store-card,
.history-row,
.metric,
.tabbar,
.source-option,
.chip,
.ghost-card,
.style-tile,
.quote-card,
.trend-item,
.agent-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.panel,
.tool-panel {
  padding: clamp(22px, 3vw, 34px);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}

.panel-title i {
  width: 23px;
  height: 23px;
  color: var(--rose);
}

.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn i,
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn.primary {
  min-height: 54px;
  border-color: rgba(220, 86, 111, 0.18);
  color: #fff;
  background: linear-gradient(180deg, #ec7890, #d84d68 70%, #c64960);
  box-shadow: 0 12px 24px rgba(216, 77, 104, 0.24);
}

.btn.secondary {
  border-color: rgba(220, 86, 111, 0.32);
  background: rgba(255, 249, 250, 0.78);
}

.btn.soft {
  background: rgba(255, 230, 236, 0.68);
  border-color: rgba(220, 86, 111, 0.18);
}

.btn.full {
  width: 100%;
}

.btn.large {
  min-width: 260px;
  min-height: 64px;
  padding: 0 32px;
  font-size: 22px;
}

.btn.icon-only {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stepper {
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr;
  align-items: center;
  width: min(760px, 100%);
  margin: 0 0 26px;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.step.active {
  border-color: rgba(220, 86, 111, 0.36);
  color: #fff;
  background: linear-gradient(180deg, #ec7890, #d7556c);
  box-shadow: 0 10px 24px rgba(216, 77, 104, 0.22);
}

.step.done {
  color: var(--rose-deep);
  background: rgba(255, 230, 236, 0.72);
}

.step-number {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: inherit;
}

.step-sep {
  display: grid;
  place-items: center;
  color: rgba(164, 61, 75, 0.35);
}

.dropzone {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 34px;
  border: 1.5px dashed rgba(220, 86, 111, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 245, 247, 0.72), rgba(255, 255, 255, 0.72));
  text-align: center;
}

.dropzone i {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  color: #e5778f;
}

.dropzone-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.dropzone small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.benefit-list,
.advice-grid,
.history-list,
.trend-list,
.agent-list {
  display: grid;
  gap: 12px;
}

.benefit-item,
.advice-item {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 244, 246, 0.56);
  font-weight: 650;
}

.benefit-item i,
.advice-item i {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(220, 86, 111, 0.12);
  color: var(--rose);
}

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

.bti-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 22px;
  align-items: center;
}

.persona-img,
.profile-avatar {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(220, 86, 111, 0.24);
  background: var(--rose-soft);
}

.persona-img.reference {
  opacity: 0.72;
  filter: saturate(0.72);
}

.persona-img img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bti-name {
  margin: 4px 0 12px;
  color: var(--rose-deep);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.bti-quote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 680px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 86, 111, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 243, 246, 0.9), rgba(255, 255, 255, 0.74));
  color: var(--rose-deep);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.bti-quote i {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(220, 86, 111, 0.23);
  border-radius: 999px;
  background: rgba(255, 230, 236, 0.66);
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tag.sage {
  border-color: rgba(127, 167, 154, 0.32);
  background: rgba(226, 242, 236, 0.82);
  color: #466d62;
}

.tag.gold {
  border-color: rgba(207, 168, 114, 0.4);
  background: rgba(255, 247, 224, 0.82);
  color: #8a6431;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.score-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.score-card b {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--rose);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.score small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.meter {
  overflow: hidden;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(176, 91, 105, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f39bad, #dc566f);
}

.score-punch {
  display: block;
  min-height: 20px;
  margin-top: 2px;
  color: var(--rose-deep);
  font-size: 13px;
  line-height: 1.35;
}

.score-card p {
  min-height: 38px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.roast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.roast-card {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(176, 91, 105, 0.15);
  border-radius: 8px;
  background: rgba(255, 247, 248, 0.68);
}

.roast-card span {
  display: block;
  color: var(--rose);
  font-size: 12px;
  font-weight: 850;
}

.roast-card p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.summary-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 247, 248, 0.76);
}

.summary-box i {
  width: 42px;
  height: 42px;
  color: var(--champagne);
}

.summary-box small {
  display: inline-block;
  margin-top: 8px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
}

.summary-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(176, 91, 105, 0.18);
  border-radius: 7px;
  object-fit: cover;
}

.style-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(220, 86, 111, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 245, 247, 0.66);
}

.style-hero img,
.style-tile img,
.store-card img,
.case-strip img,
.compare-frame img,
.quote-card img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}

.style-hero img {
  min-height: 170px;
}

.style-hero h3,
.style-card h3,
.store-detail h3,
.quote-card h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
}

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

.style-tile {
  overflow: hidden;
  padding: 0;
  text-align: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.style-tile img {
  aspect-ratio: 1.25 / 1;
  border-radius: 7px 7px 0 0;
}

.style-tile span {
  display: block;
  padding: 12px 8px 14px;
  font-weight: 700;
}

.avoid-list,
.tag-row,
.filter-row,
.slot-row,
.source-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  gap: 8px;
  border-color: rgba(176, 91, 105, 0.18);
  color: var(--rose-deep);
  font-weight: 700;
}

.chip.active {
  color: #fff;
  background: linear-gradient(180deg, #ec7890, #d8556c);
  box-shadow: 0 8px 20px rgba(216, 77, 104, 0.2);
}

.tryon-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1fr);
  gap: 24px;
}

.compare-card {
  padding: 26px;
}

.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.compare-frame {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: #fff;
}

.compare-frame .label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  font-weight: 700;
}

.compare-frame img {
  min-height: 430px;
  object-position: center;
}

.tabbar {
  display: inline-flex;
  overflow: hidden;
  padding: 5px;
  background: rgba(255, 241, 244, 0.62);
}

.tabbar button {
  min-width: 160px;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
}

.tabbar button.active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--rose);
  box-shadow: var(--shadow-soft);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.demand-start {
  max-width: 980px;
  margin: 0 auto;
}

.demand-start-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.demand-source-large {
  gap: 16px;
  margin-bottom: 0;
}

.source-option {
  display: grid;
  min-height: 96px;
  place-items: center;
  padding: 16px 12px;
  color: var(--ink-soft);
  font-weight: 800;
  text-align: center;
}

.demand-source-large .source-option {
  min-height: 190px;
  align-content: center;
  gap: 8px;
  padding: 24px 18px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.source-option i {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--rose);
}

.demand-source-large .source-option i {
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(220, 86, 111, 0.12);
}

.source-option small {
  max-width: 210px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.source-option.active {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: rgba(255, 230, 236, 0.55);
}

.source-option:hover {
  border-color: rgba(220, 86, 111, 0.38);
  color: var(--rose-deep);
}

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

.form-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.form-row label {
  color: var(--ink-soft);
  font-weight: 800;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid rgba(176, 91, 105, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.input {
  min-height: 48px;
  padding: 0 14px;
}

.textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

.budget-grid {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 32px;
  align-items: center;
  gap: 10px;
}

.mini-upload {
  display: grid;
  min-height: 128px;
  place-items: center;
  border: 1px dashed rgba(220, 86, 111, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 245, 247, 0.64);
  color: var(--muted);
  text-align: center;
}

.preview-box {
  padding: clamp(22px, 3vw, 32px);
}

.empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  gap: 12px;
  padding: 34px;
  border: 1px dashed rgba(220, 86, 111, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 247, 248, 0.66);
  text-align: center;
}

.empty-state i {
  width: 48px;
  height: 48px;
  color: var(--rose);
}

.empty-state strong {
  color: var(--ink);
  font-size: 20px;
}

.empty-state.compact {
  min-height: 220px;
  margin-top: 22px;
}

.bti-default-panel .bti-name {
  color: #7b5960;
}

.preview-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  color: #5a272e;
}

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

.image-strip img {
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  object-fit: cover;
}

.preview-text {
  padding: 16px;
  border: 1px solid rgba(176, 91, 105, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 246, 247, 0.72);
  color: var(--ink-soft);
  line-height: 1.65;
}

.store-context {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(176, 91, 105, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.store-context img {
  width: 100%;
  height: 130px;
  border-radius: 7px;
  object-fit: cover;
}

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

.real-store-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 247, 248, 0.82), rgba(255, 255, 255, 0.74));
}

.lookup-status {
  margin: 10px 0 0;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.store-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.store-card.active {
  border-color: rgba(220, 86, 111, 0.56);
  background: rgba(255, 242, 245, 0.82);
}

.store-card img {
  height: 112px;
}

.store-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.store-card.real {
  align-items: stretch;
}

.store-card.real > div:nth-child(2) {
  min-width: 0;
}

.store-style-hero {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 12px;
}

.store-style-hero > img {
  width: 100%;
  height: 104px;
  min-height: 0;
  border-radius: 7px;
  object-fit: cover;
}

.store-style-hero .panel-title {
  margin: 8px 0 8px;
  font-size: clamp(20px, 2vw, 26px);
}

.store-actions {
  display: grid;
  gap: 8px;
  min-width: 132px;
}

.store-request-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 14px;
}

.store-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

.store-detail-grid span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(176, 91, 105, 0.14);
  border-radius: 7px;
  background: rgba(255, 247, 248, 0.66);
}

.store-detail-grid small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.store-detail-grid b {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-mini-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 9px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
}

.store-mini-line span,
.booking-store-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-mini-line i,
.booking-store-meta i {
  width: 15px;
  height: 15px;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid rgba(127, 167, 154, 0.26);
  border-radius: 999px;
  background: rgba(241, 248, 245, 0.82);
  color: #496b62;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.store-detail {
  display: grid;
  gap: 18px;
}

.store-detail-head {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.store-detail-head img {
  height: 140px;
  border-radius: 7px;
  object-fit: cover;
}

.store-detail-head h3 {
  font-size: clamp(24px, 2vw, 28px);
}

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

.case-strip img {
  height: 160px;
}

.overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.metric {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  gap: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.metric i {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(220, 86, 111, 0.12);
  color: var(--rose);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.metric b {
  display: block;
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

.trend-item,
.agent-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.trend-item img,
.quote-card img {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
}

.trend-item strong,
.agent-row strong {
  display: block;
  margin-bottom: 4px;
}

.trend-up {
  color: var(--rose);
  font-weight: 850;
}

.quote-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.quote-card img {
  width: 128px;
  height: 128px;
}

.quote-actions {
  display: grid;
  gap: 10px;
}

.layout-merchant .quote-card {
  grid-template-columns: 112px minmax(0, 1fr);
}

.layout-merchant .quote-card img {
  width: 112px;
  height: 112px;
}

.layout-merchant .quote-card .quote-actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 210px;
}

.profile-avatar {
  width: 128px;
  height: 128px;
}

.history-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 220px) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.history-row i {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(220, 86, 111, 0.12);
  color: var(--rose);
}

.history-row strong {
  font-size: 18px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(50, 38, 42, 0.46);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 246, 0.92)),
    var(--paper-solid);
  box-shadow: 0 28px 100px rgba(39, 24, 29, 0.28);
}

.modal-card.wide {
  width: min(880px, 100%);
}

.modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 48px 24px;
  text-align: center;
  color: #4b2228;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(26px, 3vw, 38px);
}

.modal-title i {
  width: 26px;
  height: 26px;
  color: var(--rose);
}

.close-x {
  position: absolute;
  top: 18px;
  right: 18px;
}

.crop-preview {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  background: #fff;
}

.crop-preview img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.crop-box {
  position: absolute;
  inset: 40px 70px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(55, 41, 45, 0.28);
}

.scan-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(220, 86, 111, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.scan-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.scan-line i {
  width: 22px;
  height: 22px;
  color: var(--sage);
}

.progress {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(176, 91, 105, 0.12);
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7fa79a, #f29bae, #dc566f);
  animation: progressPulse 1.4s ease-in-out infinite;
}

@keyframes progressPulse {
  0% {
    transform: translateX(-18%);
  }
  100% {
    transform: translateX(48%);
  }
}

.share-card {
  padding: 22px;
  border: 1px solid rgba(220, 86, 111, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 247, 248, 0.88), rgba(255, 255, 255, 0.78)),
    #fff;
}

.share-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 22px;
}

.share-hook {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.22;
}

.share-roast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 240, 244, 0.8);
  color: var(--rose-deep);
}

.share-roast i {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.share-roast strong {
  font-size: 16px;
  line-height: 1.55;
}

.share-scores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.share-scores span {
  display: grid;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 12px;
}

.share-scores b {
  color: var(--rose);
  font-size: 24px;
}

.share-scores small {
  color: var(--muted);
  font-weight: 750;
}

.share-insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.share-insight-grid div {
  padding: 16px;
  border: 1px solid rgba(176, 91, 105, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
}

.share-insight-grid span {
  display: block;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.share-insight-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.share-insight-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.share-footer-line {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(220, 86, 111, 0.12), rgba(127, 167, 154, 0.14));
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  font-weight: 850;
}

.quote-modal-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.quote-modal-head img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
}

.booking-card,
.booking-success-card {
  display: grid;
  gap: 14px;
}

.booking-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.booking-head img,
.booking-head .store-photo-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.booking-head h3 {
  margin: 8px 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.booking-store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
}

.booking-date-grid,
.booking-time-grid {
  display: grid;
  gap: 10px;
}

.booking-date-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.booking-option {
  position: relative;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(176, 91, 105, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-align: center;
}

.booking-option strong,
.booking-option span,
.booking-option em {
  display: block;
}

.booking-option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.booking-option.active {
  border-color: rgba(220, 86, 111, 0.95);
  background: rgba(255, 229, 236, 0.96);
  color: var(--rose-deep);
  box-shadow: inset 0 0 0 2px rgba(220, 86, 111, 0.22), 0 8px 22px rgba(220, 86, 111, 0.1);
}

.booking-option.active strong {
  color: var(--rose-deep);
}

.booking-option em {
  position: absolute;
  top: 6px;
  right: 7px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.booking-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(127, 167, 154, 0.26);
  border-radius: 8px;
  background: rgba(237, 248, 244, 0.74);
  color: var(--ink);
  font-weight: 850;
}

.booking-summary i {
  color: #5f9d8d;
}

.booking-success-card {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(127, 167, 154, 0.3);
  border-radius: var(--radius);
  background: rgba(237, 248, 244, 0.78);
}

.booking-success-card i {
  width: 48px;
  height: 48px;
  color: #5f9d8d;
}

.booking-success-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  letter-spacing: 0;
}

.appointment-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.appointment-detail-grid span {
  padding: 14px;
  border: 1px solid rgba(176, 91, 105, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 13px;
}

.appointment-detail-grid b {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 16px;
}

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

.modal-stat {
  padding: 16px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.modal-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.modal-stat b {
  display: block;
  margin-top: 6px;
  color: var(--rose);
  font-size: 26px;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(220, 86, 111, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rose-deep);
  box-shadow: var(--shadow);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
    width: min(100% - 32px, 1180px);
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .account {
    gap: 8px;
  }

  .layout-two,
  .layout-two.wide-right,
  .tryon-layout,
  .layout-merchant {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  :root {
    --nav-h: 116px;
  }

  .topbar {
    height: auto;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand account"
      "nav nav";
    gap: 10px 12px;
    padding: 12px 0;
  }

  .brand {
    grid-area: brand;
  }

  .brand-cn {
    font-size: 18px;
  }

  .brand-en {
    font-size: 10px;
  }

  .nav {
    grid-area: nav;
    gap: 14px;
  }

  .nav-item {
    min-height: 36px;
    font-size: 14px;
  }

  .account {
    grid-area: account;
  }

  .page,
  .hero-inner {
    width: min(100% - 28px, 760px);
  }

  .page-head {
    display: block;
  }

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    min-height: 640px;
    align-items: start;
    padding-top: 52px;
  }

  .hero-media {
    width: 100%;
    height: 45%;
    opacity: 0.72;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero p {
    font-size: 18px;
  }

  .hero-note span {
    margin: 0 6px;
  }

  .btn.large {
    width: 100%;
    min-width: 0;
  }

  .stepper {
    grid-template-columns: 1fr;
  }

  .step-sep {
    display: none;
  }

  .panel,
  .tool-panel,
  .compare-card {
    padding: 18px;
  }

  .bti-card,
  .demand-start-head,
  .real-store-panel,
  .store-context,
  .store-detail-head,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .demand-start-head,
  .real-store-panel {
    display: grid;
  }

  .persona-img,
  .profile-avatar {
    width: 150px;
    height: 150px;
  }

  .metric-grid,
  .roast-grid,
  .style-grid,
  .image-strip,
  .case-strip,
  .source-grid,
  .advice-grid,
  .compare-grid,
  .overview,
  .share-scores,
  .share-hero,
  .share-insight-grid,
  .modal-stats {
    grid-template-columns: 1fr;
  }

  .store-card,
  .quote-card,
  .trend-item,
  .agent-row {
    grid-template-columns: 1fr;
  }

  .store-detail-grid {
    grid-template-columns: 1fr;
  }

  .history-row {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
  }

  .history-row > svg:first-child {
    grid-row: 1 / 3;
  }

  .history-row strong {
    grid-column: 2;
  }

  .history-row .muted {
    grid-column: 2;
  }

  .history-row > svg:last-child {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .store-card img,
  .quote-card img {
    width: 100%;
    height: 180px;
  }

  .store-actions {
    grid-template-columns: 1fr;
  }

  .store-style-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .store-style-hero > img {
    height: 96px;
  }

  .booking-date-grid,
  .appointment-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-time-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row,
  .budget-grid {
    grid-template-columns: 1fr;
  }

  .compare-frame,
  .compare-frame img {
    min-height: 320px;
  }

  .modal-backdrop {
    padding: 14px;
  }

  .modal-title {
    margin-right: 40px;
    margin-left: 40px;
  }

  .crop-box {
    inset: 48px 34px;
  }
}


/* XHS merchant and profile integration styles */

.merchant-site-panel,
.merchant-outside-panel {
  min-height: 690px;
}

.merchant-site-panel {
  display: flex;
  flex-direction: column;
}

.merchant-site-panel .trend-list {
  flex: 1;
  grid-auto-rows: minmax(108px, 1fr);
}

.merchant-site-panel .trend-item {
  min-height: 108px;
}

.merchant-core-panel {
  min-height: 0;
  padding: 16px;
}

.merchant-demand-panel {
  align-self: start;
  min-height: 0;
}

.merchant-agent-panel {
  min-height: 190px;
}

.merchant-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.merchant-core-panel .panel-title {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.45vw, 22px);
}

.merchant-core-panel .metric {
  min-height: 56px;
  padding: 9px 10px;
  gap: 8px;
}

.merchant-core-panel .metric i {
  width: 26px;
  height: 26px;
  padding: 6px;
}

.merchant-core-panel .metric span {
  font-size: 11px;
}

.merchant-core-panel .metric b {
  overflow: hidden;
  font-size: 21px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.trend-item,
.agent-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.trend-item {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  padding: 14px;
}

.trend-item img,
.quote-card img {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  object-fit: cover;
}

.trend-item img {
  width: 64px;
  height: 64px;
}

.trend-item strong,
.agent-row strong {
  display: block;
  margin-bottom: 4px;
}

.agent-row > span {
  min-width: 0;
}

.merchant-agent-panel .agent-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
}

.merchant-agent-panel .agent-row strong {
  overflow: hidden;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.merchant-agent-panel .agent-row small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trend-up {
  color: var(--rose);
  font-weight: 850;
}

.trend-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.trend-source span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trend-source i {
  width: 15px;
  height: 15px;
}

.xhs-trend-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.xhs-sync-panel {
  position: relative;
  width: 96px;
  display: grid;
  gap: 5px;
  flex: 0 0 auto;
}

.xhs-sync-button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.xhs-sync-button i {
  width: 14px;
  height: 14px;
}

.xhs-sync-button [data-lucide="loader-circle"] {
  animation: spin 1s linear infinite;
}

.xhs-sync-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(120, 96, 96, 0.14);
}

.xhs-sync-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rose);
  transition: width 0.28s ease;
}

.xhs-sync-popover {
  position: absolute;
  z-index: 8;
  top: 0;
  right: calc(100% + 8px);
  width: 118px;
  display: grid;
  gap: 2px;
  padding: 6px 7px;
  border: 1px solid rgba(50, 54, 62, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
}

.xhs-sync-popover div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.xhs-sync-popover strong {
  font-size: 11px;
}

.xhs-sync-popover span {
  color: var(--rose);
  font-size: 11px;
  font-weight: 850;
}

.xhs-sync-popover p {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.xhs-sync-popover p {
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
}

.xhs-sync-popover.syncing {
  border-color: rgba(232, 93, 106, 0.24);
}

.xhs-sync-popover.done span {
  color: var(--sage);
}

.xhs-sync-popover.error span {
  color: var(--rose-deep);
}

.trend-movement {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid rgba(50, 54, 62, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trend-movement-head,
.trend-bar-row {
  display: grid;
  align-items: center;
  gap: 8px;
}

.trend-movement-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.trend-movement-head strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.trend-movement-head i {
  width: 14px;
  height: 14px;
}

.trend-bars {
  display: grid;
  gap: 6px;
}

.trend-bar-row {
  grid-template-columns: 78px minmax(80px, 1fr) minmax(64px, auto);
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.trend-bar-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 800;
}

.trend-bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(48, 52, 61, 0.1);
}

.trend-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--muted);
}

.trend-bar-fill.up {
  background: #e85d6a;
}

.trend-bar-fill.stable {
  background: #2f9b7c;
}

.trend-status {
  align-self: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.trend-status.up {
  color: #e85d6a;
}

.trend-status.stable {
  color: #2f9b7c;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

.trend-detail {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.trend-preview {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.trend-preview img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.trend-preview span {
  position: absolute;
  inset: 6px 6px auto auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(24, 20, 20, 0.64);
}

.trend-preview span i {
  width: 14px;
  height: 14px;
}

.trend-image-viewer {
  margin: 0;
}

.trend-image-viewer img {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.7);
}

.trend-image-viewer figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

.trend-toggle {
  margin-top: 12px;
}

.merchant-live-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.merchant-live-note i {
  width: 15px;
  height: 15px;
}

.live-order {
  border: 1px solid rgba(207, 118, 118, 0.34);
  box-shadow: 0 14px 34px rgba(130, 69, 69, 0.08);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 18px;
  border: 1px dashed rgba(120, 96, 96, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.empty-state i {
  width: 32px;
  height: 32px;
  color: var(--rose);
}

.quote-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.quote-card img {
  width: 128px;
  height: 128px;
}

.quote-actions {
  display: grid;
  gap: 10px;
}

.layout-merchant .quote-card {
  grid-template-columns: 112px minmax(0, 1fr);
}

.layout-merchant .quote-card img {
  width: 112px;
  height: 112px;
}

.layout-merchant .quote-card .quote-actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merchant-demand-panel .quote-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.merchant-demand-panel .quote-card img {
  width: 78px;
  height: 78px;
}

.merchant-demand-panel .quote-card h3 {
  font-size: 18px;
}

.merchant-demand-panel .quote-card .quote-actions {
  grid-template-columns: 1fr;
  gap: 8px;
}

.merchant-demand-panel .quote-card .btn {
  min-height: 38px;
  padding: 9px 12px;
}

.merchant-agent-panel .agent-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.merchant-agent-panel .btn-row {
  width: min(620px, 100%);
}

.profile-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(260px, 0.75fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 210px;
}

.profile-avatar {
  width: 128px;
  height: 128px;
}

.profile-avatar.edit {
  width: 118px;
  height: 118px;
}

.profile-signature {
  margin: 0 0 12px;
  color: var(--muted);
}

.level-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(207, 168, 114, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 246, 229, 0.92), rgba(255, 255, 255, 0.76)),
    var(--paper-solid);
  box-shadow: 0 12px 28px rgba(152, 104, 48, 0.09);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.level-card:hover {
  border-color: rgba(207, 168, 114, 0.58);
  box-shadow: 0 16px 34px rgba(152, 104, 48, 0.14);
  transform: translateY(-1px);
}

.level-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.level-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #2d2024;
  color: #fff7dd;
  font-size: 15px;
  font-weight: 900;
}

.level-card-head strong {
  overflow: hidden;
  color: #8a5a24;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.level-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(138, 90, 36, 0.13);
}

.level-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d8953d, #f1c66f);
}

.level-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.level-meta b {
  color: #8a5a24;
  font-weight: 850;
  white-space: nowrap;
}

.level-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.level-card small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8a5a24;
  font-size: 12px;
  font-weight: 850;
}

.level-card small i {
  width: 14px;
  height: 14px;
}

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

.level-overview > div {
  padding: 14px;
  border: 1px solid rgba(207, 168, 114, 0.28);
  border-radius: 8px;
  background: rgba(255, 249, 239, 0.78);
}

.level-overview span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.level-overview strong {
  font-size: 18px;
}

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

.level-stage {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.level-stage.active {
  border-color: rgba(207, 168, 114, 0.52);
  background: rgba(255, 249, 239, 0.9);
}

.level-stage.locked {
  opacity: 0.72;
}

.level-stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2d2024;
  color: #fff7dd;
  font-weight: 900;
}

.level-stage.locked .level-stage-badge {
  background: rgba(120, 96, 96, 0.18);
  color: var(--muted);
}

.level-stage h3 {
  margin: 0 0 5px;
}

.level-stage p {
  margin: 5px 0 0;
}

.level-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.level-action-grid div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.level-action-grid i {
  width: 18px;
  height: 18px;
  color: var(--rose);
}

.level-action-grid span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.level-action-grid b {
  color: #8a5a24;
}

.profile-actions,
.profile-edit-actions {
  display: grid;
  gap: 10px;
}

.profile-edit-head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.history-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 220px) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.history-row i {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(220, 86, 111, 0.12);
  color: var(--rose);
}

.history-row strong {
  font-size: 18px;
}

.mine-detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.mine-detail-head .page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mine-detail-head .page-title i {
  width: 30px;
  height: 30px;
  color: var(--rose);
}

.mine-record-card {
  grid-template-columns: 116px minmax(0, 1fr);
}

.mine-record-card .preview-text {
  margin: 8px 0 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(50, 38, 42, 0.46);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 246, 0.92)),
    var(--paper-solid);
  box-shadow: 0 28px 100px rgba(39, 24, 29, 0.28);
}

.modal-card.wide {
  width: min(880px, 100%);
}

.merchant-modal-list {
  max-height: 58vh;
  overflow: auto;
  padding-right: 4px;
}

.modal-card.wide .merchant-modal-list.trend-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.merchant-modal-list .quote-card {
  grid-template-columns: 104px minmax(0, 1fr);
}

.merchant-modal-list .quote-card img {
  width: 104px;
  height: 104px;
}

.merchant-modal-list .quote-actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 48px 24px;
  text-align: center;
  color: #4b2228;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(26px, 3vw, 38px);
}

.modal-title i {
  width: 26px;
  height: 26px;
  color: var(--rose);
}

.close-x {
  position: absolute;
  top: 18px;
  right: 18px;
}

.crop-preview {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  background: #fff;
}

.crop-preview img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.crop-box {
  position: absolute;
  inset: 40px 70px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(55, 41, 45, 0.28);
}

.scan-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(220, 86, 111, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.scan-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.scan-line i {
  width: 22px;
  height: 22px;
  color: var(--sage);
}

.progress {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(176, 91, 105, 0.12);
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7fa79a, #f29bae, #dc566f);
  animation: progressPulse 1.4s ease-in-out infinite;
}

@keyframes progressPulse {
  0% {
    transform: translateX(-18%);
  }
  100% {
    transform: translateX(48%);
  }
}

.share-card {
  padding: 22px;
  border: 1px solid rgba(220, 86, 111, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 247, 248, 0.88), rgba(255, 255, 255, 0.78)),
    #fff;
}

.share-scores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.share-scores span {
  display: grid;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 12px;
}

.share-scores b {
  color: var(--rose);
  font-size: 24px;
}

.quote-modal-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.quote-modal-head img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.modal-stat {
  padding: 16px;
  border: 1px solid rgba(176, 91, 105, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.modal-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.modal-stat b {
  display: block;
  margin-top: 6px;
  color: var(--rose);
  font-size: 26px;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid rgba(220, 86, 111, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rose-deep);
  box-shadow: var(--shadow);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
    width: min(100% - 32px, 1180px);
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .account {
    gap: 8px;
  }

  .layout-two,
  .layout-two.wide-right,
  .tryon-layout,
  .layout-merchant {
    grid-template-columns: 1fr;
  }

  .layout-merchant {
    grid-template-areas:
      "core"
      "demand"
      "site"
      "outside"
      "agent";
    grid-template-rows: auto;
  }

  .merchant-site-panel,
  .merchant-outside-panel,
  .merchant-demand-panel,
  .merchant-agent-panel {
    min-height: 0;
  }

  .merchant-agent-panel .agent-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .profile-card {
    grid-template-columns: 150px minmax(0, 1fr) auto;
  }

  .level-card {
    grid-column: 2 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 116px;
  }

  .topbar {
    height: auto;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand account"
      "nav nav";
    gap: 10px 12px;
    padding: 12px 0;
  }

  .brand {
    grid-area: brand;
  }

  .brand-cn {
    font-size: 18px;
  }

  .brand-en {
    font-size: 10px;
  }

  .nav {
    grid-area: nav;
    gap: 14px;
  }

  .nav-item {
    min-height: 36px;
    font-size: 14px;
  }

  .account {
    grid-area: account;
  }

  .page,
  .hero-inner {
    width: min(100% - 28px, 760px);
  }

  .page-head {
    display: block;
  }

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    min-height: 640px;
    align-items: start;
    padding-top: 52px;
  }

  .hero-media {
    width: 100%;
    height: 45%;
    opacity: 0.72;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero p {
    font-size: 18px;
  }

  .hero-note span {
    margin: 0 6px;
  }

  .btn.large {
    width: 100%;
    min-width: 0;
  }

  .stepper {
    grid-template-columns: 1fr;
  }

  .step-sep {
    display: none;
  }

  .panel,
  .tool-panel,
  .compare-card {
    padding: 18px;
  }

  .bti-card,
  .store-context,
  .store-detail-head,
  .profile-edit-head,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .persona-img,
  .profile-avatar {
    width: 150px;
    height: 150px;
  }

  .metric-grid,
  .style-grid,
  .image-strip,
  .case-strip,
  .source-grid,
  .advice-grid,
  .compare-grid,
  .overview,
  .share-scores,
  .modal-stats {
    grid-template-columns: 1fr;
  }

  .merchant-core-grid,
  .merchant-agent-panel .agent-list,
  .modal-card.wide .merchant-modal-list.trend-list {
    grid-template-columns: 1fr;
  }

  .merchant-modal-list .quote-card,
  .merchant-modal-list .quote-actions {
    grid-template-columns: 1fr;
  }

  .store-card,
  .quote-card,
  .trend-detail,
  .mine-record-card,
  .trend-item,
  .agent-row {
    grid-template-columns: 1fr;
  }

  .xhs-trend-title {
    align-items: flex-start;
  }

  .xhs-sync-panel {
    width: 84px;
  }

  .xhs-sync-popover {
    top: calc(100% + 8px);
    right: 0;
    width: 128px;
  }

  .trend-movement-head,
  .trend-bar-row {
    grid-template-columns: 1fr;
  }

  .trend-status {
    text-align: left;
  }

  .level-overview,
  .level-action-grid {
    grid-template-columns: 1fr;
  }

  .history-row {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
  }

  .history-row > svg:first-child {
    grid-row: 1 / 3;
  }

  .history-row strong {
    grid-column: 2;
  }

  .history-row .muted {
    grid-column: 2;
  }

  .history-row > svg:last-child {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .store-card img,
  .quote-card img {
    width: 100%;
    height: 180px;
  }

  .form-row,
  .budget-grid {
    grid-template-columns: 1fr;
  }

  .compare-frame,
  .compare-frame img {
    min-height: 320px;
  }

  .modal-backdrop {
    padding: 14px;
  }

  .modal-title {
    margin-right: 40px;
    margin-left: 40px;
  }

  .crop-box {
    inset: 48px 34px;
  }
}

/* Cinematic video hero refresh */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: #190a10;
  color: #fff8f6;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(22, 6, 13, 0.9) 0%, rgba(60, 15, 31, 0.72) 32%, rgba(255, 236, 237, 0.12) 64%, rgba(28, 8, 16, 0.58) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(28, 8, 16, 0.52));
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.2) 29%, transparent 31%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 92px);
  opacity: 0.58;
  mix-blend-mode: screen;
  animation: heroSweep 9s linear infinite;
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 6, 13, 0.92), rgba(63, 15, 31, 0.5) 34%, rgba(255, 232, 236, 0.04) 68%),
    linear-gradient(180deg, rgba(255, 246, 247, 0.08), rgba(18, 5, 10, 0.3));
  content: "";
}

.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video {
  z-index: 1;
  filter: saturate(1.12) contrast(1.05);
}

.hero-poster {
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 72%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.58fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(54px, 7vw, 92px) 0 clamp(42px, 6vw, 80px);
}

.hero-copy {
  max-width: 900px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 226, 231, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffe7ea;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.hero-kicker i {
  width: 18px;
  height: 18px;
}

.hero h1 {
  max-width: 900px;
  color: #fff7f2;
  font-size: clamp(56px, 7.1vw, 118px);
  line-height: 0.98;
  text-shadow: 0 18px 48px rgba(15, 2, 7, 0.38);
}

.hero p {
  max-width: 760px;
  margin: 28px 0 34px;
  color: rgba(255, 239, 239, 0.82);
  font-size: clamp(19px, 1.72vw, 28px);
  line-height: 1.68;
  text-shadow: 0 10px 28px rgba(18, 4, 9, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cta {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 143, 166, 0.62);
  background: linear-gradient(135deg, #ff4d7d, #c92957 52%, #781f38);
  box-shadow: 0 22px 58px rgba(196, 37, 80, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-cta::after {
  position: absolute;
  inset: -70% auto -70% -28%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: rotate(18deg);
  animation: heroButtonShine 3.6s ease-in-out infinite;
  content: "";
}

.hero-secondary {
  border-color: rgba(255, 231, 235, 0.28);
  background: rgba(44, 10, 22, 0.72);
  color: #fff5f5;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.06), 0 18px 48px rgba(15, 2, 7, 0.18);
  backdrop-filter: blur(18px);
}

.hero .btn.secondary.hero-secondary {
  border-color: rgba(255, 231, 235, 0.32);
  background: rgba(44, 10, 22, 0.72);
  color: #fff5f5;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 240, 240, 0.76);
  font-size: 14px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 226, 231, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 245, 245, 0.86);
  backdrop-filter: blur(14px);
}

.hero-console {
  justify-self: end;
  width: min(430px, 100%);
  padding: 16px;
  border: 1px solid rgba(255, 231, 235, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 248, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 34px 90px rgba(18, 4, 10, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(24px);
  animation: heroConsoleFloat 6s ease-in-out infinite;
}

.hero-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: rgba(255, 245, 244, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-console-head span {
  width: 46px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6f95, #ffe6dc);
  box-shadow: 0 0 22px rgba(255, 104, 143, 0.48);
}

.hero-console-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.06;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-console-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-console-preview i {
  position: absolute;
  right: 10%;
  left: 10%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 22px rgba(255, 128, 158, 0.82), 0 0 54px rgba(255, 255, 255, 0.36);
  animation: heroScanLine 2.8s ease-in-out infinite;
}

.hero-console-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.hero-console-grid div {
  padding: 12px 10px;
  border: 1px solid rgba(255, 231, 235, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-console-grid span {
  display: block;
  color: rgba(255, 239, 239, 0.66);
  font-size: 12px;
}

.hero-console-grid b {
  display: block;
  margin-top: 4px;
  color: #fff8f4;
  font-size: 22px;
  line-height: 1;
}

.hero-style-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.hero-style-strip img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 231, 235, 0.22);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(18, 4, 10, 0.14);
}

@media (min-width: 1024px) {
  .topbar-inner {
    grid-template-columns: minmax(330px, 430px) minmax(420px, 1fr) minmax(120px, 180px);
  }

  .brand-cn {
    font-size: clamp(18px, 1.7vw, 26px);
  }
}

@keyframes heroSweep {
  0% {
    background-position: -420px 0, 0 0;
  }
  100% {
    background-position: 620px 0, 280px 0;
  }
}

@keyframes heroButtonShine {
  0%,
  46% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  100% {
    transform: translateX(380%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes heroConsoleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes heroScanLine {
  0% {
    top: 14%;
    opacity: 0;
  }
  18%,
  76% {
    opacity: 1;
  }
  100% {
    top: 84%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-cta::after,
  .hero-console,
  .hero-console-preview i {
    animation: none;
  }

  .hero-video {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-console {
    justify-self: stretch;
    width: min(100%, 520px);
  }
}

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

  .hero::before {
    background:
      linear-gradient(180deg, rgba(22, 6, 13, 0.84), rgba(78, 18, 38, 0.68) 46%, rgba(22, 6, 13, 0.86)),
      linear-gradient(90deg, rgba(255, 238, 240, 0.08), rgba(255, 238, 240, 0.02));
  }

  .hero-inner {
    width: min(100% - 28px, 760px);
    padding: 44px 0 54px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero p {
    margin: 20px 0 26px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-console {
    padding: 12px;
    border-radius: 18px;
  }

  .hero-console-grid {
    grid-template-columns: 1fr;
  }
}

/* Gentle light video hero */
.hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 213, 221, 0.38), transparent 32%),
    linear-gradient(135deg, #fff8f7, #fff1f4 58%, #fffaf6);
  color: #5a2731;
}

.hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 249, 0.96) 0%, rgba(255, 244, 246, 0.9) 36%, rgba(255, 235, 239, 0.54) 62%, rgba(255, 246, 247, 0.26) 100%),
    radial-gradient(circle at 28% 42%, rgba(255, 255, 255, 0.82), transparent 36%);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.54) 29%, transparent 32%),
    repeating-linear-gradient(115deg, rgba(186, 94, 109, 0.055) 0 1px, transparent 1px 112px);
  opacity: 0.45;
  mix-blend-mode: normal;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 249, 0.97), rgba(255, 246, 247, 0.74) 42%, rgba(255, 237, 241, 0.18) 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 245, 246, 0.48));
}

.hero-video {
  filter: saturate(0.98) contrast(0.95) brightness(1.08);
}

.hero-grain {
  background-image:
    linear-gradient(rgba(164, 61, 75, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 61, 75, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12) 70%, transparent);
}

.hero-inner {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 430px);
}

.hero-copy {
  max-width: 960px;
}

.hero-kicker {
  border-color: rgba(207, 105, 123, 0.2);
  background: rgba(255, 255, 255, 0.68);
  color: #a04557;
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.72), 0 12px 30px rgba(176, 91, 105, 0.1);
}

.hero h1 {
  max-width: 940px;
  color: #5b2430;
  font-size: clamp(44px, 5.4vw, 86px);
  line-height: 1.08;
  text-shadow: 0 14px 38px rgba(255, 255, 255, 0.72);
}

.hero p {
  max-width: 840px;
  margin: 24px 0 32px;
  color: rgba(96, 60, 67, 0.82);
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 650;
  line-height: 1.72;
  text-shadow: none;
}

.hero-cta {
  border-color: rgba(229, 86, 117, 0.24);
  background: linear-gradient(135deg, #ff85a2, #ef5f82 56%, #d7486e);
  box-shadow: 0 18px 42px rgba(216, 77, 104, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.hero-note {
  display: block;
  margin-top: 24px;
  color: rgba(117, 79, 87, 0.72);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-console {
  border-color: rgba(207, 105, 123, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 246, 247, 0.52));
  box-shadow: 0 26px 72px rgba(176, 91, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-console-head {
  color: rgba(125, 76, 86, 0.74);
}

.hero-console-head span {
  background: linear-gradient(90deg, #ff7b9a, #ffd9df);
  box-shadow: 0 0 18px rgba(255, 125, 154, 0.34);
}

.hero-console-preview {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(207, 105, 123, 0.08);
}

.hero-console-preview i {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 22px rgba(255, 126, 155, 0.62), 0 0 48px rgba(255, 255, 255, 0.74);
}

.hero-console-grid div {
  border-color: rgba(207, 105, 123, 0.13);
  background: rgba(255, 255, 255, 0.64);
}

.hero-console-grid span {
  color: rgba(124, 83, 91, 0.62);
}

.hero-console-grid b {
  color: #7c3342;
}

.hero-style-strip img {
  border-color: rgba(207, 105, 123, 0.16);
  box-shadow: 0 12px 24px rgba(176, 91, 105, 0.12);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy {
    order: 1;
    max-width: 100%;
  }

  .hero-console {
    order: 2;
    justify-self: start;
    width: min(100%, 520px);
    margin-top: 10px;
  }

  .hero h1 {
    font-size: clamp(42px, 9vw, 70px);
  }
}

@media (max-width: 680px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 249, 0.98), rgba(255, 244, 247, 0.86) 58%, rgba(255, 238, 242, 0.52)),
      radial-gradient(circle at 48% 16%, rgba(255, 255, 255, 0.76), transparent 38%);
  }

  .hero h1 {
    font-size: clamp(34px, 10.6vw, 48px);
    line-height: 1.12;
  }

  .hero p {
    font-size: 16px;
  }
}

/* Pink polish refinement */
.hero {
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 161, 188, 0.34), transparent 34%),
    radial-gradient(circle at 38% 30%, rgba(255, 210, 222, 0.42), transparent 38%),
    linear-gradient(135deg, #fff5f8, #ffe5ed 56%, #fff8fa);
  color: #612233;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 248, 250, 0.94) 0%, rgba(255, 232, 240, 0.88) 34%, rgba(255, 197, 215, 0.46) 64%, rgba(255, 226, 235, 0.34) 100%),
    radial-gradient(circle at 24% 34%, rgba(255, 255, 255, 0.78), transparent 34%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 25%, rgba(255, 255, 255, 0.62) 26%, transparent 30%),
    repeating-linear-gradient(115deg, rgba(214, 68, 105, 0.07) 0 1px, transparent 1px 104px);
  opacity: 0.54;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 248, 250, 0.96), rgba(255, 231, 239, 0.78) 38%, rgba(255, 197, 216, 0.22) 76%),
    linear-gradient(180deg, rgba(255, 246, 249, 0.08), rgba(255, 214, 226, 0.42));
}

.hero-video {
  filter: saturate(1.08) contrast(0.96) brightness(1.1);
}

.hero-grain {
  background-image:
    linear-gradient(rgba(218, 70, 108, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 70, 108, 0.035) 1px, transparent 1px);
  opacity: 0.34;
}

.hero-inner {
  align-items: start;
  padding-top: clamp(70px, 9vh, 110px);
  padding-bottom: clamp(42px, 6vh, 72px);
}

.hero-copy {
  max-width: 980px;
}

.hero-kicker {
  margin-bottom: 22px;
  border-color: rgba(238, 92, 127, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: #b33c5c;
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.82), 0 14px 34px rgba(222, 73, 111, 0.13);
}

.hero h1 {
  max-width: 920px;
  color: #642035;
  font-size: clamp(42px, 4.45vw, 76px);
  line-height: 1.04;
  text-shadow: 0 14px 40px rgba(255, 255, 255, 0.82);
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 820px;
  margin: 22px 0 30px;
  color: rgba(105, 60, 72, 0.82);
  font-size: clamp(17px, 1.38vw, 22px);
}

.hero-cta {
  min-height: 72px;
  min-width: 300px;
  padding: 0 38px;
  border: 1px solid rgba(255, 189, 206, 0.64);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #ff8caf 0%, #f15284 46%, #d62a66 100%);
  color: #fff;
  box-shadow:
    0 22px 52px rgba(222, 48, 98, 0.28),
    0 8px 18px rgba(255, 125, 160, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -10px 26px rgba(134, 16, 58, 0.16);
  font-size: 23px;
  letter-spacing: 0.02em;
}

.hero .btn.primary.hero-cta {
  border: 1px solid rgba(255, 189, 206, 0.64);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, #ff8caf 0%, #f15284 46%, #d62a66 100%);
  box-shadow:
    0 22px 52px rgba(222, 48, 98, 0.28),
    0 8px 18px rgba(255, 125, 160, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -10px 26px rgba(134, 16, 58, 0.16);
}

.hero-cta::before {
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 28%, rgba(255, 255, 255, 0.18) 72%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 54%);
  pointer-events: none;
  content: "";
}

.hero-cta::after {
  z-index: 2;
}

.hero-cta i,
.hero-cta span {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 14px rgba(105, 12, 45, 0.28);
}

.hero-cta i {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.58));
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: #a0445e;
  font-size: 15px;
  font-weight: 800;
}

.hero-note span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, #8f3a50, #d94f7a 46%, #9f4056);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  backdrop-filter: none;
  animation: heroNoteGlow 3.4s ease-in-out infinite;
}

.hero-note span + span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 18px;
  border-radius: 50%;
  background: #ff6f9a;
  box-shadow: 0 0 12px rgba(255, 111, 154, 0.72), 0 0 24px rgba(255, 183, 203, 0.64);
  animation: heroDotPulse 2.2s ease-in-out infinite;
  content: "";
}

.hero-console {
  border-color: rgba(238, 92, 127, 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.82), rgba(255, 228, 237, 0.58));
  box-shadow: 0 30px 82px rgba(221, 83, 121, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-console-preview img {
  object-position: center;
  transform: scale(1.02);
}

.hero-console-grid div {
  border-color: rgba(238, 92, 127, 0.14);
  background: rgba(255, 250, 252, 0.72);
}

.hero-console-grid b {
  color: #9b2f50;
}

.hero-style-strip img {
  border-color: rgba(238, 92, 127, 0.2);
  box-shadow: 0 12px 28px rgba(221, 83, 121, 0.15);
}

@keyframes heroNoteGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 111, 154, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(255, 111, 154, 0.24));
  }
}

@keyframes heroDotPulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.58;
  }

  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(36px, 7.6vw, 58px);
  }
}

@media (max-width: 680px) {
  .hero-inner {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(28px, 7.7vw, 34px);
    line-height: 1.16;
  }

  .hero p {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    font-size: 21px;
  }

  .hero-note {
    gap: 8px 12px;
    font-size: 14px;
  }

  .hero-note span + span::before {
    margin-right: 12px;
  }
}

/* One-screen pink refinement */
.hero {
  height: calc(100svh - var(--nav-h));
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 126, 166, 0.32), transparent 32%),
    radial-gradient(circle at 35% 36%, rgba(255, 194, 212, 0.48), transparent 38%),
    linear-gradient(135deg, #fff3f7, #ffdce8 56%, #fff6fa);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 248, 251, 0.95) 0%, rgba(255, 225, 237, 0.9) 36%, rgba(255, 178, 205, 0.5) 66%, rgba(255, 218, 232, 0.34) 100%),
    radial-gradient(circle at 24% 34%, rgba(255, 255, 255, 0.82), transparent 34%);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 248, 251, 0.96), rgba(255, 226, 238, 0.8) 39%, rgba(255, 181, 207, 0.24) 78%),
    linear-gradient(180deg, rgba(255, 246, 249, 0.1), rgba(255, 202, 222, 0.45));
}

.hero-inner {
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  align-items: center;
  gap: clamp(28px, 4.8vw, 72px);
  padding-top: clamp(28px, 4.8vh, 54px);
  padding-bottom: clamp(20px, 3vh, 32px);
}

.hero-copy {
  display: grid;
  align-content: start;
  max-width: 940px;
  transform: translateY(-12px);
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 4.05vw, 66px);
  line-height: 1.02;
}

.hero p {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.58;
}

.hero-actions {
  margin-bottom: 22px;
}

.hero .btn.primary.hero-cta {
  min-height: 66px;
  min-width: 280px;
  border-color: rgba(255, 176, 199, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 46%, rgba(181, 36, 82, 0.1)),
    linear-gradient(135deg, #ffabc3 0%, #f8759c 48%, #e14f7f 100%);
  box-shadow:
    0 18px 42px rgba(225, 79, 127, 0.22),
    0 8px 20px rgba(255, 171, 195, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -9px 22px rgba(161, 32, 77, 0.12);
  font-size: 21px;
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 210px));
  gap: 12px;
  max-width: 440px;
  margin-top: 0;
}

.hero-note span {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 129, 166, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 231, 239, 0.5)),
    linear-gradient(135deg, rgba(255, 145, 178, 0.18), transparent);
  color: #b4335d;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  box-shadow: 0 14px 34px rgba(220, 73, 114, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.hero-note span::after {
  position: absolute;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6f9a;
  box-shadow: 0 0 14px rgba(255, 111, 154, 0.78), 0 0 28px rgba(255, 183, 203, 0.64);
  animation: heroDotPulse 2.2s ease-in-out infinite;
  content: "";
}

.hero-note span + span::before {
  display: none;
}

.hero-console {
  width: min(410px, 100%);
  padding: 13px;
  border-radius: 18px;
  transform: translateY(-6px);
}

.hero-console-head {
  margin-bottom: 9px;
  font-size: 11px;
}

.hero-console-head span {
  width: 44px;
  height: 9px;
}

.hero-console-preview {
  aspect-ratio: 1.14 / 0.88;
  border-radius: 16px;
}

.hero-console-preview::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 126, 166, 0.1), rgba(255, 225, 236, 0.2));
  mix-blend-mode: soft-light;
  pointer-events: none;
  content: "";
}

.hero-console-preview img {
  transform: scale(1.03);
  filter: saturate(1.08) hue-rotate(-6deg) brightness(1.03);
}

.hero-console-grid {
  gap: 8px;
  margin-top: 9px;
}

.hero-console-grid div {
  padding: 9px 10px;
  border-radius: 12px;
}

.hero-console-grid span {
  font-size: 11px;
}

.hero-console-grid b {
  font-size: 19px;
}

.hero-style-strip {
  gap: 7px;
  margin-top: 9px;
}

.hero-style-strip img {
  aspect-ratio: 1.18 / 0.82;
  border-radius: 11px;
  filter: saturate(1.06) hue-rotate(-4deg);
}

@media (max-width: 980px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    overflow: visible;
  }

  .hero-inner {
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .hero-copy,
  .hero-console {
    transform: none;
  }

  .hero-note {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(27px, 7.2vw, 32px);
  }

  .hero p {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero .btn.primary.hero-cta {
    min-height: 60px;
    font-size: 20px;
  }

  .hero-note {
    gap: 9px;
  }

  .hero-note span {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* Navigation, logo, and try-on polish */
.topbar-inner {
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  width: min(1760px, calc(100% - 72px));
}

.brand {
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(228, 67, 112, 0.28);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(255, 226, 237, 0.74) 58%, rgba(255, 188, 211, 0.5)),
    #fff;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.56), 0 14px 34px rgba(221, 83, 121, 0.16);
}

.brand-mark i {
  display: none;
}

.brand-mark-core {
  position: relative;
  z-index: 2;
  color: #b72f58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-mark-orbit {
  position: absolute;
  inset: 11px;
  border: 1.5px solid rgba(183, 47, 88, 0.38);
  border-radius: 50%;
}

.brand-mark-orbit::before,
.brand-mark-orbit::after {
  position: absolute;
  inset: 7px 2px;
  border-top: 1.5px solid rgba(183, 47, 88, 0.42);
  border-bottom: 1.5px solid rgba(183, 47, 88, 0.22);
  border-radius: 50%;
  content: "";
}

.brand-mark-spark {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6f9a;
  box-shadow: 0 0 14px rgba(255, 111, 154, 0.72);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-cn {
  color: #b33255;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1;
}

.brand-en {
  margin-top: 0;
  color: #be4967;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  justify-content: flex-end;
  gap: clamp(26px, 3.8vw, 76px);
  padding-right: clamp(14px, 5vw, 96px);
}

.hero-kicker {
  display: none;
}

.hero-copy {
  transform: translateY(-4px);
}

.hero-console-head {
  min-height: 9px;
  justify-content: flex-start;
  margin-bottom: 8px;
}

.hero-console-head strong {
  display: none;
}

.hero-console-preview img {
  filter: saturate(1.04) contrast(0.98) brightness(1.03);
  object-position: center;
}

.hero-note {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 0;
  max-width: 620px;
  margin-top: 2px;
  padding: 18px 0 0;
}

.hero-note::before {
  position: absolute;
  top: 5px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221, 73, 114, 0.5), transparent);
  content: "";
}

.hero-note span {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b7355d;
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
  animation: none;
}

.hero-note span::before {
  display: block;
  width: 9px;
  height: 9px;
  margin: -17px 0 12px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #ff77a3;
  box-shadow: 0 0 0 6px rgba(255, 119, 163, 0.12), 0 0 18px rgba(255, 119, 163, 0.58);
  content: "";
}

.hero-note span::after {
  display: none;
}

.hero-note b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.hero-note small {
  display: block;
  margin-top: 4px;
  color: rgba(132, 73, 87, 0.64);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  }

  .nav {
    gap: 24px;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-cn {
    font-size: 20px;
  }

  .brand-en {
    font-size: 16px;
  }

  .nav {
    justify-content: flex-start;
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .hero-note {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
    padding-top: 16px;
  }

  .hero-note b {
    font-size: 12px;
  }

  .hero-note small {
    font-size: 10px;
  }
}

/* NailMuse homepage refinement */
.topbar {
  background:
    linear-gradient(180deg, rgba(255, 252, 252, 0.96), rgba(255, 247, 248, 0.9)),
    rgba(255, 255, 255, 0.86);
}

.topbar-inner {
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  width: min(1780px, calc(100% - 72px));
}

.brand {
  gap: 13px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: visible;
  border: 1px solid rgba(214, 151, 166, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.98), rgba(251, 238, 239, 0.78) 58%, rgba(244, 215, 222, 0.62)),
    #fffafa;
  box-shadow:
    0 16px 36px rgba(214, 151, 166, 0.14),
    inset 0 0 0 8px rgba(255, 255, 255, 0.5);
}

.brand-mark svg {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: #c86f82;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark-tip,
.brand-mark-leaf {
  fill: rgba(255, 248, 249, 0.54);
}

.brand-mark-core,
.brand-mark-orbit,
.brand-mark-spark {
  display: none;
}

.brand-copy {
  gap: 5px;
  transform: translateY(1px);
}

.brand-cn {
  color: #8c6b73;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(28px, 2.05vw, 38px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 0.95;
}

.brand-en {
  color: #a77b86;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(13px, 0.88vw, 16px);
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1;
}

.nav {
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 78px);
  padding-right: clamp(4px, 2vw, 42px);
}

.hero {
  background:
    radial-gradient(circle at 74% 13%, rgba(244, 215, 222, 0.66), transparent 30%),
    radial-gradient(circle at 36% 47%, rgba(251, 238, 239, 0.84), transparent 42%),
    linear-gradient(135deg, #fff8f9 0%, #fbecef 38%, #f4d7de 100%);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 251, 0.96) 0%, rgba(255, 240, 244, 0.9) 39%, rgba(244, 215, 222, 0.42) 73%, rgba(234, 215, 205, 0.28) 100%),
    radial-gradient(circle at 22% 38%, rgba(255, 255, 255, 0.82), transparent 34%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(255, 255, 255, 0.52) 27%, transparent 31%),
    repeating-linear-gradient(115deg, rgba(214, 151, 166, 0.08) 0 1px, transparent 1px 108px);
  opacity: 0.45;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 251, 0.98), rgba(251, 238, 239, 0.9) 38%, rgba(244, 215, 222, 0.42) 78%),
    linear-gradient(180deg, rgba(255, 250, 251, 0.1), rgba(244, 215, 222, 0.42));
}

.hero-backdrop {
  position: absolute;
  inset: -5% -4%;
  width: 108%;
  height: 110%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.98) contrast(0.96) brightness(1.06);
  transform-origin: 72% 42%;
  animation: nailMuseBackdropFloat 18s ease-in-out infinite alternate;
}

.hero-video,
.hero-poster {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(440px, clamp(520px, 27vw, 600px));
  gap: clamp(30px, 4.2vw, 68px);
  padding-top: clamp(22px, 4vh, 42px);
  padding-bottom: clamp(18px, 3vh, 30px);
}

.hero-copy {
  max-width: 900px;
  transform: translateY(-18px);
}

.hero h1 {
  display: grid;
  gap: 0.13em;
  max-width: 900px;
  color: #6d2237;
  font-size: clamp(39px, 3.9vw, 63px);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(255, 255, 255, 0.82);
}

.hero p {
  max-width: 790px;
  margin: 22px 0 28px;
  color: rgba(108, 74, 83, 0.82);
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 700;
}

.hero-actions {
  margin-bottom: 24px;
}

.hero .btn.primary.hero-cta {
  min-width: 304px;
  min-height: 68px;
  border: 1px solid rgba(244, 215, 222, 0.86);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.14) 46%, rgba(214, 151, 166, 0.12)),
    linear-gradient(135deg, #f4d7de 0%, #f0abc0 50%, #d697a6 100%);
  color: #fff;
  box-shadow:
    0 18px 42px rgba(214, 151, 166, 0.24),
    0 7px 18px rgba(244, 215, 222, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -8px 20px rgba(140, 107, 115, 0.1);
  font-size: 21px;
}

.hero .btn.primary.hero-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.17) 46%, rgba(214, 151, 166, 0.1)),
    linear-gradient(135deg, #f7dfe5 0%, #f3b7c9 48%, #dba2ae 100%);
}

.hero-cta::before {
  border-radius: 11px;
  background:
    linear-gradient(105deg, transparent 0 22%, rgba(255, 255, 255, 0.42) 34%, transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 54%);
}

.hero-cta i,
.hero-cta span {
  text-shadow: 0 2px 12px rgba(140, 107, 115, 0.24);
}

.hero-note {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(105px, 1fr));
  gap: 0;
  width: min(740px, 100%);
  max-width: 740px;
  margin: 4px 0 0;
  padding-top: 23px;
}

.hero-note::before {
  top: 8px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 151, 166, 0), rgba(183, 170, 174, 0.5), rgba(183, 170, 174, 0.34), rgba(214, 151, 166, 0));
}

.hero-note span {
  justify-items: center;
  color: #9d3e5e;
  text-align: center;
}

.hero-note span::before {
  width: 12px;
  height: 12px;
  margin: -22px 0 13px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: #cfc0c4;
  box-shadow: 0 0 0 7px rgba(201, 189, 193, 0.12);
}

.hero-note span:first-child::before {
  background: #ff7aa4;
  box-shadow: 0 0 0 7px rgba(255, 122, 164, 0.16), 0 0 18px rgba(255, 122, 164, 0.54);
}

.hero-note b {
  color: #bd315c;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-note small {
  margin-top: 6px;
  color: rgba(140, 107, 115, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.hero-console {
  width: min(clamp(520px, 27vw, 600px), 100%);
  padding: 17px;
  border: 1px solid rgba(214, 151, 166, 0.3);
  border-radius: 23px;
  background:
    linear-gradient(180deg, rgba(255, 252, 252, 0.9), rgba(251, 238, 239, 0.68)),
    rgba(255, 248, 249, 0.72);
  box-shadow:
    0 30px 76px rgba(214, 151, 166, 0.24),
    0 12px 34px rgba(244, 215, 222, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-6px);
}

.hero-console-head {
  min-height: 12px;
  margin-bottom: 13px;
}

.hero-console-head span {
  width: 54px;
  height: 11px;
  background: linear-gradient(90deg, #f97aa1, #f4d7de);
}

.hero-console-preview {
  aspect-ratio: 1.12 / 0.88;
  border-radius: 19px;
}

.hero-console-preview img {
  transform: scale(1.02);
  filter: saturate(0.98) contrast(0.98) brightness(1.03);
}

.hero-console-preview i {
  opacity: 0.58;
}

.hero-console-grid {
  gap: 10px;
  margin-top: 13px;
}

.hero-console-grid div {
  padding: 12px 14px;
  border: 1px solid rgba(214, 151, 166, 0.16);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 252, 252, 0.82), rgba(251, 238, 239, 0.62)),
    rgba(255, 250, 251, 0.76);
}

.hero-console-grid span {
  color: rgba(140, 107, 115, 0.66);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.hero-console-grid b {
  margin-top: 5px;
  color: #a6556d;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-style-strip {
  display: none;
}

@keyframes nailMuseBackdropFloat {
  0% {
    transform: translate3d(-1.2%, 0, 0) scale(1.02);
  }

  50% {
    transform: translate3d(1.2%, -1.2%, 0) scale(1.055);
  }

  100% {
    transform: translate3d(-0.4%, 1%, 0) scale(1.035);
  }
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    gap: 30px;
  }

  .hero-console {
    width: min(460px, 100%);
  }

  .hero h1 {
    font-size: clamp(36px, 4.2vw, 54px);
  }
}

@media (max-width: 980px) {
  .hero-backdrop {
    opacity: 0.72;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    transform: none;
  }

  .hero-console {
    width: min(520px, 100%);
    transform: none;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    width: min(100% - 36px, 1780px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand-cn {
    font-size: 25px;
  }

  .brand-en {
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    gap: 0.1em;
    font-size: clamp(29px, 7vw, 34px);
    line-height: 1.13;
  }

  .hero .btn.primary.hero-cta {
    min-width: 0;
    min-height: 62px;
  }

  .hero-note {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .hero-note b {
    font-size: 12px;
  }

  .hero-note small {
    font-size: 10px;
  }
}

/* NailMuse texture and alignment pass */
.topbar {
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 151, 166, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 238, 239, 0.72)),
    radial-gradient(circle at 16% 0%, rgba(244, 215, 222, 0.82), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(234, 215, 205, 0.56), transparent 28%),
    rgba(255, 249, 250, 0.9);
  box-shadow: 0 14px 34px rgba(214, 151, 166, 0.12);
  backdrop-filter: blur(20px);
}

.topbar::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(112deg, rgba(214, 151, 166, 0.055) 0 1px, transparent 1px 82px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(244, 215, 222, 0.16), rgba(255, 255, 255, 0.24));
  opacity: 0.72;
  pointer-events: none;
  content: "";
}

.brand-mark {
  border-color: rgba(214, 151, 166, 0.52);
  background:
    radial-gradient(circle at 36% 24%, #fff, rgba(251, 238, 239, 0.84) 55%, rgba(244, 215, 222, 0.72)),
    #fffafa;
  box-shadow:
    0 18px 38px rgba(214, 151, 166, 0.18),
    inset 0 0 0 8px rgba(255, 255, 255, 0.56);
}

.nav-item {
  color: #50343d;
}

.nav-item.active {
  color: #df507b;
}

.hero {
  background:
    radial-gradient(circle at 77% 16%, rgba(214, 151, 166, 0.34), transparent 28%),
    radial-gradient(circle at 64% 72%, rgba(244, 215, 222, 0.72), transparent 31%),
    radial-gradient(circle at 20% 36%, rgba(255, 255, 255, 0.88), transparent 38%),
    linear-gradient(135deg, #fff9fa 0%, #fbe6ec 43%, #f3cbd6 100%);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 251, 0.92) 0%, rgba(255, 241, 245, 0.8) 31%, rgba(244, 215, 222, 0.22) 61%, rgba(214, 151, 166, 0.1) 100%),
    radial-gradient(circle at 31% 32%, rgba(255, 255, 255, 0.66), transparent 28%),
    radial-gradient(circle at 76% 50%, rgba(214, 151, 166, 0.22), transparent 32%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 25%, rgba(255, 255, 255, 0.44) 26%, transparent 31%),
    repeating-linear-gradient(115deg, rgba(214, 151, 166, 0.1) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.22), transparent 17%);
  opacity: 0.74;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 251, 0.94) 0%, rgba(255, 239, 244, 0.74) 31%, rgba(244, 215, 222, 0.2) 63%, rgba(214, 151, 166, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 248, 250, 0.06), rgba(214, 151, 166, 0.28));
}

.hero-backdrop {
  opacity: 0.92;
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
  object-position: center right;
}

.hero-grain {
  background-image:
    radial-gradient(circle at 18% 20%, rgba(214, 151, 166, 0.14) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.5px),
    repeating-linear-gradient(112deg, rgba(214, 151, 166, 0.045) 0 1px, transparent 1px 74px);
  background-size: 18px 18px, 22px 22px, auto;
  opacity: 0.64;
}

.hero .btn.primary.hero-cta {
  border-color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16) 45%, rgba(214, 151, 166, 0.08)),
    linear-gradient(135deg, #f8ced9 0%, #ef9eb6 52%, #d697a6 100%);
  box-shadow:
    0 20px 44px rgba(214, 151, 166, 0.3),
    0 8px 20px rgba(244, 215, 222, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -8px 20px rgba(140, 107, 115, 0.08);
}

.hero .btn.primary.hero-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18) 45%, rgba(214, 151, 166, 0.07)),
    linear-gradient(135deg, #fbd8e1 0%, #f2adc1 52%, #dca5af 100%);
}

.hero-note {
  width: min(760px, 100%);
  max-width: 760px;
  margin-left: 0;
  padding-top: 28px;
}

.hero-note::before {
  top: 11px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 170, 174, 0.28), rgba(183, 170, 174, 0.54), rgba(183, 170, 174, 0.32));
}

.hero-note span {
  z-index: 1;
}

.hero-note span::before {
  position: relative;
  z-index: 2;
  display: block;
  width: 13px;
  height: 13px;
  margin: -28px 0 14px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: #bfb4b9;
  box-shadow:
    0 0 0 6px rgba(191, 180, 185, 0.16),
    inset 0 0 0 1px rgba(140, 107, 115, 0.08);
  content: "";
}

.hero-note span + span::before {
  display: block;
  width: 13px;
  height: 13px;
  margin: -28px 0 14px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: #bfb4b9;
  box-shadow:
    0 0 0 6px rgba(191, 180, 185, 0.16),
    inset 0 0 0 1px rgba(140, 107, 115, 0.08);
  animation: none;
  content: "";
}

.hero-note span:first-child::before {
  width: 16px;
  height: 16px;
  margin-top: -30px;
  background: #ff78a2;
  box-shadow:
    0 0 0 9px rgba(255, 120, 162, 0.18),
    0 0 20px rgba(255, 120, 162, 0.58);
}

.hero-note b {
  color: #c73565;
}

.hero-note small {
  color: rgba(140, 107, 115, 0.72);
}

.hero-console-preview img {
  object-position: center;
  transform: scale(1.01);
}

.trend-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero-console-grid b.trend-value {
  display: inline-flex;
  align-items: center;
}

.trend-value i {
  width: 19px;
  height: 19px;
  stroke-width: 2.5;
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .hero-note::before {
    left: 0;
    right: 0;
  }

  .hero-note span::before {
    width: 10px;
    height: 10px;
    margin-top: -25px;
  }

  .hero-note span + span::before {
    width: 10px;
    height: 10px;
    margin-top: -25px;
  }

  .hero-note span:first-child::before {
    width: 13px;
    height: 13px;
    margin-top: -27px;
  }
}

/* NailMuse warmer pink polish */
.topbar {
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.94), rgba(255, 238, 244, 0.78)),
    radial-gradient(circle at 14% 0%, rgba(255, 193, 211, 0.5), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(244, 215, 222, 0.66), transparent 30%),
    rgba(255, 246, 249, 0.92);
  box-shadow: 0 14px 34px rgba(214, 151, 166, 0.14);
}

.hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(239, 142, 172, 0.34), transparent 28%),
    radial-gradient(circle at 58% 76%, rgba(255, 178, 205, 0.48), transparent 34%),
    radial-gradient(circle at 19% 34%, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(135deg, #fff5f9 0%, #ffe1eb 42%, #f5b7c9 100%);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.88) 0%, rgba(255, 232, 239, 0.72) 32%, rgba(247, 186, 206, 0.28) 61%, rgba(214, 151, 166, 0.1) 100%),
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.56), transparent 30%),
    radial-gradient(circle at 77% 50%, rgba(234, 132, 164, 0.22), transparent 34%);
}

.hero::after {
  background:
    linear-gradient(115deg, transparent 0 25%, rgba(255, 255, 255, 0.42) 26%, transparent 31%),
    repeating-linear-gradient(115deg, rgba(214, 116, 146, 0.095) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.2), transparent 17%);
  opacity: 0.78;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.9) 0%, rgba(255, 232, 240, 0.64) 30%, rgba(247, 179, 202, 0.16) 62%, rgba(214, 151, 166, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 248, 250, 0.04), rgba(231, 135, 165, 0.22));
}

.hero-backdrop {
  opacity: 0.96;
  filter: saturate(1.22) contrast(1.05) brightness(1.02);
}

.hero-grain {
  background-image:
    radial-gradient(circle at 18% 20%, rgba(214, 116, 146, 0.13) 0 1px, transparent 1.35px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.5px),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.052) 0 1px, transparent 1px 70px);
  opacity: 0.7;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(400px, clamp(468px, 24.3vw, 540px));
}

.hero-console {
  width: min(clamp(468px, 24.3vw, 540px), 100%);
}

.hero .btn.primary.hero-cta {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.22) 42%, rgba(150, 85, 101, 0.12)),
    linear-gradient(135deg, #fde3eb 0%, #f4b5c7 38%, #d88ea2 72%, #b86d83 100%);
  box-shadow:
    0 18px 38px rgba(184, 109, 131, 0.24),
    0 8px 22px rgba(247, 186, 206, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -10px 24px rgba(117, 56, 73, 0.12);
}

.hero .btn.primary.hero-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.26) 42%, rgba(150, 85, 101, 0.1)),
    linear-gradient(135deg, #ffeaf0 0%, #f7c0cf 38%, #df9bad 72%, #c07b90 100%);
}

.hero-cta::before {
  background:
    linear-gradient(105deg, transparent 0 22%, rgba(255, 255, 255, 0.5) 34%, transparent 49%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 54%);
}

.hero-note::before {
  top: 9px;
  background: linear-gradient(90deg, rgba(188, 177, 181, 0.2), rgba(188, 177, 181, 0.38), rgba(188, 177, 181, 0.22));
}

.hero-note span::before,
.hero-note span + span::before {
  width: 9px;
  height: 9px;
  margin: -25px 0 13px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  background: #cfc5c9;
  box-shadow:
    0 0 0 5px rgba(188, 177, 181, 0.12),
    inset 0 0 0 1px rgba(140, 107, 115, 0.06);
}

.hero-note span:first-child::before {
  width: 12px;
  height: 12px;
  margin-top: -27px;
  background: #ff8aae;
  box-shadow:
    0 0 0 7px rgba(255, 138, 174, 0.14),
    0 0 14px rgba(255, 138, 174, 0.34);
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 414px);
  }

  .hero-console {
    width: min(414px, 100%);
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-console {
    width: min(468px, 100%);
  }
}

@media (max-width: 680px) {
  .hero-note span::before,
  .hero-note span + span::before {
    width: 8px;
    height: 8px;
    margin-top: -24px;
  }

  .hero-note span:first-child::before {
    width: 11px;
    height: 11px;
    margin-top: -26px;
  }
}

/* NailMuse animated nail accents */
.hero-floating-nails,
.hero-nail-marquee {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-floating-nails {
  inset: 0;
}

.hero-float-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 249, 251, 0.34);
  box-shadow:
    0 18px 42px rgba(216, 142, 162, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  opacity: 0.18;
  transform: rotate(var(--r, -4deg));
  animation: heroFloatNail 12s ease-in-out infinite;
  backdrop-filter: blur(2px);
}

.hero-float-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) brightness(1.08);
}

.hero-float-card.float-1 {
  --r: -5deg;
  top: 8%;
  right: 28%;
  width: clamp(98px, 8vw, 148px);
  aspect-ratio: 1.08 / 1;
  animation-delay: -1s;
}

.hero-float-card.float-2 {
  --r: 6deg;
  top: 16%;
  right: 8%;
  width: clamp(92px, 7.4vw, 132px);
  aspect-ratio: 1.16 / 1;
  opacity: 0.15;
  animation-delay: -5.4s;
}

.hero-float-card.float-3 {
  --r: 3deg;
  top: 35%;
  left: 46%;
  width: clamp(84px, 6.6vw, 118px);
  aspect-ratio: 1 / 1.08;
  opacity: 0.13;
  animation-delay: -8s;
}

.hero-float-card.float-4 {
  --r: -8deg;
  top: 4%;
  left: 52%;
  width: clamp(82px, 6.2vw, 112px);
  aspect-ratio: 1.2 / 1;
  opacity: 0.12;
  animation-delay: -3.2s;
}

.hero-float-card.float-5 {
  --r: 7deg;
  top: 27%;
  right: 42%;
  width: clamp(76px, 6vw, 108px);
  aspect-ratio: 1.08 / 1;
  opacity: 0.11;
  animation-delay: -6.5s;
}

.hero-nail-marquee {
  right: 1.8%;
  bottom: 2.6%;
  left: 34%;
  height: clamp(86px, 10.5vh, 126px);
  overflow: hidden;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 86%, transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: clamp(14px, 1.5vw, 24px);
  align-items: center;
  animation: heroNailMarquee 36s linear infinite;
}

.hero-marquee-track img {
  width: clamp(112px, 8.8vw, 168px);
  height: clamp(70px, 8vh, 98px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 18px;
  background: rgba(255, 246, 249, 0.36);
  box-shadow:
    0 18px 40px rgba(216, 142, 162, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  filter: saturate(0.98) brightness(1.06);
}

.hero .btn.primary.hero-cta {
  border-color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.34) 45%, rgba(216, 142, 162, 0.08)),
    linear-gradient(135deg, #fff0f5 0%, #fad2dd 44%, #ebb1c2 76%, #d99aae 100%);
  box-shadow:
    0 18px 38px rgba(216, 142, 162, 0.2),
    0 8px 22px rgba(255, 210, 223, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -9px 22px rgba(151, 82, 101, 0.08);
}

.hero .btn.primary.hero-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.38) 45%, rgba(216, 142, 162, 0.06)),
    linear-gradient(135deg, #fff5f8 0%, #fbdbe4 44%, #efbdca 76%, #dea8b8 100%);
}

@keyframes heroFloatNail {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--r));
  }

  50% {
    transform: translate3d(10px, -16px, 0) rotate(calc(var(--r) + 2deg));
  }
}

@keyframes heroNailMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 980px) {
  .hero-nail-marquee {
    left: 4%;
    right: 4%;
    bottom: 1.4%;
    opacity: 0.2;
  }

  .hero-floating-nails {
    opacity: 0.72;
  }
}

@media (max-width: 680px) {
  .hero-floating-nails {
    display: none;
  }

  .hero-nail-marquee {
    height: 70px;
    opacity: 0.18;
  }

  .hero-marquee-track img {
    width: 100px;
    height: 58px;
    border-radius: 14px;
  }
}

/* NailMuse global premium UI upgrade */
:root {
  --ink: #39252d;
  --ink-soft: #5f4650;
  --muted: #9b7a84;
  --rose: #e85c89;
  --rose-deep: #9f4660;
  --rose-soft: #ffe4ee;
  --paper: rgba(255, 250, 252, 0.82);
  --paper-solid: #fff9fb;
  --line: rgba(216, 142, 162, 0.2);
  --line-strong: rgba(216, 142, 162, 0.34);
  --shadow: 0 22px 58px rgba(167, 87, 111, 0.16);
  --shadow-soft: 0 12px 30px rgba(167, 87, 111, 0.11);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 216, 228, 0.8), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(244, 184, 202, 0.48), transparent 32%),
    linear-gradient(135deg, #fff6f9 0%, #ffeaf1 46%, #fff9fb 100%);
}

.topbar {
  background:
    linear-gradient(180deg, rgba(255, 247, 251, 0.96), rgba(255, 229, 238, 0.84)),
    radial-gradient(circle at 15% 0%, rgba(255, 190, 211, 0.58), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(255, 218, 229, 0.82), transparent 34%),
    rgba(255, 239, 245, 0.92);
  box-shadow:
    0 16px 36px rgba(214, 151, 166, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.64);
}

.topbar::before {
  background:
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.06) 0 1px, transparent 1px 82px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 195, 214, 0.22), rgba(255, 255, 255, 0.18));
  opacity: 0.82;
}

.brand-mark-tip {
  display: none;
}

.brand-mark svg {
  transform: translateY(1px);
}

.hero-nail-marquee {
  bottom: 1.4%;
  height: clamp(120px, 14vh, 170px);
  opacity: 0.36;
}

.hero-marquee-track {
  align-items: center;
  animation-name: heroNailMarqueeCurve;
  animation-duration: 42s;
}

.hero-marquee-track img {
  opacity: 0.72;
  animation: heroNailWave 7.8s ease-in-out infinite;
}

.hero-marquee-track img:nth-child(3n + 1) {
  animation-delay: -1.2s;
}

.hero-marquee-track img:nth-child(3n + 2) {
  animation-delay: -3.8s;
}

.hero-marquee-track img:nth-child(3n + 3) {
  animation-delay: -5.4s;
}

.hero .btn.primary.hero-cta {
  color: #89465b;
  border-color: rgba(255, 255, 255, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 249, 0.44) 42%, rgba(226, 153, 174, 0.08)),
    linear-gradient(135deg, #fff7fa 0%, #fbdce6 42%, #f0becd 76%, #dfa6b8 100%);
  box-shadow:
    0 18px 40px rgba(216, 142, 162, 0.2),
    0 8px 22px rgba(255, 210, 223, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -8px 20px rgba(151, 82, 101, 0.07);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hero .btn.primary.hero-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 250, 0.48) 42%, rgba(226, 153, 174, 0.06)),
    linear-gradient(135deg, #fffafd 0%, #fde5ec 42%, #f3c8d5 76%, #e5b4c3 100%);
}

.hero-cta i,
.hero-cta span {
  color: inherit;
  text-shadow: inherit;
  filter: none;
}

@keyframes heroNailMarqueeCurve {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroNailWave {
  0%,
  100% {
    transform: translateY(18px) rotate(-2deg);
  }

  33% {
    transform: translateY(-10px) rotate(1.5deg);
  }

  66% {
    transform: translateY(8px) rotate(-0.8deg);
  }
}

.page {
  position: relative;
}

.page::before {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 219, 230, 0.6), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(244, 184, 202, 0.42), transparent 28%),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.035) 0 1px, transparent 1px 86px);
  content: "";
}

.page-title {
  color: #7a2f48;
  text-shadow: 0 12px 30px rgba(255, 255, 255, 0.72);
}

.page-subtitle,
.preview-text,
.store-meta,
.muted {
  color: rgba(95, 70, 80, 0.74);
}

.panel,
.modal-card,
.store-card,
.style-tile,
.metric,
.demand-start,
.demand-source-large .source-option,
.preview-box,
.store-context,
.store-style-hero,
.store-detail,
.store-detail-grid span,
.store-mini-line,
.merchant-site-panel,
.merchant-outside-panel,
.merchant-core-panel,
.merchant-demand-panel,
.merchant-agent-panel,
.merchant-demand-panel .quote-card,
.merchant-modal-list .quote-card,
.mine-detail-head,
.mine-record-card,
.modal-stat,
.trend-item,
.trend-movement,
.persona-img,
.style-hero,
.stepper {
  border: 1px solid rgba(216, 142, 162, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 242, 247, 0.64)),
    rgba(255, 250, 252, 0.74);
  box-shadow:
    0 18px 48px rgba(167, 87, 111, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.panel:hover,
.store-card:hover,
.style-tile:hover,
.demand-source-large .source-option:hover,
.trend-item:hover,
.mine-record-card:hover,
.merchant-demand-panel .quote-card:hover,
.merchant-modal-list .quote-card:hover {
  border-color: rgba(232, 92, 137, 0.32);
  box-shadow:
    0 22px 54px rgba(167, 87, 111, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.panel-title,
.style-card h3,
.store-card h3,
.store-detail h3,
.demand-source-large .source-option strong,
.trend-item strong,
.quote-card h3 {
  color: #7a3049;
}

.metric b,
.modal-stat b,
.store-detail-grid b,
.trend-up {
  color: #b4516d;
}

.tag,
.store-badge,
.pill,
.chip {
  border-color: rgba(216, 142, 162, 0.22);
  background: rgba(255, 236, 243, 0.7);
  color: #9a4b61;
}

.input,
input[type="text"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
  border-color: rgba(216, 142, 162, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 248, 0.74)),
    rgba(255, 250, 252, 0.8);
  color: #4f3440;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.input:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(232, 92, 137, 0.48);
  box-shadow:
    0 0 0 4px rgba(232, 92, 137, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.btn:not(.hero-cta) {
  border-color: rgba(216, 142, 162, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 235, 242, 0.62)),
    rgba(255, 248, 250, 0.72);
  color: #8f4259;
  box-shadow:
    0 10px 24px rgba(167, 87, 111, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.btn.primary:not(.hero-cta) {
  border-color: rgba(255, 255, 255, 0.66);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(135deg, #f78fb0, #df658d 58%, #b94e70);
  color: #fff;
  box-shadow:
    0 16px 34px rgba(199, 75, 113, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn.secondary:not(.hero-cta),
.btn.soft:not(.hero-cta) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 239, 245, 0.62)),
    rgba(255, 248, 250, 0.72);
  color: #8b4358;
}

.step.active,
.step.done {
  color: #e85c89;
}

.step.active {
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(135deg, #f284a6, #dc5b84);
  color: #fff;
  box-shadow:
    0 14px 28px rgba(220, 91, 132, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.step.done {
  color: #b4516d;
}

.step.active .step-number,
.step.done .step-number {
  background: linear-gradient(135deg, #ff8aae, #e85c89);
  box-shadow: 0 0 0 5px rgba(255, 138, 174, 0.12);
}

.modal-backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 210, 224, 0.28), transparent 34%),
    rgba(63, 38, 48, 0.3);
  backdrop-filter: blur(18px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track,
  .hero-marquee-track img {
    animation: none;
  }
}

/* AI analysis one-screen studio */
.analysis-page {
  width: 100%;
  min-height: calc(100svh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
  padding: clamp(18px, 2.6vh, 28px) min(3vw, 42px) clamp(18px, 2.4vh, 26px);
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 159, 190, 0.34), transparent 28%),
    radial-gradient(circle at 14% 40%, rgba(255, 255, 255, 0.72), transparent 35%),
    linear-gradient(135deg, #fff4f8 0%, #ffddea 46%, #f8bfd1 100%);
  isolation: isolate;
}

.analysis-page::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.7), rgba(255, 230, 239, 0.44), rgba(245, 169, 196, 0.18)),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.06) 0 1px, transparent 1px 90px);
  content: "";
}

.analysis-page::after {
  position: absolute;
  right: 3vw;
  bottom: -5vh;
  z-index: -1;
  width: min(46vw, 650px);
  aspect-ratio: 1.35 / 1;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 168, 196, 0.2)),
    url("./public/assets/hero-atmosphere-pink-aigc.png") center / cover;
  opacity: 0.42;
  filter: saturate(1.15) blur(0.2px);
  mask-image: linear-gradient(180deg, #000, transparent 94%);
  content: "";
}

.analysis-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  width: min(1680px, 100%);
  margin: 0 auto;
}

.analysis-page .page-head {
  align-items: end;
  min-height: 0;
  margin-bottom: clamp(12px, 1.6vh, 18px);
}

.analysis-page .page-title {
  font-size: clamp(46px, 5.1vw, 78px);
  line-height: 0.92;
}

.analysis-page .page-subtitle {
  display: none;
}

.analysis-page .stepper {
  grid-template-columns: minmax(160px, 1fr) 34px minmax(180px, 1fr) 34px minmax(150px, 1fr);
  width: min(860px, 64vw);
  margin: 0 0 clamp(14px, 2vh, 20px);
  gap: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.analysis-page .step {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 242, 247, 0.58)),
    rgba(255, 250, 252, 0.68);
  box-shadow:
    0 12px 28px rgba(167, 87, 111, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.analysis-page .step.active {
  border-color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(135deg, #ff94b7, #e75e8f);
  color: #fff;
}

.analysis-page .step-number {
  width: 28px;
  height: 28px;
}

.analysis-page .step-sep {
  color: rgba(157, 79, 102, 0.32);
}

.analysis-upload-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  min-height: 0;
  height: 100%;
  gap: clamp(18px, 2.2vw, 28px);
}

.analysis-upload-panel,
.analysis-guide-panel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 241, 247, 0.68)),
    rgba(255, 248, 251, 0.74);
  box-shadow:
    0 24px 60px rgba(167, 87, 111, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.analysis-upload-panel::before,
.analysis-guide-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 173, 201, 0.22), transparent 28%),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.035) 0 1px, transparent 1px 72px);
  content: "";
}

.analysis-upload-panel::after,
.analysis-guide-panel::after {
  position: absolute;
  right: clamp(18px, 2.2vw, 32px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 0;
  width: min(34%, 220px);
  aspect-ratio: 1.2 / 1;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 180, 205, 0.1)),
    url("./public/assets/hero-aigc-nailmuse-preview-centered.png") center / cover;
  opacity: 0.1;
  filter: saturate(1.05) brightness(1.06);
  mask-image: linear-gradient(180deg, #000 24%, transparent 100%);
  content: "";
}

.analysis-guide-panel::after {
  width: min(38%, 240px);
  opacity: 0.085;
  transform: rotate(-4deg);
}

.analysis-upload-panel > *,
.analysis-guide-panel > * {
  position: relative;
  z-index: 1;
}

.analysis-page .panel-title {
  margin-bottom: clamp(14px, 1.8vh, 18px);
  color: #743049;
  font-size: clamp(24px, 2.6vw, 38px);
}

.analysis-page .panel-title i {
  color: #cf5d82;
}

.analysis-page .dropzone {
  min-height: clamp(250px, 37vh, 330px);
  padding: clamp(22px, 3vh, 34px);
  border: 1.5px dashed rgba(231, 94, 143, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.82), rgba(255, 232, 240, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(167, 87, 111, 0.08);
}

.analysis-page .dropzone i {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  color: #d86b91;
  filter: drop-shadow(0 10px 22px rgba(216, 107, 145, 0.22));
}

.analysis-page .dropzone-title {
  color: #402733;
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: 0;
}

.analysis-page .dropzone small {
  max-width: 540px;
  color: rgba(95, 70, 80, 0.66);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.55;
}

.analysis-page .divider {
  margin: clamp(14px, 1.8vh, 18px) 0;
  background: rgba(216, 142, 162, 0.18);
}

.analysis-page .btn.full {
  min-height: 52px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 48%),
    linear-gradient(135deg, #f79abc, #df6b94 58%, #bd5074);
  box-shadow:
    0 18px 36px rgba(199, 75, 113, 0.19),
    0 7px 18px rgba(247, 186, 206, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  font-size: 17px;
}

.analysis-page .benefit-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.analysis-page .benefit-item,
.analysis-page .advice-item {
  min-height: 52px;
  padding: 10px 13px;
  border-color: rgba(216, 142, 162, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 241, 247, 0.5)),
    rgba(255, 250, 252, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #4c313d;
  font-size: clamp(14px, 1.05vw, 16px);
}

.analysis-page .benefit-item i,
.analysis-page .advice-item i {
  width: 32px;
  height: 32px;
  padding: 7px;
  background: rgba(255, 226, 236, 0.86);
  color: #b95370;
}

.analysis-guide-panel h3 {
  margin: 0 0 12px;
  color: #743049;
  font-size: clamp(18px, 1.6vw, 24px);
}

.analysis-page .advice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-height: 760px) and (min-width: 981px) {
  .analysis-page {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .analysis-page .page-title {
    font-size: clamp(40px, 4.2vw, 60px);
  }

  .analysis-page .step {
    min-height: 44px;
  }

  .analysis-page .dropzone {
    min-height: 230px;
  }

  .analysis-page .benefit-item,
  .analysis-page .advice-item {
    min-height: 46px;
  }
}

@media (max-width: 980px) {
  .analysis-page {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    overflow: visible;
  }

  .analysis-shell {
    height: auto;
  }

  .analysis-page .stepper,
  .analysis-upload-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .analysis-upload-layout {
    height: auto;
  }
}

/* AI analysis final polish */
.analysis-page {
  padding-top: clamp(20px, 3vh, 34px);
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 143, 183, 0.42), transparent 26%),
    radial-gradient(circle at 58% 52%, rgba(255, 196, 215, 0.5), transparent 34%),
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.74), transparent 36%),
    linear-gradient(135deg, #fff4f8 0%, #ffddea 44%, #f7b4ca 100%);
}

.analysis-page::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.72), rgba(255, 230, 239, 0.42), rgba(245, 169, 196, 0.18)),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.06) 0 1px, transparent 1px 88px),
    radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.24), transparent 20%);
}

.analysis-shell {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
}

.analysis-page .stepper {
  width: min(1040px, 78vw);
  margin: 0 0 clamp(18px, 2.8vh, 26px);
}

.analysis-page .step {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 238, 245, 0.6)),
    radial-gradient(circle at 18% 18%, rgba(255, 214, 228, 0.54), transparent 44%);
}

.analysis-page .step.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 48%),
    linear-gradient(135deg, #ff9abd, #f36f9e 62%, #df5c8c);
}

.analysis-upload-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.82fr);
  gap: clamp(24px, 2.8vw, 36px);
}

.analysis-upload-panel,
.analysis-guide-panel {
  border-color: rgba(255, 255, 255, 0.64);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.88), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 188, 211, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.78), rgba(255, 229, 238, 0.5)),
    rgba(255, 245, 249, 0.72);
  box-shadow:
    0 26px 64px rgba(167, 87, 111, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(216, 142, 162, 0.08);
}

.analysis-upload-panel::before,
.analysis-guide-panel::before {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 173, 201, 0.2), transparent 30%),
    repeating-linear-gradient(112deg, rgba(214, 116, 146, 0.042) 0 1px, transparent 1px 72px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%, rgba(255, 159, 190, 0.08));
}

.analysis-guide-panel {
  padding: clamp(28px, 3vw, 42px);
}

.analysis-guide-panel .panel-title {
  margin-bottom: clamp(20px, 2.6vh, 28px);
}

.analysis-page .benefit-list {
  gap: clamp(12px, 1.65vh, 18px);
}

.analysis-page .benefit-item,
.analysis-page .advice-item {
  border-color: rgba(216, 142, 162, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 239, 245, 0.52)),
    radial-gradient(circle at 0 0, rgba(255, 210, 224, 0.3), transparent 42%);
}

.analysis-guide-panel .divider {
  margin: clamp(18px, 2.4vh, 26px) 0;
}

.analysis-guide-panel h3 {
  margin-bottom: clamp(14px, 1.8vh, 18px);
}

.analysis-page .dropzone {
  border-color: rgba(255, 151, 187, 0.44);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 90% 24%, rgba(255, 190, 211, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.82), rgba(255, 238, 245, 0.58));
}

.analysis-page .dropzone-title {
  color: #4b2d3a;
}

.analysis-page .btn.full {
  border-color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 245, 249, 0.22) 45%, rgba(216, 142, 162, 0.08)),
    linear-gradient(135deg, #ffdce8 0%, #f8abc3 52%, #e383a5 100%);
  box-shadow:
    0 18px 34px rgba(216, 142, 162, 0.22),
    0 7px 18px rgba(255, 210, 223, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -8px 20px rgba(151, 82, 101, 0.06);
}

.analysis-page .btn.full:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 248, 250, 0.28) 45%, rgba(216, 142, 162, 0.06)),
    linear-gradient(135deg, #ffe5ee 0%, #fab8cc 52%, #e895b1 100%);
}

@media (max-height: 760px) and (min-width: 981px) {
  .analysis-page .step {
    min-height: 46px;
  }

  .analysis-guide-panel {
    padding: 22px 28px;
  }

  .analysis-guide-panel .panel-title {
    margin-bottom: 14px;
  }

  .analysis-page .benefit-list {
    gap: 9px;
  }

  .analysis-guide-panel .divider {
    margin: 13px 0;
  }
}

/* AI analysis pearl blush pass */
.analysis-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 132, 178, 0.4), transparent 28%),
    radial-gradient(circle at 48% 48%, rgba(255, 210, 224, 0.54), transparent 35%),
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(135deg, #fff3f8 0%, #ffdde9 42%, #f8afc7 100%);
}

.analysis-page::before {
  background:
    linear-gradient(90deg, rgba(255, 252, 253, 0.68), rgba(255, 228, 238, 0.38), rgba(244, 151, 184, 0.2)),
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.52), transparent 18%),
    radial-gradient(circle at 70% 78%, rgba(255, 176, 205, 0.16), transparent 26%),
    repeating-linear-gradient(112deg, rgba(199, 99, 129, 0.055) 0 1px, transparent 1px 86px),
    radial-gradient(rgba(188, 88, 120, 0.055) 0.8px, transparent 1px);
  background-size: auto, auto, auto, auto, 18px 18px;
}

.analysis-page .step {
  color: rgba(109, 66, 82, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 238, 245, 0.58)),
    radial-gradient(circle at 18% 22%, rgba(255, 221, 233, 0.64), transparent 42%),
    rgba(255, 246, 250, 0.7);
}

.analysis-page .step.active {
  border-color: rgba(255, 255, 255, 0.82);
  color: #8d3f5b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 241, 247, 0.22)),
    linear-gradient(135deg, #ffc4d8 0%, #f48ab1 54%, #df6f99 100%);
  box-shadow:
    0 18px 34px rgba(208, 92, 132, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.analysis-page .step.active .step-number {
  color: #fff;
  background: rgba(236, 105, 149, 0.62);
}

.analysis-upload-panel,
.analysis-guide-panel {
  border-color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.84), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(255, 184, 210, 0.32), transparent 34%),
    radial-gradient(circle at 64% 88%, rgba(255, 206, 222, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 249, 252, 0.72), rgba(255, 229, 239, 0.56)),
    rgba(255, 239, 246, 0.7);
  box-shadow:
    0 28px 72px rgba(165, 83, 108, 0.18),
    0 8px 22px rgba(255, 196, 216, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(215, 126, 154, 0.1);
}

.analysis-upload-panel::before,
.analysis-guide-panel::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 42%, rgba(255, 157, 190, 0.1)),
    repeating-linear-gradient(112deg, rgba(187, 86, 116, 0.038) 0 1px, transparent 1px 72px),
    radial-gradient(rgba(190, 94, 124, 0.04) 0.8px, transparent 1px);
  background-size: auto, auto, 16px 16px;
}

.analysis-page .dropzone {
  border-color: rgba(244, 150, 184, 0.48);
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.92), transparent 30%),
    radial-gradient(circle at 92% 28%, rgba(255, 194, 216, 0.28), transparent 35%),
    linear-gradient(145deg, rgba(255, 252, 254, 0.78), rgba(255, 238, 245, 0.66) 52%, rgba(255, 226, 237, 0.5)),
    rgba(255, 245, 249, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 42px rgba(167, 87, 111, 0.08);
}

.analysis-page .btn.full {
  color: #87415b;
  text-shadow: none;
  border-color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 252, 0.36) 46%, rgba(231, 154, 181, 0.1)),
    linear-gradient(135deg, #fff0f6 0%, #fbc6d8 52%, #eaa5be 100%);
  box-shadow:
    0 18px 34px rgba(197, 98, 129, 0.17),
    0 8px 18px rgba(255, 211, 225, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(143, 78, 98, 0.045);
}

.analysis-page .btn.full:hover {
  color: #7d3851;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 252, 0.42) 46%, rgba(231, 154, 181, 0.08)),
    linear-gradient(135deg, #fff5f9 0%, #ffd1e1 52%, #efafc6 100%);
}

.analysis-page .benefit-item,
.analysis-page .advice-item {
  border-color: rgba(216, 142, 162, 0.2);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.72), rgba(255, 235, 243, 0.5)),
    rgba(255, 245, 249, 0.62);
}

/* Project-wide NailMuse premium blush skin */
body {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 234, 241, 0.86), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(246, 168, 199, 0.42), transparent 30%),
    radial-gradient(circle at 78% 88%, rgba(230, 129, 167, 0.32), transparent 34%),
    linear-gradient(135deg, #fff7fa 0%, #ffe7f0 43%, #f8bfd4 100%);
}

#app {
  position: relative;
  isolation: isolate;
}

.topbar {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 219, 232, 0.78), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(246, 178, 204, 0.5), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 251, 0.96), rgba(255, 231, 240, 0.86)),
    rgba(255, 241, 247, 0.94);
  border-bottom-color: rgba(215, 135, 161, 0.24);
}

.topbar::after {
  position: absolute;
  right: 5vw;
  bottom: -1px;
  left: 5vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 92, 137, 0.28), transparent);
  content: "";
}

.page {
  position: relative;
}

.page::before {
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 255, 255, 0.64), transparent 23%),
    radial-gradient(circle at 88% 15%, rgba(246, 168, 199, 0.36), transparent 26%),
    radial-gradient(circle at 82% 82%, rgba(232, 92, 137, 0.16), transparent 27%),
    repeating-linear-gradient(112deg, rgba(171, 76, 107, 0.04) 0 1px, transparent 1px 82px),
    radial-gradient(rgba(157, 68, 98, 0.045) 0.8px, transparent 1px);
  background-size: auto, auto, auto, auto, 18px 18px;
}

.page::after {
  position: fixed;
  right: -5vw;
  bottom: -10vh;
  z-index: -1;
  width: min(42vw, 620px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.45), transparent 20%),
    radial-gradient(circle at 55% 58%, rgba(255, 177, 207, 0.24), transparent 34%),
    conic-gradient(from 32deg, rgba(255, 255, 255, 0.36), rgba(232, 92, 137, 0.16), rgba(255, 255, 255, 0.34), rgba(215, 135, 161, 0.14), rgba(255, 255, 255, 0.36));
  filter: blur(0.2px);
  opacity: 0.32;
  clip-path: polygon(50% 0%, 88% 20%, 100% 56%, 70% 100%, 26% 88%, 0% 48%, 16% 16%);
  content: "";
}

.panel,
.tool-panel,
.modal-card,
.store-card,
.history-row,
.metric,
.tabbar,
.source-option,
.chip,
.ghost-card,
.style-tile,
.quote-card,
.trend-item,
.agent-row,
.real-store-panel,
.demand-start,
.store-context,
.store-style-hero,
.store-detail,
.preview-text,
.summary-box,
.empty-state,
.mini-upload,
.level-card,
.booking-option,
.modal-stat,
.level-stage,
.level-action-grid > div,
.booking-success-card,
.appointment-detail-grid > span {
  border-color: rgba(211, 126, 154, 0.24);
  background:
    radial-gradient(circle at 12% 9%, rgba(255, 255, 255, 0.8), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 186, 212, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.74), rgba(255, 233, 242, 0.58)),
    rgba(255, 241, 247, 0.66);
  box-shadow:
    0 22px 54px rgba(152, 72, 100, 0.13),
    0 8px 20px rgba(255, 199, 219, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(198, 102, 132, 0.08);
}

.panel,
.tool-panel,
.modal-card,
.store-card,
.quote-card,
.real-store-panel,
.demand-start,
.store-detail,
.profile-card {
  position: relative;
  overflow: hidden;
}

.panel::before,
.tool-panel::before,
.modal-card::before,
.store-card::before,
.quote-card::before,
.real-store-panel::before,
.demand-start::before,
.store-detail::before,
.profile-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%, rgba(232, 92, 137, 0.08)),
    repeating-linear-gradient(112deg, rgba(156, 65, 96, 0.035) 0 1px, transparent 1px 74px),
    radial-gradient(rgba(151, 66, 94, 0.035) 0.8px, transparent 1px);
  background-size: auto, auto, 16px 16px;
  content: "";
}

.panel > *,
.tool-panel > *,
.modal-card > *,
.store-card > *,
.quote-card > *,
.real-store-panel > *,
.demand-start > *,
.store-detail > *,
.profile-card > * {
  position: relative;
  z-index: 1;
}

.panel-title,
.page-title,
.preview-title,
.modal-title,
.bti-name {
  color: #7d314c;
}

.page-title {
  text-shadow: 0 14px 34px rgba(255, 255, 255, 0.78);
}

.muted,
.page-subtitle,
.preview-text,
.store-meta {
  color: rgba(92, 67, 78, 0.72);
}

.btn:not(.hero-cta),
.tabbar button,
.booking-option,
.source-option,
.style-tile,
.level-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn.primary:not(.hero-cta) {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 244, 249, 0.12) 45%, rgba(130, 58, 82, 0.06)),
    linear-gradient(135deg, #f8a4bf 0%, #ec769e 54%, #d95782 100%);
  box-shadow:
    0 18px 36px rgba(198, 76, 116, 0.22),
    0 8px 20px rgba(255, 207, 224, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -9px 18px rgba(120, 48, 73, 0.08);
  text-shadow: 0 1px 5px rgba(119, 48, 72, 0.18);
}

.btn.primary:not(.hero-cta):hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 244, 249, 0.16) 45%, rgba(130, 58, 82, 0.04)),
    linear-gradient(135deg, #fbb3ca 0%, #ef83a9 54%, #dd668e 100%);
}

.btn.secondary:not(.hero-cta),
.btn.soft:not(.hero-cta) {
  color: #884159;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.9), transparent 44%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.84), rgba(255, 235, 243, 0.64)),
    rgba(255, 244, 249, 0.72);
}

.input,
.textarea,
input[type="text"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
  border-color: rgba(211, 126, 154, 0.28);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.88), transparent 36%),
    linear-gradient(180deg, rgba(255, 251, 253, 0.84), rgba(255, 239, 246, 0.66)),
    rgba(255, 246, 250, 0.74);
}

.stepper {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.step {
  border-color: rgba(211, 126, 154, 0.24);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.88), rgba(255, 232, 241, 0.58)),
    rgba(255, 243, 248, 0.7);
  color: rgba(111, 76, 90, 0.72);
  box-shadow:
    0 14px 32px rgba(152, 72, 100, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.step.active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 245, 249, 0.08) 45%, rgba(105, 45, 66, 0.08)),
    linear-gradient(135deg, #f99abd 0%, #ec6695 58%, #d75180 100%);
  box-shadow:
    0 18px 34px rgba(203, 83, 125, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.step.done {
  color: #a04962;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 228, 238, 0.62)),
    rgba(255, 241, 247, 0.75);
}

.step-number {
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 5px rgba(232, 92, 137, 0.08);
}

.step.active .step-number {
  color: #fff;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.46), transparent 34%),
    linear-gradient(135deg, #ff8fb4, #e95788);
  box-shadow: 0 0 0 7px rgba(255, 143, 180, 0.18);
}

.modal-backdrop {
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 215, 230, 0.34), transparent 34%),
    rgba(65, 39, 50, 0.34);
}

.modal-card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.94), transparent 32%),
    radial-gradient(circle at 92% 14%, rgba(255, 186, 212, 0.32), transparent 38%),
    linear-gradient(180deg, rgba(255, 250, 252, 0.94), rgba(255, 232, 241, 0.9)),
    #fff1f7;
}

/* AI analysis layout and chain polish */
.analysis-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 130, 176, 0.38), transparent 28%),
    radial-gradient(circle at 46% 47%, rgba(255, 211, 226, 0.56), transparent 34%),
    radial-gradient(circle at 12% 26%, rgba(255, 255, 255, 0.72), transparent 32%),
    linear-gradient(135deg, #fff4f8 0%, #ffdbe8 42%, #f7b1c9 100%);
}

.analysis-page.analysis-step-0 {
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
}

.analysis-page:not(.analysis-step-0) {
  height: auto;
  min-height: calc(100svh - var(--nav-h));
  overflow: visible;
  padding-bottom: clamp(44px, 6vh, 82px);
}

.analysis-page:not(.analysis-step-0) .analysis-shell {
  height: auto;
  min-height: 0;
}

.analysis-page:not(.analysis-step-0) .analysis-result-layout,
.analysis-page:not(.analysis-step-0) .analysis-tryon-layout {
  align-items: start;
}

.analysis-page:not(.analysis-step-0) .tool-panel,
.analysis-page:not(.analysis-step-0) .panel {
  overflow: visible;
}

.analysis-page .stepper {
  width: min(1120px, 82vw);
}

.analysis-upload-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(12px, 1.8vh, 20px);
}

.analysis-upload-panel .panel-title {
  margin-bottom: 0;
}

.analysis-upload-panel .divider {
  margin: clamp(10px, 1.5vh, 16px) 0 0;
}

.analysis-page .dropzone {
  align-content: center;
  justify-items: center;
  min-height: clamp(300px, 44vh, 410px);
  padding: clamp(28px, 4vh, 46px);
  border-color: rgba(235, 125, 166, 0.5);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.86), transparent 31%),
    radial-gradient(circle at 82% 18%, rgba(255, 201, 221, 0.28), transparent 35%),
    linear-gradient(145deg, rgba(255, 250, 252, 0.78), rgba(255, 236, 244, 0.68) 52%, rgba(255, 226, 237, 0.52)),
    rgba(255, 244, 249, 0.7);
}

.analysis-page .dropzone svg,
.analysis-page .dropzone > i {
  width: 74px;
  height: 74px;
  margin-bottom: clamp(18px, 2.4vh, 26px);
  color: #e77da2;
}

.analysis-page .dropzone-title {
  margin-top: 0;
  color: #472a38;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.analysis-page .dropzone small {
  max-width: min(520px, 100%);
  overflow: hidden;
  margin-top: clamp(14px, 1.8vh, 18px);
  color: rgba(91, 67, 77, 0.64);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uploaded-hand-preview {
  width: clamp(132px, 13vw, 178px);
  height: clamp(132px, 13vw, 178px);
  margin-bottom: clamp(18px, 2.2vh, 24px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  object-fit: cover;
  box-shadow:
    0 18px 34px rgba(159, 74, 104, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.analysis-page .dropzone.has-image {
  min-height: clamp(280px, 41vh, 390px);
}

.analysis-page .dropzone.has-image .dropzone-title {
  font-size: clamp(25px, 2.6vw, 34px);
}

.analysis-page .btn.full {
  min-height: clamp(54px, 6.5vh, 68px);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 244, 249, 0.12) 45%, rgba(130, 58, 82, 0.05)),
    linear-gradient(135deg, #f8a6c0 0%, #ee7ba3 56%, #dc628d 100%);
  box-shadow:
    0 18px 36px rgba(198, 76, 116, 0.2),
    0 8px 20px rgba(255, 207, 224, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.analysis-result-layout,
.analysis-tryon-layout {
  gap: clamp(24px, 2.8vw, 40px);
}

.analysis-result-layout .tool-panel,
.analysis-result-layout > .panel,
.analysis-tryon-layout .tool-panel,
.analysis-tryon-layout > .panel {
  min-height: 0;
}

.analysis-result-layout .metric-grid {
  grid-template-columns: repeat(4, minmax(148px, 1fr));
}

.analysis-tryon-layout .compare-frame {
  min-height: clamp(360px, 46vh, 540px);
}

.analysis-tryon-layout .compare-frame img {
  min-height: clamp(360px, 46vh, 540px);
}

.status-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(211, 126, 154, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 251, 0.82), rgba(255, 232, 241, 0.62));
  color: #8d435a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.status-note i {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.status-note.error {
  border-color: rgba(220, 112, 150, 0.32);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, rgba(255, 246, 250, 0.84), rgba(255, 222, 235, 0.62));
}

@media (max-height: 760px) and (min-width: 981px) {
  .analysis-page.analysis-step-0 {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .analysis-upload-panel {
    gap: 10px;
    padding: 22px 28px;
  }

  .analysis-page .dropzone {
    min-height: 255px;
    padding: 22px;
  }

  .analysis-page .dropzone.has-image {
    min-height: 238px;
  }

  .uploaded-hand-preview {
    width: 118px;
    height: 118px;
    margin-bottom: 14px;
  }

  .analysis-page .dropzone-title {
    font-size: clamp(25px, 3vw, 36px);
  }

  .analysis-page .btn.full {
    min-height: 50px;
  }
}

@media (max-width: 980px) {
  .analysis-page.analysis-step-0 {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
    overflow: visible;
  }

  .analysis-page .stepper {
    width: 100%;
  }

  .analysis-upload-panel {
    grid-template-rows: auto auto auto auto;
  }
}

/* Flow polish: sample hands, compact demand/store pages, and scrollable booking modals */
.sample-hand-block {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

.sample-hand-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #7b3a4e;
}

.sample-hand-head strong {
  font-size: 15px;
  font-weight: 900;
}

.sample-hand-head span {
  color: #a9838d;
  font-size: 12px;
  font-weight: 750;
}

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

.sample-hand-card {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(214, 126, 154, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 235, 243, 0.58)),
    rgba(255, 249, 251, 0.72);
  color: #743347;
  text-align: left;
  box-shadow: 0 14px 30px rgba(200, 107, 136, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sample-hand-card img {
  width: 100%;
  aspect-ratio: 1.1 / 0.82;
  border-radius: 10px;
  object-fit: cover;
}

.sample-hand-card span {
  font-size: 13px;
  font-weight: 900;
}

.sample-hand-card small {
  color: #a3848c;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.sample-hand-card.active {
  border-color: rgba(225, 86, 127, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 221, 235, 0.72)),
    rgba(255, 241, 247, 0.9);
  box-shadow: 0 18px 36px rgba(216, 86, 124, 0.18), inset 0 0 0 2px rgba(255, 139, 177, 0.14);
}

.upload-panel-head {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.upload-panel-head .panel-title {
  margin-bottom: 0;
}

.preset-toggle {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #934c65;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 239, 246, 0.68)),
    rgba(255, 247, 250, 0.76);
  box-shadow:
    0 12px 28px rgba(190, 91, 124, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.analysis-upload-panel {
  overflow: visible;
}

.sample-hand-popover {
  position: absolute;
  top: 86px;
  right: 28px;
  z-index: 8;
  width: min(560px, calc(100% - 56px));
  padding: 14px;
  border: 1px solid rgba(232, 150, 178, 0.42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 252, 0.94), rgba(255, 230, 240, 0.88)),
    rgba(255, 246, 250, 0.94);
  box-shadow:
    0 24px 58px rgba(148, 75, 100, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.empty-tryon-frame {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 189, 213, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 252, 0.72), rgba(255, 231, 241, 0.58)),
    rgba(255, 246, 250, 0.66);
}

.tryon-placeholder {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(78%, 420px);
  padding: 42px 32px;
  border: 1px dashed rgba(218, 128, 160, 0.42);
  border-radius: 26px;
  color: #8f5269;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 238, 245, 0.38)),
    rgba(255, 249, 252, 0.62);
}

.tryon-placeholder i {
  width: 36px;
  height: 36px;
  color: #dc78a0;
}

.tryon-placeholder strong {
  font-size: 20px;
  font-weight: 900;
}

.tryon-placeholder small {
  color: #a98490;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.bti-share-export-card {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 28px);
}

.bti-share-export-card .share-hero {
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 18px;
}

.bti-share-export-card .persona-img {
  width: 170px;
  height: 170px;
}

.bti-share-export-card .bti-name {
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.05;
}

.bti-share-export-card .share-hook {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25;
}

.bti-share-export-card .share-roast {
  margin-top: 18px;
  padding: 16px 18px;
}

.bti-share-export-card .share-scores {
  margin-top: 16px;
}

.bti-share-export-card .share-scores span {
  padding: 10px 8px;
}

.bti-share-export-card .share-insight-grid {
  margin-top: 16px;
}

.bti-share-export-card .share-footer-line {
  margin-top: 16px;
}

.bti-empty-card {
  min-height: 420px;
  margin-top: 0;
  border-style: solid;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.92), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(255, 203, 222, 0.36), transparent 32%),
    linear-gradient(135deg, rgba(255, 249, 251, 0.84), rgba(255, 232, 241, 0.72));
}

.bti-empty-card strong {
  color: #743347;
  font-size: clamp(24px, 2.8vw, 38px);
}

.demand-page,
.stores-page,
.mine-page {
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(18px, 2.5vh, 28px);
  padding-bottom: clamp(18px, 2.5vh, 28px);
}

.demand-page {
  overflow: hidden;
}

.demand-page-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-height: calc(100svh - var(--nav-h) - clamp(36px, 5vh, 56px));
}

.demand-tabs {
  justify-self: start;
  border-color: rgba(216, 126, 154, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 234, 242, 0.66)),
    rgba(255, 246, 249, 0.84);
}

.demand-page .layout-two.wide-right {
  grid-template-columns: minmax(390px, 0.76fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.demand-page .tool-panel,
.demand-page .panel,
.stores-page .real-store-panel,
.stores-page .store-card,
.mine-page .panel {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(255, 211, 226, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(255, 252, 253, 0.78), rgba(255, 235, 242, 0.64));
  box-shadow: 0 20px 54px rgba(184, 88, 118, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.demand-page .panel-title {
  margin-bottom: 12px;
  font-size: clamp(22px, 1.9vw, 30px);
}

.demand-page .source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.demand-page .source-option {
  min-height: 72px;
  padding: 12px 10px;
}

.demand-page .summary-box,
.demand-page .divider {
  margin: 14px 0;
}

.demand-page .textarea {
  min-height: 74px;
}

.demand-page .preview-title {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.1vw, 30px);
  text-align: left;
}

.demand-page .image-strip {
  grid-template-columns: repeat(3, minmax(0, 86px));
}

.demand-page .preview-text {
  max-height: 105px;
  overflow: auto;
  padding: 13px;
}

.demand-start {
  align-self: stretch;
  width: min(1180px, 100%);
  max-width: none;
}

.demand-start-head {
  align-items: center;
  margin-bottom: 14px;
}

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

.demand-source-large .source-option {
  min-height: clamp(132px, 21vh, 176px);
}

.stores-page {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
}

.stores-direct-page .real-store-panel {
  margin-bottom: 12px;
  padding: 14px;
}

.stores-direct-page .store-style-hero > img {
  height: 86px;
}

.stores-direct-page .store-style-hero .panel-title {
  margin: 4px 0 6px;
}

.stores-direct-page .real-results {
  gap: 10px;
  max-height: calc(100svh - var(--nav-h) - 245px);
  overflow: auto;
  padding-right: 4px;
}

.stores-direct-page .store-card.real {
  grid-template-columns: 132px minmax(0, 1fr) 160px;
  padding: 10px;
}

.stores-direct-page .store-card img,
.stores-direct-page .store-photo-placeholder {
  height: 94px;
}

.stores-direct-page .store-card h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.stores-direct-page .store-detail-grid,
.stores-direct-page .store-badge-row,
.stores-direct-page .store-mini-line {
  margin-top: 7px;
}

.stores-direct-page .store-actions .btn {
  min-height: 42px;
  padding: 0 14px;
}

.modal-backdrop {
  align-items: start;
  overflow: auto;
  padding: clamp(14px, 3vh, 28px);
}

.modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - clamp(28px, 6vh, 56px));
  overflow: hidden;
}

.modal-body {
  min-height: 0;
  overflow: auto;
  padding: 2px 2px 4px;
}

.modal-footer {
  flex: 0 0 auto;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(196, 122, 146, 0.18);
  background: linear-gradient(180deg, rgba(255, 249, 251, 0), rgba(255, 249, 251, 0.72));
}

.invite-offer,
.invite-success-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(214, 126, 154, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(135deg, rgba(255, 232, 241, 0.78), rgba(255, 249, 251, 0.76));
}

.invite-offer > div,
.invite-success-strip > div {
  min-width: 0;
}

.invite-offer i,
.invite-success-strip i {
  width: 24px;
  height: 24px;
  color: #d85a82;
}

.invite-offer span {
  display: inline-block;
  margin-left: 8px;
  color: #8a4056;
  font-weight: 900;
}

.invite-offer strong {
  display: inline-block;
  margin-left: 8px;
  color: #d84f78;
  font-size: 22px;
}

.invite-offer p,
.invite-success-strip p {
  margin: 6px 0 0;
  color: #987a82;
  font-size: 13px;
  font-weight: 750;
}

.friend-share-card {
  overflow: hidden;
  border: 1px solid rgba(214, 126, 154, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 172, 202, 0.34), transparent 32%),
    linear-gradient(135deg, #fffbfc 0%, #ffe6f0 56%, #f5d0dc 100%);
  box-shadow: 0 26px 70px rgba(180, 84, 114, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.friend-share-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 8px;
}

.friend-share-top strong {
  color: #d84f78;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}

.friend-share-main {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 20px 20px;
}

.friend-share-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(150, 74, 96, 0.16);
}

.friend-share-main h3 {
  margin: 4px 0 10px;
  color: #743347;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.friend-share-main p {
  margin: 0;
  color: #7f626b;
  font-weight: 750;
  line-height: 1.6;
}

.friend-share-meta {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.friend-share-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #804255;
  font-size: 13px;
  font-weight: 850;
}

.friend-share-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(214, 126, 154, 0.18);
  background: rgba(255, 255, 255, 0.36);
}

.friend-share-code span {
  color: #9b7b83;
  font-weight: 800;
}

.friend-share-code strong {
  color: #743347;
  font-size: 28px;
  letter-spacing: 0.04em;
}

/* 2026-06-07 detail fixes: logo, store booking action, merchant sync, upload preview */
.brand-mark svg {
  width: 40px;
  height: 40px;
}

.brand-mark path {
  stroke: #d697a6;
  stroke-width: 2.6;
}

.brand-mark-nail,
.brand-mark-leaf {
  fill: rgba(255, 250, 251, 0.38);
}

.stores-direct-page .store-card.real {
  grid-template-columns: 180px minmax(0, 1fr) minmax(300px, 340px);
  align-items: center;
  gap: 22px;
  min-height: 148px;
  padding: 14px 16px;
}

.stores-direct-page .store-card img,
.stores-direct-page .store-photo-placeholder {
  height: 118px;
  border-radius: 12px;
}

.stores-direct-page .store-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.stores-direct-page .store-actions .btn {
  width: 100%;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.25;
  white-space: normal;
}

.stores-direct-page .store-actions .btn i {
  width: 20px;
  height: 20px;
}

.xhs-trend-title {
  align-items: flex-start;
}

.xhs-sync-panel {
  grid-template-columns: 104px 112px;
  align-items: center;
  width: auto;
  gap: 7px 9px;
  flex: 0 0 auto;
}

.xhs-sync-button {
  grid-column: 2;
  grid-row: 1;
  min-height: 44px;
  border-radius: 13px;
  font-size: 14px;
}

.xhs-sync-progress {
  grid-column: 1 / -1;
  grid-row: 2;
}

.xhs-sync-popover {
  position: static;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-height: 44px;
  padding: 7px 9px;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(148, 75, 100, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.xhs-sync-popover p {
  max-width: 88px;
}

.analysis-page .dropzone.has-image {
  min-height: clamp(340px, 50vh, 510px);
  gap: 12px;
  padding: clamp(24px, 3vh, 38px);
}

.analysis-page .dropzone.has-image .uploaded-hand-preview {
  width: min(360px, 44vw);
  height: clamp(220px, 30vh, 310px);
  margin-bottom: 14px;
  border-radius: 26px;
}

.analysis-page .dropzone.has-image .dropzone-title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

.analysis-page .dropzone.has-image small {
  max-width: 520px;
  margin-top: 4px;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .stores-direct-page .store-card.real {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .stores-direct-page .store-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .xhs-trend-title {
    display: grid;
  }

  .xhs-sync-panel {
    grid-template-columns: minmax(0, 1fr) 112px;
    width: 100%;
  }

  .stores-direct-page .store-actions {
    grid-template-columns: 1fr;
  }

  .analysis-page .dropzone.has-image .uploaded-hand-preview {
    width: min(100%, 300px);
  }
}

.appointment-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .demand-page,
  .stores-page {
    overflow: visible;
  }

  .demand-page .layout-two.wide-right,
  .stores-direct-page .store-card.real,
  .friend-share-main {
    grid-template-columns: 1fr;
  }

  .stores-direct-page .real-results {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .sample-hand-grid,
  .demand-source-large,
  .demand-page .source-grid,
  .appointment-detail-grid,
  .invite-offer,
  .invite-success-strip {
    grid-template-columns: 1fr;
  }

  .sample-hand-head,
  .friend-share-code {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 2026-06-08 UX fixes: one-screen share card, compact booking stores, actionable merchant plans */
.share-modal-card {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: clamp(18px, 2.2vh, 28px);
  overflow: hidden;
}

.share-modal-card .modal-body {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.share-modal-card .modal-footer {
  justify-content: center;
  margin-top: clamp(10px, 1.5vh, 16px);
  padding-top: clamp(10px, 1.5vh, 14px);
}

.share-modal-card .bti-share-export-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(18px, 2.2vw, 30px);
}

.share-modal-card .bti-share-export-card .share-hero {
  grid-template-columns: minmax(0, 1fr) clamp(150px, 18vw, 230px);
  gap: clamp(18px, 3vw, 42px);
}

.share-modal-card .bti-share-export-card .persona-img {
  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
}

.share-modal-card .bti-share-export-card .bti-name {
  font-size: clamp(42px, 5.2vw, 76px);
}

.share-modal-card .bti-share-export-card .share-hook {
  max-width: 760px;
  font-size: clamp(26px, 3.4vw, 50px);
}

.share-modal-card .bti-share-export-card .muted {
  font-size: clamp(16px, 1.8vw, 24px);
}

.share-modal-card .bti-share-export-card .share-roast {
  margin-top: clamp(14px, 2vh, 22px);
}

.share-modal-card .bti-share-export-card .share-footer-line {
  margin-top: clamp(12px, 1.7vh, 18px);
}

.stores-direct-page {
  gap: 10px;
  overflow: visible;
}

.stores-direct-page .real-store-panel {
  margin-bottom: 8px;
  padding: 12px 16px;
}

.stores-direct-page .real-store-panel .panel-title {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.2vw, 34px);
}

.stores-direct-page .real-store-panel .muted {
  margin: 4px 0;
  line-height: 1.45;
}

.stores-direct-page .store-style-hero {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
}

.stores-direct-page .store-style-hero > img {
  width: 92px;
  height: 92px;
}

.stores-direct-page .real-results {
  display: grid;
  gap: 8px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.stores-direct-page .store-card.real {
  grid-template-columns: 120px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 12px 14px;
}

.stores-direct-page .store-card img,
.stores-direct-page .store-photo-placeholder {
  width: 120px;
  height: 96px;
}

.stores-direct-page .store-card.real > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.stores-direct-page .store-card h3 {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.18;
}

.stores-direct-page .store-card .muted {
  margin: 0;
  overflow: hidden;
  color: #856f76;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stores-direct-page .store-meta {
  gap: 8px 12px;
  font-size: 13px;
}

.stores-direct-page .store-detail-grid {
  display: none;
}

.stores-direct-page .store-mini-line,
.stores-direct-page .store-badge-row,
.stores-direct-page .store-match-reason {
  display: none;
}

.stores-direct-page .store-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: center;
}

.stores-direct-page .store-actions .btn {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.2;
}

.merchant-core-panel .metric b {
  color: #be4f75;
}

@media (max-width: 1180px) {
  .stores-direct-page .store-card.real {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .stores-direct-page .store-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .share-modal-card {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .share-modal-card .bti-share-export-card .share-hero,
  .stores-direct-page .store-style-hero,
  .stores-direct-page .store-card.real,
  .stores-direct-page .store-actions {
    grid-template-columns: 1fr;
  }

  .share-modal-card .bti-share-export-card .persona-img,
  .stores-direct-page .store-card img,
  .stores-direct-page .store-photo-placeholder {
    justify-self: center;
  }

  .stores-direct-page .store-card .muted {
    white-space: normal;
  }
}

/* 2026-06-08 hard fit for direct booking cards on the default browser viewport */
.stores-direct-page {
  gap: 8px !important;
  overflow: visible !important;
  padding-top: clamp(10px, 1.4vh, 18px) !important;
  padding-bottom: clamp(10px, 1.4vh, 18px) !important;
}

.stores-direct-page .real-store-panel {
  min-height: 0 !important;
}

.stores-direct-page .real-store-panel:not(:first-of-type) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.stores-direct-page .real-store-panel:not(:first-of-type) .btn-row {
  margin: 0;
}

.stores-direct-page .real-results {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

.stores-direct-page .store-card.real.booking-compact {
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) minmax(188px, 220px) !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  overflow: visible !important;
}

.stores-direct-page .store-card.real.booking-compact > img,
.stores-direct-page .store-card.real.booking-compact > .store-photo-placeholder {
  width: 108px !important;
  height: 82px !important;
  min-height: 0 !important;
  border-radius: 7px !important;
}

.stores-direct-page .store-card.real.booking-compact > div:nth-child(2) {
  min-width: 0;
  gap: 3px !important;
}

.stores-direct-page .store-card.real.booking-compact h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  line-height: 1.18 !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.stores-direct-page .store-card.real.booking-compact .store-meta {
  gap: 5px 10px !important;
  overflow: hidden;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.stores-direct-page .store-card.real.booking-compact .store-meta span {
  min-width: 0;
  white-space: nowrap;
}

.stores-direct-page .store-card.real.booking-compact .muted {
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stores-direct-page .store-quick-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin: 1px 0 0;
  overflow: hidden;
  color: #a94868;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stores-direct-page .store-quick-note i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.stores-direct-page .store-card.real.booking-compact .store-detail-grid,
.stores-direct-page .store-card.real.booking-compact .store-mini-line,
.stores-direct-page .store-card.real.booking-compact .store-badge-row,
.stores-direct-page .store-card.real.booking-compact .store-match-reason,
.stores-direct-page .store-card.real.booking-compact .tag-row {
  display: none !important;
}

.stores-direct-page .store-card.real.booking-compact .store-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.stores-direct-page .store-card.real.booking-compact .store-actions .btn {
  min-height: 38px !important;
  padding: 0 10px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .stores-direct-page .store-card.real.booking-compact {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .stores-direct-page .store-card.real.booking-compact .store-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .stores-direct-page .real-store-panel:not(:first-of-type),
  .stores-direct-page .store-card.real.booking-compact,
  .stores-direct-page .store-card.real.booking-compact .store-actions {
    grid-template-columns: 1fr !important;
  }

  .stores-direct-page .store-card.real.booking-compact > img,
  .stores-direct-page .store-card.real.booking-compact > .store-photo-placeholder {
    width: 100% !important;
    height: 140px !important;
  }

  .stores-direct-page .store-card.real.booking-compact .muted,
  .stores-direct-page .store-quick-note {
    white-space: normal;
  }
}

/* 2026-06-08 share card ratio fit: show the full card image and keep the modal in one viewport */
.share-modal-card {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1040px, calc(100vw - 28px)) !important;
  max-height: calc(100svh - 24px) !important;
  padding: clamp(12px, 1.6vh, 20px) !important;
}

.share-modal-card .modal-body {
  min-height: 0;
  align-items: center;
}

.share-modal-card .modal-footer {
  flex-shrink: 0;
  margin-top: clamp(8px, 1.1vh, 12px) !important;
  padding-top: clamp(8px, 1.1vh, 12px) !important;
}

.share-modal-card .bti-share-export-card {
  display: grid;
  gap: clamp(8px, 1.1vh, 12px);
  max-height: calc(100svh - 142px);
  padding: clamp(14px, 1.9vh, 22px) !important;
}

.share-modal-card .bti-share-export-card .share-hero {
  grid-template-columns: minmax(0, 1fr) clamp(150px, 23vh, 210px) !important;
  gap: clamp(18px, 3vw, 34px) !important;
}

.share-modal-card .bti-share-export-card .persona-img {
  width: clamp(150px, 23vh, 210px) !important;
  height: clamp(150px, 23vh, 210px) !important;
  padding: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
}

.share-modal-card .bti-share-export-card .persona-img img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

.share-modal-card .bti-share-export-card .bti-name {
  margin: 4px 0 8px;
  font-size: clamp(34px, 4.4vw, 58px) !important;
  line-height: 1.02 !important;
}

.share-modal-card .bti-share-export-card .share-hook {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: clamp(22px, 3.1vw, 36px) !important;
  line-height: 1.18 !important;
}

.share-modal-card .bti-share-export-card .muted {
  font-size: clamp(15px, 1.55vw, 20px) !important;
  line-height: 1.42;
}

.share-modal-card .bti-share-export-card .share-roast {
  margin-top: clamp(8px, 1.1vh, 12px) !important;
  padding: clamp(10px, 1.35vh, 14px) clamp(12px, 1.8vh, 16px) !important;
}

.share-modal-card .bti-share-export-card .share-roast strong {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.35;
}

.share-modal-card .bti-share-export-card .share-footer-line {
  margin-top: 0 !important;
  padding: clamp(8px, 1.1vh, 11px) 14px !important;
  font-size: clamp(13px, 1.4vw, 16px);
}

.stores-direct-page .store-card.real.booking-compact .store-actions {
  justify-self: stretch;
}

.stores-direct-page .store-card.real.booking-compact .store-actions .btn {
  min-height: 44px !important;
}

@media (max-height: 780px) {
  .share-modal-card .bti-share-export-card {
    max-height: calc(100svh - 124px);
    padding: 12px 16px !important;
  }

  .share-modal-card .bti-share-export-card .share-hero {
    grid-template-columns: minmax(0, 1fr) clamp(130px, 21vh, 170px) !important;
  }

  .share-modal-card .bti-share-export-card .persona-img {
    width: clamp(130px, 21vh, 170px) !important;
    height: clamp(130px, 21vh, 170px) !important;
  }

  .share-modal-card .bti-share-export-card .bti-name {
    font-size: clamp(30px, 4vw, 48px) !important;
  }

  .share-modal-card .bti-share-export-card .share-hook {
    font-size: clamp(20px, 2.8vw, 30px) !important;
  }
}

/* 2026-06-08 final BTI poster: match the vertical share card and keep preset hand photos complete */
.share-modal-card.share-poster-modal {
  width: min(720px, calc(100vw - 28px)) !important;
  max-height: calc(100svh - 22px) !important;
  overflow: visible !important;
  padding: clamp(10px, 1.4vh, 16px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.share-modal-card.share-poster-modal .close-x {
  top: 8px;
  right: 8px;
  z-index: 3;
}

.share-modal-card.share-poster-modal .modal-body {
  display: grid !important;
  place-items: center !important;
  min-height: 0;
  overflow: visible !important;
}

.share-modal-card.share-poster-modal .modal-footer {
  margin-top: clamp(8px, 1.3vh, 14px) !important;
  padding-top: 0 !important;
  border: 0 !important;
}

.share-modal-card.share-poster-modal .modal-footer .btn {
  min-height: 46px;
  padding-inline: clamp(18px, 3vw, 28px);
}

.share-modal-card.share-poster-modal .bti-share-export-card.bti-share-poster {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  width: min(590px, calc(100vw - 54px), calc((100svh - 104px) * 0.76)) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 0.76 / 1;
  margin: 0 auto !important;
  padding: clamp(20px, 3.3vh, 34px) !important;
  overflow: hidden;
  border: 1px solid rgba(223, 143, 163, 0.38);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.6), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(255, 255, 255, 0.42), transparent 28%),
    repeating-linear-gradient(104deg, rgba(205, 130, 150, 0.17) 0 1px, transparent 1px 42px),
    linear-gradient(145deg, rgba(255, 252, 254, 0.92), rgba(255, 228, 238, 0.72));
  box-shadow: 0 26px 80px rgba(160, 75, 103, 0.2);
}

.share-poster-modal .share-brand {
  color: #8f6172;
  font-size: clamp(14px, 1.8vh, 20px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.share-poster-modal .share-poster-title {
  margin: clamp(8px, 1.35vh, 12px) 0 clamp(12px, 1.8vh, 18px);
  color: #8a2f52;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(34px, 6vh, 54px);
  line-height: 1.02;
}

.share-poster-modal .share-type-pill {
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid rgba(221, 128, 156, 0.28);
  border-radius: 999px;
  background: rgba(255, 245, 249, 0.82);
  color: #9b4f69;
  font-size: clamp(13px, 1.75vh, 18px);
  font-weight: 900;
  line-height: 1;
}

.share-poster-modal .bti-share-poster .bti-name {
  margin: clamp(13px, 2.2vh, 22px) 0 clamp(8px, 1.3vh, 12px) !important;
  color: #8a2f52;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(42px, 8vh, 76px) !important;
  line-height: 1.02 !important;
}

.share-poster-modal .bti-share-poster .share-hook {
  max-width: none;
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  color: #3f2732;
  font-size: clamp(22px, 3.7vh, 34px) !important;
  font-weight: 900;
  line-height: 1.28 !important;
}

.share-poster-modal .bti-share-poster .muted {
  margin: 0;
  color: rgba(95, 70, 80, 0.7);
  font-size: clamp(14px, 2vh, 20px) !important;
  font-weight: 780;
  line-height: 1.45;
}

.share-poster-modal .bti-share-poster .share-roast {
  margin: clamp(16px, 2.6vh, 26px) 0 clamp(16px, 2.4vh, 24px) !important;
  padding: clamp(13px, 2vh, 18px) clamp(14px, 2.3vh, 22px) !important;
  border-radius: 12px;
  background: rgba(255, 238, 245, 0.82);
  color: #a54c6a;
}

.share-poster-modal .bti-share-poster .share-roast strong {
  font-size: clamp(15px, 2.1vh, 21px);
  line-height: 1.35;
}

.share-poster-modal .bti-share-poster .share-scores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.6vh, 14px);
  margin: 0;
}

.share-poster-modal .bti-share-poster .share-scores span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: clamp(10px, 1.8vh, 16px) 8px;
  border: 1px solid rgba(221, 128, 156, 0.24);
  border-radius: 12px;
  background: rgba(255, 250, 252, 0.78);
  text-align: left;
}

.share-poster-modal .bti-share-poster .share-scores small {
  color: #8c5b73;
  font-size: clamp(11px, 1.55vh, 15px);
  font-weight: 900;
  line-height: 1.2;
}

.share-poster-modal .bti-share-poster .share-scores b {
  color: #dc5f8d;
  font-size: clamp(24px, 4.2vh, 38px);
  font-weight: 950;
  line-height: 1;
}

.share-poster-modal .share-poster-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: clamp(14px, 2.2vh, 22px);
}

.share-poster-modal .share-poster-foot strong {
  color: #8c5b73;
  font-size: clamp(14px, 2vh, 19px);
  font-weight: 950;
}

.share-poster-modal .share-poster-foot span,
.share-poster-modal .share-poster-foot em {
  color: rgba(95, 70, 80, 0.66);
  font-size: clamp(12px, 1.75vh, 16px);
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

.sample-hand-card img {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center;
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 760px) {
  .share-modal-card.share-poster-modal .modal-footer {
    grid-template-columns: 1fr;
  }

  .share-modal-card.share-poster-modal .modal-footer .btn {
    width: 100%;
  }

  .share-poster-modal .bti-share-poster .share-scores {
    gap: 8px;
  }
}

/* 2026-06-08 global crystal polish: denser pink-glass surfaces and safer BTI poster fit */
body {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.58) 0 1px, transparent 1px 78px),
    linear-gradient(180deg, rgba(255, 252, 253, 0.95), rgba(255, 238, 246, 0.78) 54%, rgba(255, 221, 236, 0.66)),
    #fff7f9;
}

#app {
  position: relative;
  isolation: isolate;
}

#app::before {
  position: fixed;
  left: -130px;
  bottom: -190px;
  z-index: -1;
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  pointer-events: none;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.84), rgba(255, 190, 214, 0.1) 34%, rgba(170, 74, 108, 0.12) 72%, rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, transparent 22%, rgba(255, 255, 255, 0.52) 23% 26%, transparent 27% 61%, rgba(231, 105, 144, 0.16) 62% 64%, transparent 65%),
    conic-gradient(from 20deg, rgba(255, 255, 255, 0.58), rgba(235, 116, 154, 0.16), rgba(255, 255, 255, 0.45), rgba(155, 77, 108, 0.16), rgba(255, 255, 255, 0.58));
  clip-path: polygon(50% 0, 86% 16%, 100% 52%, 72% 94%, 28% 100%, 0 54%, 15% 18%);
  opacity: 0.28;
}

.page {
  position: relative;
}

.page::before {
  background:
    linear-gradient(112deg, rgba(151, 68, 96, 0.05) 0 1px, transparent 1px 76px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 38%),
    radial-gradient(rgba(145, 64, 93, 0.045) 0.8px, transparent 1px);
  background-size: auto, auto, 18px 18px;
}

.topbar {
  border-bottom-color: rgba(216, 126, 154, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 248, 0.84) 50%, rgba(255, 255, 255, 0.9)),
    rgba(255, 250, 252, 0.88);
  box-shadow: 0 10px 30px rgba(167, 80, 109, 0.08);
}

.panel,
.tool-panel,
.modal-card:not(.share-poster-modal),
.store-card,
.style-tile,
.metric,
.quote-card,
.trend-item,
.real-store-panel,
.demand-start,
.store-context,
.store-style-hero,
.store-detail,
.preview-box,
.preview-text,
.summary-box,
.empty-state,
.source-option,
.booking-option,
.modal-stat,
.mine-record-card,
.mine-detail-head,
.appointment-detail-grid > span,
.merchant-site-panel,
.merchant-outside-panel,
.merchant-core-panel,
.merchant-demand-panel,
.merchant-agent-panel,
.sample-hand-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(220, 126, 158, 0.28) !important;
  background:
    linear-gradient(112deg, rgba(157, 68, 98, 0.045) 0 1px, transparent 1px 70px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 245, 249, 0.36) 42%, rgba(255, 229, 239, 0.5)),
    rgba(255, 250, 252, 0.76) !important;
  box-shadow:
    0 22px 52px rgba(154, 70, 100, 0.13),
    0 6px 18px rgba(255, 197, 219, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(169, 72, 105, 0.08) !important;
}

.panel::after,
.tool-panel::after,
.store-card::after,
.style-tile::after,
.quote-card::after,
.trend-item::after,
.real-store-panel::after,
.demand-start::after,
.store-detail::after,
.source-option::after,
.booking-option::after,
.sample-hand-card::after {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
  width: 7px;
  height: 7px;
  pointer-events: none;
  border: 1px solid rgba(235, 111, 151, 0.28);
  border-left: 0;
  border-bottom: 0;
  opacity: 0.58;
  transform: rotate(45deg);
  box-shadow:
    18px 16px 0 -3px rgba(255, 255, 255, 0.9),
    28px -8px 0 -4px rgba(224, 98, 139, 0.28);
  content: "";
}

.panel-title i,
.page-title i,
.modal-title i,
.benefit-item i,
.advice-item i,
.metric i,
.store-meta i,
.share-roast i {
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 218, 231, 0.62));
  box-shadow:
    0 8px 18px rgba(218, 91, 132, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn:not(.hero-cta) {
  position: relative;
  overflow: hidden;
  border-color: rgba(222, 128, 158, 0.32);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.7), rgba(255, 241, 247, 0.78) 46%, rgba(255, 224, 237, 0.7)),
    rgba(255, 249, 252, 0.86);
  box-shadow:
    0 12px 26px rgba(167, 78, 109, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(171, 76, 107, 0.08);
}

.btn:not(.hero-cta)::before {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.64) 36%, transparent 48% 100%);
  opacity: 0.5;
  content: "";
}

.btn:not(.hero-cta)::after {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.72;
  content: "";
}

.btn:not(.hero-cta) i {
  position: relative;
  z-index: 1;
}

.btn.primary:not(.hero-cta) {
  border-color: rgba(255, 255, 255, 0.76) !important;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.52), rgba(255, 241, 247, 0.16) 42%, rgba(119, 45, 76, 0.08)),
    linear-gradient(135deg, #f8aac5 0%, #ec719c 52%, #d94f80 100%) !important;
  box-shadow:
    0 20px 38px rgba(198, 76, 116, 0.24),
    0 8px 20px rgba(255, 200, 222, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -10px 20px rgba(120, 48, 73, 0.11) !important;
}

.btn.secondary:not(.hero-cta),
.btn.soft:not(.hero-cta) {
  color: #8f3d5a;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.86), rgba(255, 242, 247, 0.74) 48%, rgba(255, 226, 238, 0.64)),
    rgba(255, 250, 252, 0.86) !important;
}

.btn:not(.hero-cta):hover {
  border-color: rgba(225, 91, 135, 0.42);
  box-shadow:
    0 18px 38px rgba(167, 78, 109, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.stepper {
  padding: 6px;
  border: 1px solid rgba(224, 128, 158, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(255, 235, 243, 0.52)),
    rgba(255, 250, 252, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.step {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.step.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 235, 243, 0.14)),
    linear-gradient(135deg, #f8a9c1, #e15a88);
  box-shadow: 0 10px 22px rgba(216, 82, 124, 0.2);
}

.dropzone {
  border-color: rgba(220, 86, 111, 0.34) !important;
  background:
    linear-gradient(112deg, rgba(157, 68, 98, 0.04) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 235, 243, 0.5)),
    rgba(255, 249, 252, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 42px rgba(170, 79, 109, 0.1);
}

.dropzone i,
.dropzone svg {
  filter: drop-shadow(0 10px 18px rgba(221, 83, 126, 0.16));
}

.benefit-item,
.advice-item,
.store-detail-grid span,
.modal-stat,
.metric,
.appointment-detail-grid > span,
.merchant-core-panel .metric {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 238, 245, 0.68) 56%, rgba(255, 246, 249, 0.74)),
    rgba(255, 250, 252, 0.82) !important;
}

.tag,
.store-badge,
.pill,
.chip {
  border-color: rgba(222, 128, 158, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 231, 240, 0.68)),
    rgba(255, 244, 249, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.sample-hand-card img,
.style-tile img,
.store-card img,
.uploaded-hand-preview,
.persona-img img {
  border: 1px solid rgba(226, 146, 170, 0.24);
  box-shadow:
    0 14px 30px rgba(150, 70, 99, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.share-modal-card.share-poster-modal {
  width: min(680px, calc(100vw - 30px)) !important;
  max-height: calc(100svh - 18px) !important;
  padding: clamp(6px, 1vh, 12px) !important;
}

.share-modal-card.share-poster-modal .modal-footer {
  gap: 10px;
  margin-top: clamp(6px, 1vh, 10px) !important;
}

.share-modal-card.share-poster-modal .modal-footer .btn {
  min-height: 42px;
  padding-inline: clamp(14px, 2.4vw, 22px);
}

.share-modal-card.share-poster-modal .bti-share-export-card.bti-share-poster {
  width: min(540px, calc(100vw - 58px), calc((100svh - 158px) * 0.72)) !important;
  aspect-ratio: 0.72 / 1;
  padding: clamp(17px, 2.55vh, 28px) !important;
  border-color: rgba(223, 143, 163, 0.44);
  background:
    linear-gradient(112deg, rgba(157, 68, 98, 0.08) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 243, 248, 0.52) 48%, rgba(255, 224, 237, 0.62)),
    rgba(255, 250, 252, 0.9) !important;
}

.share-poster-modal .share-poster-title {
  font-size: clamp(31px, 5.2vh, 48px);
}

.share-poster-modal .bti-share-poster .bti-name {
  font-size: clamp(36px, 6.6vh, 62px) !important;
}

.share-poster-modal .bti-share-poster .share-hook {
  font-size: clamp(20px, 3.25vh, 30px) !important;
}

.share-poster-modal .bti-share-poster .muted {
  font-size: clamp(13px, 1.75vh, 18px) !important;
}

.share-poster-modal .bti-share-poster .share-roast {
  margin: clamp(12px, 1.9vh, 18px) 0 clamp(12px, 1.8vh, 18px) !important;
}

.share-poster-modal .bti-share-poster .share-scores b {
  font-size: clamp(22px, 3.4vh, 32px);
}

@media (max-height: 820px) {
  .share-modal-card.share-poster-modal .bti-share-export-card.bti-share-poster {
    width: min(500px, calc(100vw - 58px), calc((100svh - 142px) * 0.7)) !important;
    padding: clamp(14px, 2vh, 22px) !important;
  }

  .share-poster-modal .share-brand {
    font-size: clamp(12px, 1.55vh, 16px);
  }

  .share-poster-modal .share-poster-title {
    margin-bottom: clamp(8px, 1.2vh, 12px);
    font-size: clamp(28px, 4.6vh, 40px);
  }

  .share-poster-modal .bti-share-poster .bti-name {
    margin-top: clamp(9px, 1.5vh, 14px) !important;
    font-size: clamp(32px, 5.7vh, 48px) !important;
  }

  .share-poster-modal .bti-share-poster .share-hook {
    margin-bottom: clamp(9px, 1.5vh, 14px);
    font-size: clamp(18px, 2.85vh, 24px) !important;
  }

  .share-poster-modal .bti-share-poster .share-roast {
    padding: 10px 12px !important;
  }

  .share-poster-modal .share-poster-foot {
    gap: 5px;
    padding-top: 10px;
  }
}

/* 2026-06-08 luxe info cards: richer result rows, advice chips, demand source cards, and empty states */
.analysis-guide-panel {
  overflow: hidden;
}

.analysis-guide-panel .benefit-list {
  counter-reset: benefit;
  gap: clamp(12px, 1.6vh, 16px);
}

.analysis-page .benefit-item,
.analysis-page .advice-item,
.benefit-item,
.advice-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(219, 122, 154, 0.26) !important;
  background:
    linear-gradient(113deg, rgba(159, 70, 100, 0.06) 0 1px, transparent 1px 58px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 240, 246, 0.58) 48%, rgba(255, 229, 239, 0.52)),
    rgba(255, 249, 252, 0.84) !important;
  box-shadow:
    0 18px 36px rgba(151, 68, 98, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(171, 76, 107, 0.08) !important;
  color: #4a2c38;
}

.analysis-page .benefit-item {
  min-height: 62px;
  padding: 12px 18px 12px 14px;
  gap: 12px;
}

.analysis-page .benefit-item::before {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(235, 121, 157, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 207, 224, 0.68)),
    rgba(255, 239, 246, 0.8);
  box-shadow:
    0 8px 18px rgba(203, 75, 115, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  color: #d75a86;
  content: counter(benefit);
  counter-increment: benefit;
  font-size: 15px;
  font-weight: 950;
}

.analysis-page .benefit-item::after,
.analysis-page .advice-item::after,
.source-option::after,
.demand-start .summary-box::after,
.empty-state.compact::after {
  position: absolute;
  top: 0;
  right: -24%;
  bottom: 0;
  z-index: -1;
  width: 46%;
  pointer-events: none;
  background:
    linear-gradient(96deg, transparent, rgba(255, 255, 255, 0.42), transparent 68%),
    linear-gradient(180deg, rgba(255, 212, 228, 0.1), rgba(255, 255, 255, 0.18), rgba(214, 93, 132, 0.08));
  transform: skewX(-16deg);
  content: "";
}

.analysis-page .benefit-item i,
.analysis-page .advice-item i,
.benefit-item i,
.advice-item i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 9px;
  border: 1px solid rgba(229, 121, 155, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 211, 227, 0.64) 62%, rgba(255, 239, 246, 0.82)),
    rgba(255, 245, 249, 0.86);
  box-shadow:
    0 10px 20px rgba(199, 76, 116, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #9b405c;
}

.analysis-page .benefit-item span,
.analysis-page .advice-item span {
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.analysis-page .advice-grid {
  gap: clamp(12px, 1.8vh, 16px);
}

.analysis-page .advice-item {
  min-height: 62px;
  padding: 12px 16px;
  border-radius: 18px;
}

.analysis-page .advice-item i {
  border-radius: 50%;
}

.analysis-page .advice-item:hover,
.analysis-page .benefit-item:hover,
.source-option:hover,
.demand-start .summary-box:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 92, 136, 0.38) !important;
  box-shadow:
    0 22px 42px rgba(151, 68, 98, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.source-grid {
  gap: clamp(12px, 1.8vw, 18px);
}

.source-option {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(220, 122, 154, 0.26) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(116deg, rgba(159, 70, 100, 0.065) 0 1px, transparent 1px 62px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 241, 247, 0.55) 48%, rgba(255, 230, 240, 0.56)),
    rgba(255, 250, 252, 0.82) !important;
  box-shadow:
    0 20px 42px rgba(151, 68, 98, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(171, 76, 107, 0.08) !important;
}

.source-option::before {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: -1;
  width: 32px;
  height: 32px;
  border-top: 1px solid rgba(225, 92, 136, 0.2);
  border-right: 1px solid rgba(225, 92, 136, 0.2);
  border-radius: 0 12px 0 0;
  content: "";
}

.demand-source-large .source-option {
  min-height: 184px;
  padding: 24px 20px;
  align-content: center;
  gap: 10px;
}

.source-option i,
.demand-source-large .source-option i {
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
  padding: 11px;
  border: 1px solid rgba(232, 121, 156, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 207, 224, 0.68)),
    rgba(255, 244, 249, 0.84);
  box-shadow:
    0 12px 24px rgba(198, 76, 116, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: #9a405b;
}

.source-option span {
  color: #4a2c38;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 950;
}

.source-option small {
  max-width: 240px;
  color: rgba(92, 67, 78, 0.66);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 820;
  line-height: 1.55;
}

.source-option.active {
  border-color: rgba(224, 92, 136, 0.5) !important;
  background:
    linear-gradient(116deg, rgba(159, 70, 100, 0.07) 0 1px, transparent 1px 62px),
    linear-gradient(180deg, rgba(255, 250, 252, 0.84), rgba(255, 225, 236, 0.7)),
    rgba(255, 239, 246, 0.86) !important;
}

.demand-start {
  border-radius: 22px;
}

.demand-start-head {
  padding: 4px 2px 0;
}

.demand-start .summary-box,
.empty-state.compact,
.bti-empty-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(220, 122, 154, 0.26) !important;
  border-radius: 18px;
  background:
    linear-gradient(112deg, rgba(159, 70, 100, 0.055) 0 1px, transparent 1px 62px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 238, 245, 0.56)),
    rgba(255, 249, 252, 0.82) !important;
  box-shadow:
    0 18px 42px rgba(151, 68, 98, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.demand-start .summary-box > i,
.empty-state.compact > i,
.bti-empty-card > i {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 12px;
  border: 1px solid rgba(232, 121, 156, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 207, 224, 0.68)),
    rgba(255, 244, 249, 0.84);
  color: #9a405b;
  box-shadow:
    0 12px 24px rgba(198, 76, 116, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.dropzone {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(158, 70, 100, 0.055) 0 1px, transparent 1px 66px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 239, 246, 0.62)),
    rgba(255, 249, 252, 0.84) !important;
}

.dropzone::before {
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px dashed rgba(221, 97, 137, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 60%),
    rgba(255, 245, 249, 0.2);
  content: "";
}

.dropzone::after {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: -1;
  width: 52px;
  height: 52px;
  border-top: 1px solid rgba(225, 92, 136, 0.22);
  border-right: 1px solid rgba(225, 92, 136, 0.22);
  border-radius: 0 18px 0 0;
  content: "";
}

.dropzone i,
.dropzone svg {
  width: 76px;
  height: 76px;
  padding: 16px;
  border: 1px solid rgba(232, 121, 156, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 205, 223, 0.72)),
    rgba(255, 239, 246, 0.88);
}

@media (max-width: 760px) {
  .analysis-page .advice-grid,
  .source-grid,
  .demand-source-large {
    grid-template-columns: 1fr;
  }

  .analysis-page .benefit-item::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}
