*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;touch-action:manipulation}html,body{margin:0;min-height:100%;height:100%;font-family:HarmonyOS Sans SC;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{background:#232329;overflow-x:hidden}#app{min-height:100vh;min-height:100dvh;height:100%;display:flex;justify-content:center;align-items:stretch}.phone-frame{position:relative;width:min(100vw,430px);min-height:100vh;min-height:100dvh;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;overflow:hidden;padding:max(10px,env(safe-area-inset-top,0px)) 0 max(10px,env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;background:linear-gradient(180deg,#efc3de,#c6eef3)}.bg-main{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;pointer-events:none}.heart{position:absolute;top:34px;right:-16px;width:138px;opacity:.9}.hero{position:relative;z-index:2;text-align:center;padding-top:4px;flex-shrink:0}.hero--no-subtitle{margin-bottom:18px}.title-row{display:flex;align-items:center;justify-content:center;gap:10px}.title-row img{height:26px}.title-row .title-svg{height:30px}.hero-subtitle{margin:10px 0 15px;color:#1e1e1e;font-size:13px}.card-stack{position:relative;z-index:2;width:100%;margin-top:8px;flex:1;min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.question-card{width:100%;min-height:min(480px,calc(100dvh - 200px));padding:0;background:url(../img/card_bg.png) no-repeat center;background-size:100% 100%;display:flex;justify-content:center}.question-card .card-content{position:relative;z-index:1;width:270px;padding:75px 8px 0 20px}.consent-text{margin:0 0 12px;color:#2a2235;font-size:clamp(15px,4.2vw,20px);line-height:1.55;font-weight:700;min-height:0}.question-card h2{margin:0 0 10px;color:#f2009d;font-size:20px;line-height:1.05;font-style:italic;letter-spacing:.2px}.prompt{margin:0 0 14px;color:#222;font-size:14px;height:38px;font-weight:700}.option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 12px}.option-card{border:0;margin:0;padding:0;background:transparent;cursor:pointer;color:#222;font-size:14px;font-weight:700;text-align:center}.option-card img{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:12px;border:2px solid transparent;display:block;margin-bottom:4px}.option-card.is-selected img{border-color:#f2009d}.loading-content{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:136px}.loading-content h2{margin:0;align-self:flex-start;color:#f2009d;font-size:14px;line-height:1.05;font-style:italic}.loading-content--center{width:100%;padding-top:0;min-height:430px;justify-content:center;transform:translateY(-24px)}.loading-content p{margin:0 0 20px;color:#1e1e1e;font-size:14px;font-weight:700}.loading-content--center .loading-line-1{margin-bottom:36px}.loading-content--center .loading-line-2{margin-bottom:15px}.loading-content--final{width:100%;min-height:430px;justify-content:center;gap:0;padding-top:0}.loading-content--final h2{position:absolute;top:0;left:0}.loading-final-text{margin:0 0 15px;font-size:14px;color:#1e1e1e;font-weight:700}.loading-track{width:min(234px,100%);height:16px;border-radius:999px;background:#ffffffb3;overflow:hidden;margin-top:0}.loading-fill{width:0%;height:100%;border-radius:999px;background:linear-gradient(90deg,#f2009d,#ff60cf);transition:width .06s linear}.phone-frame>.result-panel{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.result-panel{position:relative;z-index:2;margin-top:12px;padding:0 24px 20px;color:#1e1e1e}.result-panel h3{margin:0 0 19px;font-size:20px;line-height:1.3}.result-panel .meta{margin:0 0 35px;font-size:15px;line-height:1.55;font-weight:600}.result-panel .lead{margin:0 0 14px;font-size:18px;line-height:1.45;font-weight:500}.result-panel ol{margin:32px 0 0;padding-left:20px;color:#555}.result-panel li{font-size:16px;line-height:1.55;margin-bottom:8px}.contact-row{margin-top:18px;display:flex;align-items:center;gap:14px}.contact-row strong{font-size:22px}.contact-placeholder{width:62px;height:62px;border-radius:16px;background:#b4b4b499;cursor:pointer}.phone-frame>footer.actions{flex-shrink:0;margin-top:8px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px))}.actions{position:relative;z-index:2;display:flex;gap:16px;align-items:center;justify-content:center;margin-top:12px}.actions button{width:132px;height:44px;border:0;border-radius:999px;background:#1e1e1e;color:#fff;font-size:16px;font-weight:500;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.actions--consent{margin-top:16px}.actions--consent button{height:46px;font-size:16px}.question-card.question-card--consent{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.question-card--consent .card-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;width:100%;max-width:290px;margin-left:auto;margin-right:auto;padding:clamp(130px,22vh,180px) 12px 0 16px}.question-card--consent .actions--consent{position:static;left:auto;right:auto;bottom:auto;margin-top:auto;padding:12px 12px 8px;flex-shrink:0}.actions button:active{transform:translateY(1px);opacity:.95}@media (max-width: 480px){.phone-frame{width:100vw;padding:max(8px,env(safe-area-inset-top,0px)) 0 max(8px,env(safe-area-inset-bottom,0px))}.title-row .title-svg{height:clamp(18px,5vw,20px)}.title-row img:not(.title-svg){height:clamp(20px,5.5vw,26px)}.heart{width:min(126px,28vw);top:22px}.question-card:not(.question-card--consent){min-height:min(480px,calc(100dvh - 160px));padding:0}.question-card.question-card--consent{min-height:0}.question-card h2{font-size:14px}.consent-text{font-size:clamp(14px,4vw,17px);line-height:1.5;margin-bottom:10px;min-height:0}.prompt{font-size:12px;margin-bottom:12px}.option-card{font-size:12px}.loading-content{padding-top:100px}.loading-content h2{font-size:14px}.loading-content--center{min-height:390px;transform:translateY(-20px)}.loading-content--final{min-height:390px}.loading-track{width:min(234px,100%);height:12px}.result-panel h3{font-size:20px}.result-panel .meta{font-size:15px}.result-panel .lead{font-size:18px}.result-panel li{font-size:13px}.contact-row strong{font-size:16px}.actions button{width:134px;height:44px;font-size:16px}.actions--consent button{width:132px;height:42px;font-size:16px}.question-card--consent .actions--consent{padding:10px 8px 6px}}@media (max-height: 700px){.hero-subtitle{margin:6px 0 8px;font-size:12px}.heart{width:min(100px,26vw);top:16px;right:-12px}.title-row{gap:6px}.question-card:not(.question-card--consent) .card-content{padding-top:clamp(32px,8vh,60px)}}
/* ================= PC 版（≥900px） ================= */
.pc-bg,.pc-legal,.pc-steps{display:none}
@media (min-width:900px){
body{background:#241d2b;overflow-x:hidden}
#app{position:relative;min-height:100vh;min-height:100dvh;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 32px}
.pc-bg{display:block;position:fixed;inset:-10%;z-index:0;background:url(../img/bg.png) center/cover no-repeat;filter:blur(52px) saturate(1.35) brightness(1.06);transform:scale(1.12);pointer-events:none}
#app::before{content:"";position:fixed;inset:0;z-index:1;pointer-events:none;background:radial-gradient(120% 90% at 50% 26%,rgba(255,255,255,.32),rgba(44,24,52,.40) 60%,rgba(28,17,36,.66))}
.phone-frame{position:relative;z-index:2;width:min(100%,1040px);height:min(760px,calc(100dvh - 150px));min-height:520px;max-height:none;padding:44px 64px 40px;border-radius:34px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.975),rgba(255,255,255,.925));box-shadow:0 50px 110px -40px rgba(70,12,58,.65),0 0 0 1px rgba(255,255,255,.9) inset,0 0 0 2px rgba(242,0,157,.22),0 0 0 12px rgba(255,255,255,.10);backdrop-filter:blur(14px);justify-content:flex-start}
.phone-frame::before{content:"";position:absolute;left:64px;right:64px;top:0;height:3px;background:linear-gradient(90deg,transparent,#f2009d,transparent);opacity:.55}
.bg-main{display:none}
.heart{width:190px;top:-26px;right:-30px;opacity:.5}
.hero{padding-top:0;text-align:center;order:1}
.pc-steps{display:flex;order:2;align-items:center;justify-content:center;gap:8px;margin:0 0 26px}
.pc-steps .dot{display:block;width:26px;height:4px;border-radius:2px;background:rgba(242,0,157,.18);transition:background .2s ease}
.pc-steps .dot.on{background:#f2009d}
.card-stack{order:3}
.phone-frame>footer.actions{order:4}
.phone-frame>.result-panel{order:3}
.title-row{gap:18px}
.title-row img{height:34px;width:auto}
.title-row .title-svg{height:52px}
.hero-subtitle{margin:18px 0 26px;font-size:17px;letter-spacing:.5px;color:#3b3047}
.hero--no-subtitle{margin-bottom:34px}
.card-stack{margin-top:0;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;justify-content:center;scrollbar-width:thin}
.question-card{width:100%;min-height:0;margin:auto 0;padding:0;background:none;display:block}
.question-card .card-content{width:100%;max-width:820px;margin:0 auto;padding:0 8px}
.question-card.question-card--consent{margin:auto 0;display:flex;flex-direction:column;justify-content:center}
.question-card--consent .card-content{flex:0 0 auto;overflow:visible;max-width:820px;width:100%;margin:0 auto;padding:0 8px}
.question-card--consent .actions--consent{margin-top:52px;padding:0;justify-content:center}
.consent-text{font-size:clamp(24px,1.8vw,30px);line-height:1.7;letter-spacing:.3px;text-align:center;margin:0 auto;max-width:770px;color:#2a2235;font-weight:700}
.prompt{font-size:clamp(20px,1.5vw,24px);height:auto;margin:0 0 30px;text-align:center;letter-spacing:.5px}
.option-grid{grid-template-columns:repeat(4,1fr);gap:22px;max-width:820px;margin:0 auto}
.option-card{font-size:16px;transition:transform .18s ease}
.option-card img{border-radius:18px;border-width:3px;margin-bottom:10px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.option-card:hover img{border-color:#f2009d;transform:translateY(-4px)}
.option-card.is-selected img{border-color:#f2009d;box-shadow:0 12px 28px -12px rgba(242,0,157,.75)}
.loading-content{padding-top:0;justify-content:center;min-height:300px}
.loading-content--center{min-height:300px;transform:none}
.loading-content--final{min-height:300px}
.loading-content p{font-size:20px}
.loading-content h2{font-size:22px;align-self:center}
.loading-track{width:min(420px,100%);height:14px}
.phone-frame>.result-panel{flex:1;min-height:0;overflow-y:auto;align-self:center;width:100%;max-width:860px;margin:0;padding:4px 8px 8px}
.result-panel h3{font-size:32px;margin:0 0 22px;text-align:center;color:#c5007f}
.result-panel .meta{font-size:19px;margin:0 0 26px;text-align:center}
.result-panel .lead{font-size:18px;line-height:1.6;margin:0 0 12px}
.result-panel ol{margin:26px 0 0;padding-left:24px}
.result-panel li{font-size:15px;line-height:1.75;margin-bottom:10px;color:#4a4152}
.contact-row{margin-top:26px;justify-content:center;gap:18px}
.contact-row strong{font-size:22px}
.contact-placeholder{width:84px;height:84px;border-radius:18px;transition:transform .18s ease,box-shadow .18s ease}
.contact-placeholder:hover{transform:translateY(-3px);box-shadow:0 16px 30px -14px rgba(0,0,0,.45)}
.actions{gap:22px;margin-top:0}
.actions button{width:200px;height:56px;font-size:18px;font-weight:600;letter-spacing:1px;background:#1b1b1b;box-shadow:0 14px 28px -14px rgba(0,0,0,.6);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.actions button:hover{background:#2a2a2a;transform:translateY(-2px);box-shadow:0 18px 34px -14px rgba(0,0,0,.55),0 0 0 3px rgba(242,0,157,.22)}
.actions button:active{transform:translateY(0);opacity:.94}
.actions--consent{margin-top:44px}
.actions--consent button{height:54px;font-size:17px}
.phone-frame>footer.actions{margin-top:28px;padding-bottom:0}
.pc-legal{display:flex;position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:3;align-items:center;gap:14px;margin-top:0;font-size:12px;color:rgba(255,255,255,.74);letter-spacing:.4px}
.pc-legal i{width:1px;height:11px;background:rgba(255,255,255,.38);display:inline-block}
.pc-legal .pc-legal-18{display:inline-flex;align-items:center;justify-content:center;width:26px;height:20px;border-radius:5px;background:rgba(242,0,157,.92);color:#fff;font-size:11px;font-weight:700;letter-spacing:0}
}
@media (min-width:900px) and (max-height:780px){
#app{padding:28px 24px}
.phone-frame{height:calc(100dvh - 88px);padding:30px 52px 26px}
.hero-subtitle{margin:12px 0 18px;font-size:15px}
.title-row .title-svg{height:40px}
.title-row img{height:26px}
.consent-text{font-size:23px;line-height:1.6}
.result-panel h3{font-size:26px}
.actions--consent{margin-top:34px}
.pc-legal{margin-top:12px;font-size:11px}
}
