:root{--feature-panel:rgba(12,18,27,.84);--feature-line:rgba(151,174,202,.16);--feature-muted:#9aa9bb;--feature-accent:#e84b61}
/* Modern store discovery */
.store-toolbar{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(2,minmax(145px,.8fr));gap:9px;margin-bottom:14px;padding:11px;border:1px solid var(--feature-line);border-radius:14px;background:rgba(7,12,19,.55)}
.store-toolbar .social-input{min-width:0;margin:0}.shop-card,.coin-card,.inventory-card{position:relative;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.shop-card:before,.coin-card:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--feature-accent),transparent);opacity:.4}.shop-card:hover,.coin-card:hover,.inventory-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(0,0,0,.25)}.shop-item-image{width:100%;height:156px;object-fit:contain;background:radial-gradient(circle at 50% 48%,rgba(120,145,180,.14),rgba(7,11,18,.65) 72%);border-radius:11px}.shop-item-image-fallback{display:grid;place-items:center;font-size:48px;color:#e76b7c}.shop-empty{grid-column:1/-1;padding:26px}.shop-card .btn{transition:filter .18s ease,transform .18s ease}.shop-card .btn:hover{filter:brightness(1.13);transform:translateY(-1px)}
/* Sticker builder */
.sticker-admin-builder{margin-top:18px;padding:18px;border:1px solid rgba(119,156,195,.2);border-radius:16px;background:linear-gradient(135deg,rgba(15,28,43,.82),rgba(12,15,24,.9))}.sticker-admin-form{display:grid;grid-template-columns:1.2fr 1.2fr .7fr 1fr auto;gap:9px;align-items:center;margin-top:12px}.sticker-file-label{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;border:1px dashed var(--feature-line);border-radius:10px;color:var(--feature-muted);font-size:10px}.sticker-file-label input{min-width:0;width:100%;font-size:10px}.sticker-admin-form .social-input{min-width:0;margin:0}
/* Chat UX */
.chat-head{position:relative}.chat-brand-mark{width:30px;height:30px;object-fit:contain;opacity:.78;position:absolute;right:2px;top:4px}.chat-head{padding-right:44px}.chat-tools{display:flex;gap:8px;margin-top:10px}.chat-picker{display:flex;flex-wrap:wrap;gap:7px;padding:10px;margin-top:8px;border:1px solid var(--feature-line);border-radius:13px;background:rgba(8,13,21,.96);max-height:190px;overflow:auto}.chat-emoji-choice,.chat-sticker-choice{border:1px solid rgba(153,174,200,.17);border-radius:10px;background:rgba(33,46,62,.6);color:#fff;cursor:pointer}.chat-emoji-choice{width:40px;height:40px;font-size:20px}.chat-sticker-choice{display:flex;align-items:center;gap:8px;padding:6px 9px}.chat-sticker-choice img{width:42px;height:42px;object-fit:contain}.chat-sticker-choice span{font-size:10px;color:#b8c5d5}.chat-bubble{max-width:min(76%,620px);overflow-wrap:anywhere}.chat-sticker-image{display:block;width:min(190px,48vw);max-height:180px;object-fit:contain;margin:2px auto 6px}.chat-message-text{white-space:pre-wrap;line-height:1.65}.chat-bubble.mine .chat-sticker-image{margin-left:0}.chat-bubble:not(.mine) .chat-sticker-image{margin-right:0}
/* News + support centre */
.feature-page-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;margin-bottom:16px;border:1px solid var(--feature-line);border-radius:18px;background:radial-gradient(ellipse at 86% 0,rgba(223,65,91,.18),transparent 43%),linear-gradient(125deg,rgba(20,32,47,.96),rgba(9,14,22,.96));box-shadow:0 16px 38px rgba(0,0,0,.17)}.feature-page-hero h2{margin:7px 0;font-size:clamp(21px,3vw,30px)}.feature-page-hero p{margin:0}.news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.news-card{position:relative;padding:20px;border:1px solid var(--feature-line);border-radius:16px;background:linear-gradient(160deg,rgba(19,29,43,.92),rgba(10,15,23,.94));box-shadow:0 12px 28px rgba(0,0,0,.16)}.news-card:after{content:"";position:absolute;top:0;left:18px;right:18px;height:2px;background:linear-gradient(90deg,transparent,#d94c61,transparent);opacity:.6}.news-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--feature-muted);font-size:10px}.news-tag{padding:5px 8px;border-radius:99px;color:#ff9eaa;background:rgba(224,65,88,.13);font-size:9px;font-weight:900;letter-spacing:1px}.news-card h3{margin:14px 0 8px;font-size:18px}.news-card p{margin:0;color:#b5c1d0;line-height:1.8;overflow-wrap:anywhere}.support-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:15px;align-items:start}.support-create{display:flex;flex-direction:column;gap:10px}.support-create h3{margin:0}.support-create .social-input{margin:0}.support-ticket-list{display:flex;flex-direction:column;gap:8px}.support-ticket-card{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:13px 14px;border:1px solid var(--feature-line);border-radius:12px;background:rgba(9,15,23,.72);color:inherit;text-align:left;cursor:pointer;transition:border-color .18s,transform .18s}.support-ticket-card:hover{border-color:rgba(225,91,112,.55);transform:translateY(-1px)}.support-ticket-card b{font-size:13px}.support-ticket-card small,.support-ticket-preview{color:var(--feature-muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-ticket-status{align-self:flex-start;padding:4px 7px;border-radius:50px;background:rgba(123,150,183,.13);color:#aec2d9;font-size:9px;font-weight:900;letter-spacing:.8px}.support-ticket-status.open{background:rgba(53,189,127,.12);color:#79dfb2}.support-ticket-status.pending{background:rgba(232,172,61,.13);color:#f0c574}.support-ticket-status.closed,.support-ticket-status.dismissed{background:rgba(129,140,155,.12);color:#9aa5b2}.support-ticket-status.pending,.support-ticket-status.reviewed{color:#e4c17f}.support-ticket-detail{margin-top:14px;padding:14px;border:1px solid var(--feature-line);border-radius:14px;background:rgba(7,12,18,.72)}.support-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.support-detail-head h3{margin:7px 0 2px}.support-detail-head small{color:var(--feature-muted)}.support-thread{display:flex;flex-direction:column;gap:9px;max-height:330px;overflow:auto;padding:12px 0}.support-message{max-width:86%;padding:11px 13px;border:1px solid var(--feature-line);border-radius:12px;background:rgba(30,42,57,.58)}.support-message.mine{margin-left:auto;border-color:rgba(218,73,96,.28);background:rgba(87,29,42,.22)}.support-message b{font-size:11px}.support-message p{margin:5px 0;color:#d0d8e2;line-height:1.65;overflow-wrap:anywhere}.support-message time{color:#8796a8;font-size:9px}.support-reply-form{display:grid;grid-template-columns:1fr auto;gap:8px}.support-reply-form textarea{margin:0;min-width:0}.support-admin-status{display:flex;gap:8px;margin-top:10px}.support-admin-status select{max-width:180px}.admin-feature-form{display:flex;flex-direction:column;gap:9px}.admin-feature-form .social-input{margin:0}.admin-report-card{display:flex;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--feature-line);border-radius:12px;background:rgba(9,15,22,.64)}.admin-report-card small{display:block;color:var(--feature-muted);font-size:10px;margin:5px 0}.admin-report-card p{margin:6px 0;color:#c4ceda;font-size:12px;line-height:1.6}.admin-report-actions{display:flex;flex-direction:column;gap:6px;flex:none}
/* Better profile and social card layouts */
.friend-profile-card{width:min(760px,94vw);max-height:min(88vh,900px);overflow:auto;padding:24px;border:1px solid rgba(151,174,202,.22);border-radius:22px;background:radial-gradient(ellipse at 90% 0,rgba(219,64,89,.15),transparent 40%),linear-gradient(145deg,#151d2a,#090e16);box-shadow:0 30px 90px rgba(0,0,0,.55)}.friend-profile-head{display:flex;align-items:center;gap:18px;margin:16px 0}.friend-profile-avatar{width:104px;height:104px;flex:none;padding:4px;border-radius:25px;border:1px solid rgba(226,77,100,.45);background:linear-gradient(135deg,rgba(219,62,86,.25),rgba(73,112,164,.14))}.friend-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:21px}.friend-profile-head h2{margin:0 0 7px;font-size:26px}.friend-profile-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--feature-line)}.friend-inventory-item{display:flex;align-items:center;gap:9px;min-width:0}.friend-inventory-item img{width:46px;height:46px;object-fit:contain;border-radius:9px;background:rgba(0,0,0,.24)}.friend-inventory-item>div{min-width:0}.friend-inventory-item b,.friend-inventory-item small{display:block;overflow-wrap:anywhere}
.admin-users-toolbar{align-items:flex-start}.admin-search-input{display:block;width:min(340px,70vw);margin-top:10px}.admin-user-card{animation:featureRise .22s ease both}
@keyframes featureRise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){.support-layout{grid-template-columns:1fr}.sticker-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.news-list{grid-template-columns:1fr}}
@media(max-width:680px){.store-toolbar{grid-template-columns:1fr}.feature-page-hero{align-items:flex-start;flex-direction:column;padding:19px}.support-reply-form{grid-template-columns:1fr}.admin-report-card{flex-direction:column}.admin-report-actions{flex-direction:row;flex-wrap:wrap}.friend-profile-card{padding:17px}.friend-profile-head{align-items:flex-start}.friend-profile-avatar{width:78px;height:78px}.friend-profile-head h2{font-size:20px}.sticker-admin-form{grid-template-columns:1fr}.chat-brand-mark{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.shop-card,.coin-card,.inventory-card,.support-ticket-card,.admin-user-card{animation:none!important;transition:none!important}}

/* Chat polish: compact shop stickers and subtle delivery/read receipts. */
.chat-sticker-image{width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;object-fit:contain!important;margin:2px 0 3px!important;}
.chat-sticker-choice{width:48px!important;height:48px!important;justify-content:center!important;padding:4px!important;}
.chat-sticker-choice img{width:36px!important;height:36px!important;object-fit:contain!important;}
.chat-sticker-choice span{display:none!important;}
.chat-read-checks{display:inline-block;margin-left:5px;font-size:9px;line-height:1;color:#8e9aa6;letter-spacing:-2px;vertical-align:1px;font-weight:900;}
.chat-read-checks.is-read{color:#55a9ed;}
body.lang-fa .chat-read-checks{margin-right:5px;margin-left:0;}

/* Profile cosmetics and compact official identity marks */
.profile-showcase{isolation:isolate;background:linear-gradient(rgba(12,18,27,.80),rgba(12,18,27,.88))}.profile-cosmetic-backdrop{position:absolute;z-index:0;inset:0;pointer-events:none;background-size:cover;background-position:center;opacity:0;transition:opacity .25s ease}.profile-cosmetic-backdrop.has-profile-background{opacity:1}.profile-background-video{width:100%;height:100%;object-fit:cover;opacity:.8}.profile-cosmetic-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,10,16,.76),rgba(7,10,16,.38)),linear-gradient(0deg,rgba(7,10,16,.78),transparent 65%)}.profile-hero,.profile-xp,.profile-stats{position:relative;z-index:1}.profile-cosmetic-controls{display:grid;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid var(--feature-line)}.profile-cosmetic-controls label{display:grid;gap:5px;color:var(--feature-muted);font-size:10px;font-weight:800;letter-spacing:.5px}.profile-cosmetic-controls .social-input{margin:0}.profile-cosmetic-controls small{color:var(--feature-muted);font-size:10px;line-height:1.6}.name-cosmetic-badge{display:inline-flex;vertical-align:middle;margin-inline-start:4px}.profile-verified-badge{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;font-size:10px;line-height:1;font-weight:1000;color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.2)}.badge-blue{background:linear-gradient(135deg,#45b9ff,#2364db);box-shadow:0 0 10px rgba(56,155,255,.45)}.badge-gold{background:linear-gradient(135deg,#fff1a7,#c48117);color:#281900;box-shadow:0 0 13px rgba(242,186,58,.6)}.profile-eagle-badge{display:inline-grid;place-items:center;width:15px;height:15px;overflow:hidden;border-radius:50%;background:#151c27;border:1px solid #8fa2b9;box-shadow:0 0 0 1px rgba(255,255,255,.08)}.profile-eagle-badge img{display:block;width:100%;height:100%;object-fit:cover}.profile-cosmetic-admin-builder{margin-top:18px;padding:18px;border:1px solid rgba(93,151,214,.22);border-radius:16px;background:linear-gradient(135deg,rgba(16,30,48,.8),rgba(10,15,24,.9))}.profile-cosmetic-admin-form{display:grid;grid-template-columns:1.1fr 1.1fr 1.1fr .7fr 1.2fr auto;gap:8px;align-items:center;margin-top:12px}.profile-cosmetic-admin-form .social-input{min-width:0;margin:0}.friend-profile-card{position:relative;isolation:isolate}.friend-profile-background{position:absolute;z-index:0;inset:0;border-radius:inherit;background-position:center;background-size:cover;opacity:.72;pointer-events:none}.friend-profile-background-video{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;opacity:.66;pointer-events:none}.friend-profile-head,.friend-stats-grid,.friend-inventory-head,.friend-inventory-grid,.friend-profile-footer{position:relative;z-index:1}.friend-profile-card>.eyebrow{position:relative;z-index:1}.store-profile-cosmetic-card .shop-item-image{height:180px}.coin-purchase-panel{max-width:1100px}.coin-purchase-panel .coin-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}
/* CS2-inspired matchmaking: restrained steel panels, warm competitive accent, no copied game assets. */
:root{--mm-red:#d5a653;--mm-red-soft:rgba(213,166,83,.13);--mm-gold:#f0c978;--mm-panel:#171b20;--mm-panel-2:#11161c;--mm-line:#303943;--mm-muted:#9da8b2}
#homePage .hero{border-color:#38424b!important;border-radius:8px!important;background:linear-gradient(110deg,rgba(15,20,26,.98),rgba(26,32,38,.96) 58%,rgba(45,40,31,.9))!important;box-shadow:0 20px 45px rgba(0,0,0,.3)!important}
#homePage .hero:after{border-radius:4px!important;border-color:rgba(213,166,83,.13)!important;transform:rotate(12deg);width:min(27vw,290px)!important}
#homePage .hero h1 span{color:#e5b75f!important;text-shadow:none!important}
#homePage .hero-rating{border-radius:7px!important;background:rgba(6,10,14,.72)!important;border-color:#46515c!important}
#homePage .rating-label{color:#e7bb68!important}
#homePage .mode{border-radius:7px!important;background:linear-gradient(155deg,#1a2026,#10161c)!important;border-color:#39434c!important;min-height:145px!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}
#homePage .mode:hover,#homePage .mode.selected{border-color:#d0a14e!important;box-shadow:0 0 0 1px rgba(213,166,83,.22),0 12px 28px rgba(0,0,0,.25)!important}
#homePage .mode-icon{color:#e1b35d!important}
#homePage .queue-card{border-radius:7px!important;background:linear-gradient(120deg,#171e25,#10161c)!important;border-color:#39444f!important}
#homePage .queue-bar i{background:linear-gradient(90deg,#a87a32,#edc36f)!important}
#homePage .queue-state{border-radius:3px!important;border-color:#5d4d31!important;background:rgba(120,87,37,.14)!important;color:#e7c37d!important}
@media(max-width:900px){.profile-cosmetic-admin-form{grid-template-columns:1fr 1fr}.profile-cosmetic-controls{grid-template-columns:1fr}}
@media(max-width:560px){.profile-cosmetic-admin-form{grid-template-columns:1fr}.profile-hero{align-items:flex-start}.name-cosmetic-badge{margin-inline-start:3px}}

.profile-name-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.profile-name-row h3{margin:4px 0 5px}.profile-name-row .name-cosmetic-badge{margin:0}

.shop-profile-badge-preview{height:156px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:11px;background:radial-gradient(circle,rgba(85,133,185,.17),rgba(7,11,18,.82) 70%)}.shop-profile-badge-preview .profile-verified-badge{width:42px;height:42px;font-size:27px}.shop-profile-badge-preview b{font-size:10px;letter-spacing:1.2px;color:#d5e0ed}.shop-profile-badge-preview img{width:70px;height:70px;object-fit:contain}

.css-client-help{display:block;max-width:680px;line-height:1.55;color:#8f9dad!important}.friend-inventory-fallback{width:46px;height:46px;display:grid;place-items:center;flex:none;border-radius:9px;background:rgba(0,0,0,.24);color:#d7b36e;font-size:22px}.friend-inventory-item .profile-verified-badge{width:20px;height:20px;flex:none}.friend-inventory-item .profile-eagle-badge{width:22px;height:22px;flex:none}
#homePage .section-head{border-bottom:1px solid rgba(213,166,83,.14);padding-bottom:10px}#homePage .mode b{letter-spacing:1.1px}#homePage .mode small{color:#d6b36e!important;letter-spacing:1.5px}#homePage .match-action-card{border-radius:7px!important;border-color:#3a4652!important;background:linear-gradient(120deg,#1a222b,#11171d)!important}#homePage .match-action-card:hover{border-color:#d5a653!important;box-shadow:0 12px 30px rgba(0,0,0,.3),inset 3px 0 #d5a653!important;transform:translateY(-2px)}#homePage .match-action-card .action-icon{color:#e7bd71!important}


/* 5.6.1 — friend profiles: clear identity, cosmetics and inventory presentation */
.friend-profile-card{isolation:isolate;}
.friend-profile-card>.eyebrow,.friend-profile-close{z-index:4;}
.friend-profile-head,.friend-stats-grid,.friend-inventory-head,.friend-inventory-grid,.friend-profile-footer{position:relative;z-index:2;}
.friend-profile-identity{min-width:0;flex:1;}
.friend-profile-identity h2{display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.friend-profile-cosmetics{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;}
.friend-profile-cosmetics span{padding:4px 7px;border:1px solid rgba(255,255,255,.10);border-radius:99px;background:rgba(5,6,9,.42);color:#dbc4cd;font-size:8px;font-weight:800;letter-spacing:.35px;}
.friend-inventory-item{display:flex;align-items:center;gap:9px;min-width:0;}
.friend-inventory-visual{display:grid;place-items:center;flex:none;width:48px;height:48px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(0,0,0,.26);}
.friend-inventory-visual>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:transparent;}
.friend-inventory-visual .profile-verified-badge{width:24px;height:24px;font-size:16px;}
.friend-inventory-visual .profile-eagle-badge{width:26px;height:26px;}
.friend-inventory-copy{min-width:0;flex:1;}
.friend-inventory-item.equipped{border-color:rgba(74,171,133,.42);}
.friend-inventory-item.selected{border-color:#9c5361;background:#24141b;}
.friend-profile-trigger{cursor:pointer;}
.friend-profile-trigger:hover b{text-decoration:underline;text-decoration-color:#ff7184;text-underline-offset:3px;}
.friend-profile-trigger:focus-visible{outline:2px solid #ff7184;outline-offset:3px;border-radius:8px;}
@media(max-width:520px){.friend-profile-cosmetics{gap:4px}.friend-profile-cosmetics span{font-size:7px}.friend-inventory-visual{width:42px;height:42px}}

/* 5.6.1 — open public player cards from leaderboard and user search */
.leader-row[data-profile-user]{cursor:pointer;transition:background .16s ease,transform .16s ease;}
.leader-row[data-profile-user]:hover{background:rgba(255,255,255,.035);transform:translateX(2px);}
.leader-row[data-profile-user]:focus-visible{outline:2px solid #e64b64;outline-offset:2px;}

/* 5.7.0 — exact 1359:726 profile artwork canvas and more legible friends' profile backgrounds */
#profilePage .profile-showcase{position:relative;aspect-ratio:1360 / 768;min-height:0;height:auto;overflow:hidden;background-color:#090f18;background-size:100% 100%;}
#profilePage .profile-cosmetic-backdrop{background-size:100% 100%;background-position:center;}
#profilePage .profile-background-video{object-fit:fill;}
.friend-profile-card{background-size:100% 100%;}
.friend-profile-background{background-size:100% 100%;background-position:center;}
.friend-profile-background-video{object-fit:fill;}
@media(max-width:760px){#profilePage .profile-showcase{aspect-ratio:auto;min-height:410px}.friend-profile-background,.friend-profile-background-video{background-size:100% 100%;}}

/* Admin item destination manager */
.cosmetic-distribution-manager{margin-top:18px;padding:20px;border:1px solid rgba(91,151,215,.24);border-radius:18px;background:radial-gradient(ellipse at 100% 0,rgba(61,130,202,.13),transparent 42%),linear-gradient(145deg,rgba(14,24,37,.96),rgba(8,13,21,.98));box-shadow:0 18px 45px rgba(0,0,0,.2)}
.cosmetic-distribution-manager h3{margin:6px 0 5px;font-size:18px}
.cosmetic-case-link-form{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(140px,1fr) 100px auto;gap:8px;margin:14px 0 18px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(0,0,0,.17)}
.cosmetic-case-link-form .social-input{min-width:0;margin:0}
.cosmetic-distribution-list{display:grid;gap:8px;margin-top:10px}
.cosmetic-distribution-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:linear-gradient(100deg,rgba(255,255,255,.045),rgba(255,255,255,.015))}
.cosmetic-distribution-preview{width:48px;height:48px;display:grid;place-items:center;flex:none;overflow:hidden;border-radius:10px;background:radial-gradient(circle,rgba(79,139,202,.22),rgba(5,9,15,.8));color:#e4bd72;font-size:24px}
.cosmetic-distribution-preview img{width:100%;height:100%;object-fit:contain}
.cosmetic-distribution-copy{display:grid;gap:3px;min-width:0;flex:1}
.cosmetic-distribution-copy b{overflow-wrap:anywhere;color:#edf3f8;font-size:12px}
.cosmetic-distribution-copy small{color:#98a7b8;font-size:10px}
.cosmetic-case-manage-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin-top:10px}
.cosmetic-case-manage-card{padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(5,10,16,.45)}
.cosmetic-case-manage-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.08)}
.cosmetic-case-manage-head b{font-size:12px}.cosmetic-case-manage-head span{font-size:9px;color:#d8b36b;letter-spacing:1px}
.cosmetic-case-rewards{display:grid;gap:6px;margin-top:9px}
.cosmetic-case-reward{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.cosmetic-case-reward>div{display:grid;gap:2px;min-width:0}.cosmetic-case-reward b{font-size:11px;overflow-wrap:anywhere}.cosmetic-case-reward small{font-size:9px;color:#91a0b1}
@media(max-width:760px){.cosmetic-case-link-form{grid-template-columns:1fr 1fr}.cosmetic-case-link-form button{grid-column:1/-1}.cosmetic-distribution-row{align-items:flex-start;flex-wrap:wrap}.cosmetic-distribution-row .btn{margin-inline-start:auto}.profile-cosmetic-admin-form{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.cosmetic-case-link-form{grid-template-columns:1fr}.cosmetic-distribution-preview{width:40px;height:40px}.cosmetic-distribution-copy{width:calc(100% - 60px);flex:auto}.cosmetic-distribution-row .btn{width:100%}}

/* Match ready check — compact roster, visible status and CS2-like readiness panel */
.ready-check-panel{margin-top:14px;padding:18px;border:1px solid rgba(213,166,83,.32);border-radius:10px;background:radial-gradient(ellipse at 92% 0,rgba(213,166,83,.13),transparent 44%),linear-gradient(145deg,#171d23,#0e141a);box-shadow:0 18px 42px rgba(0,0,0,.28)}
.ready-check-panel.hidden{display:none!important}
.ready-check-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ready-check-top h3{margin:4px 0;font-size:19px;color:#f1f3f5}.ready-check-top p{margin:0;color:#aab4bd;font-size:11px;line-height:1.5}
.ready-check-counter{min-width:94px;padding:9px 11px;text-align:center;border:1px solid rgba(213,166,83,.3);border-radius:7px;background:rgba(0,0,0,.23)}
.ready-check-counter b{display:block;color:#f0c978;font-size:22px;font-variant-numeric:tabular-nums}.ready-check-counter span{font-size:8px;letter-spacing:1.1px;color:#9da8b2}
.ready-check-meter{height:6px;margin:14px 0;border-radius:10px;background:#28323b;overflow:hidden}.ready-check-meter i{display:block;width:0;height:100%;border-radius:10px;background:linear-gradient(90deg,#94703a,#f2ca78);transition:width .25s ease}
.ready-check-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.ready-player-card{display:flex;align-items:center;gap:10px;min-width:0;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(4,9,14,.48)}
.ready-player-card.is-ready{border-color:rgba(75,184,126,.4);background:linear-gradient(100deg,rgba(45,130,86,.15),rgba(4,9,14,.48))}.ready-player-card.is-me{box-shadow:inset 2px 0 #d5a653}
.ready-player-avatar{width:38px;height:38px;display:grid;place-items:center;flex:none;overflow:hidden;border-radius:7px;background:#26313d;color:#e7c57b;font-weight:900}.ready-player-avatar img{width:100%;height:100%;object-fit:cover}
.ready-player-copy{display:grid;gap:3px;min-width:0;flex:1}.ready-player-copy b{display:flex;align-items:center;gap:4px;flex-wrap:wrap;color:#edf2f6;font-size:11px;overflow-wrap:anywhere}.ready-player-copy b small{color:#d9b66f;font-size:8px}.ready-player-copy span{color:#8997a5;font-size:9px;letter-spacing:.35px}
.ready-player-state{display:flex;align-items:center;gap:5px;flex:none;font-size:8px;font-weight:900;letter-spacing:.7px}.ready-player-state i{width:7px;height:7px;border-radius:50%;background:#78838e}.ready-player-state.ready{color:#64d99d}.ready-player-state.ready i{background:#53d58f;box-shadow:0 0 9px rgba(83,213,143,.6)}.ready-player-state.waiting{color:#bd9b5f}
.ready-check-actions{display:flex;gap:8px;margin-top:14px}.ready-check-actions .btn{min-width:145px}.ready-check-actions .btn.primary{background:linear-gradient(135deg,#98723b,#e6bb6c);border-color:#e0b764;color:#17130d}.ready-check-actions .btn:disabled{opacity:.55;cursor:not-allowed}
.ready-check-status{margin-top:10px;color:#9eabb7;font-size:10px}
@media(max-width:560px){.ready-check-panel{padding:13px}.ready-check-top{flex-direction:column}.ready-check-counter{align-self:flex-end;margin-top:-3px}.ready-check-players{grid-template-columns:1fr}.ready-check-actions{flex-direction:column}.ready-check-actions .btn{width:100%}}

/* Premium shop refresh: layered editorial header, large media stage and tactile item cards */
#storePage .store-header{position:relative;isolation:isolate;overflow:hidden;min-height:150px;padding:26px 28px;border:1px solid rgba(198,160,94,.25);border-radius:16px;background:radial-gradient(ellipse at 85% 12%,rgba(219,168,83,.2),transparent 37%),radial-gradient(ellipse at 15% 100%,rgba(52,102,151,.17),transparent 38%),linear-gradient(115deg,#131b23 0%,#101720 50%,#1a1d20 100%);box-shadow:0 20px 50px rgba(0,0,0,.25)}
#storePage .store-header:after{content:"";position:absolute;z-index:-1;right:5%;top:-55px;width:245px;height:245px;border:1px solid rgba(218,180,110,.15);border-radius:50%;box-shadow:0 0 0 22px rgba(218,180,110,.025),0 0 0 48px rgba(218,180,110,.02),inset 0 0 45px rgba(218,180,110,.055)}
#storePage .store-header h3{margin:6px 0 5px;font-size:clamp(24px,3vw,34px);letter-spacing:-.5px;color:#f1f2f3}
#storePage .store-header p{max-width:650px;color:#a6b0bb;font-size:12px;line-height:1.65}
#storePage .store-main-panel{padding:19px;border:1px solid rgba(155,174,195,.13);border-radius:16px;background:linear-gradient(155deg,rgba(20,27,35,.97),rgba(10,15,22,.98));box-shadow:0 20px 48px rgba(0,0,0,.22)}
#storePage .store-main-panel>.panel-head{align-items:center;margin-bottom:16px}
#storePage .store-main-panel>.panel-head h3{font-size:19px;letter-spacing:.1px}
#storePage .store-toolbar{grid-template-columns:minmax(180px,1.6fr) repeat(2,minmax(145px,.8fr));gap:10px;margin-bottom:18px;padding:12px;border:1px solid rgba(193,164,112,.13);border-radius:12px;background:linear-gradient(100deg,rgba(5,10,15,.7),rgba(18,26,35,.8))}
#storePage .store-toolbar .social-input{height:42px;border-color:rgba(161,179,198,.17);border-radius:8px;background:rgba(4,8,13,.62);color:#eaf0f6}
#storePage .shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;align-items:stretch}
#storePage .shop-card{display:flex;flex-direction:column;min-width:0;min-height:390px;padding:13px;border:1px solid rgba(162,179,198,.13);border-radius:13px;background:linear-gradient(155deg,rgba(29,38,48,.95),rgba(12,18,25,.98) 72%);box-shadow:0 10px 26px rgba(0,0,0,.16)}
#storePage .shop-card:before{height:2px;background:linear-gradient(90deg,transparent,#cba45f 38%,#e8cb91 55%,transparent);opacity:.8}
#storePage .shop-card:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 26%,rgba(206,164,93,.075),transparent 42%);pointer-events:none}
#storePage .shop-card:hover{transform:translateY(-6px);border-color:rgba(218,178,105,.43);box-shadow:0 18px 40px rgba(0,0,0,.34),0 0 0 1px rgba(218,178,105,.06)}
#storePage .shop-card .tag{position:relative;z-index:1;align-self:flex-start;max-width:100%;padding:6px 8px;border:1px solid rgba(216,180,113,.2);border-radius:5px;background:rgba(143,104,47,.14);color:#dfc18a;font-size:8px;font-weight:900;letter-spacing:1px}
#storePage .shop-card .shop-item-image,#storePage .shop-card .shop-profile-badge-preview{position:relative;z-index:1;height:174px;min-height:174px;margin:10px 0 12px;border:1px solid rgba(255,255,255,.045);border-radius:9px;background:radial-gradient(circle at 50% 42%,rgba(154,176,199,.12),rgba(5,9,14,.7) 75%)}
#storePage .shop-card .shop-item-image{object-fit:contain;padding:10px}
#storePage .shop-card h4{position:relative;z-index:1;margin:0 0 8px;color:#eef2f6;font-size:14px;line-height:1.4}
#storePage .shop-card .shop-item-price{position:relative;z-index:1;display:inline-flex;align-self:flex-start;padding:6px 9px;border:1px solid rgba(229,188,112,.16);border-radius:6px;background:rgba(138,101,42,.12);color:#e8c681;font-size:12px;font-weight:900}
#storePage .shop-card .store-small{position:relative;z-index:1;min-height:40px;margin:9px 0 13px;color:#94a1af;font-size:10px;line-height:1.5}
#storePage .shop-card .btn{position:relative;z-index:1;margin-top:auto;min-height:39px;border-radius:7px;background:linear-gradient(135deg,#a77c3f,#e2bb70);border:1px solid rgba(242,205,139,.55);color:#17130d;font-size:10px;font-weight:1000;letter-spacing:.8px;box-shadow:0 7px 17px rgba(165,121,55,.15)}
#storePage .shop-card .btn:hover{filter:brightness(1.12);box-shadow:0 10px 22px rgba(165,121,55,.24)}
#storePage .shop-case-card{border-color:rgba(201,160,75,.23);background:linear-gradient(155deg,rgba(43,36,26,.87),rgba(13,18,23,.98) 72%)}
#storePage .shop-tournament-card{border-color:rgba(102,158,216,.25)}
#storePage .shop-profile-cosmetic-card{background:linear-gradient(155deg,rgba(25,37,52,.97),rgba(12,17,25,.98) 72%)}
#storePage .shop-empty{border:1px dashed rgba(194,166,113,.2);border-radius:12px;background:rgba(0,0,0,.12);color:#97a5b4}
@media(max-width:700px){#storePage .store-header{padding:20px;min-height:130px}#storePage .store-toolbar{grid-template-columns:1fr}#storePage .shop-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px}#storePage .shop-card{min-height:360px;padding:10px}#storePage .shop-card .shop-item-image,#storePage .shop-card .shop-profile-badge-preview{height:145px;min-height:145px}}

.profile-custom-badge{display:inline-grid;place-items:center;width:17px;height:17px;overflow:hidden;vertical-align:middle;border-radius:4px;border:1px solid rgba(255,255,255,.35);background:rgba(10,17,25,.7);box-shadow:0 0 9px rgba(90,155,224,.22)}.profile-custom-badge img{width:100%;height:100%;object-fit:contain;display:block}.profile-name-row .profile-custom-badge{width:18px;height:18px}
.friend-profile-background{inset:0 0 auto!important;width:100%;height:auto!important;aspect-ratio:1360 / 768;max-height:none}.friend-profile-background-video{inset:0 0 auto!important;width:100%;height:auto!important;aspect-ratio:1360 / 768;max-height:none;object-fit:cover!important}

.ready-player-card{cursor:pointer;outline:none}.ready-player-card:focus-visible{border-color:#e2bd71;box-shadow:0 0 0 2px rgba(226,189,113,.28)}

/* Player profile media reliability and native desktop update panel. */
.friend-profile-avatar{position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#25364a,#111923)}
.friend-profile-avatar img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover}
.friend-profile-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#e7c47d;font-size:32px;font-weight:1000}
.profile-custom-badge.badge-image-failed:after,.profile-eagle-badge.badge-image-failed:after{content:'✓';display:grid;place-items:center;width:100%;height:100%;font-size:11px;font-weight:1000;color:#fff;background:linear-gradient(135deg,#3ea5ef,#1e4fb9)}
.profile-custom-badge img,.profile-eagle-badge img{image-rendering:auto}
.eagle-updater-overlay{position:fixed;z-index:20000;inset:0;display:grid;place-items:center;padding:18px;background:rgba(3,7,12,.78);backdrop-filter:blur(10px)}
.eagle-updater-overlay[hidden]{display:none!important}
.eagle-updater-card{width:min(540px,96vw);padding:24px;border:1px solid rgba(220,181,108,.34);border-radius:18px;background:radial-gradient(ellipse at 90% 0,rgba(218,176,99,.14),transparent 42%),linear-gradient(145deg,#19222d,#0b1119 78%);box-shadow:0 32px 100px rgba(0,0,0,.65);color:#edf2f7}
.eagle-updater-top{display:flex;align-items:center;gap:12px}
.eagle-updater-mark{width:42px;height:42px;display:grid;place-items:center;flex:none;border:1px solid rgba(226,188,116,.45);border-radius:11px;background:linear-gradient(145deg,#9d7339,#e0bd78);color:#15120d;font-weight:1000;font-size:20px}
.eagle-updater-eyebrow{font-size:8px;font-weight:1000;letter-spacing:1.6px;color:#d5b778}
.eagle-updater-top h2{margin:4px 0 0;font-size:18px;letter-spacing:.5px}
.eagle-updater-close{margin-inline-start:auto;width:32px;height:32px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.04);color:#d7e0e8;font-size:22px;cursor:pointer}
.eagle-updater-versions{margin-top:17px;color:#e7c987;font-size:10px;font-weight:900;letter-spacing:.4px}
.eagle-updater-message{margin:12px 0;color:#d1dae4;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.eagle-updater-progress{margin-top:17px;padding:13px;border:1px solid rgba(196,171,128,.17);border-radius:10px;background:rgba(3,8,14,.48)}
.eagle-updater-progress-head,.eagle-updater-bytes{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eagle-updater-progress-head{font-size:10px;color:#dbe4ec}
.eagle-updater-progress-head strong{color:#eacb8e;font-size:12px}
.eagle-updater-track{height:9px;margin:11px 0 9px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.09)}
.eagle-updater-track span{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#9c713d,#f0cf8c);box-shadow:0 0 16px rgba(224,184,109,.35);transition:width .18s ease}
.eagle-updater-bytes{color:#91a0af;font-size:9px;font-variant-numeric:tabular-nums}
.eagle-updater-notes{margin-top:12px;padding:10px 12px;border-inline-start:2px solid #c9a56b;background:rgba(255,255,255,.035);color:#aebbc8;font-size:10px;line-height:1.6;white-space:pre-wrap;max-height:100px;overflow:auto}
.eagle-updater-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.eagle-updater-actions .btn{min-width:132px}
.eagle-updater-actions .btn.primary{background:linear-gradient(135deg,#9f773f,#e4c17d);border-color:#e4c17d;color:#17130d}
.eagle-updater-actions .btn:disabled{opacity:.55;cursor:wait}
.eagle-updater-footnote{display:block;margin-top:13px;color:#8291a0;font-size:9px;text-align:center}
@media(max-width:560px){.eagle-updater-card{padding:18px}.eagle-updater-actions{flex-direction:column-reverse}.eagle-updater-actions .btn{width:100%}.eagle-updater-bytes{font-size:8px}}

.chat-message-text a{color:#8fd5ff;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.chat-message-text a:hover{color:#c2eaff}

/* Keep Inventory removal controls visible and easy to reach on narrow cards. */
.inventory-secondary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.inventory-secondary-actions>.btn{flex:1 1 135px;min-width:0}.inventory-secondary-actions .inventory-gift-select{flex:1 1 150px;min-width:0}.inventory-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.inventory-actions>.btn{flex:1 1 125px}


/* 5.13.28 — Profile Studio, application volume and map transfer HUD */
.profile-grid-reworked{grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:start;gap:20px}
.profile-manager-panel{padding:22px;min-width:0;overflow:hidden;background:linear-gradient(145deg,rgba(21,24,31,.98),rgba(10,12,17,.98));border:1px solid rgba(255,255,255,.09);box-shadow:0 22px 70px rgba(0,0,0,.28)}
.profile-manager-heading,.profile-tool-title{display:flex;align-items:center;justify-content:space-between;gap:14px}
.profile-manager-heading h3{margin:5px 0 4px;font-size:22px;letter-spacing:.08em}.profile-manager-heading p,.profile-tool-title small{display:block;margin:0;color:var(--muted,#9ca3af);font-size:12px;line-height:1.55}
.profile-manager-emblem{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;color:#ff5263;background:linear-gradient(145deg,rgba(255,52,72,.18),rgba(255,52,72,.04));border:1px solid rgba(255,70,90,.25);font-size:25px}
.profile-manager-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0 18px;padding:6px;border-radius:13px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.07)}
.profile-manager-tabs button{min-height:43px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9ca3af;font-family:inherit;font-size:11px;font-weight:800;line-height:1.1;letter-spacing:.07em;cursor:pointer;transition:.18s ease}
.profile-manager-tabs button span{margin-right:6px;color:#ff5365;font-size:14px}.profile-manager-tabs button.active{color:#fff;background:linear-gradient(135deg,rgba(255,54,75,.23),rgba(255,54,75,.08));border-color:rgba(255,72,92,.34);box-shadow:inset 0 0 20px rgba(255,50,70,.06)}
.profile-manager-body{min-height:260px}.profile-tool-pane[hidden]{display:none!important}.profile-tool-title{margin:4px 0 14px}.profile-tool-title b{display:block;font-size:12px;letter-spacing:.1em;color:#f2f3f5}.profile-tool-title>span{flex:0 0 auto;padding:6px 8px;border-radius:7px;background:rgba(255,255,255,.05);color:#adb4c0;font-size:9px;font-weight:900;letter-spacing:.08em}
.profile-cosmetic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;min-height:110px}.profile-cosmetic-card,.profile-badge-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;padding:8px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));color:#fff;text-align:left;cursor:pointer;overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}.profile-cosmetic-card:hover,.profile-badge-card:hover{transform:translateY(-2px);border-color:rgba(255,72,92,.5)}.profile-cosmetic-card.selected,.profile-badge-card.selected{border-color:#ff5365;box-shadow:0 0 0 1px rgba(255,83,101,.35),0 10px 30px rgba(255,48,70,.12)}
.profile-cosmetic-art{position:relative;display:grid;place-items:center;aspect-ratio:1.35/1;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 50% 35%,rgba(255,62,83,.14),rgba(0,0,0,.5))}.profile-cosmetic-art img,.profile-cosmetic-art video{width:100%;height:100%;object-fit:cover}.profile-cosmetic-name{max-width:100%;overflow:hidden;color:#e9eaf0;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.profile-cosmetic-select{color:#ff6474;font-size:9px;font-weight:900;letter-spacing:.1em}.profile-cosmetic-placeholder{color:#ff6675;font-size:27px}
.profile-badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}.profile-badge-card{align-items:center;text-align:center;min-height:130px;justify-content:center}.profile-badge-art{display:grid;place-items:center;width:72px;height:72px;border-radius:16px;background:rgba(255,255,255,.04)}.profile-badge-art img{max-width:92%;max-height:92%;object-fit:contain}.profile-badge-card b{max-width:100%;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profile-badge-card small{color:#ff6474;font-size:8px;font-weight:900;letter-spacing:.08em}
.profile-photo-uploader{display:flex;align-items:center;gap:16px;padding:14px;margin-bottom:20px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.025)}.profile-photo-preview{display:grid;place-items:center;flex:0 0 86px;width:86px;height:86px;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#272b36,#11141c);border:2px solid rgba(255,80,100,.55);color:#fff;font-size:28px;font-weight:900}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-photo-copy{min-width:0}.profile-photo-copy>b{display:block;font-size:12px;letter-spacing:.09em}.profile-photo-copy>small{display:block;margin:4px 0 10px;color:#9ba2af;font-size:11px;line-height:1.5}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:7px}.profile-photo-actions .btn{min-height:32px;padding:7px 10px;font-size:9px}.profile-owned-title{margin-top:20px}
.profile-background-frame{margin-top:16px;padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.19)}.profile-background-frame-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.profile-background-frame-head b{font-size:10px;letter-spacing:.1em}.profile-background-frame-head small{color:#8f98a7;font-size:10px}.profile-background-frame label{display:block;margin-top:10px}.profile-background-frame label>span{display:flex;justify-content:space-between;color:#c1c7d0;font-size:9px;font-weight:900;letter-spacing:.06em}.profile-background-frame input[type=range]{width:100%;accent-color:#ff465b}
.profile-customization-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.profile-legacy-selects{display:none!important}
.setting-volume{align-items:center}.setting-volume>span{position:relative;padding-right:50px}.app-volume-value{position:absolute;right:0;top:0;color:#ff6575;font-size:12px;font-weight:900}.setting-volume input[type=range]{width:min(190px,38%);accent-color:#ff465b;cursor:pointer}
.map-download-progress{position:fixed;z-index:1200;left:50%;bottom:22px;transform:translateX(-50%);width:min(620px,calc(100vw - 36px));padding:15px 17px;border:1px solid rgba(255,80,100,.35);border-radius:15px;background:linear-gradient(145deg,rgba(22,25,33,.98),rgba(9,11,16,.98));box-shadow:0 18px 70px rgba(0,0,0,.55),0 0 35px rgba(255,48,70,.1);backdrop-filter:blur(16px)}.map-download-progress.hidden{display:none}.map-download-progress-head,.map-download-progress-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.map-download-progress-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}.map-download-kicker{color:#ff6474;font-size:8px;font-weight:950;letter-spacing:.18em}.map-download-progress-head b{color:#fff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-download-progress-head>span{color:#ff6474;font-size:16px;font-weight:950;font-variant-numeric:tabular-nums}.map-download-progress-track{height:7px;margin:12px 0 9px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.09)}.map-download-progress-track i{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#ff304b,#ff8b65);box-shadow:0 0 16px rgba(255,65,85,.45);transition:width .12s linear}.map-download-progress-foot span{color:#aeb5c0;font-size:9px;font-weight:800;font-variant-numeric:tabular-nums}.map-download-progress.is-done .map-download-progress-track i{background:linear-gradient(90deg,#43d69b,#9df5c6)}
@media(max-width:900px){.profile-grid-reworked{grid-template-columns:1fr}.profile-manager-panel{padding:16px}.profile-background-frame-head{flex-direction:column}.profile-customization-footer{align-items:flex-start;flex-direction:column}.setting-volume input[type=range]{width:45%}}

/* 5.13.29 profile dock, centered media, and lightweight previews */
#profilePage .profile-grid-reworked{grid-template-columns:minmax(0,1fr)!important;gap:16px}
#profilePage .profile-showcase{position:relative;display:flex;flex-direction:column;width:100%;max-width:1360px;margin:0 auto;aspect-ratio:1360 / 768;min-height:0;height:auto;overflow:hidden;border-radius:22px;isolation:isolate}
#profilePage .profile-cover{position:absolute;inset:0;min-height:0;height:100%;border-radius:inherit;overflow:hidden}
#profilePage .profile-cover-image,#profilePage .profile-cover video,#profilePage .profile-cover img{object-fit:cover!important;object-position:center center}
#profilePage .profile-hero,#profilePage .profile-xp,#profilePage .profile-stats,#profilePage .profile-gift-display,#profilePage .profile-card-actions{position:relative;z-index:2}
#profilePage .profile-bottom-nav{position:absolute;z-index:8;left:50%;bottom:16px;transform:translateX(-50%);display:flex;width:min(620px,calc(100% - 32px));gap:7px;margin:0;padding:7px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:linear-gradient(135deg,rgba(8,13,22,.88),rgba(18,24,34,.78));box-shadow:0 18px 55px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(18px)}
#profilePage .profile-bottom-nav button{flex:1;min-height:45px;border:1px solid transparent;border-radius:11px;color:#c7ceda;background:transparent;font-weight:900;font-size:10px;letter-spacing:.1em;cursor:pointer;transition:transform .18s,border-color .18s,background .18s,color .18s}
#profilePage .profile-bottom-nav button:hover{transform:translateY(-2px);color:#fff;background:rgba(255,255,255,.07)}
#profilePage .profile-bottom-nav button.active{color:#fff;background:linear-gradient(135deg,rgba(255,56,79,.34),rgba(145,24,43,.18));border-color:rgba(255,85,105,.65);box-shadow:0 0 22px rgba(255,53,77,.2),inset 0 1px 0 rgba(255,255,255,.12)}
#profilePage .profile-bottom-nav button span{color:#ff6678;font-size:15px;margin-right:7px}
#profilePage .profile-manager-panel{width:100%;max-width:1360px;margin:0 auto;min-width:0}
#profilePage .profile-manager-body{min-height:0}
#profilePage .profile-manager-tabs:not(.profile-bottom-nav){display:none!important}
.profile-cosmetic-art video,.profile-avatar-media,.eagle-media-preview{object-fit:cover!important;object-position:center center!important}
.profile-gift-off-card .profile-gift-off-art{background:radial-gradient(circle at 50% 45%,rgba(255,75,93,.28),rgba(0,0,0,.72));font-size:28px;color:#ff7585;border:1px dashed rgba(255,105,125,.42)}
.presence.playing{color:#82c4ff!important}.presence.playing i{background:#5bb8ff!important;box-shadow:0 0 12px rgba(80,175,255,.65)}
#chatStatus.playing{color:#82c4ff!important}
.admin-match-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center}
.eagle-social-notice-root{position:fixed;z-index:100000;top:18px;right:18px;display:grid;gap:9px;width:min(340px,calc(100vw - 36px));pointer-events:none}
.eagle-social-notice{display:grid;gap:5px;width:100%;padding:13px 15px;border:1px solid rgba(130,174,255,.36);border-left:3px solid #6bbcff;border-radius:13px;background:linear-gradient(135deg,rgba(13,24,39,.97),rgba(19,29,43,.95));box-shadow:0 16px 42px rgba(0,0,0,.42);color:#f5f8ff;text-align:left;backdrop-filter:blur(16px);pointer-events:auto;animation:eagleSocialNoticeIn .22s ease-out}
.eagle-social-notice b{font-size:12px;letter-spacing:.04em}.eagle-social-notice span{font-size:11px;color:#d3dbea;line-height:1.45;overflow-wrap:anywhere}.eagle-social-notice small{font-size:8px;font-weight:900;color:#73bfff;letter-spacing:.14em}
@keyframes eagleSocialNoticeIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:760px){#profilePage .profile-showcase{aspect-ratio:auto;min-height:560px}#profilePage .profile-bottom-nav{bottom:10px;width:calc(100% - 20px)}#profilePage .profile-bottom-nav button{font-size:8px;padding:5px 2px}.admin-match-actions{justify-content:flex-start}}


/* 5.13.29 — crash recovery, media centering and lightweight social video */
#profilePage .profile-showcase{width:100%;max-width:1360px;aspect-ratio:1360/768;min-width:0;overflow:hidden;contain:layout paint}
#profilePage .profile-cover,#profilePage .profile-cover-image{object-fit:cover!important;object-position:50% 50%!important}
#profilePage .profile-bottom-nav{bottom:14px;z-index:20;min-height:58px;border-color:rgba(230,190,112,.38);background:linear-gradient(135deg,rgba(9,13,20,.94),rgba(24,29,38,.88));box-shadow:0 18px 58px rgba(0,0,0,.55),0 0 28px rgba(208,161,78,.12),inset 0 1px rgba(255,255,255,.09)}
#profilePage .profile-bottom-nav button{min-height:46px;text-transform:uppercase}
#profilePage .profile-manager-panel{min-width:0;overflow:hidden}
#profilePage .profile-manager-body{min-width:0;overflow:hidden}
.profile-cosmetic-art video,.profile-avatar-media,.eagle-media-preview,.social-profile-gift-media,.friend-profile-background-video,.profile-background-video{object-fit:cover!important;object-position:50% 50%!important}
.social-profile-gift-media{display:block;width:100%;height:100%;min-width:0;min-height:0}
.shop-card .eagle-media-menu [data-media-download],.shop-card [data-media-download]{display:none!important}
.eagle-media-tile.shop-item-image .eagle-media-menu [data-media-download]{display:none!important}
@media(max-width:760px){#profilePage .profile-showcase{aspect-ratio:auto;min-height:580px}#profilePage .profile-bottom-nav{bottom:10px}}

/* Eagle Match 5.13.30 — unified Profile Studio visual overhaul */
#profilePage{--profile-ink:#08090d;--profile-panel:rgba(13,16,22,.92);--profile-line:rgba(255,255,255,.10);--profile-red:#ff425d;--profile-red-soft:rgba(255,66,93,.16);--profile-gold:#e8bd79;color:#f7f4f5}
#profilePage .em-profile-intro{min-height:0;margin:0 0 13px;padding:7px 2px 12px;border:0;border-bottom:1px solid rgba(255,255,255,.075);border-radius:0;background:transparent;box-shadow:none}
#profilePage .em-profile-intro h2{margin:3px 0 2px;color:#fff;font-size:clamp(19px,2vw,24px);font-weight:950;letter-spacing:.025em}
#profilePage .em-profile-intro p{margin:0;color:#929ba8;font-size:10px;line-height:1.45}
#profilePage .em-profile-intro .eyebrow{font-size:8px;letter-spacing:.2em}
#profilePage .em-profile-intro .em-intro-mark{flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(255,66,93,.22);border-radius:13px;background:linear-gradient(145deg,rgba(255,66,93,.13),rgba(255,255,255,.025));box-shadow:0 8px 24px rgba(0,0,0,.22)}
#profilePage .em-profile-intro .em-intro-mark img{padding:5px}
#profilePage .profile-grid-reworked{display:block!important;width:100%;max-width:1360px;margin:0 auto}
#profilePage .profile-showcase{position:relative!important;display:block!important;width:100%;max-width:1360px;height:clamp(420px,calc(100vh - 286px),520px)!important;min-height:420px!important;max-height:520px!important;aspect-ratio:auto!important;margin:0 auto;padding:0!important;overflow:hidden!important;isolation:isolate;border:1px solid rgba(255,255,255,.12)!important;border-radius:23px!important;background:radial-gradient(ellipse at 80% 0,rgba(255,66,93,.16),transparent 38%),linear-gradient(145deg,#1a1d25,#0b0d12 72%)!important;box-shadow:0 26px 70px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.07)!important;contain:layout paint}
#profilePage .profile-showcase:before{content:"";position:absolute;z-index:2;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#ff526a 0%,rgba(232,189,121,.65) 48%,transparent 100%);pointer-events:none}
#profilePage .profile-showcase:after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(5,7,12,.86) 0%,rgba(5,7,12,.56) 43%,rgba(5,7,12,.42) 100%),linear-gradient(0deg,rgba(5,7,12,.94) 0%,rgba(5,7,12,.52) 35%,rgba(5,7,12,.08) 78%);pointer-events:none}
#profilePage .profile-showcase>.profile-cover{position:absolute!important;z-index:0!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;margin:0!important;aspect-ratio:auto!important;overflow:hidden!important;border:0!important;border-radius:inherit!important;background:radial-gradient(ellipse at 75% 15%,rgba(255,66,93,.19),transparent 42%),linear-gradient(135deg,#20232b,#0b0e14)!important;opacity:1!important;pointer-events:none}
#profilePage .profile-showcase>.profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(7,9,14,.28),transparent 58%),radial-gradient(ellipse at 80% 20%,transparent,rgba(4,6,10,.20));pointer-events:none}
#profilePage .profile-showcase>.profile-cover .profile-cover-image,#profilePage .profile-showcase>.profile-cover video,#profilePage .profile-showcase>.profile-cover img{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;opacity:.9}
#profilePage .profile-showcase>:not(.profile-cover){position:absolute!important;z-index:3}
#profilePage .profile-hero{top:34px!important;left:36px!important;right:auto!important;bottom:auto!important;display:flex!important;align-items:center!important;gap:20px!important;width:min(62%,690px)!important;max-width:690px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#profilePage .profile-avatar-ring{flex:0 0 112px!important;width:112px!important;height:112px!important;padding:4px!important;border:1px solid rgba(255,220,172,.72);border-radius:28px!important;background:linear-gradient(145deg,#ff6477,#7e2539 55%,#dcb47c)!important;box-shadow:0 0 0 5px rgba(255,255,255,.055),0 18px 45px rgba(0,0,0,.5)!important;animation:none!important}
#profilePage .profile-avatar-ring .avatar.big{width:100%!important;height:100%!important;border:2px solid rgba(10,12,18,.9)!important;border-radius:23px!important;background:#11151c!important;font-size:38px!important}
#profilePage .profile-copy{min-width:0;text-shadow:0 3px 20px rgba(0,0,0,.7)}
#profilePage .profile-copy .eyebrow{margin-bottom:5px;color:#ff8b99;font-size:8px;font-weight:950;letter-spacing:.2em}
#profilePage .profile-copy h3{max-width:100%;margin:0 0 6px!important;color:#fff!important;font-size:clamp(23px,3vw,34px)!important;font-weight:1000!important;letter-spacing:-.035em!important;line-height:1.05;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#profilePage #profileJoined{color:#c1c6ce!important;font-size:10px!important}
#profilePage .profile-rank-line{display:flex;align-items:center;gap:8px;margin-top:10px;color:#c5cbd4!important;font-size:9px!important;font-weight:850;letter-spacing:.09em}
#profilePage .profile-rank-line span:first-child{padding:5px 8px;border:1px solid rgba(255,93,115,.35);border-radius:7px;background:rgba(255,66,93,.15);color:#ff9aa7!important}
#profilePage .profile-xp{left:36px!important;right:auto!important;bottom:103px!important;width:min(430px,43%)!important;margin:0!important;padding:15px 17px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(10,13,19,.88),rgba(15,17,24,.72))!important;box-shadow:0 16px 40px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.055)!important;backdrop-filter:blur(12px)}
#profilePage .profile-xp-head{color:#d2d7df!important;font-size:9px!important;font-weight:850;letter-spacing:.12em}
#profilePage .profile-xp-head b{color:#fff!important;font-size:17px!important}
#profilePage .profile-xp-track{height:7px!important;margin:10px 0 7px!important;background:rgba(255,255,255,.10)!important}
#profilePage .profile-xp-track i{background:linear-gradient(90deg,#ff405d,#efa95f)!important;box-shadow:0 0 16px rgba(255,66,93,.35)!important}
#profilePage .profile-xp-foot{color:#aab2bd!important;font-size:8px!important;font-weight:800;letter-spacing:.06em}
#profilePage .profile-stats{right:30px!important;left:auto!important;bottom:103px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:min(490px,48%)!important;margin:0!important;padding:0!important}
#profilePage .profile-stats>div{display:flex;min-width:0;min-height:76px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 6px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:13px!important;background:linear-gradient(145deg,rgba(17,21,29,.91),rgba(9,12,18,.82))!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important;backdrop-filter:blur(10px)}
#profilePage .profile-stats b{color:#fff!important;font-size:clamp(17px,2vw,23px)!important;font-weight:1000;font-variant-numeric:tabular-nums}
#profilePage .profile-stats span{color:#aab3bf!important;font-size:7px!important;font-weight:900;letter-spacing:.14em}
#profilePage .profile-gift-display{top:150px!important;right:34px!important;left:auto!important;bottom:auto!important;width:min(290px,28%)!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#profilePage .profile-gift-chip{max-width:100%;padding:9px 11px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:13px!important;background:rgba(10,13,19,.78)!important;box-shadow:0 16px 40px rgba(0,0,0,.28)!important;backdrop-filter:blur(12px)}
#profilePage .profile-gift-chip>span{color:#eef0f4!important;font-size:8px!important;letter-spacing:.12em}
#profilePage .profile-card-actions{top:29px!important;right:30px!important;left:auto!important;bottom:auto!important;padding:0!important}
#profilePage .profile-card-actions .btn{min-height:37px;padding:9px 13px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;background:rgba(9,12,18,.76)!important;color:#f5e9eb!important;font-size:8px!important;font-weight:950;letter-spacing:.11em;box-shadow:0 10px 25px rgba(0,0,0,.22)!important;backdrop-filter:blur(10px)}
#profilePage .profile-card-actions .btn:hover{border-color:rgba(255,92,113,.65)!important;background:rgba(60,17,28,.88)!important}
#profilePage .profile-cover-play{top:28px!important;right:180px!important;bottom:auto!important;left:auto!important;min-height:36px;padding:8px 12px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;background:rgba(9,12,18,.76)!important;color:#fff!important;font-size:8px!important;font-weight:950;letter-spacing:.08em;box-shadow:0 10px 25px rgba(0,0,0,.22);pointer-events:auto!important;backdrop-filter:blur(10px)}
#profilePage .profile-bottom-nav{position:absolute!important;z-index:8!important;left:50%!important;right:auto!important;bottom:17px!important;top:auto!important;display:flex!important;align-items:center!important;gap:6px!important;width:min(620px,calc(100% - 42px))!important;margin:0!important;padding:6px!important;transform:translateX(-50%)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(10,13,20,.96),rgba(25,29,38,.92))!important;box-shadow:0 16px 48px rgba(0,0,0,.55),0 0 25px rgba(255,66,93,.10),inset 0 1px 0 rgba(255,255,255,.07)!important;backdrop-filter:blur(18px)}
#profilePage .profile-bottom-nav button{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex:1 1 0!important;min-width:0!important;min-height:47px!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#aeb7c4!important;font-size:9px!important;font-weight:950!important;letter-spacing:.12em!important;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s}
#profilePage .profile-bottom-nav button:hover{transform:translateY(-1px);background:rgba(255,255,255,.06)!important;color:#fff!important}
#profilePage .profile-bottom-nav button.active{border-color:rgba(255,86,108,.38)!important;background:linear-gradient(135deg,rgba(255,66,93,.23),rgba(111,26,42,.18))!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 18px rgba(255,48,72,.10)!important}
#profilePage .profile-bottom-nav button span{display:grid;place-items:center;width:25px;height:25px;margin:0!important;border:1px solid rgba(255,255,255,.10);border-radius:8px;background:rgba(255,255,255,.045);color:#ff7788!important;font-size:13px!important}
#profilePage .profile-manager-panel{width:100%;max-width:1360px;margin:15px auto 0!important;padding:20px!important;min-width:0!important;overflow:hidden;border:1px solid rgba(255,255,255,.105)!important;border-radius:19px!important;background:linear-gradient(145deg,rgba(20,23,31,.97),rgba(10,12,17,.97))!important;box-shadow:0 18px 48px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.045)!important}
#profilePage .profile-manager-body{min-height:0!important;min-width:0;overflow:visible!important}
#profilePage .profile-tool-pane{animation:profilePaneIn .22s ease-out}
@keyframes profilePaneIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
#profilePage .profile-tool-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px!important;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.075)}
#profilePage .profile-tool-title>div{min-width:0}
#profilePage .profile-tool-title b{display:block;color:#f8f6f7;font-size:12px;font-weight:1000;letter-spacing:.15em}
#profilePage .profile-tool-title small{display:block;margin-top:5px;color:#8f99a7;font-size:9px;line-height:1.5}
#profilePage .profile-tool-title>span{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:rgba(255,255,255,.045);color:#d5dbe4;font-size:8px;font-weight:950;letter-spacing:.12em}
#profilePage .profile-cosmetic-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:12px!important;min-height:120px}
#profilePage .profile-cosmetic-card,#profilePage .profile-badge-card{gap:9px!important;padding:9px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012))!important;box-shadow:0 9px 25px rgba(0,0,0,.15)!important}
#profilePage .profile-cosmetic-card:hover,#profilePage .profile-badge-card:hover{transform:translateY(-3px);border-color:rgba(255,91,112,.48)!important;box-shadow:0 15px 30px rgba(0,0,0,.24),0 0 22px rgba(255,66,93,.08)!important}
#profilePage .profile-cosmetic-card.selected,#profilePage .profile-badge-card.selected{border-color:rgba(255,83,105,.86)!important;background:linear-gradient(145deg,rgba(255,66,93,.14),rgba(255,255,255,.025))!important;box-shadow:0 0 0 1px rgba(255,83,105,.22),0 12px 28px rgba(255,48,72,.10)!important}
#profilePage .profile-cosmetic-art{aspect-ratio:16/10!important;border:1px solid rgba(255,255,255,.07);border-radius:10px!important;background:radial-gradient(circle at 50% 35%,rgba(255,66,93,.13),rgba(4,6,10,.9))!important}
#profilePage .profile-cosmetic-art img,#profilePage .profile-cosmetic-art video{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
#profilePage .profile-cosmetic-name{font-size:9px!important;font-weight:950!important;letter-spacing:.04em}
#profilePage .profile-cosmetic-select{font-size:7px!important;letter-spacing:.14em}
#profilePage .profile-badge-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:11px!important}
#profilePage .profile-badge-card{min-height:145px!important;justify-content:center}
#profilePage .profile-badge-art{width:78px!important;height:78px!important;border:1px solid rgba(255,255,255,.08);border-radius:18px!important;background:radial-gradient(circle,rgba(255,66,93,.10),rgba(0,0,0,.28))!important}
#profilePage .profile-badge-card b{font-size:9px!important;letter-spacing:.05em}
#profilePage .profile-badge-card small{font-size:7px!important;letter-spacing:.12em}
#profilePage .profile-photo-uploader{display:flex;align-items:center;gap:18px;margin:0 0 18px!important;padding:17px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012))!important}
#profilePage .profile-photo-preview{flex:0 0 96px!important;width:96px!important;height:96px!important;border:2px solid rgba(255,98,119,.65)!important;border-radius:25px!important;background:linear-gradient(145deg,#252b37,#10141b)!important;box-shadow:0 0 0 5px rgba(255,66,93,.07),0 12px 30px rgba(0,0,0,.25)!important}
#profilePage .profile-photo-preview img{width:100%;height:100%;object-fit:cover!important;border-radius:inherit}
#profilePage .profile-photo-copy>b{color:#f6f5f6;font-size:11px;font-weight:1000;letter-spacing:.13em}
#profilePage .profile-photo-copy>small{max-width:540px;color:#939eac;font-size:9px;line-height:1.6}
#profilePage .profile-photo-actions .btn{min-height:36px!important;padding:8px 13px!important;border-radius:9px!important;font-size:8px!important;font-weight:950;letter-spacing:.08em}
#profilePage .profile-owned-title{margin:20px 0 13px!important;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.075)}
#profilePage .profile-background-frame{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px!important;padding:15px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:14px!important;background:rgba(0,0,0,.18)!important}
#profilePage .profile-background-frame-head{grid-column:1/-1;display:grid;gap:4px;margin:0 0 2px!important}
#profilePage .profile-background-frame-head b{color:#f2d0a1;font-size:9px;letter-spacing:.14em}
#profilePage .profile-background-frame-head small{color:#8994a2;font-size:8px}
#profilePage .profile-background-frame label{display:grid;gap:8px;margin:0!important;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.025)}
#profilePage .profile-background-frame label>span{color:#c3cad4!important;font-size:8px!important;font-weight:950;letter-spacing:.09em}
#profilePage .profile-background-frame input[type=range]{width:100%;accent-color:#ff536b}
#profilePage .profile-customization-footer{position:sticky;z-index:5;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px -20px -20px!important;padding:14px 20px!important;border-top:1px solid rgba(255,255,255,.09)!important;background:linear-gradient(180deg,rgba(15,17,23,.92),rgba(10,12,17,.99))!important;backdrop-filter:blur(14px)}
#profilePage .profile-tip{color:#9aa4b1!important;font-size:9px!important;line-height:1.5}
#profilePage #saveProfileCustomization{min-width:154px;min-height:39px;padding:10px 16px!important;border:1px solid rgba(255,106,124,.55)!important;border-radius:10px!important;background:linear-gradient(135deg,#ff536b,#b51f3a)!important;color:#fff!important;font-size:9px!important;font-weight:1000;letter-spacing:.12em;box-shadow:0 9px 24px rgba(255,48,72,.20)!important}
#profilePage #saveProfileCustomization:hover{filter:brightness(1.08);transform:translateY(-1px)}
#profilePage .profile-legacy-selects{display:none!important}
#profilePage .empty{padding:24px 18px;border:1px dashed rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.018);color:#939daa;font-size:10px;text-align:center}
@media(max-width:1050px){
  #profilePage .profile-showcase{height:clamp(430px,calc(100vh - 260px),520px)!important}
  #profilePage .profile-hero{left:24px!important;top:28px!important;width:calc(100% - 48px)!important;max-width:610px!important}
  #profilePage .profile-xp{left:24px!important;bottom:100px!important;width:calc(50% - 34px)!important}
  #profilePage .profile-stats{right:24px!important;bottom:100px!important;width:calc(50% - 34px)!important}
  #profilePage .profile-bottom-nav{width:calc(100% - 32px)!important}
}
@media(max-width:700px){
  #profilePage .em-profile-intro{padding-top:4px}
  #profilePage .profile-showcase{height:auto!important;min-height:640px!important;max-height:none!important}
  #profilePage .profile-hero{top:25px!important;left:20px!important;right:20px!important;width:auto!important;max-width:none!important;gap:13px!important;align-items:center!important}
  #profilePage .profile-avatar-ring{flex-basis:82px!important;width:82px!important;height:82px!important;border-radius:22px!important}
  #profilePage .profile-avatar-ring .avatar.big{border-radius:18px!important;font-size:29px!important}
  #profilePage .profile-copy h3{font-size:21px!important}
  #profilePage .profile-card-actions{top:126px!important;left:20px!important;right:auto!important}
  #profilePage .profile-cover-play{top:126px!important;right:20px!important}
  #profilePage .profile-gift-display{top:178px!important;left:20px!important;right:20px!important;width:auto!important}
  #profilePage .profile-xp{left:20px!important;right:20px!important;bottom:170px!important;width:auto!important}
  #profilePage .profile-stats{left:20px!important;right:20px!important;bottom:96px!important;width:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  #profilePage .profile-stats>div{min-height:60px}
  #profilePage .profile-stats b{font-size:16px!important}
  #profilePage .profile-stats span{font-size:6px!important}
  #profilePage .profile-bottom-nav{bottom:15px!important;width:calc(100% - 24px)!important;gap:3px!important}
  #profilePage .profile-bottom-nav button{gap:4px!important;min-height:43px!important;padding:5px 3px!important;font-size:7px!important;letter-spacing:.06em!important}
  #profilePage .profile-bottom-nav button span{width:20px;height:20px;font-size:11px!important}
  #profilePage .profile-manager-panel{padding:14px!important}
  #profilePage .profile-background-frame{grid-template-columns:1fr}
  #profilePage .profile-background-frame-head{grid-column:auto}
  #profilePage .profile-photo-uploader{align-items:flex-start}
  #profilePage .profile-photo-preview{flex-basis:72px!important;width:72px!important;height:72px!important;border-radius:19px!important}
  #profilePage .profile-customization-footer{margin:16px -14px -14px!important;padding:12px 14px!important;align-items:stretch;flex-direction:column}
  #profilePage #saveProfileCustomization{width:100%}
}
@media(prefers-reduced-motion:reduce){#profilePage .profile-tool-pane{animation:none}}

.map-download-progress.is-error .map-download-progress-head>span{color:#ff5368}.map-download-progress.is-error .map-download-progress-track i{background:linear-gradient(90deg,#b52038,#ff5368)}


/* 5.13.42 — dedicated rating leaderboard */
#leaderboardPage .leaderboard-hero{margin-bottom:14px}
.leaderboard-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}
.leaderboard-overview-card{display:grid;gap:5px;padding:14px 16px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:linear-gradient(145deg,rgba(26,30,38,.94),rgba(11,14,20,.95))}
.leaderboard-overview-card small{color:#9faab8;font-size:9px;font-weight:900;letter-spacing:.12em}
.leaderboard-overview-card b{color:#f2c875;font-size:23px;font-weight:1000;font-variant-numeric:tabular-nums}
.leaderboard-panel{padding:18px}
.leaderboard-sort-note{color:#a9b3c0;font-size:9px;font-weight:900;letter-spacing:.13em}
.leaderboard-full-list{display:grid;gap:7px}
.leader-row{display:grid;grid-template-columns:44px 58px minmax(0,1fr) minmax(88px,auto) 24px 88px;align-items:center;gap:12px;width:100%;min-height:76px;padding:10px 13px;border:1px solid rgba(255,255,255,.085);border-radius:13px;background:linear-gradient(105deg,rgba(27,31,39,.92),rgba(13,16,22,.92));color:inherit;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}
.leader-row:hover{border-color:rgba(229,180,93,.48);background:linear-gradient(105deg,rgba(59,46,29,.48),rgba(18,19,23,.96));transform:translateY(-1px)}
.leader-row:focus-visible{outline:2px solid #e6bd70;outline-offset:2px}
.leader-rank{color:#aab4c0;font-size:16px;font-weight:1000;text-align:center;font-variant-numeric:tabular-nums}
.leader-rank-top .leader-rank{color:#f3c76e;font-size:20px}
.leader-avatar{position:relative;display:grid;place-items:center;width:54px;height:54px;min-width:54px;overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:13px;background:#11151b;box-shadow:0 5px 18px rgba(0,0,0,.28)}
.leader-avatar-media{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.leader-avatar video{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.leader-main{display:grid;gap:5px;min-width:0}
.leader-name{display:flex;align-items:center;gap:8px;min-width:0;color:#f4f6f8;font-size:14px;font-weight:950;overflow-wrap:anywhere}
.leader-name-badge{display:inline-block!important;flex:0 0 auto!important;width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;min-width:32px!important;object-fit:contain!important;vertical-align:middle!important;margin:0!important;filter:drop-shadow(0 0 7px rgba(226,185,103,.35))}
.leader-main small{color:#9ba6b3;font-size:9px;font-weight:800;letter-spacing:.06em}
.leader-right{display:grid;gap:3px;text-align:right}
.leader-right b{color:#f3c875;font-size:18px;font-weight:1000;font-variant-numeric:tabular-nums}
.leader-right small{color:#98a4b2;font-size:8px;font-weight:900;letter-spacing:.13em}
.leader-row .leader-level{width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;max-height:26px!important;flex-basis:26px!important;margin:0!important;border-radius:7px!important}
.leader-open-profile{justify-self:end;color:#d4b579;font-size:8px;font-weight:950;letter-spacing:.1em;white-space:nowrap}
.em-rating-leaderboard-link{display:block;margin-top:9px;padding:5px 0;border:0;background:transparent;color:#edc77e;font-size:9px;font-weight:950;letter-spacing:.12em;cursor:pointer}
.em-rating-leaderboard-link:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
#profilePage .profile-name-badge-large{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;min-width:34px!important;margin-inline-start:8px!important;vertical-align:-7px!important;object-fit:contain!important}
.friend-profile-name .profile-name-tick{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;min-width:34px!important;vertical-align:-8px!important;margin-inline-start:8px!important}
.friend-profile-avatar-media{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:760px){
  .leaderboard-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .leaderboard-overview-card{padding:10px}.leaderboard-overview-card b{font-size:18px}
  .leader-row{grid-template-columns:30px 46px minmax(0,1fr) 70px 22px;gap:8px;min-height:66px;padding:8px}
  .leader-avatar{width:44px;height:44px;min-width:44px}
  .leader-name{font-size:12px}.leader-name-badge{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;min-width:26px!important}
  .leader-right b{font-size:15px}.leader-open-profile{display:none}
}
@media(max-width:440px){.leaderboard-sort-note{display:none}.leader-row{grid-template-columns:26px 40px minmax(0,1fr) 62px 20px;gap:6px}.leader-avatar{width:38px;height:38px;min-width:38px}.leader-main small{font-size:8px}}

/* 5.13.42 — readability and profile cleanup */
.leader-row-self{border-color:rgba(230,190,112,.38)!important;background:linear-gradient(105deg,rgba(74,55,29,.42),rgba(13,16,22,.94))!important;box-shadow:inset 3px 0 rgba(230,190,112,.72)}
.leader-name-badge{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;min-width:38px!important}
#profilePage .profile-name-badge-large{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;min-width:38px!important;margin-inline-start:9px!important;vertical-align:-8px!important}
.friend-profile-name .profile-name-tick{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;min-width:38px!important;vertical-align:-9px!important;margin-inline-start:9px!important}
#profilePage .profile-tool-title{margin-bottom:12px!important;padding-bottom:11px!important}
#profilePage .profile-tool-title small{max-width:620px;font-size:10px!important;line-height:1.45!important}
#profilePage .profile-manager-panel{padding:18px!important}
#profilePage .profile-cover-placeholder{display:none!important}
@media(max-width:760px){.leader-name-badge{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;min-width:30px!important}#profilePage .profile-name-badge-large,.friend-profile-name .profile-name-tick{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;min-width:32px!important}}

/* 5.13.43 — compact profile editor with a larger, fully visible profile preview */
#profilePage .profile-grid-reworked{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)!important;align-items:stretch!important;gap:16px!important;width:100%!important;max-width:1480px!important;margin:0 auto!important}
#profilePage .profile-showcase{width:100%!important;max-width:none!important;height:480px!important;min-height:480px!important;max-height:480px!important;margin:0!important;aspect-ratio:auto!important}
#profilePage .profile-showcase>.profile-hero{top:34px!important;left:30px!important;width:min(70%,640px)!important;max-width:640px!important;gap:18px!important}
#profilePage .profile-avatar-ring{flex-basis:140px!important;width:140px!important;height:140px!important;border-radius:31px!important}
#profilePage .profile-avatar-ring .avatar.big{border-radius:26px!important;font-size:46px!important}
#profilePage .profile-copy h3{font-size:clamp(25px,2.5vw,38px)!important}
#profilePage .profile-manager-panel{margin:0!important;max-width:none!important;min-width:0!important;padding:15px!important;border-radius:17px!important}
#profilePage .profile-tool-title{margin:0 0 10px!important;padding:0 0 8px!important}
#profilePage .profile-tool-title b{font-size:10px!important;letter-spacing:.1em!important}
#profilePage .profile-tool-title small{font-size:9px!important;line-height:1.4!important}
#profilePage .profile-bottom-nav{width:min(580px,calc(100% - 38px))!important;min-height:42px!important;padding:4px!important;gap:4px!important}
#profilePage .profile-bottom-nav button{min-height:39px!important;padding:5px 8px!important;font-size:8px!important;letter-spacing:.07em!important}
#profilePage .profile-bottom-nav button span{width:21px!important;height:21px!important}
#profilePage .profile-photo-uploader{gap:12px!important;margin-bottom:12px!important;padding:11px!important}
#profilePage .profile-photo-preview{flex-basis:78px!important;width:78px!important;height:78px!important;border-radius:18px!important}
#profilePage .profile-photo-copy>small{font-size:9px!important;line-height:1.4!important}
#profilePage .profile-owned-title{margin:12px 0 8px!important;padding-bottom:8px!important}
#profilePage .profile-cosmetic-grid,#profilePage .profile-badge-grid{gap:7px!important;grid-template-columns:repeat(auto-fill,minmax(105px,1fr))!important}
#profilePage .profile-cosmetic-card,#profilePage .profile-badge-card{padding:7px!important;border-radius:10px!important}
#profilePage .profile-cosmetic-art{height:76px!important}
#profilePage .profile-badge-art{height:66px!important}
#profilePage .profile-cosmetic-name,#profilePage .profile-badge-card>b{font-size:9px!important;line-height:1.25!important}
#profilePage .profile-cosmetic-select,#profilePage .profile-badge-card>small{font-size:7px!important}
#profilePage .profile-background-frame{gap:7px!important;margin-top:10px!important;padding:9px!important}
#profilePage .profile-background-frame label{padding:7px!important}
#profilePage .profile-customization-footer{margin:12px -15px -15px!important;padding:10px 15px!important;gap:8px!important}
#profilePage .profile-tip{font-size:8px!important}
#profilePage #saveProfileCustomization{min-height:34px!important;padding:8px 12px!important;font-size:8px!important}
@media(max-width:1100px){#profilePage .profile-grid-reworked{grid-template-columns:minmax(0,1fr)!important}#profilePage .profile-showcase{height:460px!important;min-height:460px!important;max-height:460px!important}#profilePage .profile-manager-panel{margin-top:0!important}}
@media(max-width:700px){#profilePage .profile-showcase{height:auto!important;min-height:610px!important;max-height:none!important}#profilePage .profile-avatar-ring{flex-basis:104px!important;width:104px!important;height:104px!important}#profilePage .profile-showcase>.profile-hero{top:26px!important;left:18px!important;width:calc(100% - 36px)!important;gap:12px!important}#profilePage .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;bottom:108px!important;width:calc(100% - 36px)!important}#profilePage .profile-xp{bottom:270px!important;width:calc(100% - 36px)!important}#profilePage .profile-bottom-nav{bottom:13px!important;width:calc(100% - 20px)!important}#profilePage .profile-cosmetic-grid,#profilePage .profile-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Matchmaking map editor */
.admin-map-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-map-status{margin:8px 0 12px;color:#b5c0cd;font-size:10px}.admin-map-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:11px}.admin-map-card{display:grid;grid-template-columns:108px minmax(0,1fr);gap:11px;min-width:0;padding:10px;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:linear-gradient(145deg,rgba(24,29,38,.96),rgba(12,15,21,.96))}.admin-map-art{display:grid;place-items:center;min-height:112px;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:linear-gradient(135deg,#222a35,#0d1118);color:#8290a0;font-size:8px;font-weight:900;letter-spacing:.1em}.admin-map-art img{width:100%;height:100%;min-height:112px;object-fit:cover}.admin-map-fields{display:grid;align-content:start;gap:8px;min-width:0}.admin-map-head{display:flex;justify-content:space-between;align-items:center;gap:6px}.admin-map-head>b{min-width:0;overflow-wrap:anywhere;color:#f2f4f7;font-size:10px}.admin-map-head>small{flex:0 0 auto;color:#8592a2;font-size:8px}.admin-map-enable{display:flex;align-items:center;gap:7px;color:#dce3eb;font-size:8px;font-weight:900;letter-spacing:.06em}.admin-map-enable input{accent-color:#e5b966}.admin-map-name-label{display:grid;gap:4px;color:#9caaba;font-size:8px;font-weight:900;letter-spacing:.08em}.admin-map-name-label .social-input{width:100%;min-width:0;margin:0;padding:7px 9px;font-size:10px}.admin-map-image-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.admin-map-file-label{position:relative;overflow:hidden;display:inline-flex!important;align-items:center;justify-content:center}.admin-map-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.admin-map-image-actions .btn{min-height:27px;padding:6px 8px;font-size:7px}.admin-map-management{margin-top:14px}
@media(max-width:560px){.admin-map-card{grid-template-columns:84px minmax(0,1fr);gap:8px;padding:8px}.admin-map-art,.admin-map-art img{min-height:92px}.admin-map-toolbar{width:100%}.admin-map-toolbar .btn{flex:1 1 auto}}


/* 5.13.44 — compact profile tools, preserve the profile preview without oversized controls */
#profilePage .profile-grid-reworked{grid-template-columns:minmax(300px,.86fr) minmax(340px,1.14fr)!important;gap:12px!important;max-width:1320px!important}
#profilePage .profile-showcase{height:400px!important;min-height:400px!important;max-height:400px!important}
#profilePage .profile-showcase>.profile-hero{top:27px!important;left:24px!important;gap:14px!important}
#profilePage .profile-avatar-ring{flex-basis:108px!important;width:108px!important;height:108px!important;border-radius:25px!important}
#profilePage .profile-avatar-ring .avatar.big{border-radius:21px!important}
#profilePage .profile-xp{left:24px!important;right:24px!important;bottom:112px!important;width:auto!important}
#profilePage .profile-stats{left:24px!important;right:24px!important;bottom:55px!important;width:auto!important;gap:7px!important}
#profilePage .profile-stats>div{min-height:48px!important;padding:7px 5px!important}
#profilePage .profile-stats b{font-size:17px!important}
#profilePage .profile-bottom-nav{bottom:10px!important;width:calc(100% - 28px)!important}
#profilePage .profile-manager-panel{padding:14px!important}
#profilePage .profile-manager-body{gap:10px!important}
#profilePage .profile-tool-title{margin-bottom:9px!important;padding-bottom:8px!important}
#profilePage .profile-cosmetic-grid,#profilePage .profile-badge-grid{gap:8px!important}
#profilePage .profile-cosmetic-card,#profilePage .profile-badge-card{padding:8px!important;min-width:0!important}
#profilePage .profile-cosmetic-art,#profilePage .profile-badge-art{height:76px!important}
#profilePage .profile-photo-preview{width:72px!important;height:72px!important;flex-basis:72px!important}
#profilePage .profile-photo-uploader{gap:12px!important;padding:11px!important}
#profilePage .profile-photo-copy small{font-size:10px!important;line-height:1.45!important}
#profilePage .profile-advanced-controls{margin-top:10px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(0,0,0,.14)}
#profilePage .profile-advanced-controls>summary{padding:9px 11px;color:#c9b18b;font-size:9px;font-weight:900;letter-spacing:.1em;cursor:pointer;list-style:none}
#profilePage .profile-advanced-controls>summary::-webkit-details-marker{display:none}
#profilePage .profile-advanced-controls>summary:after{content:'+';float:right;font-size:14px}
#profilePage .profile-advanced-controls[open]>summary:after{content:'−'}
#profilePage .profile-advanced-controls .profile-background-frame{margin:0 10px 10px;padding:10px;box-shadow:none}
@media(max-width:900px){#profilePage .profile-grid-reworked{grid-template-columns:minmax(0,1fr)!important}#profilePage .profile-showcase{height:390px!important;min-height:390px!important;max-height:390px!important}}
@media(max-width:700px){#profilePage .profile-showcase{height:500px!important;min-height:500px!important;max-height:500px!important}#profilePage .profile-avatar-ring{flex-basis:78px!important;width:78px!important;height:78px!important}#profilePage .profile-xp{bottom:150px!important}#profilePage .profile-stats{bottom:76px!important}#profilePage .profile-bottom-nav{bottom:10px!important}}


/* 5.13.44 — reduce profile clutter and keep real controls compact */
#profilePage>.em-profile-intro{display:none!important}
#profilePage .profile-grid-reworked{max-width:1180px!important;grid-template-columns:minmax(280px,.82fr) minmax(300px,1fr)!important;gap:10px!important}
#profilePage .profile-showcase{height:370px!important;min-height:370px!important;max-height:370px!important}
#profilePage .profile-showcase>.profile-hero{top:22px!important;left:20px!important;gap:11px!important;width:calc(100% - 40px)!important}
#profilePage .profile-avatar-ring{flex-basis:88px!important;width:88px!important;height:88px!important;border-radius:20px!important}
#profilePage .profile-avatar-ring .avatar.big{border-radius:16px!important;font-size:30px!important}
#profilePage .profile-copy h3{font-size:22px!important;letter-spacing:0!important}
#profilePage .profile-xp{left:20px!important;right:20px!important;bottom:103px!important}
#profilePage .profile-stats{left:20px!important;right:20px!important;bottom:48px!important}
#profilePage .profile-stats>div{min-height:40px!important;padding:5px 4px!important}
#profilePage .profile-stats b{font-size:15px!important}
#profilePage .profile-card-actions .btn{min-height:29px!important;padding:6px 9px!important;font-size:8px!important}
#profilePage .profile-bottom-nav{width:calc(100% - 20px)!important;min-height:36px!important;bottom:7px!important}
#profilePage .profile-bottom-nav button{min-height:32px!important;padding:4px 5px!important;font-size:7px!important}
#profilePage .profile-manager-panel{padding:10px!important;border-radius:13px!important}
#profilePage .profile-manager-body{min-height:0!important}
#profilePage .profile-tool-title{margin:0 0 8px!important;padding:0 0 7px!important}
#profilePage .profile-tool-title b{font-size:9px!important;letter-spacing:.07em!important}
#profilePage .profile-tool-title small{font-size:8px!important}
#profilePage .profile-tool-title>span{padding:4px 6px!important;font-size:7px!important}
#profilePage .profile-cosmetic-grid,#profilePage .profile-badge-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))!important;gap:6px!important;min-height:0!important}
#profilePage .profile-cosmetic-card,#profilePage .profile-badge-card{gap:5px!important;padding:6px!important;border-radius:9px!important}
#profilePage .profile-cosmetic-art{height:62px!important}
#profilePage .profile-badge-art{width:52px!important;height:52px!important;border-radius:11px!important}
#profilePage .profile-cosmetic-name,#profilePage .profile-badge-card>b{font-size:8px!important}
#profilePage .profile-cosmetic-select,#profilePage .profile-badge-card>small{font-size:6px!important}
#profilePage .profile-photo-uploader{gap:9px!important;margin:0 0 10px!important;padding:8px!important;border-radius:10px!important}
#profilePage .profile-photo-preview{flex-basis:60px!important;width:60px!important;height:60px!important;border-radius:13px!important;font-size:20px!important}
#profilePage .profile-photo-copy>b{font-size:10px!important}
#profilePage .profile-photo-copy>small{font-size:8px!important;margin:3px 0 7px!important}
#profilePage .profile-photo-actions{gap:5px!important}
#profilePage .profile-photo-actions .btn{min-height:27px!important;padding:5px 7px!important;font-size:7px!important}
#profilePage .profile-owned-title{margin:9px 0 6px!important}
#profilePage .profile-customization-footer{margin:8px -10px -10px!important;padding:8px 10px!important;gap:7px!important}
#profilePage .profile-tip{font-size:7px!important}
#profilePage #saveProfileCustomization{min-height:30px!important;padding:6px 9px!important;font-size:7px!important}
@media(max-width:900px){#profilePage .profile-grid-reworked{grid-template-columns:minmax(0,1fr)!important}#profilePage .profile-showcase{height:380px!important;min-height:380px!important;max-height:380px!important}}
@media(max-width:700px){#profilePage .profile-showcase{height:470px!important;min-height:470px!important;max-height:470px!important}#profilePage .profile-avatar-ring{flex-basis:72px!important;width:72px!important;height:72px!important}#profilePage .profile-xp{bottom:137px!important}#profilePage .profile-stats{bottom:67px!important}#profilePage .profile-bottom-nav{bottom:7px!important}#profilePage .profile-cosmetic-grid,#profilePage .profile-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
