/* 达人探店落地页：暖琥珀 + 墨青，PC/App 响应式 */
.td-page {
  --td-ink: #14201d;
  --td-teal: #1f4f45;
  --td-mint: #7dcea3;
  --td-amber: #d97706;
  --td-sand: #f6f1e8;
  --td-paper: #fffdf9;
  --td-line: rgba(20, 32, 29, .08);
  color: var(--td-ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(217, 119, 6, .12), transparent 60%),
    radial-gradient(800px 380px at 100% 8%, rgba(125, 206, 163, .16), transparent 55%),
    linear-gradient(180deg, #f8f4ec 0%, #f3efe6 38%, #eef2ef 100%);
}

.td-page .container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.td-kicker,
.td-section-head > span,
.td-cta-box small {
  display: inline-block;
  letter-spacing: .16em;
  color: #8a6a3a;
  font-size: 11px;
  font-weight: 700;
}

.td-hero {
  padding: 42px 0 18px;
}

.td-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.td-hero-copy h1 {
  margin: 10px 0 12px;
  color: var(--td-ink);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.td-hero-copy > p {
  max-width: 34em;
  margin: 0;
  color: #4b5a55;
  font-size: 15px;
  line-height: 1.7;
}

.td-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.td-btn:hover { transform: translateY(-1px); }
.td-btn-primary { color: #fff; background: linear-gradient(120deg, #b45309, #d97706); }
.td-btn-ghost { color: var(--td-teal); border-color: rgba(31, 79, 69, .22); background: rgba(255, 253, 249, .72); }

.td-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.td-hero-stats span {
  padding: 12px 10px;
  border: 1px solid var(--td-line);
  border-radius: 14px;
  background: rgba(255, 253, 249, .78);
}

.td-hero-stats b {
  display: block;
  color: var(--td-ink);
  font-size: 20px;
  font-weight: 800;
}

.td-hero-stats small {
  color: #6b7a74;
  font-size: 11px;
}

.td-hero-panel {
  display: flex;
  justify-content: center;
}

.td-phone {
  width: min(280px, 100%);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 28px;
  background: linear-gradient(160deg, #1d3b35, #102420 70%);
  box-shadow: 0 24px 60px rgba(16, 36, 32, .28);
}

.td-phone-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.td-phone-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}

.td-phone-feed {
  display: grid;
  gap: 8px;
}

.td-phone-feed article {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 253, 249, .1);
  color: #eef7f2;
}

.td-phone-feed b {
  display: block;
  font-size: 13px;
}

.td-phone-feed small {
  display: block;
  margin-top: 4px;
  color: rgba(238, 247, 242, .72);
  font-size: 11px;
}

.td-phone-chip {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #1f2f2a;
  background: #f0b429;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

.td-scenes {
  padding: 8px 0 4px;
}

.td-scene-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.td-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--td-line);
  border-radius: 16px;
  background: var(--td-paper);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.td-scene.is-active,
.td-scene:hover {
  border-color: rgba(217, 119, 6, .45);
  box-shadow: 0 10px 24px rgba(180, 83, 9, .08);
}

.td-scene b { font-size: 13px; }
.td-scene small { color: #6b7a74; font-size: 11px; line-height: 1.35; }
.td-scene em {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #8a6a3a;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.td-map-section,
.td-cases,
.td-flow {
  padding: 28px 0;
}

.td-section-head {
  display: flex;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.td-section-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.td-section-head p {
  margin: 0;
  color: #5d6b66;
  font-size: 13px;
}

.td-map-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.td-map-board {
  padding: 14px;
  border: 1px solid var(--td-line);
  border-radius: 20px;
  background: #102420;
}

.td-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.td-map-dot {
  cursor: pointer;
  transition: opacity .15s ease;
}

.td-map-dot:hover circle,
.td-map-dot.is-active circle {
  stroke: #fff;
  stroke-width: .5;
}

.td-map-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  color: rgba(232, 245, 239, .78);
  font-size: 11px;
}

.td-map-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
}

.td-map-legend .dom { background: #7dcea3; }
.td-map-legend .ovs { background: #f0b429; }

.td-city-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--td-line);
  border-radius: 20px;
  background: rgba(255, 253, 249, .86);
}

.td-city-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.td-city-toolbar button,
.td-case-tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--td-line);
  border-radius: 999px;
  background: #fff;
  color: #33403c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.td-city-toolbar button.is-active,
.td-case-tabs button.is-active {
  color: #fff;
  border-color: #1f4f45;
  background: #1f4f45;
}

.td-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: none;
  overflow: visible;
}

.td-city-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--td-line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  cursor: pointer;
}

.td-city-chips button.is-active {
  border-color: rgba(217, 119, 6, .5);
  background: #fff7ed;
}

.td-city-chips b { font-size: 12px; }
.td-city-chips small {
  color: #8a6a3a;
  font-size: 11px;
  font-weight: 700;
}

.td-platform-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.td-platform-line span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #4b5a55;
  background: #eef3f0;
  font-size: 11px;
  font-weight: 600;
}

.td-case-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.td-case-grid {
  display: none;
}

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

.td-note-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--td-line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.td-note-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 32, 29, .1);
}

.td-note-cover {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8eee9;
}

.td-note-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-note-card.no-cover .td-note-cover {
  display: none;
}

.td-note-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

.td-note-body > em {
  color: #8a6a3a;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.td-note-body > b {
  display: -webkit-box;
  overflow: hidden;
  color: #14201d;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.td-note-body > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5d6b66;
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.td-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.td-note-meta i {
  padding: 3px 7px;
  border-radius: 999px;
  color: #33403c;
  background: #eef3f0;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

html.td-sheet-open,
html.td-sheet-open body {
  overflow: hidden;
}

.td-note-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.td-note-sheet[hidden] {
  display: none !important;
}

.td-note-sheet-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 20, 18, .55);
  cursor: pointer;
}

.td-note-sheet-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(920px, 100%);
  max-height: min(92vh, 880px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.td-note-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--td-line);
  background: #f7f3ec;
}

.td-note-sheet-head small {
  color: #8a6a3a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.td-note-sheet-head h3 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.35;
}

.td-note-sheet-x {
  width: 34px;
  height: 34px;
  border: 1px solid var(--td-line);
  border-radius: 10px;
  background: #fff;
  color: #24302c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.td-note-sheet-body {
  overflow: auto;
  padding: 14px 16px 18px;
}

.td-ana-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.td-ana-cover {
  overflow: hidden;
  border-radius: 14px;
  background: #e8eee9;
}

.td-ana-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.td-ana-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.td-ana-tags span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3f0;
  color: #33403c;
  font-size: 11px;
  font-weight: 700;
}

.td-ana-desc {
  margin: 0 0 12px;
  color: #5d6b66;
  font-size: 13px;
  line-height: 1.6;
}

.td-ana-main section {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--td-line);
  border-radius: 12px;
  background: #fff;
}

.td-ana-main h4 {
  margin: 0 0 6px;
  color: #14201d;
  font-size: 13px;
}

.td-ana-main p {
  margin: 0;
  color: #42514c;
  font-size: 12px;
  line-height: 1.55;
}

.td-ana-main ul {
  margin: 0;
  padding-left: 18px;
  color: #42514c;
  font-size: 12px;
  line-height: 1.55;
}

.td-ana-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.td-ana-metrics div {
  padding: 8px;
  border-radius: 10px;
  background: #f4f7f5;
  text-align: center;
}

.td-ana-metrics b {
  display: block;
  color: #1f4f45;
  font-size: 15px;
}

.td-ana-metrics small {
  color: #6b7a74;
  font-size: 10px;
}

@media (max-width: 720px) {
  .td-ana-layout {
    grid-template-columns: 1fr;
  }

  .td-ana-cover {
    max-width: 220px;
  }

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

  .td-note-sheet {
    padding: 0;
    place-items: end center;
  }

  .td-note-sheet-panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
  }
}

.td-creators {
  padding: 8px 0 28px;
}

.td-creator-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.td-creator-card {
  display: flex;
  width: 132px;
  flex: 0 0 132px;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--td-line);
  border-radius: 14px;
  background: rgba(255, 253, 249, .92);
  color: inherit;
  text-decoration: none;
}

.td-creator-card b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-creator-card small {
  color: #6b7a74;
  font-size: 10px;
}

.td-case-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--td-line);
  border-radius: 18px;
  background: rgba(255, 253, 249, .92);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.td-case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 32, 29, .08);
}

.td-case-card.is-overseas {
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf9 60%);
  border-color: rgba(240, 180, 41, .35);
}

.td-case-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.td-case-avatar {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: #1f4f45;
  background: #e7f3ee;
  font-size: 16px;
  font-weight: 800;
}

.td-case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-case-top b {
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-case-top small {
  display: block;
  margin-top: 2px;
  color: #6b7a74;
  font-size: 11px;
}

.td-case-meta,
.td-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.td-case-meta span,
.td-case-tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef3f0;
  color: #33403c;
  font-size: 10px;
  font-weight: 700;
}

.td-case-meta .price {
  color: #9a3412;
  background: #ffedd5;
}

.td-case-empty {
  padding: 28px;
  border: 1px dashed rgba(20, 32, 29, .18);
  border-radius: 16px;
  color: #5d6b66;
  text-align: center;
}

.td-case-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.td-flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-flow-list li {
  padding: 16px 14px;
  border: 1px solid var(--td-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, .9);
}

.td-flow-list i {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  background: #1f4f45;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.td-flow-list b {
  display: block;
  font-size: 14px;
}

.td-flow-list small {
  display: block;
  margin-top: 4px;
  color: #6b7a74;
  font-size: 12px;
  line-height: 1.4;
}

.td-cta {
  padding: 10px 0 46px;
}

.td-cta-box {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 22px;
  color: #eef7f2;
  background:
    radial-gradient(420px 160px at 90% 0%, rgba(240, 180, 41, .28), transparent 60%),
    linear-gradient(120deg, #16352f, #0f241f 55%, #1c3d35);
}

.td-cta-box h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.td-cta-box p {
  margin: 0;
  color: rgba(238, 247, 242, .78);
  font-size: 13px;
}

.td-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.td-cta-box .td-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
}

body.mobile-app .td-page .container {
  width: min(100%, calc(100% - 20px));
}

@media (max-width: 980px) {
  .td-hero-grid,
  .td-map-layout {
    grid-template-columns: 1fr;
  }

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

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

  .td-flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .td-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .td-hero {
    padding-top: 20px;
  }

  .td-hero-panel {
    display: none;
  }

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

  .td-scene-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .td-scene {
    min-width: 132px;
    flex: 0 0 132px;
  }

  .td-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .td-city-chips {
    display: flex;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
  }

  .td-city-chips button {
    flex: 0 0 auto;
  }

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

  .td-note-body {
    gap: 4px;
    padding: 10px;
  }

  .td-note-body > p {
    -webkit-line-clamp: 2;
  }

  .td-case-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .td-case-card {
    width: 220px;
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  .td-flow-list {
    grid-template-columns: 1fr;
  }
}
