:root{font-family:system-ui,-apple-system,"PingFang SC",sans-serif;color:#292440;background:#f5f2fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{max-width:1120px;margin:auto;padding:28px 24px;display:flex;justify-content:space-between;align-items:center}header a{color:inherit;text-decoration:none;font-weight:750;font-size:20px}small,header span{font-size:13px;color:#766d8c}header small{margin-left:12px;letter-spacing:2px}main{max-width:1060px;margin:32px auto;padding:0 24px}footer{text-align:center;font-size:13px;line-height:1.9;color:#7a728c;padding:40px 20px}.hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:40px;min-height:530px}.eyebrow{font-size:14px;letter-spacing:3px;color:#79609a;font-weight:650}h1{font-size:clamp(38px,5.8vw,66px);line-height:1.2;letter-spacing:-2px;margin:24px 0}h1 em{font-style:normal;color:#8863bc}p{font-size:17px;line-height:1.9;color:#716780}button{font:inherit;cursor:pointer;border:0;border-radius:16px;padding:17px 25px;background:#33294e;color:white;font-weight:650;transition:.2s}button:hover{transform:translateY(-2px);background:#594473}button:focus-visible,a:focus-visible{outline:3px solid #ad7be1;outline-offset:4px}button:disabled{opacity:.45;cursor:not-allowed;transform:none}.primary{margin:18px 0}.meta{font-size:14px;color:#8a7c9b}.art{position:relative;display:grid;place-items:center;height:440px;border-radius:48% 48% 38% 40%;background:radial-gradient(circle,#ead7ff 0,#e8def5 40%,#f5f2fb 71%)}.orb{display:grid;place-items:center;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff3ff,#e0c4ed 45%,#ab89c8 80%);box-shadow:inset -16px -20px 35px #9470b745,0 25px 70px #b59bc54a;color:#fff;font-family:serif;font-size:110px;transform:rotate(-12deg)}.orbit{position:absolute;border:1px solid #b59ac1;border-radius:50%;width:370px;height:180px;transform:rotate(-30deg)}.tag{position:absolute;background:#ffffffcf;border:1px solid white;border-radius:30px;padding:12px 18px;box-shadow:0 9px 30px #67527a12;font-size:15px}.tag.one{top:50px;left:0}.tag.two{bottom:60px;right:0}.tag.three{right:5px;top:120px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}.card{padding:25px;background:#ffffffa6;border:1px solid white;border-radius:24px}.card h3{font-size:18px}.card p{font-size:15px;margin-bottom:0}.quiz{max-width:690px;margin:55px auto}.topline{display:flex;justify-content:space-between;color:#827090;font-size:14px}.track{height:5px;border-radius:10px;background:#e4dceb;margin:18px 0 42px}.fill{height:100%;background:#a580c6;border-radius:10px}h2{font-size:clamp(26px,4vw,36px);line-height:1.5}.options{display:grid;gap:12px;margin:28px 0}.option{background:white;color:#5b506b;text-align:left;border:1px solid #e7dfed;font-weight:400;line-height:1.6}.option:hover,.option.selected{background:#ede2f7;border-color:#a580c6;color:#38264f}.option b{margin-right:15px;color:#9b7ab8}.nav{display:flex;justify-content:space-between;gap:12px}.secondary{background:#e9e1f0;color:#554464}.result{max-width:800px;margin:auto}.result-head{text-align:center;background:#302644;color:#fff;border-radius:32px;padding:45px 25px;position:relative;overflow:hidden}.result-head p{color:#d5c4e7}.result-head h1{font-size:42px;letter-spacing:0}.result-head .eyebrow{color:#cbb0e9}.symbol{font-size:60px;color:#d4b2ee}.result .grid{grid-template-columns:1fr 1fr}.barrow{display:grid;grid-template-columns:90px 1fr 40px;gap:12px;align-items:center;margin:18px 0;font-size:14px}.barrow .track{margin:0;height:8px}.note{font-size:14px;color:#897a97}.actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:30px 0}.notice{text-align:center;min-height:24px;font-size:14px}.result h3{margin-top:0}.wide{margin-top:18px}.result .card p{line-height:1.85}ul{padding-left:22px;color:#716780;line-height:2} @media(max-width:700px){header{padding:22px 20px}header span,header small{display:none}main{margin:15px auto;padding:0 20px}.hero{grid-template-columns:1fr;gap:0}.hero h1{font-size:44px}.hero .art{height:300px;grid-row:2}.orb{width:185px;height:185px;font-size:86px}.orbit{width:285px;height:130px}.tag.one{top:35px}.tag.two{bottom:25px}.tag.three{top:90px}.grid,.result .grid{grid-template-columns:1fr}.quiz{margin:35px auto}.result-head h1{font-size:32px}.card{padding:22px}.primary{width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,footer,.actions,.notice{display:none}.result-head{color:#292440;background:#eee}.result-head p{color:#555}.card{break-inside:avoid}body{background:white}}
/* Attraction Club: electric blue, acid lime and coral. */
:root{color:#153c35;background:#f3f7f5}header a{color:#153c35}small,header span,.meta{color:#64776e}h1 em{color:#2356ee}.eyebrow{color:#2356ee}p,.card p,ul{color:#526b62}.note,.topline,footer{color:#64776e}button{background:#2454eb;border-radius:12px}button:hover{background:#1238b0}.secondary{background:#e3ebe7;color:#234c40}.secondary:hover{background:#cbdcd2;color:#173a2e}.card{background:#fff;border:1px solid #dce7df;border-radius:20px}.track{background:#dce7df}.fill{background:#2454eb}.option{color:#24463b;border-color:#dce7df;border-radius:14px}.option b{color:#2454eb}.option:hover,.option.selected{background:#ecf8d4;color:#163c2d;border-color:#72a83f}.option.selected{box-shadow:inset 0 0 0 1px #72a83f}button:focus-visible,a:focus-visible{outline-color:#2356ee}.art.character-hero{background:#ddf1a8;border:1px solid #bbd980;border-radius:36px;transform:rotate(3deg);height:420px}.character-hero>svg{width:275px;max-width:75%;transform:rotate(-3deg)}.hero-sticker{position:absolute;top:20px;right:20px;background:#2454eb;color:white;padding:8px 13px;border-radius:8px;font-size:12px;letter-spacing:2px;transform:rotate(3deg)}.tag{border:1px solid #153c3520;background:white;color:#214d3b;box-shadow:4px 5px 0 #153c3512}.tag.one{top:75px;left:-15px;transform:rotate(-8deg)}.tag.two{bottom:35px;right:-10px;transform:rotate(-6deg)}.result-head{background:var(--mascot-bg);color:#153c35;padding:25px 30px 0;border:1px solid #153c3520;border-radius:28px;display:grid;grid-template-columns:1fr 1.2fr;align-items:center;text-align:left}.report-label{grid-column:1/-1;display:flex;justify-content:space-between;font-size:12px;letter-spacing:1.5px;border-bottom:1px solid #153c3520;padding-bottom:20px;gap:15px}.result-portrait{position:relative;text-align:center;padding:20px 0}.result-portrait svg{width:230px;max-width:100%}.character-name{display:block;font-size:14px;font-weight:650;letter-spacing:3px}.result-head .eyebrow{color:#45685a;font-size:14px;letter-spacing:1px}.result-head h1{font-size:39px;line-height:1.3;margin:16px 0}.result-head p{color:#3e6153;line-height:1.8;font-size:16px}.trait-pill{display:inline-block;padding:6px 13px;border:1px solid #153c3530;border-radius:30px;font-size:13px;background:#ffffff70}.report-foot{grid-column:1/-1;text-align:center;background:#ffffff80;border-top:1px solid #153c3520;margin:15px -30px 0;padding:18px;font-size:14px;line-height:1.7;color:#45685a}.character-body{transform-origin:120px 210px;animation:bob 3s ease-in-out infinite}@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}dialog{border:1px solid #dce7df;border-radius:24px;padding:22px;width:min(470px,94vw);max-height:92dvh;overflow:auto;color:#153c35;background:#f3f7f5}dialog::backdrop{background:#10261fcc;backdrop-filter:blur(6px)}dialog img{display:block;width:100%;border-radius:16px;margin-top:16px}dialog .modal-top{display:flex;align-items:center;justify-content:space-between}dialog .modal-top button{padding:10px 15px;font-size:14px}dialog p{font-size:14px}dialog .actions{margin:15px 0}.download{background:#2454eb;color:white;border-radius:12px;padding:17px 22px;text-decoration:none;font-weight:650}#card-status{line-height:1.6}.result .actions button{font-size:15px}@media(max-width:700px){.art.character-hero{height:320px;margin:35px 10px 12px}.character-hero>svg{width:220px}.hero-sticker{font-size:11px}.result-head{padding:20px 22px 0;grid-template-columns:1fr;text-align:center}.report-label{font-size:10px;letter-spacing:1px}.result-portrait{padding:15px 0 12px}.result-portrait svg{width:200px}.result-head h1{font-size:37px;margin:12px 0}.result-head p{margin:16px auto 10px;max-width:280px}.report-foot{margin:18px -22px 0}.result-copy .eyebrow{font-size:13px}.tag.one{left:-10px}.tag.two{right:-10px}.result .actions{gap:8px}.result .actions button{padding:15px 17px}}@media(prefers-reduced-motion:reduce){.character-body{animation:none}}
/* Mobile dialog: only the artwork scrolls; status and actions stay visible. */
#share-modal{padding:0;width:min(470px,calc(100vw - 24px));height:min(850px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden;box-sizing:border-box}
#share-modal[open]{display:flex;flex-direction:column}
#share-modal .modal-top{flex:0 0 auto;padding:16px 18px;border-bottom:1px solid #dce7df;gap:12px}
#share-modal .modal-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 16px}
#share-modal img{max-width:100%;height:auto}
#share-modal .modal-bottom{flex:0 0 auto;padding:10px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid #dce7df;background:#f3f7f5}
#share-modal #card-status{margin:0 0 10px;min-height:23px;font-size:14px;line-height:1.6;overflow-wrap:anywhere;color:#234c40}
#share-modal .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
#share-modal .actions>*{min-height:48px;padding:12px 8px;text-align:center;font-size:15px;line-height:24px}
body:has(dialog[open]){overflow:hidden}
@media(max-width:600px){main{padding:0 16px}header{padding:20px 16px}.topline{gap:12px;align-items:flex-start}.topline>span:last-child{white-space:nowrap}.quiz{margin:26px auto}.quiz .track{margin-bottom:28px}.option{min-height:56px;padding:16px}.nav button{min-height:48px}.hero h1{font-size:clamp(36px,9vw,44px)}.result .actions{display:grid;grid-template-columns:1fr 1fr}.result .actions #restart{grid-column:1/-1}.barrow{grid-template-columns:80px minmax(0,1fr) 32px;gap:8px}.report-label{flex-wrap:wrap}.card{padding:20px}.art.character-hero{margin-left:12px;margin-right:12px}.hero-sticker{letter-spacing:1px}.result-head h1{font-size:clamp(28px,8vw,37px)}}
@media(max-height:500px){#share-modal .modal-top{padding:8px 14px}#share-modal .modal-bottom{padding-top:6px;padding-bottom:8px}#share-modal #card-status{margin-bottom:4px}}
.answer-echo{padding:16px 0;border-top:1px solid #e2ebe5}.answer-echo:first-of-type{margin-top:18px}.answer-echo blockquote{margin:10px 0;padding:12px 16px;border-left:3px solid #2454eb;background:#edf3ff;border-radius:0 12px 12px 0;color:#214137;font-size:16px;line-height:1.8}.answer-echo p{margin:6px 0}.dimension-reading{border-top:1px solid #e2ebe5;padding-top:14px;margin-top:18px}.dimension-reading h4{margin:0;font-size:16px}.dimension-reading p{margin-top:6px}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}main{overflow-wrap:break-word}h1:focus,h2:focus{outline:none}@media(max-width:600px){.quiz .nav{position:sticky;bottom:0;background:#f3f7f5f5;backdrop-filter:blur(10px);padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid #dce7df;z-index:2}.quiz h2{font-size:25px;line-height:1.55}.quiz .note{font-size:14px}.option{font-size:16px;display:flex;align-items:flex-start}.option b{flex:0 0 16px;margin-right:12px}.result .card p{font-size:16px}.result-head .report-label{font-size:12px;letter-spacing:.5px}.character-name,.trait-pill{font-size:14px}footer{padding-bottom:max(30px,env(safe-area-inset-bottom))}dialog .modal-top strong{font-size:17px}}@media(max-width:360px){.hero-sticker{display:none}.tag{font-size:13px;padding:10px}.result-head{padding-left:16px;padding-right:16px}.report-foot{margin-left:-16px;margin-right:-16px}}
/* Compact mobile-first screens and a progressively disclosed report. */
header{width:100%;padding:16px 20px}header a{font-size:18px;line-height:1.4}footer{padding:12px 20px;font-size:12px;line-height:1.6;max-width:650px;margin:0 auto}body[data-view=home],body[data-view=quiz]{min-height:100svh;display:flex;flex-direction:column}body[data-view=home] main,body[data-view=quiz] main{width:100%;flex:1;margin:0 auto;display:flex;align-items:center}body[data-view=home] footer,body[data-view=quiz] footer{flex-shrink:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}.hero{width:100%;min-height:0}.quiz{width:100%;margin:0 auto}.result{max-width:720px}.result-head{grid-template-columns:120px minmax(0,1fr);text-align:left;padding:18px;gap:16px;border-radius:22px}.result-portrait{padding:0}.result-portrait svg{width:120px}.result-copy{min-width:0}.result-head h1{font-size:30px;margin:8px 0}.result-head p{font-size:15px;margin:10px 0 0;max-width:none}.result-head .eyebrow{font-size:13px}.character-name{font-size:12px;letter-spacing:1px}.result .card{padding:18px;border-radius:16px}.result .wide{margin-top:12px}.result h3{font-size:17px;margin:0 0 8px}.result .card p{font-size:16px;line-height:1.75;margin:0}.report-essential h3:not(:first-child){margin-top:18px}.takeaway{margin-top:16px;padding:14px;background:#edf4df;border-radius:12px}.takeaway strong{font-size:15px;display:block;margin-bottom:6px}.result>.note{font-size:12px;line-height:1.65;margin:10px 2px}.report-detail{background:white;border:1px solid #dce7df;border-radius:14px;margin-top:10px;overflow:hidden}.report-detail summary{cursor:pointer;font-size:15px;font-weight:650;padding:16px;min-height:52px}.report-detail summary span{display:block;padding-left:18px;font-size:12px;font-weight:400;color:#64776e;margin-top:4px}.report-detail[open] summary{border-bottom:1px solid #e1e9e4}.detail-body{padding:0 16px 16px}.detail-body>.card{border:0;padding:0;margin-top:14px;border-radius:0}.detail-body>.card>.eyebrow,.detail-body>.card>h3{display:none}.answer-echo{padding:12px 0}.answer-echo p{font-size:14px!important}.dimension-reading{margin-top:12px;padding-top:12px}.result .actions{margin:18px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.result .actions #restart{grid-column:1/-1;background:transparent;color:#526b62;padding:10px}.notice:empty{display:none}.notice{margin:8px 0;font-size:13px}body[data-view=result] main{margin:4px auto 0}
@media(max-width:700px){header{padding:12px 16px}header a{font-size:17px}main{padding:0 16px}body[data-view=home] main{align-items:stretch}.hero{display:flex;flex-direction:column;justify-content:center;gap:10px;text-align:center;padding:6px 0}.hero .eyebrow{display:none}.hero h1{font-size:clamp(32px,7vw,42px);line-height:1.12;margin:8px 0}.hero h1 br{display:none}.hero p{font-size:15px;line-height:1.65;margin:8px 0}.hero p br{display:none}.hero .primary{margin:12px 0 8px;padding:14px 24px;max-width:360px;min-height:48px}.hero .meta{font-size:12px}.art.character-hero{flex:none;width:min(100%,360px);height:clamp(125px,23svh,210px);margin:8px auto;transform:none;border-radius:24px}.character-hero>svg{height:100%;width:auto;transform:none}.hero-sticker{font-size:10px;padding:6px;top:10px;right:10px}.tag.one{font-size:12px;top:25px;left:8px;padding:7px 10px}.tag.two{font-size:12px;bottom:12px;right:8px;padding:7px 10px}body[data-view=quiz] main{align-items:center}.quiz{padding:6px 0}.quiz .topline{font-size:13px}.quiz>.track{margin:10px 0 16px}.quiz h2{font-size:clamp(20px,4.5vw,25px);line-height:1.4;margin:0 0 8px}.quiz>.note{font-size:12px;line-height:1.5;margin:8px 0}.quiz .options{margin:14px 0;gap:8px}.quiz .option{min-height:48px;padding:12px;line-height:1.5;font-size:15px}.quiz .nav{position:static;padding:8px 0 0;border:0;background:none;backdrop-filter:none}.quiz .nav button{padding:12px 18px;min-height:44px;font-size:14px}.quiz>.note:last-child{margin:8px 0 0;text-align:center}footer{font-size:11px;padding:8px 16px;line-height:1.5}.result-head{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:16px}.result-portrait svg{width:100px}.result-head h1{font-size:clamp(24px,5.5vw,30px)}.result-head p{font-size:14px;line-height:1.65}.trait-pill{padding:4px 10px;font-size:12px}.result-copy .eyebrow{font-size:12px}}
@media(max-width:700px) and (max-height:680px){header{padding-top:8px;padding-bottom:8px}.hero h1{font-size:32px}.hero p{font-size:14px}.art.character-hero{height:120px}.hero-sticker{display:none}.quiz>.track{margin-bottom:10px}.quiz h2{font-size:20px}.quiz .options{margin:10px 0;gap:6px}.quiz .option{padding:10px;line-height:1.4}.quiz>.note{margin:5px 0}.quiz .nav{padding-top:4px}footer{padding-top:6px;padding-bottom:6px}}
/* Distribute the landing content instead of centering a compressed cluster. */
@media(max-width:700px){
 body[data-view=home] main{flex:0 0 auto;display:block;padding-top:clamp(24px,5svh,48px)}
 body[data-view=home] .hero{justify-content:flex-start;gap:clamp(24px,4svh,38px);padding:0 0 18px}
 body[data-view=home] .hero>div:first-child{width:100%}
 body[data-view=home] .hero h1{margin:0 auto 18px;max-width:520px;line-height:1.2}
 body[data-view=home] .hero p{max-width:420px;margin:0 auto 22px;line-height:1.8;font-size:16px}
 body[data-view=home] .hero .primary{display:block;width:100%;max-width:380px;margin:0 auto 12px;min-height:52px}
 body[data-view=home] .hero .meta{margin:0;line-height:1.6}
 body[data-view=home] .art.character-hero{width:min(100%,400px);height:clamp(170px,29svh,290px);margin:0 auto}
 body[data-view=home] footer{margin:0 auto;padding-top:8px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
}
@media(max-width:700px) and (max-height:700px){
 body[data-view=home] main{padding-top:18px}
 body[data-view=home] .hero{gap:18px;padding-bottom:10px}
 body[data-view=home] .hero h1{margin-bottom:12px;font-size:32px}
 body[data-view=home] .hero p{font-size:14px;line-height:1.6;margin-bottom:16px}
 body[data-view=home] .art.character-hero{height:clamp(125px,24svh,170px)}
 body[data-view=home] .hero .primary{min-height:48px;margin-bottom:8px}
}
/* Anchor every question below the header, independent of viewport height. */
body[data-view=quiz] main{flex:0 0 auto;display:block;align-items:flex-start;padding-top:20px}
body[data-view=quiz] .quiz{margin:0 auto;padding:0}
body[data-view=quiz] footer{margin:12px auto 0}
@media(max-width:700px){body[data-view=quiz] main{padding-top:16px}}
@media(max-height:680px){body[data-view=quiz] main{padding-top:10px}}
/* Vertical auto margins on the header must not absorb spare screen height. */
body>header{margin:0 auto;flex:0 0 auto}
body[data-view=home],body[data-view=quiz]{justify-content:flex-start}
body[data-view=home] main{flex:0 0 auto;align-items:flex-start;padding-top:16px;margin:0 auto}
body[data-view=home] .hero{justify-content:flex-start}
@media(max-width:700px){body[data-view=home] main{padding-top:14px}}
/* Only a recorded answer receives the selected fill; touch hover can persist. */
.option:not(.selected):hover{background:#fff;color:#24463b;border-color:#dce7df;box-shadow:none;transform:none}
.option.selected,.option.selected:hover{background:#ecf8d4;color:#163c2d;border-color:#72a83f;box-shadow:inset 0 0 0 1px #72a83f;transform:none}
@media(hover:hover) and (pointer:fine){.option:not(.selected):hover{border-color:#2454eb}}
.access-panel{max-width:540px;margin:16px auto;text-align:left}.access-panel input:not([type=checkbox]),.admin input,.admin textarea,#delivery textarea{display:block;width:100%;padding:12px;margin:8px 0 14px;border:1px solid #b8cfc4;border-radius:10px;font:inherit;font-size:16px;background:white}.access-panel form>button{width:100%}.consent{display:block;font-size:14px;line-height:1.7;margin:12px 0}.consent input{width:18px;height:18px;vertical-align:middle}.access-panel a{color:#2454eb}.access-panel button{margin:6px 0}#access-status{font-size:14px;line-height:1.6}.history-list{display:grid;gap:8px;padding:12px}.admin{max-width:850px}.admin .secondary{margin:8px 8px 0 0;padding:12px}.admin p{overflow-wrap:anywhere}.admin label{display:block}#delivery textarea{width:100%;font-size:16px;line-height:1.8}body[data-view=home]:has(.access-panel) .hero{padding-bottom:12px}
