/* Geometry measured against 网站.jpg, at 1568 CSS pixels wide. */
@media(min-width:1201px){
:root{--chrome-u:calc(100vw / 1568)}
.reference-header{height:calc(80 * var(--chrome-u));padding:0 calc(43 * var(--chrome-u)) 0 calc(28 * var(--chrome-u));border-top:calc(3 * var(--chrome-u)) solid #fff;grid-template-columns:calc(362 * var(--chrome-u)) minmax(0,1fr) calc(134 * var(--chrome-u));background-position:center 10%;background-size:100% auto}
.reference-header .brand{width:calc(160 * var(--chrome-u));align-items:flex-end;line-height:1}
.reference-header .official-logo{width:calc(160 * var(--chrome-u));height:calc(25 * var(--chrome-u));object-fit:contain}
.reference-header .brand-en{font-size:calc(13 * var(--chrome-u));line-height:1.3;letter-spacing:.1em;margin-top:calc(4 * var(--chrome-u));white-space:nowrap;color:#f4f2e5}
.reference-header .desktop-nav{display:grid;grid-template-columns:calc(205 * var(--chrome-u)) calc(235 * var(--chrome-u)) calc(215 * var(--chrome-u)) calc(185 * var(--chrome-u)) minmax(0,1fr);font-size:calc(23 * var(--chrome-u));letter-spacing:0;line-height:1.5;gap:0}
.reference-header .desktop-nav>a{justify-content:flex-start;padding:0;align-items:center}
.reference-header .header-consult{width:calc(134 * var(--chrome-u));height:calc(39 * var(--chrome-u));min-height:0;font-size:calc(23 * var(--chrome-u));padding:0;display:flex;align-items:center;justify-content:center;line-height:1;border-color:#c6cbb2;letter-spacing:0;justify-self:end}
.desktop-mega{top:calc(77 * var(--chrome-u));height:calc(296 * var(--chrome-u));min-height:0;padding:calc(29 * var(--chrome-u)) calc(43 * var(--chrome-u)) calc(25 * var(--chrome-u)) calc(28 * var(--chrome-u));grid-template-columns:calc(362 * var(--chrome-u)) calc(205 * var(--chrome-u)) calc(235 * var(--chrome-u)) calc(215 * var(--chrome-u)) calc(185 * var(--chrome-u)) minmax(0,1fr);background:#fafaf8;box-shadow:none}
.mega-column{padding:0}.mega-column a{font-size:calc(18 * var(--chrome-u));line-height:calc(36.5 * var(--chrome-u));padding:0;letter-spacing:0;margin:0;white-space:nowrap}
.reference-footer{height:calc(714 * var(--chrome-u));padding:calc(50 * var(--chrome-u)) 0 calc(70 * var(--chrome-u));background:#fafaf8;border:0;margin:0}
.reference-footer-inner{position:relative;width:calc(1320 * var(--chrome-u));max-width:none;height:calc(594 * var(--chrome-u));margin:0 0 0 calc(124 * var(--chrome-u))}
.footer-six{display:grid;grid-template-columns:calc(242 * var(--chrome-u)) calc(244 * var(--chrome-u)) calc(242 * var(--chrome-u)) calc(242 * var(--chrome-u)) calc(211 * var(--chrome-u)) minmax(0,1fr);gap:0;align-items:start}
.footer-six>div{min-width:0}.footer-six h3{font-family:var(--sans);font-size:calc(22 * var(--chrome-u));font-weight:350;line-height:calc(32 * var(--chrome-u));gap:calc(14 * var(--chrome-u));margin:0 0 calc(17 * var(--chrome-u));letter-spacing:0;white-space:nowrap}
.footer-six h3:before{width:calc(42 * var(--chrome-u));height:calc(13 * var(--chrome-u));background:#06380b}
.footer-six a{font-size:calc(18 * var(--chrome-u));line-height:calc(36.5 * var(--chrome-u));letter-spacing:0;padding:0;margin:0;white-space:nowrap}
.footer-six>div:first-child>a{padding-left:calc(8 * var(--chrome-u))}
.footer-contact-row,.footer-last-row{display:contents;margin:0;padding:0}
.social-row{display:block;position:absolute;left:calc(6 * var(--chrome-u));top:calc(323 * var(--chrome-u));width:calc(602 * var(--chrome-u));height:calc(90 * var(--chrome-u));gap:0}
.social-row .social-strip{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.social-row .social-button{position:absolute;top:0;width:16.6667%;height:100%;margin:0;background:transparent;border:0;padding:0;min-height:44px}
.social-row .social-button:nth-of-type(1){left:0}.social-row .social-button:nth-of-type(2){left:16.6667%}.social-row .social-button:nth-of-type(3){left:33.3333%}.social-row .social-button:nth-of-type(4){left:50%}.social-row .social-button:nth-of-type(5){left:66.6667%}.social-row .social-button:nth-of-type(6){left:83.3333%}
.social-row .social-button img{display:none}
.footer-phone{position:absolute;left:calc(853 * var(--chrome-u));top:calc(335 * var(--chrome-u));font-size:calc(34 * var(--chrome-u));font-weight:350;line-height:calc(54 * var(--chrome-u));letter-spacing:-.025em;white-space:nowrap}
.footer-consult{position:absolute;left:calc(845 * var(--chrome-u));top:calc(436 * var(--chrome-u));width:calc(444 * var(--chrome-u));height:calc(156 * var(--chrome-u));min-height:0;margin:0;font-size:calc(40 * var(--chrome-u));font-weight:350;line-height:1;letter-spacing:0;border:0;background-position:center 20%;background-size:100% auto}
.footer-legal{position:absolute;left:calc(8 * var(--chrome-u));top:calc(510 * var(--chrome-u));margin:0;max-width:calc(800 * var(--chrome-u))}
.footer-legal p{font-size:calc(17.5 * var(--chrome-u));line-height:calc(36 * var(--chrome-u));font-weight:350;letter-spacing:-.015em;white-space:nowrap;margin:0;color:#343a33}
.footer-legal p+p{margin:0}
}
@media(max-width:1200px){.social-row>.social-strip{display:none}}
@media(min-width:1201px){.reference-header{background-position:center 7%}.footer-six h3:before{transform:translateY(calc(-4 * var(--chrome-u)))}.footer-six h3{margin-bottom:calc(13 * var(--chrome-u))}.footer-phone{font-size:calc(31.5 * var(--chrome-u))}.footer-legal{top:calc(514 * var(--chrome-u))}.footer-legal p{font-size:calc(17.2 * var(--chrome-u))}.footer-consult{background-image:url('vi-consult.webp');background-size:100% 100%;background-position:center}}

/* Approved opening emphasis: preserve original wording. */
.opening-story .opening-joy{font-size:inherit!important;line-height:1.6!important;margin:32px 0}
.opening-joy-cn{display:inline;font-size:clamp(24px,2.15vw,32px);font-weight:700;line-height:1.65;color:var(--green)}
.opening-joy-en{font-size:clamp(18px,1.35vw,21px);font-weight:500;line-height:1.8}
@media(max-width:600px){.opening-story .opening-joy{margin:28px 0}.opening-joy-cn{font-size:25px;line-height:1.7}.opening-joy-en{font-size:18px}}

.checkup-entry-photo{margin:36px 0}.checkup-entry-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.checkup-hero{display:grid;grid-template-columns:minmax(0,0.82fr) minmax(0,1.18fr);gap:5%;align-items:center}.checkup-hero figure,.checkup-report-visual figure{margin:0}.checkup-hero img,.checkup-report-visual img{width:100%;height:auto;display:block;object-fit:contain}.checkup-report-visual{padding-bottom:24px}.checkup-report-visual figcaption{font-size:16px;color:var(--muted);margin-top:12px}.faq-answer p+p{margin-top:14px}
@media(max-width:760px){.checkup-hero{grid-template-columns:1fr;gap:28px}.checkup-entry-photo{margin:28px 0}.checkup-report-visual{padding-top:0}}

.info-rows>div>.checkup-interface{grid-column:1/-1;min-width:0;width:100%;margin:22px 0 8px}.checkup-interface img{display:block;width:100%;height:auto}.checkup-interface figcaption{font-size:16px;color:var(--muted);margin-top:12px}

/* Approved mobile reading hierarchy; copy preserved verbatim. */
.material-term{font-weight:700;color:var(--ink);font-size:1.04em}.benefit-label{display:inline-block;vertical-align:baseline;background:#173f33;color:#fff;font-weight:700;font-size:1.02em;line-height:1.5;padding:.22em .58em;margin:0 .18em .25em 0;box-decoration-break:clone;-webkit-box-decoration-break:clone}

.workbench-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px}.workbench-task-grid article{border-top:1px solid var(--line);padding-top:22px;min-width:0}.workbench-task-grid h3{font-size:22px;font-weight:700;margin:12px 0}.workbench-task-grid p{font-size:18px;line-height:1.95}.workbench-task-grid p+p{margin-top:14px}@media(max-width:700px){.workbench-task-grid{grid-template-columns:1fr;gap:28px}.workbench-task-grid h3{font-size:21px}.workbench-task-grid p{font-size:17px}}

.assembly-source{display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:start}.assembly-source h2{font-size:clamp(25px,2.3vw,34px);font-weight:700;line-height:1.6}.assembly-lead{font-size:clamp(21px,1.7vw,26px);font-weight:500;line-height:1.8;margin-top:20px}.assembly-source figure{margin:0}.assembly-source img{display:block;width:100%;height:auto;object-fit:contain}.assembly-source figcaption{font-size:16px;margin-top:12px;color:var(--muted)}.assembly-components{padding-left:1.2em;margin-top:28px}.assembly-components li{font-size:18px;line-height:1.9;margin:16px 0}@media(max-width:800px){.assembly-source{grid-template-columns:1fr;gap:28px}.assembly-source figure{order:-1}.assembly-components li{font-size:17px}}

.journey-family-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}.journey-family-row+.journey-family-row{padding-top:40px;border-top:1px solid var(--line)}.journey-family-row figure{margin:0;min-width:0}.journey-family-row img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.journey-family-row h3{font-size:21px;font-weight:700;margin:18px 0 10px}.journey-family-row p{font-size:17px;line-height:1.85}.journey-family-row figcaption>span,.scene-disclosure,.contact-welcome figcaption{font-size:15px;color:var(--muted);line-height:1.7}.journey-family-row figcaption>span{display:block;margin-top:10px}.contact-welcome{margin-top:0;margin-bottom:20px}.contact-welcome img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}.contact-welcome figcaption{margin-top:12px}@media(max-width:700px){.journey-family-row{grid-template-columns:1fr;gap:32px}.journey-family-row+.journey-family-row{margin-top:40px}.family-journeys .scene-disclosure{font-size:15px}}

.social-qr-popover{position:fixed;z-index:1200;padding:0;background:#fff;border-radius:9px;box-shadow:0 8px 34px #102f2626;line-height:0;isolation:isolate}.social-qr-popover[hidden]{display:none!important}.social-qr-popover>img{display:block;width:100%;height:auto;border-radius:9px}.social-qr-close{position:absolute;right:-8px;top:-12px;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d7dfd9;border-radius:50%;background:#fff;color:#173f33;font:25px/1 sans-serif;cursor:pointer}.social-button:focus-visible{outline:2px solid #173f33;outline-offset:4px}@media(pointer:coarse){.social-qr-close{width:44px;height:44px;top:-16px;right:-5px}}

.inspection-why h2,.checkup-project-copy h2{font-size:clamp(25px,2.3vw,34px);font-weight:700;line-height:1.65}.inspection-why p,.checkup-project-copy p{font-size:18px;line-height:1.95;margin-top:22px}.checkup-report-visual{display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:center}.assembly-comparison-rows>article{padding:24px 0;border-top:1px solid var(--line)}.assembly-comparison-rows h3{font-size:22px;font-weight:700;margin:0 0 18px}.assembly-comparison-rows article>div{display:grid;grid-template-columns:1fr 1fr;gap:24px}.assembly-comparison-rows article section{padding:22px;background:#f0f0eb}.assembly-comparison-rows article section+section{background:#e7eee8}.assembly-comparison-rows h4{font-size:18px;font-weight:700;margin:0 0 12px}.assembly-comparison-rows p{font-size:18px;line-height:1.9}.comparison-scope{font-size:16px;line-height:1.8;color:var(--muted);margin-top:20px}.assembly-application-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.assembly-application-grid figure{margin:0;min-width:0}.assembly-application-grid img{width:100%;height:290px;object-fit:cover;display:block}.assembly-application-grid figcaption{font-size:16px;line-height:1.7;margin-top:12px}@media(max-width:700px){.checkup-report-visual{grid-template-columns:1fr;gap:24px}.inspection-why p,.checkup-project-copy p{font-size:17px}.assembly-comparison-rows article>div{grid-template-columns:1fr;gap:12px}.assembly-comparison-rows p{font-size:17px}.assembly-application-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.assembly-application-grid img{height:220px}}

.assembly-source{display:flex;flex-direction:column;gap:30px}.assembly-source>figure{order:-1;width:100%}.assembly-source>div{width:100%}.assembly-components{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}.assembly-components li{padding-right:10px}@media(max-width:700px){.assembly-components{grid-template-columns:1fr}}

.original-route-block>.assembly-home-diagram{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important;align-self:start}

/* 2026-11-18: user-authored correction document. */
.page-head>p:not(.eyebrow){max-width:960px}
.page-head h1{max-width:1100px}
.point-label{font-weight:700;color:var(--ink)}
.original-material-details.correction-material-details h3{font-size:24px;font-weight:700;margin:0 0 22px}
.original-material-details.correction-material-details article:last-child{max-width:none}
.prinbord-source-image{max-width:540px;margin:24px 0}
.prinbord-source-image img{width:100%;height:auto}
.materials-correction>article{padding:36px 0;border-top:1px solid var(--line)}
.materials-correction>article+article{margin-top:12px}
.materials-correction h3{font-size:25px;font-weight:700;margin-bottom:20px}
.materials-correction article p+p{margin-top:20px}
.assembly-value-copy{max-width:980px}
.assembly-value-copy p+p{margin-top:20px}
.assembly-source>figure{order:0}
.assembly-source .assembly-components{margin-top:24px}
.delivery-brief{padding-left:1.2em;margin:24px 0 28px}
.delivery-brief li{font-size:18px;line-height:1.9;margin:10px 0}
.page-head .delivery-lead{font-size:24px;font-weight:700;color:var(--ink)}
.corrected-journey{display:grid;grid-template-columns:1fr 1fr;gap:32px 40px;align-items:start}
.corrected-journey .journey-scene{grid-column:1;grid-row:1}
.corrected-journey .journey-steps{grid-column:2;grid-row:1 / span 2}
.corrected-journey .journey-after{grid-column:1;grid-row:2}
.journey-steps>div{padding:22px 0;border-top:1px solid var(--line)}
.journey-steps>div:first-child{padding-top:0;border-top:0}
.journey-steps h3{margin-top:0}
.family-journeys{padding-top:30px}
.contact-welcome{margin-bottom:28px}
.contact-layout{padding-top:0}
.contact-layout>div>h2{margin-top:0}
.contact-direct>a{display:flex;align-items:center;gap:14px;max-width:100%;overflow-wrap:anywhere}
.contact-direct>a.contact-phone{font-size:clamp(19px,2vw,25px);white-space:nowrap;letter-spacing:0}
.contact-direct>a.contact-email{font-size:clamp(18px,1.6vw,22px)}
.contact-direct svg{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.workbench-detail-visual{margin:20px 0 24px}
.workbench-detail-visual img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}
.workbench-detail-visual.diagram{margin-bottom:0}
.about-spaces{padding-top:20px;padding-bottom:60px}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.gallery-heading h2{font-size:clamp(25px,2.3vw,34px)}
.gallery-controls{display:flex;gap:10px;flex-shrink:0}
.gallery-controls button{display:grid;place-items:center;width:46px;height:46px;background:transparent;color:var(--green);border:1px solid var(--line);font-size:23px;line-height:1}
.gallery-controls button:disabled{opacity:.3;cursor:default}
.gallery-controls button:hover:not(:disabled){border-color:var(--green)}
.space-carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b7c3b8 transparent;padding-bottom:12px;overscroll-behavior-x:contain}
.space-slide{flex:0 0 calc((100% - 60px)/4);scroll-snap-align:start;display:block}
.space-slide img{width:100%;height:320px;object-fit:cover}
@media(prefers-reduced-motion:no-preference){.space-carousel{scroll-behavior:smooth}}
@media(max-width:760px){
 .page-head{padding-top:40px;padding-bottom:36px}
 .page-head h1{font-size:29px;line-height:1.65}
 .page-head>p:not(.eyebrow){margin-top:20px}
 .page-head .delivery-lead{font-size:21px}
 .delivery-brief li{font-size:17px}
 .assembly-source{padding-top:20px}
 .assembly-source>figure{order:0}
 .corrected-journey{display:flex;flex-direction:column;gap:24px}
 .corrected-journey .journey-scene,.corrected-journey .journey-steps,.corrected-journey .journey-after{width:100%}
 .journey-steps>div{padding:20px 0}
 .journey-steps>div:last-child{padding-bottom:0}
 .contact-welcome{margin-bottom:24px}
 .contact-layout{padding-top:0;gap:40px}
 .contact-layout>div>h2{font-size:26px;line-height:1.6}
 .contact-layout .plain-list{margin-top:20px}
 .contact-direct>a{gap:10px}
 .contact-direct>a.contact-phone{font-size:19px}
 .contact-direct>a.contact-email{font-size:18px}
 .footer-consult{width:74%;min-height:72px;height:72px;max-width:320px;justify-self:center;margin-inline:auto;font-size:25px}
 .space-slide{flex-basis:76%}
 .space-carousel{gap:16px}
 .space-slide img{height:320px;object-fit:cover}
 .gallery-heading{gap:12px;margin-bottom:20px}
 .gallery-heading h2{font-size:24px}
 .gallery-controls{gap:8px}
 .gallery-controls button{width:44px;height:44px}
 .about-spaces{padding-top:0;padding-bottom:36px}
 .prinbord-source-image{max-width:300px;margin:22px 0}
 .materials-correction h3{font-size:23px}
 .materials-correction>article{padding:28px 0}
}
@media(min-width:761px) and (max-width:1000px){.space-slide{flex-basis:calc((100% - 40px)/3)}}
.material-section-visual{max-width:520px;margin:20px 0 24px}.material-section-visual img{width:100%;height:auto;max-height:320px;object-fit:contain}.contact-layout .check{display:flex;gap:10px;align-items:flex-start}.contact-layout .check>input{flex:0 0 16px;margin-top:6px}.contact-layout .check>span{display:block;min-width:0}.contact-layout .check a{display:inline}
@media(max-width:760px){.material-section-visual{max-width:360px}.material-section-visual img{max-height:240px}}
/* 修改2：保留原图比例，材料图可查看原尺寸。 */
.corrected-material-visual{max-width:none;width:100%;margin:24px 0}.corrected-material-visual img{width:100%;height:auto;max-height:none;object-fit:contain}
.prinbord-source-image{position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:none;margin:28px 0}.prinbord-source-image img{display:block;width:100%;height:auto;max-width:none;max-height:none}
.space-carousel .space-slide img{height:320px;object-fit:contain;background:#eeede8}.gallery-count{font-size:14px!important;margin-top:10px;color:var(--muted)}
.about-spaces+.about-spaces{padding-top:10px}
.result-actions{display:flex;flex-wrap:wrap;gap:12px}.result-actions .button{max-width:100%;overflow-wrap:anywhere}.result-actions #email-summary{font-size:16px;white-space:normal;word-break:break-word}
@media(max-width:760px){.result-actions{flex-direction:column;align-items:stretch}.result-actions .button{width:100%;justify-content:center}.space-slide{flex-basis:86%}.space-slide img{height:340px}.about-spaces{padding-bottom:36px}}
@media(max-width:360px){.gallery-heading h2{font-size:20px;white-space:nowrap}.gallery-heading{gap:8px}}
.correction-material-details>article{min-width:0}.correction-material-details{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.correction-material-details{grid-template-columns:minmax(0,1fr)}}
.contact-layout>div>h1{font-size:clamp(29px,2.5vw,38px);line-height:1.65;letter-spacing:.02em;margin-bottom:24px}.contact-approved-copy{margin:0;line-height:1.95}.contact-welcome{margin-top:30px}

/* 2026-11-20: implement the exact mobile presentation requested in 修改2.
   This file loads after style.css, so these rules deliberately close earlier
   gallery overrides instead of letting a second, cropped slide peek in. */
.space-carousel .space-slide:nth-child(n+7){display:none}
.gallery-count{display:none}
@media(max-width:760px){
  html{scroll-padding-top:0}
  .site-header.reference-header{position:relative;top:auto}
  .material-carousel{grid-auto-columns:100%;gap:0;width:100%;overflow-x:auto;scroll-snap-type:x mandatory}
  .material-carousel figure{scroll-snap-align:start}
  .proof-carousel{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:0;grid-auto-columns:100%;gap:0}
  .spc-carousel figure:nth-child(2) img{aspect-ratio:1554/794;object-fit:contain;object-position:center;background:#fff}
  .mobile-menu details:first-child>div>a{gap:10px}
  .mobile-menu details:first-child>div>a:before{width:28px;height:28px;flex-basis:28px;font-size:14px;border-radius:5px}
  .space-carousel{gap:0;padding-bottom:0}
  .space-slide{flex:0 0 100%}
  .space-slide img{height:auto;aspect-ratio:4/3;object-fit:cover;background:#eeede8}
  .gallery-controls button{width:42px;height:42px}
}

/* User-provided product illustrations: same six small icons in desktop and mobile navigation. */
.desktop-mega>.mega-column:nth-child(2)>a,
.mobile-menu details:first-child>div>a{display:flex;align-items:center}
.desktop-mega>.mega-column:nth-child(2)>a:before,
.mobile-menu details:first-child>div>a:before{content:''!important;display:block;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background-color:#f1f0e9;background-image:url('product-menu-icons-given.png');background-size:200% 300%;background-repeat:no-repeat;background-blend-mode:multiply}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(1):before,
.mobile-menu details:first-child>div>a:nth-child(1):before{background-position:0 0}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(2):before,
.mobile-menu details:first-child>div>a:nth-child(2):before{background-position:0 50%}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(3):before,
.mobile-menu details:first-child>div>a:nth-child(3):before{background-position:0 100%}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(4):before,
.mobile-menu details:first-child>div>a:nth-child(4):before{background-position:100% 0}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(5):before,
.mobile-menu details:first-child>div>a:nth-child(5):before{background-position:100% 50%}
.desktop-mega>.mega-column:nth-child(2)>a:nth-child(6):before,
.mobile-menu details:first-child>div>a:nth-child(6):before{background-position:100% 100%}
@media(max-width:760px){
  .mobile-menu details:first-child>div>a{gap:12px}
  .mobile-menu details:first-child>div>a:before{width:48px;height:48px;flex-basis:48px}
}

/* User-provided technology illustrations: the shared navigation markup keeps
   these three entry icons identical in simplified Chinese, traditional Chinese
   and English, on both desktop and mobile. */
.desktop-mega>.mega-column:nth-child(3)>a,
.mobile-menu details:nth-child(2)>div>a{display:flex;align-items:center;gap:9px}
.desktop-mega>.mega-column:nth-child(3)>a:before,
.mobile-menu details:nth-child(2)>div>a:before{content:''!important;display:block;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background-color:#f1f0e9;background-repeat:no-repeat;background-position:center;background-size:200% 100%;background-image:url('tech-menu-kitchen-bath-given.png')}
.desktop-mega>.mega-column:nth-child(3)>a:nth-child(1):before,
.mobile-menu details:nth-child(2)>div>a:nth-child(1):before{background-position:left center}
.desktop-mega>.mega-column:nth-child(3)>a:nth-child(2):before,
.mobile-menu details:nth-child(2)>div>a:nth-child(2):before{background-position:right center}
.desktop-mega>.mega-column:nth-child(3)>a:nth-child(3):before,
.mobile-menu details:nth-child(2)>div>a:nth-child(3):before{background-image:url('tech-menu-antiroach-given.png');background-size:100% 100%;background-position:center}
@media(max-width:760px){
  .mobile-menu details:nth-child(2)>div>a{gap:12px}
  .mobile-menu details:nth-child(2)>div>a:before{width:48px;height:48px;flex-basis:48px}
}

/* Case index and detail galleries: one controllable carousel per collection.
   Comparison pairs deliberately remain side by side. */
.case-carousel-controls{display:flex;justify-content:flex-end;gap:10px;margin:0 0 18px}
.case-carousel-button{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid var(--line);background:transparent;color:var(--green);font-size:25px;line-height:1;cursor:pointer}
.case-carousel-button:disabled{opacity:.3;cursor:default}
.case-carousel-button:hover:not(:disabled){border-color:var(--green)}
.real-case-grid.case-carousel,.real-case-gallery.case-carousel{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b7c3b8 transparent;overscroll-behavior-x:contain;padding-bottom:12px}
.real-case-grid.case-carousel>.real-case-card{flex:0 0 calc((100% - 48px)/3);min-width:0;scroll-snap-align:start}
.real-case-gallery.case-carousel>figure{flex:0 0 calc((100% - 24px)/2);min-width:0;margin:0;scroll-snap-align:start}
@media(prefers-reduced-motion:no-preference){.real-case-grid.case-carousel,.real-case-gallery.case-carousel{scroll-behavior:smooth}}
@media(max-width:760px){
  .case-carousel-controls{margin-bottom:14px}
  .case-carousel-button{width:42px;height:42px}
  .real-case-grid.case-carousel,.real-case-gallery.case-carousel{gap:0;padding-bottom:0}
  .real-case-grid.case-carousel>.real-case-card,.real-case-gallery.case-carousel>figure{flex-basis:100%}
}
