:root{--ink:#454e6b;--muted:#646d87;--pink:#f9c9df;--blue:#cde8fa;--line:#e6e4ef;--accent:#925775;--font:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans CJK JP",sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.85;background-color:#f8fbff;background-image:radial-gradient(#fff 1.6px,transparent 1.6px),repeating-linear-gradient(0deg,transparent 0 23px,#d7eafb80 23px 46px),repeating-linear-gradient(90deg,transparent 0 23px,#f5d9e780 23px 46px);background-size:12px 12px,auto,auto;min-height:100vh}.shell{max-width:680px;margin:auto;padding:20px 16px 30px}header,footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:11px;letter-spacing:.06em}header{padding:5px 3px 19px}.brand{color:#586987;text-decoration:none;font-weight:800}footer{padding:18px 4px}footer a{color:#535f80}.panel{background:#fff;border:1px solid #d8e4f0;border-radius:30px;padding:28px;box-shadow:0 12px 35px #7389b123;position:relative;overflow:hidden}.panel:before{content:"";position:absolute;top:0;left:0;right:0;height:8px;background:repeating-linear-gradient(90deg,#f6c6de 0 15px,#fff 15px 30px,#c7e6fa 30px 45px,#fff 45px 60px)}[hidden]{display:none!important}.hero{text-align:center;padding:30px 26px 34px}.bow img{width:108px;height:auto;display:block;margin:0 auto}.eyebrow{font-size:11px;letter-spacing:.18em;color:#8b5370;font-weight:700;margin:10px 0}h1{font-size:clamp(38px,9vw,62px);line-height:1.15;letter-spacing:.04em;margin:16px 0;color:#536b8c}h1 span{color:#a95f83}h2{font-size:clamp(20px,4.7vw,28px);line-height:1.65;margin:17px 0}h3{font-size:17px;margin:22px 0 8px}.lead{font-weight:700;font-size:17px}.tiny,.note{font-size:12px;color:var(--muted)}.note{border-top:1px dashed #e9c5d7;padding-top:18px;margin:24px 0 0}.center{text-align:center}button{font:inherit;font-weight:700;cursor:pointer;border-radius:18px;min-height:48px;padding:11px 18px;line-height:1.55;transition:background .15s,transform .15s;touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #647fa8;outline-offset:3px}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:default}.primary{background:linear-gradient(110deg,#f8c9df,#cde8fc);color:#514663;border:1px solid #dfb9d1;box-shadow:0 4px 0 #e5d8e9}.hero .primary{width:min(100%,330px);margin:18px 0 4px;font-size:17px;padding:17px}.secondary{background:white;border:1px solid #cddbea;color:#4c6180}.qmeta,.nav{display:flex;justify-content:space-between;gap:12px;align-items:center}.qmeta{font-size:12px;font-weight:700;letter-spacing:.07em}.track{height:9px;background:#edf3fa;border-radius:20px;overflow:hidden;margin:9px 0 20px}.track>div{height:100%;background:linear-gradient(90deg,#e8a7ca,#a9d7f5);transition:width .2s}#choices{display:grid;gap:10px;margin:18px 0 24px}.choice{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dfe6f0;background:white;color:var(--ink);font-weight:500;padding:12px 14px;width:100%;min-height:64px}.choice b{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#edf6fd;color:#526e90}.choice[aria-pressed=true]{border-color:#b6749c;background:#fff1f7;box-shadow:inset 0 0 0 1px #b6749c}.choice[aria-pressed=true] b{background:#f1c4da;color:#6d3b58}.nav button{flex:1}#resultImage{width:100%;height:auto;display:block;border-radius:14px;border:1px solid #dce5ef;margin:18px 0}.actions{display:flex;flex-wrap:wrap;gap:10px}.actions button{flex:1 1 130px}.detail{border-top:1px dashed #dfc4d4;margin-top:22px}.metric{margin:12px 0}.metric div:first-child{display:flex;justify-content:space-between;font-weight:700;font-size:13px}.meter{height:8px;background:#eef3f9;border-radius:8px;overflow:hidden}.meter i{height:100%;display:block;background:linear-gradient(90deg,#e9a9c9,#a9d8f6);border-radius:8px}details{border-top:1px solid #e8e9f0;padding:12px 0}summary{cursor:pointer;font-weight:700}li{margin:9px 0}.full{width:100%;margin-top:14px}@media(max-width:420px){.panel{padding:22px 16px}.hero{padding:28px 16px}.shell{padding:12px}.choice{font-size:14px}header{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.about-title{font-size:28px}.error-title{font-size:38px}
