/* Consolidated styles; sections retain original rules. */

/* scene-detail.css */
.scene-topic-hero {
  --topic-image: url("scenes/scene-01.jpg");
  position: relative;
  min-height: 430px;
  color: #ffffff;
  background-color: #65101b;
  background-image: var(--topic-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.scene-topic-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene-topic-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 15, 16, 0.78) 0%, rgba(58, 26, 30, 0.48) 48%, rgba(23, 20, 21, 0.18) 100%);
}

.scene-topic-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 58px 0 66px;
}

.scene-topic-hero .breadcrumb,
.scene-topic-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.76);
}

.scene-topic-hero h1 {
  max-width: 760px;
  margin: 4px 0 0;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.18;
}

.scene-topic-title-row {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-top: 4px;
}

.scene-topic-title-row h1 {
  margin: 0;
}

.scene-subscene-switch {
  position: relative;
  z-index: 5;
  width: min(286px, 32vw);
  margin-bottom: 5px;
}

.scene-subscene-trigger {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  padding: 10px 16px;
  color: #ffffff;
  background: rgba(15, 29, 45, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  box-shadow: 0 7px 20px rgba(5, 15, 25, 0.12);
  backdrop-filter: blur(8px);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.scene-subscene-trigger:hover,
.scene-subscene-switch.is-open .scene-subscene-trigger {
  background: rgba(15, 29, 45, 0.42);
  border-color: rgba(255, 255, 255, 0.42);
}

.scene-subscene-trigger strong {
  display: block;
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-subscene-trigger strong {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.scene-subscene-trigger i {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 8px;
  height: 8px;
  justify-self: end;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.scene-subscene-switch.is-open .scene-subscene-trigger i {
  transform: translateY(3px) rotate(225deg);
}

.scene-subscene-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(330px, calc(100vw - 48px));
  padding: 6px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(220, 227, 232, 0.95);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(8, 20, 34, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(7px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.scene-subscene-switch:hover .scene-subscene-menu,
.scene-subscene-switch:focus-within .scene-subscene-menu,
.scene-subscene-switch.is-open .scene-subscene-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scene-subscene-menu a {
  position: relative;
  display: block;
  padding: 12px 38px 12px 13px;
  color: #243341;
  border-radius: 4px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.scene-subscene-menu a + a {
  border-top: 1px solid #edf0f2;
}

.scene-subscene-menu a:hover,
.scene-subscene-menu a:focus-visible,
.scene-subscene-menu a.is-current {
  color: #a71930;
  background: #fff3f4;
  outline: none;
}

.scene-subscene-menu a.is-current::after {
  content: "✓";
  position: absolute;
  right: 14px;
  top: 50%;
  font-weight: 800;
  transform: translateY(-50%);
}

.scene-subscene-menu span {
  display: block;
}

.scene-subscene-menu span {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-topic-hero-inner > p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

.topic-content {
  min-height: 680px;
  padding: 0 0 84px;
  background: #f5f7f7;
}

.topic-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -30px 0 52px;
  padding: 7px;
  background: #ffffff;
  border: 1px solid #e0e5e6;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(34, 31, 31, 0.12);
}

.topic-tab {
  min-height: 52px;
  color: #5f6b70;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.topic-tab:hover {
  color: var(--green-dark);
  background: #fff5f6;
}

.topic-tab.active {
  color: #ffffff;
  background: var(--green);
}

.topic-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.market-category-tabs {
  display: inline-flex;
  gap: 4px;
  margin: -22px 0 34px;
  padding: 4px;
  background: #e9eeee;
  border: 1px solid #dce3e4;
  border-radius: 6px;
}

.market-category-tabs[hidden] {
  display: none;
}

.market-category-tab {
  min-width: 116px;
  min-height: 40px;
  padding: 0 22px;
  color: #657278;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.market-category-tab:hover {
  color: #8f2430;
}

.market-category-tab.active {
  color: #8f2430;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(41, 52, 57, 0.1);
}

.topic-section-head h2 {
  margin: 0;
  font-size: 30px;
}

.topic-section-head p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.topic-result-count {
  color: #7b878c;
  font-size: 13px;
}

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

/* Cards mirror the three corresponding homepage modules. */
.scene-app-card,
.scene-data-card,
.scene-demand-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dfe5e7;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 46, 54, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.scene-app-card:hover,
.scene-data-card:hover,
.scene-demand-card:hover {
  transform: translateY(-4px);
  border-color: #d6b1b6;
  box-shadow: 0 17px 34px rgba(55, 25, 30, 0.1);
}

.scene-app-card {
  min-height: 310px;
  padding: 22px;
}

.scene-app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}

.scene-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: #a21f2d;
  background: #fbecee;
  border: 1px solid #f0ccd0;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 800;
}

.scene-app-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 205px;
}

.scene-app-tags span {
  padding: 4px 8px;
  color: #8f2430;
  background: #fff3f4;
  border: 1px solid #f0ccd0;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.scene-app-card h3,
.scene-data-card h3,
.scene-demand-card h3 {
  color: #172831;
  line-height: 1.52;
}

.scene-app-card h3 {
  margin: 18px 0 9px;
  font-size: 18px;
}

.scene-app-card > p {
  flex: 1;
  margin: 0;
  color: #66747b;
  font-size: 13px;
  line-height: 1.8;
}

.scene-app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #edf0f1;
}

.scene-app-price {
  color: #a31524;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.scene-app-price small { margin-left: 2px; color: #879196; font-size: 11px; font-weight: 500; }
.scene-app-actions { display: flex; align-items: center; gap: 7px; }
.scene-app-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.scene-app-detail { color: #8f2430; background: #fff; border: 1px solid #d9aeb4; }
.scene-app-detail:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }

.scene-data-card {
  min-height: 348px;
  padding: 28px 22px 20px;
  overflow: hidden;
}

.scene-data-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #99202d, #c3202f 52%, #d6a552);
}

.scene-data-card h3 { min-height: 58px; margin: 0 0 13px; font-size: 19px; }
.scene-data-card > p { flex: 1; margin: 0 0 20px; color: #66747b; font-size: 14px; line-height: 1.8; }
.scene-data-meta { margin: 0 0 16px; padding: 12px 14px; background: #f4f6f6; border: 1px solid #e5eaeb; border-radius: 6px; }
.scene-data-meta > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scene-data-meta > div + div { margin-top: 9px; padding-top: 9px; border-top: 1px dashed #d8dfe1; }
.scene-data-meta dt { color: #7a878d; font-size: 12px; }
.scene-data-meta dd { margin: 0; color: #263940; font-size: 12px; font-weight: 700; text-align: right; }
.scene-data-meta dd span { display: inline-flex; align-items: center; gap: 6px; color: #8f2430; }
.scene-data-meta dd span::before { content: ""; width: 6px; height: 6px; background: #c3202f; border-radius: 50%; box-shadow: 0 0 0 3px rgba(195,32,47,.1); }
.scene-data-action { width: 100%; min-height: 42px; color: #8f1d2a; background: #fff; border: 1px solid #dcaeb4; border-radius: 5px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.scene-data-action:hover { color: #fff; background: #a91927; border-color: #a91927; }

.scene-market-card {
  position: relative;
  display: flex;
  min-height: 300px;
  min-width: 0;
  flex-direction: column;
  padding: 26px 24px 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe5e7;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 46, 54, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.scene-market-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #99202d, #c3202f 58%, #d6a552);
}

.scene-market-card-resource::before {
  background: linear-gradient(90deg, #244f57, #3f777c 58%, #d6a552);
}

.scene-market-card:hover {
  transform: translateY(-4px);
  border-color: #d6b1b6;
  box-shadow: 0 17px 34px rgba(55, 25, 30, 0.1);
}

.scene-market-card h3 {
  min-height: 58px;
  margin: 0 0 14px;
  color: #172831;
  font-size: 19px;
  line-height: 1.52;
}

.scene-market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
  margin-bottom: 15px;
}

.scene-market-tags span {
  padding: 4px 9px;
  color: #8f2430;
  background: #fff3f4;
  border: 1px solid #f0ccd0;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.2;
}

.scene-market-card-resource .scene-market-tags span {
  color: #315f65;
  background: #f0f7f7;
  border-color: #cee0e1;
}

.scene-market-card > p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0;
  overflow: hidden;
  color: #66747b;
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scene-market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid #edf0f1;
}

.scene-market-price {
  color: #a31524;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.scene-market-resource-label {
  color: #65767b;
  font-size: 12px;
  font-weight: 700;
}

.scene-market-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 38px;
  padding: 0 16px;
  color: #8f1d2a;
  background: #ffffff;
  border: 1px solid #dcaeb4;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.scene-market-action:hover {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.scene-demand-card {
  min-height: 300px;
  padding: 22px;
}
.scene-demand-head { display: flex; justify-content: flex-start; min-height: 28px; }
.scene-demand-tag { padding: 5px 11px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.scene-demand-tag.type-data { color: #8f2430; background: #fff0f2; }
.scene-demand-tag.type-software { color: #2e5f9b; background: #edf5ff; }
.scene-demand-tag.type-consulting { color: #7a5719; background: #fff7e5; }
.scene-demand-tag.type-other { color: #536169; background: #f0f3f4; }
.scene-demand-card h3 { margin: 16px 0 9px; font-size: 18px; }
.scene-demand-card > p { flex: 1; margin: 0; color: #66747b; font-size: 13px; line-height: 1.8; }
.scene-demand-owner { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; color: #5f6d72; border-top: 1px solid #edf0f1; font-size: 12px; }
.scene-owner-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; background: #98202d; border-radius: 50%; font-weight: 800; }

/* 场景专题卡片 2.0：强化类型识别、数据层次与操作反馈。 */
.scene-app-card,
.scene-market-card,
.scene-demand-card {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e1e6e9;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(28, 45, 58, 0.07);
}

.scene-app-card:hover,
.scene-market-card:hover,
.scene-demand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(173, 35, 52, 0.28);
  box-shadow: 0 22px 42px rgba(37, 47, 60, 0.12);
}

.scene-card-code {
  position: relative;
  z-index: 2;
  color: #8a949d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

.scene-app-card {
  min-height: 370px;
  padding: 22px 22px 20px;
  background: linear-gradient(155deg, #ffffff 0%, #ffffff 62%, #fff8f8 100%);
}

.scene-app-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55px;
  right: -45px;
  width: 170px;
  height: 170px;
  border: 34px solid rgba(187, 28, 48, .045);
  border-radius: 50%;
}

.scene-card-orbit {
  position: absolute;
  z-index: -1;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border: 1px dashed rgba(185, 31, 48, .2);
  border-radius: 50%;
}

.scene-card-orbit::before,
.scene-card-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #c02031;
}
.scene-card-orbit::before { top: 4px; left: 7px; width: 4px; height: 4px; }
.scene-card-orbit::after { right: 3px; bottom: 10px; width: 3px; height: 3px; opacity: .55; }

.scene-app-top { min-height: 44px; align-items: center; }
.scene-app-icon {
  position: relative;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, #d32439, #8f1729);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(164, 25, 44, .2);
  font-size: 15px;
}
.scene-app-icon i { position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,.34); border-radius: 8px; }
.scene-app-tags { justify-content: flex-start; max-width: none; margin-top: 16px; }
.scene-app-tags span { padding: 5px 9px; color: #8e2834; background: rgba(255,255,255,.82); border-color: #eed9dc; border-radius: 999px; }
.scene-app-card h3 { margin: 15px 0 9px; font-size: 19px; line-height: 1.45; }
.scene-app-card > p { display: -webkit-box; min-height: 68px; overflow: hidden; line-height: 1.72; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.scene-card-insights,
.scene-market-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 0;
  overflow: hidden;
  background: #e8ecee;
  border: 1px solid #e8ecee;
  border-radius: 9px;
}
.scene-card-insights > span,
.scene-market-facts > span { min-width: 0; padding: 10px 11px; background: rgba(249,250,250,.97); }
.scene-card-insights small,
.scene-card-insights b,
.scene-market-facts small,
.scene-market-facts b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-card-insights small,
.scene-market-facts small { margin-bottom: 5px; color: #90999f; font-size: 10px; }
.scene-card-insights b,
.scene-market-facts b { color: #33454d; font-size: 12px; }
.scene-status { display: flex!important; align-items: center; gap: 6px; color: #267560!important; }
.scene-status i { width: 6px; height: 6px; flex: 0 0 auto; background: #29a77e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(41,167,126,.12); }

.scene-app-meta { margin-top: 15px; padding-top: 14px; }
.scene-app-detail,
.scene-market-action { gap: 7px; border-radius: 999px; }
.scene-app-detail i,
.scene-market-action i { font-style: normal; transition: transform .18s ease; }
.scene-app-detail:hover i,
.scene-market-action:hover i { transform: translateX(3px); }

.scene-market-card {
  min-height: 370px;
  padding: 22px 22px 20px;
  background: linear-gradient(155deg, #fff 0%, #fff 68%, #fff9f5 100%);
}
.scene-market-card-resource { background: linear-gradient(155deg, #fff 0%, #fff 68%, #f3faf9 100%); }
.scene-market-card::before { right: auto; bottom: 0; width: 4px; height: auto; background: linear-gradient(180deg, #b61d31, #d8a24e); }
.scene-market-card-resource::before { background: linear-gradient(180deg, #236875, #58a39a); }
.scene-market-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45px;
  right: -38px;
  width: 135px;
  height: 135px;
  background: radial-gradient(circle, rgba(181,31,49,.08) 0 2px, transparent 3px);
  background-size: 13px 13px;
  transform: rotate(12deg);
}
.scene-market-card-resource::after { background-image: radial-gradient(circle, rgba(38,105,116,.09) 0 2px, transparent 3px); }
.scene-market-head { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; }
.scene-market-symbol { position: relative; display: grid; width: 40px; height: 40px; place-items: center; color: #a21f31; background: #fff1f2; border: 1px solid #eed7db; border-radius: 11px; }
.scene-market-symbol::before,
.scene-market-symbol::after,
.scene-market-symbol i { content: ""; position: absolute; left: 10px; right: 10px; height: 7px; border: 2px solid currentColor; border-radius: 50%; }
.scene-market-symbol::before { top: 9px; }
.scene-market-symbol i { top: 15px; border-top: 0; border-radius: 0 0 50% 50%; }
.scene-market-symbol::after { top: 21px; border-top: 0; border-radius: 0 0 50% 50%; }
.scene-market-card-resource .scene-market-symbol { color: #2f7077; background: #eff8f7; border-color: #d3e8e5; }
.scene-market-card h3 { min-height: 0; margin: 16px 0 10px; font-size: 19px; line-height: 1.45; }
.scene-market-tags { min-height: 24px; margin-bottom: 12px; }
.scene-market-tags span { border-radius: 999px; }
.scene-market-card > p { min-height: 66px; font-size: 13px; line-height: 1.72; -webkit-line-clamp: 3; }
.scene-market-facts { margin-top: 14px; }
.scene-market-footer { margin-top: 14px; padding-top: 14px; }

.scene-demand-card {
  min-height: 390px;
  padding: 0;
  background: linear-gradient(155deg, #fff 0%, #fff 72%, #f6f9fc 100%);
}
.scene-demand-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  border: 26px solid rgba(37, 91, 145, .05);
  border-radius: 50%;
}
.scene-demand-main { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 22px 22px 0; color: inherit; text-decoration: none; }
.scene-demand-head { align-items: center; justify-content: space-between; }
.scene-demand-tag { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; }
.scene-demand-tag::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; opacity: .72; }
.scene-demand-card h3 { margin: 17px 0 9px; font-size: 19px; line-height: 1.45; }
.scene-demand-card > p,
.scene-demand-main > p { display: -webkit-box; min-height: 66px; margin: 0; overflow: hidden; color: #66747b; font-size: 13px; line-height: 1.72; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.scene-demand-owner { position: relative; margin-top: auto; padding: 13px 36px 13px 13px; gap: 11px; color: #44565e; background: #f6f8f9; border: 1px solid #e7ebed; border-radius: 10px; }
.scene-demand-owner > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.scene-demand-owner small { color: #8b969c; font-size: 10px; }
.scene-demand-owner strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.scene-demand-owner > i { position: absolute; right: 13px; top: 50%; color: #9da6ab; font-style: normal; transform: translateY(-50%); transition: transform .18s ease, color .18s ease; }
.scene-demand-main:hover .scene-demand-owner > i { color: #a51d2e; transform: translate(3px,-50%); }
.scene-owner-mark { width: 34px; height: 34px; color: #fff; background: linear-gradient(145deg, #315f8d, #173a61); border-radius: 9px; box-shadow: 0 6px 14px rgba(34,74,113,.16); }
.scene-demand-contact { margin: 15px 22px 0; padding: 13px 0 17px; }
.scene-demand-contact .demand-contact-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 3px; }
.scene-demand-contact .demand-contact-copy small { font-size: 10px; }
.scene-demand-contact .demand-contact-copy strong { font-size: 12px; letter-spacing: .08em; }
.scene-demand-contact .demand-contact-toggle { width: 32px; height: 32px; border-radius: 9px; }

.topic-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e0e5e6;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(26, 50, 56, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card-app {
  border-top: 3px solid #ae2634;
}

.topic-card-product {
  border-top: 3px solid #2f6f89;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 34%);
}

.topic-card-demand {
  border-left: 4px solid #c58a2b;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: #d3a8ad;
  box-shadow: 0 15px 30px rgba(55, 25, 30, 0.09);
}

.topic-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
}

.topic-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #a21f2d;
  background: #fbecee;
  border-radius: 5px;
  font-weight: 800;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.topic-tag {
  padding: 4px 8px;
  color: #8f2430;
  background: #fff3f4;
  border: 1px solid #f0ccd0;
  border-radius: 4px;
  font-size: 11px;
}

.topic-card h3 {
  margin: 20px 0 9px;
  font-size: 19px;
  line-height: 1.45;
}

.topic-card > p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.topic-card > p strong {
  display: block;
  margin-bottom: 4px;
  color: #344b53;
  font-size: 12px;
}

.topic-card-code {
  display: block;
  margin-top: 13px;
  color: #8a969a;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.topic-card-head .topic-card-code {
  margin-top: 7px;
}

.topic-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #edf0f1;
}

.topic-price {
  color: #a31524;
  font-size: 19px;
  font-weight: 800;
}

.topic-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 34px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.topic-actions {
  display: flex;
  gap: 7px;
}

.topic-action.secondary {
  color: var(--green-dark);
  background: #ffffff;
}

.topic-action:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.topic-action.secondary:hover {
  color: #ffffff;
}

.topic-product-meta {
  margin: 18px 0 0;
  padding: 12px 0;
  border-top: 1px solid #e3eaec;
  border-bottom: 1px solid #e3eaec;
}

.topic-product-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topic-product-meta > div + div { margin-top: 7px; }
.topic-product-meta dt { color: #718087; font-size: 11px; }
.topic-product-meta dd { margin: 0; color: #31474f; font-size: 12px; font-weight: 700; }

.topic-card-product .topic-card-footer {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.topic-card-demand .topic-card-head { min-height: 32px; }
.topic-card-demand .topic-card-code { margin-top: 6px; }

.product-type,
.demand-type {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.product-type {
  color: #2e5f9b;
  background: #edf5ff;
}

.demand-type {
  color: #8f2430;
  background: #fff0f2;
}

.demand-owner {
  color: #647176;
  font-size: 12px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}

.page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  color: #59676d;
  background: #ffffff;
  border: 1px solid #dce3e5;
  border-radius: 4px;
  cursor: pointer;
}

.page-button:hover:not(:disabled),
.page-button.active {
  color: #ffffff;
  background: var(--green);
  border-color: var(--green);
}

.page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 1020px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .scene-topic-hero,
  .scene-topic-hero-inner {
    min-height: 360px;
  }

  .scene-topic-hero h1 {
    font-size: 36px;
  }

  .scene-topic-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .scene-subscene-switch {
    width: min(100%, 340px);
    margin-bottom: 0;
  }

  .topic-tabs {
    margin-bottom: 40px;
  }

  .topic-tab {
    min-height: 48px;
    padding: 0 8px;
    font-size: 13px;
  }

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

  .market-category-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: -14px;
  }

  .market-category-tabs[hidden] { display: none; }

  .market-category-tab {
    min-width: 0;
    padding: 0 12px;
  }

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

  .scene-app-card,
  .scene-market-card,
  .scene-demand-card { min-height: 0; }

  .scene-app-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .topic-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* news-detail.css */
body[data-page="news"] main { background: #f4f6f7; }

.article-section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 100px;
}

.article-section > .breadcrumb { margin-bottom: 24px; color: #718085; }
.article-body { min-width: 0; padding: 52px clamp(42px, 7vw, 96px) 66px; background: #fff; border: 1px solid #e0e6e7; border-top: 4px solid #c3202f; box-shadow: 0 12px 34px rgba(28,49,55,.07); }
.article-inline-header { margin-bottom: 38px; padding: 0 0 32px; border-bottom: 1px solid #e3e8e9; }
.article-category { display: inline-flex; padding: 6px 12px; color: #9d1d2b; background: #fff1f2; border: 1px solid #efcbd0; font-size: 13px; font-weight: 700; }
.article-inline-header h1 { margin: 18px 0 0; color: #19353b; font-size: clamp(30px, 4vw, 42px); line-height: 1.45; letter-spacing: .01em; }
.article-summary { max-width: 850px; margin: 16px 0 0; color: #5e7277; font-size: 17px; line-height: 1.85; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; color: #7b898d; font-size: 13px; }
.article-cover { display: block; width: 100%; max-height: 520px; object-fit: cover; margin: 0 0 48px; border-radius: 3px; box-shadow: 0 14px 34px rgba(18,55,58,.1); }
.article-lead { margin: 0 0 42px; padding: 24px 28px; color: #3e484c; background: #faf5f5; border-left: 4px solid #c3202f; font-size: 18px; font-weight: 600; line-height: 2; }
.article-body section { margin: 0 0 42px; }
.article-body h2 { margin: 0 0 16px; color: #183237; font-size: 26px; line-height: 1.55; }
.article-body section p { margin: 0; color: #384c52; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 18px; line-height: 2.1; text-align: justify; }
.article-inline-figure { margin: 34px 0 6px; }
.article-inline-figure img { display: block; width: 100%; max-height: 500px; object-fit: cover; border-radius: 3px; box-shadow: 0 14px 34px rgba(18,55,58,.12); }
.article-inline-figure figcaption { margin-top: 12px; padding-left: 14px; color: #718085; border-left: 2px solid #d7a5aa; font-size: 13px; line-height: 1.75; }
.article-quote { margin: 34px 0 4px; padding: 24px 28px; background: #faf5f5; border: 0; border-left: 4px solid #c3202f; }
.article-quote strong { display: block; margin-bottom: 8px; color: #a51e2c; font-size: 14px; }
.article-quote p { color: #314b50 !important; font-size: 16px !important; font-weight: 600; line-height: 1.9 !important; }
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; padding-top: 28px; border-top: 1px solid #e1e7e8; }
.article-actions a { padding: 10px 18px; color: #9d1d2b; border: 1px solid #d3a1a7; font-size: 14px; font-weight: 700; }
.article-actions a:hover { color: #fff; background: #c3202f; border-color: #c3202f; }

@media (max-width: 760px) {
  .article-section { width: calc(100% - 32px); padding: 30px 0 68px; }
  .article-body { padding: 32px 22px 44px; }
  .article-inline-header { padding: 0 0 26px; }
  .article-inline-header h1 { font-size: 28px; }
  .article-summary { font-size: 16px; }
  .article-cover { margin-bottom: 34px; }
  .article-lead { padding: 20px; font-size: 16px; }
  .article-body h2 { font-size: 23px; }
  .article-body section p { font-size: 17px; line-height: 2; }
  .article-inline-figure { margin-top: 26px; }
  .article-quote { padding: 20px; }
}
