/* Shared community screens. Website changes stay within the requested surfaces. */
:root{--community-gold:var(--gold,#cbb183);--community-line:var(--border,#343238);--community-surface:var(--surface,#1a191f);--community-muted:var(--muted,#b1a99c)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
[data-faction="light"]{--faction-color:#e7bd60}[data-faction="dark"]{--faction-color:#dc626b}[data-faction="maniac"]{--faction-color:#83818f}[data-faction="peace"]{--faction-color:#7fbe98}
.progress-hub,.profile-v20{--community-line:var(--border,#343238);color:var(--text,#eee9df)}
.hub-header{position:relative;padding:30px 0 27px;margin-bottom:22px;border-bottom:1px solid var(--community-line)}
.hub-header h1{font:clamp(34px,5vw,54px)/1.1 Georgia,serif;margin:12px 0 16px;letter-spacing:-1px}
.hub-header>p{color:var(--community-muted);max-width:60ch;font-size:15px;line-height:1.7}
.hub-summary{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.hub-summary>span{display:flex;align-items:center;gap:8px;border:1px solid var(--community-line);border-radius:12px;padding:10px 14px;color:var(--community-muted);font-size:12px}.hub-summary b{color:var(--community-gold);font-size:18px}
.progress-filters,.profile-tabs,.rating-periods{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:5px;border:1px solid var(--community-line);border-radius:15px;background:color-mix(in srgb,var(--community-surface) 80%,transparent);margin:18px 0 22px}
.progress-filters button,.profile-tabs button,.rating-periods button{position:relative;flex:1 0 auto;min-height:46px;padding:10px 18px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--community-muted);font-weight:600;white-space:nowrap;transition:background .18s,color .18s,transform .12s}
.progress-filters button[aria-pressed="true"],.profile-tabs button[aria-pressed="true"],.rating-periods button[aria-pressed="true"]{background:linear-gradient(150deg,#dfc18c,#b3905c);color:#201b15;border-color:#e4c799;box-shadow:0 3px 10px #0003,inset 0 1px #fff5}
.progress-filters button:active,.profile-tabs button:active,.rating-periods button:active{transform:scale(.97)}
.progress-caption{color:var(--community-muted);margin:0 0 22px;font-size:13px}.mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.mission-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:24px;border-radius:20px;border:1px solid var(--community-line);background:radial-gradient(ellipse at 100% 0,#c9a9690c,transparent 60%),var(--community-surface);overflow:hidden}
.mission-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--community-muted)}.mission-kicker>span{display:flex;align-items:center;gap:6px}.mission-kicker .icon{width:17px;height:17px;color:var(--community-gold)}.mission-kicker>strong{flex:none;color:var(--community-gold);font-size:15px;font-variant-numeric:tabular-nums}
.mission-card h3{font:25px/1.2 Georgia,serif;margin:17px 0 10px}.mission-card>p{color:var(--community-muted);font-size:13px;line-height:1.7;margin:0 0 18px;min-height:42px}
.reward-items{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 20px}.reward-item{margin:0;display:flex;align-items:center;gap:11px;min-width:0;flex:1 1 150px;border:1px solid var(--community-line);padding:8px 11px 8px 5px;border-radius:13px;background:#0002}.reward-item img{width:62px;height:66px;object-fit:contain;flex:none}.reward-item figcaption{font-size:11px;color:var(--text,#eee9df);line-height:1.5}.reward-item[data-rarity="legendary"]{border-color:#aa804e80;background:linear-gradient(110deg,#a97b3c18,transparent)}
.mission-progress{margin-top:auto}.mission-progress>div,.profile-xp>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:9px;color:var(--community-muted)}.mission-progress b,.profile-xp b{color:var(--text,#eee9df);font-variant-numeric:tabular-nums}
.mission-progress progress,.profile-v20 progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;background:#8882;accent-color:var(--community-gold)}
.mission-progress progress::-webkit-progress-bar,.profile-v20 progress::-webkit-progress-bar{background:#8882;border-radius:8px}.mission-progress progress::-webkit-progress-value,.profile-v20 progress::-webkit-progress-value{background:linear-gradient(90deg,#9a794c,#dfc38d);border-radius:8px;transition:width .45s ease}.mission-progress progress::-moz-progress-bar,.profile-v20 progress::-moz-progress-bar{background:#cbb183;border-radius:8px}
.mission-footer{min-height:47px;display:flex;align-items:center;margin-top:18px}.mission-footer .button{margin:0;min-height:46px;font-size:12px}.mission-state{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--community-muted)}.mission-state .icon{width:16px;height:16px}.is-earned .mission-state{color:#9cbd9c}.mission-card.is-earned{background:radial-gradient(ellipse at 100% 0,#96b59410,transparent 65%),var(--community-surface)}.mission-card.is-claimable{border-color:#b69760;box-shadow:0 0 28px #c9a96912}.claim-reward{box-shadow:0 4px 20px #c9a96925}
.progress-empty{text-align:center;padding:60px 20px;border:1px dashed var(--community-line);border-radius:20px}.progress-empty>.icon{width:34px;height:34px;color:var(--community-gold)}.progress-empty h3{margin:16px 0 10px}.progress-empty p{color:var(--community-muted)}.quest-archive{margin-top:24px}.quest-archive>summary{padding:18px 0;cursor:pointer;font-size:15px}.quest-archive>summary span{color:var(--community-gold);font-size:12px;margin-left:10px}
.reward-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e8b96c;color:#211912;font-size:10px;font-weight:800;box-shadow:0 0 0 2px #211d22}.profile-tabs .reward-badge{margin-left:7px;box-shadow:none;background:#54412a;color:#f6dfb9}
/* Same composition and hierarchy for the web profile and Telegram. */
.profile-v20 .profile-showcase{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:20px;border:1px solid var(--community-line);border-radius:24px;background:radial-gradient(ellipse at 20% 30%,color-mix(in srgb,var(--faction-color,#cbb183) 9%,transparent),transparent 65%),var(--community-surface);overflow:hidden;margin-bottom:18px}
.profile-v20 .avatar-stage{position:relative;height:520px;min-height:0;display:flex;justify-content:center;align-items:center;padding:18px 9px 8px;margin:0;overflow:hidden;border-radius:17px;background:radial-gradient(ellipse at 50% 58%,#b9a67915,transparent 70%)}
.profile-v20 .avatar-stage>.profile-frame{height:480px;max-height:100%;width:min(100%,310px);margin:0}.profile-v20 .avatar-stage .avatar-render{height:100%;min-height:0}.profile-v20 .profile-stage-label{position:absolute;top:10px;left:0;right:0;text-align:center;color:var(--community-muted);font-size:9px;letter-spacing:2px;z-index:2;pointer-events:none}.profile-v20 .profile-orbit{position:absolute;bottom:10%;left:10%;width:80%;height:9%;border:1px solid #c2ab7940;border-radius:50%;background:radial-gradient(ellipse,#dbc59c15,transparent);pointer-events:none}
.profile-v20 .profile-identity{align-self:center;min-width:0;padding:18px 14px 18px 0}.profile-v20 .profile-identity h2{font:clamp(29px,3.7vw,43px)/1.13 Georgia,serif;letter-spacing:-.6px;overflow-wrap:anywhere;margin:10px 0 16px}.profile-v20 .profile-identity>.eyebrow{font-size:10px;letter-spacing:1.8px}.profile-photo-row{display:flex;align-items:center;gap:13px;margin-bottom:25px}.profile-real-photo{position:relative;display:grid;place-items:center;width:70px;height:70px;flex:none;border-radius:50%;background:linear-gradient(145deg,#403b35,#242126);border:2px solid #c7ad7780;box-shadow:0 5px 16px #0004;overflow:hidden}.profile-real-photo>span{font:24px Georgia,serif;color:#ddc99e}.profile-real-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-photo-row>div{display:flex;flex-direction:column;align-items:flex-start}.profile-photo-row .text-button{min-height:32px;padding:4px 0;font-size:11px;cursor:pointer}.profile-photo-row small{font-size:9px;color:var(--community-muted);margin-top:4px}.photo-picker{color:var(--community-gold)}
.profile-v20 .profile-badges{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 24px}.profile-v20 .profile-badges>span{font-size:11px;border:1px solid #cbb18330;color:var(--community-gold);border-radius:7px;padding:5px 9px;background:#cbb18309}.profile-v20 .profile-xp{margin:0 0 22px;padding:0;border:0;background:none}.profile-v20 .progress-explanation{font-size:11px;color:var(--community-muted);margin:8px 0 10px}.profile-v20 .level-explainer{font-size:11px;color:var(--community-muted)}.profile-v20 .level-explainer p{margin-top:9px;line-height:1.65}.profile-v20 .profile-motto{color:var(--community-muted);font-size:12px;line-height:1.7;margin:16px 0 22px}.profile-v20 .profile-actions{display:grid;gap:9px}.profile-v20 .profile-actions .button{margin:0;font-size:12px;min-height:47px}
.profile-v20 .profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin:0 0 22px;border:1px solid var(--community-line);border-radius:16px;overflow:hidden;background:var(--community-line)}.profile-v20 .profile-stats>div{display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--community-surface);padding:20px 8px;min-height:95px;border:0}.profile-v20 .profile-stats strong{font:28px/1.15 Georgia,serif;color:var(--community-gold);font-variant-numeric:tabular-nums}.profile-v20 .profile-stats span{font-size:10px;color:var(--community-muted);text-align:center;margin-top:8px}
.profile-tab-content{min-height:200px}.profile-v20 .panel{border-radius:18px;padding:24px;margin-bottom:17px}.profile-v20 .section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.profile-v20 .section-head h2{font:24px/1.2 Georgia,serif}.profile-v20 .section-head>span{color:var(--community-muted);font-size:12px}.profile-v20 .about-copy{color:var(--community-muted);font-size:14px;line-height:1.8;white-space:normal;margin:8px 0 20px;overflow-wrap:anywhere}.profile-faction-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--faction-color);border:1px solid color-mix(in srgb,var(--faction-color) 30%,transparent);padding:5px 10px;border-radius:20px}.profile-faction-tag i{width:6px;height:6px;border-radius:50%;background:var(--faction-color)}
.profile-v20 textarea{display:block;width:100%;resize:vertical;border:1px solid var(--community-line);border-radius:12px;padding:14px;color:var(--text,#eee9df);background:#0002;line-height:1.6;font-size:14px}.profile-v20 form>label{display:block;margin:10px 0;font-size:12px}.profile-v20 form>.caption{display:block}.profile-v20 .faction-choice{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}.faction-choice legend{font-size:12px;margin-bottom:12px}.faction-choice label{flex:1 1 70px;position:relative;cursor:pointer}.faction-choice input{position:absolute;opacity:0}.faction-choice span{display:flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--community-line);border-radius:10px;color:var(--community-muted);font-size:12px}.faction-choice input:checked+span{color:var(--faction-color);border-color:var(--faction-color);background:color-mix(in srgb,var(--faction-color) 10%,transparent)}.faction-choice input:focus-visible+span{outline:2px solid var(--community-gold);outline-offset:3px}
.profile-v20 .faction-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.profile-v20 .faction-stats>div{display:grid;grid-template-columns:1fr auto;gap:12px 5px;font-size:12px}.profile-v20 .faction-stats progress{grid-column:1/-1}.profile-v20 .faction-stats span{color:var(--faction-color)}.profile-v20 .result-history>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--community-line);font-size:12px}.profile-v20 .result-history strong{font-variant-numeric:tabular-nums;color:var(--community-gold)}.profile-v20 .onboarding{margin:18px 0 0}.profile-v20 .onboarding li{min-height:46px}.onboarding-earned{color:var(--community-gold);font-size:12px;border-top:1px solid var(--community-line);padding-top:15px}.profile-settings{display:grid;gap:15px}.profile-settings>.panel{margin:0}.profile-settings>.text-button{justify-self:center}
.profile-comments{margin-top:24px!important}.profile-comments>form{margin:18px 0 24px}.profile-comments form>div{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}.profile-comments form .button{width:auto;min-width:130px;margin:0;min-height:44px}.profile-comments form .caption{font-size:10px}.profile-comment{display:flex;gap:13px;padding:20px 0;border-top:1px solid var(--community-line)}.comment-avatar{position:relative;width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid #cbb18350;border-radius:50%;background:#bca47616;overflow:hidden;color:var(--community-gold)}.comment-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.comment-content{flex:1;min-width:0}.comment-content header{display:flex;align-items:center;justify-content:space-between;gap:15px}.comment-content header a{color:var(--community-gold);font-size:12px;font-weight:600}.comment-content time{color:var(--community-muted);font-size:10px;flex:none}.comment-content>p{font-size:13px;line-height:1.7;margin:10px 0;color:var(--text,#eee9df);overflow-wrap:anywhere}.comment-actions{display:flex;gap:14px;align-items:start}.comment-actions .text-button,.comment-actions summary{font-size:10px;color:var(--community-muted);cursor:pointer;min-height:36px;padding:7px 0}.comment-actions details{position:relative}.report-options{display:grid;position:absolute;z-index:5;min-width:145px;border:1px solid var(--community-line);border-radius:12px;padding:6px;background:var(--community-surface);box-shadow:0 10px 30px #0005}.report-options button{background:transparent;border:0;text-align:left;min-height:40px;border-radius:6px;padding:7px 10px;font-size:12px}.report-options button:hover{background:#8882}.comments-empty{text-align:center;color:var(--community-muted);font-size:13px;padding:30px 10px}.moderation-comment>p{margin:16px 0;white-space:pre-line}.moderation-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.moderation-actions>.button{width:auto;min-height:44px;margin:0}
.reward-dialog{max-width:min(500px,calc(100vw - 30px));width:500px;background:radial-gradient(ellipse at 50% 0,#c3a36822,transparent 65%),#1b191e;color:#eee9df;border:1px solid #cbb18380;border-radius:25px;padding:32px;text-align:center;box-shadow:0 20px 100px #0009;animation:reward-appear .32s ease-out}.reward-dialog::backdrop{background:#09090fd9;backdrop-filter:blur(6px)}.reward-dialog h2{font:32px/1.2 Georgia,serif;margin:14px 0}.reward-dialog .reward-star{font-size:70px;line-height:1.2;color:#e4c791;text-shadow:0 0 40px #d5aa6190;animation:reward-star .7s ease-out}.reward-dialog .reward-xp{font:46px Georgia,serif;color:#ddc08b;margin:17px 0 22px}.reward-dialog .reward-xp span{font:13px sans-serif}.reward-dialog .reward-items{justify-content:center}.reward-dialog form>p:not(.reward-xp){font-size:13px;color:#b8b0a4;line-height:1.7;margin:20px 0}.reward-dialog .button{margin:0;width:100%;min-height:48px;background:#cbb183;color:#211c16;border:0;border-radius:12px}.reward-dialog .eyebrow{color:#cbb183;font-size:9px;letter-spacing:2px}.reward-dialog .reward-item{max-width:280px;text-align:left}
@keyframes reward-appear{from{opacity:0;transform:translateY(15px) scale(.96)}to{opacity:1;transform:none}}@keyframes reward-star{from{opacity:0;transform:scale(.5) rotate(-35deg)}to{opacity:1;transform:none}}
/* Six comfortable navigation targets, including quests. */
body[data-client="miniapp"] .bottom-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:8px max(8px,var(--safe-right,0px)) calc(8px + var(--safe-bottom,0px)) max(8px,var(--safe-left,0px));background:linear-gradient(#29252bf5,#17151bf8);border-top:1px solid #8f775742;box-shadow:0 -7px 25px #0003;max-width:720px;left:50%;right:auto;width:100%;transform:translateX(-50%)}
body[data-client="miniapp"] .bottom-nav>a{position:relative;min-width:0;min-height:57px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:7px 1px;border:1px solid transparent;border-radius:13px;color:#a49b91;transition:transform .12s,color .18s,background .18s;flex:none;font-size:9px}
body[data-client="miniapp"] .bottom-nav>a .icon{width:21px;height:21px;stroke-width:1.7;filter:drop-shadow(0 2px 1px #0008)}body[data-client="miniapp"] .bottom-nav>a span:not(.reward-badge){font-size:9px;letter-spacing:0;line-height:1.2;white-space:nowrap}body[data-client="miniapp"] .bottom-nav>a.active{background:linear-gradient(145deg,#6a5331aa,#322a2299);border-color:#c4a16b65;color:#f0d7a8;box-shadow:inset 0 1px #e7c48b38,0 3px 8px #0003}body[data-client="miniapp"] .bottom-nav>a.active::after{display:none}body[data-client="miniapp"] .bottom-nav>a:active{transform:scale(.94);background:#66533a66}body[data-client="miniapp"] .bottom-nav .reward-badge{position:absolute;top:2px;right:5px}
/* Ratings combine a real player portrait with their existing hero. */
.identity-portrait{position:relative;display:inline-block;width:68px;height:90px;flex:none}.identity-hero{display:block;width:100%;height:100%;overflow:visible}.identity-hero .profile-frame{height:100%;width:100%;margin:0}.identity-hero .avatar-render{height:100%;min-height:0}.identity-photo{position:absolute;right:-7px;bottom:-1px;width:30px;height:30px;display:grid;place-items:center;border:2px solid #d9c092;border-radius:50%;background:#28232a;box-shadow:0 3px 8px #0007;overflow:hidden;z-index:3}.identity-photo>span{font:11px Georgia,serif;color:#e2cba2}.identity-photo img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.identity-portrait.large{width:100px;height:138px}.identity-portrait.large .identity-photo{width:39px;height:39px;right:-3px;bottom:0}.player-dual{display:flex;align-items:center;gap:19px;min-height:114px}.player-dual .player-identity{min-width:0;flex:1}.player-dual .player-identity strong{display:block;font-size:14px}.player-dual .player-identity>span,.player-dual .player-identity>small{display:block;font-size:10px;color:var(--community-muted);margin-top:5px}.player-dual .player-score{text-align:right;font-variant-numeric:tabular-nums}.player-dual .player-score>strong{font:28px Georgia,serif;color:var(--community-gold)}.player-dual .player-score>small{display:block;color:var(--community-muted);font-size:10px}.podium-dual{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 8px 20px;border:1px solid var(--community-line);border-radius:20px;background:radial-gradient(ellipse at 50% 25%,#cbb18312,transparent),var(--community-surface)}.podium-dual.podium-0{border-color:#ae8e59;margin-top:0}.podium-dual .podium-place{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--community-gold)}.podium-dual .podium-place .icon{width:19px;height:19px}.podium-dual .podium-player-title{font-size:10px;color:var(--community-muted);text-align:center}.podium-dual .podium-name{text-align:center;font-size:14px;line-height:1.4}.podium-dual .podium-score{font:32px Georgia,serif;color:var(--community-gold)}.podium-dual .podium-score small{display:block;text-align:center;font:9px sans-serif;margin-top:7px;color:var(--community-muted)}
.site-rating-photo{position:absolute;right:-6px;bottom:-3px;width:36px;height:36px;border:2px solid #d8bd86;border-radius:50%;background:#242028;display:grid;place-items:center;overflow:hidden;z-index:3;font:13px Georgia,serif;color:#ead5ae}.site-rating-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rank-avatar,.podium-avatar{position:relative}
.seats .seat.taken[data-faction="light"]{background:#e7bd60;border-color:#f4d88e}.seats .seat.taken[data-faction="dark"]{background:#be424c;border-color:#df7077}.seats .seat.taken[data-faction="maniac"]{background:#575560;border-color:#97949f}.seats .seat.taken[data-faction="peace"]{background:#669d78;border-color:#95c6a4}
/* Wardrobe choices swipe horizontally and preserve instant preview. */
.appearance-choice{border:0;padding:0;margin:0;min-width:0}.appearance-choice legend{font-size:11px;color:var(--muted);margin-bottom:10px}.appearance-options{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 3px 10px;scrollbar-width:thin}.appearance-options label{position:relative;cursor:pointer;flex:none;scroll-snap-align:start}.appearance-options input{position:absolute;opacity:0}.appearance-options span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid var(--border);border-radius:11px;background:var(--surface);font-size:11px;transition:background .16s,border-color .16s,transform .12s}.appearance-options input:checked+span{background:#cbb18320;color:var(--gold);border-color:#cbb18395;box-shadow:inset 0 1px #cbb18322}.appearance-options input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.appearance-options label:active span{transform:scale(.96)}.wardrobe-editor .edit-grid{grid-template-columns:1fr;gap:16px}.slot-tabs{overscroll-behavior-x:contain;scroll-snap-type:x proximity}.slot-tabs>button{min-height:44px;scroll-snap-align:start}.named-reservation{border-top:1px solid var(--border);margin-top:22px;padding-top:22px}.named-reservation label{display:block;margin-bottom:10px;font-size:12px}.named-reservation select{min-height:46px;max-width:100%}
.home-brand{text-align:center;padding:18px 5px 27px}.home-brand h1{font:clamp(34px,7vw,48px)/1.15 Georgia,serif;letter-spacing:-.8px;margin:13px 0;color:var(--text)}.home-brand h1 span{color:var(--gold)}.home-brand>p{max-width:39ch;font-size:12px;line-height:1.7;margin:0 auto;color:var(--muted)}.home-brand small{display:block;color:var(--gold);font-size:10px;margin-top:16px}
.hero .world-title{position:relative;text-align:center;grid-column:1/-1;padding:20px 0 15px}.hero .world-title h1{position:static;font:clamp(46px,6.8vw,94px)/1.06 Georgia,serif;letter-spacing:-2px;margin:10px 0 20px;color:var(--text,#f0e8d9)}.hero .world-title h1 span{color:var(--gold,#cbb183)}.hero .world-title>p{max-width:650px;margin:auto;font-size:clamp(15px,1.6vw,21px);line-height:1.6;color:var(--muted,#c8bdac)}.hero .world-title::before{content:"";position:absolute;inset:-60px -5vw;pointer-events:none;background:radial-gradient(ellipse at center,#c1a26412,transparent 70%);z-index:-1}.hero .hero-grid{row-gap:20px}.hero .hero-logo{display:none}
@media(min-width:1000px){body[data-client="site"].profile-page #app{max-width:1140px}.profile-v20 .mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-hub .mission-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.mission-grid,.progress-hub .mission-grid{grid-template-columns:1fr}.mission-card{padding:22px}.profile-v20 .profile-showcase{grid-template-columns:1fr;gap:0;padding:12px}.profile-v20 .avatar-stage{height:430px;padding-top:19px}.profile-v20 .avatar-stage>.profile-frame{height:400px;width:270px}.profile-v20 .profile-identity{padding:22px 13px 14px}.profile-v20 .profile-identity h2{font-size:33px}.profile-v20 .profile-photo-row{margin-bottom:22px}.profile-v20 .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-v20 .profile-stats>div{padding:16px 6px;min-height:88px}.profile-v20 .profile-stats strong{font-size:27px}.profile-v20 .profile-stats span{font-size:9px}.profile-v20 .panel{padding:20px}.profile-v20 .faction-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-tabs{gap:3px}.profile-tabs button{padding:10px 12px;font-size:11px}.profile-comments form>div{align-items:flex-end}.profile-comments form .caption{max-width:140px}.profile-comments form .button{min-width:105px;padding:10px 14px;font-size:11px}.comment-content header{align-items:flex-start;gap:8px}.comment-content header a{font-size:11px}.comment-content time{font-size:9px}.comment-avatar{width:36px;height:36px}.profile-comment{gap:10px}.profile-v20 .result-history>div{flex-wrap:wrap}.player-dual{gap:13px}.player-dual .identity-portrait{width:54px;height:76px}.player-dual .player-score>strong{font-size:25px}.podium-dual{gap:10px;padding:18px 5px 16px}.podium-dual .identity-portrait.large{width:72px;height:108px}.podium-dual .podium-name{font-size:11px}.podium-dual .podium-score{font-size:27px}.podium-dual .podium-player-title{font-size:9px}.hero .world-title{padding-top:0}.hero .world-title h1{letter-spacing:-1px}}
@media(max-width:360px){.profile-v20 .profile-showcase{padding:8px}.profile-v20 .profile-identity{padding:20px 8px 10px}.profile-v20 .avatar-stage{height:400px}.profile-v20 .avatar-stage>.profile-frame{height:375px}.profile-v20 .profile-identity h2{font-size:28px}.profile-tabs button{font-size:10px;padding:10px}.player-dual{gap:10px}.player-dual .player-identity strong{font-size:11px}.player-dual .player-identity>small{font-size:9px}.player-dual .identity-portrait{width:46px;height:68px}.podium-dual .identity-portrait.large{width:61px;height:94px}.podium-dual .identity-photo{width:29px;height:29px}.podium-dual .podium-player-title{display:none}.reward-dialog{padding:24px}.reward-dialog h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.reward-dialog,.reward-star{animation:none!important}.mission-progress progress::-webkit-progress-value,.profile-v20 progress::-webkit-progress-value{transition:none}.progress-filters button,.profile-tabs button,.rating-periods button,body[data-client="miniapp"] .bottom-nav>a,.appearance-options span{transition:none}}
/* Override the older stage rules only inside the new profile composition. */
.profile-v20 .profile-showcase{border:1px solid var(--community-line)!important;background:radial-gradient(ellipse at 20% 30%,color-mix(in srgb,var(--faction-color,#cbb183) 9%,transparent),transparent 65%),var(--community-surface)!important}
.profile-v20 .profile-showcase .avatar-stage{min-height:0!important;padding:18px 9px 8px!important;margin:0;background:radial-gradient(ellipse at 50% 58%,#b9a67915,transparent 70%)!important}
.profile-v20 .profile-showcase .avatar-stage .avatar-render{height:100%!important;max-width:none}.profile-v20 .profile-identity{padding:18px 14px 18px 0!important}.profile-v20 .profile-identity h2{font:clamp(29px,3.7vw,43px)/1.13 Georgia,serif!important;margin:10px 0 16px!important}.profile-v20 .profile-stats{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:1px!important;padding:0!important}.profile-v20 .profile-stats>div{padding:20px 8px!important;border:0!important;border-radius:0!important}.profile-v20 .profile-stats strong{font:28px/1.15 Georgia,serif!important;color:var(--community-gold)!important}.profile-v20 .profile-orbit{top:auto!important;aspect-ratio:auto;box-shadow:none}.profile-v20 .profile-stage-label{left:0;right:0}.profile-v20 .profile-motto{font-size:12px!important}.profile-v20 .profile-actions{max-width:none}
@media(max-width:850px){.profile-v20 .profile-showcase{grid-template-columns:1fr!important;gap:0}.profile-v20 .profile-identity{padding:22px 13px 14px!important}.profile-v20 .avatar-stage{height:430px}.profile-v20 .avatar-stage>.profile-frame{height:400px;width:270px}.profile-v20 .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.profile-v20 .profile-identity h2{font-size:33px!important}.profile-v20 .profile-stats>div{padding:16px 6px!important}}
@media(max-width:360px){.profile-v20 .avatar-stage{height:400px}.profile-v20 .avatar-stage>.profile-frame{height:375px}.profile-v20 .profile-identity{padding:20px 8px 10px!important}.profile-v20 .profile-identity h2{font-size:28px!important}.profile-v20 .profile-stats strong{font-size:27px!important}}
.profile-comments .report-options{bottom:calc(100% + 6px);top:auto;z-index:15}
