.profile-dialog{width:min(520px,calc(100vw - 30px));padding:28px;background:linear-gradient(145deg,#fff,#f1f4ff)}
.profile-dialog form{display:grid;gap:12px}.profile-dialog .page-heading{padding:4px 0 12px}.profile-dialog .page-heading h2{font-size:27px;margin:12px 0 3px}.profile-dialog label{font-weight:bold;color:#465477;font-size:14px}.profile-dialog input{width:100%;min-height:50px;padding:12px 15px;font-size:16px}.profile-dialog .actions{margin-top:8px;display:flex;justify-content:flex-end;gap:12px}.profile-dialog .actions .button{min-width:105px}.reset-link{justify-self:center;margin-top:4px;color:#a65e67}
.reward-quest{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(230px,.7fr);gap:20px;align-items:center;overflow:hidden;margin:0 0 22px;padding:30px 38px;border:3px solid #fff;border-radius:32px;background:linear-gradient(112deg,#fff2cf 0%,#fff8e7 50%,#f1f2ff 100%);box-shadow:inset 0 2px 0 #fff,0 8px 0 #e7dfca,0 17px 28px #7d755116}
.reward-quest:before,.reward-quest:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.reward-quest:before{width:320px;height:320px;right:5%;top:-220px;background:#ffffff70}.reward-quest:after{width:190px;height:190px;right:23%;bottom:-150px;background:#ffeab266}
.quest-copy,.quest-trophy{position:relative;z-index:1}.quest-kicker{display:inline-flex;padding:7px 12px;border:1px solid #fff;border-radius:999px;background:#fffdf5;box-shadow:0 3px 0 #eadfc8;color:#8e7136;font-size:12px;font-weight:bold}.quest-copy h2{margin:14px 0 6px;color:#4a5075;font-size:clamp(23px,3vw,33px)}.quest-copy p{margin:0 0 12px;color:#71738a;line-height:1.7}.quest-count{display:flex;align-items:baseline;gap:8px;color:#877340}.quest-count b{font-size:45px;line-height:1.1;color:#d49b34;text-shadow:0 3px 0 #f1dfae}.quest-count span{font-weight:bold}.reward-quest progress{display:block;width:100%;height:17px;margin:12px 0 7px;padding:3px;border:1px solid #fff;background:#eadfca;box-shadow:inset 0 2px 3px #927b3a30}.reward-quest progress::-webkit-progress-bar{border-radius:20px;background:#eadfca}.reward-quest progress::-webkit-progress-value{background:linear-gradient(90deg,#ffcf5b,#ff9e67);border-radius:20px;box-shadow:inset 0 1px 1px #ffffff90}.reward-quest progress::-moz-progress-bar{background:linear-gradient(90deg,#ffcf5b,#ff9e67);border-radius:20px}.quest-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#828097;font-size:12px}.quest-foot .text-button{min-height:40px;padding:8px 12px;background:#ffffffa8;border:1px solid #fff;border-radius:12px;color:#676d9c}
.quest-trophy{justify-self:center;display:grid;place-items:center;width:218px;height:205px;border-radius:50%;background:radial-gradient(ellipse,#fff9dc 0 38%,#ffffff91 39% 58%,transparent 59%)}.trophy-cup{display:grid;place-items:center;width:105px;height:105px;font-size:72px;filter:drop-shadow(0 8px 1px #b28a3c45);animation:trophy-float 3s ease-in-out infinite}.trophy-stars{position:absolute;top:20px;color:#dfa936;font-size:21px;letter-spacing:7px;text-shadow:0 2px #fff}.trophy-spark{position:absolute;font-size:29px;color:#edb844}.spark-a{top:49px;right:20px}.trophy-plinth{position:absolute;bottom:24px;padding:9px 16px;border:2px solid white;border-radius:13px;background:linear-gradient(#fff,#f4e7bd);box-shadow:0 4px 0 #dec991;color:#80693e;font-weight:bold;font-size:12px;white-space:nowrap}
.achievement-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:0 0 31px}.achievement-strip>div{display:grid;grid-template-columns:43px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px;padding:15px 18px;border:2px solid white;border-radius:22px;background:linear-gradient(145deg,#fff,#f3f5ff);box-shadow:0 5px 0 #dfe4f1,0 10px 18px #64749b0d}.achievement-strip>div>span{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#fff2cb;box-shadow:0 3px 0 #ebdfbd;font-size:22px}.achievement-strip>div:nth-child(2)>span{background:#e7efff;box-shadow:0 3px 0 #d7e1f5}.achievement-strip>div:nth-child(3)>span{background:#e7f7ef;box-shadow:0 3px 0 #d2e9dc}.achievement-strip b{font-size:20px;color:#586cae}.achievement-strip small{color:#7e879c;font-size:11px}
.progress-section-title{margin:0 2px 16px}.progress-subject-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.subject-progress-card{min-width:0;padding:23px;border-top:5px solid #b8c9ee}.subject-progress-card.chinese-progress-panel{border-top-color:#e8ae9d}.subject-progress-card.math-progress-panel{border-top-color:#edcf72}.subject-progress-card.thai-progress-panel{border-top-color:#dda9c8}.subject-progress-card.science-progress-panel{border-top-color:#9dccb3}.subject-progress-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.progress-subject-icon{display:grid;place-items:center;width:52px;height:52px;flex:0 0 auto;border-radius:17px;background:linear-gradient(145deg,#fff7dc,#f2dfa7);box-shadow:0 4px 0 #e7ddb9;font-size:28px}.subject-progress-head h2{margin:3px 0 0;font-size:20px;color:#465171}.subject-progress-head .eyebrow{font-size:9px}.medal-chip{margin-left:auto;max-width:130px;padding:7px 9px;border:1px solid #edf0f6;border-radius:999px;background:#fff;color:#8b784a;font-size:10px;font-weight:bold;text-align:center}.progress-track-label{display:flex;justify-content:space-between;color:#747e96;font-size:12px}.progress-track-label b{color:#5369a8}.subject-progress-card>progress{display:block;margin:8px 0 16px;height:12px}.subject-progress-card>progress::-webkit-progress-value{background:linear-gradient(90deg,#a9bdec,#758bd3)}.subject-progress-card>progress::-moz-progress-bar{background:linear-gradient(90deg,#a9bdec,#758bd3)}.subject-progress-card .stats{gap:9px}.subject-progress-card .stats>div{padding:0 10px 12px;min-width:0}.subject-progress-card .stats b{font-size:23px}.progress-extra{min-height:20px;margin:11px 0;color:#717b92;font-size:12px;line-height:1.75}.progress-extra p{margin:5px 0}.subject-progress-card>.button{width:100%;min-height:47px;padding:11px 16px;font-size:13px}
@keyframes trophy-float{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@media(max-width:700px){.reward-quest{grid-template-columns:minmax(0,1fr) 135px;padding:23px 19px;border-radius:26px;gap:0}.quest-trophy{width:145px;height:150px;margin-right:-17px}.trophy-cup{font-size:57px}.trophy-stars{font-size:14px;top:12px}.trophy-plinth{bottom:10px;padding:7px 10px;font-size:10px}.spark-a{top:40px;right:8px}.quest-copy h2{font-size:23px}.quest-copy p{font-size:12px}.quest-count b{font-size:37px}.quest-foot{align-items:flex-start;flex-direction:column;gap:2px}.achievement-strip{gap:9px}.achievement-strip>div{grid-template-columns:34px 1fr;column-gap:8px;padding:12px 9px;border-radius:17px}.achievement-strip>div>span{width:33px;height:33px;border-radius:12px;font-size:17px}.achievement-strip b{font-size:16px}.achievement-strip small{font-size:9px}.progress-subject-list{grid-template-columns:1fr}.subject-progress-card{padding:20px 17px}.profile-dialog{padding:23px 19px}}
@media(max-width:380px){.reward-quest{grid-template-columns:minmax(0,1fr) 93px;padding:19px 13px}.quest-trophy{width:112px;height:130px;margin-right:-15px}.trophy-cup{font-size:48px}.trophy-plinth{font-size:8px;padding:6px 7px}.quest-copy h2{font-size:20px}.quest-copy p{font-size:11px}.quest-foot .text-button{font-size:11px;padding:7px 8px}.achievement-strip{gap:6px}.achievement-strip>div{grid-template-columns:1fr;justify-items:center;text-align:center;row-gap:5px;padding:10px 4px}.achievement-strip>div>span{grid-row:auto}.achievement-strip b{font-size:14px}.achievement-strip small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.trophy-cup{animation:none}}
