.avatar-wrap{display:inline-block;position:relative;width:100%;height:100%;flex-shrink:0;vertical-align:middle}.avatar-wrap>.avatar-img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-wrap>.avatar-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.avatar-wrap.has-frame>.avatar-img{position:absolute;left:16%;top:16%;width:68%!important;height:68%!important;border:0!important;box-shadow:none!important}.header-avatar{overflow:visible;background:none;border:0;box-shadow:none}.profile-avatar-edit>.avatar-wrap{width:100%;height:100%}.rank-row .avatar-wrap{width:44px;height:44px}.energy-chip,.wallet-chip{font-size:11px;padding:7px 12px;border-radius:20px;background:#fff7e3e6;color:#b58239;border:1px solid #efd5a9;white-space:nowrap}.wallet-chip{background:#fffdf0;color:#ab8638}.header-meta{gap:10px}.animated-progress{display:block;position:relative;width:100%;height:7px;background:#e5e9e0;border-radius:12px;overflow:hidden;flex-shrink:0}.animated-progress>i{display:block;width:var(--progress);height:100%;border-radius:12px;background:linear-gradient(90deg,#8bc8ba,#e7c77a);animation:progress-fill .8s cubic-bezier(.2,.8,.2,1) both;position:relative}.animated-progress>i:after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,transparent,#fff8,transparent);animation:progress-shine 2.8s infinite}.page-title>.animated-progress{width:250px;margin:12px auto 0}.atlas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;flex:1;min-height:0}.atlas-card{background:#fffdf4e8;border:1px solid #e9dfc9;border-radius:20px;padding:0;overflow:hidden;min-height:0;text-align:left;display:flex;flex-direction:column}.atlas-art{height:48%;min-height:0;background-size:cover;background-position:center 70%;display:grid;place-items:center}.atlas-art>.figure{height:100%;width:100%}.atlas-card.not-met .figure{filter:grayscale(.8);opacity:.55}.atlas-card>div:last-child{padding:13px 17px;min-height:0;display:flex;flex-direction:column;gap:7px}.atlas-card h2{font-size:18px;display:flex;justify-content:space-between;align-items:center;gap:4px}.atlas-card h2 small{font-size:10px;font-weight:400;color:#b5a16d}.atlas-card p{font-size:12px;color:#8b99a3}.atlas-card>div>small{font-size:10px;color:#a2a994}.friend-detail{text-align:center}.friend-detail>.figure{width:150px;height:170px;margin:auto}.friend-detail h2{font-size:20px}.friend-detail p{font-size:12px;color:#7f94a5;line-height:1.9;margin:13px 0}.friend-detail .animated-progress{width:80%;margin:auto}.mentor-quote{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:8;width:min(86%,420px);background:#fffdf0f2;border:1px solid #e7c992;border-radius:23px 23px 23px 4px;box-shadow:0 7px 28px #6b603317;padding:16px 20px;animation:quote-pop .3s ease-out;text-align:center}.mentor-quote>span{font-size:15px;line-height:1.9;color:#506d73}.mentor-quote>small{display:block;font-size:9px;color:#a6a087;margin-top:8px}.main-mentor[role=button]{cursor:pointer}.player-level{display:block;font-size:11px;color:#b28d4c;margin:9px 0 6px}.profile-identity>div>.animated-progress{height:6px;max-width:280px}.profile-identity>div>small{font-size:9px;color:#9da596;display:block;margin-top:4px}.modern-profile .profile-identity{max-height:180px;min-height:115px}.modern-profile .profile-stats>button{display:flex;flex-direction:column;align-items:center;flex:1;gap:2px;font-size:12px;border-right:1px solid #e9d9b8}.modern-profile .profile-stats>button>b{font-size:27px;color:#e48c2e}.game-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:5px;min-height:0}.game-setting-grid>button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:0;padding:8px 3px;min-height:0}.game-setting-grid>button b{font-size:13px}.game-setting-grid>button .ui-icon{width:28px;height:28px}.profile-unlock-tip{text-align:center;font-size:10px;color:#9c9f8b}.honor-title{font-size:10px;font-weight:600;letter-spacing:0;display:inline-block;max-width:130px;vertical-align:middle;margin-left:7px;padding:4px 9px;border-radius:10px 4px;background:linear-gradient(120deg,#fff7d5,#f1d48f);border:1px solid #e2bd6c;color:#9b6e30;line-height:1.25;text-shadow:0 1px #fff7}.honor-jade{background:linear-gradient(120deg,#edfff3,#bfe8d1);border-color:#9cccb7;color:#528772}.honor-blue{background:linear-gradient(120deg,#effaff,#badbf6);border-color:#99c1dc;color:#447ca5}.honor-pink{background:linear-gradient(120deg,#fff0f4,#f4cbd7);border-color:#dfa5ba;color:#ad6b82}.honor-purple{background:linear-gradient(120deg,#fbf2ff,#dac5ee);border-color:#baa1d2;color:#8c70a5}.mentor-nameplate h2 .honor-title{font-size:8px;padding:3px 5px;max-width:110px}.rank-row .honor-title{font-size:8px;padding:2px 5px;max-width:100px;display:block;margin:3px 0 0}.rank-row>div>span{min-width:0}.rank-scope-row{display:flex;justify-content:center;gap:15px;align-items:center;flex-shrink:0}.rank-scope-row select{font-size:12px;color:#516f88;padding:7px 15px;border:1px solid #deceb4;border-radius:20px;background:#fff9eb}.rank-scope-row button{font-size:11px;color:#b48b45;padding:8px 12px;background:#fff9e7;border:1px solid #ecd3a0;border-radius:20px}.shop-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.shop-heading h1{font-size:25px}.shop-heading>b{font-size:15px;color:#c28e3d}.shop-tabs{display:flex;justify-content:center;gap:8px;flex-shrink:0}.shop-tabs button{font-size:13px;color:#89958c;border-radius:20px;padding:7px 17px}.shop-tabs button.active{background:#ffe9bf;color:#b67c33}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:15px;flex:1;min-height:0}.shop-card{background:#fffdf4e8;border:1px solid #ede0c8;border-radius:21px;display:flex;align-items:center;flex-direction:column;padding:13px;min-height:0;gap:7px}.shop-item-art{flex:1;min-height:0;width:100%;display:grid;place-items:center}.shop-item-art img{max-width:100%;height:100%;max-height:135px;min-height:0;object-fit:contain}.shop-item-art .honor-title{font-size:16px;padding:8px 15px;margin:0;max-width:100%}.shop-card h2{font-size:16px}.shop-card p{font-size:11px;color:#a09478}.shop-card .art-button{font-size:13px;min-height:34px;min-width:150px;padding:4px 10px}.inventory-link{text-align:center;font-size:12px;color:#9d8657;padding:3px}.xp-crystal{display:grid;place-items:center;width:75px;height:75px;background:linear-gradient(130deg,#a5dcda,#758ed5);border:5px double #fff6;border-radius:23px;color:white;font-weight:900;font-size:26px;transform:rotate(-8deg)}.inventory-energy{text-align:center;font-size:12px;color:#a39377;margin-bottom:20px;line-height:1.8}.inventory-cards{display:flex;flex-direction:column;gap:15px}.inventory-cards article{display:flex;align-items:center;gap:12px}.inventory-cards img{width:70px;height:70px}.inventory-cards b{font-size:13px}.inventory-cards p{font-size:11px;margin-top:7px;color:#9ca28e}.inventory-cards .art-button{min-width:85px;min-height:34px;font-size:12px;padding:5px 12px;margin-left:auto}.frame-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:55dvh;overflow-y:auto}.frame-options button{min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:11px}.frame-options img{width:65px;height:65px}.frame-options small{font-size:8px}.cosmetic-locked img{filter:grayscale(.8);opacity:.55}.cosmetic-options{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-height:55dvh;overflow:auto}.cosmetic-options button{padding:8px;font-size:12px;color:#8c9b9d}.setting-note{text-align:center;font-size:11px;color:#9aa28d;line-height:1.8;margin-bottom:18px}.custom-avatar-upload{display:block;position:relative;text-align:center;background:#eff4e8;border:1px solid #dce8d2;border-radius:15px;padding:11px;font-size:12px;color:#789665;margin-top:17px;overflow:hidden}.custom-avatar-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.custom-avatar-upload.is-locked{background:#f1eee5;color:#a49d88}.friend-event{text-align:center}.friend-event>.figure{width:120px;height:135px;margin:5px auto}.friend-event .event-kicker{font-size:10px;color:#c29955}.friend-event h2{font-size:20px;margin:7px 0 14px}.friend-event>p{font-size:15px;line-height:1.8;color:#6d8394}.event-options{display:flex;flex-direction:column;gap:10px;margin-top:18px}.event-options button{text-align:left;border:1px solid #e4d7bb;background:#fffaf0;border-radius:13px;font-size:13px;line-height:1.7;padding:11px 14px}.growth-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;flex-shrink:0}.growth-stat-grid article{text-align:center;background:#fff7e9;border:1px solid #eaddc5;border-radius:17px;padding:18px 8px}.growth-stat-grid b{display:block;font-size:23px;color:#c2954d}.growth-stat-grid span{display:block;font-size:10px;color:#a3a895;margin-top:8px}.history-list{background:#fffdf3e8;border:1px solid #eee0c7;border-radius:20px;padding:23px;overflow-y:auto;flex:1;min-height:0}.history-list h2{font-size:16px;margin:20px 0 13px}.history-list h2:first-child{margin-top:0}.history-list p{font-size:12px;line-height:2;color:#8493a0;border-bottom:1px dashed #e7e2d2;padding:8px 0}.history-list small{color:#b3b59e;margin-right:9px}.asset-pending{opacity:.2}
@keyframes progress-fill{from{width:0}to{width:var(--progress)}}@keyframes progress-shine{0%,20%{transform:translateX(-110%)}80%,100%{transform:translateX(110%)}}@keyframes quote-pop{from{opacity:0;transform:translate(-50%,8px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:799px){.atlas-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.atlas-art{height:42%}.atlas-card>div:last-child{padding:10px 12px;gap:6px}.atlas-card h2{font-size:15px}.atlas-card p{font-size:10px}.atlas-card>div>small{font-size:9px}.shop-card{padding:10px;gap:6px}.shop-item-art img{max-height:115px}.shop-card h2{font-size:14px}.shop-card .art-button{min-width:120px;font-size:11px}.shop-card p{font-size:10px}}
@media(max-width:700px){.header-meta{gap:6px}.energy-chip,.wallet-chip{font-size:9px;padding:5px 7px}.header-avatar{width:39px;height:39px}.logo{width:135px}.page-title>.animated-progress{width:190px;height:5px;margin-top:9px}.atlas-grid,.shop-grid{gap:11px}.atlas-card{border-radius:18px}.atlas-card h2 small{font-size:8px}.atlas-card .animated-progress{height:5px}.atlas-card>div>small{font-size:8px;line-height:1.7}.shop-heading h1{font-size:21px}.shop-heading>b{font-size:12px}.shop-heading .image-button,.shop-heading .ui-icon{width:33px;height:33px}.shop-tabs{gap:2px}.shop-tabs button{font-size:11px;padding:6px 12px}.inventory-link{font-size:10px}.modern-profile{gap:9px}.modern-profile .profile-identity{min-height:110px;max-height:155px;padding:10px 14px;gap:12px}.modern-profile .profile-identity h2{font-size:21px}.modern-profile .profile-identity p{font-size:10px;margin-top:5px}.modern-profile .profile-stats>button{font-size:10px}.modern-profile .profile-stats>button>b{font-size:24px}.game-setting-grid>button{padding:6px 2px;gap:4px}.game-setting-grid>button b{font-size:11px}.game-setting-grid>button .ui-icon{width:25px;height:25px}.profile-unlock-tip{font-size:9px}.player-level{font-size:10px;margin:6px 0 4px}.modern-profile .profile-identity .honor-title{font-size:8px;padding:3px 5px;display:block;width:max-content;margin:5px 0 0}.modern-profile .profile-identity .avatar-wrap{width:100%;height:100%}.rank-row .avatar-wrap{width:36px;height:36px}.rank-scope-row{gap:9px}.rank-scope-row select{font-size:10px;padding:5px 10px}.rank-scope-row button{font-size:9px;padding:6px 9px}.rank-row .honor-title{font-size:7px}.frame-options{gap:8px}.frame-options img{width:46px;height:46px}.frame-options small{font-size:7px}.growth-stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.growth-stat-grid article{padding:13px 7px}.growth-stat-grid b{font-size:21px}.growth-stat-grid span{font-size:9px}.history-list{padding:17px}.history-list h2{font-size:14px}.history-list p{font-size:11px}.mentor-quote{padding:12px 15px;top:3px}.mentor-quote>span{font-size:13px}.mentor-quote>small{font-size:8px}.inventory-cards img{height:55px;width:55px}.inventory-cards b{font-size:11px}.inventory-cards .art-button{font-size:11px;min-width:70px}.setting-note{font-size:10px}.friend-event>p{font-size:13px}.event-options button{font-size:12px;padding:9px 12px}}
@media(max-height:700px){.modern-profile .profile-identity{min-height:90px;max-height:115px}.modern-profile .profile-identity h2{font-size:18px}.player-level{font-size:9px}.modern-profile .profile-identity>div>small{font-size:8px}.game-setting-grid{min-height:130px}.game-setting-grid>button .ui-icon{height:20px;width:20px}.game-setting-grid>button b{font-size:10px}.game-setting-grid>button{padding:3px 2px;gap:2px}.profile-unlock-tip{font-size:8px}.atlas-card h2{font-size:13px}.atlas-card p{font-size:9px}.atlas-card>div:last-child{padding:7px 10px;gap:4px}.atlas-card>div>small{font-size:8px}.shop-card h2{font-size:12px}.shop-card .art-button{min-height:29px;font-size:10px}.shop-item-art img{max-height:85px}.rank-scope-row select,.rank-scope-row button{font-size:9px}.rank-scope-row{gap:7px}.inventory-link{font-size:9px}.shop-tabs button{padding:5px 10px;font-size:10px}}
@media(orientation:landscape) and (max-height:500px){.atlas-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}.atlas-card{flex-direction:row}.atlas-art{height:100%;width:34%;flex-shrink:0}.atlas-card>div:last-child{flex:1;gap:3px;padding:6px 10px}.atlas-card h2{font-size:12px}.atlas-card p{font-size:8px}.atlas-card>div>small{font-size:7px}.shop-card{display:grid;grid-template-columns:65px 1fr;grid-template-rows:1fr 1fr;gap:2px 8px;padding:7px}.shop-item-art{grid-row:1/3;width:60px;height:60px}.shop-item-art img{height:60px;max-height:60px}.shop-card h2{font-size:11px;align-self:end}.shop-card p{display:none}.shop-card .art-button{font-size:9px;min-height:24px;min-width:120px;padding:2px 8px}.modern-profile{display:flex;gap:6px}.modern-profile .profile-identity{display:none}.modern-profile .profile-stats{height:45px;min-height:45px}.modern-profile .profile-stats>button>b{font-size:18px}.modern-profile .game-setting-grid{display:grid;grid-template-columns:repeat(5,1fr);min-height:85px;flex:1}.modern-profile .game-setting-grid>button{gap:2px}.modern-profile .profile-actions{min-height:29px;flex-direction:row}.modern-profile .profile-actions .art-button{min-height:29px}.profile-unlock-tip{position:absolute;top:6px;right:25px;font-size:8px}.rank-scope-row{position:absolute;left:25px;top:2px}.rank-scope-row select{font-size:8px;padding:3px 5px}.rank-scope-row button{font-size:8px;padding:4px}.frame-options{grid-template-columns:repeat(7,1fr)}.growth-stat-grid{grid-template-columns:repeat(4,1fr)}.growth-stat-grid article{padding:7px}.growth-stat-grid b{font-size:17px}.growth-stat-grid span{font-size:8px}.friend-event>.figure{display:none}.friend-event h2{font-size:17px}.friend-event>p{font-size:12px}.event-options{gap:6px;margin-top:10px}.event-options button{font-size:10px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.animated-progress>i,.animated-progress>i:after{animation:none}.mentor-quote{animation:none}}
/* 收藏图鉴：柔金边框、场景立绘、角色档案 */
.atlas-screen{gap:14px;padding:2px 4px}.atlas-heading{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:2px 4px 5px;gap:16px}.atlas-eyebrow{font-size:10px;letter-spacing:3px;color:#a98043}.atlas-heading h1{font-size:29px;color:#30566a;letter-spacing:3px;margin:3px 0}.atlas-heading p{font-size:12px;color:#7c9492}.atlas-completion{min-width:135px;text-align:right}.atlas-completion>b{font-size:31px;color:#b58a48;font-family:Georgia,serif}.atlas-completion>b>small{font-size:15px;color:#a2aca2}.atlas-completion>span{display:block;font-size:10px;color:#8d9a8d;margin:2px 0 8px}.atlas-grid{gap:18px}.atlas-card{position:relative;border:1px solid #d8c28f;border-radius:17px;background:linear-gradient(145deg,#fffdf4,#f4efde);box-shadow:0 5px 14px #617d7616,inset 0 0 0 3px #fff9e8;isolation:isolate;transition:transform .22s,box-shadow .22s;animation:card-arrive .45s both;animation-delay:var(--card-delay)}.atlas-card:before{content:'';position:absolute;inset:5px;border:1px solid #e8d7ac;border-radius:12px;pointer-events:none;z-index:3}.atlas-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #6c825c26}.atlas-card:focus-visible{outline:3px solid #e9a24b;outline-offset:3px}.atlas-art{position:relative;flex:1;min-height:55px;height:auto;background-position:center 72%;overflow:hidden;border-radius:16px 16px 0 0;background-color:var(--card-color)}.atlas-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#fff9eb 0%,#fff9eb00 32%,#214e5620 100%)}.atlas-art>.figure{position:relative;z-index:1;width:80%;height:96%;align-self:end;object-fit:contain;filter:drop-shadow(0 6px 6px #244c6333);transition:transform .4s}.atlas-card:hover .figure{transform:scale(1.055)}.atlas-card.not-met .figure{filter:saturate(.55) drop-shadow(0 6px 6px #244c6322);opacity:.83}.atlas-aura{position:absolute;left:20%;top:18%;width:60%;aspect-ratio:1;border-radius:50%;border:1px solid #fff8;box-shadow:0 0 0 10px #fff2,0 0 25px #fff6}.atlas-number,.atlas-status,.atlas-category{position:absolute;z-index:2;font-size:9px;letter-spacing:1px}.atlas-number{left:13px;top:13px;color:white;text-shadow:0 1px 3px #244c63;font-weight:700}.atlas-status{right:12px;top:11px;color:#7c6232;background:#fffbebed;border:1px solid #fff7;padding:3px 7px;border-radius:12px;font-size:8px;letter-spacing:0}.is-met .atlas-status{background:#e5f7ed;color:#42795e}.atlas-category{bottom:7px;left:15px;color:#7c856c;font-size:9px;letter-spacing:2px}.atlas-card>div.atlas-card-info{flex-shrink:0;padding:6px 16px 13px;gap:5px;position:relative;z-index:2}.atlas-name{display:flex;justify-content:space-between;align-items:center}.atlas-name h2{font-size:20px;color:#36566a;letter-spacing:1px}.atlas-name>span{font-size:10px;font-weight:700;color:#a48543;background:#f3e7c8;border-radius:8px 3px;padding:3px 6px}.atlas-card p.atlas-identity{font-size:10px;color:#aa8c57}.atlas-card p.atlas-brief{font-size:11px;color:#698180;line-height:1.6;min-height:18px}.atlas-bond{display:flex;justify-content:space-between;align-items:center;margin-top:3px;font-size:10px;color:#688b7e}.atlas-bond small{font-size:9px;color:#98a58c}.atlas-card .animated-progress{height:5px;background:#e4e9dd}.atlas-card .animated-progress>i{background:linear-gradient(90deg,#68b4a6,#b5dca7)}.atlas-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:3px}.atlas-card-footer small{font-size:9px;color:#a6a695}.atlas-card-footer>span{font-size:9px;color:#b38a4c}.header-avatar{position:relative;width:68px;height:68px;flex-shrink:0;overflow:visible;margin-bottom:5px}.header-level{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);min-width:44px;padding:3px 7px;background:linear-gradient(#fff6d4,#f0ce87);color:#835c24;border:1px solid #d7b477;box-shadow:0 2px 6px #967c3325;border-radius:9px;font-size:11px;line-height:1;font-weight:800;white-space:nowrap}.student-header{z-index:8}.header-meta{padding-right:3px}.sheet-dialog:has(.mentor-dossier){padding:0;width:min(600px,92vw);max-height:88dvh;overflow:auto;border:1px solid #e6cea1;background:#fffcf3;border-radius:25px}.mentor-dossier{padding-bottom:17px}.dossier-hero{height:205px;background-size:cover;background-position:center 65%;position:relative;overflow:hidden;padding:35px 28px;isolation:isolate}.dossier-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fdf9eafa,#fff8eaaa 48%,#fff0);z-index:-1}.dossier-hero>div{position:absolute;right:12px;bottom:-8px;width:42%;height:190px;z-index:-1}.dossier-hero .figure{width:100%;height:100%;object-fit:contain}.dossier-kicker{font-size:10px;letter-spacing:3px;color:#a78956}.dossier-hero h2{font-size:32px!important;color:#365c6a;margin:20px 0 8px!important;letter-spacing:4px;text-align:left!important}.dossier-hero p{font-size:11px;color:#718779;max-width:60%;line-height:1.8}.dossier-bond{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:17px 26px;background:#f4f3e6;font-size:12px;color:#698c7c}.dossier-bond small{font-size:10px;color:#9d9d83}.dossier-bond .animated-progress{width:100%;height:6px}.dossier-stories{padding:5px 26px}.dossier-stories>section{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid #eee6d4}.dossier-stories>section>span{font-family:Georgia,serif;font-size:23px;color:#d3bc8d}.dossier-stories h3{font-size:14px;color:#617b73;margin:0 0 7px}.dossier-stories p{font-size:13px;line-height:1.95;color:#7c8581}.bio-source{display:block;font-size:10px;color:#a38b5b;text-align:right;margin-top:13px}.dossier-note{padding:8px 26px 0;font-size:10px;color:#a4a78d;line-height:1.8}.frame-tier{font-size:9px;padding:3px 9px;border-radius:10px;color:#7b9984;background:#e9f3e8;letter-spacing:2px}.frame-tier-1{color:#5e91b6;background:#e3f1fc}.frame-tier-2{color:#9870aa;background:#f3e8fb}.frame-tier-3{color:#a97526;background:linear-gradient(110deg,#fff1bf,#f2d493,#fff2d7);border:1px solid #e8c87f}.shop-card:has(.frame-tier-3){border-color:#dcb56c;background:radial-gradient(at 50% 25%,#fff2bf,#fffaf0 68%);box-shadow:inset 0 0 0 3px #fff4d7}.shop-card:has(.frame-tier-2){border-color:#cdb5df;background:linear-gradient(#f9f1ff,#fffaf1)}
@keyframes card-arrive{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:799px){.atlas-grid{gap:11px}.atlas-heading h1{font-size:25px}.atlas-completion{min-width:105px}.atlas-card>div.atlas-card-info{padding:5px 12px 11px;gap:4px}.atlas-name h2{font-size:18px}.atlas-card p.atlas-brief{font-size:10px;min-height:30px}.atlas-identity{font-size:9px!important}.atlas-status{font-size:7px;right:9px}.header-avatar{width:58px;height:58px}.header-level{font-size:10px;min-width:39px;padding:3px 5px}.logo{width:122px}.energy-chip,.wallet-chip{font-size:9px;padding:5px 6px}.header-meta{gap:5px}.atlas-heading p{font-size:10px}.atlas-eyebrow{font-size:8px;letter-spacing:2px}.atlas-card-footer>span,.atlas-card-footer small{font-size:8px}}
@media(max-height:700px){.atlas-screen{gap:8px}.atlas-heading h1{font-size:23px}.atlas-heading p{display:none}.atlas-completion>b{font-size:24px}.atlas-completion>span{font-size:8px;margin-bottom:4px}.atlas-card>div.atlas-card-info{padding:3px 11px 9px;gap:3px}.atlas-name h2{font-size:16px}.atlas-card p.atlas-brief{font-size:9px;min-height:0;line-height:1.45}.atlas-card p.atlas-identity{font-size:8px}.atlas-category{font-size:8px;bottom:3px}.atlas-number{font-size:8px;top:10px;left:10px}.atlas-status{top:8px}.atlas-bond,.atlas-bond small,.atlas-card-footer>span,.atlas-card-footer small{font-size:8px}.atlas-card-footer{margin-top:1px}.atlas-name>span{font-size:8px}.header-avatar{width:52px;height:52px}.header-level{font-size:9px;min-width:36px}.dossier-hero{height:160px;padding-top:24px}.dossier-hero>div{height:155px}.dossier-stories>section{padding:12px 0}}
@media(orientation:landscape) and (max-height:500px){.header-avatar{width:40px;height:40px}.header-level{font-size:8px;min-width:31px;padding:2px 4px}.atlas-heading{padding:0}.atlas-eyebrow,.atlas-completion>span{display:none}.atlas-heading h1{font-size:19px}.atlas-completion{min-width:95px}.atlas-completion>b{font-size:20px}.atlas-art{height:100%;width:38%;flex:none}.atlas-card>div.atlas-card-info{flex:1;padding:5px 10px;gap:2px}.atlas-card p.atlas-brief{font-size:8px;min-height:0}.atlas-name h2{font-size:13px}.atlas-category,.atlas-status{display:none}.atlas-number{font-size:7px;left:8px;top:7px}.atlas-bond{margin:0}.atlas-card-footer{margin:0}.atlas-card-footer small{display:none}.atlas-card-footer>span{font-size:7px}.dossier-hero{height:130px}.dossier-hero>div{height:130px}}
@media(prefers-reduced-motion:reduce){.atlas-card{animation:none;transition:none}.atlas-card:hover{transform:none}.atlas-card .figure{transition:none}}

@media(min-width:800px) and (max-height:850px){.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-card{flex-direction:row}.atlas-art{width:43%;height:100%;flex:none;min-height:0;border-radius:16px 0 0 16px}.atlas-art>.figure{height:96%;width:100%}.atlas-art:after{background:linear-gradient(90deg,transparent 70%,#fff9eb)}.atlas-card>div.atlas-card-info{flex:1;min-width:0;justify-content:center;padding:12px 17px;gap:7px}.atlas-category{bottom:12px}.atlas-card p.atlas-brief{min-height:28px}.atlas-name h2{font-size:20px}}
@media(orientation:landscape) and (max-height:500px){.atlas-card>div.atlas-card-info{padding:5px 10px;gap:2px;justify-content:center}.atlas-card p.atlas-identity{display:none}.atlas-card p.atlas-brief{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:0;font-size:8px}.atlas-name h2{font-size:13px}.atlas-card-footer>span{font-size:7px}.atlas-art{width:34%}.atlas-category,.atlas-status{display:none}}
.atlas-art>.figure{position:absolute;left:10%;bottom:0;height:96%;width:80%;max-height:96%;object-fit:contain;object-position:center bottom}
@media(min-width:800px) and (max-height:850px){.atlas-art>.figure{left:0;width:100%}}
/* 每位先生的独立半身思考图 + 轻盈舞台，不占用输入区 */
.chat-portrait{position:relative;isolation:isolate}.chat-portrait.is-thinking>.bust-crop,.chat-portrait.is-thinking>span{visibility:hidden}.thinking-theatre{position:absolute;inset:-6px 0 0;display:flex;justify-content:center;align-items:flex-end;pointer-events:none;z-index:4;animation:thinking-enter .35s cubic-bezier(.2,.8,.2,1)}.thinking-bust{position:absolute;bottom:21px;left:50%;transform:translateX(-50%);height:calc(100% - 7px);width:240px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 7px #8aa58b24);z-index:2;transform-origin:center 85%;animation:thinking-sway 2.8s ease-in-out infinite}.thought-halo{position:absolute;bottom:29px;left:50%;width:155px;height:120px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#fff6d9d9,#ffecc666 50%,transparent 72%);z-index:0}.thinking-ribbon{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:5;min-width:235px;max-width:90%;padding:8px 20px 8px;border:1px solid #ead7b4;border-radius:24px;background:linear-gradient(115deg,#fffef5f5,#fff1dceF);box-shadow:0 5px 14px #9f955315;text-align:center;display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:center}.thinking-ribbon strong{font-size:11px;color:#a47f48;font-weight:600;letter-spacing:.5px}.thinking-caption{display:block;flex-basis:100%;font-size:10px;color:#a4987a;line-height:1.5;white-space:nowrap}.thinking-dots{position:absolute;right:12px;top:13px;display:flex;gap:3px}.thinking-dots i{height:3px;width:3px;border-radius:50%;background:#e5b66f;animation:thinking-dot 1.2s infinite}.thinking-dots i:nth-child(2){animation-delay:.18s}.thinking-dots i:nth-child(3){animation-delay:.36s}.thought-motif{position:absolute;font-size:19px;color:#d8b16b;text-shadow:0 2px #fff8;z-index:3;animation:thought-float 2.8s ease-in-out infinite}.m-one{left:calc(50% - 104px);top:30%;transform:rotate(-12deg)}.m-two{left:calc(50% + 75px);top:17%;animation-delay:-1.1s;font-size:25px}.m-three{left:calc(50% + 103px);top:55%;font-size:11px;animation-delay:-.5s}.thought-cloud{position:absolute;left:calc(50% + 55px);top:5px;width:49px;height:43px;background:#fffdf5;border-radius:50% 50% 45% 48%;border:1px solid #e8dabf;z-index:4;box-shadow:0 3px 10px #ccb17315;animation:thought-cloud 2.5s ease-in-out infinite}.thought-cloud>span{position:absolute;bottom:-9px;left:4px;width:11px;height:9px;border:1px solid #e8dabf;background:#fffdf5;border-radius:50%}.thought-cloud>span:nth-child(2){width:5px;height:5px;left:-3px;bottom:-16px}.thought-cloud b{font-family:Georgia,serif;font-size:26px;display:block;text-align:center;font-weight:600;color:#d3ac6c;transform:rotate(9deg)}.thought-orbit{position:absolute;left:50%;bottom:23px;width:150px;height:75px;transform:translateX(-50%) rotate(-9deg);border:1px dashed #dbc68a55;border-radius:50%;z-index:1;animation:orbit-breathe 3s ease-in-out infinite}.thought-orbit i{position:absolute;width:5px;height:5px;background:#e7c183;border-radius:50%;top:5px;left:20px;box-shadow:0 0 7px #ffdc77}.thought-orbit i:nth-child(2){left:auto;right:5px;top:auto;bottom:17px;background:#a8cfc2}.thought-orbit i:nth-child(3){left:80px;top:auto;bottom:-3px;width:3px;height:3px}.chat-portrait.answer-arrived .bust-crop{animation:answer-nod .5s ease-out}.chat-portrait:has(.thinking-theatre)~.chat-window .chat-bubble.typing{color:#a9a085;background:#fff9eacc;animation:thinking-text 1.8s infinite}
@keyframes thinking-enter{from{opacity:0;transform:translateY(9px) scale(.95)}to{opacity:1;transform:none}}@keyframes thinking-sway{0%,100%{transform:translateX(-50%) rotate(-2deg)}50%{transform:translateX(-50%) rotate(2deg) translateY(-3px)}}@keyframes thought-float{0%,100%{translate:0 0;opacity:.75}50%{translate:0 -8px;opacity:1}}@keyframes thought-cloud{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-5px) rotate(5deg)}}@keyframes thinking-dot{0%,65%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}@keyframes orbit-breathe{50%{transform:translateX(-50%) rotate(8deg) scale(1.07)}}@keyframes answer-nod{0%{transform:translateY(-3px)}40%{transform:translateY(4px)}100%{transform:none}}@keyframes thinking-text{50%{opacity:.5}}
@media(max-width:700px){.thinking-bust{width:200px}.thinking-ribbon{padding:6px 15px;min-width:215px}.thinking-ribbon strong{font-size:10px}.thinking-caption{font-size:9px}.thought-cloud{width:41px;height:36px;left:calc(50% + 43px)}.thought-cloud b{font-size:23px}.m-one{left:calc(50% - 85px);font-size:16px}.m-two{left:calc(50% + 71px);font-size:18px}.m-three{left:calc(50% + 88px)}.thinking-dots{top:11px;right:9px}.thought-halo{height:100px;width:130px}}
@media(orientation:landscape) and (max-height:500px){.thinking-bust{width:140px;bottom:16px}.thinking-ribbon{bottom:-5px;padding:4px 13px;min-width:180px}.thinking-ribbon strong{font-size:8px}.thinking-caption{font-size:7px}.thought-cloud{width:27px;height:23px;left:calc(50% + 35px);top:0}.thought-cloud b{font-size:17px}.thought-cloud>span{width:6px;height:5px;bottom:-5px}.thought-cloud>span:nth-child(2){width:3px;height:3px;bottom:-10px}.m-one{left:calc(50% - 65px);font-size:13px}.m-two{left:calc(50% + 57px);font-size:14px}.m-three{display:none}.thought-halo{height:65px;width:100px}.thought-orbit{width:100px;height:43px;bottom:17px}.thinking-dots{display:none}}
@media(prefers-reduced-motion:reduce){.thinking-theatre,.thinking-bust,.thought-motif,.thought-cloud,.thought-orbit,.thinking-dots i,.chat-portrait.answer-arrived .bust-crop,.chat-portrait:has(.thinking-theatre)~.chat-window .chat-bubble.typing{animation:none}}
/* 思考状态在整个学生端置顶居中，可以覆盖聊天窗；保持底层停止操作可点击。 */
.thinking-theatre{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#d9e7dd45;backdrop-filter:blur(2px);pointer-events:none;animation:thinking-backdrop-in .25s ease-out}.thinking-stage{position:relative;width:min(380px,88vw);height:370px;border:1px solid #f1d8a7;border-radius:36px;background:radial-gradient(ellipse at 50% 35%,#fffaf1ff,#fff9e8f5 65%,#f2faeff5);box-shadow:0 20px 80px #71835a26,inset 0 0 0 6px #fffdf8a1;animation:thinking-card-pop .4s cubic-bezier(.16,.9,.25,1.15);isolation:isolate}.thinking-stage:before,.thinking-stage:after{content:'✧';position:absolute;color:#dec08d;font-size:24px;left:23px;top:22px}.thinking-stage:after{left:auto;top:auto;right:24px;bottom:22px;font-size:17px}.thinking-stage .thinking-bust{height:290px;width:290px;bottom:62px}.thinking-stage .thinking-ribbon{bottom:22px;width:calc(100% - 42px);max-width:none;min-width:0;padding:10px 20px;border-radius:21px}.thinking-stage .thinking-ribbon strong{font-size:13px}.thinking-stage .thinking-caption{font-size:11px}.thinking-stage .thought-halo{height:220px;width:260px;bottom:75px}.thinking-stage .thought-cloud{top:26px;left:calc(50% + 72px);width:49px;height:43px}.thinking-stage .thought-cloud b{font-size:26px}.thinking-stage .thought-orbit{width:255px;height:120px;bottom:77px}.thinking-stage .m-one{left:23px;top:40%;font-size:24px}.thinking-stage .m-two{left:auto;right:22px;top:30%;font-size:27px}.thinking-stage .m-three{left:auto;right:34px;top:65%;display:block;font-size:15px}.thinking-stage .thinking-dots{display:flex;top:15px;right:15px}.answer-row{flex-wrap:nowrap;min-width:0;flex-shrink:0}.chat-references{flex-basis:auto;width:100%;max-width:100%;box-sizing:border-box;min-width:0}.chat-window .chat-messages{overflow-x:hidden}.chat-messages>.chat-bubble{flex-shrink:0}
@keyframes thinking-backdrop-in{from{opacity:0}to{opacity:1}}@keyframes thinking-card-pop{from{transform:translateY(18px) scale(.84);opacity:0}to{transform:none;opacity:1}}
@media(max-width:700px){.thinking-stage{height:335px;width:min(330px,88vw);border-radius:30px}.thinking-stage .thinking-bust{height:258px;width:258px;bottom:59px}.thinking-stage .thinking-ribbon{bottom:19px;padding:9px 17px}.thinking-stage .thinking-ribbon strong{font-size:12px}.thinking-stage .thinking-caption{font-size:10px}.thinking-stage .thought-orbit{width:230px;bottom:66px}.thinking-stage .thought-cloud{top:24px;left:calc(50% + 58px);width:43px;height:38px}.thinking-stage .thought-cloud b{font-size:24px}.thinking-stage .m-one{font-size:20px;left:17px}.thinking-stage .m-two{font-size:23px;right:17px}}
@media(orientation:landscape) and (max-height:500px){.thinking-stage{height:min(295px,80dvh);width:310px;border-radius:26px}.thinking-stage .thinking-bust{height:calc(100% - 57px);width:225px;bottom:53px}.thinking-stage .thinking-ribbon{bottom:13px;padding:7px 14px}.thinking-stage .thinking-ribbon strong{font-size:10px}.thinking-stage .thinking-caption{font-size:9px}.thinking-stage .thought-cloud{width:36px;height:32px;top:17px;left:calc(50% + 52px)}.thinking-stage .thought-cloud b{font-size:22px}.thinking-stage .m-one,.thinking-stage .m-two{font-size:18px}.thinking-stage .m-three{display:none}.thinking-stage .thought-orbit{width:210px;height:90px;bottom:56px}}
@media(prefers-reduced-motion:reduce){.thinking-theatre,.thinking-stage{animation:none}}
/* 聊天人物区1/3，聊天窗口2/3；顶部标题单独保留。 */
.chat-screen{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:42px minmax(0,1fr) minmax(0,2fr);grid-template-areas:'chat-title' 'chat-character' 'chat-content';gap:10px;max-width:1400px;height:100%;min-height:0}.chat-top{grid-area:chat-title;min-height:0}.chat-portrait{grid-area:chat-character;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden}.chat-window{grid-area:chat-content;min-width:0;min-height:0;width:100%;height:100%;grid-template-rows:minmax(0,1fr) 66px;box-sizing:border-box}.chat-portrait .bust-crop{width:100%;height:100%;max-height:none;mask-image:none;overflow:hidden}.chat-portrait .bust-crop .figure{position:static;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center bottom;transform:none;filter:drop-shadow(0 7px 8px #67878218)}.chat-portrait>span{right:12px;bottom:12px;max-width:100px;font-size:10px;line-height:1.7;display:block}.chat-window .chat-messages{padding:16px 18px;gap:13px}.chat-window .chat-only-controls{padding:7px 14px 9px}
@media(min-width:800px),(orientation:landscape){.chat-screen{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:42px minmax(0,1fr);grid-template-areas:'chat-title chat-title' 'chat-character chat-content';gap:12px 20px}.chat-window{grid-template-rows:minmax(0,1fr) 76px}.chat-window .chat-messages{padding:22px}.chat-portrait>span{right:22px;bottom:18px}}
@media(orientation:landscape) and (max-height:500px){.chat-screen{grid-template-rows:32px minmax(0,1fr);gap:6px 10px}.chat-window{grid-template-rows:minmax(0,1fr) 52px}.chat-window .chat-messages{padding:10px 12px;gap:9px}.chat-portrait>span{font-size:8px;right:6px;bottom:6px;max-width:70px}.chat-window .chat-only-controls{padding:4px 8px 6px}}

.chat-screen .chat-portrait{container-type:size;align-items:center;justify-content:center}.chat-screen .chat-portrait .bust-crop{position:relative;width:min(100cqw,125cqh,520px);height:min(100cqh,80cqw,416px);max-height:none;flex-shrink:0;overflow:hidden;mask-image:linear-gradient(#000 94%,transparent)}.chat-screen .chat-portrait .bust-crop .figure{position:absolute;left:50%;top:-8%;width:200%;height:200%;max-width:none;max-height:none;object-fit:contain;object-position:center top;transform:translateX(-50%)}
/* 云端语音播放时，立绘随音量轻微呼吸、光晕起伏。 */
.chat-portrait.is-speaking .bust-crop{filter:drop-shadow(0 0 calc(3px + var(--speech-level,0)*14px) #e8c57e88);animation:speaking-nod .7s ease-in-out infinite}.chat-portrait.is-speaking>span{font-size:0}.chat-portrait.is-speaking>span:after{content:'先生正在和你说话';font-size:10px;color:#b08b4e}.chat-portrait.is-speaking:after{content:'♪';position:absolute;right:12%;top:28%;color:#d7b574;font-size:23px;animation:thought-float 1.3s infinite}@keyframes speaking-nod{50%{translate:0 calc(var(--speech-level,.3)*-5px)}}@media(prefers-reduced-motion:reduce){.chat-portrait.is-speaking .bust-crop,.chat-portrait.is-speaking:after{animation:none}}

/* 播放语音时人物保持静止；思考弹窗动画单独保留。 */
.chat-portrait.is-speaking .bust-crop{animation:none!important;filter:none!important;translate:none!important}.chat-portrait.is-speaking:after{content:none!important;animation:none!important}.chat-portrait.answer-arrived .bust-crop{animation:none!important}
.mentor-event-button{position:absolute;top:12px;right:12px;z-index:12;display:grid;grid-template-columns:24px 1fr;gap:2px 5px;align-items:center;padding:9px 12px;border:1px solid #e9c784;border-radius:17px 17px 6px 17px;background:linear-gradient(130deg,#fffbea,#ffe8b9);box-shadow:0 4px 14px #a78a4322;color:#aa7d34;cursor:pointer;pointer-events:auto}.mentor-event-button>span{grid-row:1/3;font-size:23px;color:#e5ae4d}.mentor-event-button strong{font-size:12px;line-height:1.4}.mentor-event-button small{font-size:9px;color:#b29c71}.mentor-event-button:hover{box-shadow:0 5px 18px #b38a4336}.mentor-event-button:focus-visible{outline:3px solid #f0b85f;outline-offset:3px}.mentor-arena .mentor-event-button{top:8px;right:8px}@media(max-width:700px){.mentor-event-button{top:6px;right:7px;padding:7px 9px;grid-template-columns:18px 1fr}.mentor-event-button>span{font-size:19px}.mentor-event-button strong{font-size:10px}.mentor-event-button small{font-size:8px}}
