body {
  background: linear-gradient(180deg, #f3f8ff 0%, #f7f8fa 220px, #f7f8fa 100%);
  color: #222;
  line-height: 1.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(23, 68, 138, 0.15);
  background: linear-gradient(90deg, #1976ff 0%, #1e9fff 55%, #36b1ff 100%);
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner h1 {
  margin: 0;
  font-size: 22px;
}

.header-inner nav a {
  color: #fff;
  margin-left: 14px;
  display: inline-block;
  margin-top: 4px;
  transition: all .2s ease;
  padding: 2px 0;
}

.header-inner nav a.active {
  font-weight: 700;
  text-decoration: underline;
}

.header-inner nav a:hover {
  opacity: .85;
}

.theme-toggle {
  margin-left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 14px;
  font-size: 12px;
  padding: 3px 10px;
  cursor: pointer;
}

.page-main {
  padding: 18px 0 36px;
}

.module-section {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(16, 47, 99, 0.06);
  border: 1px solid #eef3fb;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.module-section h2 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.35;
}

/* Layui 栅格间距对行使用四向负 margin，会把首行卡片顶到标题/说明文字上造成重叠；只保留左右负边距 */
.page-main .layui-row.layui-col-space16 {
  margin-top: 0;
  margin-right: -8px;
  margin-bottom: 0;
  margin-left: -8px;
}

.page-main .layui-row.layui-col-space20 {
  margin-top: 0;
  margin-right: -10px;
  margin-bottom: 0;
  margin-left: -10px;
}

/* 新闻/渠道列表：浮动三列在卡片高度不一致时会出现「中间空白」，改用 Grid 按行排列 */
.card-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: start;
}

/* Layui .layui-row 用 ::before/::after 清浮动；在 Grid 下会变成第 1、2 个网格子项，左上角会空一格 */
.card-mosaic-grid::before,
.card-mosaic-grid::after {
  content: none !important;
  display: none !important;
}

.card-mosaic-grid > .layui-col-md4,
.card-mosaic-grid > .layui-col-md6,
.card-mosaic-grid > .layui-col-xs12 {
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.card-mosaic-grid > * {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

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

@media (max-width: 600px) {
  .card-mosaic-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.module-section > h2 + .muted {
  display: block;
  margin-bottom: 6px;
  line-height: 1.65;
}

.module-section > h2 + .media-source-note {
  margin-top: 0;
  margin-bottom: 16px;
}

.hero-video,
.video-player {
  width: 100%;
  border-radius: 12px;
  background: #000;
  min-height: 240px;
}

.hero-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.deferred-media {
  background: linear-gradient(90deg, #f1f5f9 25%, #e8eef7 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: mediaShimmer 1.3s ease-in-out infinite;
}

@keyframes mediaShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
.hero-section {
  background: radial-gradient(circle at top right, #f4f9ff 0%, #ffffff 55%);
}

.gradient-title {
  background: linear-gradient(90deg, #0f5fd6, #2aa3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.keyword-wrap {
  margin-top: 12px;
}

.keyword-tag {
  display: inline-block;
  background: #edf5ff;
  color: #1869d6;
  border: 1px solid #d0e5ff;
  border-radius: 14px;
  font-size: 12px;
  padding: 4px 10px;
  margin: 6px 6px 0 0;
}

.sku-card img,
.cert-image {
  width: 100%;
  border-radius: 8px;
}

.sku-card img {
  height: 210px;
  object-fit: cover;
  object-position: center;
}

.layui-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 6px 18px rgba(16, 47, 99, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.layui-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 47, 99, 0.1);
}

/* Layui 默认 card 标题区 height:42px，长标题换行后会盖住正文首行，必须改为自适应高度 */
.layui-card-header {
  font-weight: 700;
  height: auto;
  min-height: 42px;
  line-height: 1.45;
  padding: 12px 15px;
  white-space: normal;
  word-break: break-word;
}

.home-entry-btn {
  background: linear-gradient(135deg, #1e9fff, #3c84ff);
  border: 0;
}

.brand-intro-card,
.highlight-box {
  background: #fbfdff;
  border: 1px solid #e7eff9;
  border-radius: 12px;
  padding: 16px;
}

.brand-story {
  position: relative;
  overflow: visible;
}

.brand-story.collapsed {
  max-height: 170px;
}

.brand-story.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(251, 253, 255, 0), rgba(251, 253, 255, 1));
}

.brand-story p {
  margin: 0 0 10px;
}

.brand-story-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.brand-story-anchor-nav a {
  display: inline-block;
  font-size: 12px;
  color: #0f5fd6;
  border: 1px solid #cfe0ff;
  background: #f2f7ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.brand-story-anchor-nav a:hover {
  background: #e8f0ff;
}

.hero-scope-note,
.brand-story-scope,
.positioning-scope-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
}

.brand-story-section {
  border: 1px solid #e8effb;
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 12px 10px;
  margin: 0 0 10px;
}

.brand-story-section h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #0f5fd6;
}

.story-heading-sub {
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

.brand-story-section p {
  margin: 0;
  line-height: 1.75;
  color: #1f2937;
  word-break: break-word;
  white-space: pre-line;
}

.brand-story-section a {
  color: #0f5fd6;
  text-decoration: underline;
}

.home-media-matrix {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid #e5eefb;
  border-radius: 10px;
  background: #f8fbff;
}

.home-media-matrix h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.home-media-matrix ul {
  margin: 0;
  padding-left: 18px;
}

.home-media-matrix li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.home-media-matrix a {
  color: #1f2937;
  text-decoration: none;
}

.home-media-matrix a:hover {
  color: #0f5fd6;
  text-decoration: underline;
}

#brandStoryToggle {
  margin-bottom: 10px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 18px;
}

.highlight-summary-list {
  padding-left: 0 !important;
}

.highlight-summary-item {
  list-style: none;
  line-height: 1.75;
  color: #334155;
}

.muted {
  color: #777;
  font-size: 13px;
}

.about-page-lead {
  margin: 0 0 18px;
  max-width: 720px;
  line-height: 1.65;
}

.about-block-title {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #333;
}

.about-block-title:first-of-type {
  margin-top: 0;
}

.about-disclosure-note {
  margin-top: 14px;
  line-height: 1.65;
}

.positioning-points {
  margin: 10px 0 0;
  padding-left: 18px;
}

.positioning-points li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.positioning-hero {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 62%);
}

.positioning-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.positioning-summary-item {
  background: #fbfdff;
  border: 1px solid #e7eff9;
  border-radius: 10px;
  padding: 10px 12px;
}

.positioning-summary-item strong {
  display: block;
  font-size: 13px;
  color: #0f5fd6;
  margin-bottom: 4px;
}

.positioning-summary-item span {
  font-size: 13px;
  color: #334155;
  line-height: 1.55;
}

.positioning-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.positioning-anchor-nav a {
  display: inline-block;
  font-size: 12px;
  color: #0f5fd6;
  border: 1px solid #cfe0ff;
  background: #f2f7ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.positioning-anchor-nav a:hover {
  background: #e8f0ff;
}

.positioning-media-links-wrap {
  margin-top: 14px;
}

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

.positioning-link-item {
  display: block;
  border: 1px solid #dbe7fb;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px 12px;
}

.positioning-link-item:hover {
  border-color: #b8d0ff;
  background: #f2f7ff;
}

.positioning-link-title {
  display: block;
  font-size: 13px;
  color: #1f2937;
  line-height: 1.55;
  margin-bottom: 4px;
}

.positioning-link-meta {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.positioning-user-table td,
.positioning-user-table th {
  vertical-align: top;
  line-height: 1.6;
}

.media-source-note {
  margin: 0 0 16px;
  max-width: 920px;
  line-height: 1.65;
  clear: both;
  white-space: pre-line;
}

.table-scroll {
  overflow-x: auto;
}

.privacy-box ul {
  padding-left: 18px;
}

.site-footer {
  color: #666;
  padding: 18px 0 24px;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-promo-block {
  margin-bottom: 12px;
  min-width: 0;
}

.footer-promo-heading {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f5fd6;
}

.footer-operating-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-operating-section {
  padding: 7px 10px;
  background: #f8fbff;
  border: 1px solid #e5eefb;
  border-radius: 8px;
  min-width: 0;
}

.footer-line-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0;
  row-gap: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
  width: 100%;
  min-width: 0;
}

.footer-inline-sep,
.footer-official-sep {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1;
  padding: 0 2px;
  user-select: none;
}

.footer-operating-role {
  flex-shrink: 0;
  font-weight: 600;
  color: #0f5fd6;
}

.footer-operating-body {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-official-lead {
  margin: 0;
  flex-shrink: 0;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
}

.footer-official-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: inherit;
  line-height: inherit;
  min-width: 0;
}

.footer-official-links a {
  color: #0f5fd6;
  text-decoration: none;
}

.footer-official-links a:hover {
  text-decoration: underline;
}

@media (min-width: 769px) {
  .footer-operating-section {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .footer-line-compact {
    flex-wrap: nowrap;
    width: max-content;
  }

  .footer-operating-body {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

.footer-entry-wrap {
  margin-top: 2px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.footer-entry-wrap.footer-entry-wrap--promo {
  margin-top: 0;
  margin-bottom: 0;
}

.footer-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e7eff9;
  border-radius: 10px;
  padding: 8px;
}

.footer-entry-media img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-entry-placeholder {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8effb, #f3f4f6);
}

.footer-entry-body p {
  margin: 0;
}

.footer-entry-body a {
  font-size: 12px;
}

.footer-entry-tip {
  margin: 6px 0 0;
  font-size: 12px;
  color: #64748b;
}

.footer-qr-dialog {
  padding: 14px 14px 12px;
  text-align: center;
}

.footer-qr-dialog img {
  width: min(80vw, 320px);
  height: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.footer-qr-dialog p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #334155;
}

.store-dialog p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.store-dialog-summary {
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.store-dialog-platform,
.store-dialog-status {
  margin-bottom: 8px;
}

.store-status-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: #0f5fd6;
  background: #e6f0ff;
}

.store-status-hot {
  color: #166534;
  background: #dcfce7;
}

.store-status-restock {
  color: #9a3412;
  background: #ffedd5;
}

.store-open-link {
  word-break: break-all;
}

.store-dialog-note {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-left: 3px solid #0f5fd6;
  border-radius: 6px;
  background: #eff6ff;
  color: #334155;
  font-size: 13px;
}

.store-command-text {
  width: 100%;
  min-height: 130px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 10px;
  resize: vertical;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  background: #f8fafc;
}

.store-dialog-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-dialog-actions .layui-btn {
  min-width: 98px;
}

.store-dialog-qr {
  margin-top: 12px;
  text-align: center;
}

.store-dialog-qr img {
  width: min(72vw, 280px);
  height: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.store-dialog-qr p {
  margin-top: 8px;
  font-size: 13px;
  color: #475569;
}

@media (max-width: 640px) {
  .store-command-text {
    min-height: 150px;
  }
  .store-dialog-actions .layui-btn {
    flex: 1;
    min-width: 120px;
  }
}

.footer-bottom-bar {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.footer-copyright {
  color: #475569;
  font-weight: 500;
}

.footer-bottom-sep {
  color: #cbd5e1;
  padding: 0 3px;
  user-select: none;
}

.footer-icp-link {
  color: #0f5fd6;
  text-decoration: none;
}

.footer-icp-link:hover {
  text-decoration: underline;
}

.image-watermark-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-watermark-text {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.5px;
  pointer-events: none;
}

.cert-image-long-thumb {
  max-height: 340px;
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
  border: 1px solid #e8eef8;
}

body.theme-dark {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 220px, #0f172a 100%);
  color: #e5e7eb;
}

body.theme-dark .module-section {
  background: #111827;
  border-color: #1f2937;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.theme-dark .hero-section {
  background: radial-gradient(circle at top right, #18263d 0%, #111827 55%);
}

body.theme-dark .brand-intro-card,
body.theme-dark .highlight-box,
body.theme-dark .layui-card {
  background: #0f172a;
  border-color: #263246;
}

body.theme-dark .positioning-hero {
  background: radial-gradient(circle at top right, #1a2a46 0%, #111827 55%);
}

body.theme-dark .positioning-summary-item {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .positioning-summary-item strong {
  color: #8fc1ff;
}

body.theme-dark .positioning-summary-item span {
  color: #d1d5db;
}

body.theme-dark .positioning-anchor-nav a {
  color: #9ec8ff;
  border-color: #35507a;
  background: #1a2b46;
}

body.theme-dark .highlight-summary-item {
  color: #d1d5db;
}

body.theme-dark .positioning-link-item {
  border-color: #2a3952;
  background: #0f172a;
}

body.theme-dark .positioning-link-item:hover {
  border-color: #3e5680;
  background: #13203a;
}

body.theme-dark .positioning-link-title {
  color: #e5e7eb;
}

body.theme-dark .positioning-link-meta {
  color: #9ca3af;
}

body.theme-dark .positioning-user-table td,
body.theme-dark .positioning-user-table th {
  color: #d1d5db;
  border-color: #2a3952;
}

body.theme-dark .home-media-matrix {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .home-media-matrix a {
  color: #e5e7eb;
}

body.theme-dark .brand-story-anchor-nav a {
  color: #9ec8ff;
  border-color: #35507a;
  background: #1a2b46;
}

body.theme-dark .brand-story-section {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .brand-story-section h4 {
  color: #8fc1ff;
}

body.theme-dark .brand-story-section p {
  color: #e5e7eb;
  white-space: pre-line;
}

body.theme-dark .layui-card-header,
body.theme-dark .module-section h2,
body.theme-dark h3 {
  color: #f3f4f6;
}

body.theme-dark .muted,
body.theme-dark .site-footer {
  color: #9ca3af;
}

body.theme-dark .footer-entry {
  background: #0f172a;
  border-color: #263246;
}

body.theme-dark .footer-operating-section {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .footer-promo-heading {
  color: #8fc1ff;
}

body.theme-dark .footer-operating-role {
  color: #8fc1ff;
}

body.theme-dark .footer-line-compact {
  color: #cbd5e1;
}

body.theme-dark .footer-operating-body {
  color: #e5e7eb;
}

body.theme-dark .footer-inline-sep,
body.theme-dark .footer-official-sep {
  color: #64748b;
}

body.theme-dark .footer-official-lead {
  color: #9ca3af;
}

body.theme-dark .footer-official-links a,
body.theme-dark .footer-icp-link {
  color: #9ec8ff;
}

body.theme-dark .footer-bottom-bar {
  border-top-color: #2a3952;
  color: #9ca3af;
}

body.theme-dark .footer-copyright {
  color: #e5e7eb;
}

body.theme-dark .footer-entry-placeholder {
  background: linear-gradient(135deg, #1a2b46, #0f172a);
}

body.theme-dark .keyword-tag {
  background: #1b2a43;
  color: #8fc1ff;
  border-color: #2f4568;
}

body.theme-dark .store-dialog-summary {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .store-dialog-note {
  background: #0f223f;
  border-left-color: #60a5fa;
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }
  .header-inner nav a {
    margin-left: 0;
    margin-right: 10px;
    font-size: 13px;
  }
  .theme-toggle {
    margin-left: 0;
    margin-top: 8px;
  }
  .header-inner h1 {
    font-size: 18px;
  }
  .module-section {
    padding: 14px;
  }
  .module-section h2 {
    font-size: 20px;
  }
  .positioning-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-group {
    flex-direction: column;
  }
  .home-entry-btn {
    margin-bottom: 8px;
  }
  .brand-story.collapsed {
    max-height: 220px;
  }
  .sku-card img {
    height: 170px;
  }

  .site-footer {
    padding: 14px 0 18px;
  }

  .footer-promo-heading {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-promo-block {
    margin-bottom: 10px;
  }

  .footer-operating-sections {
    gap: 8px;
    margin-bottom: 10px;
  }

  .footer-operating-section {
    padding: 6px 8px;
    overflow-x: visible;
  }

  .footer-line-compact {
    font-size: 12px;
    row-gap: 2px;
    flex-wrap: wrap;
    width: 100%;
  }

  .footer-inline-sep,
  .footer-official-sep {
    padding: 0 1px;
    font-size: 9px;
  }

  .footer-operating-body {
    white-space: normal;
  }

  .footer-entry-wrap {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .footer-bottom-bar {
    padding-top: 10px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .positioning-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .positioning-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 首页侧栏：品牌优势下方产品与包装缩略图（大图以 CSS 约束显示尺寸 + lazy 降低首屏压力） */
.home-showcase-block {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e7eff9;
  border-radius: 12px;
  background: #fbfdff;
}

.home-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.home-showcase-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f5fd6;
}

.home-showcase-more {
  font-size: 12px;
  color: #0f5fd6;
  text-decoration: none;
  white-space: nowrap;
}

.home-showcase-more:hover {
  text-decoration: underline;
}

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

.home-showcase-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: #1f2937;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3ebf7;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-showcase-card:hover {
  border-color: #bcd4f5;
  box-shadow: 0 4px 12px rgba(23, 68, 138, 0.08);
}

.home-showcase-thumb {
  display: block;
  background: #f1f5f9;
  line-height: 0;
}

.home-showcase-thumb img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  object-position: center;
}

.home-showcase-label {
  font-size: 11px;
  padding: 4px 6px 6px;
  color: #64748b;
  line-height: 1.35;
}

.home-showcase-card--packaging .home-showcase-label {
  color: #6b5b95;
}

/* 产品影像详情页 */
.product-visual-subsection {
  margin-top: 22px;
}

.product-visual-subsection:first-of-type {
  margin-top: 12px;
}

.product-visual-subsection h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.product-visual-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.product-visual-img-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e3ebf7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-visual-img-card:hover {
  border-color: #bcd4f5;
  box-shadow: 0 6px 18px rgba(23, 68, 138, 0.08);
}

.product-visual-img-wrap {
  display: block;
  background: #f1f5f9;
  line-height: 0;
}

.product-visual-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
}

.product-visual-img-label {
  display: block;
  font-size: 12px;
  padding: 8px 10px;
  color: #64748b;
}

.product-visual-video-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-visual-video-figure {
  margin: 0;
  padding: 12px;
  border: 1px solid #e3ebf7;
  border-radius: 10px;
  background: #fbfdff;
}

.product-visual-video-figure figcaption {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.product-visual-video {
  width: 100%;
  max-height: min(70vh, 520px);
  background: #000;
}

body.theme-dark .home-showcase-block {
  background: #0f172a;
  border-color: #263246;
}

body.theme-dark .home-showcase-title {
  color: #9ec8ff;
}

body.theme-dark .home-showcase-more {
  color: #9ec8ff;
}

body.theme-dark .home-showcase-card {
  background: #111827;
  border-color: #2a3952;
  color: #e5e7eb;
}

body.theme-dark .home-showcase-card:hover {
  border-color: #3e5680;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

body.theme-dark .home-showcase-thumb {
  background: #0b1220;
}

body.theme-dark .home-showcase-label {
  color: #9ca3af;
}

body.theme-dark .product-visual-img-card {
  background: #111827;
  border-color: #2a3952;
}

body.theme-dark .product-visual-img-card:hover {
  border-color: #3e5680;
}

body.theme-dark .product-visual-img-wrap {
  background: #0b1220;
}

body.theme-dark .product-visual-img-label {
  color: #9ca3af;
}

body.theme-dark .product-visual-video-figure {
  background: #0f172a;
  border-color: #2a3952;
}

body.theme-dark .product-visual-video-figure figcaption {
  color: #e5e7eb;
}
