@font-face{font-family:Nunito;src:url(nunito.woff2) format("woff2");font-weight:400 900;font-display:swap}
:root{font-family:Nunito,system-ui,sans-serif;color:#38243f;background:#fff5fa;--ink:#38243f;--muted:#624f6b;--pink:#9d316d;--line:#eed5e5;--white:#fffafd;--lav:#f0e9fc;--green:#176149;--shadow:0 10px 30px #74436e0c}
*{box-sizing:border-box}body{margin:0;min-width:300px}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #8744a0;outline-offset:3px}[hidden]{display:none!important}
.site-head{background:#fffafd;border-bottom:1px solid var(--line)}.head-inner,.site-foot{max-width:1120px;margin:auto;padding:12px 26px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;white-space:nowrap}.brand-mark{display:grid;place-items:center;border-radius:14px;background:#f9d9ee;width:38px;height:38px;font-size:22px}.site-head nav{display:flex;align-items:center;gap:4px}.site-head nav a{padding:10px 14px;border-radius:12px;text-decoration:none;font-weight:800}.site-head nav a[aria-current]{background:#f8e2f0;color:#7c2858}
#app{max-width:1120px;margin:auto;padding:28px 26px 42px;min-height:76svh}.site-foot{font-size:.82rem;color:var(--muted);align-items:flex-start;border-top:1px solid var(--line);padding-bottom:24px}.site-foot summary{cursor:pointer}.site-foot details{text-align:right;max-width:74%}.site-foot p{margin-bottom:0}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;font-weight:900}h1{font-size:clamp(2rem,5.9vw,4.4rem);letter-spacing:-.047em}h2{font-size:clamp(1.3rem,2.6vw,1.9rem);letter-spacing:-.025em}p{line-height:1.48}.hero{position:relative;display:grid;grid-template-columns:1.35fr 1fr;overflow:hidden;border:1px solid #ebcddd;border-radius:30px;background:linear-gradient(132deg,#fde8f2 8%,#f9d9ee 55%,#eee5ff 100%);min-height:350px;isolation:isolate;box-shadow:var(--shadow)}.hero-copy{padding:38px clamp(26px,5vw,66px);align-self:center;z-index:2}.hero h1{max-width:480px}.hero p{color:#5c4263;margin-top:16px;max-width:370px}.date{display:inline-flex;background:#fff9fc;border:1px solid #edcae0;border-radius:20px;padding:6px 12px;font-size:.83rem;font-weight:900;color:#79315d;margin-bottom:16px}.hero-art{position:relative;min-height:100%;display:grid;place-items:center}.hero-map{display:block;height:345px;width:100%;opacity:.97;filter:drop-shadow(0 8px 13px #6544742b);pointer-events:none}.unicorn{position:absolute;bottom:13%;right:9%;font-size:clamp(35px,5vw,60px);transform:rotate(9deg);filter:drop-shadow(0 5px 4px #81587735)}.spark{position:absolute;font-size:31px;color:#a454a8}.spark.one{top:16%;left:12%}.spark.two{top:43%;right:15%;font-size:22px}.cloud{position:absolute;width:170px;height:42px;border-radius:55px;background:#ffffff8c;pointer-events:none;z-index:-1}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:100%}.cloud:before{width:60px;height:60px;left:27px;bottom:13px}.cloud:after{width:75px;height:75px;right:25px;bottom:8px}.cloud.left{left:-62px;bottom:-7px}.cloud.right{right:-29px;top:57px;transform:scale(.85)}
.choose{margin:28px 0 14px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quiz-card,.study-link,.sheet,.results-panel,.complete{background:var(--white);border:1px solid var(--line);border-radius:23px;box-shadow:var(--shadow)}.quiz-card{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:22px}.quiz-card p{color:var(--muted);margin-bottom:3px}.quiz-card .primary{margin-top:auto}.card-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f9e0ed;font-size:24px}.quiz-card:nth-child(2) .card-icon{background:#eee5ff}.study-link{margin-top:14px;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-decoration:none;font-weight:800}.study-link small{color:var(--muted);display:block;font-weight:600;margin-top:2px}
.primary,.soft,.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;min-height:44px;padding:9px 15px;font-weight:900;text-decoration:none;border:1px solid transparent}.primary{background:var(--pink);color:white}.primary:hover{background:#7c2757}.soft,.tabs button{background:#fff9fd;color:#65345d;border-color:var(--line)}.soft:hover,.tabs button:hover{background:#f8e2f0}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button[aria-pressed="true"]{background:#f5dbed;border-color:#ddaacc;color:#762454}
.play{max-width:900px;margin:auto}.topline{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-weight:800;font-size:.88rem;margin-bottom:8px}.back{color:#78345f;text-decoration:none;padding:7px 0}.sheet{padding:16px}.question{font-size:clamp(1.4rem,4.6vw,2.4rem);line-height:1.12}.category{color:#79315d;font-weight:900;font-size:.82rem;margin-bottom:4px}.progress{height:6px;background:#f3e2ed;border-radius:6px;margin:0 0 12px;overflow:hidden}.progress span{display:block;height:100%;background:#b44b87;border-radius:6px}.answer-bar{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0 6px}.answer-bar p,.helper{color:var(--muted);font-size:.9rem}.answer-bar .right{color:var(--green);font-weight:900}.answer-bar .wrong{color:#8b3760;font-weight:900}.answer-bar button{flex-shrink:0}.map-frame{position:relative;isolation:isolate;border:1px solid #aecad1;border-radius:16px;overflow:hidden;background:#e0f1f4}.map{display:block;width:100%;height:clamp(400px,60svh,665px);touch-action:none;cursor:grab;user-select:none}.map:active{cursor:grabbing}.map-tools{position:absolute;right:9px;top:9px;display:grid;gap:4px}.map-tools button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b8c5cd;border-radius:11px;background:#fffc;color:#3c4059;font-size:1.3rem;font-weight:900;box-shadow:0 1px 5px #36465717}.map-tools button:hover{background:white}.map-tools button:disabled{opacity:.5;cursor:default}.compass{position:absolute;left:10px;top:9px;display:grid;text-align:center;font-size:11px;font-weight:900;color:#405469;pointer-events:none}.compass span{font-size:15px;line-height:1}.helper{margin-top:8px}.study-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.study-index{margin-top:10px}.study-index summary{font-weight:800;cursor:pointer;padding:8px 0}.study-index div{display:flex;flex-wrap:wrap;gap:6px}.study-index button{min-height:38px}.study-header,.results-title{font-size:clamp(2rem,5vw,3.1rem)}
.results-intro{margin:10px 0 20px;color:var(--muted)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.results-panel,.complete{padding:22px}.results-panel h2{margin-bottom:8px}.empty{margin-top:16px;color:var(--muted)}.chart{display:block;width:100%;height:auto;margin:12px 0}.history{list-style:none;margin:10px 0 0;padding:0}.history>li{border-top:1px solid var(--line);padding:10px 0;font-size:.92rem}.history .unfinished{font-size:.82rem;color:var(--muted)}.complete{max-width:650px;margin:35px auto;text-align:center}.complete .card-icon{margin:0 auto 14px}.complete p{margin-top:12px;color:var(--muted)}.complete .actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.storage-warning{background:#fff1d8;padding:8px;border-radius:8px;margin-bottom:10px}
@media(max-width:640px){.head-inner,.site-foot{padding:8px 12px}.brand{gap:5px;font-size:.87rem}.brand-mark{width:30px;height:30px;font-size:17px;border-radius:10px}.site-head nav a{font-size:.83rem;padding:10px 6px}.site-head nav{gap:1px}#app{padding:12px 10px 26px}.hero{min-height:239px;border-radius:22px;grid-template-columns:1.4fr .85fr}.hero-copy{padding:19px 0 19px 15px}.hero h1{font-size:clamp(1.9rem,8vw,3.05rem)}.hero p{font-size:.88rem;margin-top:10px}.date{font-size:.72rem;padding:5px 8px;margin-bottom:9px}.hero-map{height:228px}.spark.one{left:12%}.spark.two{right:14%}.cloud.right{right:-85px;top:47px}.unicorn{bottom:10%;right:10%}.choose{margin:19px 0 10px 3px}.cards{gap:8px}.quiz-card{padding:12px;gap:7px;border-radius:16px}.quiz-card h2{font-size:1.08rem}.quiz-card p{font-size:.83rem}.quiz-card .primary{width:100%;padding-inline:6px;font-size:.86rem}.card-icon{height:34px;width:34px;font-size:19px;border-radius:10px}.study-link{margin-top:8px;padding:11px 13px;border-radius:15px;font-size:.9rem}.sheet{padding:9px;border-radius:16px}.map-frame{border-radius:12px}.map{height:clamp(365px,61svh,610px)}.topline{margin-bottom:4px}.map-tools{right:5px;top:5px}.answer-bar{min-height:50px}.answer-bar p{font-size:.8rem}.answer-bar button{font-size:.82rem;padding-inline:7px}.result-grid{grid-template-columns:1fr}.site-foot{padding-bottom:18px}}
@media(prefers-reduced-motion:no-preference){a,button{transition:background-color .14s}}

.round-actions{display:flex;justify-content:flex-end;margin-top:8px}
.history-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.history-line strong{text-align:right}
.history summary{cursor:pointer;padding-left:16px;position:relative;list-style:none}
.history summary::-webkit-details-marker{display:none}
.history summary::before{content:"›";position:absolute;left:2px;color:var(--pink);font-weight:900}
.history details[open]>summary::before{transform:rotate(90deg)}
.history-detail{margin:9px 0 0 16px;font-size:.85rem;color:var(--muted)}
.history-detail p+p{margin-top:4px}
.history-detail ul{margin:4px 0 0;padding-left:18px}
.time-heading{margin-top:12px;font-size:1rem}
.time-heading span{font-size:.8rem;color:var(--muted);font-weight:600}
.with-form{display:grid;grid-template-columns:minmax(0,1fr) 228px;gap:14px;align-items:start}
.with-form>.result-grid{min-width:0}
.form-panel{min-width:0;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.form-panel h2{font-size:1.25rem}
.form-panel select{display:block;width:100%;margin-top:8px;padding:8px 5px;border:1px solid var(--line);border-radius:8px;background:#fff5fa;color:var(--ink);font:inherit;font-size:.85rem}
.form-gauge { position: relative; display: block; flex: none; width: 56px; height: 31px; margin-top: 1px; color: #151515; }
.form-gauge::before { position: absolute; inset: 0 0 3px; border-radius: 28px 28px 0 0; content: ""; background: conic-gradient(from 270deg at 50% 100%, #bd3d49, #e7ad32 90deg, #21804f 180deg, transparent 180deg); mask-image: radial-gradient(circle at 50% 100%, transparent 22px, #000 23px); }
.form-pointer { position: absolute; top: 3px; left: calc(50% - 3px); width: 6px; height: 25px; transform-origin: 50% 100%; transform: rotate(var(--angle)); }
.form-pointer::before { position: absolute; inset: 0; content: ""; background: currentColor; clip-path: polygon(50% 0, 100% 36%, 72% 31%, 75% 100%, 25% 100%, 28% 31%, 0 36%); }
.form-gauge::after { position: absolute; left: calc(50% - 3px); bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.result-form-summary { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.result-form-summary .form-note { margin: 0; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-ranks{margin-top:12px}
.form-rank{padding:10px 0;border-top:1px solid var(--line)}
.form-rank h3{font-size:.91rem;margin-bottom:5px}
.form-rank ul{list-style:none;margin:0;padding:0}
.form-rank li{display:flex;justify-content:space-between;gap:6px;font-size:.82rem;margin-top:4px}
.form-rank li strong{flex:none;color:#6a355d}
@media(max-width:800px){.with-form{grid-template-columns:minmax(0,1fr)}.with-form>.form-panel{width:100%;max-width:900px;margin:auto}}

.question{font-weight:650}
.question strong{font-weight:950;color:#862856}
.answer-bar .quiz-fact{line-height:1.45;margin-top:3px}
.quiz-fact strong{color:#762b57}
