/* ============================================================
   V21 — Arena unificada e mini rede social
   ============================================================ */
.topbar{grid-template-columns:190px minmax(0,1fr) auto}
.social-nav-actions{display:flex;align-items:center;gap:7px;min-width:0}
.social-google-login,.social-nav-profile,.social-nav-notifications{min-height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff16;background:#ffffff06;color:#d5d9dc;border-radius:5px;transition:.2s}
.social-google-login{padding:0 13px;font-size:9px;font-weight:900;white-space:nowrap}.social-google-login:hover{border-color:#e95d20;color:#fff;background:#e95d2017}
.social-nav-notifications{position:relative;width:42px;font-size:16px}.social-nav-notifications b{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#e95d20;color:#fff;font-size:9px}
.social-nav-profile{gap:7px;padding:4px 9px}.social-nav-profile img,.social-nav-profile>span{width:31px;height:31px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#171a1e;border:1px solid #e95d2055}.social-nav-profile small{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
.community-avatar-button,.table-avatar-button{display:inline-grid;place-items:center;padding:0;border:0;background:transparent;cursor:pointer}.community-avatar-button{margin:auto;border-radius:50%}.community-avatar-button .community-avatar{margin:0}.table-avatar-button{border-radius:50%}

.arena-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.google-cta{background:#fff!important;color:#1f1f1f!important;border-color:#fff!important}
.arena-how{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:24px}.arena-step{position:relative;padding:25px 25px 24px 78px;border:1px solid #ffffff13;background:linear-gradient(145deg,#10151be8,#080b10f2);min-height:140px}.arena-step>b{position:absolute;left:20px;top:23px;color:#ffffff16;font:800 38px/1 Cinzel}.arena-step>span{display:block;color:#ed7c53;font-size:9px;font-weight:900;letter-spacing:.14em}.arena-step p{color:#939ca4;font-size:11px;line-height:1.65;margin:12px 0 0}

.challenge-inbox,.duel-card-grid,.duel-history-list{display:grid;gap:11px}.challenge-message-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:end;gap:14px;padding:20px;border:1px solid #48be7a3d;background:linear-gradient(135deg,#10221aee,#0a0f12f5);box-shadow:0 22px 60px #0007}.challenge-message-card>.profile-popup-trigger{width:58px;height:58px;padding:0;border:0;border-radius:50%;overflow:hidden;background:#151a1f;cursor:pointer}.challenge-message-card>.profile-popup-trigger img{width:100%;height:100%;object-fit:cover}.challenge-message-card>.profile-popup-trigger span{height:100%;display:grid;place-items:center}.challenge-bubble{position:relative;padding:15px 18px;border-radius:6px 6px 6px 0;background:#18382a;color:#eaf5ee}.challenge-bubble:before{content:"";position:absolute;left:-10px;bottom:0;border:10px solid transparent;border-right-color:#18382a;border-bottom-color:#18382a}.challenge-bubble small,.challenge-bubble time{display:block;color:#9bcab0;font-size:8px}.challenge-bubble p{margin:8px 0;font-size:13px}.challenge-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.challenge-actions form{margin:0}

.social-player-search{max-width:760px;display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:0 15px;border:1px solid #ffffff16;background:#06090dd9}.social-player-search>span{font-size:22px;color:#e5764f}.social-player-search input{border:0!important;background:transparent!important;font-size:13px!important}.social-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.social-player-card{padding:0;min-height:510px;overflow:hidden}.social-player-avatar{height:230px;width:100%;padding:0;border:0;border-bottom:1px solid #ffffff13;background:radial-gradient(circle at 50% 70%,#7c351c48,transparent 56%),#070a0e;cursor:pointer;overflow:hidden}.social-player-avatar img{width:100%;height:100%;object-fit:contain;transition:.3s}.social-player-avatar:hover img{transform:scale(1.045)}.social-player-avatar>span{display:grid;place-items:center;height:100%;font-size:70px}.social-player-card-body{display:flex;flex:1;flex-direction:column;padding:22px}.social-player-card-body>small{color:#e3744d;font-size:8px;font-weight:900;letter-spacing:.15em}.social-player-card-body h3{font:700 25px Cinzel;margin:8px 0}.social-player-card-body blockquote{min-height:42px;margin:0;color:#b6bdc3;font-size:11px;line-height:1.65}.social-player-card-body dl{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0}.social-player-card-body dl>div{padding:10px;background:#05080b9c}.social-player-card-body dt{font-size:7px;color:#6e7780;text-transform:uppercase}.social-player-card-body dd{margin:4px 0 0;font-weight:800}.social-player-card[hidden]{display:none}

.duel-status-card{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;padding:22px;border:1px solid #ffffff16;background:linear-gradient(145deg,#10141be8,#080b10f2);color:#fff}.duel-status-card:hover{border-color:#e8724b55}.duel-status-card>em{grid-column:1/-1;text-align:center;color:#e9825d;font-style:normal;font-size:9px;font-weight:900;letter-spacing:.12em}.duel-mini-player{display:flex;align-items:center;gap:11px}.duel-mini-player:nth-of-type(2){flex-direction:row-reverse;text-align:right}.duel-mini-player img,.duel-mini-player>span{width:48px;height:48px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#111}.duel-status-card>b{font:800 20px Cinzel;color:#e95d20}

.x1-row .community-player{border:0;background:transparent;color:#fff;padding:0;cursor:pointer;text-align:left}.x1-row .community-player>span{width:48px;height:48px;display:grid;place-items:center}.duel-history-row{display:grid;grid-template-columns:1fr minmax(180px,.7fr) 1fr;align-items:center;gap:18px;padding:15px 20px;border:1px solid #ffffff12;background:#090d12e8;color:#fff}.duel-history-row:hover{border-color:#e95d2055}.duel-history-row>div{display:flex;align-items:center;gap:10px}.duel-history-row>div:last-child{flex-direction:row-reverse;text-align:right}.duel-history-row img{width:45px;height:45px;border-radius:50%;object-fit:cover}.duel-history-row>span{text-align:center}.duel-history-row>span b,.duel-history-row>span small{display:block}.duel-history-row>span b{color:#e88460;font-size:9px;letter-spacing:.1em}.duel-history-row>span small{color:#8d969d;margin-top:5px;font-size:9px}.duel-history-row.status-refused{border-color:#a03c3c40}.duel-history-row.status-refused>span b{color:#df6a6a}

.social-auth-shell{width:min(1120px,calc(100% - 40px));margin:70px auto 100px}.social-auth-card{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid #ffffff17;background:#0a0e13ed;box-shadow:0 35px 100px #000b;overflow:hidden}.social-auth-art,.social-auth-action{padding:55px}.social-auth-art{min-height:560px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 20%,#e95d2040,transparent 42%),linear-gradient(145deg,#3b170e,#0b0e13)}.social-auth-art>span{font-size:75px}.social-auth-art small{color:#f28a60;font-size:9px;font-weight:900;letter-spacing:.18em}.social-auth-art h1{font:800 47px/.96 Cinzel;margin:17px 0}.social-auth-art p,.social-auth-action>p{color:#9ba4ab;line-height:1.7}.social-auth-action{display:flex;flex-direction:column;justify-content:center}.social-auth-action h2{font:700 37px Cinzel;margin:12px 0}.google-login-button{display:flex;align-items:center;justify-content:center;gap:14px;margin:23px 0;padding:16px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#202124;font-weight:800}.google-login-button>b{font-size:22px;color:#4285f4}.social-auth-action ul{display:grid;gap:11px;padding-left:20px;color:#aeb6bc;font-size:11px}.social-config-warning{display:grid;gap:6px;margin:22px 0;padding:17px;border:1px solid #e95d2050;background:#e95d2010}.social-config-warning span{color:#aeb6bc;font-size:11px}

.profile-editor-shell,.social-profile-main{width:min(1180px,calc(100% - 40px));margin:70px auto 100px;display:grid;grid-template-columns:390px 1fr;gap:22px}.profile-account-card,.profile-editor-form,.profile-identity-card,.profile-battle-stats,.profile-owner-actions,.profile-duel-panel,.share-panel{position:relative;padding:36px;border:1px solid #ffffff16;background:linear-gradient(145deg,#11161ded,#080b10f4);box-shadow:0 28px 80px #0009}.profile-account-card{background:radial-gradient(circle at 15% 12%,#e95d2048,transparent 38%),linear-gradient(145deg,#31150f,#0a0e13)}.profile-account-card>img,.profile-big-fallback{width:128px;height:128px;border-radius:50%;object-fit:cover;display:grid;place-items:center;margin-bottom:30px;border:3px solid #e95d20;box-shadow:0 0 35px #e95d2045}.profile-big-fallback{font-size:48px}.profile-account-card>small,.profile-identity-card>small{color:#f28a60;font-size:9px;font-weight:900;letter-spacing:.16em}.profile-account-card h1{font:700 35px/1.05 Cinzel;margin:10px 0}.profile-account-card>p{color:#c2c8cc;overflow-wrap:anywhere}.profile-account-card>em{display:inline-flex;gap:8px;padding:8px 11px;margin:14px 0 28px;border-radius:20px;background:#fff;color:#222;font-size:9px;font-style:normal}.profile-account-card>em b{color:#4285f4}.profile-account-card dl{display:grid;gap:14px;padding-top:23px;border-top:1px solid #ffffff14}.profile-account-card dt{color:#a66e5a;font-size:8px;text-transform:uppercase}.profile-account-card dd{margin:5px 0 0;font-weight:800;font-size:11px}.profile-editor-form{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:18px}.profile-editor-form>.full{grid-column:1/-1}.profile-editor-form h2{grid-column:1/-1;font:700 38px Cinzel;margin:5px 0}.profile-editor-form>p{grid-column:1/-1;color:#9ca5ad;line-height:1.7}.profile-editor-form textarea{min-height:105px}.avatar-choice{display:grid;gap:10px;padding:18px;border:1px solid #ffffff11;background:#ffffff04}.avatar-choice>div{margin-bottom:4px}.avatar-choice>div b,.avatar-choice>div span{display:block}.avatar-choice>div span{color:#8d969d;font-size:10px;margin-top:4px}.avatar-choice>label{display:flex;align-items:center;gap:9px;font-size:11px}.avatar-choice input[type=radio]{width:auto}.avatar-choice .avatar-upload{display:grid;margin-top:6px}.profile-editor-actions{display:flex;gap:8px;flex-wrap:wrap}.ownership-note{padding:14px 16px;border-left:3px solid #da7b55;background:#ffffff04}.ownership-note p{margin:5px 0 0;color:#89929a;font-size:10px;line-height:1.6}

.social-profile-main{align-items:start}.profile-identity-card{min-height:600px;overflow:hidden;background:radial-gradient(circle at 50% 15%,#e95d2038,transparent 35%),linear-gradient(145deg,#17120f,#080b10)}.profile-identity-glow{position:absolute;inset:auto -20% -20% 20%;height:300px;background:radial-gradient(circle,#e95d2025,transparent 65%)}.profile-identity-avatar{position:relative;width:185px;height:185px;display:grid;place-items:center;border-radius:50%;object-fit:cover;margin-bottom:28px;border:4px solid #e95d20;box-shadow:0 0 42px #e95d204d}.profile-identity-avatar.fallback{font-size:60px;background:#12161b}.profile-identity-card h1{position:relative;font:800 43px/1 Cinzel;margin:11px 0}.profile-identity-card blockquote{position:relative;margin:24px 0;color:#d5dadd;font-size:14px;line-height:1.7}.profile-account-status{position:relative;width:max-content;padding:8px 11px;margin:20px 0;border:1px solid #50c6804c;color:#70d49a;font-size:8px;font-weight:900;letter-spacing:.1em}.profile-identity-card dl{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:25px 0}.profile-identity-card dl>div{padding:11px;background:#05080b9e}.profile-identity-card dt{color:#727b83;font-size:7px;text-transform:uppercase}.profile-identity-card dd{margin:5px 0 0;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis}.profile-action-column{display:grid;gap:14px}.profile-battle-stats h2,.profile-duel-panel h2{font:700 33px Cinzel;margin:9px 0 22px}.profile-battle-stats>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.profile-battle-stats strong{padding:15px;background:#05080bb0;font:700 24px Cinzel}.profile-battle-stats strong small{display:block;margin-top:7px;color:#78828a;font:800 7px Inter}.profile-owner-actions h3{font:700 24px Cinzel;margin-top:0}.profile-owner-actions p,.profile-duel-panel p{color:#919ba3;line-height:1.65}.profile-owner-actions .btn{margin-right:5px}.profile-duel-panel form{display:grid;gap:12px}.profile-duel-panel textarea{min-height:90px}.share-panel>span{display:block;color:#e57a54;font-size:8px;font-weight:900;letter-spacing:.14em}.share-panel>small{display:block;color:#7c858d;font-size:9px;margin-top:13px}.share-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.share-buttons a,.share-buttons button{padding:9px 11px;border:1px solid #ffffff18;border-radius:4px;background:#ffffff06;color:#cbd1d5;font:800 9px Inter;cursor:pointer}.share-buttons a:hover,.share-buttons button:hover{border-color:#e95d20;color:#fff}

.profile-popover-card{min-height:0;padding:28px;background:radial-gradient(circle at 85% 10%,#e95d2029,transparent 32%),linear-gradient(145deg,#11161d,#070a0f)}.profile-popover-top{display:flex;align-items:center;gap:18px}.profile-popover-avatar{width:92px;height:92px;flex:0 0 92px;padding:0;border:3px solid #e95d20;border-radius:50%;overflow:hidden;background:#12171d}.profile-popover-avatar img{width:100%;height:100%;object-fit:cover}.profile-popover-avatar span{height:100%;display:grid;place-items:center;font-size:35px}.profile-popover-top small{color:#e87851;font-size:8px;font-weight:900;letter-spacing:.14em}.profile-popover-top h2{font:700 28px Cinzel;margin:5px 0}.profile-online-badge{color:#69d194;font-size:8px}.profile-popover-card blockquote{margin:20px 0;color:#c7cdd1;line-height:1.65}.profile-stats-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:17px 0!important}.profile-stats-grid>div{padding:11px!important;background:#05080ba8!important}.profile-stats-grid dt{font-size:7px!important;color:#737d85!important}.profile-stats-grid dd{font-size:12px!important;font-weight:900}.profile-popover-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-challenge-form{display:grid;gap:11px;margin-top:20px;padding-top:19px;border-top:1px solid #ffffff12}.profile-challenge-form textarea{min-height:75px}.full-button{width:100%;margin-top:18px}.profile-unavailable{color:#7f8991;font-size:10px}
.profile-modal[hidden]{display:none}.profile-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px}.profile-modal-backdrop{position:absolute;inset:0;border:0;background:#020406c9;backdrop-filter:blur(8px)}.profile-modal-dialog{position:relative;width:min(610px,100%);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e95d2048;background:#080b10;box-shadow:0 40px 130px #000}.profile-modal-close{position:absolute;z-index:2;right:12px;top:10px;width:38px;height:38px;border:1px solid #ffffff17;border-radius:50%;background:#090c10dd;color:#fff;font-size:25px;cursor:pointer}.profile-modal-loading{padding:80px;text-align:center;color:#9ba4ab}

.duel-page-shell{width:min(1040px,calc(100% - 40px));margin:65px auto 100px}.duel-page-head{text-align:center;margin-bottom:28px}.duel-page-head h1{font:800 clamp(42px,6vw,70px)/1 Cinzel;margin:10px 0}.duel-page-head p{max-width:700px;margin:auto;color:#99a2aa;line-height:1.7}.duel-versus-card{display:grid;grid-template-columns:1fr 180px 1fr;align-items:center;padding:35px;border:1px solid #ffffff17;background:radial-gradient(circle at 50% 50%,#e95d201f,transparent 35%),linear-gradient(145deg,#11161ded,#070a0ff6);box-shadow:0 35px 90px #000a}.duel-player-side{text-align:center;color:#fff}.duel-player-side img,.duel-player-side>span{width:150px;height:150px;display:grid;place-items:center;margin:auto;border-radius:50%;object-fit:cover;border:3px solid #ffffff25;background:#111;font-size:50px}.duel-player-side.winner img,.duel-player-side.winner>span{border-color:#ed794f;box-shadow:0 0 40px #e95d204d}.duel-player-side small{display:block;margin-top:17px;color:#7e8790;font-size:8px;letter-spacing:.14em}.duel-player-side h2{font:700 26px Cinzel;margin:7px 0}.duel-player-side>b{color:#f1855e;font-size:9px;letter-spacing:.14em}.duel-versus-center{text-align:center}.duel-versus-center strong,.duel-versus-center span,.duel-versus-center a{display:block}.duel-versus-center strong{font:800 45px Cinzel;color:#e95d20}.duel-versus-center span{margin:10px 0;color:#bdc3c8;font-size:9px;text-transform:uppercase}.duel-versus-center a{color:#ef8a66;font-size:9px}.duel-message-window,.match-confirm-panel,.duel-result-share,.duel-share-invite,.duel-refused-banner{margin-top:15px;padding:28px;border:1px solid #ffffff15;background:linear-gradient(145deg,#10151beb,#080b10f3)}.duel-message-title{display:flex;justify-content:space-between;gap:15px;color:#8f999f;font-size:9px}.duel-chat-bubble{width:min(620px,85%);margin:20px 0;padding:17px 20px;border-radius:7px 7px 7px 0;background:#18382a;color:#edf7f0;font-size:14px}.duel-response-actions{display:flex;gap:8px}.duel-response-actions form{margin:0}.duel-awaiting{color:#8d969d}.match-confirm-panel h2,.duel-result-share h2{font:700 30px Cinzel;margin:8px 0}.match-confirm-panel>p,.duel-result-share>p,.duel-share-invite>p{color:#969fa7;line-height:1.7}.match-confirm-panel form{display:flex;align-items:end;gap:8px;margin:20px 0}.match-confirm-panel label{flex:1}.match-confirm-panel>small{display:block;color:#777f87;font-size:9px;line-height:1.6}.match-pending-box{display:grid;gap:5px;padding:15px;border-left:3px solid #e6a24e;background:#e6a24e0b}.match-pending-box strong{font:700 20px Cinzel}.match-pending-box span{color:#a8afb5;font-size:10px}.duel-refused-banner{border-color:#be444442;background:#4a14143d;text-align:center}.duel-refused-banner strong,.duel-refused-banner span{display:block}.duel-refused-banner strong{color:#ed7070;font:800 26px Cinzel}.duel-refused-banner span{margin-top:8px;color:#c3a5a5}.duel-result-share{border-color:#e95d2048;box-shadow:0 0 40px #e95d2014}.duel-result-share h2{color:#fff}.duel-result-share .share-buttons{margin-top:20px}

.notification-shell{padding-top:20px}.notification-mark-form{display:flex;justify-content:flex-end;margin-bottom:12px}.notification-list{display:grid;gap:8px}.notification-item{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:15px;padding:15px 18px;border:1px solid #ffffff11;background:#090d12ed;color:#fff}.notification-item.unread{border-left:4px solid #e95d20;background:#e95d200b}.notification-item img,.notification-item>span{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;object-fit:cover;background:#111}.notification-item small,.notification-item strong,.notification-item em{display:block}.notification-item small{color:#777f87;font-size:8px}.notification-item strong{margin-top:5px}.notification-item em{margin-top:5px;color:#e87d58;font-size:9px;font-style:normal}

@media(max-width:1450px){.topbar{grid-template-columns:172px minmax(0,1fr) auto}.social-nav-profile small{display:none}.social-google-login{padding-inline:8px;font-size:8px}}
@media(max-width:1200px){.topbar{grid-template-columns:1fr auto}.topbar>.brand{grid-column:1}.social-nav-actions{grid-column:2;grid-row:1}.topbar>.topbar-nav{grid-column:1/-1;grid-row:2}.social-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.arena-how{grid-template-columns:1fr}.profile-editor-shell,.social-profile-main,.social-auth-card{grid-template-columns:1fr}.profile-account-card{min-height:0}.profile-battle-stats>div{grid-template-columns:1fr 1fr}.duel-versus-card{grid-template-columns:1fr;gap:22px}.duel-versus-center{order:2}.duel-player-side:last-child{order:3}.challenge-message-card{grid-template-columns:50px 1fr}.challenge-actions{grid-column:1/-1}.duel-history-row{grid-template-columns:1fr}.duel-history-row>div,.duel-history-row>div:last-child{justify-content:center;flex-direction:row;text-align:center}.social-auth-art{min-height:360px}.social-auth-art,.social-auth-action{padding:38px}}
@media(max-width:700px){.topbar{grid-template-columns:1fr auto}.social-nav-actions{position:absolute;right:10px;top:10px}.social-google-login{min-height:36px}.social-player-grid{grid-template-columns:1fr}.social-player-card{min-height:0}.profile-editor-shell,.social-profile-main,.social-auth-shell,.duel-page-shell{width:calc(100% - 22px);margin-top:35px}.profile-account-card,.profile-editor-form,.profile-identity-card,.profile-battle-stats,.profile-owner-actions,.profile-duel-panel,.share-panel{padding:23px}.profile-editor-form{grid-template-columns:1fr}.profile-editor-form>.full,.profile-editor-form h2,.profile-editor-form>p{grid-column:1}.profile-identity-card dl{grid-template-columns:1fr}.profile-battle-stats>div{grid-template-columns:1fr 1fr}.profile-stats-grid{grid-template-columns:1fr 1fr!important}.duel-versus-card{padding:24px}.duel-player-side img,.duel-player-side>span{width:125px;height:125px}.match-confirm-panel form{align-items:stretch;flex-direction:column}.match-confirm-panel form .btn{width:100%}.duel-response-actions{flex-direction:column}.duel-response-actions .btn{width:100%}.social-auth-art,.social-auth-action{padding:27px}.social-auth-art h1{font-size:37px}.profile-modal{padding:8px}.profile-modal-dialog{max-height:calc(100dvh - 16px)}}

.duel-player-side.profile-popup-trigger{width:100%;padding:0;border:0;background:transparent;cursor:pointer}
.duel-player-side.profile-popup-trigger img,.duel-player-side.profile-popup-trigger>span{transition:.2s}
.duel-player-side.profile-popup-trigger:hover img,.duel-player-side.profile-popup-trigger:hover>span{border-color:#e95d2099;transform:translateY(-2px)}
.duel-history-summary{display:block;text-align:center;color:#fff}
.duel-history-summary b,.duel-history-summary small{display:block}
.duel-history-summary b{color:#e88460;font-size:9px;letter-spacing:.1em}
.duel-history-summary small{color:#8d969d;margin-top:5px;font-size:9px}
.duel-history-profile{width:45px;height:45px;flex:0 0 45px;padding:0;border:0;border-radius:50%;overflow:hidden;background:#111;color:#fff;cursor:pointer}
.duel-history-profile img,.duel-history-profile>span{width:100%;height:100%;display:grid;place-items:center;object-fit:cover;transition:.2s}
.duel-history-profile:hover img,.duel-history-profile:hover>span{transform:scale(1.07)}
.duel-history-row.status-refused .duel-history-summary b{color:#df6a6a}

/* V21 — cards compactos e ranking ao lado dos jogadores. */
.arena-community-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:18px}
.arena-players-panel{min-width:0}.arena-ranking-panel{position:sticky;top:88px;min-width:0;padding:22px;border:1px solid #ffffff15;background:linear-gradient(145deg,#10151bef,#070a0ff5);box-shadow:0 25px 70px #0008}.arena-ranking-panel .section-head{margin-bottom:14px}.arena-ranking-panel .section-head h2{font-size:24px}.arena-history-button{width:100%;margin-top:14px;text-align:center}
.arena-community-layout .social-player-search{max-width:none;margin-bottom:14px}.arena-community-layout .social-player-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.arena-community-layout .social-player-card{display:grid;grid-template-columns:92px minmax(0,1fr);min-height:136px;height:auto}
.arena-community-layout .social-player-avatar{width:92px;height:100%;min-height:136px;border:0;border-right:1px solid #ffffff13}.arena-community-layout .social-player-avatar img{object-fit:cover}.arena-community-layout .social-player-avatar>span{font-size:34px}
.arena-community-layout .social-player-card-body{min-width:0;padding:13px 14px}.arena-community-layout .social-player-card-body h3{margin:4px 0 5px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arena-community-layout .social-player-card-body blockquote{min-height:0;max-height:31px;margin:0 0 5px;overflow:hidden;font-size:8px;line-height:1.45}.social-player-mini-stats{display:flex;gap:8px;flex-wrap:wrap;color:#818b93;font-size:7px}.social-player-mini-stats b{color:#d9dde0;font-size:9px}.arena-community-layout .open-build{margin-top:auto;padding-top:7px;font-size:7px}
.compact-ranking{gap:6px}.compact-ranking .x1-row{grid-template-columns:27px minmax(0,1fr) 35px 35px;gap:6px;padding:8px}.compact-ranking .x1-row>span{font-size:8px;text-align:center}.compact-ranking .community-player{min-width:0;gap:7px}.compact-ranking .community-player strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.compact-ranking .x1-row img,.compact-ranking .community-player>span{width:32px;height:32px;flex:0 0 32px}

/* Notificações em janela flutuante, com aparência de conversa. */
.notification-popover[hidden]{display:none}.notification-popover{position:fixed;z-index:950;right:18px;top:76px;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 92px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid #e95d204b;background:#080c11f8;box-shadow:0 35px 100px #000d;backdrop-filter:blur(14px)}
.notification-popover>header{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #ffffff12}.notification-popover>header small{color:#e47a55;font-size:7px;font-weight:900;letter-spacing:.14em}.notification-popover>header h2{margin:4px 0 0;font:700 22px Cinzel}.notification-popover>header button{width:33px;height:33px;border:1px solid #ffffff16;border-radius:50%;background:#ffffff05;color:#fff;font-size:20px;cursor:pointer}.notification-popover-list{overflow:auto;display:grid;gap:8px;padding:12px}.notification-bubble{padding:12px;border:1px solid #ffffff10;border-radius:5px;background:#0c1218}.notification-bubble.unread{border-left:3px solid #e95d20;background:#e95d200c}.notification-bubble-head{display:flex;align-items:center;gap:9px}.notification-bubble-head img,.notification-bubble-head>span{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;object-fit:cover;background:#131820}.notification-bubble-head strong,.notification-bubble-head small{display:block}.notification-bubble-head strong{font-size:10px}.notification-bubble-head small{margin-top:3px;color:#6f7981;font-size:7px}.notification-bubble p{position:relative;margin:9px 0 0;padding:10px 12px;border-radius:5px 5px 5px 0;background:#173629;color:#e9f4ed;font-size:10px;line-height:1.5}.notification-bubble-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:8px}.notification-bubble-actions form{margin:0}.notification-bubble-actions .btn{padding:7px 9px;font-size:7px}.notification-bubble-actions>a{margin-left:auto;color:#e77e59;font-size:7px;font-weight:900}.notification-popover>footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 14px;border-top:1px solid #ffffff12}.notification-popover>footer form{margin:0}.notification-popover>footer button,.notification-popover>footer a{border:0;background:transparent;color:#8d979f;font:800 7px Inter;cursor:pointer}.notification-popover-empty{padding:45px 15px;text-align:center;color:#8b949c}.notification-popover-empty span{font-size:30px}

/* O histórico do desafio funciona como um chat de eventos. */
.duel-chat-thread{display:grid;gap:9px;margin-top:17px}.duel-chat-event{width:min(620px,82%)}.duel-chat-event.challenged{justify-self:end}.duel-chat-event.system{width:100%;text-align:center}.duel-chat-event>small,.duel-chat-event>time{display:block;color:#819089;font-size:7px}.duel-chat-event>div{margin:4px 0;padding:12px 14px;border-radius:7px 7px 7px 0;background:#18382a;color:#edf7f0;font-size:11px;line-height:1.55}.duel-chat-event.challenged>div{border-radius:7px 7px 0 7px;background:#352018}.duel-chat-event.challenged>small,.duel-chat-event.challenged>time{text-align:right}.duel-chat-event.system>div{display:inline-block;border-radius:20px;background:#ffffff0b;color:#a8b0b6;font-size:9px}.duel-response-login{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:16px;border-top:1px solid #ffffff10}.duel-response-login p{margin:0;color:#8e979f}
.quick-tournament-player{display:flex;align-items:center;gap:20px;padding:22px;border:1px solid #e95d203a;background:linear-gradient(135deg,#25120d,#0b1015)}.quick-tournament-player img,.quick-tournament-player>span{width:88px;height:88px;flex:0 0 88px;display:grid;place-items:center;border-radius:50%;object-fit:cover;border:3px solid #e95d20;background:#131820;font-size:32px}.quick-tournament-player small{color:#e87d58;font-size:8px;font-weight:900;letter-spacing:.14em}.quick-tournament-player h2{margin:6px 0;font:700 28px Cinzel}.quick-tournament-player p{margin:0;color:#919ba3}.profile-history-link{display:inline-flex;margin-top:18px}
.quick-entry-form{display:inline-flex;margin:0}.registration-confirmed-badge{display:inline-flex;align-items:center;min-height:45px;padding:0 15px;border:1px solid #58c98a55;background:#58c98a10;color:#76d9a3;font-size:8px;font-weight:900;letter-spacing:.1em}

@media(max-width:1120px){.arena-community-layout{grid-template-columns:minmax(0,1fr) 310px}.arena-community-layout .social-player-grid{grid-template-columns:1fr}}
@media(max-width:850px){.arena-community-layout{grid-template-columns:1fr}.arena-ranking-panel{position:relative;top:auto}.arena-community-layout .social-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.arena-community-layout .social-player-grid{grid-template-columns:1fr}.notification-popover{right:12px;top:62px}.duel-chat-event{width:92%}.duel-response-login{align-items:stretch;flex-direction:column}}

/* V21.1 — avatares redondos, perfil proporcional e cancelamento do convite. */
.arena-community-layout .social-player-card{grid-template-columns:96px minmax(0,1fr);min-height:126px}
.arena-community-layout .social-player-avatar{width:76px;height:76px;min-height:0;align-self:center;justify-self:center;border:2px solid #e95d20;border-radius:50%;overflow:hidden;background:#11161c;box-shadow:0 0 22px #e95d2029}
.arena-community-layout .social-player-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.arena-community-layout .social-player-avatar>span{height:100%;border-radius:50%;font-size:29px}

.social-profile-main{width:min(1040px,calc(100% - 40px));grid-template-columns:320px minmax(0,1fr);gap:16px;margin:44px auto 72px}
.social-profile-main .profile-identity-card{min-height:0;padding:26px}
.social-profile-main .profile-identity-avatar{width:124px;height:124px;margin-bottom:20px;border-width:3px}
.social-profile-main .profile-identity-avatar.fallback{font-size:42px}
.social-profile-main .profile-identity-card h1{margin:9px 0;font-size:clamp(24px,2.35vw,31px);line-height:1.05;overflow-wrap:anywhere}
.social-profile-main .profile-identity-card blockquote{margin:17px 0;font-size:11px}
.social-profile-main .profile-account-status{margin:15px 0}
.social-profile-main .profile-identity-card dl{margin:18px 0}
.social-profile-main .profile-action-column>article{padding:26px}
.social-profile-main .profile-battle-stats h2,.social-profile-main .profile-duel-panel h2{font-size:26px;margin-bottom:17px}
.social-profile-main .profile-battle-stats strong{padding:12px;font-size:20px}
.duel-cancel-action{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;padding-top:16px;border-top:1px solid #ffffff10}
.duel-cancel-action p{margin:0;color:#929ba3;font-size:10px;line-height:1.55}.duel-cancel-action form{margin:0;flex:0 0 auto}

@media(max-width:850px){.social-profile-main{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:760px){.social-profile-main{grid-template-columns:1fr}.social-profile-main .profile-identity-card{max-width:420px;width:100%;margin:0 auto}.duel-cancel-action{align-items:stretch;flex-direction:column}.duel-cancel-action .btn{width:100%}}
@media(max-width:420px){.arena-community-layout .social-player-card{grid-template-columns:82px minmax(0,1fr)}.arena-community-layout .social-player-avatar{width:66px;height:66px}.social-profile-main .profile-identity-card,.social-profile-main .profile-action-column>article{padding:21px}.social-profile-main .profile-identity-avatar{width:106px;height:106px}.social-profile-main .profile-identity-card h1{font-size:23px}}
