.medal-collection .medal-grid{gap:20px}.medal-collection .medal-card{background:#f4f0e6;border-color:#ded7c8;border-radius:14px;padding:20px 20px 24px;box-shadow:0 2px #fff}.medal-collection .medal-card:before{content:"";pointer-events:none;background:radial-gradient(#fffdf6 0%,#e9e1cd55 48%,#0000 72%);border-radius:50%;position:absolute;inset:47px 25px 135px}.medal-collection .medal-card.earned{background:#faf6ec;border-color:#ccb991}.medal-collection .medal-card:hover{border-color:#b19d74;transform:translateY(-4px);box-shadow:0 15px 25px #3b3c3020}.medal-collection .medal-card:focus-visible{outline-offset:4px;outline:3px solid #487761}.medal-card .medal-serial{color:#777262;letter-spacing:.1em;font-variant-numeric:tabular-nums;font-size:10px}.medal-card .medal-serial b{color:#476755;float:right;font-size:9px;font-weight:500}.medal-object.crafted-medal{filter:drop-shadow(0 10px 7px #49341b22);width:190px;height:190px;margin:6px auto 0;transform:rotate(-4deg)}.medal-card:nth-child(2n) .crafted-medal{transform:rotate(4deg)}.medal-card:hover .medal-object.crafted-medal{filter:drop-shadow(0 16px 7px #49341b25);transform:rotate(0)translateY(-5px)}.medal-object.crafted-medal.medal-locked{opacity:1;filter:saturate(.75)drop-shadow(0 8px 6px #49341b18)}.crafted-medal .medal-light{opacity:.7}.medal-card:hover .medal-light{animation:.8s ease-out enamel-glimmer}@keyframes enamel-glimmer{0%,to{opacity:.5;transform-origin:47px 68px;transform:scale(1)}40%{opacity:1;transform-origin:47px 68px;transform:scale(1.9)}}.medal-collection .medal-title{color:#2f453c;margin:14px 0 5px;font-size:16px}.medal-collection .medal-card p{color:#757363;min-height:40px;margin:0;font-size:12px}.medal-collection .medal-status{margin-top:14px;font-size:11px}.medal-card .medal-track{background:#dedbcf;border-radius:5px;width:72%;height:3px;margin:12px auto 0;display:block;overflow:hidden}.medal-card .medal-track i{background:#9e8755;border-radius:5px;height:100%;display:block}.medal-collection.compact .medal-object.crafted-medal{width:145px;height:145px}.modal:has(.award-reveal){background:#183c35;border-color:#6a7961}.modal:has(.award-reveal) .modal-head{border-color:#ffffff18}.award-reveal .award-stage{height:330px}.award-reveal .award-stage .medal-object.crafted-medal{width:278px;height:278px;animation:1.45s cubic-bezier(.2,.8,.2,1) both enamel-reveal}@keyframes enamel-reveal{0%{opacity:0;transform:translateY(55px)rotate(-18deg)scale(.55)}60%{opacity:1;transform:translateY(-10px)rotate(5deg)scale(1.04)}to{opacity:1;transform:translateY(0)rotate(-4deg)scale(1)}}.award-reveal .award-halo{background:radial-gradient(#d6c48c26,#0000 68%);border-color:#d9c98f1a;width:292px;height:292px}.award-reveal .award-halo:after{border-color:#d9c98f16}.award-reveal .award-state{color:#e4ce94}.award-reveal p{color:#c7d4c9}.award-reveal .award-actions .btn{color:#2f4337;background:#e8d09b}.award-reveal .award-actions .btn.secondary{color:#f4e8cc;background:#244c42;border-color:#81907a}.award-reveal.is-locked .award-stage .medal-object.crafted-medal{animation:none}.collectible-frame{vertical-align:middle;isolation:isolate;flex-shrink:0;place-items:center;width:120px;height:120px;display:inline-grid;position:relative}.collectible-frame .frame-portrait{color:#37564d;background:#f0e8d6;border-radius:50%;place-items:center;width:58%;height:58%;font-size:clamp(16px,2vw,29px);font-weight:700;display:grid;position:absolute;top:21%;left:21%;overflow:hidden}.collectible-frame .frame-ornament{z-index:1;filter:drop-shadow(0 3px 2px #4a372920);pointer-events:none;width:100%;height:100%;position:relative;overflow:visible}.collectible-frame .frame-portrait .myna-art{width:127%;margin:5% -13% 0}.collectible-frame .frame-portrait .myna-art img{object-fit:contain}.avatar.reward-avatar{width:54px;height:54px;margin:0 1px;overflow:visible;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.reward-avatar .collectible-frame{width:60px;height:60px}.reward-avatar .frame-portrait{font-size:17px}.medal-collection .growth-card{background:#edf0e7;border-color:#d3d9c8;border-radius:15px;grid-template-columns:1fr 1fr;padding:26px 30px}.medal-collection .growth-reward{flex-direction:row;align-items:center;gap:14px;padding-left:20px;display:flex}.growth-reward .collectible-frame{width:96px;height:96px}.growth-reward .growth-reward-copy{flex-direction:column;gap:8px;display:flex}.growth-reward .growth-reward-copy strong{font-size:13px}.growth-reward .growth-reward-copy span{font-size:12px;line-height:1.7}.medal-collection .level-rewards{padding-top:28px}.level-rewards .reward-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.reward-heading h3{margin:0}.reward-heading p{color:#696456;margin:0;font-size:12px}.level-rewards .reward-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;max-height:640px;padding:5px}.level-rewards .reward-grid article{background:#f9f5eb;border-color:#ded8c8;border-radius:14px;gap:9px;padding:18px 14px 20px;position:relative}.level-rewards .reward-grid article.is-equipped{background:#eef2e9;border-color:#7c947d;box-shadow:inset 0 0 0 1px #7c947d}.level-rewards .reward-grid article.is-locked{background:#efeee8}.level-rewards .reward-grid article.is-locked .collectible-frame{filter:saturate(.4)}.reward-grid .frame-edition{color:#6c6251;letter-spacing:.1em;align-self:flex-start;font-size:9px;font-weight:650}.reward-grid .collectible-frame{width:135px;height:135px;margin:4px 0}.level-rewards .reward-grid .frame-name{color:#354e43;font-size:15px;font-weight:650}.level-rewards .reward-grid .frame-title{color:#696456;min-height:18px;font-size:11px;font-weight:400}.level-rewards .reward-grid button{border-radius:7px;justify-content:center;width:100%;min-height:36px;margin-top:9px;font-size:11px}.level-rewards .reward-grid article.is-equipped button{opacity:1;color:#fff8e8;background:#476b55;border-color:#476b55}@media (max-width:800px){.medal-object.crafted-medal{width:155px;height:155px}.medal-collection .growth-card{gap:20px;padding:22px}.medal-collection .growth-reward{gap:8px;padding-left:16px}.growth-reward .collectible-frame{width:80px;height:80px}}@media (max-width:600px){.medal-collection .medal-grid{gap:11px}.medal-collection .medal-card{border-radius:12px;padding:16px 9px 19px}.medal-card .medal-serial,.medal-card .medal-serial b{font-size:8px}.medal-object.crafted-medal{width:138px;max-width:100%;height:138px;margin-top:12px}.medal-collection .medal-title{font-size:14px}.medal-collection .medal-card p{font-size:11px}.medal-collection .medal-card:before{inset:42px 10px 125px}.medal-collection .growth-card{grid-template-columns:1fr}.medal-collection .growth-reward{justify-content:flex-start;padding:15px 0 0}.level-rewards .reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:3px}.level-rewards .reward-grid article{padding:14px 10px 17px}.reward-grid .collectible-frame{width:120px;max-width:100%;height:120px}.level-rewards .reward-heading{display:block}.reward-heading p{margin-top:9px}.award-reveal .award-stage{height:300px}.award-reveal .award-stage .medal-object.crafted-medal{width:250px;height:250px}}@media (prefers-reduced-motion:reduce){.crafted-medal,.medal-card:hover .medal-object.crafted-medal,.award-reveal .award-stage .medal-object.crafted-medal{transition:none!important;animation:none!important;transform:none!important}.medal-light{animation:none!important}}.collectible-frame .frame-portrait>img{object-fit:cover;width:100%;height:100%}.mystery-reward{width:190px;height:190px;margin:6px auto 0;display:block}.mystery-reward svg{width:100%;height:100%;display:block}.medal-card .mystery-reward{opacity:.84}.reward-grid .mystery-reward{width:135px;height:135px;margin:4px 0}.award-stage .mystery-reward{width:250px;height:250px}.medal-collection.compact .mystery-reward{width:145px;height:145px}@media (max-width:800px){.medal-card .mystery-reward{width:155px;height:155px}}@media (max-width:600px){.medal-card .mystery-reward{width:138px;max-width:100%;height:138px;margin-top:12px}.reward-grid .mystery-reward{width:120px;height:120px}}.buddy-family-grid .buddy-surprise-card{background:#eceee5;border:1px dashed #b9c2ad;align-items:center}.buddy-surprise-seal{color:#99a58c;background:#f5f3e9;border:2px dashed #b6bca7;border-radius:24px;flex-shrink:0;place-items:center;width:90px;height:90px;margin:20px;font:40px Georgia,serif;display:grid;transform:rotate(-5deg)}.buddy-family-grid .buddy-surprise-card h3{color:#657760;font-size:16px}
.hsk-sync-status{color:#264538;background:#f2f6ee;border:1px solid #d4dfd2;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin:0 0 16px;padding:12px 16px;font-size:14px;display:flex}.hsk-sync-status p{margin:0;line-height:1.55}.hsk-sync-status small{margin-top:4px;display:block}.hsk-sync-status.pending{color:#654a1b;background:#fff5e5;border-color:#e8cf9b}.hsk-sync-status button{flex-shrink:0}.hsk-draft-conflict{background:#fff9ed;border:1px solid #d8b079;border-radius:14px;margin:16px 0;padding:20px}.hsk-draft-conflict h3{margin-top:0}.hsk-draft-conflict dl{grid-template-columns:max-content minmax(0,1fr);gap:6px 12px;margin:8px 0 16px;display:grid}.hsk-draft-conflict dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.hsk-draft-conflict dt{font-weight:600}.hsk-listening-review{white-space:normal;background:#fffefa;border:1px solid #cdd9ca;border-radius:12px;padding:16px}.hsk-listening-review blockquote{white-space:pre-line;margin:16px 0;line-height:1.8}.hsk-listening-review button{white-space:normal;text-align:left}.hsk-listening-review .study-actions{flex-wrap:wrap}@media (max-width:700px){.hsk-sync-status{flex-wrap:wrap;align-items:flex-start}.hsk-draft-conflict dl{grid-template-columns:1fr}.hsk-draft-conflict .study-actions{flex-wrap:wrap}}
.profile-editor{width:100%}.profile-preview{border-bottom:1px solid var(--line);align-items:center;gap:24px;width:100%;padding-bottom:24px;display:flex}.profile-preview>.collectible-frame{flex-shrink:0;width:132px;height:132px}.profile-preview .frame-portrait>span{font-size:35px}.profile-preview h2{overflow-wrap:anywhere;font-size:25px}.profile-preview p{color:var(--muted);overflow-wrap:anywhere;margin:5px 0 9px;font-size:13px}.profile-preview small,.profile-save-row small,.profile-upload-row small{color:#68766a;font-size:12px;line-height:1.65;display:block}.profile-kicker{letter-spacing:.12em;color:#697861;font-size:10px;font-weight:700}.profile-avatar-field{border:0;width:100%;min-width:0;padding:0}.profile-avatar-field legend{margin-bottom:12px;font-size:13px;font-weight:650}.profile-avatar-options{flex-wrap:wrap;gap:10px;display:flex}.profile-avatar-options>button{cursor:pointer;color:#4b5e4f;background:#fafbf7;border:1px solid #dfe4d7;border-radius:16px;flex-direction:column;align-items:center;gap:5px;min-width:82px;padding:9px;font-size:12px;display:flex}.profile-avatar-options>button.selected{background:#edf4e8;border-color:#608363;box-shadow:0 0 0 1px #608363}.profile-avatar-options>button:focus-visible,.profile-upload:focus-within{outline-offset:3px;outline:3px solid #bd9a53}.profile-avatar-options>button img{object-fit:contain;width:58px;height:58px}.profile-initial{color:#335849;background:#e5edde;border-radius:50%;place-items:center;width:58px;height:58px;font-size:24px;display:grid}.profile-upload-row{align-items:center;gap:16px;margin-top:20px;display:flex}.profile-upload-row small{max-width:250px}.profile-upload{cursor:pointer;flex-shrink:0;position:relative}.profile-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.profile-save-row{align-items:center;gap:16px;display:flex}.profile-status{color:#315a39;background:#edf4e8;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.7}.profile-status.is-error{color:#a34730;background:#fff0e9}@media (max-width:600px){.profile-preview{align-items:flex-start;gap:13px}.profile-preview>.collectible-frame{width:100px;height:100px}.profile-preview h2{font-size:21px}.profile-upload-row,.profile-save-row{flex-direction:column;align-items:flex-start;gap:10px}.profile-avatar-options>button{min-width:72px}.profile-preview .frame-portrait>span{font-size:28px}}
