@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900;1000&display=swap');
:root{--ink:#30304b;--muted:#77768a;--orange:#ffac45;--yellow:#ffe28d;--cream:#fff9ea;--paper:#fffef9;--line:#eedfc0;--purple:#7151c6;--green:#70cf61;--green-dark:#359a3c}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Nunito,system-ui,sans-serif;background:radial-gradient(ellipse at 45% -25%,#ffeca0 0%,#ffcc72 45%,#f9a45a 100%);min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,textarea:focus-visible,.selectable:focus-visible{outline:4px solid #6b91ed;outline-offset:3px}.app{min-height:100vh;max-width:1440px;margin:auto;padding:18px 28px 100px;position:relative}.app:before{content:' ';pointer-events:none;position:fixed;inset:0;background-image:radial-gradient(#fff8 1px,transparent 1px);background-size:25px 25px;opacity:.13}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;position:relative;z-index:2}.logo{display:flex;align-items:center;font-size:clamp(24px,3.4vw,40px);font-weight:1000;letter-spacing:-2px;line-height:.95;text-shadow:2px 3px 0 #fff9;color:#8b3e23;cursor:pointer}.logo b{color:#fff4a6;display:block;text-shadow:2px 3px 0 #a95028,0 4px 0 #a95028;-webkit-text-stroke:1px #a95028}.logo small{display:block;letter-spacing:1px;color:#754b29;font-size:10px;font-weight:900;margin-top:9px;text-shadow:none}.logo-mark{font-size:44px;margin-right:10px;filter:drop-shadow(0 4px 2px #aa642766)}.topright{display:flex;gap:12px;align-items:center}.round-pill{background:#fff8de;border:2px solid #ffffffb9;box-shadow:0 4px 0 #c88d52;padding:11px 17px;border-radius:50px;font-size:12px;font-weight:1000;white-space:nowrap}.icon-btn{border:0;border-radius:100%;background:#fff8de;padding:10px 14px;font-weight:900}.bottom-nav{position:fixed;z-index:8;left:50%;bottom:16px;transform:translateX(-50%);width:min(760px,calc(100% - 24px));padding:9px;display:flex;gap:6px;justify-content:space-around;background:#fff9e9ed;box-shadow:0 7px 0 #b7784780,0 20px 45px #a6583050;border:3px solid #fff;border-radius:28px;backdrop-filter:blur(12px)}.bottom-nav button{border:0;background:transparent;border-radius:19px;padding:12px 20px;font-weight:1000;color:#674d3d;white-space:nowrap}.bottom-nav button.active{background:linear-gradient(#ffdf57,#ffb914);box-shadow:0 3px 0 #dfa12b}.panel{background:linear-gradient(145deg,#fffbea,#ffe6ab);border:3px solid #fff7dc;box-shadow:0 7px 0 #d4954f,0 14px 30px #9b583625;border-radius:32px;padding:25px}.card{background:#fffdf6;border:2px solid #f1e3c5;border-radius:22px;padding:20px;box-shadow:0 4px 0 #e4ca92}.headline{font-size:clamp(26px,4vw,46px);margin:0 0 10px;line-height:1.08;font-weight:1000;letter-spacing:-1.6px}.subhead{font-size:clamp(20px,2.5vw,29px);font-weight:1000;margin:0 0 12px}.lead{font-size:17px;line-height:1.6;color:#656078}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:1000;color:#ad642c;text-transform:uppercase;margin:0 0 10px}.muted{color:var(--muted)}.tiny{font-size:12px}.bold{font-weight:900}.center{text-align:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:20px;padding:15px 24px;color:#352c36;font-weight:1000;font-size:17px;box-shadow:0 5px 0 #d5ad6d;transition:transform .15s,box-shadow .15s;min-height:55px}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 #d5ad6d}.btn-green{background:linear-gradient(#b8f455,#66d348);box-shadow:0 6px 0 #379739;color:#29451f}.btn-purple{background:linear-gradient(#a68dfc,#8164ea);box-shadow:0 6px 0 #5e43bc;color:white}.btn-light{background:#fffdf7}.btn-warning{background:#ffda69}.btn-wide{width:100%}.cols{display:grid;grid-template-columns:1fr 1fr;gap:22px}.hero-grid{display:grid;grid-template-columns:1fr 1.32fr .98fr;gap:22px;margin-top:33px;align-items:stretch}.hero-mascot{border-radius:34px;background:linear-gradient(#f9bb75,#f9a657);overflow:hidden;position:relative;min-height:500px;border:4px solid #ffffff88;box-shadow:0 9px 0 #d68f49}.hero-mascot img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-mascot .float-tag{position:absolute;bottom:16px;left:16px;right:16px;background:#fff6d9ed;padding:14px;border-radius:21px;font-size:15px;font-weight:900;text-align:center;box-shadow:0 5px 0 #d69b67}.hero-left,.hero-right{display:flex;flex-direction:column;gap:18px}.avatar{font-size:70px;line-height:1.2}.stat{background:#fff9ee;border-radius:20px;padding:12px 15px;border:2px solid #f5e6c4}.progress{height:12px;border-radius:20px;background:#ddcdb2;overflow:hidden}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#71dbd1,#57aefb);border-radius:inherit}.mission{display:flex;gap:11px;background:#fff8e8;border-radius:17px;border:1px solid #edd9ae;padding:14px;margin:9px 0}.mission .num{background:#ffe598;border-radius:12px;min-width:35px;text-align:center;padding:8px}.badge{display:inline-block;border-radius:30px;background:#e6dcff;color:#6046b1;padding:7px 12px;font-size:11px;font-weight:1000;letter-spacing:.7px}.badge.green{background:#daf7ce;color:#377d29}.badge.orange{background:#fff0c9;color:#9f641a}.screen-layout{max-width:1110px;margin:34px auto 20px}.level-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.stepper{display:flex;gap:8px}.dot{height:9px;width:33px;border-radius:20px;background:#ffefd0}.dot.on{background:#78d75a}.city-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.city-tile{background:#fff9e7;border:4px solid #fff8ea;border-radius:27px;box-shadow:0 6px 0 #d19752;min-height:210px;padding:18px;text-align:center;transition:.15s}.city-tile:hover{transform:translateY(-4px)}.city-tile.visited{border-color:#87d36f}.city-tile .illustration{display:grid;place-items:center;font-size:64px;height:92px;margin-bottom:10px;border-radius:20px;background:linear-gradient(145deg,#ffe39e,#ffc2aa)}.city-tile h3{margin:3px 0;font-size:17px}.city-tile p{font-size:13px;color:#827b83}.profile{display:grid;grid-template-columns:280px 1fr;gap:25px}.profile-art{display:grid;place-items:center;min-height:300px;border-radius:24px;background:linear-gradient(145deg,#fee49a,#ffc0bd);font-size:110px}.metric-row{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.metric{background:#fff8e9;border-radius:16px;padding:13px 19px;border:2px solid #f1e6ce}.metric strong{display:block;font-size:22px}.choice-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0}.choice{border:3px solid #eedfbe;background:#fffdf8;text-align:left;padding:18px;border-radius:23px;min-height:115px;transition:.15s;box-shadow:0 4px 0 #e4d0a2}.choice:hover{transform:translateY(-2px)}.choice.chosen{border-color:#69bcec;background:#f0fbff;box-shadow:0 5px 0 #5ca3cc}.choice .symbol{font-size:27px}.choice strong{display:block;font-size:17px;margin:4px 0}.choice small{display:block;color:#777;line-height:1.4}.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:20px;flex-wrap:wrap}.notice{padding:15px 18px;border:2px solid #ead8b0;background:#fff7dc;border-radius:18px;line-height:1.5}.notice.good{background:#e3f8da;border-color:#a5d992}.form-control{border:2px solid #e5d2a9;background:#fffcf5;padding:15px 17px;border-radius:16px;width:100%;font-size:16px;color:#3d3753}.form-group{margin:17px 0}.form-group label{display:block;font-weight:900;margin-bottom:8px}.help{font-size:12px;color:#827882;margin:6px 0}.auth{max-width:540px;margin:65px auto}.tabs{display:flex;gap:7px;margin-bottom:18px}.tabs button{flex:1;border:0;padding:12px;border-radius:15px;font-weight:900;background:#f4deb0}.tabs button.active{background:#8a69dd;color:white}.result-score{font-weight:1000;font-size:80px;line-height:1;color:#2da468}.result-bar{height:22px;background:#f1ddba;border-radius:40px;overflow:hidden}.result-bar span{height:100%;display:block;background:linear-gradient(90deg,#6bbceb,#6fdc76)}.xp-box{text-align:center;background:linear-gradient(135deg,#fee99a,#ffd36d);border-radius:22px;padding:23px}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #e8d5af;text-align:left;vertical-align:top}.admin-table th{font-size:11px;text-transform:uppercase;color:#8c7957}.admin-scroll{overflow:auto}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.alert{background:#fff0df;border:1px solid #e5aa79;padding:13px;border-radius:16px}.empty{padding:30px;text-align:center}.reveal{animation:pop .3s ease-out}@keyframes pop{from{opacity:.4;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}#toast{position:fixed;top:92px;right:20px;z-index:100;padding:13px 22px;background:#322a3d;color:white;border-radius:14px;box-shadow:0 5px 20px #0003;opacity:0;pointer-events:none;max-width:360px;transition:opacity .2s}#toast.show{opacity:1}a{color:#624bb1}@media(max-width:1050px){.hero-grid{grid-template-columns:1fr 1fr}.hero-mascot{grid-column:2;grid-row:1/3}.hero-right{grid-column:1}.city-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.app{padding:15px 13px 100px}.round-pill{display:none}.topbar{align-items:flex-start}.logo{font-size:27px}.logo-mark{font-size:30px}.hero-grid,.cols,.profile,.choice-list{grid-template-columns:1fr}.hero-mascot{grid-column:auto;grid-row:auto;min-height:340px;max-height:400px}.hero-left{order:0}.hero-mascot{order:1}.hero-right{order:2}.city-grid{grid-template-columns:repeat(2,1fr);gap:10px}.city-tile{padding:10px;min-height:185px}.city-tile .illustration{font-size:48px}.panel{padding:17px;border-radius:25px}.screen-layout{margin-top:24px}.bottom-nav button{padding:9px 11px;font-size:12px}.bottom-nav button span{display:block}.profile-art{min-height:190px}.level-head{align-items:flex-start;flex-direction:column}.headline{font-size:32px}.topright{gap:3px}}
