

*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#cce7ff,#f5f3ff);color:#142b57;font:15px system-ui,sans-serif;min-height:100vh}main,header,nav{max-width:580px;margin:auto}header{padding:24px 16px;background:linear-gradient(135deg,#a4d8ff,#ddd5ff);display:flex;align-items:center;gap:12px}header img{width:72px;height:51px;object-fit:cover;object-position:top}h1{font-size:21px;margin:0}small{color:#586987}main{padding:14px 14px 90px}section{background:#ffffffbf;border:1px solid white;border-radius:20px;padding:16px;margin-bottom:12px;box-shadow:0 6px 18px #315bac12}h2{font-size:18px;margin:0 0 12px}.hero{background:linear-gradient(120deg,#2459db,#7357df);color:white}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}.stats section{padding:12px 3px;background:#d8efff}.stats section:nth-child(2){background:#e8deff}.stats section:nth-child(3){background:#fff0d4}strong{display:block;font-size:26px}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:8px 12px;background:#1677ff;color:white}nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#f8fbff;padding:8px 4px max(8px,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #23467b15}nav button{flex:1;background:none;color:#52637e;padding:6px 1px;font-size:13px}nav button[aria-current=true]{color:#1459ed;background:#e5efff}nav span{display:block;font-size:20px}label{display:block;margin:8px 0}input{display:block;width:100%;border:1px solid #bed5f4;border-radius:8px;padding:8px;margin-top:4px}article{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #dce8fa;padding:9px 0;overflow-wrap:anywhere}progress{width:100%;accent-color:#22c99a}


body{padding:22px 0;background:radial-gradient(ellipse at 20% 30%,#c8d5ff,transparent 60%),#e9f1ff}header,main,nav{max-width:480px}header{height:205px;position:relative;align-items:flex-start;padding:34px 22px;background:linear-gradient(145deg,#7bb5ff,#c7ebff);overflow:hidden;border-radius:32px 32px 0 0}header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:104px;background:url(campus.svg) center bottom/cover no-repeat}header img{position:relative;z-index:1;width:60px;height:46px;object-fit:contain}header h1{font-size:21px;margin:0 0 5px}header small{font-size:12px}main{padding:0 15px 100px;background:linear-gradient(#c0dbff,#e2edff 60%,#edf5ff);min-height:700px}section{border:1.5px solid #fff;border-radius:24px;background:linear-gradient(120deg,#ffffffbf,#f1f7ffc7);box-shadow:0 8px 16px #628bdb15;padding:18px;margin-bottom:16px}h2{font-size:20px;letter-spacing:-.5px}.welcome{display:flex;align-items:center;gap:12px;position:relative;margin-top:-22px;margin-bottom:18px}.avatar{width:82px;height:82px;object-fit:contain;background:linear-gradient(#cdefff,#91baff);border:3px solid white;border-radius:50%;box-shadow:0 6px 12px #5485c63b}.welcome h2{font-size:20px;margin:0 0 7px}.welcome small{font-size:12px}.level{margin-left:auto;white-space:nowrap;border:1px solid white;background:linear-gradient(#795eff,#3d50f6);color:white;padding:8px 12px;border-radius:15px;text-align:center;font-size:11px;box-shadow:0 5px 12px #5657df44}.level b{font-size:18px;display:block}.day{display:flex;align-items:center;gap:15px;padding:13px 18px}.day .cap{font-size:42px;filter:drop-shadow(0 4px 5px #4a82f566)}.day b{font-size:29px;color:#434ce8}.day p{margin:0;font-size:16px;font-weight:650}.day small{display:block;margin-top:5px}.stats{gap:10px}.stats section{border-radius:20px;padding:15px 3px;font-size:14px;box-shadow:0 6px 10px #8187e43b}.stats section:first-child{background:linear-gradient(120deg,#dffbff,#a5d5ff)}.stats section:nth-child(2){background:linear-gradient(120deg,#f7eeff,#c4b6ff)}.stats section:nth-child(3){background:linear-gradient(120deg,#fffbdc,#ffe6da)}.stats strong{margin-top:9px;font-size:32px}.stats section:last-child strong{color:#b86b08}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 10% 20%,#a2efff,transparent 48%),linear-gradient(125deg,#718cff,#6660eb 65%,#c3caff);box-shadow:inset 0 0 20px #ffffff75,0 8px 20px #675cf23b;padding:17px 12px}.botrow{display:flex;gap:12px;align-items:center}.botrow h2{font-size:26px;margin:0 0 10px;color:white}.botrow h2 small{font-size:13px;color:white;font-weight:400}.bubble{background:#f5faff;border:1px solid white;border-radius:30px;padding:11px 13px;color:#192c53;font-size:15px;box-shadow:0 0 14px #c8eaff}.bot{width:128px;height:112px;position:relative;flex-shrink:0;filter:drop-shadow(0 0 12px #73f3ff)}.bot:before,.bot:after{content:"";position:absolute;top:45px;width:15px;height:40px;border:4px solid #defcff;border-radius:50%;background:linear-gradient(#c9a6ff,#50d9ff)}.bot:before{left:1px}.bot:after{right:1px}.head{position:absolute;inset:14px 14px 5px;border:8px solid #dcfaff;border-radius:48%;background:radial-gradient(ellipse at 50% 15%,#4340ce,#070c43 70%);box-shadow:inset 0 0 9px #7381ff,0 0 0 4px #72dcff}.eye{position:absolute;top:29px;width:12px;height:22px;background:white;border-radius:50%;box-shadow:0 0 12px #72dfff}.eye.left{left:18px}.eye.right{right:18px}.smile{position:absolute;left:32px;top:52px;width:22px;height:12px;border-bottom:4px solid #b5f5ff;border-radius:50%}.antenna{position:absolute;width:4px;height:18px;background:#b5faff;top:0;left:63px;transform:rotate(20deg)}.antenna:before{content:"";position:absolute;width:9px;height:9px;background:#7effff;border-radius:50%;top:-4px;left:-3px}.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.shortcuts button{padding:10px 2px;background:#f4f9ffdf;color:#1f315d;border:1px solid white;font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.toolbar h2{margin:0}.quiet{background:#e8efff;color:#4965a5;padding:7px 9px;font-size:12px}.empty{padding:20px 5px;text-align:center;color:#71809b;font-size:13px}.route{display:flex;justify-content:space-between;margin-top:25px;position:relative}.route:before{content:"";height:3px;background:#abd3ff;position:absolute;left:7%;right:7%;top:12px}.route span{font-size:12px;text-align:center;z-index:1}.route i{width:25px;height:25px;display:block;border-radius:50%;background:linear-gradient(#edfaff,#8dbfff);border:2px solid #d7ebff;margin:0 auto 7px}.route span:first-child i{background:linear-gradient(#67f4de,#08b6ad)}.route small{display:block;font-size:10px;margin-top:4px}.growth{position:relative}.growth h2{position:relative;z-index:1}.mountains{position:absolute;right:10px;top:10px;width:130px;height:56px;background:linear-gradient(145deg,#fff,#7eacff);clip-path:polygon(0 100%,35% 22%,47% 48%,66% 0,100% 100%);opacity:.6}progress{height:10px;border:0;border-radius:20px;overflow:hidden}progress::-webkit-progress-bar{background:#d9e4f5}progress::-webkit-progress-value{background:linear-gradient(90deg,#27d9b0,#09baa7);border-radius:20px}nav{padding:12px 5px 15px;border:1px solid white;border-radius:27px 27px 0 0;background:#f9fcfff2;box-shadow:0 -5px 20px #6896d21a}nav span{font-size:26px;margin-bottom:4px}nav button[aria-current=true]{color:#2357ff;background:none;font-weight:700}.pagebanner{padding:20px 6px 25px;color:#fff}.pagebanner h2{font-size:26px;margin:0 0 6px}.pagebanner small{color:#e6edff}.subpage{background:linear-gradient(155deg,#173e9b 0,#566ee8 180px,#e2efff 320px,#f1f7ff 100%);padding-top:12px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.grid.five{grid-template-columns:repeat(5,1fr)}.grid.two{grid-template-columns:1fr 1fr}.tile{padding:12px 3px;background:transparent;color:#172b53;font-size:12px}.tile i{display:block;margin:0 auto 8px;font-style:normal;border-radius:10px;width:37px;height:37px;line-height:37px;font-size:23px;color:white;background:linear-gradient(140deg,#9be7ff,#2784ee);box-shadow:inset 0 0 0 2px #ffffff70,0 4px 8px #739ada25}.tile:nth-child(2n) i{background:linear-gradient(140deg,#d8baff,#8255ef)}.tile:nth-child(3n) i{background:linear-gradient(140deg,#a7f9ed,#12b3b6)}.tile:nth-child(4n) i{background:linear-gradient(140deg,#ffdb82,#ff9540)}.inspire{padding:18px 13px;border-radius:15px;text-align:left;background:linear-gradient(125deg,#e1e4ff,#cfbeff);color:#1c2d57}.inspire:nth-child(2){background:linear-gradient(125deg,#ffe1ee,#e4d1ff)}.inspire:nth-child(3){background:linear-gradient(125deg,#e8e4ff,#dcd3ff)}.inspire:nth-child(4){background:linear-gradient(125deg,#e2f5ff,#9ed5ff)}.inspire small{display:block;font-size:11px;margin-top:6px}.academy{background:linear-gradient(125deg,#77aaff,#365be0 60%,#a08eff);color:white;padding:18px;border-radius:16px;border:2px solid white;box-shadow:0 4px 12px #516ce650;margin-bottom:16px}.academy b{font-size:19px}.academy p{font-size:12px;margin-bottom:0}.search{background:#f2f6ff;border-radius:20px;border:1px solid white;padding:10px 15px;margin-bottom:14px;color:#7386a7;font-size:12px}.radar{width:235px;display:block;margin:12px auto}.planrow{padding:13px;background:#ecf3ff;border-radius:12px;margin:5px 0;font-size:13px}.reward{background:white;border:1px solid #dbe8ff;border-radius:15px;text-align:center;padding:15px 6px;font-size:13px}.reward b{display:block;color:#d68716;margin-top:8px}.reward i{display:block;font-style:normal;font-size:34px;margin-bottom:8px}dialog{width:min(430px,92vw);max-height:85vh;border:1px solid white;background:#f5f9ff;color:#142b57;border-radius:24px;padding:22px}dialog::backdrop{background:#19345e70;backdrop-filter:blur(5px)}.close{float:right;background:#e6eeff;color:#49658f}textarea{width:100%;min-height:130px;font:inherit;border:1px solid #bed5f4;border-radius:10px;padding:12px}button:focus-visible{outline:3px solid #29c6ee;outline-offset:3px}@media(max-width:520px){body{padding:0}header{border-radius:0}header h1{font-size:18px}.welcome h2{font-size:17px}.avatar{width:70px;height:70px}.bot{width:110px}.botrow h2{font-size:23px}.botrow h2 small{font-size:11px}.head{inset:14px 8px 5px}.eye.left{left:15px}.eye.right{right:15px}.smile{left:27px}.antenna{left:55px}.bubble{font-size:13px}.day p{font-size:14px}.stats section{font-size:13px}}


.bot { animation: xiaozhi-float 4s ease-in-out infinite; cursor: pointer; transform-origin: 50% 75%; }
.bot .eye { animation: xiaozhi-blink 5.7s infinite; transform-origin: center; }
.bot .antenna::before { animation: xiaozhi-glow 2s ease-in-out infinite; }
.bot.reacting { animation: xiaozhi-greet .7s ease-in-out; }
.bubble { transition: opacity .2s, transform .2s; min-height: 42px; }
.bubble.changing { opacity: 0; transform: translateY(4px); }
@keyframes xiaozhi-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes xiaozhi-blink { 0%,40%,44%,73%,77%,100% { transform: scaleY(1); } 42%,75% { transform: scaleY(.12); } }
@keyframes xiaozhi-glow { 0%,100% { box-shadow: 0 0 4px #7effff; } 50% { box-shadow: 0 0 15px 4px #a2ffff; } }
@keyframes xiaozhi-greet { 0%,100% { transform: rotate(0); } 25% { transform: translateY(-9px) rotate(-9deg); } 65% { transform: translateY(-9px) rotate(9deg); } }
@media (prefers-reduced-motion: reduce) {
  .bot, .bot .eye, .bot .antenna::before, .bot.reacting { animation: none; }
  .bubble { transition: none; }
}


.profile-summary { display:flex;align-items:center;gap:16px;padding:24px 18px; }
.profile-summary h2 { margin:0 0 7px;font-size:23px; }
.profile-menu { padding:4px 16px; }
.profile-menu button { display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 2px;background:transparent;color:#142b57;border-radius:0;text-align:left;border-bottom:1px solid #e2ebf8; }
.profile-menu button:last-child { border-bottom:0; }
.profile-menu small { display:block;margin-top:5px;font-size:12px;font-weight:400; }
.profile-menu .chevron { color:#8b9cba;font-size:22px; }
.point-total { font-size:38px;color:#b97815;margin:12px 0; }


.creation-tools { gap:7px; }
.creation-tools .tile { min-width:0;padding:12px 1px 10px;border:1px solid #ffffffbf;border-radius:18px;background:linear-gradient(155deg,#ffffffce,#edf4ff80);box-shadow:0 5px 14px #3b67b00c;transition:transform .18s,box-shadow .18s,background .18s;font-size:11px;font-weight:600;letter-spacing:.1px; }
.creation-tools .tile i { position:relative;display:grid;place-items:center;overflow:hidden;width:44px;height:44px;margin-bottom:10px;border-radius:14px;background:linear-gradient(145deg,var(--icon-light),var(--icon-color));box-shadow:inset 0 1px 2px #ffffffc9,inset 0 -2px 3px #14387b12,0 5px 10px var(--icon-shadow); }
.creation-tools .tile i:before { content:"";position:absolute;inset:1px;border:1px solid #ffffff6b;border-radius:13px;pointer-events:none; }
.creation-tools .tile i:after { content:"";position:absolute;left:-8px;top:-20px;width:60px;height:42px;background:#ffffff28;transform:rotate(-30deg);border-radius:50%;pointer-events:none; }
.creation-tools svg { position:relative;width:26px;height:26px;z-index:1;filter:drop-shadow(0 1px 1px #22477918); }
.creation-tools .tile:nth-child(1) { --icon-light:#75deff;--icon-color:#3683ef;--icon-shadow:#3488ed28; }
.creation-tools .tile:nth-child(2) { --icon-light:#bc9aff;--icon-color:#8052e9;--icon-shadow:#8855df28; }
.creation-tools .tile:nth-child(3) { --icon-light:#70e7dd;--icon-color:#1cadb4;--icon-shadow:#13aca328; }
.creation-tools .tile:nth-child(4) { --icon-light:#ffd18a;--icon-color:#ff9b47;--icon-shadow:#f3983528; }
.creation-tools .tile:nth-child(5) { --icon-light:#7fcaff;--icon-color:#4d78eb;--icon-shadow:#4482de28; }
@media(hover:hover){.creation-tools .tile:hover { transform:translateY(-3px);background:#fff;box-shadow:0 8px 18px #3b67b01c; }}
.creation-tools .tile:active { transform:translateY(1px) scale(.96);box-shadow:0 2px 6px #3b67b015; }
.creation-tools .tile:focus-visible { outline:3px solid #448aff;outline-offset:3px; }
@media(prefers-reduced-motion:reduce){.creation-tools .tile{transition:none}}


.branded-title { display:flex;align-items:center;gap:12px; }
.page-brand-logo { width:52px;height:42px;object-fit:contain;flex-shrink:0; }
.learning-link { display:block;width:100%;padding:16px;text-align:left;background:linear-gradient(125deg,#edf8ff,#eeeaff);color:#142b57;border:1px solid white;border-radius:15px;margin:10px 0; }
.learning-link small { display:block;margin-top:6px;font-weight:400;color:#71809b; }


[hidden]{display:none!important}
.search { padding:8px 14px; border-radius:24px; }
.search input[type="search"] { box-sizing:border-box; display:block; width:100%; min-width:0; min-height:44px; padding:10px 6px !important; font-size:16px; line-height:24px; border:0; border-radius:12px; outline:none; appearance:none; -webkit-appearance:none; color:#142b57; }
.search input[type="search"]::placeholder { color:#71809b; opacity:1; }
.search:focus-within { box-shadow:0 0 0 3px #1677ff30; border-color:#84b5ff; }
.search [data-search-results]:empty { display:none; }
