/* Shared responsive layer. Keep the original card transition and brand imagery. */
.text-motion .rise-visual,.text-motion .rise-word,.text-motion .rise-letter,.text-motion .rise-lift{
 font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;margin:0;padding:0;border:0;
}
.text-motion .rise-visual{display:inline}
.text-motion .rise-word{display:inline-block;white-space:nowrap}
.text-motion .rise-letter,.text-motion .rise-lift{display:inline-block}
.text-awaiting .rise-visual{opacity:0}
@media(hover:hover) and (pointer:fine){
 .text-revealed .rise-lift{transition:transform .22s cubic-bezier(.22,1,.36,1)}
 .text-revealed .rise-letter:hover .rise-lift{transform:translateY(-.16em)}
}
@media(prefers-reduced-motion:reduce){
 .text-motion .rise-visual{opacity:1}
 .text-motion .rise-lift{transform:none!important;transition:none!important}
}
:root{--page-gutter:clamp(16px,4vw,72px)}
html{scroll-padding-top:20px}
body{margin:0;min-width:0}
img{max-width:100%}
button,a,input,textarea{touch-action:manipulation}
button,a{ -webkit-tap-highlight-color:transparent }
button:focus-visible,a:focus-visible{outline:3px solid #245bff;outline-offset:3px}
.home-shell,.brand-page{width:calc(100% - var(--page-gutter)*2)}
.home-copy,.hero-art,.brand-intro>div,.product-map-card,.product-features article,.question-body{min-width:0}
.topbar{gap:20px;flex-wrap:wrap;padding-block:clamp(18px,3vw,32px)}
.topbar img{width:clamp(160px,22vw,265px);max-width:100%}
.status-pill{max-width:100%;white-space:normal;line-height:1.6}
.home-shell .hero{min-height:min(800px,calc(100svh - 100px));gap:clamp(24px,4vw,64px);padding-block:clamp(24px,4vw,60px)}
.home-shell .hero h1{font-size:clamp(30px,3.3vw,60px);overflow-wrap:anywhere}
.hero h1 .headline-first{white-space:normal;text-wrap:balance}
.hero-copy,.brand-intro p,.brand-section-copy,.product-intro,.product-features p{font-size:clamp(16px,1.1vw,18px)}
.home-shell .hero-copy{font-size:clamp(16px,1.1vw,18px)}
.home-shell .hero-art{display:flex;order:0;min-height:0;aspect-ratio:1;isolation:isolate}
.home-shell .hero-art .mascot{width:90%;max-height:600px}
.hero-glow{width:100%;height:auto;aspect-ratio:1}
.home-shell .orbit{width:75%;height:75%;max-width:75%;max-height:75%}
.home-shell .chip{font-size:clamp(10px,1vw,13px);padding:10px 12px}
.home-shell .meta-row{flex-wrap:wrap;gap:12px;line-height:1.8}
.home-products{max-width:none}
.hero-actions>*{min-height:48px;white-space:normal;text-align:center}
.brand-header{flex-wrap:wrap;gap:12px}
.brand-intro{gap:clamp(20px,4vw,60px)}
.brand-page h1,.brand-page h2,.product-map-card strong{overflow-wrap:anywhere}
.brand-concept,.product-detail{padding:clamp(20px,3vw,44px)}
.product-map-card{min-width:0;min-height:44px}
.product-detail-heading{gap:12px}
.product-role{white-space:normal}
.brand-footer .primary{max-width:100%;line-height:1.7}

/* Card stage fills the available height; its contents scroll, never shrink. */
.survey-screen{height:100vh;height:100dvh;min-height:360px}
.survey-header{height:auto;flex:0 0 auto;min-height:88px;padding:18px var(--page-gutter);gap:20px}
.survey-brand{min-width:0}
.survey-brand img{width:clamp(160px,18vw,230px);max-width:100%;height:auto}
.survey-progress-meta{width:clamp(240px,30vw,420px);min-width:0}
.progress-track{position:relative;top:auto!important;flex:0 0 2px;height:2px}
.survey-layout{width:calc(100% - var(--page-gutter)*2);max-width:1900px;gap:clamp(20px,3vw,48px);margin:22px auto 34px;min-height:0}
.survey-part-panel{min-height:0;overflow-y:auto!important}
.question-viewport{min-width:0;min-height:0}
.question-viewport[aria-busy=true] .question-frame{
 border-radius:inherit;
 backface-visibility:hidden;
 box-shadow:0 8px 24px #24497524,inset 0 0 0 1px #cbdcf0;
}
.question-viewport .question-frame{padding:clamp(20px,2.8vw,48px);overflow-x:hidden;overflow-y:auto}
.question-frame>*,.question-body>*{flex-shrink:0}
.question-title{font-size:clamp(22px,2vw,34px);overflow-wrap:anywhere}
.question-content,.question-body{min-width:0;width:100%}
.question-viewport .option{font-size:clamp(16px,1.1vw,18px);min-height:60px;overflow-wrap:anywhere}
.option>span:first-child{min-width:0}
.question-viewport .nav-row{flex-shrink:0;gap:12px;flex-wrap:wrap;padding-bottom:env(safe-area-inset-bottom,0px)}
.nav-row button{min-height:48px}
.contact-input,.text-area{max-width:100%;font-size:16px}
.matrix-wrap{max-width:100%;overscroll-behavior-x:contain}
.matrix-note:after{content:'小屏可左右滑动查看全部评价';display:block;font-size:12px;color:#567ca6;margin-top:6px}
.specimen-bubble{text-wrap:balance}
.matrix-table{min-width:660px}
.matrix-table th:first-child{position:sticky;left:0;background:#f5f9ff;z-index:1;min-width:110px}
.matrix-table td{min-width:76px}
.required-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(20px,4vw,30px)}
.required-dialog h2{font-size:clamp(20px,3vw,23px)}
.thankyou{min-height:100svh;padding:clamp(20px,4vw,60px) var(--page-gutter)}
.thank-card{width:min(100%,1000px);padding:clamp(22px,4vw,48px)}
.thank-card h1{font-size:clamp(28px,4vw,52px)}
.qr-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.qr-card{min-width:0}
.qr-card b{font-size:14px}
.qr-card span{font-size:12px;line-height:1.7}
.community-qr{min-width:0}
.admin-wrap{max-width:1400px;width:calc(100% - var(--page-gutter)*2);margin-inline:auto}
.admin-panel{overflow-x:auto}
.admin-panel .table{min-width:800px}
.login{padding:24px var(--page-gutter)}
.login-card{width:min(440px,100%);padding:clamp(22px,4vw,40px)}

@media(max-width:1100px){
 .survey-layout{grid-template-columns:minmax(170px,22%) minmax(0,1fr);gap:20px}
 .survey-part-panel strong{font-size:30px}
 .question-content.with-side-art{display:flex;flex-direction:column;gap:20px}
 .question-side-art.brand-specimen{position:relative;order:-1;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(90px,1fr);width:100%;height:auto;min-height:0;gap:12px;padding:16px}
 .brand-specimen .specimen-bubble{grid-column:1;grid-row:1;font-size:12px}
 .brand-specimen .specimen-logo{grid-column:1;grid-row:2;border:0;padding:8px 0}
 .brand-specimen img.specimen-mascot{grid-column:2;grid-row:1 / 3;width:100%;height:150px}
 .brand-specimen .specimen-caption{grid-column:1 / -1}
 .product-map{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .home-shell .hero{grid-template-columns:1fr;min-height:0}
 .home-shell .hero h1{font-size:clamp(30px,5.2vw,48px)}
 .home-shell .hero-art{width:min(480px,100%);margin-inline:auto}
 .home-shell .hero-art .mascot{max-height:420px}
 .survey-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:12px;margin-top:12px}
 .survey-part-panel,.survey-part-panel[data-part]{padding:0;overflow:visible!important}
 .chapter-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .chapter-list li{min-width:0;font-size:12px;padding:8px 4px;gap:6px;justify-content:center}
 .chapter-number{flex-shrink:0}
 .question-content{padding-bottom:0}
 .qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 :root{--page-gutter:16px}
 .topbar{gap:12px}.status-pill{font-size:9px}
 .home-shell .hero h1{font-size:clamp(28px,7vw,38px);letter-spacing:-.035em}
 .survey-bubble{font-size:12px;line-height:1.7}
 .home-products strong{font-size:15px;overflow-wrap:anywhere}
 .home-products span{font-size:13px}
 .hero-actions>*{width:100%;font-size:15px}
 .brand-intro{grid-template-columns:1fr;padding-block:32px}
 .brand-intro h1{font-size:clamp(28px,7vw,38px)}
 .brand-intro>img{height:clamp(200px,65vw,300px)}
 .product-map,.product-features{grid-template-columns:1fr}
 .product-map-card{gap:10px}
 .product-map-card strong{font-size:20px}
 .product-detail-heading{align-items:flex-start}
 .product-role{margin-left:0}
 .brand-header img{width:min(170px,52vw)}
 .brand-back{min-height:44px;display:flex;align-items:center}
 .survey-header{display:grid;grid-template-columns:1fr;gap:12px;padding:12px 16px;min-height:0}
 .survey-brand img{width:160px}
 .survey-progress-meta{width:100%;gap:7px 12px}
 .question-counter{font-size:12px}.percent{font-size:16px}
 .progress-node{height:5px}
 .survey-layout{width:calc(100% - 28px);margin-top:10px;margin-bottom:28px;gap:10px}
 .chapter-list li{font-size:11px;gap:4px;padding:6px 2px}
 .chapter-number{width:20px;height:20px;font-size:10px}
 .question-viewport .question-frame{padding:22px 18px}
 .question-title{font-size:clamp(21px,5.3vw,26px);margin-bottom:20px}
 .question-num{margin-bottom:18px}
 .options{grid-template-columns:1fr;gap:10px}
 .question-viewport .option{padding:16px 14px;font-size:16px}
 .question-viewport .nav-row{margin-top:24px}
 .nav-row .primary,.nav-row .secondary{font-size:14px;padding:12px 16px}
 .brand-specimen img.specimen-mascot{height:130px}
 .contact-seal{margin-block:20px}
 .text-area{min-height:180px}
 .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-top,.admin-actions{flex-wrap:wrap;gap:16px}
}
@media(max-width:360px){
 .home-products,.qr-grid{grid-template-columns:1fr}
 .chapter-list li{flex-direction:column;font-size:11px;gap:3px}
 .question-viewport .question-frame{padding:18px 14px}
 .question-side-art.brand-specimen{grid-template-columns:minmax(0,1.4fr) minmax(70px,1fr);padding:12px}
 .specimen-bubble{padding:8px}
}
@media(max-width:480px){
 .qr-grid{grid-template-columns:1fr}
 .qr-card{text-align:center}
 .community-qr{aspect-ratio:auto;min-height:154px}
}
@media(max-height:540px) and (min-width:601px){
 .survey-header{min-height:0;padding-block:10px}
 .survey-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);margin:8px auto 25px;gap:8px}
 .survey-part-panel,.survey-part-panel[data-part]{padding:0;display:block;overflow:visible!important}
 .survey-part-panel>.part-kicker,.survey-part-panel>strong,.survey-part-panel>p,.survey-part-panel>.guide-card{display:none}
 .chapter-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 .chapter-list li{padding:4px 8px;font-size:12px}
 .question-viewport .question-frame{padding:20px 24px}
 .question-title{font-size:24px}
 .required-dialog img{height:70px}
}

/* Compact phone questionnaire only; desktop and other pages stay unchanged. */
@media(max-width:600px){
 .survey-screen .survey-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
 .survey-screen .survey-brand img{width:130px}
 .survey-screen .survey-progress-meta{width:145px;gap:6px 8px}
 .survey-screen .question-counter{font-size:10px}
 .survey-screen .percent{font-size:14px}
 .survey-screen .progress-nodes{gap:3px}
 .survey-screen .progress-node{height:4px}
 .survey-screen .survey-layout{margin:8px auto 22px;gap:8px}
 .survey-screen .chapter-list li{flex-direction:row;font-size:10px;padding:4px 1px;gap:3px}
 .survey-screen .chapter-number{width:17px;height:17px;font-size:9px}
 .survey-screen .question-viewport .question-frame{padding:16px 14px}
 .survey-screen .question-num{font-size:10px;gap:8px;margin-bottom:10px;padding-bottom:7px}
 .survey-screen .question-num:before{padding:4px 8px;font-size:9px}
 .survey-screen .question-title{font-size:clamp(18px,4.7vw,20px);line-height:1.4;margin-bottom:12px;letter-spacing:-.02em}
 .survey-screen .question-type{font-size:11px;line-height:1.3;margin-top:5px}
 .survey-screen .options{gap:7px}
 .survey-screen .option{min-height:44px;padding:10px 12px;font-size:14px;line-height:1.4;border-radius:10px}
 .survey-screen .check{width:18px;height:18px;font-size:11px;margin-left:6px}
 .survey-screen .options:has(>:nth-child(8)){grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .survey-screen .options:has(>:nth-child(8)) .option{padding:8px;font-size:13px}
 .survey-screen .question-content.with-side-art{gap:8px}
 .survey-screen .question-side-art.brand-specimen{grid-template-columns:minmax(0,1fr) 72px;gap:4px 10px;padding:8px 12px;border-radius:12px}
 .survey-screen .brand-specimen .specimen-bubble{font-size:10px;padding:4px 6px;line-height:1.4}
 .survey-screen .brand-specimen .specimen-logo{padding:4px 0}
 .survey-screen .brand-specimen .specimen-logo img{width:min(185px,100%);height:auto;margin:auto}
 .survey-screen .brand-specimen img.specimen-mascot{height:76px}
 .survey-screen .specimen-caption{display:none}
 .survey-screen .question-viewport .nav-row{margin-top:auto;padding-top:12px;gap:10px}
 .survey-screen .question-content{padding-bottom:12px}
 .survey-screen .nav-row button{min-height:44px;padding:10px 16px;font-size:13px}
 .survey-screen .contact-label{margin:4px 0 8px;font-size:13px}
 .survey-screen .contact-input{padding:13px 14px;font-size:16px}
 .survey-screen .contact-note{font-size:11px;margin-top:10px}
 .survey-screen .contact-seal{margin:18px 0;font-size:12px;gap:12px}
 .survey-screen .contact-seal img{height:70px;width:55px}
 .survey-screen .text-area{min-height:130px;height:clamp(130px,24dvh,220px);font-size:16px}
 .survey-screen .matrix-note{font-size:11px;margin:0 0 8px;line-height:1.4}
 .survey-screen .matrix-note:after{font-size:10px;margin-top:3px}
 .survey-screen .matrix-table th,.survey-screen .matrix-table td{padding:4px}
 .survey-screen .matrix-table th{font-size:11px}
 .survey-screen .matrix-choice{min-height:44px}
}
@media(max-width:600px) and (max-height:740px){
 .survey-screen .question-num{display:none}
}
@media(max-width:600px) and (max-height:650px){
 .survey-screen .survey-part-panel{display:none}
 .survey-screen .survey-layout{grid-template-rows:minmax(0,1fr);margin-top:6px;margin-bottom:18px}
 .survey-screen .question-viewport .question-frame{padding:10px 12px}
 .survey-screen .question-num{margin-bottom:7px;padding-bottom:5px}
 .survey-screen .question-title{font-size:18px;margin-bottom:9px}
 .survey-screen .question-content{padding-bottom:8px}
 .survey-screen .question-viewport .nav-row{padding-top:8px}
 .survey-screen .brand-specimen img.specimen-mascot{height:62px}
 .survey-screen .question-side-art.brand-specimen{padding:6px 10px}
 .survey-screen .options:has(>:nth-child(6)){grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .survey-screen .options:has(>:nth-child(6)) .option{padding:6px;font-size:13px}
 .survey-screen .matrix-table th,.survey-screen .matrix-table td{padding:2px}
}
/* ===== 手机端点按区域加大（2026-10-25 七种机型检查）：外观不变，用透明外扩加大可点范围 ≥ 44px ===== */
@media(max-width:600px){
  .survey-home{position:relative}
  .survey-home::after{content:"";position:absolute;inset:-8px}
}
