:root{font-family:system-ui,'PingFang SC','Microsoft YaHei',sans-serif;color:#281f38;background:#211a31;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 75% 13%,#47345e 0,transparent 26%),radial-gradient(circle at 10% 50%,#30243f 0,transparent 35%),#211a31}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #f8bb7a;outline-offset:3px}a{color:#765aab}.site-shell{min-height:100vh;display:flex;flex-direction:column}.site-header,.site-footer,.app{width:min(1160px,calc(100% - 48px));margin:0 auto}.site-header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff26;color:#f8f2ff}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:850;letter-spacing:.03em}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#f7c17e;color:#32253f;font-size:22px;transform:rotate(-10deg)}.header-note{font-size:10px;letter-spacing:.25em;color:#c8bbd5}.app{flex:1}.site-footer{padding:22px 0 28px;margin-top:48px;display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff26;color:#b6a9c4;font-size:12px}
.screen{padding:40px 0 10px}.eyebrow{display:inline-block;color:#c68fca;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.button{border:0;border-radius:15px;min-height:52px;padding:0 22px;font-weight:800;transition:transform .16s,background .16s,box-shadow .16s}.button:hover{transform:translateY(-2px)}.button-primary{background:#f6be7c;color:#302238;box-shadow:0 12px 26px #100b1b36}.button-primary:hover{background:#ffd093}.button-primary:disabled{background:#cfc6bd;color:#807582;box-shadow:none;transform:none;cursor:not-allowed}.button-secondary{background:#eee8f2;color:#514364}.button-secondary:hover{background:#e3d8ec}.fine-print{color:#b4a7c1;font-size:12px;line-height:1.7}.muted{color:#847b91;line-height:1.85;font-size:14px}.back-link{border:0;background:transparent;padding:8px 0;color:#bdb0cd;font-weight:750;text-decoration:none}.back-link:hover{color:#ffcf97}.panel{background:#fffaf6;border:1px solid #f1e7e8;border-radius:27px;box-shadow:0 28px 75px #110d1d30}
.welcome{min-height:calc(100vh - 165px);display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center}.hero-content{padding:10px 0}.welcome h1{font-size:clamp(46px,6vw,78px);line-height:1.18;letter-spacing:-.06em;color:#fff8f3;margin:22px 0}.welcome h1 em{font-style:normal;color:#f7c384}.hero-copy{max-width:550px;color:#ddd2e5;font-size:17px;line-height:1.95;margin:0 0 28px}.hero-facts{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:35px}.hero-facts span{padding:8px 12px;border:1px solid #ffffff29;border-radius:100px;color:#dbcfe5;font-size:12px}.hero-button{min-width:185px;display:inline-flex;align-items:center;justify-content:space-between;gap:30px}.hero-content .fine-print{margin-top:18px}.hero-visual{min-height:470px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border-radius:50%;border:1px solid #ffffff18}.orbit-outer{width:440px;height:440px}.orbit-inner{width:355px;height:355px;border-style:dashed;border-color:#f4bd8436}.cat-disc{display:grid;place-items:center;width:335px;height:335px;border-radius:50%;background:radial-gradient(circle at 25% 18%,#f4d5ce 0,#e5b8cd 51%,#ac8bbf 100%);box-shadow:0 42px 90px #09071280,0 0 0 13px #ffffff13}.cat-disc svg{width:82%;height:82%;filter:drop-shadow(0 19px 14px #382a3947)}.visual-star{position:absolute;color:#f4c58b;font-size:34px}.star-one{top:25px;right:75px}.star-two{bottom:53px;left:48px;font-size:26px}.visual-ticket{position:absolute;bottom:20px;right:5px;display:flex;gap:10px;align-items:center;padding:15px 18px;border-radius:15px;background:#fffaf2;color:#8c718f;font-size:11px;font-weight:800;letter-spacing:.09em;box-shadow:0 15px 32px #110b1b42;transform:rotate(5deg)}.visual-ticket strong{color:#2d2340;font-size:21px;letter-spacing:0}.visual-ticket span{color:#a094a8;font-size:10px}
.info-screen{max-width:560px;margin:0 auto;padding-top:36px}.info-screen .back-link{margin-bottom:16px}.info-panel{padding:38px}.info-panel h1{margin:13px 0 5px;font-size:30px;letter-spacing:-.04em}.info-panel .muted{margin-top:0}.field{display:block;margin-top:21px}.field>span{display:block;margin-bottom:9px;color:#554966;font-weight:750;font-size:13px}.field input:not([type=hidden]){width:100%;height:51px;border:1px solid #e3dbe6;border-radius:13px;padding:0 15px;background:#fff;color:#2d243d}.field input::placeholder{color:#ada3ae}.sex-options{display:flex;align-items:center;gap:10px}.sex-options small{color:#a39aa8;margin-left:7px}.sex-option{width:67px;height:52px;border:1px solid #e3dbe6;border-radius:12px;background:#fff;color:#85689b;font-size:29px}.sex-option.selected{background:#f1e5f4;border-color:#a776b6;color:#684975}.form-actions{display:flex;gap:11px;margin-top:32px}.form-actions .button-primary{flex:1}.info-panel .fine-print{color:#998d9d;margin:20px 0 0}
.quiz-screen{width:min(800px,100%);margin:0 auto}.quiz-top{display:flex;justify-content:space-between;gap:12px;color:#c9bbd3;font-size:12px;font-weight:800;letter-spacing:.09em;margin-bottom:16px}.progress{height:8px;border-radius:99px;background:#ffffff21;overflow:hidden;margin-bottom:26px}.progress>div{height:100%;border-radius:99px;background:linear-gradient(90deg,#b87ec9,#ffc786);transition:width .25s}.quiz-panel{padding:44px 52px}.quiz-panel h1{min-height:90px;font-size:clamp(25px,3vw,35px);line-height:1.5;margin:17px 0 6px;letter-spacing:-.035em}.quiz-panel .muted{margin:0 0 26px}.answers{display:grid;gap:10px}.answer{width:100%;min-height:69px;display:flex;align-items:center;gap:15px;text-align:left;padding:11px 16px;border:1px solid #e9e0e8;border-radius:14px;background:#fff;color:#3a3047;transition:background .15s,border-color .15s,transform .15s}.answer:hover{background:#faf5ff;border-color:#bc91cc;transform:translateX(2px)}.answer.selected{background:#f2e9f5;border-color:#a472b7}.answer-index{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f3ecf5;color:#916fa6;font-weight:800;font-size:12px}.answer.selected .answer-index{background:#76518c;color:#fff}.answer strong{display:block;font-size:14px}.answer small{display:block;color:#9b8fa1;font-size:11px;margin-top:2px}.quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px}.quiz-actions .back-link{color:#776984}.auto-hint{color:#a59aaa;font-size:12px}.submit-note{text-align:right;color:#b07a87;font-size:12px;margin:8px 0 0}
.result-screen{max-width:900px;margin:0 auto}.result-head{text-align:center;color:#fff;margin:4px 0 28px}.result-head h1{font-size:clamp(37px,5vw,58px);letter-spacing:-.055em;margin:15px 0 8px}.result-head p{color:#cfc2d9;line-height:1.8;font-size:14px}.result-main,.result-panel,.method{padding:36px;margin-bottom:18px}.result-identity{display:grid;grid-template-columns:105px 1fr;align-items:start;gap:24px}.result-code{display:grid;place-items:center;width:96px;height:96px;background:#3a2c4b;color:#fbc786;border-radius:24px;font-size:23px;font-weight:900;letter-spacing:-.04em;box-shadow:inset 0 0 0 1px #ffffff26}.result-kicker{color:#aa76ad;font-weight:800;font-size:11px;letter-spacing:.15em}.result-identity h2{font-size:34px;letter-spacing:-.045em;margin:7px 0 6px}.result-story{font-size:18px;line-height:1.8;color:#51445a;font-weight:680;margin:0}.overview{background:#f5eef7;border-radius:17px;padding:22px 24px;margin-top:26px}.overview h3{font-size:15px;color:#68437c;margin:0 0 8px}.overview p{font-size:15px;color:#594f61;line-height:1.9;margin:0}.secondary{margin-top:14px;padding:19px 23px;background:#fff6eb;border:1px solid #f2e3cf;border-radius:16px}.secondary span{display:block;color:#b47c57;font-size:11px;font-weight:850;letter-spacing:.08em}.secondary strong{display:block;font-size:20px;color:#514153;margin:4px 0}.secondary p{margin:0;color:#81727e;font-size:12px;line-height:1.8}.type-list{border-top:1px solid #eee5e8;padding-top:18px;margin-top:25px}.type-list summary{color:#796391;font-size:12px;font-weight:800;cursor:pointer}.type-list>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.type-chip{padding:9px 10px;border-radius:9px;background:#f4f0f5;color:#766b7b;font-size:11px}.type-chip.primary{background:#e9d9ef;color:#583869;font-weight:850}.type-chip.runner{background:#f9e9d8;color:#9b6848;font-weight:850}.result-panel h2,.method h2{font-size:23px;margin:0 0 7px;letter-spacing:-.03em}.result-panel .muted{margin:0 0 24px;font-size:12px}.factor-list{display:grid;gap:17px}.factor-top{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:7px}.factor-top strong{display:block;font-size:14px}.factor-top small{display:block;color:#a197a4;font-size:11px;margin-top:2px}.factor-top>span{color:#704e88;font-size:18px;font-weight:850;white-space:nowrap}.factor-track{height:9px;border-radius:10px;background:#eee6ee;overflow:hidden}.factor-track>div{height:100%;border-radius:10px;background:linear-gradient(90deg,#9b72b1,#ecb47f)}.evidence{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.evidence>div{padding:16px;background:#f6f0f8;border-radius:13px}.evidence span{display:block;color:#88768d;font-size:11px}.evidence strong{display:block;color:#67477d;font-size:18px;margin-top:5px}.evidence small{font-size:11px}.method p{margin:0;color:#827887;font-size:12px;line-height:1.9}.method a{overflow-wrap:anywhere}.result-actions{display:flex;justify-content:center;gap:12px;margin-top:27px}.insufficient{max-width:700px;margin:35px auto}.insufficient .panel{padding:38px}.insufficient h1{font-size:32px;margin:14px 0}.insufficient p{line-height:1.85;color:#766b7e}
@media(max-width:920px){.welcome{grid-template-columns:1fr;gap:8px;min-height:0;padding-top:56px}.hero-visual{min-height:390px}.cat-disc{width:285px;height:285px}.orbit-outer{width:365px;height:365px}.orbit-inner{width:310px;height:310px}.visual-ticket{right:calc(50% - 210px)}}
@media(max-width:620px){.site-header,.site-footer,.app{width:calc(100% - 28px)}.site-header{height:67px}.brand{font-size:15px}.brand-mark{width:30px;height:30px;font-size:18px}.header-note{display:none}.welcome{padding-top:35px;min-width:0}.welcome h1{font-size:46px;margin:16px 0}.hero-content{min-width:0}.hero-copy{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.hero-facts{gap:7px;margin-bottom:25px}.hero-facts span{font-size:10px;padding:7px 9px}.hero-visual{min-height:315px;min-width:0;width:100%;overflow:hidden}.cat-disc{width:225px;height:225px}.orbit-outer{width:283px;height:283px}.orbit-inner{width:250px;height:250px}.visual-ticket{bottom:3px;right:0;padding:11px 13px}.visual-ticket span{display:none}.star-one{right:20px}.star-two{left:12px}.info-screen{padding-top:25px}.info-panel{padding:25px}.info-panel h1{font-size:25px}.form-actions{flex-direction:column}.quiz-screen{padding-top:24px}.quiz-panel{padding:28px 21px}.quiz-panel h1{min-height:0;font-size:25px}.quiz-panel .muted{font-size:12px}.answer{min-height:63px;padding:9px 12px}.answer strong{font-size:13px}.answer small{font-size:10px}.auto-hint{display:none}.result-head{margin-top:3px}.result-head h1{font-size:39px}.result-main,.result-panel,.method{padding:25px 21px;border-radius:22px}.result-identity{grid-template-columns:1fr;gap:17px}.result-code{width:74px;height:74px;border-radius:19px;font-size:19px}.result-identity h2{font-size:29px}.result-story{font-size:16px}.overview{padding:19px}.overview p{font-size:14px}.secondary{padding:16px 18px}.type-list>div{grid-template-columns:repeat(2,1fr)}.type-chip{overflow-wrap:anywhere}.evidence{grid-template-columns:1fr}.result-actions{flex-direction:column}.site-footer{flex-direction:column;margin-top:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:620px){.visual-ticket{display:none}}

/* Shared cat and dog entrance, keeping the cat edition's night-sky palette. */
.welcome{padding-top:48px;padding-bottom:44px}
.welcome h1{font-size:clamp(46px,5.6vw,73px)}
.hero-facts{margin-bottom:20px}
.species-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-width:560px;margin:0 0 23px}
.species-choice{min-width:0;min-height:86px;display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;border:1px solid #ffffff3a;border-radius:17px;background:#ffffff10;color:#fff5f1;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.species-choice:hover{background:#ffffff1b;transform:translateY(-2px)}
.species-choice.selected{border-color:#f6c17e;background:#f6c17e24;box-shadow:0 0 0 2px #f6c17e22}
.species-choice .species-symbol{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#f4d6cb;color:#2a2139;font-size:23px}
.species-choice strong,.species-choice small{display:block}
.species-choice strong{font-size:15px;white-space:nowrap}
.species-choice small{margin-top:5px;color:#c8b8d4;font-size:11px}
.choice-tick{margin-left:auto;color:#f9c88b;font-size:19px;font-weight:800}
.research-supplement{padding:16px 20px;margin-top:17px;background:#f8f4f8;border-radius:14px;color:#746679}
.research-supplement span{color:#a08ca8;font-size:11px;font-weight:800;letter-spacing:.05em}
.research-supplement p{font-size:12px;line-height:1.8;margin:5px 0 0}
.result-tagline{margin:5px 0 0;color:#73657d;font-size:14px;line-height:1.65}
.overview-hook{color:#493454;font-weight:850}
.dog-disc{background:radial-gradient(circle at 28% 18%,#efe4eb 0,#d7b9d8 55%,#9f82b2 100%)}
.dog-disc svg{width:94%;height:94%}
.share-panel{padding:30px 36px;margin-top:20px}
.photo-upload{display:flex;align-items:center;gap:12px;min-height:77px;padding:12px 16px;border:1px dashed #b798c1;border-radius:15px;background:#fbf5fb;color:#5e4771;cursor:pointer}
.photo-upload>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#f2e4f2;font-size:26px}
.photo-upload strong{font-size:14px}.photo-upload small{display:block;color:#928597;font-size:11px;margin-left:auto;text-align:right}
#pet-photo.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;overflow:hidden;clip-path:inset(50%)}
#pet-photo:focus-visible+.photo-upload{outline:3px solid #f8bb7a;outline-offset:3px}
.photo-preview-wrap{display:flex;align-items:center;gap:15px;margin-top:13px}.photo-preview-wrap[hidden]{display:none}
.photo-preview-wrap img{width:86px;height:86px;object-fit:cover;border-radius:16px;border:3px solid #f1dfef}
.photo-preview-wrap .back-link{color:#76578b}.photo-status{min-height:19px;margin:8px 0 0;color:#7b5a8d;font-size:12px}
.result-pet-photo{display:block;width:96px;height:96px;object-fit:cover;border-radius:24px;border:4px solid #f6d4a8;box-shadow:0 10px 20px #3b2b4523}
.daily-scene{margin-top:18px;padding:17px 19px;background:#fffaf6;border:1px solid #e9dce9;border-radius:14px}
.daily-scene>strong{display:block;margin-bottom:7px;color:#745184;font-size:14px}.daily-scene p{color:#4e4255;line-height:1.85}.daily-scene small{display:block;margin-top:8px;color:#9c90a1;font-size:11px;line-height:1.6}
.share-panel h2{margin:8px 0;font-size:25px;color:#30243f}
.share-panel>p{color:#766b7e;line-height:1.75;font-size:13px}
.share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:19px 0 11px}
.share-actions .button{min-height:46px;font-size:13px}
.share-tip{margin:8px 0;color:#958797!important;font-size:12px!important}
.share-status{min-height:20px;margin:8px 0;color:#745487!important;font-weight:750}
.poster-preview{display:block;width:min(360px,100%);height:auto;margin:14px auto 0;border-radius:15px;box-shadow:0 12px 30px #211a3130}
.poster-preview[hidden]{display:none}
@media(max-width:920px){.welcome{padding-top:48px}.hero-visual{min-height:355px}}
@media(max-width:620px){.welcome{padding-top:30px}.welcome h1{font-size:clamp(40px,11.5vw,54px)}.species-picker{grid-template-columns:1fr;gap:8px}.species-choice{min-height:65px;gap:11px;padding:10px 14px}.species-choice .species-symbol{flex-basis:36px;width:36px;height:36px;font-size:19px;border-radius:9px}.species-choice strong{font-size:13px}.species-choice small{font-size:10px}.choice-tick{font-size:17px}.hero-visual{min-height:300px}.hero-content .fine-print{max-width:330px}}
@media(max-width:620px){.share-panel{padding:25px 21px}.share-actions{display:grid}.share-actions .button{width:100%}}
@media(max-width:620px){.photo-upload{flex-wrap:wrap}.photo-upload small{flex-basis:100%;margin:0;text-align:left;padding-left:50px}.result-pet-photo{width:74px;height:74px;border-radius:19px}}
