:root {
  color-scheme: light;
  --hero-height: 140px;
  --ink: #122038;
  --muted: #68758a;
  --line: #e6e7f2;
  --surface: rgba(255, 255, 255, .9);
  --brand: #6b4cf6;
  --brand-2: #9c55ff;
  --cyan: #19b8d2;
  --shadow: 0 10px 28px rgba(72, 75, 139, .1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 -5%, rgba(152, 118, 255, .16), transparent 32%),
    radial-gradient(circle at 100% 4%, rgba(141, 180, 255, .16), transparent 34%),
    linear-gradient(180deg, #f7f7ff 0, #fbfbff 52%, #f6f7ff 100%);
}

/* 2026-07-31 Taste + Impeccable customer-page refinement */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 76, 246, .42) transparent;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.is-page-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-page-scroll-locked {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

button,
a {
  min-height: 44px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(107, 76, 246, .24);
  outline-offset: 3px;
}

.store-hero,
.brand-promo,
.service-section,
.store-benefit {
  box-shadow: 0 10px 26px rgba(72, 75, 139, .08);
}

.service-item {
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.service-item:active {
  transform: scale(.985);
}

@media (max-width: 380px) {
  .card-app {
    padding-inline: 9px;
  }

  .service-section {
    border-radius: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.card-app {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 12px max(22px, env(safe-area-inset-bottom));
}
.preview-banner {
  position: sticky;
  z-index: 5;
  top: max(8px, env(safe-area-inset-top));
  display: flex;
  min-height: 42px;
  margin: 0 2px 12px;
  padding: 8px 13px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 92, 240, .28);
  border-radius: 13px;
  color: #4e49bb;
  background: rgba(250, 250, 255, .92);
  box-shadow: 0 10px 28px rgba(45, 50, 116, .12);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 800;
}

.store-hero {
  position: relative;
  overflow: hidden;
  min-height: var(--hero-height);
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(255,255,255,.98) 0 44%, rgba(248,246,255,.86) 66%, rgba(239,244,255,.68) 100%);
  box-shadow: 0 12px 30px rgba(78, 77, 152, .12);
}

.hero-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  background-position: center;
  background-size: cover;
  opacity: .34;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}

.store-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.68) 0 40%, rgba(250,248,255,.34) 66%, rgba(225,229,255,.18));
  pointer-events: none;
}

.store-summary, .store-meta { position: relative; z-index: 1; }

.store-summary {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: var(--hero-height);
  padding: 14px 17px;
}

.store-logo {
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(224, 224, 240, .96);
  border-radius: 21px;
  color: #5e55d8;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 9px 22px rgba(66, 63, 129, .12);
  font-size: 30px;
}

.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-copy { min-width: 0; padding-right: 48px; color: #111827; }
.store-copy h1 { margin: 0; font-size: clamp(24px, 7vw, 31px); line-height: 1.15; letter-spacing: -.04em; }
.store-copy p { margin: 7px 0 0; color: #7147e8; font-size: 14px; font-weight: 700; line-height: 1.45; }

.store-meta {
  display: flex;
  gap: 10px;
  margin-top: 11px;
  color: #6e7789;
  font-size: 12px;
}
.store-meta span {
  display: inline-flex;
  min-width: 0;
  gap: 4px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.store-meta span:not(:first-child) { display: none; }

.store-status {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  display: inline-flex;
  min-height: 31px;
  padding: 5px 11px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(134, 222, 174, .55);
  border-radius: 999px;
  color: #13a04f;
  background: rgba(245, 255, 249, .9);
  box-shadow: 0 7px 18px rgba(40, 161, 93, .08);
  font-size: 12px;
  font-weight: 800;
}

.brand-promo {
  position: relative;
  aspect-ratio: 5 / 1;
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .98);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(72, 75, 139, .08);
}

.brand-promo img {
  position: absolute;
  top: 49%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

#cardMain { padding: 12px 0 0; }

.action-section {
  margin-bottom: 11px;
  padding: 12px 11px;
  border: 1px solid rgba(235, 235, 246, .96);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-heading {
  position: relative;
  display: flex;
  min-height: 24px;
  margin-bottom: 10px;
  padding-left: 13px;
  align-items: center;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7849ff, #a361ff);
  box-shadow: 0 0 12px rgba(119, 73, 255, .24);
}
.section-heading div { display: flex; gap: 10px; align-items: center; }
.section-heading i, .section-heading small { display: none; }
.section-heading h2 { margin: 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.group-video .action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-review .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.action-tile {
  position: relative;
  display: flex;
  min-height: 72px;
  padding: 8px 5px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e8e8f3;
  border-radius: 18px;
  color: var(--ink);
  background: rgba(252, 252, 255, .9);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.action-tile:active { transform: scale(.97); }
.action-tile:hover { border-color: #bbbaf9; box-shadow: 0 12px 28px rgba(74, 74, 185, .12); transform: translateY(-2px); }

.action-icon {
  display: grid;
  overflow: hidden;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px rgba(91, 92, 240, .12);
  font-size: 22px;
}
.action-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.action-icon i { font-size: 25px; line-height: 1; }
.action-tile[data-action-type*="xiaohongshu"] .action-icon { background: linear-gradient(145deg, #ff4266, #ff6f61); }
.action-tile[data-action-type*="wechat"] .action-icon { background: linear-gradient(145deg, #13b962, #42d685); }
.action-tile[data-action-type="wechat_channels_video"] .action-icon { background: linear-gradient(145deg, #ff9d20, #ff7b00); }
.action-tile[data-action-type="wechat_moments_image_post"] .action-icon { background: linear-gradient(145deg, #24c66b, #13ae56); }
.action-tile[data-action-type*="douyin"] .action-icon { background: linear-gradient(145deg, #101727, #26324b); }
.action-tile[data-action-type*="dianping"] .action-icon { background: linear-gradient(145deg, #ff7a2f, #ff4f5e); }
.action-tile[data-action-type*="amap"] .action-icon { background: linear-gradient(145deg, #4777ff, #4eb8ff); }
.action-tile[data-action-type="wifi_connect"] .action-icon { background: linear-gradient(145deg, #25aac4, #36d0b2); }
.action-tile strong { max-width: 100%; font-size: 13px; line-height: 1.25; text-align: center; }
.action-tile small { display: none; }
.group-image .action-tile,
.group-follow .action-tile,
.group-service .action-tile,
.group-review .action-tile {
  min-height: 60px;
  padding: 9px 12px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 13px;
}
.group-image .action-tile strong,
.group-follow .action-tile strong,
.group-service .action-tile strong,
.group-review .action-tile strong {
  font-size: 14px;
  text-align: left;
}
.group-video .action-tile:nth-child(2),
.group-image .action-tile:first-child,
.group-follow .action-tile:nth-child(2) {
  border-color: rgba(255, 91, 111, .16);
  background: rgba(255, 250, 251, .88);
}
.group-video .action-tile:nth-child(3) {
  border-color: rgba(255, 166, 74, .2);
  background: rgba(255, 251, 247, .9);
}
.group-image .action-tile:nth-child(2),
.group-service .action-tile:nth-child(2) {
  border-color: rgba(73, 185, 110, .16);
  background: rgba(249, 255, 251, .88);
}
.action-tile.unconfigured,
.action-tile.temporarily_unavailable {
  border-color: #e5e8f1;
  opacity: 1;
}
.action-tile.unconfigured:hover,
.action-tile.temporarily_unavailable:hover {
  border-color: #d8dbea;
  box-shadow: 0 10px 22px rgba(74, 74, 120, .08);
}
.action-tile em {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border: 1px solid rgba(112, 119, 145, .2);
  border-radius: 999px;
  color: #737d91;
  background: rgba(244, 246, 251, .94);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.loading-state, .empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}
.loading-orbit {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(91, 92, 240, .14);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.store-benefit {
  display: flex;
  min-height: 76px;
  margin-top: 2px;
  padding: 12px 16px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(239, 188, 92, .54);
  border-radius: 20px;
  background: rgba(255, 252, 244, .92);
  box-shadow: 0 10px 28px rgba(184, 132, 53, .08);
}
.benefit-icon {
  display: grid;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #ff7a26, #ffb52e);
  box-shadow: 0 9px 20px rgba(255, 131, 38, .2);
  font-size: 28px;
}
.store-benefit div { min-width: 0; flex: 1; }
.store-benefit strong { display: block; margin-bottom: 3px; color: #7a3c13; font-size: 16px; }
.store-benefit p { margin: 0; color: #7f7166; font-size: 11px; line-height: 1.4; }
.store-benefit > i { color: rgba(239, 169, 62, .38); font-size: 42px; transform: rotate(-10deg); }

.card-footer {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 13px 8px 2px;
  color: #8792a4;
  font-size: 11px;
  text-align: center;
}
.card-footer div { display: flex; align-items: center; gap: 10px; }
.card-footer span { display: inline-flex; align-items: center; gap: 4px; }
.card-footer b { width: 1px; height: 10px; background: #ccd2df; }
.card-footer small { color: #9aa3b3; font-size: 10px; }

.review-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  border: 0;
  background: transparent;
}
.review-dialog::backdrop {
  background: rgba(10, 18, 34, .48);
  backdrop-filter: blur(4px);
}
.review-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 520px);
  max-height: min(90vh, 760px);
  max-height: min(90dvh, 760px);
  margin-inline: auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  border: 1px solid rgba(218, 224, 240, .92);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -18px 48px rgba(11, 20, 40, .18);
  animation: platform-sheet-in 200ms cubic-bezier(.22, 1, .36, 1);
}
.review-header {
  display: flex;
  padding: 2px 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.review-identity > div { min-width: 0; }
.review-platform-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brand);
  background: #fff;
  font-size: 22px;
}
.review-platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-header small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-header small.wifi-instruction {
  overflow: visible;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
}
.review-header h2 {
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 21px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #f8f9fc;
  cursor: pointer;
  font-size: 21px;
  line-height: 0;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.icon-button-symbol {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-button:hover { border-color: #d6d2f5; background: #f4f2ff; }
.icon-button:active { transform: scale(.96); }
.review-body { display: grid; gap: 12px; }
.review-copy {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafbff;
}
.review-copy p { margin: 0; white-space: pre-wrap; color: #3d4b61; line-height: 1.68; font-size: 14px; }
.review-follow-note { padding-block: 18px; }
.review-platform-fallback {
  display: flex;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(91, 92, 240, .24);
  border-radius: 15px;
  color: var(--brand);
  background: rgba(91, 92, 240, .07);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.wechat-platform-guide {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  place-items: start center;
  background: rgba(8, 12, 20, .84);
  touch-action: none;
  animation: wechat-guide-fade-in 180ms ease-out;
}
.wechat-guide-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  z-index: 2;
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  font-size: 24px;
  transition: background 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.wechat-guide-close:active { background: rgba(255, 255, 255, .22); transform: scale(.96); }
.wechat-guide-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.wechat-guide-arrow {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  width: clamp(112px, 34vw, 154px);
  height: clamp(178px, 29dvh, 246px);
  overflow: visible;
}
.wechat-guide-arrow-line,
.wechat-guide-arrow-head {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .25));
}
.wechat-guide-arrow-line { stroke-dasharray: 8 11; }
.wechat-guide-card {
  display: grid;
  width: min(100%, 430px);
  margin-top: clamp(190px, 29dvh, 306px);
  padding: 22px clamp(20px, 6vw, 32px) 24px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  color: #111827;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  animation: wechat-guide-card-in 210ms cubic-bezier(.22, 1, .36, 1);
}
.wechat-guide-card h3 {
  margin: 0 0 2px;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}
.wechat-guide-step {
  display: grid;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}
.wechat-guide-step > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #151515;
  background: #ffd400;
  font-size: 19px;
  font-weight: 900;
}
.wechat-guide-step p {
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #242b37;
  font-size: clamp(16px, 4.5vw, 19px);
  font-weight: 750;
  line-height: 1.45;
}
.wechat-menu-symbol {
  display: inline-flex;
  width: 48px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  background: #15171c;
}
.wechat-menu-symbol i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}
.review-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.review-media img, .review-media video {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 16px;
  background: #0e1727;
}
.review-media video:first-child:last-child { grid-column: 1 / -1; object-fit: contain; }
.review-image-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.review-image-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 0;
  padding: 0 0 133.333%;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  color: #dce4f3;
  background: #0e1727;
  -webkit-tap-highlight-color: transparent;
}
.review-image-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.review-image-thumb span {
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  align-content: center;
  gap: 5px;
  font-size: 18px;
}
.review-image-thumb small { font-size: 10px; }
.review-image-thumb.is-loading i { animation: spin .85s linear infinite; }
.review-image-thumb.is-ready { cursor: zoom-in; }
.review-image-thumb.is-ready:active { transform: scale(.98); }

.review-image-preview {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  padding: max(58px, env(safe-area-inset-top)) 16px max(44px, env(safe-area-inset-bottom));
  place-items: center;
  background: rgba(3, 8, 18, .94);
}
.review-image-preview img {
  width: 100%;
  height: 100%;
  max-width: 960px;
  max-height: calc(100vh - 112px);
  object-fit: contain;
}
.review-image-preview-close {
  position: absolute;
  z-index: 1;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
.review-image-preview-nav {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: inline-grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .38);
  transform: translateY(-50%);
  font-size: 28px;
  cursor: pointer;
}
.review-image-preview-nav.is-previous { left: 14px; }
.review-image-preview-nav.is-next { right: 14px; }
.review-image-preview > span {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom));
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  font-weight: 800;
}
.wifi-panel {
  display: grid;
  gap: 16px;
  color: var(--ink);
}
.wifi-panel > img {
  width: min(74vw, 280px);
  justify-self: center;
  border-radius: 14px;
}
.wifi-panel > strong {
  overflow-wrap: anywhere;
  text-align: center;
}
.wifi-credential-list {
  overflow: hidden;
  border: 1px solid #e2e6f0;
  border-radius: 16px;
  background: #f8f9fc;
}
.wifi-credential-row {
  display: grid;
  min-height: 64px;
  padding: 10px 10px 10px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.wifi-credential-row + .wifi-credential-row { border-top: 1px solid #e2e6f0; }
.wifi-credential-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.wifi-credential-copy span {
  color: #68758a;
  font-size: 12px;
  font-weight: 650;
}
.wifi-credential-copy strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #18243a;
  font-size: 16px;
  line-height: 1.4;
}
.wifi-row-action {
  display: inline-flex;
  min-width: 64px;
  min-height: 44px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d9ddea;
  border-radius: 12px;
  color: #5640ce;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.wifi-row-action:hover { border-color: #c6bff8; background: #f5f2ff; }
.wifi-row-action:active { transform: scale(.97); }
.wifi-qr {
  display: grid;
  margin: 0;
  place-items: center;
  gap: 8px;
}
.wifi-qr img {
  width: min(52vw, 208px);
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid #e2e6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(42, 52, 88, .08);
}
.wifi-qr figcaption {
  color: #68758a;
  font-size: 12px;
  font-weight: 650;
}
.wechat-contact-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--ink);
}
.wechat-contact-tip {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #dcefe5;
  border-radius: 12px;
  color: #315a43;
  background: #f2fbf6;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}
.wechat-contact-tip i { margin-top: 2px; color: #13a85b; font-size: 16px; }
.wechat-qr-trigger {
  position: relative;
  display: grid;
  width: min(68vw, 264px);
  aspect-ratio: 1;
  padding: 10px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #dfe6e2;
  border-radius: 20px;
  color: #fff;
  background: #fff;
  box-shadow: 0 12px 34px rgba(32, 73, 51, .12);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.wechat-qr-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  -webkit-touch-callout: default;
}
.wechat-qr-trigger > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  padding: 6px 9px;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: rgba(14, 30, 22, .72);
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}
.wechat-qr-trigger.is-error::before {
  content: "二维码加载失败";
  color: #68758a;
  font-size: 14px;
  font-weight: 700;
}
.wechat-qr-trigger.is-error > span { display: none; }
.wechat-qr-retry {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #cfd9d3;
  border-radius: 12px;
  color: #23653f;
  background: #fff;
  cursor: pointer;
  font-weight: 750;
}
.wechat-qr-retry:disabled { cursor: wait; opacity: .62; }
.wechat-id-row {
  display: grid;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #e2e6f0;
  border-radius: 14px;
  background: #f8f9fc;
}
.wechat-id-row span { color: #68758a; font-size: 13px; font-weight: 650; }
.wechat-id-row strong { overflow-wrap: anywhere; text-align: right; font-size: 15px; }

.review-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18%);
}
.review-actions.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-actions.is-two,
.review-actions.is-follow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.review-actions.is-wifi.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-actions.is-wechat.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-actions.is-single { grid-template-columns: minmax(0, 1fr); }
.primary-button, .secondary-button {
  min-height: 52px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
}
.review-actions .primary-button,
.review-actions .secondary-button {
  min-width: 0;
  min-height: 48px;
  padding-inline: clamp(6px, 2.4vw, 14px);
  border-radius: 14px;
  font-size: clamp(12px, 3.2vw, 14px);
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.review-actions .primary-button {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(107, 76, 246, .18);
}
.review-actions .secondary-button:hover { border-color: #d6d2f5; background: #faf9ff; }
.review-actions button:active { transform: scale(.98); }
.review-actions button:disabled { cursor: wait; opacity: .55; }
.review-actions .primary-button.is-gate-locked:disabled {
  cursor: not-allowed;
  color: #53627a;
  background: #d9deea;
  box-shadow: none;
  opacity: 1;
}
.primary-button { border: 0; color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2) 58%, var(--cyan)); box-shadow: 0 12px 26px rgba(91, 92, 240, .22); }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: #fff; }

@keyframes platform-sheet-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wechat-guide-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wechat-guide-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes platform-resume-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes platform-resume-spin {
  to { transform: rotate(360deg); }
}

.platform-resume {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  place-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  background: rgba(10, 18, 34, .68);
}

.platform-resume[open] { background: transparent; }

.platform-resume::backdrop {
  background: rgba(10, 18, 34, .68);
  backdrop-filter: blur(4px);
}

.platform-resume-card {
  display: grid;
  width: min(100%, 420px);
  max-width: 420px;
  justify-items: center;
  gap: 16px;
  padding: clamp(24px, 7vw, 34px);
  border: 1px solid rgba(223, 228, 243, .94);
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 26px 80px rgba(10, 18, 42, .32);
  text-align: center;
  animation: platform-resume-in 180ms ease-out both;
}

.platform-resume-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(219, 224, 239, .94);
  border-radius: 20px;
  color: var(--brand);
  background: #f6f7ff;
  box-shadow: 0 10px 28px rgba(61, 67, 121, .13);
  font-size: 28px;
}

.platform-resume-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-resume-icon .ri-loader-4-line {
  animation: platform-resume-spin 900ms linear infinite;
}

.platform-resume-copy small {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.platform-resume-copy h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.25;
}

.platform-resume-copy p {
  margin: 9px 0 0;
  color: #59677c;
  font-size: 15px;
  line-height: 1.6;
}

.platform-resume-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.platform-resume-actions[hidden] {
  display: none;
}

.platform-resume button,
.platform-resume-return {
  width: 100%;
  min-height: 48px;
  transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease;
}

.platform-resume button:active,
.platform-resume-return:active {
  opacity: .78;
}

.platform-resume button:focus-visible,
.platform-resume-return:focus-visible {
  outline: 3px solid rgba(107, 76, 246, .34);
  outline-offset: 3px;
}

.platform-resume-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #53627a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.notice-dialog {
  width: min(88vw, 360px);
  max-width: 360px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
}
.notice-dialog::backdrop {
  background: rgba(16, 24, 45, .42);
  backdrop-filter: blur(6px);
}
.notice-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(218, 224, 240, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 37, 74, .24);
  text-align: center;
}
.notice-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2) 58%, var(--cyan));
  box-shadow: 0 12px 28px rgba(91, 92, 240, .24);
  font-size: 27px;
}
.notice-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.notice-card strong { display: block; font-size: 20px; }
.notice-card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.notice-card .primary-button { width: 100%; }
.confirmation-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}
.confirmation-actions .primary-button,
.confirmation-actions .secondary-button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  margin: auto;
  padding: 13px 17px;
  border-radius: 14px;
  color: #fff;
  background: rgba(14, 24, 43, .94);
  box-shadow: 0 14px 38px rgba(12, 19, 38, .26);
  font-size: 13px;
  text-align: center;
}

.review-dialog-toast {
  top: max(16px, env(safe-area-inset-top));
  bottom: auto;
  z-index: 21;
}

@media (max-width: 420px) {
  .review-actions { gap: 6px; }
  .group-review .action-tile em {
    top: 3px;
    padding: 1px 5px;
    font-size: 8px;
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .review-sheet {
    max-height: 94vh;
    max-height: 94dvh;
  }
  .wechat-guide-arrow {
    width: 92px;
    height: 132px;
  }
  .wechat-guide-card {
    width: min(72vw, 520px);
    margin-top: max(72px, calc(env(safe-area-inset-top) + 44px));
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 10px;
  }
  .wechat-guide-card h3 { font-size: 17px; }
  .wechat-guide-step > span { width: 30px; height: 30px; font-size: 16px; }
  .wechat-guide-step { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
  .wechat-guide-step p { font-size: 15px; }
  .platform-resume {
    align-items: start;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .platform-resume-card {
    grid-template-columns: 64px minmax(0, 1fr) minmax(150px, .7fr);
    width: min(92vw, 720px);
    max-width: 720px;
    gap: 12px 18px;
    padding: 18px 22px;
    text-align: left;
  }
  .platform-resume-copy { justify-self: stretch; }
  .platform-resume-actions,
  .platform-resume-card > button,
  .platform-resume-return {
    grid-column: 3;
    align-self: center;
  }
  .platform-resume-return { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .review-sheet { animation: none; }
  .wechat-platform-guide,
  .wechat-guide-card { animation: none; }
  .wechat-guide-close,
  .review-actions button,
  .icon-button,
  .platform-resume-card,
  .platform-resume button,
  .platform-resume-return { transition: none; animation: none; }
}

@media (min-width: 560px) {
  .card-app { padding-top: 20px; }
}

@media (max-width: 374px) {
  .card-app { padding-right: 10px; padding-left: 10px; }
  .store-summary { gap: 12px; padding-right: 13px; padding-left: 13px; }
  .store-logo { width: 68px; height: 68px; flex-basis: 68px; }
  .store-copy { padding-right: 38px; }
  .store-copy h1 { font-size: 23px; }
  .store-status { right: 12px; bottom: 12px; min-height: 28px; padding: 4px 9px; font-size: 11px; }
  .action-section { padding: 12px 10px; }
  .action-grid { gap: 8px; }
  .action-tile { min-height: 70px; }
  .action-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .action-tile strong { font-size: 12px; }
}
.customer-submission-composer { display: grid; gap: 16px; color: var(--ink); }
.customer-submission-media { display: grid; justify-items: center; gap: 9px; }
.customer-submission-media-heading { display: none; }
.customer-submission-preview { display: grid; width: min(42vw, 158px); max-height: 280px; aspect-ratio: 9 / 16; overflow: hidden; place-items: center; border: 1px dashed #cfd6e5; border-radius: 18px; background: #f5f7fb; cursor: pointer; }
.customer-submission-preview video { width: 100%; height: 100%; object-fit: cover; background: #0a1220; }
.customer-submission-preview > span { display: grid; padding: 16px 10px; justify-items: center; gap: 6px; color: #66748a; text-align: center; }
.customer-submission-preview > span i { color: var(--brand); font-size: 30px; }
.customer-submission-preview > span strong { color: #26344b; font-size: 14px; }
.customer-submission-preview > span small { font-size: 10px; }
.customer-video-change { min-height: 40px; padding: 0 14px; border: 1px solid #d7ddea; border-radius: 12px; color: #344057; background: #fff; font-weight: 750; }
.customer-submission-media progress { width: min(76%, 280px); height: 7px; accent-color: var(--brand); }
.customer-submission-media > small { color: #6b778c; font-size: 11px; }
.customer-submission-fields { display: grid; gap: 10px; }
.customer-submission-fields > label:not(.customer-location-row):not(.customer-rights-row) { display: grid; gap: 6px; }
.customer-submission-fields label > span { color: #677389; font-size: 12px; font-weight: 750; }
.customer-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-field-heading output { color: #98a1b2; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600; }
.customer-submission-fields input[type="text"], .customer-submission-fields input:not([type]), .customer-submission-fields textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #dfe4ee; border-radius: 13px; color: #162238; background: #f9fafc; font: inherit; outline: none; }
.customer-submission-fields textarea { min-height: 78px; resize: vertical; }
.customer-submission-fields input:focus, .customer-submission-fields textarea:focus { border-color: #8d7bf5; box-shadow: 0 0 0 3px rgba(107, 76, 246, .12); }
.customer-location-row, .customer-rights-row { display: flex; min-height: 54px; padding: 10px 12px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e1e5ee; border-radius: 13px; background: #fff; }
.customer-location-row > span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; }
.customer-location-row > span i { grid-row: 1 / 3; color: var(--brand); font-size: 20px; }
.customer-location-row > span strong { color: #202d43; }
.customer-location-row > span small { color: #7a8598; font-size: 11px; }
.customer-location-row input, .customer-rights-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--brand); }
.customer-rights-row { justify-content: flex-start; min-height: 48px; }
.customer-rights-row span { color: #435069 !important; line-height: 1.45; }
.customer-submission-footer { position: sticky; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 9px; padding-top: 12px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18%); }
.customer-submission-footer button { min-width: 0; min-height: 50px; padding: 0 10px; border-radius: 14px; font-size: 13px; }
.customer-submission-footer .primary-button { background: #ff2c55; box-shadow: 0 10px 22px rgba(255, 44, 85, .22); }
@media (max-width: 374px) { .customer-submission-preview { width: 132px; } }

.review-dialog.is-review-demo-composer {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.review-dialog.is-review-demo-composer .review-sheet {
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: max(12px, env(safe-area-inset-top)) 14px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.review-dialog.is-review-demo-composer .review-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  padding: 2px 0 10px;
  background: #fff;
}
.review-dialog.is-review-demo-composer .review-platform-icon { display: none; }
.review-dialog.is-review-demo-composer .review-identity { grid-column: 2; justify-content: center; }
.review-dialog.is-review-demo-composer .review-header > .icon-button { grid-column: 1; grid-row: 1; }
.review-dialog.is-review-demo-composer .review-header small { display: none; }
.review-dialog.is-review-demo-composer .review-header h2 { margin: 0; font-size: 18px; text-align: center; }
.review-dialog.is-review-demo-composer #reviewBody {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-gutter: stable;
}
.review-demo-composer {
  min-height: 100%;
  padding: 2px 1px calc(14px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.review-demo-composer .customer-submission-preview {
  width: min(38vw, 148px);
  max-height: 260px;
  border-style: solid;
  background: #f7f8fb;
}
.review-demo-composer .customer-video-change { min-height: 44px; }
.customer-video-filter-inspector {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e5ef;
  border-radius: 16px;
  background: #fbfbfe;
}
.customer-video-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.customer-video-filter-heading strong { color: #1f2d45; font-size: 15px; }
.customer-video-filter-heading output { color: #6b5bf0; font-size: 12px; font-weight: 750; }
.customer-video-filter-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.customer-video-filter-presets button {
  display: grid;
  min-width: 0;
  padding: 7px 5px 8px;
  justify-items: center;
  gap: 6px;
  border: 1px solid #e0e4ee;
  border-radius: 12px;
  color: #536077;
  background: #fff;
}
.customer-video-filter-presets button span { width: 100%; aspect-ratio: 16 / 10; border-radius: 7px; background: linear-gradient(135deg, #e8ebf3, #cfd5e2); }
.customer-video-filter-presets button[data-video-filter="vivid"] span { background: linear-gradient(135deg, #ff8a5c, #7868ff); }
.customer-video-filter-presets button[data-video-filter="clear"] span { background: linear-gradient(135deg, #ecfbff, #86d7ff); }
.customer-video-filter-presets button[data-video-filter="warm"] span { background: linear-gradient(135deg, #ffe2a3, #ff8a64); }
.customer-video-filter-presets button[data-video-filter="cool"] span { background: linear-gradient(135deg, #c9efff, #6778e8); }
.customer-video-filter-presets button[data-video-filter="cinema"] span { background: linear-gradient(135deg, #263449, #c7996a); }
.customer-video-filter-presets button[aria-pressed="true"] { border-color: #725df4; color: #4935d0; box-shadow: 0 0 0 2px rgba(114, 93, 244, .12); }
.customer-video-filter-presets button:disabled { cursor: not-allowed; opacity: .52; }
.customer-video-filter-strength { display: grid; gap: 8px; color: #536077; font-size: 12px; font-weight: 700; }
.customer-video-filter-strength input { width: 100%; accent-color: #725df4; }
.customer-video-filter-render { min-height: 44px; border-radius: 12px; }
.customer-video-filter-inspector progress { width: 100%; height: 7px; accent-color: #725df4; }
.customer-video-filter-inspector > small { color: #748096; font-size: 11px; line-height: 1.5; }
.review-demo-composer .customer-submission-control-note {
  display: flex;
  min-height: 44px;
  margin: 0;
  padding: 9px 11px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e6ef;
  border-radius: 13px;
  color: #5d697c;
  background: #fff;
  font-size: 12px;
}
.review-demo-composer .customer-submission-control-note i { color: var(--brand); font-size: 18px; }
.customer-submission-save-state {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6b778c;
  font-size: 11px;
}
.review-demo-composer .customer-submission-footer {
  padding: 10px 0 max(8px, env(safe-area-inset-bottom));
  background: #fff;
}
.review-demo-composer :is(button, input, textarea):focus-visible,
.customer-submission-preview-dialog :is(button, video):focus-visible {
  outline: 3px solid rgba(77, 89, 246, .3);
  outline-offset: 2px;
}

.customer-submission-preview-dialog {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
}
.customer-submission-preview-dialog::backdrop { background: rgba(10, 18, 32, .48); }
.customer-submission-confirmation {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: 100%;
  padding: max(12px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  color: var(--ink);
}
.customer-submission-confirmation header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.customer-submission-confirmation header h2 { margin: 0; grid-column: 2; font-size: 19px; text-align: center; }
.customer-submission-confirmation video {
  width: min(58vw, 250px);
  max-height: 46vh;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  background: #0a1220;
}
#customerSubmissionPreviewCopy { display: grid; align-content: start; gap: 8px; }
#customerSubmissionPreviewCopy h3,
#customerSubmissionPreviewCopy p { margin: 0; }
#customerSubmissionPreviewCopy h3 { font-size: 18px; }
#customerSubmissionPreviewCopy p { color: #536077; line-height: 1.65; white-space: pre-wrap; }
#customerSubmissionPreviewCopy .customer-submission-preview-topics { color: var(--brand); }
.customer-submission-confirmation > .primary-button { min-height: 50px; }

@media (max-width: 374px) {
  .review-dialog.is-review-demo-composer .review-sheet { padding-right: 12px; padding-left: 12px; }
  .review-demo-composer { gap: 12px; }
  .review-demo-composer .customer-submission-preview { width: 126px; }
  .review-demo-composer .customer-submission-fields { gap: 8px; }
}

@media (min-width: 900px) {
  .review-dialog.is-review-demo-composer .review-sheet {
    padding: 20px 28px 24px;
    background: #fbfcff;
  }

  .review-dialog.is-review-demo-composer .review-header,
  .review-dialog.is-review-demo-composer #reviewBody {
    width: min(100%, 1240px);
    margin-inline: auto;
  }

  .review-dialog.is-review-demo-composer .review-header {
    min-height: 56px;
    padding: 0 0 14px;
    background: transparent;
  }

  .review-dialog.is-review-demo-composer #reviewBody {
    border: 1px solid #e1e6f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(40, 53, 82, .07);
  }

  .review-demo-composer {
    width: 100%;
    max-width: 1240px;
    min-height: 100%;
    margin-inline: auto;
    padding: 30px 34px 24px;
    grid-template-columns: minmax(280px, 340px) minmax(360px, 1fr) minmax(220px, 260px);
    align-items: start;
    column-gap: 40px;
    row-gap: 18px;
    overflow: visible;
  }

  .review-demo-composer .customer-submission-workspace {
    display: contents;
  }

  .review-demo-composer .customer-submission-media {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    justify-items: center;
    position: sticky;
    top: 20px;
  }

  .review-demo-composer .customer-submission-media-heading {
    display: grid;
    width: min(100%, 360px);
    gap: 4px;
    justify-items: start;
  }

  .review-demo-composer .customer-submission-media-heading strong {
    color: #1f2d45;
    font-size: 15px;
  }

  .review-demo-composer .customer-submission-media-heading span {
    color: #728097;
    font-size: 12px;
    line-height: 1.45;
  }

  .review-demo-composer .customer-submission-preview {
    width: min(100%, 360px, calc((100dvh - 210px) * 9 / 16));
    max-height: none;
    border-color: #c8c5ff;
    border-style: dashed;
    border-radius: 16px;
    background: #f8f8ff;
  }

  .review-demo-composer .customer-video-change {
    min-height: 44px;
    padding-inline: 18px;
    border-color: #bcb7ff;
    color: #5f4de8;
  }

  .review-demo-composer .customer-submission-media > small {
    color: #647188;
    font-size: 12px;
  }

  .review-demo-composer .customer-submission-editor {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    min-width: 0;
    gap: 14px;
  }

  .review-demo-composer .customer-video-filter-inspector {
    position: sticky;
    top: 20px;
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
  }

  .review-demo-composer .customer-submission-fields {
    gap: 18px;
  }

  .review-demo-composer .customer-submission-fields > label:not(.customer-location-row):not(.customer-rights-row) {
    gap: 9px;
  }

  .review-demo-composer .customer-submission-fields label > span {
    color: #26344b;
    font-size: 14px;
  }

  .review-demo-composer .customer-submission-fields input[type="text"],
  .review-demo-composer .customer-submission-fields input:not([type]),
  .review-demo-composer .customer-submission-fields textarea {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
  }

  .review-demo-composer .customer-submission-fields textarea {
    min-height: 150px;
  }

  .review-demo-composer .customer-location-row,
  .review-demo-composer .customer-rights-row {
    min-height: 58px;
    border-radius: 12px;
  }

  .review-demo-composer .customer-submission-control-note {
    min-height: 0;
    padding: 0 2px;
    border: 0;
    color: #8a94a7;
    background: transparent;
  }

  .review-demo-composer .customer-submission-save-state {
    position: fixed;
    z-index: 3;
    top: 34px;
    left: calc(50% + 160px);
    min-height: 24px;
    justify-content: flex-start;
    color: #728098;
    font-size: 12px;
  }

  .review-demo-composer .customer-submission-save-state,
  .review-demo-composer .customer-submission-footer {
    grid-column: 1 / -1;
  }

  .review-demo-composer .customer-submission-footer {
    position: sticky;
    z-index: 2;
    bottom: 24px;
    padding: 12px 0 0;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
  }

  .review-demo-composer .customer-submission-footer button {
    min-height: 50px;
    border-radius: 12px;
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .review-demo-composer .customer-video-filter-inspector {
    width: 100%;
    order: 3;
    padding: 14px;
  }
  .customer-video-filter-presets { grid-template-columns: repeat(6, minmax(64px, 1fr)); overflow-x: auto; padding: 2px; }
  .customer-video-filter-presets button { min-width: 64px; }
}

/* Xiaohongshu publishing assistant */
.review-dialog:has(.xhs-publisher) {
  height: 100vh;
  height: 100dvh;
}

.review-dialog:has(.xhs-publisher) .review-sheet {
  top: 0;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  padding: max(14px, env(safe-area-inset-top)) 14px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.review-dialog:has(.xhs-publisher) .review-header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 4px 0 12px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.review-dialog:has(.xhs-publisher) .review-header small { display: none; }
.review-dialog:has(.xhs-publisher) .review-header h2 { margin-top: 0; font-size: 20px; }

.xhs-publisher {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding-bottom: 2px;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  color: #172033;
}

.xhs-media-stage {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 6px 0 2px;
}

.xhs-video-preview {
  position: relative;
  width: min(38vw, 164px);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #111827;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .16);
}

.xhs-video-preview video { width: 100%; height: 100%; object-fit: cover; }
.xhs-video-preview figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 7px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, .72);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.xhs-media-empty { display: grid; height: 100%; place-items: center; color: #fff; font-size: 12px; }

.xhs-media-strip {
  display: grid;
  grid-auto-columns: minmax(92px, 30%);
  grid-auto-flow: column;
  width: 100%;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.xhs-media-strip::-webkit-scrollbar { display: none; }
.xhs-image-thumb {
  position: relative;
  min-width: 0;
  min-height: 44px;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #f4f5f8;
}
.xhs-image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.xhs-image-thumb > span {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 24, 39, .7);
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 560px) {
  .review-image-preview-nav {
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    transform: none;
  }
}
.xhs-image-thumb.is-failed::after {
  content: "加载失败 · 重试";
  position: absolute;
  inset: 0;
  display: grid;
  padding: 8px;
  place-items: center;
  color: #fff;
  background: rgba(28, 34, 48, .78);
  font-size: 11px;
  font-weight: 800;
}

.xhs-step-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.xhs-step-rail li { position: relative; display: grid; justify-items: center; gap: 5px; color: #7b8493; font-size: 11px; }
.xhs-step-rail li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 17px); width: calc(100% - 34px); height: 2px; background: #e8eaf0; }
.xhs-step-rail span { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #dfe2ea; border-radius: 50%; background: #fff; font-weight: 800; }
.xhs-step-rail li.is-complete { color: #1c8b55; }
.xhs-step-rail li.is-complete span { border-color: #bce8cf; background: #eaf9f0; }

.xhs-copy-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e9eaf0;
  border-radius: 16px;
  background: #fbfbfd;
}
.xhs-copy-block small { color: #89909c; font-size: 11px; font-weight: 700; }
.xhs-copy-block p { margin: 5px 0 0; white-space: pre-wrap; color: #273044; font-size: 14px; line-height: 1.6; }
.xhs-copy-body p { max-height: 8em; overflow-y: auto; }
.xhs-copy-button {
  align-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e0e2e9;
  border-radius: 12px;
  color: #293247;
  background: #fff;
  font-weight: 750;
}
.xhs-copy-button.is-complete { border-color: #bee9d1; color: #18794b; background: #eefaf3; }

.xhs-topic-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.xhs-topic-list::-webkit-scrollbar { display: none; }
.xhs-topic-list span { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; color: #555e6e; background: #f3f4f6; font-size: 12px; }
.xhs-settings { border-top: 1px solid #eceef2; }
.xhs-setting-row { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); min-height: 56px; align-items: center; gap: 8px; border-bottom: 1px solid #f0f1f4; }
.xhs-setting-row i { color: #3c4658; font-size: 20px; }
.xhs-setting-row strong { font-size: 14px; }
.xhs-setting-row span { overflow: hidden; color: #8b929e; font-size: 12px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

.xhs-publisher-footer {
  position: sticky;
  z-index: 4;
  bottom: 0;
  display: grid;
  gap: 7px;
  padding: 18px 0 max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24%);
  text-align: center;
}
.xhs-publisher-footer button { min-height: 50px; border-radius: 16px; background: #ff2442; box-shadow: 0 10px 24px rgba(255, 36, 66, .2); }
.xhs-publisher-footer button:disabled { color: #818896; background: #eceef2; box-shadow: none; }
.xhs-publisher-footer small { color: #858d9b; font-size: 11px; }

@media (max-width: 359px) {
  .xhs-copy-block { grid-template-columns: 1fr; }
  .xhs-copy-button { width: 100%; }
  .xhs-setting-row { grid-template-columns: 22px minmax(0, 1fr); }
  .xhs-setting-row span { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .xhs-publisher,
  .xhs-publisher * { scroll-behavior: auto; transition: none; animation: none; }
}

body.douyin-review-demo .store-hero,
body.douyin-review-demo .brand-promo,
body.douyin-review-demo .store-benefit,
body.douyin-review-demo .card-footer { display: none; }

body.douyin-review-demo .card-app {
  width: min(100%, 560px);
  padding-inline: 14px;
}

.douyin-review-home {
  display: grid;
  gap: 14px;
  width: 100%;
  overflow: hidden;
}

.review-creator-brand {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-creator-brand span {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.review-creator-brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.review-creator-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(107, 76, 246, .16);
  border-radius: 20px;
  background: #e9edfa;
  box-shadow: var(--shadow);
}

.review-creator-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 52, .18);
  pointer-events: none;
}

.review-creator-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-creator-hero-copy {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 20px;
  left: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  color: #fff;
  background: rgba(16, 28, 55, .78);
  backdrop-filter: blur(12px);
}

.review-creator-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
}

.review-creator-hero h1 {
  max-width: 10em;
  margin: 8px 0 7px;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.review-creator-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.65;
}

.review-creator-actions { display: grid; gap: 10px; }
.review-creator-actions .primary-button,
.review-resume-button {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 800;
}
.review-creator-actions .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.review-resume-button { border: 1px solid var(--line); color: var(--ink); background: #fff; }

.review-creator-guide,
.review-creator-topics {
  padding: 18px;
  border: 1px solid rgba(107, 76, 246, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(72, 75, 139, .07);
}

.review-creator-section-title { display: flex; align-items: center; gap: 11px; }
.review-creator-section-title > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: var(--brand); background: #f0edff; font-size: 21px; }
.review-creator-section-title h2,
.review-creator-topics h2 { margin: 0; font-size: 18px; }
.review-creator-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

.review-creator-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.review-creator-steps li { display: grid; min-width: 0; gap: 8px; padding: 12px 9px; border-radius: 14px; background: #f7f7fd; }
.review-creator-steps b { color: var(--brand); font-size: 12px; }
.review-creator-steps span { font-size: 12px; font-weight: 700; line-height: 1.45; }

.review-topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.review-topic-list span { display: inline-flex; min-height: 36px; padding: 8px 11px; align-items: center; gap: 2px; border-radius: 999px; color: #4f4a75; background: #f1efff; font-size: 12px; font-weight: 700; }
.review-control-note { display: flex; margin: 0; padding: 3px 2px 10px; align-items: flex-start; justify-content: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.review-control-note i { color: #2da66b; font-size: 15px; }

@media (max-width: 380px) {
  body.douyin-review-demo .card-app { padding-inline: 10px; }
  .review-creator-brand { align-items: flex-start; flex-direction: column; justify-content: center; gap: 1px; }
  .review-creator-hero { min-height: 360px; }
  .review-creator-steps { grid-template-columns: 1fr; }
  .review-creator-steps li { grid-template-columns: 28px 1fr; align-items: center; }
}

.review-dialog.is-douyin-publisher {
  width: min(100vw, 430px);
  max-height: 100dvh;
  border-radius: 0;
}

.review-dialog.is-douyin-publisher .review-sheet {
  min-height: 100dvh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 46%);
}

.review-dialog.is-douyin-publisher .review-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(250, 249, 255, .94);
  backdrop-filter: blur(14px);
}

.douyin-publisher {
  display: grid;
  gap: 22px;
  padding: 12px 18px 28px;
}

.douyin-publisher-video {
  width: min(46vw, 180px);
  max-width: 180px;
  aspect-ratio: 9 / 16;
  justify-self: center;
  border-radius: 18px;
  background: #0b1020;
  box-shadow: 0 16px 38px rgba(55, 42, 120, .16);
  object-fit: contain;
}

.douyin-publisher h3 {
  margin: 0 0 9px;
  color: #70758b;
  font-size: 13px;
  font-weight: 700;
}

.douyin-publisher-copy p {
  margin: 0;
  color: #11182d;
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.douyin-publisher-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.douyin-publisher-topics span {
  padding: 8px 12px;
  border-radius: 12px;
  color: #5e48e8;
  background: #f0edff;
  font-size: 14px;
}

.douyin-publisher-location {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #ebe8f7;
  border-radius: 16px;
  background: #fff;
}

.douyin-publisher-location > i { color: #6953f4; font-size: 22px; }
.douyin-publisher-location div { display: grid; gap: 4px; min-width: 0; }
.douyin-publisher-location strong { color: #12182c; font-size: 15px; }
.douyin-publisher-location small { color: #888da0; line-height: 1.4; }

.douyin-publisher-completed {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 54px 20px 42px;
  text-align: center;
}

.douyin-publisher-completed > i {
  color: #6d5dfc;
  font-size: 54px;
}

.douyin-publisher-completed h3,
.douyin-publisher-completed p { margin: 0; }
.douyin-publisher-completed p { color: var(--muted); }

.review-dialog.is-douyin-publisher .douyin-publisher-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 5;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #efedf7;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
}
