/* 首页、报告页与图上打点（2026-11-02 改版）。沿用站内金色（#a8875f）与字体，不引入新字体；深色面用枪灰，浅色面用磨砂（变量见 chrome.css）。 */
.directHome { --dhGap: 16px; --dhPad: clamp(20px, 4vw, 64px); color: #222; font-size: 15px; line-height: 1.7; }
.directHome a { color: inherit; }
.directHome img { display: block; }

/* 首屏轮播：原站横幅（2026-11-06 精诚要求不用生成的效果图）。图按 16:9 铺满，文字图压在正中 */
/* 桌面首屏顶到页头底下，半透明深色页头透出图片 */
.dhHero { position: relative; overflow: hidden; margin-top: -76px; padding-top: 8px; --heroH: max(496px, calc(100vh - 100px)); }
.dhVh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dhStage { position: relative; height: var(--heroH); margin: 0 var(--dhGap); overflow: hidden; border-radius: 20px; background: var(--jcGun); }
.dhSlide { position: absolute; inset: 0; visibility: hidden; }
.dhSlide.isOn { z-index: 2; visibility: visible; }
.dhSlide.isPrev { z-index: 1; visibility: visible; }
/* 底部淡淡压暗，让进度条看得清 */
.dhSlide::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 140px; pointer-events: none; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); }
.dhCover { position: absolute; left: 50%; top: 50%; width: max(100%, calc(var(--heroH) * 16 / 9)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); }
.dhPan { width: 100%; height: 100%; }
.dhPan > img { width: 100%; height: 100%; object-fit: cover; }
/* 原站文字图：放在和横幅同比例的 .dhCover 里，按原站在 1920 宽横幅上的大小和位置摆（skin/style/index.css 的 .block_txt），
   这样首屏多宽都和原站一样。宽度 = 文字图原宽 / 1920；第 2 张原站是偏左下（top 70%、left 31%）。不认识的图按一半宽居中 */
.dhCover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .2); pointer-events: none; }
.dhBnText { position: absolute; z-index: 4; left: 50%; top: 50%; width: 50%; height: auto; transform: translate(-50%, -50%); pointer-events: none; }
.dhBnText[src$="/Bn1Txt.png"] { width: 61.51%; }
.dhBnText[src$="/Bn2Txt.png"] { width: 21.88%; left: 31%; top: 70%; }
.dhBnText[src$="/Bn3Txt.png"] { width: 29.64%; }
.dhBnText[src$="/Bn4Txt.png"] { width: 39.74%; }
.dhSlide.isOn .dhBnText { animation: dhTextIn 1.1s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dhTextIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 22px)); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* 切图像柜门打开：新图从中缝向两边展开，同时缓慢推镜 */
.dhSlide.isOn { animation: dhDoorOpen 1.2s cubic-bezier(.76, 0, .18, 1) both; }
.dhSlide.isOn .dhPan { animation: dhPush 9s cubic-bezier(.2, .4, .4, 1) both; }
@keyframes dhDoorOpen { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes dhPush { from { transform: scale(1.09); } to { transform: scale(1.01); } }

/* 切换条：沿用原站横幅底部的几道细线，居中 */
.dhTabs { position: absolute; z-index: 5; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.dhTab { width: 72px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.dhTab i { position: relative; display: block; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .38); }
.dhTab i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dhTab.isOn i::after { transform: scaleX(1); }
.dhTab.isOn.run i::after { transform: none; }
.dhTab.run i::after { animation: dhFill 7s linear both; }
/* 鼠标在切换条上才暂停，停在图上照常轮播 */
@media (hover: hover) {
  .dhTabs:hover .dhTab.run i::after { animation-play-state: paused; }
}
@keyframes dhFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dhToggle { position: relative; flex: none; width: 28px; height: 28px; margin-left: 6px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: none; cursor: pointer; }
.dhToggle::before, .dhToggle::after { content: ""; position: absolute; top: 8px; width: 2px; height: 10px; background: #fff; }
.dhToggle::before { left: 9px; }
.dhToggle::after { left: 15px; }
.dhToggle.isStopped::before { left: 10px; top: 7px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
.dhToggle.isStopped::after { display: none; }
.dhTab:focus-visible, .dhToggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 三个入口：桌面不出（与顶部导航重复，2026-11-06 精诚反馈）；手机导航收在菜单里，留着当快捷入口，见下方手机样式 */
.dhDoors { display: none; }

/* 区块 */
/* 内容区是磨砂底板：左右内边距减去外边距，内容仍和页头、首屏文字对齐 */
.dhBlock { margin: 16px var(--dhGap) 0; padding: 40px calc(var(--dhPad) - var(--dhGap)); border-radius: 20px; background: var(--jcGlass); box-shadow: var(--jcGlassEdge); -webkit-backdrop-filter: var(--jcFrost); backdrop-filter: var(--jcFrost); }
.dhHead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.dhHead h2 { margin: 0; font-size: 28px; font-weight: 500; }
.dhHead a { color: #8a6d48 !important; text-decoration: underline; text-underline-offset: 3px; }
.dhNote { margin-top: 10px; color: #777; font-size: 13px; }
/* 首页底部友情链接（home-direct.ts FRIEND_LINKS，全站只此一处） */
.dhFriends { padding-top: 28px; padding-bottom: 28px; }
.dhFriends h2 { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.dhFriends ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.dhFriends a { color: #555; }

.dhSeries { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.dhSeries a { display: block; padding: 6px 14px; border: 1px solid #d8c8b2; border-radius: 999px; }
.dhSeries a:hover, .dhSeries a:focus-visible { background: var(--jcGun); border-color: var(--jcGun); color: #fff; }
.dhSeries em { margin-left: 6px; font-style: normal; color: #8a6d48; }
.dhSeries a:hover em, .dhSeries a:focus-visible em { color: #fff; }

/* 花色墙 */
.dhWall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dhWall a { position: relative; display: block; }
.dhWall img, .dhWall .swatchFallback { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.tileText { display: block; padding: 10px 2px 6px; }
.tileText strong { display: block; font-weight: 500; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tileText span { display: block; font-size: 12px; color: #777; }
.dhWall a:hover strong, .dhWall a:focus-visible strong { color: #8a6d48; }

/* 花色墙进入视野时逐块翻入；只有脚本加了 isArmed 才隐藏，不跑脚本时直接可见 */
.dhWall.isArmed li { opacity: 0; transform: perspective(700px) rotateY(-55deg); transform-origin: left center; }
.dhWall.isIn li { opacity: 1; transform: none; transition: opacity .55s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.dhWall.isIn li:nth-child(6n+2) { transition-delay: .06s; }
.dhWall.isIn li:nth-child(6n+3) { transition-delay: .12s; }
.dhWall.isIn li:nth-child(6n+4) { transition-delay: .18s; }
.dhWall.isIn li:nth-child(6n+5) { transition-delay: .24s; }
.dhWall.isIn li:nth-child(6n) { transition-delay: .3s; }
.dhWall.isIn li:nth-child(n+7) { transition-delay: .36s; }
.dhWall.isIn li:nth-child(n+13) { transition-delay: .48s; }
/* 悬停放大：以底边为基准往上、往两侧长，不盖住下面的花色名；只在有鼠标的设备和键盘聚焦时生效，触屏点过不留放大态 */
.dhWall img, .dhWall .swatchFallback { transform-origin: center bottom; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.dhWall a:focus-visible { z-index: 2; }
.dhWall a:focus-visible img, .dhWall a:focus-visible .swatchFallback { transform: scale(1.1); box-shadow: 0 14px 30px rgba(0, 0, 0, .24); }
@media (hover: hover) {
  .dhWall a:hover { z-index: 2; }
  .dhWall a:hover img, .dhWall a:hover .swatchFallback { transform: scale(1.1); box-shadow: 0 14px 30px rgba(0, 0, 0, .24); }
}

/* 打点 */
.hsStage { position: relative; }
.hsStage > img { width: 100%; }
.hsDot { position: absolute; z-index: 2; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(40, 40, 40, .55); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); cursor: pointer; }
.hsDot::after { content: ""; position: absolute; left: 11px; top: 11px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.hsDot:hover::after, .hsDot.on::after { transform: scale(.7); }
.hsDot.on { background: #a8875f; }
.hsDot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hsCard { position: absolute; z-index: 3; display: flex; overflow: hidden; width: 290px; margin: 26px 0 0 -18px; border-radius: 12px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: var(--jcFrost); backdrop-filter: var(--jcFrost); color: #222; box-shadow: 0 8px 28px rgba(0, 0, 0, .28); }
.hsCard[hidden] { display: none; }
.hsCard.toLeft { margin-left: -272px; }
.hsCard.toTop { margin-top: -146px; }
.hsThumb { flex: none; width: 112px; min-height: 120px; background-size: cover; background-position: center; }
.hsText { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.hsText em { font-style: normal; font-size: 12px; color: #8a6d48; }
.hsText strong { font-size: 15px; font-weight: 500; }
.hsText > span { color: #777; font-size: 12px; word-break: break-all; }
.hsText a { margin-top: auto; padding-top: 4px; color: #8a6d48 !important; text-decoration: underline; text-underline-offset: 3px; }

.sceneTiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sceneTile { margin: 0; }
.sceneTile .hsStage { overflow: hidden; border-radius: 12px; }
.sceneTile .hsStage img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sceneTile:hover .hsStage img { transform: scale(1.05); }
.sceneTile .hsStage .space { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 0 12px; height: 26px; line-height: 26px; border-radius: 13px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; }
.sceneTile figcaption { margin-top: 10px; }
.sceneTile figcaption a:hover { color: #8a6d48; }

/* 报告页上的环保等级（/reports 用） */
.dhEco { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dhEco li { min-width: 220px; padding: 16px 24px; border-radius: 12px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.dhEco strong { display: block; font-size: 22px; font-weight: 500; line-height: 1.3; }
.dhEco span { color: #777; font-size: 13px; }

/* 首页「看报告」：2026-11-06 精诚说原来太简陋，改成压在原站暗色底图（storyBg）上的一整块：大数字 + 认证标识 + 证书 */
.dhReport { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; margin: 16px var(--dhGap) 0; padding: 56px calc(var(--dhPad) - var(--dhGap)); border-radius: 20px; background: #1d1f22 url("/skin/images/storyBg.jpg") center 30% / cover no-repeat; color: #fff; isolation: isolate; }
.dhReport::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 19, 21, .9) 0%, rgba(18, 19, 21, .72) 55%, rgba(18, 19, 21, .35) 100%), var(--jcGrain); }
.dhReport.noCert { grid-template-columns: 1fr; }
.dhEyebrow { margin: 0 0 6px; color: #c9ab80; font-size: 13px; letter-spacing: .2em; }
.dhReport h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.3; }
.dhReportLead { margin: 8px 0 0; color: rgba(255, 255, 255, .78); }
.dhReport .dhEco { gap: 0; margin-top: 28px; }
.dhReport .dhEco li { min-width: 0; padding: 0 40px 0 0; margin-right: 40px; border-radius: 0; background: none; box-shadow: none; border-right: 1px solid rgba(255, 255, 255, .18); }
.dhReport .dhEco li:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.dhReport .dhEco strong { font-size: 56px; font-weight: 300; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.dhReport .dhEco small { margin-left: 6px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.dhReport .dhEco span { display: block; margin-top: 6px; color: #c9ab80; font-size: 15px; }
.dhMarks { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.dhMarks li { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: 13px; color: rgba(255, 255, 255, .88); }
.dhMarks img { width: 40px; height: 40px; object-fit: contain; border-radius: 50% !important; background: #fff; }
.dhReportBtn { display: inline-block; margin-top: 32px; padding: 0 28px; height: 44px; line-height: 44px; border-radius: 22px; background: #a8875f; color: #fff !important; transition: background .2s; }
.dhReportBtn:hover, .dhReportBtn:focus-visible { background: #8a6d48; }
.dhCert { margin: 0; padding: 12px 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); transform: rotate(2deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.dhCert:hover { transform: rotate(0) scale(1.02); }
.dhCert img { width: min(300px, 26vw); height: auto; border-radius: 8px; }
.dhCert figcaption { margin-top: 8px; color: #555; font-size: 13px; text-align: center; }

.reportsPage { margin: 12px var(--dhGap, 16px) 16px; padding-bottom: 64px; border-radius: 20px; background: var(--jcGlass); box-shadow: var(--jcGlassEdge); -webkit-backdrop-filter: var(--jcFrost); backdrop-filter: var(--jcFrost); }
/* 报告页整页是一块底板，里面的区块不再各带一层，左右对齐页头 */
.reportsPage .dhBlock { margin: 0; padding: 32px calc(var(--dhPad) - var(--dhGap)) 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rpTop { padding: 40px calc(var(--dhPad) - var(--dhGap)) 0; }
.rpTop h1 { margin: 0 0 6px; font-size: 34px; font-weight: 500; }
.rpTop a, .rpEmpty a { color: #8a6d48 !important; text-decoration: underline; }
.rpEmpty { padding: 18px 24px; border-radius: 12px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); color: #555; }
.rpChips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.rpChips a { display: block; padding: 6px 16px; border: 1px solid #d8c8b2; border-radius: 999px; color: #5f5138 !important; }
.rpChips a:hover, .rpChips a:focus-visible { border-color: var(--jcGun); }
.rpChips a.on { background: var(--jcGun); border-color: var(--jcGun); color: #fff !important; }
.rpTable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--jcGun); }
.rpTable th, .rpTable td { padding: 10px 12px 10px 0; border-bottom: 1px solid #e6dccf; text-align: left; }
.rpTable th { color: #777; font-size: 13px; font-weight: 400; }
.rpTable td { color: #555; font-size: 14px; }
.rpTable tbody tr:hover { background: rgba(255, 255, 255, .5); }
.rpTable .rpName a { color: #222 !important; font-size: 15px; font-weight: 500; }
.rpTable .rpName a:hover { color: #8a6d48 !important; }
.rpAct { white-space: nowrap; text-align: right !important; }
.rpAct a { margin-left: 14px; color: #8a6d48 !important; text-decoration: underline; text-underline-offset: 3px; }
.rpVh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rpMore { margin-top: 16px; color: #555; }
.rpMore a { color: #8a6d48 !important; text-decoration: underline; }
.rpCerts { display: flex; flex-wrap: wrap; gap: 24px; }
.rpCerts figure { margin: 0; }
.rpCerts img { width: 280px; height: auto; border-radius: 12px; }
.rpCerts figcaption { margin-top: 6px; color: #555; }

@media (max-width: 1100px) {
  .dhWall { grid-template-columns: repeat(4, 1fr); }
  .sceneTiles { grid-template-columns: repeat(2, 1fr); }
  .dhReport { grid-template-columns: 1fr; }
  .dhCert { justify-self: start; }
  .dhCert img { width: min(300px, 60vw); }
}
@media (max-width: 768px) {
  .directHome { --dhGap: 12px; }
  .dhHero { margin-top: 0; padding-top: 0; --heroH: calc((100vw - 24px) * .5625); }
  .dhStage { border-radius: 14px; }
  .dhSlide::after { height: 56px; }
  .dhTabs { bottom: 4px; gap: 6px; }
  .dhTab { width: 36px; padding: 8px 0; }
  .dhTab i { height: 2px; }
  .dhToggle { width: 22px; height: 22px; margin-left: 4px; }
  .dhToggle::before, .dhToggle::after { top: 6px; height: 8px; }
  .dhToggle::before { left: 6px; }
  .dhToggle::after { left: 11px; }
  .dhToggle.isStopped::before { left: 7px; top: 5px; border-width: 5px 0 5px 7px; }
  /* 手机入口：真实花色 / 效果图 / 原站图做底，左侧压暗放字（2026-11-06 精诚：灰色框加底图） */
  .dhDoors { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 10px var(--dhGap) 0; }
  .dhDoors > a { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 12px 18px; border-radius: 14px; background: var(--jcGun) var(--tex, none) center / cover; color: #fff !important; }
  .dhDoors > a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, .82), rgba(20, 20, 22, .35) 70%, rgba(20, 20, 22, .15)); }
  .dhDoors > a > * { position: relative; }
  .dhDoors strong { font-size: 20px; font-weight: 500; line-height: 1.3; }
  .dhDoors > a span { font-size: 12px; color: rgba(255, 255, 255, .85); }
  .dhReport { gap: 28px; margin: 16px var(--dhGap) 0; padding: 32px 20px; border-radius: 14px; background-position: 70% 30%; }
  .dhReport::before { background: linear-gradient(180deg, rgba(18, 19, 21, .88), rgba(18, 19, 21, .7)), var(--jcGrain); }
  .dhReport h2 { font-size: 26px; }
  .dhReport .dhEco li { padding-right: 20px; margin-right: 20px; }
  .dhReport .dhEco strong { font-size: 40px; }
  .dhReport .dhEco span { font-size: 13px; }
  .dhMarks { gap: 8px; margin-top: 22px; }
  .dhMarks li { padding-right: 12px; font-size: 12px; }
  .dhMarks img { width: 32px; height: 32px; }
  .dhReportBtn { margin-top: 24px; }
  .dhCert { padding: 8px 8px 6px; }
  .dhCert img { width: min(220px, 60vw); }
  .dhBlock { padding: 28px calc(var(--dhPad) - var(--dhGap)); }
  .dhHead h2 { font-size: 24px; }
  .dhWall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sceneTiles { grid-template-columns: 1fr; }
  .rpTop { padding: 28px calc(var(--dhPad) - var(--dhGap)) 0; }
  /* 手机上文件表改成一行一张卡片：文件名在上，其余逐项往下 */
  .rpTable, .rpTable tbody, .rpTable tr, .rpTable td { display: block; }
  .rpTable { border-top: 0; }
  .rpTable thead { display: none; }
  .rpTable tr { padding: 14px 0; border-bottom: 1px solid #e6dccf; }
  .rpTable td { padding: 2px 0; border: 0; font-size: 13px; }
  .rpTable td:empty { display: none; }
  .rpTable .rpType { color: #8a6d48; font-size: 12px; }
  .rpAct { padding-top: 8px !important; text-align: left !important; }
  .rpAct a { margin: 0 14px 0 0; }
  /* 手机上卡片不贴圆点，固定在图的底边，免得出画 */
  .hsCard, .hsCard.toLeft, .hsCard.toTop { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; margin: 0; }
  .hsThumb { width: 92px; min-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .directHome *, .directHome *::before, .directHome *::after { animation: none !important; transition: none !important; }
}
