*{user-select:none;-webkit-user-select:none}input,textarea{user-select:text;-webkit-user-select:text}
#profilePeek{left:50%;top:50%;transform:translate(-50%,-50%);width:460px;height:800px;z-index:80;box-shadow:0 0 0 1000px #06161b80,0 12px 65px #062732aa}
#profilePeek .profile-close{z-index:10;width:40px;height:40px;top:12px;right:14px;cursor:pointer;background:#f4e9c8dd;border:1px solid #bda06b;border-radius:50%;font:28px Georgia}
#profilePeek .detail-heroes{top:341px}#profilePeek .detail-heroes button{min-width:0;padding:2px;background:#fff5dc66;border:1px solid #b99e70;color:#36514c}#profilePeek .detail-heroes button.selected{box-shadow:0 0 0 2px #ae7c25}#profilePeek .detail-heroes button:disabled{filter:grayscale(1);opacity:.5}#profilePeek .detail-heroes b,#profilePeek .detail-heroes small{display:block;font-size:10px}
.profile-inventory{position:absolute;top:476px;left:30px;right:30px;height:153px;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;font-size:11px;scrollbar-width:thin;scrollbar-color:#b39a5c #e8dcc6}.profile-inventory>span{display:flex;align-items:center;gap:4px}.profile-inventory .art-icon{width:30px;height:30px;flex-shrink:0}
#profilePeek #detailBuffs{top:642px}.profile-actions{position:absolute;top:682px;left:30px;right:30px;display:flex;gap:10px}.profile-actions button{flex:1;padding:12px 4px;color:#fff4d9;background:linear-gradient(#658d80,#355750);border:1px solid #b6a169;border-radius:5px;font:14px var(--serif)}
.nameplate .head-level{font:bold 18px Georgia!important;color:#fff5b0!important;text-shadow:1px 2px #173b38}.personal-bar{display:block;position:absolute;bottom:-4px;left:22px;right:0;height:5px;background:#18302a;border:1px solid #d4c391;border-radius:3px;overflow:hidden}.personal-bar>i{display:block;height:100%;background:linear-gradient(90deg,#22b292,#c3ffc1)}.nameplate.at-foot .seat-title{position:absolute;writing-mode:vertical-rl;left:-10px;bottom:18px;background:#f4ecd4de;color:#32524e;border:1px solid #bba36b;font:11px var(--serif);padding:3px 1px}.seat-attribute{position:absolute;right:0;bottom:26px;background:#173f4566;color:#fff3c8;font-size:10px;white-space:nowrap}
#liveDamage{position:absolute;right:19px;top:320px;width:135px;z-index:7;pointer-events:none;padding:9px;background:linear-gradient(90deg,transparent,#173139d9);font-size:10px;color:#fff0bd}#liveDamage:empty{display:none}#liveDamage>b{display:block;text-align:right;margin-bottom:7px}#liveDamage>div{display:grid;grid-template-columns:12px 1fr;gap:2px;margin:5px 0}#liveDamage span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#liveDamage strong{grid-column:2;font:12px Georgia;text-align:right}
#viewerRoster{position:absolute;top:948px;left:25px;right:25px;display:flex!important;gap:4px;flex-wrap:wrap;z-index:8}#viewerRoster button{position:relative;background:none;border:0;padding:0}#viewerRoster .face{width:28px;height:28px}#viewerRoster small{position:absolute;bottom:0;right:0;font:9px Georgia;color:#fff2b2}
body .app-shell:not(.cultivation-mode) .status-strip,body .app-shell:not(.cultivation-mode) .journey-card,body .app-shell:not(.cultivation-mode) #joinCue,body .app-shell:not(.cultivation-mode) #lootBadge{display:none!important}.command-panel{z-index:9!important}.cultivation-mode #liveDamage{display:none}
.codex-intro{font:25px var(--serif);color:#f7deb0;padding:15px}.codex-intro small{display:block;font:12px sans-serif;margin-top:12px}.weapon-card p{font-size:12px;line-height:1.8}.weapon-card small{font-size:11px;line-height:1.6}
#resultDialog{width:490px;max-height:960px;padding:24px;background:#12343bee url('art/v7/leaderboard.png') center/cover;color:#fff0c8;border:1px solid #cfac64}#resultRanks{max-height:690px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d1ac60 #15343a}.result-podium{display:flex;align-items:flex-end;height:240px;gap:5px;margin-bottom:12px}.result-podium article{flex:1;min-width:0;display:flex;align-items:center;flex-direction:column}.result-podium canvas{width:100px;height:125px}.result-podium .place-1{padding-bottom:25px}.result-podium .place-1 canvas{width:120px;height:150px}.result-podium .face{width:30px;height:30px}.result-podium b,.result-podium small{font-size:10px;max-width:135px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.result-row{align-items:flex-start!important;background:#112d32d9;padding:10px 5px!important;margin-top:5px;font-size:12px}.result-row>div{flex:1}.result-row p{font-size:11px;margin:5px 0;color:#caffd7}.earned-materials{display:flex;flex-wrap:wrap;gap:7px}.earned-materials span{display:flex;align-items:center;font-size:10px}.earned-materials .art-icon{width:25px;height:25px}
.skin-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.skin-gallery article{text-align:center;background:#153840aa;border:1px solid #b9a16966;border-radius:8px;padding:6px}.skin-art{display:block;width:190px;height:190px;background-size:500% 200%;background-repeat:no-repeat;margin:auto}.skin-gallery b,.skin-gallery small{display:block}.skin-gallery small,.skin-note{font-size:11px;line-height:1.8;color:#d3c6a1}.skin-heading{margin:20px 0 10px}
#cinemaChapter{margin-top:12px}#cinemaTitle{font-size:28px;margin-top:8px}#cinemaText{bottom:64px;font-size:18px;line-height:1.6}#cinemaProgress{bottom:40px}
#profilePeek{pointer-events:auto;right:auto}#profilePeek .profile-close{pointer-events:auto}#profilePeek .detail-heroes canvas{pointer-events:none}
#cultivation .weapon-card{height:auto;min-height:260px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7px;padding:12px}#cultivation .weapon-card>*{position:static!important;transform:none!important;inset:auto!important;margin:0}#cultivation .weapon-card canvas{width:100px;height:120px}#cultivation .weapon-card .weapon-large{width:95px;height:110px}#cultivation .weapon-card h3,#cultivation .weapon-card b,#cultivation .weapon-card p,#cultivation .weapon-card small{grid-column:1/-1}#cultivation .weapon-card h3{font-size:18px}#cultivation .weapon-card b{font-size:12px}#cultivation .weapon-card p{font-size:12px;color:#e6d9be}#cultivatePanel{scrollbar-width:thin;scrollbar-color:#c4a063 #16313a}

#resultDialog{height:920px;max-height:960px;overflow:hidden;background-image:linear-gradient(#12343b55,#12343be8),url('art/v7/leaderboard.png')}
#resultEmblem{display:none}#resultTitle{display:block!important;color:#fff0b8;text-shadow:0 2px 5px #12343b;margin:2px 0 8px;font-size:30px}#resultReward small{color:#fff0cb;font-size:13px}
#resultRanks{height:735px;max-height:735px;overflow:hidden;gap:10px}.result-podium{flex-shrink:0;height:255px;margin:0;background:linear-gradient(transparent,#173d42bb);border-bottom:1px solid #c6aa67}.result-podium b{font-size:14px;color:#fff5d4;padding:4px 1px}.result-podium small{font-size:12px;color:#f4d995}.result-podium .face{width:35px;height:35px}.result-list{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#d6b467 #163139;padding-right:6px}.result-list::-webkit-scrollbar{width:6px}.result-list::-webkit-scrollbar-thumb{background:linear-gradient(#f4d793,#a77c32);border-radius:8px}.result-row{gap:8px}.result-row strong{font-size:16px}.result-row small,.result-row p{font-size:12px}.earned-materials span{font-size:12px}.earned-materials .art-icon{width:30px;height:30px}#nextRoundClock{margin:10px 0 6px}#continueBtn{font-size:13px}

.app-shell:not(.cultivation-mode) .challenge-card{display:none!important}#returnLobby{top:305px;left:25px;bottom:auto;right:auto;width:48px;height:48px;border-radius:50%;z-index:20;background:#254840dc;border:1px solid #d7b573;font-size:0}#returnLobby::after{content:'↶';font:30px Georgia;color:#f5dca2}.cultivation-mode #viewerRoster{display:none!important}

/* Compact jade name ribbons: portrait on the lotus, details below it. */
.cultivation-mode .nameplate.at-foot{height:30px;width:106px;transform:translate(-50%,-50%);padding:3px 5px;background:linear-gradient(110deg,#133f43f2,#316c6bdb);border:1px solid #b2b895;border-radius:5px;box-shadow:0 2px 5px #11352d40;gap:5px}
.nameplate.at-foot .face{width:25px;height:25px;flex:none;border-color:#e0cca0}.nameplate.at-foot .head-copy{display:grid;grid-template-columns:1fr 24px;width:66px;gap:1px}.nameplate.at-foot strong{width:43px;max-width:43px;font-size:10px;color:#f9f4df}.nameplate.at-foot .head-level{grid-column:2;grid-row:1;font-size:17px!important;color:#fff2c2!important;text-shadow:none}.nameplate.at-foot .personal-bar{left:36px;right:5px;bottom:5px;height:3px;border:0;background:#0f3036}.nameplate.at-foot .personal-bar>i{background:linear-gradient(90deg,#47bdad,#ceefd4)}.nameplate.at-foot .seat-title{left:0;bottom:36px;font-size:9px;padding:3px 1px;border:0;border-radius:3px;background:#e5e8c9df;color:#235759}.nameplate.at-foot .seat-attribute{right:0;bottom:36px;background:#1a434baa;border-radius:3px;font-size:9px;color:#eee9cc;padding:1px 3px}
.command-panel{display:none!important}.champion-name .face{display:block;margin:0 auto 5px}.champion-name .medal{display:none}
#cultivation{display:block!important}#cultivatePanel{overflow:hidden!important}.codex-tabs{display:flex;justify-content:space-between;gap:6px}.codex-tabs button{flex:1;border:1px solid #9c986e;background:#183b43;color:#dbcda8;padding:10px 0;border-radius:5px}.codex-tabs button.active{background:#d0b379;color:#223d3c}.codex-hero{height:280px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at bottom,#5d908166,transparent 70%)}.codex-hero canvas{width:230px;height:270px}.codex-motion{display:flex;justify-content:center;gap:8px}.codex-motion button,.codex-open{border:1px solid #a39868;background:#24494c;color:#e5d2a4;border-radius:4px;padding:8px 12px}.codex-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding:12px 4px;scrollbar-width:thin;scrollbar-color:#bb9c5f #15353c}.codex-strip article{flex:0 0 78%;scroll-snap-align:center;text-align:center;background:#16383de8;border:1px solid #9f925c66;border-radius:12px;padding:8px}.codex-strip .skin-art{width:210px;height:210px}.codex-strip b,.codex-strip small{display:block;color:#eeddbc}.codex-strip small{font-size:11px;margin:8px}.codex-section{display:flex;align-items:center;justify-content:space-between;margin-top:8px;color:#eee3c8;font-size:17px}.codex-drawer{position:absolute;inset:auto 10px 0;max-height:75%;overflow:auto;z-index:25;background:linear-gradient(#24555a,#132f39);border:1px solid #bba772;border-radius:20px 20px 0 0;box-shadow:0 -40px 70px #061c2877;padding:20px;scrollbar-width:thin;animation:drawerIn .25s ease-out}.codex-drawer[hidden]{display:none}.codex-drawer header{position:static;display:flex;justify-content:space-between;color:#f6ddb1;font-size:22px;margin-bottom:18px}.codex-drawer header:before{display:none}.codex-drawer button{color:#f6ddb1;background:none;border:0;font-size:22px}.codex-drawer article{display:flex;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #b2a57a44}.codex-drawer .art-icon{width:65px;height:65px;flex:none}.codex-drawer b,.codex-drawer small{display:block;line-height:1.8}.codex-drawer small{font-size:12px;color:#bfd5ce}@keyframes drawerIn{from{transform:translateY(100%)}to{transform:translateY(0)}}
