/* Contienda: shared interface refinements on the approved dark / gold art direction. */
body .ce-app{--ce-surface:#131d2b;--ce-line:#ffffff1c;--ce-gold:#ccad71;--ce-ink:#e8eaed;--ce-muted:#aeb3ba;color-scheme:dark}
body .ce-app [hidden]{display:none!important}
body .ce-app :is(h1,h2,h3){text-wrap:balance}
body .ce-app :is(.ce-hud-rating,.ce-stats,.ce-ranking-points){font-variant-numeric:tabular-nums}
body .ce-app .ce-nav{padding:8px;background:#121c2a;border:1px solid var(--ce-line);border-radius:14px}
body .ce-app .ce-nav a{font-size:14px;min-height:46px;display:flex;align-items:center;padding:10px 16px;border-radius:12px}
body .ce-app .ce-nav a[aria-current=page]{background:#ccad711c;color:#dcc8a0;border-color:#ccad7150}
body .ce-app .ce-home-welcome{padding:16px 0 24px;margin:0;min-height:0;gap:20px}
body .ce-app .ce-home-welcome h1{font-size:36px!important;margin:0 0 8px!important}
body .ce-app .ce-home-welcome p{margin:0;color:var(--ce-muted)}
body .ce-app .ce-section-heading{margin:0 0 16px;align-items:center}
body .ce-app .ce-section-heading h2{font-size:26px;margin:0}
body .ce-app .ce-official-news{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:8px 0 24px}
body .ce-app .ce-official-news>.ce-section-heading,body .ce-app .ce-official-news>.ce-news-feature:not(.ce-news-secondary){grid-column:1/-1}
body .ce-app .ce-news-feature{min-height:280px!important;padding:32px!important;margin:0!important;border-radius:16px;display:flex;align-items:end}
body .ce-app .ce-news-feature h3{font-size:36px!important;line-height:1.12;margin:12px 0}
body .ce-app .ce-news-feature p{font-size:15px;line-height:1.6;max-width:52ch}
body .ce-app .ce-news-secondary{min-height:180px!important;padding:24px!important}
body .ce-app .ce-news-secondary h3{font-size:25px!important}
body .ce-app .ce-news-secondary p{display:none}
body .ce-app .ce-dashboard-actions{margin:24px 0 32px;gap:16px}
body .ce-app .ce-dashboard-actions a{padding:24px!important;min-height:130px;background:#141f2e!important;border:1px solid var(--ce-line);border-radius:14px}
body .ce-app .ce-dashboard-actions strong{font-size:20px!important}
body .ce-app .ce-dashboard-actions small{font-size:14px;color:var(--ce-muted)}
body .ce-app .ce-dashboard-actions a>span{font-size:11px;color:var(--ce-gold)}
body .ce-app .ce-dashboard-welcome{padding:32px!important;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}
body .ce-app .ce-player-identity{gap:24px;min-width:0}
body .ce-app .ce-identity-copy{min-width:0}
body .ce-app .ce-identity-copy h2{font-size:38px;margin:0 0 12px}
body .ce-app .ce-identity-seals{display:flex;align-items:center;gap:16px;flex:0 0 auto;width:auto;padding:0}
body .ce-app .ce-identity-seals .ce-community-seal{position:static;width:48px;height:48px;flex-shrink:0;border-radius:12px;border:1px solid #ccad7170;box-shadow:none}
body .ce-app button.ce-qr-orbit{width:88px;height:88px;flex-shrink:0;box-shadow:none;border-radius:50%;background:#0f1926!important}
body .ce-app .ce-qr-orbit .ce-player-emblem{width:40px;height:40px;object-fit:contain}
body .ce-app .ce-qr-orbit span{position:static;display:block;padding:4px 0 0;background:none;border:0;font-size:12px;color:#dbc59b}
body .ce-app .ce-player-membership{margin:12px 0 0}
body .ce-app .ce-player-membership small{font-size:12px;letter-spacing:.03em}
body .ce-app .ce-dashboard-edit{margin:0;align-self:start;font-size:14px}
body .ce-app .ce-player-hud{grid-column:1/-1;margin:0!important;padding:22px 0 0!important;border-top:1px solid var(--ce-line);background:transparent;gap:24px;display:grid;grid-template-columns:1fr 1.35fr auto;align-items:center}
body .ce-app .ce-hud-rank strong{font-size:26px}
body .ce-app .ce-hud-rank small,body .ce-app .ce-hud-rating small{font-size:12px}
body .ce-app .ce-hud-xp small{font-size:13px;color:var(--ce-muted)}
body .ce-app .ce-hud-xp progress{height:7px;border-radius:12px;overflow:hidden;accent-color:var(--ce-gold)}
body .ce-app .ce-community-hero{min-height:170px;padding:28px!important;gap:24px}
body .ce-app .ce-community-hero h1{font-size:38px!important;margin:8px 0}
body .ce-app .ce-community-hero-logo{width:76px;height:76px;object-fit:contain;border-radius:12px}
body .ce-app .ce-community-actions{gap:12px}
body .ce-app .ce-community-actions>:is(a,button){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:110px;padding:18px!important;border-radius:12px;border:1px solid var(--ce-line)!important;background:#141f2e!important;color:var(--ce-ink)!important;text-align:left}
body .ce-app .ce-community-actions>:is(a,button)>span{display:none}
body .ce-app .ce-community-actions strong{font-size:16px!important;line-height:1.35}
body .ce-app .ce-community-actions small{font-size:13px!important;line-height:1.4;color:var(--ce-muted)!important}
body .ce-app .ce-community-actions>a:first-child{background:#ccad71!important;color:#181510!important}
body .ce-app .ce-community-actions>a:first-child small{color:#443a27!important}
body .ce-app .ce-community-actions>:is(a,button):hover{border-color:#ccad71!important;background:#1f2b3c!important}
body .ce-app .ce-community-actions>a:first-child:hover{background:#d6be8f!important;color:#181510!important}
body .ce-app .ce-community-actions>a:first-child:hover strong{color:#181510!important}
body .ce-app :is(.ce-competition-hero,.ce-arena-entry){min-height:0;padding:28px!important;margin-bottom:20px}
body .ce-app .ce-competition-hero h1{font-size:42px}
body .ce-app .ce-arena-entry h2{font-size:28px!important;line-height:1.2}
body .ce-app .ce-arena-entry .ce-dashboard-eyebrow{display:none}
body .ce-app .ce-arena-tabs{display:flex;gap:8px;margin:24px 0;border-bottom:1px solid var(--ce-line);padding-bottom:8px}
body .ce-app .ce-arena-tabs a{font:600 15px/1.3 var(--ce-body);text-decoration:none;padding:14px 20px;border-radius:12px;color:var(--ce-muted)}
body .ce-app .ce-arena-tabs a[aria-current=page]{background:#ccad711c;color:#dcc89f}
body .ce-app .ce-ranking li.ce-ranking-self{background:#ccad7115;border-left:3px solid var(--ce-gold)}
body .ce-app .ce-ranking-person strong{font-size:16px}
body .ce-app .ce-ranking-person>span{font-size:13px}
body .ce-app .ce-field-help{font-size:14px;color:var(--ce-muted)}
body .ce-app .ce-wizard-nav{display:flex;gap:8px;border-bottom:1px solid var(--ce-line);padding:0 0 16px;margin:0 0 22px}
body .ce-app .ce-wizard-nav button{flex:1;padding:10px 6px;min-height:44px;background:#1c2838;color:var(--ce-muted);border:1px solid transparent;font:500 13px/1.3 var(--ce-body)}
body .ce-app .ce-wizard-nav button[aria-current=step]{background:#ccad7120;border-color:#ccad71;color:#efe2c8}
body .ce-app .ce-wizard-section{border:0;padding:0;margin:0;min-width:0}
body .ce-app .ce-wizard-footer{display:flex;align-items:center;gap:12px;padding:16px 0 0;background:#101619}
body .ce-app .ce-wizard-footer button{min-height:48px;flex:1}
body .ce-app .ce-wizard-footer [data-wizard-next]{background:#ccad71!important;color:#101a27!important}
body .ce-app .ce-wizard-section .ce-editor-step{display:none}
body .ce-app .ce-community-dialog form label{margin:0 0 18px!important}
body .ce-landing #comunidades .ce-community-mark .ce-logo{object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important;opacity:1!important;padding:10px;width:100%;height:110px;box-sizing:border-box}
body .ce-landing #comunidades .ce-community-mark:has([data-community-mark="mil-espadas"]),body .ce-landing #comunidades .ce-community-mark:has([data-community-mark="swords-and-shields"]){background:#ced2d6;border-radius:12px}
@media(max-width:700px){
 body .ce-app .ce-home-welcome{padding:4px 0 20px;gap:12px}
 body .ce-app .ce-home-welcome h1{font-size:28px!important}
 body .ce-app .ce-home-player{padding:12px;min-width:0}
 body .ce-app .ce-home-player small{display:none}
 body .ce-app .ce-official-news{grid-template-columns:1fr}
 body .ce-app .ce-news-feature{min-height:250px!important;padding:22px!important}
 body .ce-app .ce-news-feature h3{font-size:29px!important}
 body .ce-app .ce-news-secondary{min-height:140px!important}
 body .ce-app .ce-news-secondary h3{font-size:23px!important}
 body .ce-app .ce-dashboard-actions{grid-template-columns:1fr;gap:10px}
 body .ce-app .ce-dashboard-actions a{min-height:0;padding:18px!important}
 body .ce-app .ce-dashboard-actions a>span{display:none}
 body .ce-app .ce-dashboard-actions strong{font-size:18px!important}
 body .ce-app .ce-dashboard-welcome{padding:22px!important;grid-template-columns:1fr;gap:18px}
 body .ce-app .ce-player-identity{align-items:flex-start;gap:18px;flex-direction:column}
 body .ce-app .ce-identity-seals{gap:18px}
 body .ce-app .ce-identity-copy h2{font-size:30px!important}
 body .ce-app .ce-player-hud{grid-template-columns:1fr auto;gap:18px;padding-top:18px!important}
 body .ce-app .ce-hud-xp{grid-column:1/-1;grid-row:2}
 body .ce-app .ce-hud-rating{grid-column:2;grid-row:1}
 body .ce-app .ce-community-hero{min-height:0;padding:22px!important;flex-direction:row!important;align-items:center!important;gap:16px}
 body .ce-app .ce-community-hero h1{font-size:28px!important}
 body .ce-app .ce-community-hero-logo{width:64px;height:64px}
 body .ce-app .ce-community-hero .ce-dashboard-eyebrow{display:none}
 body .ce-app .ce-community-actions>:is(a,button){min-height:96px;padding:14px!important}
 body .ce-app .ce-community-actions strong{font-size:15px!important}
 body .ce-app .ce-community-actions small{font-size:12px!important}
 body .ce-app .ce-mobile-nav :is(a,button){font-size:12px;white-space:normal;gap:4px}
 body .ce-app .ce-arena-tabs{gap:4px;margin:20px 0}
 body .ce-app .ce-arena-tabs a{flex:1;text-align:center;padding:13px 7px;font-size:14px}
 body .ce-app .ce-wizard-nav button{font-size:12px}
 body .ce-app .ce-wizard-footer{position:sticky;bottom:0;padding:12px 0 max(12px,env(safe-area-inset-bottom));z-index:2}
 body .ce-app .ce-wizard-section{min-height:260px}
}
body .ce-app .ce-unsaved-notice{position:sticky;top:0;z-index:6;background:#1b2737;border:1px solid #ccad71;border-radius:12px;padding:18px;margin:0 0 18px;box-shadow:0 10px 30px #03060b88}
body .ce-app .ce-unsaved-notice p{margin:0 0 12px;font-size:15px}
body .ce-app .ce-unsaved-notice button{font-size:14px;margin:4px;min-height:44px}

@media(max-width:700px){
 body .ce-app .ce-arena-entry{padding:20px!important}
 body .ce-app .ce-arena-entry h2{font-size:23px!important;margin:0 0 12px!important}
 body .ce-app .ce-arena-entry p{font-size:14px;margin:0 0 20px!important}
 body .ce-app .ce-arena-entry button{margin:0!important}
}

body .ce-app .ce-community-seal img{mix-blend-mode:normal;filter:none;opacity:1}

.ce-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.ce-pagination a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #ccad7166;border-radius:12px;color:#ccad71}
