/* Change ces variables pour personnaliser tout le thème. */
:root{
  --page:#f5f3ff;
  --text:#202443;
  --text-soft:#71758c;
  --primary:#5b4ce6;
  --primary-hover:#4b3bd5;
  --on-primary:#fff;
  --primary-soft:#eae6ff;
  --primary-pale:#f2efff;
  --primary-end:#a384f7;
  --surface:#fff;
  --border:#e5e3ef;
  --progress-track:#e4e1f5;
  --glow-one:#ddd8ff;
  --glow-two:#ffe3dd;
  --focus:#a39aff;
  --gold:#edac3d;
  --radius-card:18px;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--page);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:auto}
body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;overflow-x:hidden;-webkit-tap-highlight-color:transparent}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
#question-title:focus{outline:none}
.glow{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(35px)}
.glow-one{width:420px;height:420px;top:-180px;right:-130px;background:var(--glow-one)}
.glow-two{width:340px;height:340px;bottom:-180px;left:-120px;background:var(--glow-two)}
.app{width:min(100%,1120px);min-height:100vh;min-height:100dvh;margin:auto;padding:26px 32px 30px;display:flex;flex-direction:column}
.topbar,.progress-head,.bottom-bar{display:flex;align-items:center;justify-content:space-between}
.topbar{gap:18px;margin-bottom:28px}
.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:750;letter-spacing:-.04em}
.brand strong{color:var(--primary)}
.brand-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--primary);color:var(--on-primary);font-size:23px;box-shadow:0 8px 18px #2b217b26;transform:rotate(-8deg)}
.companion{display:flex;align-items:center;gap:10px;max-width:340px;margin-left:auto}
.companion-avatar{position:relative;display:block;flex:none;width:42px;height:42px;border:2px solid var(--primary);border-radius:15px 15px 13px 13px;background:var(--primary-soft);box-shadow:0 6px 14px #30256717;animation:float 3.6s ease-in-out infinite}
.companion-avatar:before,.companion-avatar:after{content:"";position:absolute;top:-5px;width:10px;height:9px;border:2px solid var(--primary);border-bottom:0;border-radius:7px 7px 0 0;background:var(--primary-soft)}
.companion-avatar:before{left:6px}.companion-avatar:after{right:6px}
.companion-avatar i{position:absolute;top:15px;width:5px;height:7px;border-radius:50%;background:var(--primary)}
.companion-avatar i:first-child{left:11px}.companion-avatar i:nth-child(2){right:11px}
.companion-avatar b{position:absolute;left:17px;top:25px;width:7px;height:4px;border:2px solid var(--primary);border-top:0;border-radius:0 0 8px 8px}
.companion-speech{position:relative;max-width:260px;padding:9px 13px;border:1px solid var(--border);border-radius:13px;background:var(--surface);color:var(--text-soft);font-size:12px;font-weight:700;line-height:1.3;box-shadow:0 4px 12px #3025670b}
.companion-speech:before{content:"";position:absolute;left:-5px;top:17px;width:8px;height:8px;border-left:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);transform:rotate(45deg)}
.progress-head{font-size:12px;font-weight:850;letter-spacing:.12em;color:var(--primary)}
#progress-label{letter-spacing:0;color:var(--text-soft)}
.progress{height:8px;margin-top:12px;border-radius:99px;background:var(--progress-track);overflow:hidden}
.progress-fill{height:100%;width:11.111%;border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--primary-end));transition:width .55s cubic-bezier(.16,1,.3,1)}
.checkpoint-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}
.checkpoint{display:flex;align-items:center;gap:7px;min-width:0;color:var(--text-soft);font-size:11px;font-weight:800;letter-spacing:.01em}
.checkpoint:nth-child(2){justify-content:center}.checkpoint:nth-child(3){justify-content:flex-end}
.checkpoint-icon{display:grid;place-items:center;flex:none;width:20px;height:20px;border:1.5px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text-soft);font-size:9px;transition:background .35s,border-color .35s,color .35s,transform .35s}
.checkpoint.active{color:var(--primary)}.checkpoint.active .checkpoint-icon{border-color:var(--primary);color:var(--primary);transform:scale(1.1)}
.checkpoint.done .checkpoint-icon{border-color:var(--primary);background:var(--primary);color:var(--on-primary)}
.stage{flex:1;display:grid;justify-items:center;align-items:start;padding:clamp(32px,5vh,60px) 0 26px;min-height:0}
.question-panel,.finish-panel{width:min(100%,790px)}
.finish-panel{animation:finish-in .35s ease-out both}
@keyframes finish-in{from{opacity:0}to{opacity:1}}
.mission-tag{display:inline-flex;align-items:center;gap:8px;background:var(--primary-soft);color:var(--primary);padding:8px 12px;border-radius:9px;font-size:11px;font-weight:850;letter-spacing:.1em}
.question-panel h1,.finish-panel h1{font-size:clamp(34px,5.4vw,61px);letter-spacing:-.065em;line-height:1.09;margin:21px 0 13px}
.question-panel .subtitle,.finish-panel>p:not(.eyebrow):not(.privacy):not(.send-status){font-size:16px;line-height:1.6;color:var(--text-soft);margin:0 0 30px;max-width:650px}
.story-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr);align-items:center;gap:36px}
.story-copy h1{font-size:clamp(32px,4.5vw,54px)}
.story-copy .subtitle{margin-bottom:21px}
.story-points{list-style:none;display:grid;gap:12px;margin:0;padding:0}
.story-points li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:750;color:var(--text)}
.story-points li span{display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-size:13px}
.story-visual{position:relative;min-height:320px;border-radius:28px;background:linear-gradient(145deg,var(--primary-soft),var(--primary-pale));overflow:hidden;transition:transform .55s cubic-bezier(.16,1,.3,1),box-shadow .55s}
.question-panel.intro-animate .story-copy .mission-tag{animation:story-copy-in .46s .06s both}
.question-panel.intro-animate .story-copy h1{animation:story-copy-in .58s .12s both}
.question-panel.intro-animate .story-copy .subtitle{animation:story-copy-in .58s .2s both}
.question-panel.intro-animate .story-points li{animation:story-copy-in .52s .29s both}
.question-panel.intro-animate .story-points li:nth-child(2){animation-delay:.37s}
.question-panel.intro-animate .story-visual{animation:story-visual-in .68s .08s both}
.question-panel.intro-animate .course .visual-paper{animation:paper-in .72s .18s cubic-bezier(.16,1,.3,1) both}
.question-panel.intro-animate .course .visual-paper i{animation:line-draw .54s .48s both;transform-origin:left}
.question-panel.intro-animate .course .visual-paper i:nth-of-type(2){animation-delay:.58s}
.question-panel.intro-animate .course .visual-paper i:nth-of-type(3){animation-delay:.68s}
.question-panel.intro-animate .course .visual-sticker{animation:sticker-in .58s .65s cubic-bezier(.16,1.35,.3,1) both}
.question-panel.intro-animate .conversation .visual-bubble{animation:bubble-in .53s .25s cubic-bezier(.16,1.25,.3,1) both}
.question-panel.intro-animate .conversation .visual-bubble:nth-child(2){animation-delay:.46s;--bubble-x:35px}
.question-panel.intro-animate .conversation .visual-bubble:nth-child(3){animation-delay:.67s}
.question-panel.intro-animate .report .visual-report span{animation:report-in .5s .28s cubic-bezier(.16,1,.3,1) both}
.question-panel.intro-animate .report .visual-report span:nth-child(2){animation-delay:.43s}
.question-panel.intro-animate .report .visual-report span:nth-child(3){animation-delay:.58s}
.question-panel.intro-animate .report .visual-report b{animation:report-icon-in .45s .67s cubic-bezier(.16,1.3,.3,1) both}
.question-panel.intro-animate .report .visual-report span:nth-child(2) b{animation-delay:.82s}
.question-panel.intro-animate .report .visual-report span:nth-child(3) b{animation-delay:.97s}
@keyframes story-copy-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes story-visual-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes paper-in{from{opacity:0;transform:translateY(15px) rotate(-9deg)}to{opacity:1;transform:translateY(0) rotate(-7deg)}}
@keyframes line-draw{from{opacity:0;transform:scaleX(.05)}to{opacity:1;transform:scaleX(1)}}
@keyframes sticker-in{from{opacity:0;transform:translateY(12px) rotate(3deg)}to{opacity:1;transform:translateY(0) rotate(5deg)}}
@keyframes bubble-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes report-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes report-icon-in{from{opacity:0;transform:scale(.75)}to{opacity:1;transform:scale(1)}}
@media(hover:hover){.story-visual:hover{box-shadow:0 18px 38px #30256712}}
.story-visual:before{content:"";position:absolute;width:220px;height:220px;border:1px solid var(--primary-end);border-radius:50%;opacity:.35;top:-90px;right:-90px;box-shadow:0 0 0 48px var(--primary-soft)}
.visual-paper{position:absolute;left:18%;top:12%;width:61%;height:71%;padding:23px;border-radius:15px;background:var(--surface);box-shadow:0 22px 38px #30256720;transform:rotate(-7deg);transition:transform .45s cubic-bezier(.16,1,.3,1)}
.visual-paper span{display:block;color:var(--primary);font-size:12px;font-weight:900;letter-spacing:.1em;margin-bottom:22px}
.visual-paper i{display:block;height:10px;margin:13px 0;border-radius:20px;background:var(--primary-soft)}
.visual-paper i:nth-of-type(2){width:76%}.visual-paper i:nth-of-type(3){width:58%}
.visual-paper b{position:absolute;right:18px;bottom:15px;color:var(--gold);font-size:35px}
.visual-sticker{position:absolute;right:7%;bottom:8%;padding:13px 16px;border-radius:12px;background:var(--primary);color:var(--on-primary);font-size:13px;font-weight:850;box-shadow:0 10px 20px #30256726;transform:rotate(5deg)}
.visual-bubble{position:absolute;left:10%;right:15%;top:17%;padding:15px 17px;border-radius:18px 18px 18px 5px;background:var(--surface);font-size:15px;font-weight:750;box-shadow:0 8px 20px #30256712;transition:transform .45s cubic-bezier(.16,1,.3,1)}
.visual-bubble span{float:right;color:var(--gold)}
.bubble-student{left:25%;right:9%;top:43%;border-radius:18px 18px 5px 18px;background:var(--primary);color:var(--on-primary)}
.visual-bubble.small{top:68%;right:25%;font-size:13px}
.visual-report{position:absolute;inset:14% 11%;display:grid;align-content:center;gap:12px}
.visual-report span{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-radius:13px;background:var(--surface);box-shadow:0 8px 20px #30256712;font-size:14px;font-weight:800;transition:transform .45s cubic-bezier(.16,1,.3,1)}
.visual-report b{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--primary-soft);color:var(--primary)}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.choice{position:relative;display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-height:93px;padding:18px 20px;border:1.5px solid var(--border);border-radius:var(--radius-card);background:var(--surface);color:var(--text);box-shadow:0 7px 20px #27255908;transition:transform .22s,border-color .22s,box-shadow .22s,background .22s}
.choice:hover{border-color:var(--primary-end);box-shadow:0 8px 22px #4332b214}
.choice:active{transform:scale(.99)}
.choice[aria-pressed=true]{border-color:var(--primary);background:var(--primary-pale);box-shadow:0 0 0 3px #6255e819}
.choice-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:13px;background:var(--primary-pale);font-size:22px}
.choice-label{flex:1;font-size:15px;line-height:1.35;font-weight:750}
.choice-check{display:grid;place-items:center;flex:none;width:22px;height:22px;border:1.5px solid var(--border);border-radius:50%;font-size:12px;color:transparent}
.choice[aria-pressed=true] .choice-check{border-color:var(--primary);background:var(--primary);color:var(--on-primary)}
.choice-spark{position:absolute;left:50%;top:50%;z-index:2;pointer-events:none;color:var(--gold);font-size:15px;animation:spark .6s ease-out forwards}
.range-card{background:var(--surface);border:1.5px solid var(--border);border-radius:22px;padding:28px 30px;box-shadow:0 7px 20px #27255908}
.range-number{display:flex;align-items:baseline;justify-content:center;gap:6px;color:var(--primary)}
.range-number output{font-size:70px;line-height:1;font-weight:850;letter-spacing:-.08em;min-width:2.5ch;text-align:right;font-variant-numeric:tabular-nums}
.range-number span{font-size:21px;font-weight:800}
.range-label{text-align:center;color:var(--text-soft);margin:10px 0 20px;font-weight:700}
.magnet-slider{--position:50%;padding:2px 0 4px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.magnet-slider.dragging{cursor:grabbing}
.magnet-track{position:relative;height:54px;margin:0 17px}
.magnet-rail,.magnet-fill{position:absolute;left:0;top:50%;height:11px;border-radius:99px;transform:translateY(-50%)}
.magnet-rail{right:0;background:var(--progress-track)}
.magnet-fill{width:var(--position);background:linear-gradient(90deg,var(--primary),var(--primary-end));transition:width .46s cubic-bezier(.2,1.2,.35,1)}
.magnet-stop{position:absolute;z-index:1;left:var(--stop);top:50%;width:15px;height:15px;border:3px solid var(--progress-track);border-radius:50%;background:var(--surface);transform:translate(-50%,-50%);transition:transform .25s,border-color .25s,background .25s}
.magnet-stop.active{border-color:var(--primary);background:var(--primary-soft);transform:translate(-50%,-50%) scale(1.16)}
.magnet-thumb{position:absolute;z-index:2;left:var(--position);top:50%;width:38px;height:38px;border:6px solid var(--surface);border-radius:50%;background:var(--primary);box-shadow:0 3px 16px #5548c678,0 0 0 4px var(--primary-soft);transform:translate(-50%,-50%);transition:left .46s cubic-bezier(.2,1.45,.35,1),box-shadow .2s,scale .2s}
.magnet-slider.dragging .magnet-fill,.magnet-slider.dragging .magnet-thumb{transition:none}
.magnet-slider.dragging .magnet-thumb{scale:1.16;box-shadow:0 5px 20px #5548c69a,0 0 0 10px var(--primary-soft)}
.magnet-numbers{display:flex;justify-content:space-between;margin:1px 17px 0;color:var(--text-soft);font-size:12px;font-weight:800}
.range-ends{display:flex;justify-content:space-between;margin-top:12px;color:var(--text-soft);font-size:12px;font-weight:650}
textarea{width:100%;min-height:190px;resize:vertical;border:1.5px solid var(--border);border-radius:var(--radius-card);background:var(--surface);padding:22px;color:var(--text);font-size:16px;line-height:1.55;box-shadow:0 7px 20px #27255908}
textarea:focus{border-color:var(--primary);outline:3px solid var(--primary-soft)}
textarea::placeholder{color:var(--text-soft)}
.bottom-bar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:15px;padding-top:20px;border-top:1px solid var(--border)}
.bottom-bar .back{justify-self:start}
.bottom-bar .next{justify-self:end}
.back,.text-button{border:0;background:transparent;color:var(--text-soft);font-weight:750;padding:13px 4px}
.back:hover,.text-button:hover{color:var(--primary)}
.back:disabled{opacity:.35;cursor:default}
.footer-note{color:var(--text-soft);font-size:12px}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:0;border-radius:13px;padding:15px 23px;background:var(--primary);color:var(--on-primary);font-weight:800;box-shadow:0 8px 19px #5b4ce62b;transition:background-color .2s ease,box-shadow .2s ease,transform .18s ease}
.primary:hover:not(:disabled){background:var(--primary-hover);box-shadow:0 10px 22px #5b4ce63b}
.primary:active:not(:disabled){transform:scale(.98);box-shadow:0 5px 12px #5b4ce62b}
.next span{display:inline-block;transition:transform .2s ease}
.next:hover:not(:disabled) span{transform:translateX(3px)}
.primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.next{min-width:145px}
.finish-panel{text-align:center}
.trophy{display:grid;place-items:center;width:100px;height:100px;margin:0 auto 24px;border-radius:27px;background:#fff2d8;color:var(--gold);font-size:62px;transform:rotate(-8deg);box-shadow:0 15px 33px #d7a74c28}
.finish-panel h1{max-width:670px;margin-left:auto;margin-right:auto}
.finish-panel>p:not(.eyebrow):not(.privacy):not(.send-status){margin-left:auto;margin-right:auto}
.finish-panel .submit-button{min-width:230px}
.send-consent{display:flex;align-items:flex-start;gap:11px;width:min(100%,540px);margin:0 auto 18px;padding:14px 16px;text-align:left;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);font-size:13px;font-weight:650;line-height:1.5}
.send-consent input{flex:none;width:19px;height:19px;margin:1px 0 0;accent-color:var(--primary)}
.send-consent a{color:var(--primary);text-underline-offset:3px}
.send-status{min-height:22px;margin:14px auto 8px;color:var(--text-soft);font-size:13px;font-weight:700}
.send-status[data-kind=success]{color:#257e53}
.send-status[data-kind=error]{color:#b94558}
.download-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--primary);padding:12px 17px;font-weight:800;transition:transform .2s,border-color .2s,box-shadow .2s}
.download-button:hover{border-color:var(--primary-end);box-shadow:0 8px 18px #30256712}
.download-button:active{transform:scale(.98)}
.eyebrow{font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--primary)}
.finish-panel .text-button{display:inline-block;margin:14px 9px 0}
.privacy{font-size:12px;color:var(--text-soft);margin-top:18px}
.privacy a,.privacy-link{color:var(--primary);font-weight:750;text-underline-offset:3px}
.privacy-link{align-self:center;margin-top:15px;font-size:12px}
.privacy a:focus-visible,.privacy-link:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:3px}
.notice-return{color:var(--primary);font-size:13px;font-weight:800;text-decoration:none}
.notice-return:hover{text-decoration:underline;text-underline-offset:3px}
.notice-page{width:min(100%,880px);margin:55px auto 40px}
.notice-page h1{font-size:clamp(40px,6vw,68px);letter-spacing:-.065em;line-height:1.05;margin:20px 0}
.notice-intro{max-width:730px;color:var(--text-soft);font-size:17px;line-height:1.65;margin:0 0 24px}
.notice-warning{border:1px solid #edac3d66;border-radius:12px;background:#fff7e7;color:#6e521e;padding:12px 16px;font-size:13px;font-weight:750}
.notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:26px}
.notice-card{padding:25px;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:0 7px 20px #27255908}
.notice-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--primary-pale);font-size:20px}
.notice-card h2{font-size:19px;letter-spacing:-.035em;margin:15px 0 8px}
.notice-card p{font-size:14px;line-height:1.65;color:var(--text-soft);margin:0}
.notice-card a{color:var(--primary);overflow-wrap:anywhere}
.notice-footnote{margin:28px 0;color:var(--text-soft);font-size:13px;line-height:1.6}
.page-wipe{position:fixed;inset:0;z-index:20;display:grid;place-items:center;visibility:hidden;pointer-events:none;background:linear-gradient(120deg,var(--primary),var(--primary-end));will-change:transform}
.page-wipe:before,.page-wipe:after{content:"";position:absolute;width:min(58vmin,500px);aspect-ratio:1;border:1px solid #ffffff3b;border-radius:50%}
.page-wipe:after{width:min(78vmin,700px);border-color:#ffffff20}
.page-wipe span{position:relative;color:var(--on-primary);font-size:clamp(75px,11vw,145px);line-height:1}
.page-wipe.covering,.page-wipe.revealing{visibility:visible}
.page-wipe.covering,.page-wipe.revealing{pointer-events:auto}
.page-wipe.covering{animation:wipe-cover .34s cubic-bezier(.65,0,.25,1) both}
.page-wipe.revealing{animation:wipe-reveal .42s cubic-bezier(.45,0,.2,1) both}
.page-wipe.reverse.covering{animation-name:wipe-cover-reverse}
.page-wipe.reverse.revealing{animation-name:wipe-reveal-reverse}
@keyframes wipe-cover{from{transform:translate3d(102%,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes wipe-reveal{from{transform:translate3d(0,0,0)}to{transform:translate3d(-102%,0,0)}}
@keyframes wipe-cover-reverse{from{transform:translate3d(-102%,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes wipe-reveal-reverse{from{transform:translate3d(0,0,0)}to{transform:translate3d(102%,0,0)}}
@keyframes float{50%{transform:translateY(-4px)}}
@keyframes spark{to{opacity:0;transform:translate(var(--x),var(--y)) scale(.25)}}
.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:10px;height:16px;border-radius:2px;animation:fall 2.5s ease-in forwards}
@keyframes fall{to{transform:translateY(110vh) rotate(660deg);opacity:0}}
@media(max-width:650px){
  .notice-page{margin:24px auto 30px}
  .notice-grid{grid-template-columns:1fr;gap:12px}
  .notice-card{padding:20px}
  .notice-intro{font-size:15px}
  .app{padding:calc(16px + env(safe-area-inset-top)) 18px calc(14px + env(safe-area-inset-bottom))}
  .topbar{flex-wrap:wrap;gap:10px;margin-bottom:22px}
  .brand{font-size:18px}
  .brand-icon{width:32px;height:32px;font-size:20px}
  .companion{order:3;width:100%;max-width:none;margin:0}
  .companion-avatar{width:33px;height:33px;border-radius:11px}
  .companion-avatar i{top:12px}.companion-avatar i:first-child{left:8px}.companion-avatar i:nth-child(2){right:8px}.companion-avatar b{left:13px;top:21px}
  .companion-speech{padding:7px 10px;font-size:11px;max-width:none}
  .companion-speech:before{top:12px}
  .checkpoint-row{margin-top:10px}
  .checkpoint{font-size:10px;gap:5px}
  .checkpoint-icon{width:18px;height:18px;font-size:10px}
  .progress{height:7px;margin-top:10px}
  .stage{padding:22px 0;align-items:start}
  .question-panel h1,.finish-panel h1{font-size:clamp(31px,9vw,48px)}
  .question-panel .subtitle{font-size:14px;margin-bottom:22px}
  .story-layout{grid-template-columns:1fr;gap:16px}
  .story-copy h1{font-size:clamp(30px,8.6vw,44px)}
  .story-copy .subtitle{margin-bottom:15px}
  .story-points{gap:7px}
  .story-points li{font-size:13px}
  .story-visual{min-height:190px;border-radius:20px}
  .visual-paper{top:8%;height:78%;padding:16px}
  .visual-paper span{margin-bottom:10px}
  .visual-paper i{height:7px;margin:9px 0}
  .visual-sticker{bottom:8%;font-size:11px;padding:9px 11px}
  .visual-bubble{padding:10px 12px;font-size:12px}
  .visual-bubble.small{font-size:11px}
  .visual-report{inset:7% 12%;gap:7px}
  .visual-report span{padding:8px 12px;font-size:12px}
  .visual-report b{width:23px;height:23px}
  .choice-grid{grid-template-columns:1fr;gap:10px}
  .choice{min-height:67px;padding:12px 14px;border-radius:14px}
  .choice-icon{width:40px;height:40px;font-size:20px}
  .choice-label{font-size:14px}
  .footer-note{display:none}
  .bottom-bar{display:flex;position:sticky;bottom:0;z-index:2;margin:0 -18px;padding:12px 18px max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,var(--page) 22%)}
  .back{min-width:44px;min-height:44px}
  .back span{display:none}
  .next{min-width:132px;min-height:48px}
  .range-card{padding:24px 21px}
  .range-number output{font-size:64px}
}
@media(max-width:380px){
  .app{padding-left:14px;padding-right:14px}
  .bottom-bar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .choice{min-height:62px}
  .question-panel h1{font-size:30px}
}
@media(max-height:680px) and (min-width:651px){
  .stage{padding:18px 0}
  .question-panel h1{font-size:clamp(30px,4.5vw,48px)}
  .question-panel .subtitle{margin-bottom:16px}
  .choice{min-height:70px}
}
@media(max-height:680px) and (max-width:650px){.stage{padding:14px 0}.question-panel .subtitle{margin-bottom:14px}.choice{min-height:60px}}
@media(hover:none){.choice:hover{transform:none;box-shadow:0 7px 20px #27255908}.primary:hover:not(:disabled){transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
