:root{
  --esp-bg:#050914;--esp-panel:rgba(12,20,36,.74);--esp-panel-strong:rgba(9,15,28,.94);--esp-line:rgba(151,176,255,.16);--esp-text:#eef5ff;--esp-muted:#8f9bb2;--esp-cyan:#25d9ff;--esp-purple:#a85cff;--esp-gold:#ffcc66;--esp-red:#ff5577;--esp-green:#36f0a0;--esp-shadow:0 28px 80px rgba(0,0,0,.36)
}
*{box-sizing:border-box}.esp-arena-root{min-height:100vh;background:radial-gradient(circle at 80% 0%,rgba(128,60,255,.25),transparent 34%),radial-gradient(circle at 20% 12%,rgba(35,216,255,.16),transparent 26%),linear-gradient(135deg,#050914,#08101d 55%,#050713);color:var(--esp-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.esp-arena-root button,.esp-arena-root a,.esp-arena-root input,.esp-arena-root textarea{font:inherit}.esp-arena-root button{cursor:pointer}.esp-arena-app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.esp-arena-sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;border-right:1px solid var(--esp-line);background:linear-gradient(180deg,rgba(6,12,23,.98),rgba(5,8,16,.94));display:flex;flex-direction:column;gap:24px;z-index:30}.esp-brand{display:flex;gap:13px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--esp-line);text-decoration:none;color:inherit;cursor:pointer}.esp-brand-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,var(--esp-cyan),var(--esp-purple));box-shadow:0 0 28px rgba(168,92,255,.5);font-size:25px}.esp-brand strong{letter-spacing:.08em;color:#fff}.esp-brand span,.esp-topbar small,.esp-kicker{display:block;color:var(--esp-muted);font-size:11px;letter-spacing:.14em;text-transform:uppercase}.esp-arena-sidebar nav{display:flex;flex-direction:column;gap:8px}.esp-arena-sidebar nav button,.esp-mobile-nav button,.esp-hero-card,.esp-versus,.esp-team-row,.esp-leader-row,.esp-ladder-row,.esp-match-vs button{border:0;background:transparent;color:#d9e2f4;cursor:pointer}.esp-arena-sidebar nav button{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:14px;text-align:left}.esp-arena-sidebar nav button:hover,.esp-arena-sidebar nav button.is-active{background:linear-gradient(90deg,rgba(35,216,255,.18),rgba(168,92,255,.08));box-shadow:inset 3px 0 0 var(--esp-cyan)}.esp-premium{margin-top:auto;padding:18px;border:1px solid rgba(168,92,255,.3);border-radius:18px;background:linear-gradient(135deg,rgba(168,92,255,.18),rgba(35,216,255,.08))}.esp-premium p{color:var(--esp-muted);font-size:13px}.esp-premium button,.esp-btn,.esp-hero-actions button{border:0;border-radius:12px;background:linear-gradient(135deg,var(--esp-cyan),#16a8ff);padding:11px 14px;color:#02101c;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.esp-hero-actions .ghost,.esp-btn.ghost{background:rgba(255,255,255,.04);border:1px solid var(--esp-line);color:var(--esp-text)}.esp-arena-main{min-width:0;padding:22px 24px 98px}.esp-topbar{display:grid;grid-template-columns:auto 1fr minmax(220px,360px) auto;gap:16px;align-items:center;margin-bottom:18px}.esp-topbar h1{margin:2px 0 0;font-size:30px;line-height:1}.esp-menu-btn,.esp-nav-close{display:none}.esp-search{height:44px;border:1px solid var(--esp-line);border-radius:13px;background:rgba(255,255,255,.035);display:flex;align-items:center;gap:10px;color:var(--esp-muted);padding:0 15px}.esp-user-chip{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--esp-line);border-radius:99px;background:rgba(255,255,255,.04);white-space:nowrap}.esp-user-chip span,.esp-mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--esp-cyan),var(--esp-purple));color:white;font-weight:900;overflow:hidden}.esp-mini-avatar img{width:100%;height:100%;object-fit:cover}.esp-page{display:flex;flex-direction:column;gap:18px}.esp-hero,.esp-profile-hero,.esp-match-hero,.esp-collection-head{position:relative;overflow:hidden;border:1px solid var(--esp-line);border-radius:24px;background:linear-gradient(135deg,rgba(14,24,44,.96),rgba(12,13,31,.84));box-shadow:var(--esp-shadow)}.esp-hero{min-height:360px;padding:38px;display:grid;grid-template-columns:1.2fr 330px;gap:20px;align-items:end}.esp-hero:before,.esp-profile-hero:before,.esp-match-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 28%,rgba(168,92,255,.38),transparent 28%),linear-gradient(90deg,rgba(35,216,255,.08),transparent);pointer-events:none}.esp-hero-copy,.esp-hero-card,.esp-versus,.esp-profile-main,.esp-profile-actions,.esp-match-hero>*{position:relative}.esp-hero h2,.esp-profile-hero h2,.esp-match-hero h2,.esp-collection-head h2{font-size:clamp(34px,5vw,68px);line-height:.96;margin:10px 0;letter-spacing:-.05em}.esp-hero p,.esp-profile-main p,.esp-collection-head p{max-width:720px;color:#c2ccdd;font-size:16px}.esp-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.esp-hero-card{align-self:center;padding:22px;border:1px solid var(--esp-line);background:rgba(5,10,20,.62);border-radius:24px;display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center;text-align:left;width:100%;transition:.18s ease}.esp-hero-card:hover,.esp-versus:hover{border-color:rgba(37,217,255,.38);transform:translateY(-2px)}.esp-avatar-xl{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;border:3px solid var(--esp-cyan);overflow:hidden;background:#0b1324;font-size:24px;font-weight:900}.esp-avatar-xl img,.esp-profile-avatar img,.esp-card-img img{width:100%;height:100%;object-fit:cover}.esp-hero-card strong{display:block;font-size:26px}.esp-hero-card span{color:var(--esp-muted)}.esp-rank-badge{padding:12px;border-radius:16px;background:#0b1426;border:1px solid rgba(35,216,255,.42);font-weight:900}.esp-versus{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:18px;padding:16px;border-radius:18px;background:rgba(0,0,0,.22);border:1px solid var(--esp-line)}.esp-versus b,.esp-match-vs b{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--esp-line);background:rgba(255,255,255,.04)}.esp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.esp-stat{position:relative;overflow:hidden;min-height:112px;padding:18px;border:1px solid var(--esp-line);border-radius:18px;background:linear-gradient(180deg,var(--esp-panel),rgba(8,14,25,.7))}.esp-stat small{color:var(--esp-muted);text-transform:uppercase;letter-spacing:.08em}.esp-stat strong{display:block;margin-top:12px;font-size:29px}.esp-stat span{position:absolute;left:14px;right:14px;bottom:0;height:4px;border-radius:99px;background:var(--esp-cyan)}.esp-stat.esp-purple span{background:var(--esp-purple)}.esp-stat.esp-gold span{background:var(--esp-gold)}.esp-dashboard-grid,.esp-detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.esp-panel{border:1px solid var(--esp-line);border-radius:20px;background:var(--esp-panel);box-shadow:0 14px 44px rgba(0,0,0,.18);padding:16px;min-width:0}.esp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.esp-panel h3{margin:0;font-size:17px}.esp-panel-head button{border:0;background:transparent;color:var(--esp-purple);cursor:pointer;font-weight:800}.esp-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.esp-card-grid.compact{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.esp-card{border:1px solid var(--esp-line);border-radius:18px;background:rgba(255,255,255,.035);overflow:hidden;cursor:pointer;transition:.18s ease}.esp-card:hover{transform:translateY(-3px);border-color:rgba(35,216,255,.38)}.esp-card-img{height:134px;background:radial-gradient(circle,rgba(35,216,255,.18),rgba(168,92,255,.16));display:grid;place-items:center;font-size:36px;font-weight:900;color:white}.esp-card>div:last-child{padding:14px}.esp-card small{color:var(--esp-cyan);text-transform:uppercase;font-size:11px;letter-spacing:.1em}.esp-card h3{margin:6px 0;font-size:20px}.esp-card p{margin:0 0 12px;color:var(--esp-muted)}.esp-card-stats{display:flex;gap:6px;flex-wrap:wrap}.esp-card-stats span,.esp-profile-tags span{padding:6px 8px;border-radius:999px;border:1px solid var(--esp-line);background:rgba(255,255,255,.04);color:#c9d5ea;font-size:12px}.esp-match-list,.esp-team-rows,.esp-leaderboard{display:flex;flex-direction:column;gap:9px}.esp-match-row,.esp-team-row,.esp-leader-row{display:grid;align-items:center;gap:12px;border:1px solid var(--esp-line);border-radius:16px;background:rgba(255,255,255,.035);padding:12px;cursor:pointer;color:#eef5ff;text-align:left}.esp-match-row{grid-template-columns:48px 1fr auto 1fr auto}.esp-match-row:hover,.esp-team-row:hover,.esp-leader-row:hover,.esp-ladder-row:hover{border-color:rgba(37,217,255,.36);background:rgba(37,217,255,.055)}.esp-match-row small,.esp-team-row em,.esp-leader-row em,.esp-match-row em{color:var(--esp-muted);font-style:normal}.esp-map-thumb{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,rgba(35,216,255,.2),rgba(168,92,255,.14))}.esp-match-title{display:block;border:0;background:transparent;color:#fff;padding:0;font-weight:900;text-align:left}.esp-match-title:hover{color:var(--esp-cyan)}.esp-team-row,.esp-leader-row{grid-template-columns:auto auto 1fr auto}.esp-profile-hero{padding:34px;display:grid;grid-template-columns:142px 1fr auto;gap:22px;align-items:end;min-height:320px}.esp-profile-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.18;filter:blur(1px)}.esp-profile-avatar{position:relative;width:142px;height:142px;border-radius:50%;display:grid;place-items:center;overflow:hidden;border:4px solid var(--esp-cyan);background:#0b1426;font-size:42px;font-weight:900}.esp-verify{display:inline-grid;place-items:center;margin-left:12px;width:28px;height:28px;border-radius:50%;font-size:15px;background:var(--esp-cyan);color:#06101d;vertical-align:middle}.esp-profile-tags{display:flex;gap:8px;flex-wrap:wrap}.esp-profile-actions{display:flex;gap:10px;align-self:center;flex-wrap:wrap}.esp-match-hero,.esp-collection-head{padding:34px}.esp-match-vs{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:18px}.esp-match-vs button{font-size:22px;font-weight:950;color:#fff}.esp-match-vs button:hover{color:var(--esp-cyan)}.esp-achievements{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.esp-achievement{border:1px solid var(--esp-line);border-radius:16px;background:rgba(255,255,255,.035);padding:16px;text-align:center}.esp-achievement b{display:block;font-size:34px}.esp-achievement strong{display:block;margin:8px 0 3px}.esp-achievement span{color:var(--esp-muted);font-size:13px}.esp-copy{color:#c7d1e3;line-height:1.65}.esp-copy a{color:var(--esp-cyan)}.esp-socials,.esp-gameids,.esp-members{display:grid;gap:10px}.esp-socials{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.esp-socials a,.esp-gameid,.esp-member{padding:14px;border:1px solid var(--esp-line);border-radius:14px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none}.esp-socials a{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center}.esp-socials a b{grid-row:1/3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(37,217,255,.12);color:var(--esp-cyan)}.esp-socials a span,.esp-gameid b{font-weight:900}.esp-socials a em,.esp-gameid span,.esp-empty{color:var(--esp-muted);font-style:normal}.esp-socials a:hover{border-color:rgba(37,217,255,.35)}.esp-gameid{display:flex;justify-content:space-between;gap:12px}.esp-member{display:flex;align-items:center;gap:10px}.esp-member img{width:38px;height:38px;border-radius:50%;object-fit:cover}.esp-ladder-table{display:flex;flex-direction:column;gap:8px}.esp-ladder-head,.esp-ladder-row{display:grid;grid-template-columns:70px minmax(180px,1fr) 60px 60px 90px 90px 90px;gap:10px;align-items:center}.esp-ladder-head{padding:0 12px;color:var(--esp-muted);font-size:11px;text-transform:uppercase;letter-spacing:.11em}.esp-ladder-row{border:1px solid var(--esp-line);background:rgba(255,255,255,.035);border-radius:15px;color:#fff;padding:12px;text-align:left}.esp-ladder-row b{color:var(--esp-cyan)}.esp-ladder-team{display:flex;align-items:center;gap:10px;min-width:0}.esp-ladder-team i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--esp-cyan),var(--esp-purple));font-style:normal;font-weight:900;overflow:hidden;flex:none}.esp-ladder-team img{width:100%;height:100%;object-fit:cover}.esp-ladder-team strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.esp-ladder-row em{font-style:normal;color:var(--esp-gold);font-weight:900}.esp-loading,.esp-arena-loading{min-height:100vh;display:grid;place-items:center;text-align:center}.esp-loader{width:58px;height:58px;border-radius:50%;border:3px solid rgba(255,255,255,.12);border-top-color:var(--esp-cyan);animation:espSpin 1s linear infinite;margin:auto}@keyframes espSpin{to{transform:rotate(360deg)}}.esp-nav-close{position:absolute;top:12px;right:12px;border:1px solid var(--esp-line);background:rgba(255,255,255,.05);color:white;border-radius:12px;width:40px;height:40px}.esp-mobile-nav{display:none}.esp-editor-backdrop{position:fixed;inset:0;background:rgba(1,4,12,.76);backdrop-filter:blur(12px);z-index:100;display:grid;place-items:center;padding:18px}.esp-editor-modal{width:min(980px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(151,176,255,.24);border-radius:24px;background:linear-gradient(135deg,rgba(8,14,28,.98),rgba(13,20,39,.98));box-shadow:0 40px 120px rgba(0,0,0,.55)}.esp-editor-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px;border-bottom:1px solid var(--esp-line);background:rgba(8,14,28,.96);backdrop-filter:blur(14px)}.esp-editor-head h2{margin:4px 0 0;font-size:28px}.esp-editor-head button{width:42px;height:42px;border-radius:13px;border:1px solid var(--esp-line);background:rgba(255,255,255,.05);color:#fff;font-size:24px}.esp-editor-body{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.esp-editor-section{border:1px solid var(--esp-line);background:rgba(255,255,255,.035);border-radius:18px;padding:16px}.esp-editor-section h3{margin:0 0 14px}.esp-editor-section label{display:flex;flex-direction:column;gap:7px;margin:0 0 12px;color:#cbd6ea;font-weight:800}.esp-editor-section input,.esp-editor-section textarea{width:100%;border:1px solid rgba(151,176,255,.22);background:rgba(2,7,16,.56);border-radius:12px;color:#fff;padding:11px 12px;outline:none}.esp-editor-section input:focus,.esp-editor-section textarea:focus{border-color:var(--esp-cyan);box-shadow:0 0 0 3px rgba(37,217,255,.12)}.esp-editor-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.esp-editor-gameid{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.esp-editor-gameid button{border:1px solid rgba(255,85,119,.34);background:rgba(255,85,119,.08);color:#ffc4cf;border-radius:12px;padding:11px 12px}.esp-upload-line input{padding:10px}.esp-editor-message{margin:0 20px 18px;color:var(--esp-gold);font-weight:800}.esp-editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid var(--esp-line);background:rgba(8,14,28,.96);backdrop-filter:blur(14px)}
@media(max-width:1100px){.esp-arena-app{grid-template-columns:1fr}.esp-arena-sidebar{position:fixed;inset:0 auto 0 0;width:min(84vw,320px);transform:translateX(-105%);transition:.22s ease}.esp-arena-sidebar.is-open{transform:none}.esp-nav-close,.esp-menu-btn{display:block}.esp-menu-btn{border:1px solid var(--esp-line);background:rgba(255,255,255,.04);color:white;border-radius:13px;width:44px;height:44px}.esp-topbar{grid-template-columns:auto 1fr auto}.esp-search{display:none}.esp-dashboard-grid,.esp-detail-grid{grid-template-columns:1fr}.esp-hero{grid-template-columns:1fr}.esp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.esp-mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:10px;right:10px;bottom:10px;z-index:40;border:1px solid var(--esp-line);border-radius:22px;background:rgba(5,10,20,.92);backdrop-filter:blur(16px);padding:8px}.esp-mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px;border-radius:16px}.esp-mobile-nav button.is-active{background:rgba(35,216,255,.15);color:var(--esp-cyan)}.esp-mobile-nav small{font-size:10px}.esp-arena-main{padding:16px 14px 94px}.esp-profile-hero{grid-template-columns:1fr;text-align:left}.esp-profile-actions{align-self:start}.esp-match-row{grid-template-columns:42px 1fr auto}.esp-match-row>div:nth-of-type(2),.esp-match-row em{display:none}.esp-ladder-table{overflow:auto}.esp-ladder-head,.esp-ladder-row{min-width:760px}.esp-editor-body{grid-template-columns:1fr}.esp-editor-two{grid-template-columns:1fr}}
@media(max-width:640px){.esp-topbar h1{font-size:23px}.esp-user-chip b{display:none}.esp-hero,.esp-profile-hero,.esp-match-hero,.esp-collection-head{border-radius:20px;padding:22px}.esp-hero h2,.esp-profile-hero h2,.esp-match-hero h2,.esp-collection-head h2{font-size:38px}.esp-hero-card{grid-template-columns:72px 1fr}.esp-rank-badge{grid-column:1/-1;text-align:center}.esp-avatar-xl{width:72px;height:72px}.esp-profile-avatar{width:108px;height:108px}.esp-stat{min-height:96px;padding:14px}.esp-stat strong{font-size:23px}.esp-card-grid,.esp-card-grid.compact{grid-template-columns:1fr}.esp-socials{grid-template-columns:1fr}.esp-editor-backdrop{padding:8px}.esp-editor-modal{max-height:96vh;border-radius:18px}.esp-editor-head{padding:16px}.esp-editor-body{padding:14px}.esp-editor-actions{padding:14px;flex-direction:column}.esp-editor-actions .esp-btn{width:100%}}
/* v1.2.0 EzyBattles React shell fixes */
.esp-svg{width:18px;height:18px;display:inline-block;vertical-align:middle;flex:none}.esp-brand-mark .esp-svg{width:25px;height:25px}.esp-brand-mark img{width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit}.esp-btn .esp-svg,.esp-user-chip .esp-svg,.esp-account-menu .esp-svg{width:16px;height:16px}.esp-menu-btn .esp-svg,.esp-nav-close .esp-svg{width:22px;height:22px}.esp-search{position:relative;z-index:50}.esp-search input{appearance:none;border:0!important;background:transparent!important;color:var(--esp-text)!important;outline:none!important;width:100%;min-width:0;padding:0!important;box-shadow:none!important}.esp-search input::placeholder{color:var(--esp-muted)}.esp-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;border:1px solid var(--esp-line);border-radius:16px;background:rgba(5,10,20,.98);box-shadow:0 24px 80px rgba(0,0,0,.45);padding:8px;display:grid;gap:6px;z-index:999}.esp-search-results button{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;width:100%;border:0;border-radius:12px;padding:9px 10px;color:#fff;background:transparent}.esp-search-results button:hover{background:rgba(37,217,255,.1)}.esp-search-results em{font-style:normal;color:var(--esp-muted);font-size:12px}.esp-user-chip span img{width:100%;height:100%;object-fit:cover;border-radius:50%}.esp-account{position:relative}.esp-account-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;border:1px solid var(--esp-line);border-radius:16px;background:rgba(5,10,20,.98);box-shadow:0 24px 80px rgba(0,0,0,.45);padding:8px;z-index:999}.esp-account-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:12px;background:transparent;color:#fff;text-align:left;padding:11px 12px}.esp-account-menu button:hover{background:rgba(37,217,255,.1)}.esp-hero-media{position:absolute;inset:0;z-index:0;opacity:.34}.esp-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,20,.96),rgba(5,9,20,.52),rgba(5,9,20,.88))}.esp-hero-media img,.esp-hero-media video{width:100%;height:100%;object-fit:cover}.esp-auth-modal{width:min(520px,100%);max-height:92vh;overflow:auto;border:1px solid rgba(151,176,255,.24);border-radius:24px;background:linear-gradient(135deg,rgba(8,14,28,.98),rgba(13,20,39,.98));box-shadow:0 40px 120px rgba(0,0,0,.55)}.esp-auth-modal .esp-editor-section{margin:18px}.esp-checkline{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.esp-checkline input{width:auto!important}.esp-invites,.esp-invite-card,.esp-invite-box{border:1px solid var(--esp-line);border-radius:16px;background:rgba(255,255,255,.035);padding:14px;margin-top:12px}.esp-invite-card{display:grid;gap:10px}.esp-invite-card select,.esp-editor-section select{width:100%;border:1px solid rgba(151,176,255,.22);background:rgba(2,7,16,.86);border-radius:12px;color:#fff;padding:0px 12px;outline:none}.esp-editor-actions.compact{position:static;padding:0;border:0;background:transparent;backdrop-filter:none;justify-content:flex-start}.esp-roster{display:grid;gap:10px}.esp-member{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center}.esp-member strong{display:block}.esp-member small{display:block;color:var(--esp-muted);margin-top:3px}.esp-member button{border:1px solid var(--esp-line);background:rgba(255,255,255,.04);color:#fff;border-radius:10px;padding:8px 10px}.esp-member button.danger{border-color:rgba(255,85,119,.34);color:#ffc4cf}.esp-invite-box h4{margin:0 0 6px}.esp-invite-box p{margin:0 0 12px;color:var(--esp-muted)}.esp-copy code{display:inline-block;margin-top:8px;padding:8px 10px;border:1px solid var(--esp-line);border-radius:10px;color:var(--esp-cyan);background:rgba(0,0,0,.25)}
@media(max-width:1100px){.esp-search{display:flex}.esp-topbar{grid-template-columns:auto 1fr auto}.esp-search{grid-column:1/-1;order:3}.esp-account{justify-self:end}}
@media(max-width:640px){.esp-member{grid-template-columns:auto 1fr}.esp-member button{grid-column:2}.esp-auth-modal{max-height:96vh;border-radius:18px}.esp-search-results{position:fixed;top:110px;left:14px;right:14px}}


/* v1.3.0: hierarchy, roster edit mode, match finder and sub-page back button */
.esp-subnav{margin:0 0 18px;display:flex;align-items:center;gap:10px}.esp-back-btn,.esp-mini-btn{border:1px solid rgba(125,244,255,.22);background:rgba(8,15,29,.78);color:#dff8ff;border-radius:999px;padding:9px 13px;font-weight:800;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.esp-back-btn:hover,.esp-mini-btn:hover{border-color:rgba(125,244,255,.55);background:rgba(18,32,58,.92)}.esp-roster-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.esp-roster-top p{margin:0;color:rgba(231,244,255,.72)}.esp-member em{display:inline-flex;margin:4px 8px 4px 0;font-size:10px;letter-spacing:.12em;color:#8ff4ff;font-style:normal;font-weight:900}.esp-gameids,.esp-required-ids{display:flex;flex-wrap:wrap;gap:8px}.esp-gameid,.esp-required-id{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(126,87,255,.22);background:linear-gradient(135deg,rgba(22,34,62,.86),rgba(12,16,31,.88));border-radius:14px;padding:8px 10px;color:#eef8ff}.esp-gameid .esp-svg,.esp-required-id .esp-svg{width:18px;height:18px;color:#8ff4ff}.esp-gameid b{display:block;font-size:11px;line-height:1;color:#fff}.esp-gameid small{display:block;margin-top:3px;color:rgba(231,244,255,.72);font-size:11px}.esp-required-ids p{width:100%;margin:0 0 6px;color:rgba(231,244,255,.72)}.esp-required-id{font-weight:900}.esp-invite-trigger{margin-top:14px}.esp-invite-modal .esp-editor-section p{color:rgba(231,244,255,.74);margin-top:0}.esp-finder{display:grid;gap:14px}.esp-finder-create{border:1px solid rgba(125,244,255,.18);background:rgba(4,10,22,.52);border-radius:20px;padding:16px}.esp-player-picks{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.esp-player-picks button{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;border-radius:999px;padding:7px 10px;cursor:pointer}.esp-player-picks button.is-picked{border-color:#8ff4ff;background:rgba(125,244,255,.16)}.esp-player-picks img{width:24px;height:24px;border-radius:50%;object-fit:cover}.esp-finder-list{display:grid;gap:10px}.esp-finder-row{display:grid;grid-template-columns:1fr auto auto auto auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:16px;padding:12px}.esp-finder-row strong{display:block}.esp-finder-row small{display:block;color:rgba(231,244,255,.68)}.esp-finder-row>button,.esp-member>button{border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.05);color:#fff;padding:7px 10px;cursor:pointer}.esp-finder-row .danger,.esp-member .danger{border-color:rgba(255,83,131,.36);color:#ff9bb8}.esp-auth-modal.esp-invite-modal{max-width:520px}@media(max-width:760px){.esp-finder-row{grid-template-columns:1fr}.esp-roster-top{align-items:flex-start;flex-direction:column}.esp-subnav{margin-top:-4px}}

/* v1.3.1 layout polish */
.esp-arena-main{position:relative;overflow:visible}.esp-topbar{position:sticky;top:0;z-index:45;width:calc(100% + 48px);margin:0 -24px 22px;padding:18px 24px;border-bottom:1px solid rgba(151,176,255,.14);background:linear-gradient(180deg,rgba(5,10,20,.96),rgba(5,10,20,.82));backdrop-filter:blur(18px);box-shadow:0 18px 45px rgba(0,0,0,.22)}.esp-subnav{position:absolute;top:96px;left:28px;z-index:35;margin:0;pointer-events:none}.esp-subnav .esp-back-btn{pointer-events:auto;box-shadow:0 18px 45px rgba(0,0,0,.32),0 0 24px rgba(37,217,255,.12);background:linear-gradient(135deg,rgba(11,22,42,.94),rgba(15,18,37,.88));backdrop-filter:blur(12px)}.esp-page>.esp-profile-hero:first-child,.esp-page>.esp-match-hero:first-child,.esp-page>.esp-collection-head:first-child{margin-top:10px}.esp-card-grid:empty:before{content:'No teams found yet.';display:block;color:rgba(231,244,255,.68);padding:14px;border:1px solid rgba(151,176,255,.14);border-radius:14px;background:rgba(255,255,255,.035)}
@media(max-width:1100px){.esp-topbar{width:calc(100% + 28px);margin:0 -14px 18px;padding:14px}.esp-subnav{top:142px;left:18px}.esp-page>.esp-profile-hero:first-child,.esp-page>.esp-match-hero:first-child,.esp-page>.esp-collection-head:first-child{margin-top:8px}}
@media(max-width:640px){.esp-subnav{top:136px;left:16px}.esp-subnav .esp-back-btn{padding:8px 11px}.esp-topbar{border-radius:0}}

/* v1.3.2: topbar/back placement + match finder modal polish */
.esp-topbar{position:static!important;top:auto!important;width:auto!important;margin:0 0 18px!important;padding:0!important;border-bottom:0!important;background:transparent!important;backdrop-filter:none!important;box-shadow:none!important;grid-template-columns:auto auto 1fr minmax(220px,360px) auto;}
.esp-topbar-title{min-width:0}.esp-topbar-back{white-space:nowrap;padding:10px 13px}.esp-subnav{display:none!important}.esp-mf-backdrop{animation:espFadeIn .18s ease both}.esp-mf-modal{transform-origin:center;animation:espModalPop .24s cubic-bezier(.2,.9,.25,1.12) both}.esp-mf-modal .esp-editor-head p{margin:6px 0 0;color:rgba(231,244,255,.68);font-size:13px}.esp-mf-body{grid-template-columns:1fr 1fr}.esp-mf-rule-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}.esp-mf-map-pool{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.esp-mf-map-pool h4{width:100%;margin:0 0 4px}.esp-mf-map-pool span,.esp-finder-rules em{display:inline-flex;border:1px solid rgba(125,244,255,.18);background:rgba(125,244,255,.08);border-radius:999px;padding:6px 9px;color:#dff8ff;font-style:normal;font-size:12px}.esp-mf-static{border:1px solid rgba(151,176,255,.18);border-radius:12px;background:rgba(2,7,16,.56);padding:11px 12px}.esp-mf-static span{display:block;color:var(--esp-muted);font-size:12px}.esp-mf-static strong{display:block;color:#fff;margin-top:3px}.esp-finder-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.esp-finder-row>div:first-child{min-width:0}.esp-ladder-table .esp-empty{grid-column:1/-1}.esp-ladder-row{width:100%}
@keyframes espFadeIn{from{opacity:0}to{opacity:1}}@keyframes espModalPop{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1100px){.esp-topbar{grid-template-columns:auto auto 1fr auto!important}.esp-search{grid-column:1/-1;order:3}.esp-account{justify-self:end}.esp-mf-body{grid-template-columns:1fr}}
@media(max-width:640px){.esp-topbar{gap:10px}.esp-topbar-back{padding:9px 11px}.esp-topbar-back .esp-svg{width:16px;height:16px}.esp-topbar-title h1{font-size:22px}.esp-mf-modal{max-height:96vh;border-radius:18px}.esp-finder-row{grid-template-columns:1fr!important}}
.esp-finder-launch{display:inline-flex;align-items:center;gap:10px;position:relative}.esp-inline-message{font-size:12px;color:rgba(231,244,255,.72);max-width:220px}.esp-find-match-btn{white-space:nowrap}.esp-mf-open-section{grid-column:1/-1}.esp-mf-open-section>p{margin-top:0;color:rgba(231,244,255,.7)}.esp-mf-open-section .esp-finder-list{max-height:300px;overflow:auto;padding-right:4px}.esp-profile-actions .esp-finder-launch{order:20}@media(max-width:760px){.esp-finder-launch{width:100%}.esp-find-match-btn{width:100%;justify-content:center}.esp-inline-message{display:block;max-width:none}.esp-mf-open-section .esp-finder-list{max-height:none}}

/* v1.3.5: Match Finder manual refresh + 30 second auto-refresh countdown */
.esp-mf-open-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.esp-mf-open-head h3{margin:0 0 6px}
.esp-mf-open-head p{margin:0;color:rgba(231,244,255,.7)}
.esp-mf-refresh{appearance:none;border:1px solid rgba(125,244,255,.22);background:linear-gradient(135deg,rgba(125,244,255,.12),rgba(150,87,255,.12));color:#eaf8ff;border-radius:999px;padding:9px 12px;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.22);white-space:nowrap;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.esp-mf-refresh:hover,.esp-mf-refresh:focus{transform:translateY(-1px);border-color:rgba(125,244,255,.45);background:linear-gradient(135deg,rgba(125,244,255,.18),rgba(150,87,255,.18));outline:none}
.esp-mf-refresh:disabled{opacity:.65;cursor:wait;transform:none}
.esp-mf-refresh .esp-svg{width:15px;height:15px}
.esp-mf-refresh em{font-style:normal;color:rgba(231,244,255,.66);font-weight:700;min-width:24px;text-align:right}
.esp-mf-refresh:disabled .esp-svg{animation:espSpin .85s linear infinite}
@keyframes espSpin{to{transform:rotate(360deg)}}
@media(max-width:640px){.esp-mf-open-head{display:block}.esp-mf-refresh{margin-top:12px;width:100%;justify-content:center}.esp-mf-refresh em{margin-left:auto}}

/* v1.3.6 - improved edit team/profile image controls */
.esp-editor-images .esp-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.esp-editor-images .esp-section-title h3{margin:0}.esp-editor-images .esp-section-title p{margin:2px 0 0;color:rgba(231,244,255,.68);font-size:13px;line-height:1.45;max-width:420px}.esp-image-upload-grid{display:grid;grid-template-columns:220px 1fr;gap:14px}.esp-image-upload-card{position:relative;display:grid!important;grid-template-columns:1fr;gap:12px;min-height:238px;padding:12px!important;border:1px solid rgba(151,176,255,.18);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));overflow:hidden;cursor:pointer;transition:border-color .18s ease,transform .18s ease,background .18s ease}.esp-image-upload-card:hover{border-color:rgba(125,244,255,.5);background:linear-gradient(180deg,rgba(125,244,255,.09),rgba(168,92,255,.05));transform:translateY(-1px)}.esp-image-upload-card input{position:absolute;inset:0;opacity:0;cursor:pointer}.esp-image-preview{position:relative;display:grid;place-items:center;min-height:132px;border-radius:14px;overflow:hidden;background:radial-gradient(circle at 50% 30%,rgba(125,244,255,.18),rgba(168,92,255,.11) 42%,rgba(2,7,16,.88));border:1px solid rgba(255,255,255,.08)}.esp-image-upload-card.avatar .esp-image-preview{aspect-ratio:1/1;border-radius:50%;max-width:150px;min-height:auto;width:150px;justify-self:center}.esp-image-upload-card.banner .esp-image-preview{aspect-ratio:16/7;min-height:150px}.esp-image-preview img{width:100%;height:100%;object-fit:cover}.esp-image-empty{display:grid;place-items:center;color:rgba(231,244,255,.6)}.esp-image-empty .esp-svg{width:36px;height:36px}.esp-image-copy{display:grid;gap:5px;align-content:start}.esp-image-copy strong{color:#fff;font-size:15px}.esp-image-copy small{color:rgba(231,244,255,.66);font-size:12px;line-height:1.4}.esp-image-copy em{width:max-content;margin-top:6px;border:1px solid rgba(125,244,255,.28);border-radius:999px;background:rgba(125,244,255,.08);color:#dff8ff;font-style:normal;font-weight:900;font-size:12px;padding:8px 10px}.esp-image-upload-card:hover .esp-image-copy em{border-color:rgba(125,244,255,.62);background:rgba(125,244,255,.16)}@media(max-width:760px){.esp-editor-images .esp-section-title{display:block}.esp-image-upload-grid{grid-template-columns:1fr}.esp-image-upload-card{min-height:auto}.esp-image-upload-card.avatar .esp-image-preview{width:132px}}

/* v1.3.7: top bar full-width alignment */
.esp-topbar{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
}
.esp-topbar-title{flex:0 0 auto!important;min-width:max-content!important;}
.esp-topbar .esp-search{flex:1 1 auto!important;min-width:320px!important;max-width:none!important;}
.esp-topbar .esp-account,.esp-topbar>button.esp-btn{flex:0 0 auto!important;margin-left:auto!important;}
.esp-topbar-back{flex:0 0 auto!important;margin-left:0!important;}
.esp-menu-btn{flex:0 0 auto!important;}
@media(max-width:1100px){
  .esp-topbar{flex-wrap:wrap!important;gap:12px!important;}
  .esp-topbar-title{min-width:0!important;}
  .esp-topbar .esp-search{order:10!important;flex:1 0 100%!important;min-width:0!important;grid-column:auto!important;}
  .esp-topbar .esp-account,.esp-topbar>button.esp-btn{margin-left:auto!important;}
}
@media(max-width:640px){
  .esp-topbar{gap:10px!important;}
  .esp-topbar-title h1{font-size:22px!important;}
}


/* v1.3.8 polish */
.esp-user-chip b{color:#fff!important;text-shadow:0 1px 10px rgba(255,255,255,.12)}
.esp-card-img{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.045)}
.esp-card-img img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;display:block;border-radius:inherit}
.esp-collection-head{display:none!important}
.esp-tab-page{padding-top:8px}
.esp-highlights-modal{width:min(1060px,calc(100vw - 28px));max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(255,255,255,.12);border-radius:28px;background:linear-gradient(140deg,rgba(6,13,27,.98),rgba(17,12,37,.98));box-shadow:0 34px 120px rgba(0,0,0,.6);animation:espModalIn .22s ease both}
.esp-highlights-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;padding:18px}
.esp-video-stage{background:#020510;border:1px solid rgba(255,255,255,.1);border-radius:22px;overflow:hidden;min-height:360px;display:flex;align-items:center;justify-content:center}
.esp-video-stage video{width:100%;height:100%;max-height:62vh;object-fit:contain;background:#000}
.esp-clip-list{display:grid;gap:10px;align-content:start}.esp-clip-list button{display:flex;gap:10px;align-items:center;text-align:left;padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);color:#fff}.esp-clip-list button.is-active{border-color:rgba(48,213,255,.65);box-shadow:0 0 0 1px rgba(48,213,255,.15) inset}.esp-empty-state{padding:40px;text-align:center;color:#aeb8c9}.esp-empty-state .esp-svg{width:48px;height:48px;color:#30d5ff}.esp-existing-clips{display:flex;flex-wrap:wrap;gap:10px}.esp-existing-clips span{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:8px 12px;color:#dbe6f8;background:rgba(255,255,255,.05)}.esp-existing-clips span.is-highlight{border-color:rgba(198,255,0,.45);color:#f1ffc2}.esp-clip-uploader .esp-image-preview video{width:100%;height:100%;object-fit:cover}.esp-muted{color:#9aa7ba}.esp-checkline{display:flex!important;align-items:center;gap:10px}.esp-checkline input{width:auto!important}
@media(max-width:760px){.esp-highlights-layout{grid-template-columns:1fr}.esp-video-stage{min-height:240px}.esp-highlights-modal{border-radius:22px}}

/* v1.3.9 performance + editor/leaderboard polish */
.esp-list-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.esp-list-tools label{min-height:48px;flex:1;display:flex;align-items:center;gap:10px;border:1px solid var(--esp-line);background:rgba(255,255,255,.045);border-radius:16px;padding:0 14px;color:#fff}.esp-list-tools input{width:100%;border:0!important;background:transparent!important;color:#fff!important;outline:0!important;box-shadow:none!important}.esp-inline-loading{display:inline-flex;align-items:center;gap:8px;color:var(--esp-cyan);font-weight:800}.esp-inline-loading i{width:17px;height:17px;border:2px solid rgba(255,255,255,.2);border-top-color:var(--esp-cyan);border-radius:50%;animation:espSpin .85s linear infinite}.esp-load-more{margin:18px auto 0;display:flex}.esp-leaderboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.esp-loading-inline{display:flex;align-items:center;gap:12px;margin:8px 0 16px;color:var(--esp-cyan);font-weight:800}.esp-loading-inline .esp-loader{width:24px;height:24px;margin:0}.esp-filter-modal .esp-editor-actions,.esp-join-modal .esp-editor-actions{position:static;margin-top:14px;padding:0;border:0;background:transparent;backdrop-filter:none}.esp-editor-modal-split{width:min(1120px,100%)}.esp-editor-layout{display:grid;grid-template-columns:230px 1fr;min-height:0}.esp-editor-nav{position:sticky;top:87px;align-self:start;display:flex;flex-direction:column;gap:8px;padding:18px;border-right:1px solid var(--esp-line);background:rgba(255,255,255,.025)}.esp-editor-nav button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid var(--esp-line);border-radius:13px;background:rgba(255,255,255,.04);color:#fff;padding:12px;text-align:left;font-weight:850}.esp-editor-nav button:hover,.esp-editor-nav button:focus{border-color:rgba(37,217,255,.45);background:rgba(37,217,255,.1)}.esp-editor-modal-split .esp-editor-body{grid-template-columns:1fr;max-height:calc(92vh - 92px);overflow:auto;scroll-behavior:smooth}.esp-editor-section{scroll-margin-top:102px}.esp-gameid-editor .esp-editor-gameid{align-items:center}.esp-editor-actions{flex-direction:column}.esp-editor-actions .esp-btn{width:100%}.esp-editor-head button{padding:0!important}.esp-member-card{width:100%;text-align:left;border:1px solid var(--esp-line);background:rgba(255,255,255,.035);color:#fff;border-radius:16px;padding:12px;transition:transform .18s ease,border-color .18s ease,background .18s ease}.esp-member-card:hover{transform:translateY(-1px);border-color:rgba(37,217,255,.35);background:rgba(37,217,255,.07)}.esp-member-card .esp-remove-chip{justify-self:end;border:1px solid rgba(255,85,119,.34);background:rgba(255,85,119,.08);color:#ffc4cf;border-radius:10px;padding:8px 10px;font-weight:850}.esp-roster-rank{color:var(--esp-gold)!important;font-weight:900}.esp-player-leaderboard .esp-ladder-row{cursor:pointer}.esp-required-ids{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.esp-required-ids p{width:100%;margin:0 0 4px;color:var(--esp-muted)}
@media(max-width:760px){.esp-editor-layout{grid-template-columns:1fr}.esp-editor-nav{position:relative;top:auto;flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid var(--esp-line);padding:12px}.esp-editor-nav button{min-width:max-content}.esp-editor-modal-split .esp-editor-body{max-height:none}.esp-leaderboard-toolbar,.esp-list-tools{align-items:stretch;flex-direction:column}.esp-member-card{grid-template-columns:auto 1fr}.esp-member-card .esp-remove-chip{grid-column:1/-1;justify-self:stretch;text-align:center}}

/* v1.3.11 editor action placement + JSON-safe click fixes */
.esp-editor-actions-side{position:static!important;margin-top:auto;padding:14px 0 0!important;border-top:1px solid var(--esp-line)!important;background:transparent!important;backdrop-filter:none!important;width:100%;display:flex!important;flex-direction:column!important;gap:10px!important}.esp-editor-nav{min-height:calc(92vh - 92px)}.esp-editor-modal-split>.esp-editor-actions{display:none!important}@media(max-width:760px){.esp-editor-nav{min-height:0}.esp-editor-actions-side{padding-top:10px!important}}

/* v1.3.14 modal action layout fixes */
.esp-editor-actions,
.esp-auth-modal .esp-editor-actions,
.esp-editor-modal .esp-editor-actions,
.esp-filter-modal .esp-editor-actions,
.esp-join-modal .esp-editor-actions,
.esp-invite-modal .esp-editor-actions,
.esp-editor-actions.compact,
.esp-editor-actions-side{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.esp-editor-actions .esp-btn,
.esp-auth-modal .esp-editor-actions .esp-btn,
.esp-editor-modal .esp-editor-actions .esp-btn,
.esp-filter-modal .esp-editor-actions .esp-btn,
.esp-join-modal .esp-editor-actions .esp-btn,
.esp-invite-modal .esp-editor-actions .esp-btn,
.esp-editor-actions.compact .esp-btn,
.esp-editor-actions-side .esp-btn{
  width:auto!important;
  flex:1 1 0!important;
  min-width:0!important;
}
.esp-editor-actions-side{
  margin-top:auto!important;
  padding:14px 0 0!important;
  border-top:1px solid var(--esp-line)!important;
  background:transparent!important;
  backdrop-filter:none!important;
}
.esp-roster-rank{white-space:nowrap}
@media(max-width:640px){
  .esp-editor-actions,
  .esp-auth-modal .esp-editor-actions,
  .esp-editor-modal .esp-editor-actions,
  .esp-filter-modal .esp-editor-actions,
  .esp-join-modal .esp-editor-actions,
  .esp-invite-modal .esp-editor-actions,
  .esp-editor-actions.compact,
  .esp-editor-actions-side{
    flex-direction:row!important;
  }
}

/* v1.3.14 roster repair + tab scroll polish */
.esp-member-card.is-deleted{
  border-color:rgba(255,183,77,.35)!important;
  background:linear-gradient(135deg,rgba(255,183,77,.09),rgba(255,255,255,.035))!important;
}
.esp-deleted-avatar{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  border:1px solid rgba(255,183,77,.35);background:rgba(255,183,77,.12);color:#ffd18a;
}
.esp-deleted-note{color:#ffd18a!important;max-width:640px;line-height:1.35}
.esp-assign-chip{border-color:rgba(125,244,255,.34)!important;color:#dff8ff!important;background:rgba(125,244,255,.08)!important}
.esp-auth-modal .esp-editor-actions:has(.danger){grid-template-columns:repeat(3,minmax(0,1fr))}
.esp-btn.danger,.esp-btn.ghost.danger{border-color:rgba(255,85,119,.4)!important;color:#ffc4cf!important;background:rgba(255,85,119,.08)!important}
@media(max-width:640px){.esp-auth-modal .esp-editor-actions{gap:8px!important}.esp-auth-modal .esp-editor-actions .esp-btn{padding-left:9px;padding-right:9px;font-size:13px}}

/* v1.3.16 - cleaner linked game ID chips */
.esp-gameids{
  display:flex!important;
  flex-wrap:wrap;
  gap:10px!important;
  align-items:flex-start;
}
.esp-gameid{
  position:relative;
  display:inline-grid!important;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  min-width:178px;
  max-width:100%;
  padding:10px 12px!important;
  border-radius:18px!important;
  border:1px solid rgba(35,216,255,.18)!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(35,216,255,.18),transparent 38%),
    linear-gradient(135deg,rgba(18,31,56,.92),rgba(11,15,31,.92))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 28px rgba(0,0,0,.18);
  overflow:hidden;
}
.esp-gameid:before{
  content:"";
  position:absolute;
  inset:auto 10px 0 10px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--esp-cyan),rgba(168,92,255,.72));
  opacity:.68;
}
.esp-gameid .esp-svg{
  width:28px!important;
  height:28px!important;
  padding:6px;
  border-radius:12px;
  color:#99f7ff!important;
  background:rgba(35,216,255,.1);
  border:1px solid rgba(35,216,255,.18);
}
.esp-gameid span{
  min-width:0;
  color:#fff!important;
  line-height:1.08;
}
.esp-gameid b{
  display:block;
  margin:0 0 4px;
  color:#fff!important;
  font-size:13px!important;
  letter-spacing:.01em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-gameid small{
  display:block;
  color:#aeb9cc!important;
  font-size:12px!important;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-member-card .esp-gameids{
  margin-top:10px;
}
.esp-member-card .esp-gameid{
  min-width:168px;
}
.esp-profile-tags + .esp-gameids,
.esp-panel .esp-gameids{
  margin-top:4px;
}
@media (max-width: 640px){
  .esp-gameid{width:100%;min-width:0;}
  .esp-member-card .esp-gameid{min-width:0;}
}

/* v1.3.17 - roster player identity left, game IDs right */
.esp-roster-player-card{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(260px,.9fr)!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px!important;
}
.esp-roster-player-left{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
  gap:16px;
  min-width:0;
}
.esp-roster-player-avatar,
.esp-roster-player-left > img{
  width:64px!important;
  height:64px!important;
  border-radius:22px!important;
  object-fit:cover!important;
  border:1px solid rgba(125,244,255,.22);
  background:linear-gradient(135deg,rgba(35,216,255,.12),rgba(168,92,255,.12));
  box-shadow:0 14px 34px rgba(0,0,0,.24);
}
.esp-roster-player-info{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}
.esp-roster-player-info strong{
  font-size:20px;
  line-height:1.05;
  color:#fff;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-roster-player-info .esp-roster-rank{
  margin:0!important;
  color:#ffd469!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.01em;
}
.esp-roster-player-info em{
  display:inline-flex!important;
  margin:0!important;
  width:auto;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(143,244,255,.25);
  background:rgba(143,244,255,.08);
  color:#8ff4ff!important;
  font-size:10px!important;
  line-height:1;
  letter-spacing:.14em;
}
.esp-roster-player-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  min-width:0;
}
.esp-roster-player-right .esp-gameids{
  justify-content:flex-end;
  margin:0!important;
}
.esp-roster-player-right .esp-empty{
  margin:0;
  text-align:right;
}
.esp-roster-player-right .esp-remove-chip,
.esp-roster-player-right .esp-assign-chip{
  flex:0 0 auto;
}
@media(max-width:820px){
  .esp-roster-player-card{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  .esp-roster-player-right,
  .esp-roster-player-right .esp-gameids{
    justify-content:flex-start;
    width:100%;
  }
  .esp-roster-player-right .esp-empty{text-align:left;}
}

/* v1.3.18 - bigger game ID text and copy control */
.esp-gameid{
  grid-template-columns:38px minmax(0,1fr)!important;
  min-width:198px;
}
.esp-gameid-copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-width:0;
}
.esp-gameid-text{
  min-width:0;
}
.esp-gameid b{
  font-size:14px!important;
  line-height:1.12!important;
}
.esp-gameid small{
  font-size:13px!important;
  line-height:1.22!important;
}
.esp-copy-id{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:11px;
  border:1px solid rgba(143,244,255,.24);
  background:rgba(143,244,255,.08);
  color:#dffbff;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.esp-copy-id:hover,.esp-copy-id:focus{
  transform:translateY(-1px);
  border-color:rgba(143,244,255,.62);
  background:rgba(143,244,255,.16);
  outline:none;
}
.esp-copy-id .esp-svg{
  width:16px!important;
  height:16px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
@media(max-width:640px){
  .esp-gameid{min-width:0;}
}

/* v1.3.20 - season/game stats cards */
.esp-season-stats{
  display:grid;
  gap:14px;
}
.esp-season-context,
.esp-game-season-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px solid rgba(143,244,255,.14);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(143,244,255,.08),rgba(157,91,255,.06));
  color:#eafcff;
}
.esp-season-context span,
.esp-game-season-title span{
  color:#93a4c7;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.esp-season-context b,
.esp-game-season-title strong{
  color:#fff;
}
.esp-season-context em{
  font-style:normal;
  color:#8ff4ff;
  font-weight:800;
}
.esp-season-table{
  display:grid;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(4,8,22,.36);
}
.esp-season-head,
.esp-season-row{
  display:grid;
  grid-template-columns:1.4fr .55fr .55fr .75fr .95fr;
  align-items:center;
  gap:10px;
  padding:12px 14px;
}
.esp-season-head{
  background:rgba(255,255,255,.04);
  color:#7f91b8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.esp-season-row{
  border-top:1px solid rgba(255,255,255,.07);
  color:#dce7ff;
}
.esp-season-row strong{color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.esp-season-row em{font-style:normal;color:#8ff4ff;font-weight:900;}
.esp-season-row b{color:#fff;font-weight:900;}
.esp-game-season-block{display:grid;gap:10px;}
.esp-player-season-stats{gap:16px;}
@media(max-width:640px){
  .esp-season-head,.esp-season-row{grid-template-columns:1.2fr .45fr .45fr .65fr .75fr;padding:10px;font-size:12px;gap:7px;}
  .esp-season-context,.esp-game-season-title{align-items:flex-start;flex-direction:column;}
}

/* v1.3.21 - season stats current-only/load-more control */
.esp-panel-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
}
.esp-icon-load-seasons{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(143,244,255,.22);
  background:linear-gradient(135deg,rgba(143,244,255,.12),rgba(157,91,255,.12));
  color:#8ff4ff;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
  padding:0!important;
}
.esp-icon-load-seasons:hover,
.esp-icon-load-seasons:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(143,244,255,.55);
  background:linear-gradient(135deg,rgba(143,244,255,.2),rgba(157,91,255,.18));
  outline:0;
}
.esp-icon-load-seasons .esp-svg{width:18px;height:18px;transform:rotate(90deg);}
.esp-season-row.is-current{background:rgba(143,244,255,.045);}
.esp-mini-spinner{
  width:16px;
  height:16px;
  border-radius:999px;
  border:2px solid rgba(143,244,255,.22);
  border-top-color:#8ff4ff;
  animation:espSpin .7s linear infinite;
}
@keyframes espSpin{to{transform:rotate(360deg)}}


/* v1.3.23 match row polish */
.esp-match-row-new{grid-template-columns:58px minmax(220px,.95fr) minmax(260px,1.35fr) minmax(150px,auto);padding:16px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(19,31,54,.78),rgba(15,21,38,.68));position:relative;overflow:hidden;min-height:92px;box-shadow:0 14px 36px rgba(0,0,0,.18)}
.esp-match-row-new:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 0% 50%,rgba(35,216,255,.13),transparent 34%),radial-gradient(circle at 100% 50%,rgba(168,92,255,.12),transparent 38%);opacity:.7;pointer-events:none}.esp-match-row-new>*{position:relative;z-index:1}.esp-match-row-new:hover{transform:translateY(-2px);box-shadow:0 20px 48px rgba(0,0,0,.26);border-color:rgba(35,216,255,.42)}
.esp-match-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,rgba(35,216,255,.18),rgba(168,92,255,.24));color:#eaf7ff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.esp-match-main{min-width:0}.esp-match-row-new .esp-match-title{font-size:19px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.esp-match-sub{display:block;color:var(--esp-muted);font-weight:700;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.esp-match-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;text-align:center;min-width:0}.esp-match-teams strong{font-size:17px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.esp-match-vs-chip{min-width:54px;height:42px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid rgba(151,176,255,.22);background:rgba(2,7,16,.48);color:#fff;font-weight:950;letter-spacing:.03em;box-shadow:0 0 0 4px rgba(255,255,255,.025)}.esp-match-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;white-space:nowrap}.esp-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;border:1px solid rgba(151,176,255,.2);background:rgba(255,255,255,.05);color:#dbe6f8;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.esp-status-completed{border-color:rgba(58,255,150,.28);background:rgba(58,255,150,.09);color:#7cffb3}.esp-status-pending,.esp-status-open{border-color:rgba(35,216,255,.28);background:rgba(35,216,255,.09);color:#7eeeff}.esp-status-disputed{border-color:rgba(255,207,92,.35);background:rgba(255,207,92,.11);color:#ffd86e}.esp-status-cancelled,.esp-status-canceled{border-color:rgba(255,85,119,.34);background:rgba(255,85,119,.1);color:#ff9aac}.esp-match-meta time{color:var(--esp-muted);font-style:normal;font-size:15px;font-weight:800}
@media(max-width:1100px){.esp-match-row-new{grid-template-columns:52px 1fr auto;gap:12px;padding:14px}.esp-match-row-new .esp-match-teams{grid-column:2/4;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%;margin-top:4px}.esp-match-row-new .esp-match-meta{align-items:flex-end}.esp-match-row-new .esp-match-title{font-size:17px}.esp-match-teams strong{font-size:14px}.esp-match-vs-chip{height:34px;min-width:44px;font-size:13px}.esp-match-meta time{font-size:12px}.esp-status-pill{font-size:10px;padding:5px 8px}}
@media(max-width:620px){.esp-match-row-new{grid-template-columns:48px 1fr;align-items:start}.esp-match-row-new .esp-match-meta{grid-column:1/3;flex-direction:row;align-items:center;justify-content:space-between;width:100%;border-top:1px solid rgba(151,176,255,.12);padding-top:10px}.esp-match-row-new .esp-match-teams{grid-column:1/3}.esp-match-row-new .esp-match-title{white-space:normal}.esp-match-sub{white-space:normal}}


/* v1.3.24 match row containment fix */
.esp-match-row-new{
  grid-template-columns:52px minmax(0,.95fr) minmax(0,1.15fr) minmax(96px,124px);
  gap:14px;
  padding:14px 16px;
  min-height:84px;
  width:100%;
  max-width:100%;
}
.esp-match-row-new .esp-match-icon{
  width:52px;
  height:52px;
  border-radius:17px;
}
.esp-match-row-new .esp-match-main,
.esp-match-row-new .esp-match-teams,
.esp-match-row-new .esp-match-meta{
  min-width:0;
}
.esp-match-row-new .esp-match-title{
  display:block;
  width:100%;
  min-width:0;
  font-size:18px;
}
.esp-match-row-new .esp-match-sub{
  font-size:14px;
}
.esp-match-row-new .esp-match-teams{
  gap:10px;
}
.esp-match-row-new .esp-match-teams strong{
  min-width:0;
  font-size:16px;
}
.esp-match-row-new .esp-match-vs-chip{
  min-width:46px;
  height:38px;
  padding:0 10px;
  font-size:14px;
  flex:none;
}
.esp-match-row-new .esp-match-meta{
  overflow:hidden;
}
.esp-match-row-new .esp-status-pill{
  max-width:100%;
  min-width:0;
  padding:6px 9px;
  font-size:11px;
  letter-spacing:.055em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-match-row-new .esp-match-meta time{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
@media(max-width:1280px){
  .esp-match-row-new{
    grid-template-columns:52px minmax(0,1fr) minmax(96px,124px);
  }
  .esp-match-row-new .esp-match-teams{
    grid-column:2/4;
    width:100%;
    margin-top:4px;
  }
}
@media(max-width:760px){
  .esp-match-row-new{
    grid-template-columns:48px minmax(0,1fr);
    padding:13px;
  }
  .esp-match-row-new .esp-match-meta{
    grid-column:1/3;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    width:100%;
    border-top:1px solid rgba(151,176,255,.12);
    padding-top:10px;
  }
  .esp-match-row-new .esp-match-teams{
    grid-column:1/3;
  }
}

/* v1.3.25 match centre */
.esp-match-detail-page{gap:22px;}
.esp-match-detail-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:24px;align-items:center;min-height:300px;padding:34px;border:1px solid rgba(135,160,210,.22);border-radius:28px;background:linear-gradient(135deg,rgba(12,24,42,.96),rgba(32,19,70,.82));background-size:cover;background-position:center;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.26);}
.esp-match-detail-hero:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 72% 22%,rgba(190,0,255,.22),transparent 38%),radial-gradient(circle at 18% 12%,rgba(42,215,255,.14),transparent 36%);pointer-events:none;}
.esp-match-detail-main,.esp-match-scoreboard{position:relative;z-index:1;}
.esp-match-detail-main h2{margin:8px 0 14px;font-size:clamp(34px,5vw,72px);line-height:.96;letter-spacing:-.06em;max-width:900px;}
.esp-match-detail-tags{display:flex;flex-wrap:wrap;gap:10px;}
.esp-match-detail-tags span,.esp-match-detail-tags button{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(135,160,210,.20);border-radius:999px;background:rgba(255,255,255,.055);color:#eaf2ff;font-weight:800;font-size:13px;line-height:1;}
.esp-match-detail-tags button{cursor:pointer;}
.esp-match-detail-tags .esp-svg{width:16px;height:16px;color:#39dfff;}
.esp-match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:18px;border:1px solid rgba(135,160,210,.18);border-radius:26px;background:rgba(2,7,18,.52);backdrop-filter:blur(12px);}
.esp-match-side{min-width:0;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(135,160,210,.15);border-radius:22px;background:rgba(255,255,255,.045);color:#fff;text-align:left;cursor:pointer;}
.esp-match-side img,.esp-match-side>span{width:52px;height:52px;min-width:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(38,208,255,.25),rgba(169,76,255,.18));border:1px solid rgba(91,224,255,.26);font-weight:950;object-fit:cover;}
.esp-match-side strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;}
.esp-match-score-chip{display:grid;place-items:center;gap:8px;min-width:120px;}
.esp-match-score-chip b{display:grid;place-items:center;min-width:86px;min-height:70px;padding:12px;border-radius:24px;border:1px solid rgba(135,160,210,.22);background:rgba(0,0,0,.28);font-size:28px;letter-spacing:-.04em;}
.esp-match-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.esp-match-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.esp-match-setup-tile,.esp-match-rule,.esp-match-map{padding:14px;border:1px solid rgba(135,160,210,.16);border-radius:18px;background:rgba(255,255,255,.045);}
.esp-match-setup-tile span,.esp-match-rule span,.esp-match-map b{display:block;color:#9fabbd;font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px;}
.esp-match-setup-tile strong,.esp-match-rule strong,.esp-match-map strong{display:block;color:#fff;font-size:18px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;}
.esp-match-rules,.esp-match-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.esp-match-map span{display:block;color:#9fabbd;margin-top:4px;}
.esp-match-roster-side{display:flex;flex-direction:column;gap:14px;}
.esp-match-roster-team{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(91,224,255,.20);border-radius:20px;background:linear-gradient(135deg,rgba(35,211,255,.10),rgba(178,52,255,.08));color:#fff;cursor:pointer;text-align:left;}
.esp-match-roster-team img,.esp-match-roster-team span{width:48px;height:48px;min-width:48px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.08);object-fit:cover;font-weight:900;}
.esp-match-roster-team strong{font-size:20px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.esp-match-roster-list{display:grid;gap:10px;}
.esp-match-player-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(170px,.8fr);align-items:center;gap:12px;width:100%;padding:12px;border:1px solid rgba(135,160,210,.15);border-radius:18px;background:rgba(255,255,255,.04);color:#fff;text-align:left;cursor:pointer;}
.esp-match-player-card:hover{border-color:rgba(91,224,255,.34);transform:translateY(-1px);}
.esp-match-player-card>img,.esp-match-player-card>.esp-mini-avatar{width:46px;height:46px;border-radius:16px;object-fit:cover;display:grid;place-items:center;background:rgba(255,255,255,.08);}
.esp-match-player-main{min-width:0;display:grid;gap:3px;}
.esp-match-player-main strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.esp-match-player-main small{color:#8befff;font-weight:900;letter-spacing:.12em;font-size:11px;}
.esp-match-player-main em{color:#c7ff00;font-style:normal;font-weight:900;font-size:12px;}
.esp-match-player-ids{min-width:0;display:flex;justify-content:flex-end;}
.esp-match-player-ids .esp-gameids{justify-content:flex-end;}
.esp-match-player-ids .esp-gameid{max-width:100%;}

/* v1.3.26 match squad roster cards */
.esp-match-squads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.esp-match-squad-card{min-width:0;padding:16px;border:1px solid rgba(91,224,255,.18);border-radius:24px;background:linear-gradient(135deg,rgba(12,27,46,.78),rgba(30,21,66,.62));box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.esp-match-squad-card.is-empty{opacity:.78;}
.esp-match-squad-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid rgba(135,160,210,.12);}
.esp-match-squad-team{min-width:0;display:flex;align-items:center;gap:12px;width:100%;padding:0;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer;}
.esp-match-squad-card.is-empty .esp-match-squad-team{cursor:default;}
.esp-match-squad-team img,.esp-match-squad-team>span{width:58px;height:58px;min-width:58px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,213,255,.22),rgba(166,73,255,.18));border:1px solid rgba(91,224,255,.24);object-fit:cover;font-weight:950;font-size:18px;}
.esp-match-squad-team div{min-width:0;display:grid;gap:3px;}
.esp-match-squad-team strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px;line-height:1.05;}
.esp-match-squad-team small{color:#9fabbd;font-weight:800;font-size:13px;}
.esp-match-squad-card .esp-empty{margin:0;padding:16px;border:1px dashed rgba(135,160,210,.18);border-radius:18px;background:rgba(255,255,255,.03);}

/* v1.3.27 match detail layout */
.esp-match-maps-panel,.esp-match-squads-panel{grid-column:1/-1;}
.esp-match-maps-panel .esp-match-maps{grid-template-columns:repeat(3,minmax(0,1fr));}
.esp-match-squads-panel .esp-match-squads{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:980px){.esp-match-maps-panel .esp-match-maps,.esp-match-squads-panel .esp-match-squads{grid-template-columns:1fr;}}
@media(max-width:980px){.esp-match-squads{grid-template-columns:1fr}}
@media(max-width:720px){.esp-match-squad-card{padding:13px}.esp-match-squad-team img,.esp-match-squad-team>span{width:50px;height:50px;min-width:50px;border-radius:17px}.esp-match-squad-team strong{font-size:18px}}
@media(max-width:980px){.esp-match-detail-hero{grid-template-columns:1fr}.esp-match-detail-grid{grid-template-columns:1fr}.esp-match-scoreboard{grid-template-columns:1fr}.esp-match-score-chip{order:2}.esp-match-side:last-child{order:3}.esp-match-score-chip b{min-height:auto}.esp-match-detail-hero{padding:24px}}
@media(max-width:720px){.esp-match-rules,.esp-match-maps,.esp-match-setup-grid{grid-template-columns:1fr}.esp-match-player-card{grid-template-columns:auto minmax(0,1fr);}.esp-match-player-ids{grid-column:1/-1;justify-content:flex-start}.esp-match-player-ids .esp-gameids{justify-content:flex-start}.esp-match-side strong{font-size:16px}.esp-match-detail-main h2{font-size:38px}}

/* v1.3.28: keep top bar account dropdown icon visible */
.esp-user-chip svg,
.esp-user-chip svg *{
  color:#fff !important;
  stroke:#fff !important;
  fill:none;
}
.esp-account .esp-user-chip b{
  color:#fff !important;
}

.esp-achievement img{width:48px;height:48px;object-fit:cover;border-radius:14px;margin:0 auto 8px;display:block;}

/* v1.3.31 auth/security polish */
.esp-auth-modal-polished{width:min(860px,calc(100vw - 28px));overflow:hidden}
.esp-auth-modal-polished .esp-auth-head{align-items:flex-start;padding:24px 26px}
.esp-auth-modal-polished .esp-auth-head p{margin:8px 0 0;color:var(--esp-muted);max-width:560px}
.esp-auth-body{display:grid;grid-template-columns:.82fr 1fr;gap:0;border-top:1px solid var(--esp-line)}
.esp-auth-side{padding:26px;border-right:1px solid var(--esp-line);background:radial-gradient(circle at 35% 20%,rgba(37,217,255,.16),transparent 34%),linear-gradient(180deg,rgba(37,217,255,.06),rgba(168,92,255,.05))}
.esp-auth-side strong{display:block;color:#fff;font-size:24px;line-height:1.1;margin-bottom:10px}
.esp-auth-side p{color:var(--esp-muted);margin:0 0 18px;line-height:1.55}
.esp-auth-side ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.esp-auth-side li{border:1px solid rgba(125,244,255,.14);background:rgba(255,255,255,.04);border-radius:13px;padding:10px 12px;color:#dfefff;font-weight:800}
.esp-auth-form{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:26px!important}
.esp-auth-form input{min-height:48px}
.esp-auth-secured{display:flex;align-items:center;gap:8px;margin:4px 0 0;color:#8ff4ff;font-size:13px;font-weight:800}
.esp-auth-secured .esp-svg{width:17px;height:17px}
.esp-modal-close{display:grid;place-items:center;width:54px;height:54px;padding:0!important;border-radius:16px!important;border:1px solid var(--esp-line)!important;background:rgba(255,255,255,.05)!important;color:#fff!important}
.esp-modal-close:hover{border-color:rgba(125,244,255,.45)!important;background:rgba(125,244,255,.12)!important}
.esp-editor-backdrop{cursor:pointer}
.esp-editor-backdrop>*{cursor:auto}
.esp-auth-modal-polished .esp-editor-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;flex-direction:row!important}
.esp-auth-modal-polished .esp-editor-actions .esp-btn{width:100%!important}
@media(max-width:760px){.esp-auth-body{grid-template-columns:1fr}.esp-auth-side{border-right:0;border-bottom:1px solid var(--esp-line);padding:20px}.esp-auth-form{padding:20px!important}.esp-auth-modal-polished .esp-auth-head{padding:20px}.esp-auth-modal-polished .esp-editor-actions{grid-template-columns:1fr 1fr!important}}


/* v1.3.32 cleaner auth side panel */
.esp-auth-side{
  position:relative;
  overflow:hidden;
  padding:24px!important;
  display:flex;
  flex-direction:column;
  gap:16px;
  justify-content:space-between;
  background:
    radial-gradient(circle at 18% 12%,rgba(37,217,255,.18),transparent 30%),
    radial-gradient(circle at 88% 22%,rgba(168,92,255,.16),transparent 34%),
    linear-gradient(180deg,rgba(8,18,35,.9),rgba(9,12,26,.96))!important;
}
.esp-auth-side:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg,rgba(125,244,255,.14),transparent 42%,rgba(168,92,255,.16));
  pointer-events:none;
}
.esp-auth-side > *{position:relative;z-index:1}
.esp-auth-side strong{margin:0!important;font-size:20px!important;line-height:1.1!important}
.esp-auth-side p{margin:5px 0 0!important;font-size:14px!important;line-height:1.45!important;color:rgba(231,244,255,.68)!important}
.esp-auth-brand-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:13px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(125,244,255,.16);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.esp-auth-mark{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  color:#03101b;
  background:linear-gradient(135deg,var(--esp-cyan),var(--esp-lime));
  box-shadow:0 14px 34px rgba(37,217,255,.18);
}
.esp-auth-mark .esp-svg{width:22px;height:22px}
.esp-auth-orbit{
  min-height:190px;
  display:grid;
  place-items:center;
  gap:12px;
  padding:18px;
  text-align:center;
  border-radius:24px;
  border:1px solid rgba(151,176,255,.14);
  background:radial-gradient(circle at center,rgba(37,217,255,.12),rgba(255,255,255,.025) 58%,rgba(168,92,255,.07));
}
.esp-auth-orbit-ring{
  width:108px;
  height:108px;
  border-radius:50%;
  padding:5px;
  background:linear-gradient(135deg,var(--esp-cyan),rgba(168,92,255,.9),var(--esp-lime));
  box-shadow:0 0 52px rgba(37,217,255,.16);
}
.esp-auth-orbit-ring span{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(5,10,20,.94);
  color:#fff;
  font-weight:950;
  font-size:26px;
  letter-spacing:.08em;
}
.esp-auth-orbit-copy b{display:block;color:#fff;font-size:17px;margin-bottom:4px}
.esp-auth-orbit-copy small{display:block;color:rgba(231,244,255,.62);line-height:1.4}
.esp-auth-benefits{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.esp-auth-benefits span{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:#dff3ff;
  font-weight:850;
  font-size:14px;
}
.esp-auth-benefits .esp-svg{width:17px;height:17px;color:var(--esp-cyan);flex:0 0 auto}
@media(max-width:760px){
  .esp-auth-side{padding:18px!important;gap:12px}
  .esp-auth-orbit{min-height:auto;grid-template-columns:auto 1fr;text-align:left;place-items:center start;padding:14px}
  .esp-auth-orbit-ring{width:64px;height:64px}.esp-auth-orbit-ring span{font-size:16px}
  .esp-auth-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.esp-auth-benefits span{justify-content:center;font-size:12px;padding:9px 8px}.esp-auth-benefits span .esp-svg{display:none}
}


/* v1.3.33 dashboard rebuild */
.esp-hero.has-media{background-size:cover;background-position:center;background-repeat:no-repeat;isolation:isolate;}
.esp-hero.has-media:after{content:"";position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 72% 22%,rgba(168,92,255,.30),transparent 32%),linear-gradient(90deg,rgba(5,9,20,.92),rgba(5,9,20,.48),rgba(5,9,20,.86));pointer-events:none;}
.esp-hero.has-media:before{z-index:2;}
.esp-hero-media{position:absolute;inset:0;z-index:0;opacity:1;}
.esp-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,9,20,.94),rgba(5,9,20,.50),rgba(5,9,20,.88));}
.esp-hero-media img,.esp-hero-media video{width:100%;height:100%;object-fit:cover;display:block;}
.esp-hero-copy,.esp-hero-card,.esp-versus{z-index:3;}
.esp-dashboard-premium{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;width:100%;padding:26px 28px;border:1px solid rgba(185,255,0,.32);border-radius:24px;background:radial-gradient(circle at 86% 18%,rgba(185,255,0,.24),transparent 32%),linear-gradient(135deg,rgba(13,24,42,.96),rgba(28,18,64,.88));box-shadow:0 28px 80px rgba(0,0,0,.34),0 0 34px rgba(185,255,0,.08);}
.esp-dashboard-premium:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(37,217,255,.10),transparent 45%,rgba(168,92,255,.14));pointer-events:none;}
.esp-premium-orb,.esp-dashboard-premium-copy,.esp-dashboard-premium .esp-btn{position:relative;z-index:1;}
.esp-premium-orb{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--esp-cyan),var(--esp-purple));box-shadow:0 0 32px rgba(37,217,255,.22),0 0 48px rgba(168,92,255,.20);}
.esp-premium-orb .esp-svg{width:32px;height:32px;color:#fff;}
.esp-dashboard-premium h3{margin:4px 0 7px;font-size:clamp(26px,3vw,42px);line-height:1;letter-spacing:-.04em;}
.esp-dashboard-premium p{margin:0;max-width:780px;color:#c4cee2;font-size:16px;}
.esp-top-player-list{display:grid;gap:10px;}
.esp-top-player-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:13px;border:1px solid rgba(151,176,255,.14);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.02));color:#fff;text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease;}
.esp-top-player-row:hover{transform:translateY(-2px);border-color:rgba(37,217,255,.34);background:linear-gradient(135deg,rgba(37,217,255,.10),rgba(168,92,255,.07));}
.esp-top-player-rank{min-width:44px;height:34px;padding:0 10px;border-radius:12px;display:grid;place-items:center;background:rgba(185,255,0,.12);border:1px solid rgba(185,255,0,.26);color:#d8ff72;font-weight:950;}
.esp-top-player-name{min-width:0;display:grid;gap:2px;}
.esp-top-player-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.esp-top-player-name small{color:var(--esp-muted);}
.esp-top-player-row>b{color:var(--esp-gold);white-space:nowrap;}
@media(max-width:760px){.esp-dashboard-premium{grid-template-columns:1fr;padding:22px}.esp-premium-orb{width:58px;height:58px}.esp-dashboard-premium .esp-btn{width:100%}.esp-top-player-row{grid-template-columns:auto auto minmax(0,1fr)}.esp-top-player-row>b{grid-column:3;}}

/* v1.3.36 previous season button */
.esp-prev-season-btn{
  display:inline-flex !important;
  align-items:center;
  gap:8px;
  width:auto !important;
  min-width:0 !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
  color:#eaf4ff !important;
  background:rgba(168,85,247,.13) !important;
  border:1px solid rgba(168,85,247,.35) !important;
}
.esp-prev-season-btn svg{width:14px;height:14px;transform:rotate(180deg);}

/* v1.3.38 notifications + match finder count fixes */
.esp.bell.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease;flex:0 0 auto}
.esp.bell.btn:hover{transform:translateY(-1px);border-color:rgba(52,213,255,.45);background:rgba(52,213,255,.10)}
.esp.bell.btn i{position:absolute;top:5px;right:5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#b7ff00;color:#06100f;font-style:normal;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 0 24px rgba(183,255,0,.45)}
.esp-notification-backdrop{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.58);backdrop-filter:blur(12px);display:flex;align-items:flex-start;justify-content:flex-end;padding:92px 28px 28px}
.esp-notification-pop{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;border:1px solid rgba(94,115,160,.35);border-radius:30px;background:linear-gradient(145deg,rgba(12,19,37,.98),rgba(18,22,48,.98));box-shadow:0 30px 90px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);animation:espModalIn .18s ease both;color:#fff}
.esp-notification-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid rgba(255,255,255,.08)}
.esp-notification-head h2{margin:0;font-size:30px;line-height:1.05}
.esp-notification-actions{display:flex;gap:12px;padding:16px 20px 0}.esp-notification-actions .esp-btn{flex:1;min-height:46px}
.esp-notification-list{display:grid;gap:12px;padding:20px}.esp-notification-item{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:rgba(255,255,255,.045);padding:10px;transition:transform .18s ease,border-color .18s ease}.esp-notification-item:hover{transform:translateY(-1px);border-color:rgba(52,213,255,.32)}.esp-notification-item.is-new{background:linear-gradient(135deg,rgba(52,213,255,.10),rgba(176,83,255,.08))}
.esp-notification-main{appearance:none;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;text-align:left;min-width:0;flex:1;cursor:pointer;padding:4px}.esp-notification-main strong{display:block;font-size:16px}.esp-notification-main em{display:block;font-style:normal;color:#b7c3d8;margin-top:3px}.esp-notification-main small{display:block;color:#8290aa;margin-top:5px}.esp-notification-dot{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:rgba(52,213,255,.10);border:1px solid rgba(52,213,255,.22);color:#82efff}.esp-notification-clear{width:40px;height:40px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.esp-notification-empty{padding:42px 28px;text-align:center;color:#aab5c8}.esp-notification-empty>span{margin:0 auto 14px;width:64px;height:64px;border-radius:24px;background:rgba(183,255,0,.12);border:1px solid rgba(183,255,0,.25);display:flex;align-items:center;justify-content:center;color:#b7ff00}.esp-notification-empty h3{margin:0 0 8px;color:#fff;font-size:24px}.esp-notification-empty p{margin:0}
@media(max-width:720px){.esp-notification-backdrop{padding:76px 12px 12px;align-items:flex-start;justify-content:center}.esp-notification-pop{border-radius:24px}.esp-notification-actions{flex-direction:row}.esp.bell.btn{width:46px;height:46px;border-radius:15px}}

/* v1.3.39: compact top bar notification layout */
.esp-topbar .esp-search{
  flex:1 1 520px!important;
  min-width:240px!important;
  max-width:780px!important;
}
.esp-account{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.esp-account .esp-user-chip{
  min-height:46px;
}
.esp.bell.btn{
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(151,176,255,.22)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 36px rgba(0,0,0,.18)!important;
}
.esp.bell.btn:hover{
  background:linear-gradient(135deg,rgba(52,213,255,.14),rgba(168,92,255,.10))!important;
  border-color:rgba(52,213,255,.45)!important;
}
.esp.bell.btn .esp-svg{width:19px;height:19px;color:#fff;stroke:#fff;}
.esp.bell.btn i{
  top:-4px!important;
  right:-4px!important;
  min-width:18px!important;
  height:18px!important;
  font-size:10px!important;
  background:var(--esp-cyan)!important;
  color:#02101c!important;
}
.esp-notification-backdrop{
  background:rgba(0,0,0,.28)!important;
  backdrop-filter:blur(5px)!important;
  padding:86px 24px 24px!important;
}
.esp-notification-pop{
  width:min(430px,calc(100vw - 28px))!important;
  max-height:min(560px,calc(100vh - 110px))!important;
  border-radius:22px!important;
}
.esp-notification-head{padding:18px 18px 14px!important;}
.esp-notification-head h2{font-size:24px!important;}
.esp-notification-actions{padding:12px 16px 0!important;gap:10px!important;}
.esp-notification-actions .esp-btn{min-height:40px!important;padding:9px 12px!important;font-size:13px!important;}
.esp-notification-list{padding:14px 16px!important;gap:9px!important;}
.esp-notification-item{border-radius:17px!important;padding:8px!important;}
.esp-notification-main{grid-template-columns:40px 1fr!important;gap:10px!important;}
.esp-notification-dot{width:40px!important;height:40px!important;border-radius:14px!important;}
.esp-notification-main strong{font-size:15px!important;}
.esp-notification-main em{font-size:13px!important;line-height:1.35!important;}
.esp-notification-main small{font-size:12px!important;}
.esp-notification-clear{width:34px!important;height:34px!important;border-radius:12px!important;}
.esp-notification-more{padding:0 16px 16px;display:flex;}
.esp-notification-more .esp-btn{width:100%;min-height:40px;padding:9px 12px;}
.esp-notification-empty{padding:34px 22px!important;}
.esp-notification-empty>span{width:54px!important;height:54px!important;border-radius:18px!important;}
.esp-notification-empty h3{font-size:21px!important;}
@media(max-width:1180px){
  .esp-topbar .esp-search{flex-basis:360px!important;max-width:none!important;}
}
@media(max-width:1100px){
  .esp-account{margin-left:auto!important;}
  .esp-topbar .esp-search{order:10!important;flex:1 0 100%!important;min-width:0!important;max-width:none!important;}
}
@media(max-width:640px){
  .esp.bell.btn{width:42px!important;height:42px!important;}
  .esp-notification-backdrop{padding:72px 10px 10px!important;justify-content:center!important;}
  .esp-notification-pop{width:100%!important;max-height:calc(100vh - 86px)!important;border-radius:20px!important;}
}


/* v1.3.40: mobile top bar + off-canvas fixes */
.esp-nav-backdrop{display:none;}
.esp-menu-btn{padding:0!important;align-items:center!important;justify-content:center!important;}
.esp-account{flex-wrap:nowrap!important;}
.esp-account .esp-user-chip,.esp.bell.btn{flex:0 0 auto!important;}
.esp-account .esp-user-chip b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:120px!important;color:#fff!important;}
@media(max-width:1100px){
  .esp-arena-sidebar{z-index:1002!important;background:linear-gradient(180deg,#050b16,#060914)!important;box-shadow:24px 0 90px rgba(0,0,0,.62)!important;}
  .esp-nav-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:1001!important;background:rgba(2,5,12,.62)!important;backdrop-filter:blur(5px)!important;opacity:0!important;pointer-events:none!important;transition:opacity .18s ease!important;}
  .esp-nav-backdrop.is-open{opacity:1!important;pointer-events:auto!important;}
  .esp-search{z-index:1!important;}
  .esp-topbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;}
  .esp-menu-btn{order:1!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;}
  .esp-topbar-back{order:1!important;flex:0 0 auto!important;}
  .esp-topbar-title{order:1!important;flex:1 1 0!important;min-width:0!important;}
  .esp-topbar-title h1{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .esp-account{order:1!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 0 auto!important;margin-left:auto!important;min-width:max-content!important;}
  .esp-account .esp-user-chip{min-height:42px!important;height:42px!important;padding:6px 9px!important;max-width:170px!important;}
  .esp-account .esp-user-chip span,.esp-mini-avatar{width:30px!important;height:30px!important;min-width:30px!important;}
  .esp-account .esp-user-chip b{max-width:88px!important;}
  .esp.bell.btn{width:42px!important;height:42px!important;min-width:42px!important;}
  .esp-topbar .esp-search{order:2!important;grid-column:auto!important;flex:0 0 100%!important;min-width:0!important;max-width:none!important;}
  .esp-arena-app.is-nav-open .esp-search{pointer-events:none!important;}
}
@media(max-width:430px){
  .esp-topbar{gap:8px!important;}
  .esp-topbar-title small{font-size:9px!important;letter-spacing:.1em!important;}
  .esp-topbar-title h1{font-size:20px!important;}
  .esp-account .esp-user-chip{max-width:132px!important;}
  .esp-account .esp-user-chip b{max-width:58px!important;}
}
@media(max-width:370px){
  .esp-account .esp-user-chip b{display:none!important;}
  .esp-account .esp-user-chip{padding:6px 8px!important;}
}

/* v1.3.41: notification icon colour + mobile back gesture polish */
.esp.bell.btn{
  background:linear-gradient(135deg,#c7ff00,#9bff00)!important;
  border-color:rgba(183,255,0,.55)!important;
  color:#050914!important;
  box-shadow:0 14px 34px rgba(183,255,0,.16),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.esp.bell.btn:hover{
  background:linear-gradient(135deg,#d8ff37,#b7ff00)!important;
  border-color:rgba(183,255,0,.8)!important;
}
.esp.bell.btn .esp-svg,
.esp.bell.btn svg{
  color:#050914!important;
  stroke:#050914!important;
}
.esp.bell.btn i{
  background:var(--esp-cyan)!important;
  color:#02101c!important;
}

/* v1.3.42: cleaner notification modal inspired by compact app cards */
.esp-notification-backdrop{
  background:rgba(3,7,18,.56)!important;
  backdrop-filter:blur(14px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(14px) saturate(120%)!important;
  align-items:center!important;
  justify-content:center!important;
  padding:22px!important;
}
.esp-notification-pop{
  width:min(620px,calc(100vw - 32px))!important;
  max-height:min(640px,calc(100vh - 44px))!important;
  overflow:hidden!important;
  border-radius:34px!important;
  background:linear-gradient(145deg,rgba(12,18,34,.98),rgba(17,20,45,.98))!important;
  border:1px solid rgba(151,176,255,.28)!important;
  box-shadow:0 38px 110px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.07)!important;
  display:flex!important;
  flex-direction:column!important;
}
.esp-notification-head{
  padding:24px 26px 20px!important;
  border-bottom:1px solid rgba(151,176,255,.16)!important;
}
.esp-notification-head .esp-kicker{display:none!important;}
.esp-notification-head h2{
  font-size:27px!important;
  letter-spacing:-.03em!important;
}
.esp-notification-head .esp-modal-close{
  width:56px!important;
  height:56px!important;
  border-radius:20px!important;
  padding:0!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(151,176,255,.20)!important;
}
.esp-notification-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:16px 22px 0!important;
}
.esp-notification-actions .esp-btn{
  min-height:42px!important;
  border-radius:16px!important;
  padding:10px 12px!important;
}
.esp-notification-list{
  padding:18px 22px!important;
  gap:10px!important;
  overflow:auto!important;
}
.esp-notification-item{
  border-radius:22px!important;
  padding:10px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  border:1px solid rgba(151,176,255,.16)!important;
}
.esp-notification-item.is-new{
  border-color:rgba(52,213,255,.32)!important;
  background:linear-gradient(135deg,rgba(52,213,255,.12),rgba(168,92,255,.08))!important;
}
.esp-notification-main{
  grid-template-columns:44px 1fr!important;
  gap:12px!important;
}
.esp-notification-dot{
  width:44px!important;
  height:44px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(52,213,255,.14),rgba(183,255,0,.10))!important;
  border:1px solid rgba(52,213,255,.24)!important;
}
.esp-notification-main strong{
  font-size:15.5px!important;
  letter-spacing:-.01em!important;
}
.esp-notification-main em{
  color:#c3cee2!important;
  font-size:13.5px!important;
}
.esp-notification-main small{font-size:12px!important;color:#8d99b3!important;}
.esp-notification-clear{
  width:36px!important;
  height:36px!important;
  border-radius:14px!important;
}
.esp-notification-more{
  padding:0 22px 20px!important;
}
.esp-notification-more .esp-btn{
  border-radius:16px!important;
  min-height:42px!important;
}
.esp-notification-empty{
  margin:24px 26px 26px!important;
  padding:44px 24px!important;
  min-height:250px!important;
  border-radius:28px!important;
  border:1px dashed rgba(151,176,255,.28)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(52,213,255,.035))!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.esp-notification-empty>span{
  width:64px!important;
  height:64px!important;
  margin:0 auto 18px!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(52,213,255,.06))!important;
  border:1px solid rgba(151,176,255,.24)!important;
  color:var(--esp-cyan)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.esp-notification-empty h3{
  font-size:24px!important;
  margin:0 0 8px!important;
  color:#fff!important;
  letter-spacing:-.02em!important;
}
.esp-notification-empty p{
  margin:0!important;
  color:#aebbd0!important;
  font-size:16px!important;
  line-height:1.5!important;
}
@media(max-width:720px){
  .esp-notification-backdrop{
    padding:16px!important;
    align-items:center!important;
  }
  .esp-notification-pop{
    width:100%!important;
    max-height:calc(100svh - 32px)!important;
    border-radius:28px!important;
  }
  .esp-notification-head{
    padding:20px 20px 16px!important;
  }
  .esp-notification-head h2{
    font-size:24px!important;
  }
  .esp-notification-head .esp-modal-close{
    width:48px!important;
    height:48px!important;
    border-radius:18px!important;
  }
  .esp-notification-actions{
    padding:14px 18px 0!important;
  }
  .esp-notification-list{
    padding:16px 18px!important;
  }
  .esp-notification-empty{
    margin:20px!important;
    min-height:210px!important;
    padding:34px 18px!important;
    border-radius:24px!important;
  }
  .esp-notification-empty>span{
    width:58px!important;
    height:58px!important;
    border-radius:20px!important;
  }
  .esp-notification-empty h3{
    font-size:22px!important;
  }
  .esp-notification-empty p{
    font-size:15px!important;
  }
}


/* v1.3.43: player follows + logged-out account area */
.esp-account-guest{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;margin-left:auto!important;order:1!important;}
.esp-login-chip{min-height:46px!important;border-radius:18px!important;white-space:nowrap!important;}
.esp-btn.is-following{background:linear-gradient(135deg,rgba(183,255,0,.18),rgba(37,217,255,.10))!important;border:1px solid rgba(183,255,0,.45)!important;color:#eafff1!important;}
.esp-follow-panel{display:grid;gap:18px}.esp-follow-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.esp-follow-counts span{border:1px solid var(--esp-line);border-radius:16px;background:linear-gradient(135deg,rgba(37,217,255,.09),rgba(168,92,255,.06));padding:15px;display:grid;gap:3px}.esp-follow-counts b{font-size:28px;color:#fff;line-height:1}.esp-follow-counts em{font-style:normal;color:var(--esp-muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.esp-follow-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.esp-follow-columns section{border:1px solid rgba(151,176,255,.14);border-radius:16px;background:rgba(255,255,255,.025);padding:14px;min-width:0}.esp-follow-columns h4{margin:0 0 10px;color:#fff}.esp-follow-mini-list{display:grid;gap:8px}.esp-follow-mini-list button{width:100%;border:1px solid rgba(151,176,255,.14);border-radius:14px;background:rgba(5,10,20,.45);color:#fff;padding:8px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;text-align:left;min-width:0}.esp-follow-mini-list button:hover{border-color:rgba(37,217,255,.4);background:rgba(37,217,255,.08)}.esp-follow-mini-list span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}
@media(max-width:1100px){.esp-account-guest{order:1!important;margin-left:auto!important}.esp-topbar>button.esp-btn:not(.esp-menu-btn):not(.esp-topbar-back){order:1!important;margin-left:auto!important}}
@media(max-width:640px){.esp-login-chip{height:42px!important;min-height:42px!important;padding:0 13px!important}.esp-follow-columns,.esp-follow-counts{grid-template-columns:1fr}}

/* v1.3.44: React score reporting / ELO flow */
.esp-match-report-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.esp-match-report-inline .esp-btn{min-height:44px}.esp-match-report-inline span,.esp-match-report-inline small{color:var(--esp-muted);font-weight:800}.esp-score-report-modal{max-width:760px!important}.esp-score-report-card{display:grid;gap:18px}.esp-score-report-card h3{margin:0;color:#fff;font-size:28px;letter-spacing:-.03em}.esp-score-report-card p{margin:0;color:var(--esp-muted);font-size:16px;line-height:1.55}.esp-score-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.esp-score-choice{border:1px solid rgba(151,176,255,.18);border-radius:24px;background:linear-gradient(135deg,rgba(37,217,255,.08),rgba(168,92,255,.08));color:#fff;padding:18px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;text-align:left;min-height:96px;transition:.18s ease}.esp-score-choice:hover,.esp-score-choice.is-active{border-color:rgba(183,255,0,.62);box-shadow:0 18px 46px rgba(183,255,0,.10);transform:translateY(-1px)}.esp-score-choice img,.esp-score-choice>.esp-mini-avatar{width:56px;height:56px;border-radius:18px;object-fit:cover}.esp-score-choice strong{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.esp-score-choice em{font-style:normal;color:var(--esp-lime);font-weight:950;text-transform:uppercase;letter-spacing:.1em;font-size:11px;grid-column:2}
@media(max-width:640px){.esp-score-choices{grid-template-columns:1fr}.esp-score-report-card h3{font-size:24px}.esp-match-report-inline{align-items:stretch}.esp-match-report-inline .esp-btn{width:100%}}

/* v1.3.45 clearer auth journeys */
.esp-auth-modal-polished.esp-auth-login{
  box-shadow:0 42px 130px rgba(0,0,0,.60),0 0 54px rgba(37,217,255,.08);
}
.esp-auth-modal-polished.esp-auth-register{
  border-color:rgba(185,255,0,.28);
  box-shadow:0 42px 130px rgba(0,0,0,.60),0 0 54px rgba(185,255,0,.10);
}
.esp-auth-login .esp-auth-side{
  background:
    radial-gradient(circle at 18% 12%,rgba(37,217,255,.20),transparent 31%),
    radial-gradient(circle at 90% 18%,rgba(168,92,255,.18),transparent 36%),
    linear-gradient(180deg,rgba(7,18,36,.94),rgba(9,12,26,.98))!important;
}
.esp-auth-register .esp-auth-side{
  background:
    radial-gradient(circle at 20% 16%,rgba(185,255,0,.18),transparent 30%),
    radial-gradient(circle at 88% 22%,rgba(37,217,255,.16),transparent 35%),
    linear-gradient(180deg,rgba(17,25,21,.94),rgba(9,12,26,.98))!important;
}
.esp-auth-register .esp-auth-mark{
  background:linear-gradient(135deg,var(--esp-lime),var(--esp-cyan));
  box-shadow:0 14px 34px rgba(185,255,0,.18);
}
.esp-auth-register .esp-auth-orbit{
  border-color:rgba(185,255,0,.18);
  background:radial-gradient(circle at center,rgba(185,255,0,.12),rgba(255,255,255,.025) 58%,rgba(37,217,255,.07));
}
.esp-auth-register .esp-auth-orbit-ring{
  background:linear-gradient(135deg,var(--esp-lime),var(--esp-cyan),rgba(168,92,255,.85));
  box-shadow:0 0 52px rgba(185,255,0,.14);
}
.esp-auth-register .esp-auth-benefits span{
  border-color:rgba(185,255,0,.14);
}
.esp-auth-register .esp-auth-benefits .esp-svg{
  color:var(--esp-lime);
}
.esp-register-note{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  border:1px solid rgba(185,255,0,.18);
  border-radius:16px;
  padding:13px 14px;
  background:linear-gradient(135deg,rgba(185,255,0,.08),rgba(37,217,255,.035));
  color:#fff;
}
.esp-register-note>.esp-svg{
  width:22px;height:22px;color:var(--esp-lime);
}
.esp-register-note b{display:block;font-size:14px;margin-bottom:2px}
.esp-register-note small{display:block;color:rgba(231,244,255,.68);line-height:1.35}
.esp-auth-form-register input{border-color:rgba(185,255,0,.18)!important}
.esp-auth-form-register input:focus{border-color:rgba(185,255,0,.48)!important;box-shadow:0 0 0 3px rgba(185,255,0,.08)!important}


/* v1.3.46 auth modal scroll + mode transition */
.esp-auth-modal-polished{
  display:flex!important;
  flex-direction:column!important;
  max-height:calc(100dvh - 36px)!important;
  overflow:hidden!important;
}
.esp-auth-modal-polished .esp-auth-head{
  flex:0 0 auto!important;
}
.esp-auth-modal-polished .esp-auth-body{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  transition:opacity .18s ease,transform .22s ease,filter .22s ease!important;
  scrollbar-width:thin;
}
.esp-auth-modal-polished .esp-auth-body::-webkit-scrollbar{width:8px}
.esp-auth-modal-polished .esp-auth-body::-webkit-scrollbar-thumb{background:rgba(125,244,255,.20);border-radius:999px}
.esp-auth-modal-polished.is-switching-out .esp-auth-body{
  opacity:0!important;
  transform:translateY(12px) scale(.985)!important;
  filter:blur(3px)!important;
}
.esp-auth-modal-polished.is-switching-in .esp-auth-body{
  animation:espAuthModeIn .26s cubic-bezier(.2,.8,.2,1) both!important;
}
@keyframes espAuthModeIn{
  from{opacity:0;transform:translateY(-10px) scale(.985);filter:blur(3px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
.esp-auth-modal-polished .esp-auth-form{
  min-height:0!important;
}
@media(max-width:760px){
  .esp-auth-modal-polished{
    width:min(94vw,620px)!important;
    max-height:calc(100dvh - 24px)!important;
  }
  .esp-auth-modal-polished .esp-auth-body{
    display:block!important;
  }
  .esp-auth-modal-polished .esp-auth-side{
    max-height:none!important;
  }
}
@media(max-width:420px){
  .esp-auth-modal-polished{
    width:calc(100vw - 18px)!important;
    max-height:calc(100dvh - 18px)!important;
    border-radius:20px!important;
  }
  .esp-auth-modal-polished .esp-auth-head{
    padding:16px!important;
  }
  .esp-auth-modal-polished .esp-auth-side{
    padding:14px!important;
  }
  .esp-auth-modal-polished .esp-auth-form{
    padding:16px!important;
  }
}

/* v1.3.48 first-login onboarding tour */
.esp-onboarding-backdrop{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:radial-gradient(circle at 50% 20%,rgba(125,244,255,.16),transparent 34%),rgba(3,7,15,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.esp-onboarding-modal{
  width:min(560px,calc(100vw - 28px));
  position:relative;
  border-radius:28px;
  padding:1px;
  background:linear-gradient(135deg,rgba(125,244,255,.42),rgba(185,255,0,.22),rgba(132,92,255,.32));
  box-shadow:0 34px 90px rgba(0,0,0,.58),0 0 44px rgba(37,217,255,.12);
  animation:espOnboardingIn .26s cubic-bezier(.2,.8,.2,1) both;
}
.esp-onboarding-card{
  border-radius:27px;
  padding:30px;
  background:linear-gradient(145deg,rgba(10,16,31,.98),rgba(5,9,20,.96));
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}
.esp-onboarding-card h2{
  margin:7px 0 10px;
  font-size:clamp(25px,5vw,40px);
  line-height:1.03;
  letter-spacing:-.04em;
}
.esp-onboarding-card p{
  margin:0;
  color:rgba(231,244,255,.74);
  font-size:15px;
  line-height:1.65;
}
.esp-onboarding-close{
  position:absolute;
  top:13px;
  right:13px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0!important;
  border:1px solid rgba(255,255,255,.12);
  border-radius:13px;
  background:rgba(255,255,255,.07);
  color:#fff;
  z-index:2;
}
.esp-onboarding-close .esp-svg{width:18px;height:18px}
.esp-onboarding-progress{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:24px 0 20px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.04);
}
.esp-onboarding-progress>span{
  color:rgba(231,244,255,.78);
  font-weight:800;
  font-size:13px;
}
.esp-onboarding-dots{
  display:flex;
  align-items:center;
  gap:7px;
}
.esp-onboarding-dots i{
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
}
.esp-onboarding-dots i.is-active{
  width:24px;
  background:linear-gradient(90deg,var(--esp-cyan),var(--esp-lime));
  box-shadow:0 0 18px rgba(37,217,255,.24);
}
.esp-onboarding-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
}
.esp-onboarding-actions .esp-btn{
  min-width:0;
  white-space:nowrap;
}
.esp-onboarding-actions .esp-btn:disabled{
  opacity:.38;
  cursor:not-allowed;
}
.esp-account-menu button .esp-svg{flex:0 0 auto}
@keyframes espOnboardingIn{
  from{opacity:0;transform:translateY(16px) scale(.97);filter:blur(4px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@media(max-width:560px){
  .esp-onboarding-backdrop{align-items:flex-end;padding:12px}
  .esp-onboarding-card{padding:24px 18px 18px}
  .esp-onboarding-progress{align-items:flex-start;flex-direction:column;gap:10px}
  .esp-onboarding-actions{justify-content:stretch;gap:8px}
  .esp-onboarding-actions .esp-btn{flex:1;padding-left:10px!important;padding-right:10px!important}
}

/* v1.3.49 score reporting + disputed match submissions */
.esp-score-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px}.esp-score-inputs label{display:grid;gap:8px;color:#fff;font-weight:900}.esp-score-inputs input{width:100%;border:1px solid rgba(151,176,255,.18);border-radius:18px;background:rgba(255,255,255,.06);color:#fff;padding:14px 16px;font-size:20px;font-weight:950;outline:none}.esp-score-inputs input:focus{border-color:rgba(183,255,0,.65);box-shadow:0 0 0 4px rgba(183,255,0,.12)}.esp-report-submission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.esp-report-submission-card{border:1px solid rgba(255,91,91,.24);border-radius:24px;background:linear-gradient(135deg,rgba(255,91,91,.08),rgba(37,217,255,.05));padding:18px}.esp-report-submission-card h4{margin:6px 0 14px;color:#fff;font-size:20px;line-height:1.1}.esp-report-submission-rows{display:grid;gap:10px}.esp-report-submission-rows p{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.08);padding-top:10px}.esp-report-submission-rows span{color:var(--esp-muted);font-weight:850}.esp-report-submission-rows strong{color:#fff;font-weight:950;text-align:right}.esp-report-submission-rows small{color:var(--esp-muted);font-weight:800;line-height:1.4}.esp-match-reports-panel{border-color:rgba(255,91,91,.24)!important}
@media(max-width:640px){.esp-score-inputs,.esp-report-submission-grid{grid-template-columns:1fr}.esp-report-submission-rows p{align-items:flex-start;flex-direction:column}.esp-report-submission-rows strong{text-align:left}}

/* v1.3.50 quick-tour visibility fix: keep the app visible behind the tour modal */
.esp-onboarding-backdrop{
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  pointer-events:none!important;
  padding:22px!important;
}
.esp-onboarding-modal{
  width:min(460px,calc(100vw - 28px))!important;
  pointer-events:auto!important;
  margin:0!important;
}
.esp-onboarding-card{
  background:linear-gradient(145deg,rgba(10,16,31,.98),rgba(5,9,20,.98))!important;
  box-shadow:0 24px 80px rgba(0,0,0,.44),0 0 0 1px rgba(255,255,255,.06) inset!important;
}
@media(max-width:560px){
  .esp-onboarding-backdrop{align-items:flex-end!important;justify-content:center!important;padding:10px!important}
  .esp-onboarding-modal{width:100%!important}
}

/* v1.3.57 - Popup close button padding fix */
.esp-modal-close,.esp-editor-head button[aria-label*="Close"],.esp-notification-head .esp-modal-close{padding:0!important;}

/* v1.3.58 - Match support + front-end admin match controls */
.esp-match-report-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.esp-admin-match-controls{display:grid;gap:14px}
.esp-admin-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.esp-admin-match-grid label{display:grid;gap:7px;color:var(--esp-muted,#9ba8bd);font-weight:800;font-size:13px}
.esp-admin-match-grid select,.esp-admin-match-grid input{width:100%;border:1px solid rgba(174,195,255,.18);border-radius:14px;background:rgba(255,255,255,.06);color:var(--esp-text,#f6fbff);padding:12px 13px;outline:0;font-weight:800}
.esp-admin-match-grid select:focus,.esp-admin-match-grid input:focus{border-color:rgba(52,213,255,.72);box-shadow:0 0 0 4px rgba(52,213,255,.12)}
.esp-admin-match-actions{display:flex;gap:10px;flex-wrap:wrap}.esp-btn.ghost.danger{border-color:rgba(255,91,119,.38);color:#ffd5dd}.esp-inline-message.success{border-color:rgba(183,255,0,.32);background:rgba(183,255,0,.08);color:#eaffbf}
@media(max-width:700px){.esp-admin-match-grid{grid-template-columns:1fr}.esp-admin-match-actions .esp-btn{width:100%}}

/* v1.3.57 carried forward - modal close button padding */
.esp-editor-backdrop .esp-modal-close,.esp-modal-close{padding:0!important}



/* v1.3.69 - padding reset only for notification bell */
.esp.bell.btn {
  padding: 0px !important;
}

/* v1.3.62 - score reporting now uses winner only with automatic scoreline */
.esp-auto-score-preview{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(151,176,255,.18);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  padding:15px 18px;
  color:var(--esp-muted);
  font-weight:850;
}
.esp-auto-score-preview strong{color:#fff;font-weight:950;white-space:nowrap}
.esp-auto-score-preview em{font-style:normal;color:var(--esp-lime);font-weight:950;text-align:right}
@media(max-width:640px){.esp-auto-score-preview{align-items:flex-start;flex-direction:column}.esp-auto-score-preview em{text-align:left}}

/* v1.3.67: locked/private matches tab */
.esp-matches-locked{
  min-height: calc(100dvh - 150px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(18px, 4vw, 48px);
}
.esp-locked-card{
  width:min(620px, 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding: clamp(24px, 5vw, 44px);
  background: radial-gradient(circle at top left, rgba(255,199,59,.18), transparent 36%), linear-gradient(180deg, rgba(16,24,39,.96), rgba(8,12,24,.96));
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  text-align:center;
}
.esp-locked-card .esp-kicker{justify-content:center;}
.esp-locked-card h2{margin:8px 0 10px;font-size:clamp(1.8rem, 5vw, 3rem);line-height:1;}
.esp-locked-card p{margin:0 auto 22px;max-width:470px;color:rgba(255,255,255,.72);line-height:1.55;}
.esp-locked-icon{
  width:74px;
  height:74px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:24px;
  color:#ffc73b;
  background:rgba(255,199,59,.12);
  border:1px solid rgba(255,199,59,.24);
}
.esp-locked-icon svg{width:34px;height:34px;}
.esp-my-matches-intro{
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 26px);
  border-radius:24px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(135deg, rgba(255,199,59,.13), rgba(255,255,255,.04));
}
.esp-my-matches-intro h2{margin:4px 0 6px;font-size:clamp(1.45rem, 4vw, 2.2rem);}
.esp-my-matches-intro p{margin:0;color:rgba(255,255,255,.68);}
@media (max-width:700px){
  .esp-matches-locked{align-items:flex-start;padding:18px;}
  .esp-locked-card{border-radius:24px;padding:28px 18px;}
  .esp-locked-icon{width:62px;height:62px;border-radius:20px;}
  .esp-my-matches-intro{border-radius:20px;padding:18px;}
}


/* v1.3.68: instant tap/click feedback for cards and detail routes */
.esp-card,
.esp-match-row,
.esp-team-row,
.esp-ladder-row,
.esp-member-card,
.esp-game-card,
[data-esp-open-item] {
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease, opacity .14s ease;
}
.esp-card:active,
.esp-match-row:active,
.esp-team-row:active,
.esp-ladder-row:active,
.esp-member-card:active,
.esp-game-card:active,
.esp-is-tapping {
  transform: translateY(1px) scale(.992);
  opacity: .82;
}
.esp-is-tapping {
  box-shadow: 0 0 0 1px rgba(255, 214, 94, .34), 0 18px 42px rgba(0,0,0,.28) !important;
  border-color: rgba(255, 214, 94, .45) !important;
}
.esp-route-feedback {
  position: sticky;
  top: 10px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 14px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20,27,44,.98), rgba(9,13,24,.96));
  box-shadow: 0 22px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
  animation: espRouteIn .16s ease both;
}
.esp-route-feedback-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,214,94,.14);
  color: #ffd65e;
  flex: 0 0 auto;
}
.esp-route-feedback-icon .esp-svg {
  width: 20px;
  height: 20px;
}
.esp-route-feedback span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
}
.esp-route-feedback strong {
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.esp-route-feedback em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-style: normal;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
.esp-route-feedback-spinner {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: #ffd65e;
  animation: espSpin .75s linear infinite;
  flex: 0 0 auto;
}
@keyframes espRouteIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes espSpin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .esp-route-feedback {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    top: max(12px, env(safe-area-inset-top));
    margin: 0;
    border-radius: 16px;
    padding: 11px 13px;
  }
}

/* Tournament module */
.esp-tournament-page .esp-panel{overflow:hidden}
.esp-tournament-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:end;padding:34px;border:1px solid rgba(255,255,255,.08);border-radius:30px;background:linear-gradient(135deg,rgba(11,18,38,.96),rgba(14,20,44,.86));background-size:cover;background-position:center;box-shadow:0 26px 80px rgba(0,0,0,.35);overflow:hidden}
.esp-tournament-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0,rgba(245,190,76,.18),transparent 34%),radial-gradient(circle at 80% 10%,rgba(74,222,255,.13),transparent 36%);pointer-events:none}.esp-tournament-hero>*{position:relative;z-index:1}.esp-tournament-hero h2{font-size:clamp(2rem,5vw,4.2rem);line-height:.95;margin:8px 0 12px}.esp-tournament-hero p{max-width:760px;color:rgba(255,255,255,.74);font-size:1.02rem}.esp-tournament-clock{display:grid;gap:12px}.esp-tournament-clock span{display:block;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09);color:rgba(255,255,255,.62);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.esp-tournament-clock b{display:block;margin-top:4px;color:#fff;font-size:.95rem;text-transform:none;letter-spacing:0}
.esp-tournament-grid{align-items:start}.esp-tournament-actions,.esp-tournament-info,.esp-tournament-admin-actions{display:grid;gap:14px}.esp-tournament-join-box{display:grid;gap:12px;padding:14px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08)}.esp-tournament-join-box label{font-weight:800;color:#fff}.esp-tournament-join-box select{width:100%;margin-top:8px}.esp-tournament-team-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.04)}.esp-tournament-team-action span{display:grid;gap:2px}.esp-tournament-team-action small{color:rgba(255,255,255,.58)}.esp-chip-link{display:inline-flex;align-items:center;gap:8px;width:max-content;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:#fff;padding:9px 13px}.esp-map-pool{display:flex;flex-wrap:wrap;gap:8px}.esp-map-pool span,.esp-bracket-maps span{display:inline-flex;border:1px solid rgba(74,222,255,.18);background:rgba(74,222,255,.08);color:#c7f6ff;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:800}
.esp-tournament-team-list{display:grid;gap:10px}.esp-tournament-team-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);color:#fff;text-align:left}.esp-tournament-team-card img,.esp-tournament-team-card>span{width:42px;height:42px;border-radius:14px;object-fit:cover;background:linear-gradient(135deg,#101827,#26324d);display:grid;place-items:center;font-weight:900}.esp-tournament-team-card em{color:rgba(255,255,255,.6);font-style:normal;font-size:.82rem}.esp-tournament-bracket-panel{grid-column:1/-1}.esp-tournament-champion{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:16px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(245,190,76,.18),rgba(255,255,255,.06));border:1px solid rgba(245,190,76,.28)}.esp-tournament-champion svg{color:#ffd56f}.esp-tournament-champion span{color:rgba(255,255,255,.64);font-size:.78rem;text-transform:uppercase;letter-spacing:.1em}.esp-tournament-champion strong{font-size:1.2rem}
.esp-bracket-board{display:flex;gap:16px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity}.esp-bracket-round{min-width:290px;display:grid;gap:12px;align-content:start;scroll-snap-align:start}.esp-bracket-round h3{margin:0;color:#fff;font-size:.95rem;text-transform:uppercase;letter-spacing:.08em}.esp-bracket-match{display:grid;gap:8px;padding:12px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 34px rgba(0,0,0,.22)}.esp-bracket-match.is-complete{border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.08)}.esp-bracket-match.is-bye{border-color:rgba(245,190,76,.24)}.esp-bracket-match-head{display:flex;justify-content:space-between;gap:8px;align-items:center;color:rgba(255,255,255,.58);font-size:.78rem}.esp-bracket-match-head em{font-style:normal;color:#ffd56f;font-weight:900}.esp-bracket-match>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border-radius:14px;background:rgba(7,12,26,.62);border:1px solid rgba(255,255,255,.08);color:#fff;text-align:left}.esp-bracket-match>button:disabled{opacity:.45}.esp-bracket-match>button.is-winner{border-color:rgba(34,197,94,.45);background:rgba(34,197,94,.12)}.esp-bracket-match>button b{font-size:.7rem;color:#86efac;text-transform:uppercase}.esp-bracket-maps{display:flex;gap:6px;flex-wrap:wrap}.esp-bracket-admin{display:grid;gap:8px;margin-top:4px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.esp-bracket-admin small{color:rgba(255,255,255,.56);text-transform:uppercase;letter-spacing:.08em}.esp-bracket-admin button{border:1px solid rgba(245,190,76,.22);background:rgba(245,190,76,.08);color:#fff;border-radius:12px;padding:8px 10px;font-weight:800}
@media(max-width:850px){.esp-tournament-hero{grid-template-columns:1fr;padding:24px;border-radius:24px}.esp-tournament-clock{grid-template-columns:1fr}.esp-tournament-team-action{align-items:stretch;flex-direction:column}.esp-bracket-round{min-width:82vw}.esp-tournament-team-card{grid-template-columns:38px minmax(0,1fr);}.esp-tournament-team-card em{grid-column:2}.esp-tournament-join-box .esp-btn,.esp-tournament-team-action .esp-btn{width:100%}}

/* Tournament-specific team creation / demo tools */
.esp-tournament-join-box input,
.esp-tournament-join-box textarea,
.esp-tournament-inline-invite input{
  width:100%;
  box-sizing:border-box;
}
.esp-tournament-join-box textarea{
  min-height:96px;
  resize:vertical;
}
.esp-tournament-join-box strong,
.esp-tournament-demo-tools strong{
  color:#fff;
  font-size:1rem;
}
.esp-tournament-team-action{
  flex-wrap:wrap;
}
.esp-tournament-team-action.is-pending{
  border-color:rgba(245,190,76,.26);
  background:linear-gradient(135deg,rgba(245,190,76,.09),rgba(255,255,255,.035));
}
.esp-tournament-team-buttons,
.esp-tournament-inline-invite,
.esp-tournament-demo-tools{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.esp-tournament-team-buttons{margin-left:auto}
.esp-tournament-inline-invite{
  width:100%;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}
.esp-tournament-inline-invite input{flex:1;min-width:220px}
.esp-tournament-roster-note{width:100%;margin:0}
.esp-tournament-demo-tools{
  align-items:flex-start;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
}
.esp-tournament-demo-tools p{width:100%;margin:0}
.esp-btn.danger{
  background:linear-gradient(135deg,rgba(239,68,68,.95),rgba(190,18,60,.95));
  color:#fff;
}
.esp-tournament-team-card.is-pending{
  border-color:rgba(245,190,76,.24);
}
.esp-tournament-team-card.is-demo em:after{
  content:' · Demo';
  color:#f5be4c;
}
@media(max-width:850px){
  .esp-tournament-team-buttons,
  .esp-tournament-inline-invite,
  .esp-tournament-demo-tools{width:100%;display:grid;grid-template-columns:1fr;}
  .esp-tournament-team-buttons{margin-left:0}
  .esp-tournament-inline-invite input{min-width:0}
}

/* v1.3.72 tournament join modal flow */
.esp-tournament-primary-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.esp-tournament-join-modal{width:min(780px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:hidden;display:flex;flex-direction:column}
.esp-tournament-join-modal .esp-editor-head{flex:0 0 auto}
.esp-tournament-join-body{padding:18px;overflow:auto;min-height:0}
.esp-tournament-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 18px 16px;border-bottom:1px solid var(--esp-line)}
.esp-tournament-stepper button{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);color:#dbe7ff;border-radius:14px;padding:10px;text-align:left;font-weight:850}
.esp-tournament-stepper button b{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#fff;flex:0 0 auto}
.esp-tournament-stepper button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}
.esp-tournament-stepper button.is-active{border-color:rgba(37,217,255,.42);background:linear-gradient(135deg,rgba(37,217,255,.14),rgba(168,92,255,.10))}
.esp-tournament-stepper button.is-done b{background:rgba(34,197,94,.22);color:#baffd1}
.esp-tournament-join-step{display:grid;gap:14px}
.esp-tournament-join-step h3{margin:0;color:#fff;font-size:1.45rem;letter-spacing:-.03em}
.esp-tournament-join-step p{margin:0;color:var(--esp-muted);line-height:1.5}
.esp-tournament-join-step label{display:grid;gap:8px;color:#fff;font-weight:850}
.esp-tournament-join-step input:not([type="checkbox"]){width:100%;min-height:50px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.055);color:#fff;padding:0 14px;outline:0}
.esp-tournament-image-upload{position:relative;display:grid!important;place-items:center;min-height:230px;border:1px dashed rgba(125,244,255,.36);border-radius:24px;background:linear-gradient(135deg,rgba(37,217,255,.08),rgba(168,92,255,.08));cursor:pointer;overflow:hidden;text-align:center}
.esp-tournament-image-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.esp-tournament-image-upload img{width:100%;height:260px;object-fit:cover;display:block}
.esp-tournament-image-upload>span{display:grid;gap:10px;place-items:center;color:#dff8ff;font-weight:900}.esp-tournament-image-upload svg{width:38px;height:38px;color:var(--esp-cyan)}
.esp-tournament-terms{max-height:260px;overflow:auto;padding:16px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);color:#dbe7ff;line-height:1.58}
.esp-tournament-terms p{margin:0 0 10px;color:#dbe7ff}.esp-tournament-terms p:last-child{margin-bottom:0}
.esp-tournament-terms-check{grid-template-columns:auto 1fr!important;align-items:start;padding:13px 14px;border-radius:16px;background:rgba(245,190,76,.08);border:1px solid rgba(245,190,76,.22)}
.esp-tournament-terms-check input{width:20px;height:20px;margin-top:2px;accent-color:#f5be4c}
.esp-tournament-modal-team-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.esp-tournament-modal-team-card img,.esp-tournament-modal-team-card>span{width:56px;height:56px;border-radius:18px;object-fit:cover;background:linear-gradient(135deg,var(--esp-cyan),var(--esp-purple));display:grid;place-items:center;color:#fff;font-weight:950}.esp-tournament-modal-team-card strong{display:block;color:#fff}.esp-tournament-modal-team-card small{color:var(--esp-muted)}
.esp-tournament-modal-invite{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:4px}.esp-tournament-modal-invite label{margin:0}.esp-tournament-modal-invite .esp-btn{min-height:50px}
.esp-tournament-invite-status-list{display:grid;gap:8px;padding:12px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);width:100%}
.esp-tournament-invite-head,.esp-tournament-invite-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.esp-tournament-invite-head strong{color:#fff}.esp-tournament-invite-head small{color:var(--esp-muted)}
.esp-tournament-invite-row{padding:10px 12px;border-radius:14px;background:rgba(7,12,26,.48);border:1px solid rgba(255,255,255,.07)}.esp-tournament-invite-row span{display:grid;gap:2px;min-width:0}.esp-tournament-invite-row b{color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.esp-tournament-invite-row small{color:var(--esp-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.esp-tournament-invite-row em{font-style:normal;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.esp-tournament-invite-row.is-pending em{background:rgba(245,190,76,.14);color:#ffe29a;border:1px solid rgba(245,190,76,.24)}.esp-tournament-invite-row.is-accepted em{background:rgba(34,197,94,.14);color:#a7f3d0;border:1px solid rgba(34,197,94,.25)}.esp-tournament-invite-row.is-declined em{background:rgba(239,68,68,.14);color:#fecaca;border:1px solid rgba(239,68,68,.25)}
@media(max-width:760px){.esp-tournament-primary-actions{display:grid;grid-template-columns:1fr}.esp-tournament-primary-actions .esp-btn{width:100%}.esp-tournament-join-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:20px}.esp-tournament-stepper{grid-template-columns:repeat(4,1fr);gap:6px;padding:0 12px 12px}.esp-tournament-stepper button{padding:8px;justify-content:center}.esp-tournament-stepper button span{display:none}.esp-tournament-join-body{padding:14px}.esp-tournament-modal-invite{grid-template-columns:1fr}.esp-tournament-modal-invite .esp-btn{width:100%}.esp-tournament-invite-row{align-items:flex-start;flex-direction:column}.esp-tournament-image-upload{min-height:190px}.esp-tournament-image-upload img{height:220px}}

/* v1.3.73 tournament bracket tree layout */
.esp-tournament-bracket-panel{
  overflow:hidden;
}
.esp-tournament-bracket-panel .esp-panel-body{
  overflow:hidden;
}
.esp-bracket-board{
  display:grid;
  gap:30px;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:8px 4px 22px;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:rgba(74,222,255,.38) rgba(255,255,255,.06);
}
.esp-bracket-board::-webkit-scrollbar{height:10px}
.esp-bracket-board::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:999px}
.esp-bracket-board::-webkit-scrollbar-thumb{background:linear-gradient(90deg,rgba(74,222,255,.55),rgba(180,255,0,.45));border-radius:999px}
.esp-bracket-stage{
  min-width:max-content;
  padding:14px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(135deg,rgba(10,17,33,.72),rgba(9,13,27,.42));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  scroll-snap-align:start;
}
.esp-bracket-stage-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 14px;
  min-width:260px;
}
.esp-bracket-stage-head span{
  color:#fff;
  font-size:.95rem;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.esp-bracket-stage-head small{
  color:rgba(255,255,255,.58);
  font-weight:800;
  white-space:nowrap;
}
.esp-bracket-tree{
  display:flex;
  align-items:flex-start;
  gap:58px;
  min-width:max-content;
  padding:2px 48px 6px 0;
}
.esp-bracket-round{
  min-width:260px;
  width:260px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-content:start;
  scroll-snap-align:start;
}
.esp-bracket-round h3{
  min-height:18px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  white-space:nowrap;
}
.esp-bracket-round-track{
  display:flex;
  flex-direction:column;
  gap:var(--round-gap,18px);
  padding-top:var(--round-offset,0px);
}
.esp-bracket-match-shell{
  position:relative;
  width:260px;
  isolation:isolate;
}
.esp-bracket-match-shell.has-next::after{
  content:"";
  position:absolute;
  left:100%;
  top:50%;
  width:58px;
  border-top:2px solid rgba(176,255,0,.42);
  transform:translateY(-1px);
  pointer-events:none;
  z-index:0;
}
.esp-bracket-match-shell.has-next::before{
  content:"";
  position:absolute;
  left:calc(100% + 57px);
  top:50%;
  height:calc(62px + (var(--round-index, 0) * 54px));
  border-right:2px solid rgba(176,255,0,.42);
  pointer-events:none;
  z-index:0;
}
.esp-bracket-match-shell.has-next.is-lower::before{
  top:auto;
  bottom:50%;
}
.esp-bracket-match-shell.has-next.is-lower .esp-bracket-line i,
.esp-bracket-match-shell.has-next.is-upper .esp-bracket-line i{
  position:absolute;
  left:calc(100% + 57px);
  width:30px;
  border-top:2px solid rgba(176,255,0,.42);
  top:50%;
  transform:translateY(-1px);
  pointer-events:none;
}
.esp-bracket-match{
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
  min-height:156px;
  padding:12px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(25,33,51,.96),rgba(16,22,38,.96));
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 16px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
}
.esp-bracket-match.is-complete{
  border-color:rgba(34,197,94,.34);
  background:linear-gradient(135deg,rgba(24,65,46,.92),rgba(16,25,38,.96));
}
.esp-bracket-match.is-bye{
  border-color:rgba(245,190,76,.34);
}
.esp-bracket-match-head{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  color:rgba(255,255,255,.58);
  font-size:.76rem;
  min-width:0;
}
.esp-bracket-match-head span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-bracket-match-head em{
  flex:0 0 auto;
  font-style:normal;
  color:#ffd56f;
  font-weight:950;
  letter-spacing:.05em;
}
.esp-bracket-match>.esp-bracket-team,
.esp-bracket-match>button.esp-bracket-team{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:42px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(7,12,26,.70);
  border:1px solid rgba(255,255,255,.09);
  color:#fff;
  text-align:left;
  font-weight:850;
}
.esp-bracket-match>.esp-bracket-team:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.esp-bracket-match>.esp-bracket-team span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-bracket-match>.esp-bracket-team.is-winner{
  border-color:rgba(176,255,0,.54);
  background:linear-gradient(135deg,rgba(176,255,0,.18),rgba(34,197,94,.10));
  box-shadow:0 0 0 1px rgba(176,255,0,.10) inset;
}
.esp-bracket-match>.esp-bracket-team b{
  flex:0 0 auto;
  font-size:.66rem;
  color:#b6ff00;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.esp-bracket-maps{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  min-width:0;
}
.esp-bracket-maps span{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-bracket-admin{
  display:grid;
  gap:8px;
  margin-top:4px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.08);
}
.esp-bracket-admin small{
  color:rgba(255,255,255,.56);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.esp-bracket-admin button{
  border:1px solid rgba(245,190,76,.22);
  background:rgba(245,190,76,.08);
  color:#fff;
  border-radius:12px;
  padding:8px 10px;
  font-weight:800;
}
.esp-bracket-stage-grand_final .esp-bracket-stage-head span,
.esp-bracket-stage-grand_final .esp-bracket-match-head em{
  color:#ffd56f;
}
.esp-bracket-stage-grand_final .esp-bracket-match{
  border-color:rgba(245,190,76,.28);
  box-shadow:0 20px 44px rgba(245,190,76,.08),0 16px 34px rgba(0,0,0,.28);
}
@media(max-width:850px){
  .esp-tournament-bracket-panel{
    margin-left:calc(var(--esp-page-pad, 0px) * -1);
    margin-right:calc(var(--esp-page-pad, 0px) * -1);
    border-radius:24px;
  }
  .esp-bracket-board{
    padding:6px 16px 116px;
    gap:22px;
  }
  .esp-bracket-stage{
    padding:12px;
    border-radius:22px;
  }
  .esp-bracket-tree{
    gap:46px;
    padding-right:42px;
  }
  .esp-bracket-round{
    min-width:232px;
    width:232px;
  }
  .esp-bracket-match-shell{
    width:232px;
  }
  .esp-bracket-match-shell.has-next::after{
    width:46px;
  }
  .esp-bracket-match-shell.has-next::before,
  .esp-bracket-match-shell.has-next.is-lower .esp-bracket-line i,
  .esp-bracket-match-shell.has-next.is-upper .esp-bracket-line i{
    left:calc(100% + 45px);
  }
  .esp-bracket-match-shell.has-next.is-lower .esp-bracket-line i,
  .esp-bracket-match-shell.has-next.is-upper .esp-bracket-line i{
    width:24px;
  }
  .esp-bracket-match{
    min-height:148px;
    padding:11px;
    border-radius:18px;
  }
  .esp-bracket-stage-head span{
    font-size:.82rem;
  }
  .esp-bracket-stage-head small{
    font-size:.72rem;
  }
}

/* v1.3.74 winners bracket connector geometry
   Round N is positioned from the centre point of the two matches in the previous round.
   Horizontal connector: 50px out from the source card, vertical merge, then 50px into the next round. */
.esp-bracket-stage-winners .esp-bracket-tree{
  gap:100px;
  align-items:flex-start;
  padding-right:104px;
}
.esp-bracket-stage-winners .esp-bracket-round-track{
  gap:var(--round-gap,22px);
  padding-top:var(--round-offset,0px);
}
.esp-bracket-stage-winners .esp-bracket-match-shell{
  width:260px;
  position:relative;
}
.esp-bracket-stage-winners .esp-bracket-match{
  height:var(--bracket-match-height,188px);
  min-height:var(--bracket-match-height,188px);
  overflow:hidden;
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next::after{
  content:"";
  position:absolute;
  left:100%;
  top:50%;
  width:50px;
  border-top:2px solid rgba(176,255,0,.52);
  transform:translateY(-1px);
  pointer-events:none;
  z-index:0;
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next::before{
  content:"";
  position:absolute;
  left:calc(100% + 50px);
  width:0;
  border-right:2px solid rgba(176,255,0,.52);
  pointer-events:none;
  z-index:0;
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-top::before{
  top:50%;
  height:var(--connector-half,105px);
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-bottom::before{
  top:auto;
  bottom:50%;
  height:var(--connector-half,105px);
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-top .esp-bracket-line i{
  position:absolute;
  left:calc(100% + 50px);
  top:calc(50% + var(--connector-half,105px));
  width:50px;
  border-top:2px solid rgba(176,255,0,.52);
  transform:translateY(-1px);
  pointer-events:none;
  z-index:0;
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-bottom .esp-bracket-line i{
  display:none;
}
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.is-lower .esp-bracket-line i,
.esp-bracket-stage-winners .esp-bracket-match-shell.has-next.is-upper .esp-bracket-line i{
  left:calc(100% + 50px);
}
.esp-bracket-stage-winners .esp-bracket-match-head span,
.esp-bracket-stage-winners .esp-bracket-team span,
.esp-bracket-stage-winners .esp-bracket-maps span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-bracket-stage-winners .esp-bracket-admin{
  display:flex;
  gap:6px;
  align-items:center;
  min-width:0;
}
.esp-bracket-stage-winners .esp-bracket-admin small{
  display:none;
}
.esp-bracket-stage-winners .esp-bracket-admin button{
  min-width:0;
  flex:1 1 0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:7px 8px;
  font-size:.72rem;
}
@media(max-width:850px){
  .esp-bracket-stage-winners .esp-bracket-tree{
    gap:100px;
    padding-right:102px;
  }
  .esp-bracket-stage-winners .esp-bracket-round,
  .esp-bracket-stage-winners .esp-bracket-match-shell{
    width:232px;
    min-width:232px;
  }
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next::after{
    width:50px;
  }
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next::before,
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-top .esp-bracket-line i,
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next.is-lower .esp-bracket-line i,
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next.is-upper .esp-bracket-line i{
    left:calc(100% + 50px);
  }
  .esp-bracket-stage-winners .esp-bracket-match-shell.has-next.pair-top .esp-bracket-line i{
    width:50px;
  }
}

/* v1.3.75 - admin match controls use winner-only automatic best-of scoreline */
.esp-admin-match-controls-winner-only .esp-admin-match-grid{
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);
  align-items:end;
}
.esp-admin-auto-score-preview{
  margin:0;
  min-height:56px;
}
@media(max-width:700px){
  .esp-admin-match-controls-winner-only .esp-admin-match-grid{grid-template-columns:1fr;}
}

/* v1.3.76 - tournament bracket round snap navigation */
.esp-bracket-snap-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(74,222,255,.045));
}
.esp-bracket-snap-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(74,222,255,.20);
  border-radius:999px;
  background:rgba(74,222,255,.10);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
}
.esp-bracket-snap-btn svg{
  width:18px;
  height:18px;
}
.esp-bracket-snap-btn:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.esp-bracket-snap-status{
  min-width:0;
  display:grid;
  justify-items:center;
  gap:2px;
  text-align:center;
}
.esp-bracket-snap-status small{
  color:rgba(255,255,255,.54);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.66rem;
  font-weight:950;
}
.esp-bracket-snap-status strong{
  max-width:42vw;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:.95rem;
}
.esp-bracket-board{
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scroll-padding-left:16px;
  overscroll-behavior-x:contain;
}
.esp-bracket-round{
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
@media(max-width:850px){
  .esp-bracket-snap-controls{
    position:sticky;
    left:16px;
    z-index:5;
    width:calc(100vw - 32px);
    margin:0 0 12px;
    padding:8px;
    border-radius:18px;
  }
  .esp-bracket-snap-btn{
    min-height:40px;
    padding:0 12px;
    font-size:.82rem;
  }
  .esp-bracket-snap-status strong{
    max-width:38vw;
    font-size:.84rem;
  }
}
@media(max-width:520px){
  .esp-bracket-snap-btn{
    width:42px;
    padding:0;
    overflow:hidden;
    color:transparent;
    gap:0;
  }
  .esp-bracket-snap-btn svg{
    color:#fff;
    flex:0 0 auto;
  }
  .esp-bracket-snap-status strong{
    max-width:52vw;
  }
}

/* v1.3.78 - Switcheroo team-size assignment fix */
.esp-tournament-page.is-switcheroo .esp-tournament-hero{position:relative;overflow:hidden}
.esp-switcheroo-entry{display:grid;gap:14px;padding:14px;border-radius:20px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09)}
.esp-switcheroo-entry>strong{font-size:1.05rem;color:#fff}
.esp-switcheroo-members{display:grid;gap:10px}
.esp-switcheroo-members span{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:rgba(7,12,26,.52);border:1px solid rgba(255,255,255,.08);color:#fff}
.esp-switcheroo-members img,.esp-switcheroo-members span>span{width:34px;height:34px;border-radius:12px;object-fit:cover;display:inline-grid;place-items:center;background:linear-gradient(135deg,rgba(74,222,255,.2),rgba(180,255,0,.14));font-weight:900;color:#fff;flex:0 0 auto}
.esp-switcheroo-player-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.esp-switcheroo-player{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px 12px;align-items:center;padding:12px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.esp-switcheroo-player.is-confirmed{border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.075)}
.esp-switcheroo-player.is-removed{opacity:.55}
.esp-switcheroo-player>img,.esp-switcheroo-player>span:first-child{width:42px;height:42px;border-radius:14px;object-fit:cover;display:grid;place-items:center;background:rgba(255,255,255,.08);font-weight:900;color:#fff;grid-row:1/3}
.esp-switcheroo-player strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
.esp-switcheroo-player em{font-style:normal;font-size:.76rem;font-weight:900;color:#9ee8ff;text-transform:uppercase;letter-spacing:.04em}
.esp-switcheroo-player small{grid-column:2;color:rgba(255,255,255,.58);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.esp-switcheroo-player-list{grid-template-columns:1fr}.esp-switcheroo-entry .esp-tournament-team-buttons{display:grid}.esp-switcheroo-entry .esp-btn{width:100%}}

/* v1.3.79 - Switcheroo live reveal / re-spin heartbeat UI */

/* v1.3.85 Switcheroo visible reveal / re-spin animation */
.esp-switcheroo-reveal-panel{position:relative;overflow:hidden;border-color:rgba(180,255,0,.18)!important;background:linear-gradient(135deg,rgba(11,18,35,.94),rgba(9,15,30,.82))!important}
.esp-switcheroo-reveal-panel:before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 20% 20%,rgba(180,255,0,.16),transparent 30%),radial-gradient(circle at 80% 15%,rgba(74,222,255,.18),transparent 28%),radial-gradient(circle at 50% 90%,rgba(168,85,247,.16),transparent 32%);opacity:.8;pointer-events:none;filter:blur(6px)}
.esp-switcheroo-reveal-panel>*{position:relative;z-index:1}
.esp-switcheroo-reveal-panel.is-playing{box-shadow:0 28px 90px rgba(0,0,0,.34),0 0 0 1px rgba(180,255,0,.16),0 0 48px rgba(74,222,255,.08)}
.esp-switcheroo-reveal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.esp-switcheroo-reveal-head p{margin:0;color:rgba(229,236,255,.76);max-width:760px}
.esp-switcheroo-replay{min-height:40px!important;padding:0 16px!important;border-radius:999px!important;white-space:nowrap}
.esp-switcheroo-blender{position:relative;min-height:190px;margin:14px 0 22px;border-radius:26px;border:1px solid rgba(255,255,255,.11);background:radial-gradient(circle at 50% 50%,rgba(74,222,255,.12),transparent 34%),rgba(3,7,18,.42);overflow:hidden;display:grid;place-items:center;padding:18px;isolation:isolate}
.esp-switcheroo-blender:before{content:"";position:absolute;width:180px;height:180px;border-radius:999px;border:1px solid rgba(180,255,0,.24);background:radial-gradient(circle,rgba(180,255,0,.12),transparent 62%);box-shadow:0 0 42px rgba(74,222,255,.15);animation:espSwitcherooPulse .9s ease-in-out infinite alternate;z-index:-1}
.esp-switcheroo-blender:after{content:"Mixing players...";position:absolute;right:16px;bottom:12px;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:rgba(180,255,0,.86);font-weight:950}
.esp-switcheroo-blender-core{position:relative;width:min(720px,100%);min-height:150px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.esp-switcheroo-shuffle-chip{display:inline-flex;align-items:center;gap:8px;max-width:190px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff;box-shadow:0 18px 34px rgba(0,0,0,.26);will-change:transform,opacity;animation:espSwitcherooJumble .55s cubic-bezier(.55,0,.45,1) infinite alternate,espSwitcherooChipExit .48s ease forwards;animation-delay:calc((var(--i,0) % 10) * -82ms),1.52s}
.esp-switcheroo-shuffle-chip:nth-child(3n+1){background:linear-gradient(135deg,rgba(74,222,255,.20),rgba(255,255,255,.08))}
.esp-switcheroo-shuffle-chip:nth-child(3n+2){background:linear-gradient(135deg,rgba(180,255,0,.18),rgba(255,255,255,.08))}
.esp-switcheroo-shuffle-chip:nth-child(3n+3){background:linear-gradient(135deg,rgba(168,85,247,.22),rgba(255,255,255,.08))}
.esp-switcheroo-shuffle-chip img,.esp-switcheroo-shuffle-chip b{width:30px;height:30px;border-radius:999px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,rgba(74,222,255,.28),rgba(180,255,0,.20));font-size:.75rem;font-weight:950;color:#fff;flex:0 0 auto}
.esp-switcheroo-shuffle-chip em{font-style:normal;font-weight:900;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.esp-switcheroo-reveal-teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.esp-switcheroo-reveal-team{padding:14px;border-radius:22px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);opacity:1;transform:translateY(0) scale(1);transition:opacity .35s ease,transform .35s ease;transition-delay:calc(var(--team-index,0) * 90ms)}
.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-reveal-team{animation:espSwitcherooTeamSlotGlow 1.15s ease both;animation-delay:calc(1.45s + (var(--team-index,0) * 150ms))}
.esp-switcheroo-reveal-team>strong{display:block;margin-bottom:10px;color:#fff;font-size:1rem}
.esp-switcheroo-reveal-team>div{display:grid;gap:8px;min-height:46px}
.esp-switcheroo-final-card{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:16px;background:rgba(3,7,18,.38);border:1px solid rgba(255,255,255,.08);will-change:transform,opacity,filter}
.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-final-card{opacity:0;animation:espSwitcherooFlyToSlot 1.18s cubic-bezier(.16,.92,.22,1.08) both;animation-delay:calc(1.88s + (var(--team-index,0) * 170ms) + (var(--player-index,0) * 95ms))}
.esp-switcheroo-reveal-panel.is-static .esp-switcheroo-final-card{opacity:1;animation:none}
.esp-switcheroo-final-card img,.esp-switcheroo-final-card b{width:32px;height:32px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,rgba(74,222,255,.22),rgba(180,255,0,.16));font-size:.75rem;font-weight:950;color:#fff;flex:0 0 auto}
.esp-switcheroo-final-card em{font-style:normal;font-weight:850;color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@keyframes espSwitcherooPulse{0%{transform:scale(.88) rotate(0deg);opacity:.58}100%{transform:scale(1.18) rotate(10deg);opacity:.95}}
@keyframes espSwitcherooJumble{0%{transform:translate3d(calc(-30px + (var(--orbit,0) * 9px)),-18px,0) rotate(-7deg) scale(.96)}50%{transform:translate3d(calc(26px - (var(--orbit,0) * 5px)),18px,0) rotate(8deg) scale(1.05)}100%{transform:translate3d(calc(-12px + (var(--orbit,0) * 4px)),calc(24px - (var(--orbit,0) * 6px)),0) rotate(-4deg) scale(1)}}
@keyframes espSwitcherooChipExit{0%,78%{opacity:1;filter:blur(0)}100%{opacity:0;transform:scale(.42) translateY(26px);filter:blur(6px)}}
@keyframes espSwitcherooTeamSlotGlow{0%{opacity:.42;transform:translateY(20px) scale(.96);border-color:rgba(180,255,0,.08)}55%{opacity:1;transform:translateY(-3px) scale(1.01);border-color:rgba(180,255,0,.42);box-shadow:0 0 34px rgba(180,255,0,.10),inset 0 1px 0 rgba(255,255,255,.08)}100%{opacity:1;transform:translateY(0) scale(1);border-color:rgba(255,255,255,.1)}}
@keyframes espSwitcherooFlyToSlot{0%{opacity:0;transform:translate3d(var(--from-x,120px),var(--from-y,-120px),0) scale(.48) rotate(var(--spin,12deg));filter:blur(7px)}18%{opacity:1}62%{transform:translate3d(0,-9px,0) scale(1.045) rotate(2deg);filter:blur(0)}82%{transform:translate3d(0,3px,0) scale(.99) rotate(-1deg)}100%{opacity:1;transform:translate3d(0,0,0) scale(1) rotate(0deg);filter:blur(0)}}
@media (max-width:720px){.esp-switcheroo-reveal-head{display:block}.esp-switcheroo-replay{margin-top:12px;width:100%}.esp-switcheroo-blender{min-height:170px;padding:14px}.esp-switcheroo-blender-core{min-height:130px}.esp-switcheroo-shuffle-chip{max-width:100%;padding:7px 10px}.esp-switcheroo-reveal-teams{grid-template-columns:1fr}.esp-switcheroo-reveal-team{border-radius:20px}.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-final-card{animation-duration:.98s}}
@media (prefers-reduced-motion: reduce){.esp-switcheroo-blender:before,.esp-switcheroo-shuffle-chip,.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-reveal-team,.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-final-card{animation:none!important}.esp-switcheroo-shuffle-chip{opacity:1}.esp-switcheroo-blender:after{content:"Teams updated"}.esp-switcheroo-reveal-panel.is-playing .esp-switcheroo-final-card{opacity:1}}

/* v1.3.82 tournament rules summary */
.esp-tournament-rules-summary{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.esp-tournament-rules-summary span{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:999px;padding:8px 11px;color:rgba(255,255,255,.84);font-size:.86rem}
.esp-tournament-rules-summary b{color:#fff}

/* v1.3.86: Switcheroo re-spin conflict + tournament team locks */
.esp-switcheroo-conflict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  margin: 12px 0 0;
  border: 1px solid rgba(255, 196, 87, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 196, 87, 0.14), rgba(255, 88, 88, 0.08));
  color: #fff;
}
.esp-switcheroo-conflict p {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}
.esp-switcheroo-conflict .esp-btn {
  flex: 0 0 auto;
}
@media (max-width: 680px) {
  .esp-switcheroo-conflict {
    align-items: stretch;
    flex-direction: column;
  }
  .esp-switcheroo-conflict .esp-btn {
    width: 100%;
  }
}

/* Organisations v1.4.0 */
.esp-org-owner-panel{margin:0 0 22px;padding:22px;border:1px solid rgba(255,255,255,.10);border-radius:28px;background:linear-gradient(135deg,rgba(25,34,62,.92),rgba(9,14,28,.96));box-shadow:0 24px 80px rgba(0,0,0,.24)}
.esp-org-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:12px}.esp-org-owner-panel h2{margin:4px 0 6px}.esp-org-owner-panel p{color:rgba(236,244,255,.75)}
.esp-org-form{display:grid;gap:14px;margin-top:16px}.esp-org-form textarea,.esp-org-request-box textarea{min-height:110px}.esp-org-form input,.esp-org-form textarea,.esp-org-request-box input,.esp-org-request-box textarea{width:100%}
.esp-org-detail-page .esp-org-hero .esp-profile-avatar{box-shadow:0 0 0 5px rgba(250,204,21,.16),0 18px 40px rgba(0,0,0,.35)}
.esp-org-request-box{display:grid;gap:12px}.esp-search-results.inline{position:static;margin-top:-6px;max-height:220px;overflow:auto}.esp-org-request-list{display:grid;gap:12px}.esp-org-request{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045)}.esp-org-request.approved{border-color:rgba(34,197,94,.35)}.esp-org-request.declined{opacity:.7}.esp-org-request small{display:block;color:rgba(236,244,255,.6);margin-top:4px}.esp-org-request p{margin:8px 0 0;color:rgba(236,244,255,.76)}
.esp-org-mini-brand{display:flex;gap:14px;align-items:center}.esp-org-mini-brand img,.esp-org-mini-brand>span{width:64px;height:64px;border-radius:18px;object-fit:cover;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}.esp-org-mini-brand a{display:inline-flex;margin-top:8px;color:#67e8f9;font-weight:800;text-decoration:none}
@media(max-width:760px){.esp-org-panel-head,.esp-org-request{display:grid}.esp-org-owner-panel{padding:16px;border-radius:22px}.esp-org-request .esp-editor-actions{justify-content:flex-start}}

/* Organisations v1.4.1 staff/co-owner requests */
.esp-org-staff-invite{border-color:rgba(103,232,249,.28);background:linear-gradient(135deg,rgba(8,47,73,.72),rgba(15,23,42,.96))}
.esp-org-staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.esp-org-staff-grid.compact{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));margin:10px 0 16px}.esp-org-staff-card{display:grid;gap:10px;padding:14px;border-radius:20px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045)}.esp-org-staff-card.co_owner{border-color:rgba(250,204,21,.28);background:linear-gradient(135deg,rgba(250,204,21,.08),rgba(255,255,255,.035))}.esp-org-staff-card.owner{border-color:rgba(103,232,249,.28);background:linear-gradient(135deg,rgba(103,232,249,.08),rgba(255,255,255,.035))}.esp-org-staff-person{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;color:inherit;padding:0;cursor:pointer}.esp-org-staff-person img,.esp-org-staff-person>span:first-child{width:46px;height:46px;border-radius:16px;object-fit:cover;display:grid;place-items:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);font-weight:900}.esp-org-staff-person strong{display:block}.esp-org-staff-person em{display:block;color:rgba(236,244,255,.66);font-style:normal;font-size:.84rem;margin-top:2px}.esp-org-staff-card>i{justify-self:start;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:rgba(236,244,255,.75);font-style:normal;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.esp-org-staff-manager{display:grid;gap:12px}.esp-org-staff-fields{display:grid;grid-template-columns:minmax(140px,.45fr) 1fr;gap:12px}.esp-org-staff-fields select,.esp-org-staff-fields input{width:100%}
@media(max-width:760px){.esp-org-staff-fields{grid-template-columns:1fr}.esp-org-staff-grid,.esp-org-staff-grid.compact{grid-template-columns:1fr}}

/* v1.4.2 organisation create/request modal */
.esp-org-modal-backdrop{z-index:120}
.esp-org-create-modal{max-width:760px;width:min(94vw,760px)}
.esp-org-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 22px 14px}
.esp-org-steps button{display:flex;align-items:center;gap:10px;justify-content:center;border:1px solid rgba(151,176,255,.16);border-radius:16px;background:rgba(255,255,255,.045);color:rgba(231,244,255,.72);padding:12px;cursor:pointer}
.esp-org-steps button b{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px}
.esp-org-steps button.is-active{border-color:rgba(255,198,75,.55);background:linear-gradient(135deg,rgba(255,198,75,.20),rgba(37,217,255,.08));color:#fff}
.esp-org-steps button.is-complete{border-color:rgba(55,230,145,.35);color:#eafff4}
.esp-org-step-body label{display:block;margin-bottom:14px}
.esp-org-review-card{display:flex;gap:14px;align-items:flex-start;border:1px solid rgba(151,176,255,.14);border-radius:20px;background:rgba(255,255,255,.045);padding:16px;margin-top:10px}
.esp-org-review-card .esp-mini-avatar{flex:0 0 56px;width:56px;height:56px;border-radius:18px;overflow:hidden}
.esp-org-review-card small,.esp-org-review-card p{display:block;margin:6px 0 0;color:rgba(231,244,255,.72)}
.esp-org-cta-card{border:1px solid rgba(151,176,255,.14);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));padding:18px;margin-top:14px}
.esp-orgs-page .esp-card-grid:empty:before{content:'No organisations to display yet.'}
@media (max-width:700px){.esp-org-create-modal{width:100vw;max-width:none;min-height:100dvh;border-radius:0}.esp-org-steps{padding:0 14px 12px;gap:8px}.esp-org-steps button{padding:10px 6px;gap:6px;font-size:12px}.esp-org-steps button b{width:22px;height:22px}.esp-org-review-card{flex-direction:column}.esp-org-step-body .esp-editor-two{grid-template-columns:1fr!important}}

/* v1.4.3 organisation players, staff leaving and owner delete controls */
.esp-org-player-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:4px 12px;
  border-radius:999px;
  border:1px solid rgba(250,204,21,.38);
  background:linear-gradient(135deg,rgba(250,204,21,.16),rgba(251,146,60,.12));
  color:#fde68a;
  font-weight:800;
  font-size:.78rem;
  letter-spacing:.02em;
  cursor:pointer;
}
.esp-org-player-pill img{
  width:20px;
  height:20px;
  border-radius:999px;
  object-fit:cover;
}
.esp-org-player-pill svg{width:16px;height:16px;}
.esp-org-player-pill:hover{transform:translateY(-1px);border-color:rgba(250,204,21,.7);}
.esp-org-staff-card.org-player{border-color:rgba(250,204,21,.22);background:linear-gradient(135deg,rgba(250,204,21,.08),rgba(15,23,42,.94));}
.esp-org-player-invite{border-color:rgba(250,204,21,.22);}
.esp-profile-actions .esp-btn.danger,
.esp-editor-actions .esp-btn.danger{background:linear-gradient(135deg,#ef4444,#991b1b);color:#fff;border-color:rgba(248,113,113,.45);}
.esp-profile-actions .esp-btn.ghost.danger,
.esp-editor-actions .esp-btn.ghost.danger{background:rgba(239,68,68,.08);color:#fecaca;border-color:rgba(248,113,113,.28);}
.esp-org-request.removed{opacity:.68;}
@media (max-width:700px){
  .esp-org-player-pill{width:100%;justify-content:center;white-space:normal;text-align:center;}
  .esp-profile-actions .esp-btn.danger,
  .esp-profile-actions .esp-btn.ghost.danger{width:100%;}
}

/* Organisation action modals - keep request/invite forms tucked away until needed */
.esp-org-action-card,
.esp-org-action-summary{
  display:grid;
  gap:12px;
  align-items:start;
}
.esp-org-action-card .esp-btn,
.esp-org-action-summary .esp-btn{
  justify-self:start;
}
.esp-org-action-modal .esp-org-request-box,
.esp-org-action-modal .esp-org-staff-manager{
  display:grid;
  gap:14px;
}
.esp-org-action-modal label{
  display:block;
  margin-bottom:12px;
}
.esp-org-action-modal input,
.esp-org-action-modal textarea,
.esp-org-action-modal select{
  width:100%;
}
.esp-org-action-modal textarea{
  min-height:120px;
}
.esp-org-action-modal .esp-search-results.inline{
  margin:0 0 8px;
}
@media(max-width:700px){
  .esp-org-action-card .esp-btn,
  .esp-org-action-summary .esp-btn{
    width:100%;
    justify-content:center;
  }
}


/* v1.4.6 - organisation branded team hero badge */
.esp-org-team-pill{
  border-color:rgba(103,232,249,.42);
  background:linear-gradient(135deg,rgba(103,232,249,.16),rgba(59,130,246,.12));
  color:#bae6fd;
}
.esp-org-team-pill:hover{border-color:rgba(103,232,249,.72);}

/* v1.4.7: responsive players/teams tab grid density */
@media (max-width: 1100px) and (min-width: 641px){
  .esp-players-page > .esp-card-grid,
  .esp-teams-page > .esp-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .esp-players-page > .esp-card-grid .esp-card-img,
  .esp-teams-page > .esp-card-grid .esp-card-img{
    height:118px;
  }
}
@media (max-width: 640px){
  .esp-players-page > .esp-card-grid,
  .esp-teams-page > .esp-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .esp-players-page > .esp-card-grid .esp-card,
  .esp-teams-page > .esp-card-grid .esp-card{
    border-radius:15px;
  }
  .esp-players-page > .esp-card-grid .esp-card-img,
  .esp-teams-page > .esp-card-grid .esp-card-img{
    height:92px;
    font-size:26px;
  }
  .esp-players-page > .esp-card-grid .esp-card > div:last-child,
  .esp-teams-page > .esp-card-grid .esp-card > div:last-child{
    padding:10px;
  }
  .esp-players-page > .esp-card-grid .esp-card h3,
  .esp-teams-page > .esp-card-grid .esp-card h3{
    font-size:15px;
    line-height:1.15;
    margin:4px 0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .esp-players-page > .esp-card-grid .esp-card p,
  .esp-teams-page > .esp-card-grid .esp-card p{
    display:none;
  }
  .esp-players-page > .esp-card-grid .esp-card-stats,
  .esp-teams-page > .esp-card-grid .esp-card-stats{
    gap:4px;
  }
  .esp-players-page > .esp-card-grid .esp-card-stats span,
  .esp-teams-page > .esp-card-grid .esp-card-stats span{
    font-size:10px;
    padding:4px 6px;
  }
}


/* v1.4.10: weekly player spotlight and organisations responsive grid density */
.esp-weekly-spotlight-copy{margin:-2px 0 14px;font-size:13px;}
@media (max-width: 1100px) and (min-width: 641px){
  .esp-players-page > .esp-card-grid,
  .esp-teams-page > .esp-card-grid,
  .esp-orgs-page > .esp-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .esp-players-page > .esp-card-grid .esp-card-img,
  .esp-teams-page > .esp-card-grid .esp-card-img,
  .esp-orgs-page > .esp-card-grid .esp-card-img{
    height:118px;
  }
}
@media (max-width: 640px){
  .esp-players-page > .esp-card-grid,
  .esp-teams-page > .esp-card-grid,
  .esp-orgs-page > .esp-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .esp-players-page > .esp-card-grid .esp-card,
  .esp-teams-page > .esp-card-grid .esp-card,
  .esp-orgs-page > .esp-card-grid .esp-card{
    border-radius:15px;
  }
  .esp-players-page > .esp-card-grid .esp-card-img,
  .esp-teams-page > .esp-card-grid .esp-card-img,
  .esp-orgs-page > .esp-card-grid .esp-card-img{
    height:92px;
    font-size:26px;
  }
  .esp-players-page > .esp-card-grid .esp-card > div:last-child,
  .esp-teams-page > .esp-card-grid .esp-card > div:last-child,
  .esp-orgs-page > .esp-card-grid .esp-card > div:last-child{
    padding:10px;
  }
  .esp-players-page > .esp-card-grid .esp-card h3,
  .esp-teams-page > .esp-card-grid .esp-card h3,
  .esp-orgs-page > .esp-card-grid .esp-card h3{
    font-size:15px;
    line-height:1.15;
    margin:4px 0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .esp-players-page > .esp-card-grid .esp-card p,
  .esp-teams-page > .esp-card-grid .esp-card p,
  .esp-orgs-page > .esp-card-grid .esp-card p{
    display:none;
  }
  .esp-players-page > .esp-card-grid .esp-card-stats,
  .esp-teams-page > .esp-card-grid .esp-card-stats,
  .esp-orgs-page > .esp-card-grid .esp-card-stats{
    gap:4px;
  }
  .esp-players-page > .esp-card-grid .esp-card-stats span,
  .esp-teams-page > .esp-card-grid .esp-card-stats span,
  .esp-orgs-page > .esp-card-grid .esp-card-stats span{
    font-size:10px;
    padding:4px 6px;
  }
}

/* v1.4.10: direct share URLs and refresh-safe routing */
.esp-share-link{white-space:nowrap;touch-action:manipulation;}
.esp-share-link .esp-svg{width:17px;height:17px;}
.esp-profile-actions .esp-share-link,.esp-match-report-inline .esp-share-link{min-height:44px;}
.esp-finder-row{grid-template-columns:1fr auto auto auto auto auto;}
.esp-finder-row .esp-share-link{border-radius:999px;padding:7px 10px;min-height:0;font-size:13px;}
.esp-finder-row .esp-share-link .esp-svg{width:15px;height:15px;}
@media(max-width:760px){.esp-finder-row .esp-share-link{width:100%;justify-content:center;}}

/* v1.4.11: icon-only hero share links */
/* v1.4.13: supplied inline social and platform icons */
.esp-share-link.is-icon-only{
  width:46px;
  height:46px;
  min-width:46px;
  min-height:46px;
  padding:0;
  border-radius:16px;
  display:inline-grid;
  place-items:center;
  line-height:1;
}
.esp-share-link.is-icon-only .esp-svg{
  width:19px;
  height:19px;
}
.esp-share-hero-icon{
  position:absolute;
  top:18px;
  right:18px;
  z-index:8;
  background:rgba(5,10,20,.62)!important;
  color:#eef7ff!important;
  border:1px solid rgba(151,176,255,.28)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.28),0 0 22px rgba(37,217,255,.10);
  backdrop-filter:blur(12px);
}
.esp-share-hero-icon:hover,
.esp-share-hero-icon:focus-visible{
  color:var(--esp-cyan)!important;
  border-color:rgba(37,217,255,.55)!important;
  transform:translateY(-1px);
}
.esp-finder-share-icon{
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  border-radius:13px;
}
@media(max-width:760px){
  .esp-share-hero-icon{top:14px;right:14px;width:42px;height:42px;min-width:42px;min-height:42px;}
  .esp-finder-row .esp-finder-share-icon{width:42px;max-width:42px;justify-self:end;}
}

/* v1.4.16: cleaner organisation hero controls and team-style profile actions */
.esp-hero-icon-stack{
  position:absolute;
  top:18px;
  right:18px;
  z-index:9;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.esp-hero-icon-stack .esp-share-hero-icon{
  position:static;
  top:auto;
  right:auto;
}
.esp-hero-icon-link{
  width:46px;
  height:46px;
  min-width:46px;
  min-height:46px;
  padding:0;
  border-radius:16px;
  display:inline-grid;
  place-items:center;
  line-height:1;
  border:1px solid rgba(151,176,255,.28);
  background:rgba(5,10,20,.62);
  color:#eef7ff;
  text-decoration:none;
  box-shadow:0 14px 38px rgba(0,0,0,.28),0 0 22px rgba(37,217,255,.10);
  backdrop-filter:blur(12px);
}
.esp-hero-icon-link .esp-svg{width:20px;height:20px;}
.esp-org-discord-hero-icon .esp-svg{width:23px;height:23px;}
.esp-hero-icon-link:hover,
.esp-hero-icon-link:focus-visible{
  color:var(--esp-cyan);
  border-color:rgba(37,217,255,.55);
  transform:translateY(-1px);
}
.esp-org-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:auto;
  max-width:100%;
}
.esp-org-profile-actions .esp-btn{
  width:auto;
  min-height:auto;
  justify-content:center;
}
@media(max-width:760px){
  .esp-org-profile-actions{width:100%;}
  .esp-org-profile-actions .esp-btn{flex:1 1 calc(50% - 5px);min-width:0;}
}
.esp-org-admin-modal{
  width:min(96vw,920px);
  max-width:920px;
}
.esp-org-admin-body{
  display:grid;
  gap:14px;
  max-height:calc(90vh - 108px);
  overflow:auto;
}
.esp-org-admin-section{
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid rgba(151,176,255,.16);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}
.esp-org-admin-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.esp-org-admin-section-head h3{margin:3px 0 0;}
.esp-org-admin-section p{margin:0;color:rgba(231,244,255,.72);}
.esp-org-admin-section .esp-org-request-list{margin-top:4px;}
@media(max-width:760px){
  .esp-hero-icon-stack{top:14px;right:14px;gap:8px;max-width:calc(100% - 28px);}
  .esp-hero-icon-link,
  .esp-hero-icon-stack .esp-share-hero-icon{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px;}
  .esp-org-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;}
  .esp-org-profile-actions .esp-btn{min-height:50px;padding:11px 10px;font-size:14px;}
  .esp-org-admin-modal{width:100vw;max-width:none;min-height:100dvh;border-radius:0;}
  .esp-org-admin-body{max-height:none;}
  .esp-org-admin-section-head{align-items:stretch;flex-direction:column;}
  .esp-org-admin-section-head .esp-btn{width:100%;}
}

/* v1.4.17: team action tidy-up, match finder share placement and compact org branding */
.esp-team-profile-actions{
  display:flex;
  align-items:stretch;
  gap:10px;
  width:100%;
  max-width:min(620px,100%);
}
.esp-team-profile-actions > .esp-btn{
  flex:1 1 calc(50% - 5px);
  min-height:50px;
  justify-content:center;
}
.esp-team-profile-actions > .esp-btn.ghost.danger{
  width:auto;
  min-width:0;
}
.esp-team-profile-actions .esp-finder-launch{
  flex:0 0 100%;
  width:100%;
  order:30;
}
.esp-team-profile-actions .esp-find-match-btn{
  width:100%;
  min-height:52px;
  justify-content:center;
}
.esp-finder-row{
  grid-template-columns:minmax(0,1fr) auto auto auto auto!important;
}
.esp-finder-row-main{
  min-width:0;
  display:grid;
  gap:5px;
}
.esp-finder-titleline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.esp-finder-titleline strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.esp-finder-titleline .esp-finder-share-icon{
  flex:0 0 auto;
  justify-self:auto;
}
.esp-finder-row .esp-finder-share-icon{
  width:38px;
  max-width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  padding:0;
}
.esp-org-mini-brand{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
}
.esp-org-mini-copy{
  min-width:0;
}
.esp-org-mini-copy strong{
  display:block;
}
.esp-org-mini-copy p{
  margin:6px 0 0;
  color:rgba(231,244,255,.76);
}
.esp-org-mini-discord{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:15px;
  display:grid!important;
  place-items:center;
  margin:0!important;
  border:1px solid rgba(103,232,249,.22);
  background:rgba(103,232,249,.08);
  color:#67e8f9;
  text-decoration:none;
}
.esp-org-mini-discord .esp-svg{
  width:24px;
  height:24px;
}
.esp-org-mini-discord:hover,
.esp-org-mini-discord:focus-visible{
  border-color:rgba(103,232,249,.55);
  background:rgba(103,232,249,.14);
  transform:translateY(-1px);
}
@media(max-width:760px){
  .esp-team-profile-actions{max-width:none;}
  .esp-team-profile-actions > .esp-btn{flex:1 1 calc(50% - 5px);width:auto!important;min-width:0;font-size:14px;padding:11px 10px;}
  .esp-team-profile-actions .esp-finder-launch{width:100%;}
  .esp-finder-row{grid-template-columns:1fr!important;}
  .esp-finder-titleline .esp-finder-share-icon{width:42px;max-width:42px;height:42px;min-width:42px;min-height:42px;}
  .esp-org-mini-brand{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;}
  .esp-org-mini-brand img,.esp-org-mini-brand>span{width:54px;height:54px;border-radius:16px;}
  .esp-org-mini-discord{width:42px;height:42px;min-width:42px;border-radius:14px;}
}

/* v1.4.22 - roster invite autocomplete + safe quick tour pulse */
.esp-player-autocomplete{position:relative;display:grid;gap:8px}
.esp-autocomplete-loading{font-size:.82rem;color:var(--esp-cyan);font-weight:800;margin-top:2px}
.esp-player-suggestions{display:grid;gap:8px;margin-top:8px;padding:8px;border:1px solid rgba(151,176,255,.18);border-radius:16px;background:rgba(2,7,16,.72);max-height:280px;overflow:auto}
.esp-player-suggestions.empty{display:block;color:var(--esp-muted);padding:12px 14px}
.esp-player-suggestions button{width:100%;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;text-align:left;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.04);color:#fff;padding:10px 12px;cursor:pointer}
.esp-player-suggestions button:hover,.esp-player-suggestions button:focus{border-color:rgba(37,217,255,.42);background:rgba(37,217,255,.10);outline:0}
.esp-player-suggestions img,.esp-suggestion-avatar,.esp-selected-player img,.esp-selected-player>span{width:42px;height:42px;border-radius:14px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,217,255,.18),rgba(185,255,0,.16));font-weight:950;color:#fff}
.esp-player-suggestions strong{display:block;line-height:1.15}
.esp-player-suggestions small{display:block;margin-top:3px;color:var(--esp-muted)}
.esp-selected-player{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;border-radius:16px;border:1px solid rgba(185,255,0,.24);background:rgba(185,255,0,.08)}
.esp-selected-player button{border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.05);color:#fff;padding:7px 10px;font-weight:850;cursor:pointer}
@media(max-width:760px){.esp-selected-player{grid-template-columns:auto 1fr}.esp-selected-player button{grid-column:1/-1;width:100%}}
.esp-tour-note,.esp-demo-org-note{margin-top:10px!important;border:1px solid rgba(255,67,98,.32)!important;background:linear-gradient(135deg,rgba(255,67,98,.12),rgba(255,255,255,.04))!important;color:#ffd7df!important}
.esp-tour-pulse{position:relative!important;z-index:1000001!important;animation:espTourPulseRed 1.1s ease-in-out infinite!important;box-shadow:0 0 0 0 rgba(255,46,89,.72),0 0 24px rgba(255,46,89,.48)!important;border-color:rgba(255,46,89,.9)!important}
@keyframes espTourPulseRed{0%{box-shadow:0 0 0 0 rgba(255,46,89,.72),0 0 22px rgba(255,46,89,.42);filter:brightness(1)}55%{box-shadow:0 0 0 12px rgba(255,46,89,0),0 0 38px rgba(255,46,89,.74);filter:brightness(1.1)}100%{box-shadow:0 0 0 0 rgba(255,46,89,0),0 0 22px rgba(255,46,89,.42);filter:brightness(1)}}
.esp-inline-message.warning{border-color:rgba(255,67,98,.28)!important;background:rgba(255,67,98,.1)!important;color:#ffd7df!important}

/* v1.4.22 - tournament registered entrants modal */
.esp-tournament-registered-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.esp-tournament-registered-summary .esp-muted{
  margin:0;
}
.esp-tournament-registered-dialog{
  width:min(720px, calc(100vw - 28px));
  max-height:min(82vh, 820px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.esp-tournament-registered-dialog .esp-editor-section{
  overflow:auto;
  padding-bottom:18px;
}
.esp-tournament-modal-list{
  max-height:56vh;
  overflow:auto;
  padding-right:4px;
}
@media (max-width: 680px){
  .esp-tournament-registered-summary .esp-btn{
    width:100%;
    justify-content:center;
  }
  .esp-tournament-registered-dialog{
    max-height:84vh;
  }
}

/* v1.4.30 account menu grouped shortcuts */
.esp-account-menu{min-width:260px}.esp-account-group{display:grid;gap:6px;padding:4px 0;border-top:1px solid rgba(151,176,255,.12);margin-top:4px}.esp-account-group:first-child{border-top:0;margin-top:0}.esp-account-menu .esp-account-main{font-weight:800;background:rgba(255,255,255,.025)}.esp-account-subtabs{display:grid;gap:5px;padding:0 0 2px 24px}.esp-account-menu .esp-account-subtabs button.esp-account-subitem{padding:8px 10px;font-size:13px;border:1px solid rgba(151,176,255,.14);background:rgba(255,255,255,.035);border-radius:11px;color:rgba(255,255,255,.9)}.esp-account-menu .esp-account-subtabs button.esp-account-subitem:hover{background:rgba(37,217,255,.12);border-color:rgba(37,217,255,.28)}.esp-account-sub-avatar{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;overflow:hidden;background:rgba(37,217,255,.12);border:1px solid rgba(37,217,255,.2);flex:0 0 24px}.esp-account-sub-avatar img{width:100%;height:100%;object-fit:cover}.esp-account-sub-avatar .esp-svg{width:14px;height:14px}.esp-account-subnote{display:block;color:var(--esp-muted);font-size:12px;padding:0 10px 4px 34px}.esp-account-view-all{color:var(--esp-cyan)!important}

/* v1.4.30 account menu collapsible current teams/orgs */
.esp-account-menu .esp-account-toggle{justify-content:flex-start!important}
.esp-account-menu .esp-account-toggle>span{flex:1 1 auto}
.esp-account-menu .esp-account-toggle>.esp-svg:last-child{margin-left:auto;transition:transform .18s ease,opacity .18s ease;opacity:.72}
.esp-account-menu .esp-account-toggle.is-open>.esp-svg:last-child{transform:rotate(180deg);opacity:1}
.esp-account-subtabs{animation:espAccountDrop .18s ease both;overflow:hidden}
@keyframes espAccountDrop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* v1.4.31 game hub sections + ladder game filter */
.esp-game-hub-sections{display:grid;gap:18px;margin-top:18px}
.esp-ladder-game-filter{white-space:nowrap;min-height:48px}
.esp-ladder-game-filter.is-active{border-color:rgba(188,255,0,.55);background:linear-gradient(135deg,rgba(188,255,0,.18),rgba(37,217,255,.08));color:#f3ffe1}
.esp-filter-summary{display:flex;align-items:center;gap:8px;margin:-8px 0 16px;color:rgba(231,244,255,.72);font-weight:750}
.esp-filter-summary strong{color:#fff}
.esp-filter-summary button{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#dff8ff;border-radius:999px;padding:5px 10px;font-weight:850;cursor:pointer}
.esp-ladder-filter-modal select{width:100%;min-height:48px;border:1px solid var(--esp-line);background:rgba(4,10,22,.82);color:#fff;border-radius:14px;padding:0 12px;outline:0}
@media(max-width:760px){.esp-ladder-game-filter{width:100%;justify-content:center}.esp-filter-summary{align-items:flex-start;flex-direction:column}}

/* v1.4.39 match finder direct links + highlighted shared match */
.esp-direct-finder-notice{display:flex;align-items:center;gap:12px;margin:12px 0 16px;padding:14px;border:1px solid rgba(37,217,255,.22);background:linear-gradient(135deg,rgba(37,217,255,.10),rgba(188,255,0,.06));border-radius:18px;color:#eefbff;box-shadow:0 12px 34px rgba(0,0,0,.18)}
.esp-direct-finder-notice>span{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:rgba(37,217,255,.12);border:1px solid rgba(37,217,255,.2);flex:0 0 40px}
.esp-direct-finder-notice .esp-svg{width:20px;height:20px}.esp-direct-finder-notice div{flex:1 1 auto}.esp-direct-finder-notice strong{display:block;font-weight:900}.esp-direct-finder-notice p{margin:3px 0 0;color:rgba(231,244,255,.75)}.esp-direct-finder-notice .esp-btn{white-space:nowrap}
.esp-finder-row.is-target-open-match{border-color:rgba(255,46,89,.55)!important;background:linear-gradient(135deg,rgba(255,46,89,.16),rgba(37,217,255,.06));box-shadow:0 0 0 1px rgba(255,46,89,.18),0 18px 44px rgba(255,46,89,.12);animation:espSharedMatchPulse 1.45s ease-in-out 3}
@keyframes espSharedMatchPulse{0%,100%{box-shadow:0 0 0 1px rgba(255,46,89,.18),0 18px 44px rgba(255,46,89,.12)}50%{box-shadow:0 0 0 8px rgba(255,46,89,.07),0 20px 52px rgba(255,46,89,.24)}}
.esp-mf-static.esp-mf-warning strong{color:#ffccd6}
@media(max-width:680px){.esp-direct-finder-notice{align-items:flex-start;flex-wrap:wrap}.esp-direct-finder-notice .esp-btn{flex:1 1 auto;justify-content:center}}

/* v1.4.41 Linked Game IDs editor tidy-up */
.esp-gameid-editor .esp-section-title p{margin:4px 0 0;color:var(--esp-muted);line-height:1.55}.esp-gameid-editor-list{display:grid;gap:12px}.esp-editor-gameid-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border:1px solid rgba(151,176,255,.18);background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.025));border-radius:16px;padding:12px}.esp-editor-gameid-card-main{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;min-width:0}.esp-editor-gameid-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(37,217,255,.28);background:rgba(37,217,255,.1);color:var(--esp-cyan)}.esp-editor-gameid-icon .esp-svg{width:24px;height:24px}.esp-editor-gameid-card label{margin:0}.esp-editor-gameid-card small{display:block;margin-bottom:7px;color:#cbd6ea;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.esp-mini-danger{border:1px solid rgba(255,85,119,.34);background:rgba(255,85,119,.08);color:#ffc4cf;border-radius:12px;padding:11px 13px;font-weight:900}.esp-gameid-add-card{margin-top:14px;border:1px dashed rgba(37,217,255,.28);background:rgba(37,217,255,.045);border-radius:16px;padding:14px}.esp-gameid-add-card strong{display:block;font-size:16px}.esp-gameid-add-card p{margin:5px 0 12px;color:var(--esp-muted);line-height:1.5}.esp-gameid-editor select{width:100%;border:1px solid rgba(151,176,255,.22);background:rgba(2,7,16,.56);border-radius:12px;color:#fff;padding:11px 12px;outline:none}.esp-gameid-editor select:focus{border-color:var(--esp-cyan);box-shadow:0 0 0 3px rgba(37,217,255,.12)}
@media(max-width:700px){.esp-editor-gameid-card{grid-template-columns:1fr}.esp-mini-danger{width:100%}.esp-editor-gameid-card-main{grid-template-columns:38px 1fr}.esp-editor-gameid-icon{width:38px;height:38px;border-radius:12px}.esp-gameid-add-card .esp-editor-two{grid-template-columns:1fr}}

/* v1.4.43 disband redirects home + safe team creation/loading + card context */
.esp-join-modal{position:relative;overflow:hidden}
.esp-creating-team-overlay{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:rgba(7,10,18,.86);backdrop-filter:blur(10px)}
.esp-creating-team-overlay strong{font-size:1.05rem;color:#fff}
.esp-creating-team-overlay span{color:rgba(255,255,255,.72);font-size:.9rem;max-width:280px}
.esp-card-img{position:relative}
.esp-card-game-badge{position:absolute;right:10px;top:10px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:5px 9px;background:rgba(0,0,0,.58);color:#fff;font-size:.72rem;font-style:normal;font-weight:800;letter-spacing:.02em;box-shadow:0 8px 18px rgba(0,0,0,.22)}

/* v1.4.44 ladder cards use linked game featured images. */

/* v1.4.49: route/profile loading failure feedback */
.esp-route-feedback.is-error {
  border-color: rgba(255, 92, 92, .42);
  background: linear-gradient(135deg, rgba(45, 18, 25, .98), rgba(12, 14, 24, .96));
}
.esp-route-feedback.is-error .esp-route-feedback-icon {
  background: rgba(255, 92, 92, .16);
  color: #ff7676;
}
.esp-route-feedback-dismiss {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.esp-route-feedback-dismiss .esp-svg {
  width: 16px;
  height: 16px;
}


/* v1.4.55 session refresh + account push settings toggle */

.esp-push-text-toggle{appearance:none;border:0;background:transparent;color:rgba(231,244,255,.70);font-size:11px;line-height:1.2;padding:0;margin:8px 0 2px;text-transform:none;letter-spacing:.02em;cursor:pointer;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;width:auto;min-height:0;box-shadow:none}
.esp-push-text-toggle:hover,.esp-push-text-toggle:focus{color:#fff;outline:none;text-decoration-color:var(--esp-cyan)}
.esp-push-card{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;margin:12px 0;padding:12px;border:1px solid rgba(37,217,255,.22);background:linear-gradient(135deg,rgba(37,217,255,.08),rgba(188,255,0,.035));border-radius:16px;color:#fff}
.esp-push-card-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(37,217,255,.12);border:1px solid rgba(37,217,255,.22);color:var(--esp-cyan)}
.esp-push-card-icon .esp-svg{width:20px;height:20px}.esp-push-card strong{display:block;font-weight:900}.esp-push-card small{display:block;margin-top:3px;color:rgba(231,244,255,.72);line-height:1.35}.esp-push-card.is-enabled{border-color:rgba(188,255,0,.32);background:linear-gradient(135deg,rgba(188,255,0,.12),rgba(37,217,255,.04))}.esp-push-card.is-denied{border-color:rgba(255,92,92,.32);background:linear-gradient(135deg,rgba(255,92,92,.10),rgba(255,255,255,.025))}.esp-push-card .esp-btn{white-space:nowrap;min-height:40px}
@media(max-width:680px){.esp-push-card{grid-template-columns:36px 1fr}.esp-push-card .esp-btn{grid-column:1 / -1;width:100%;justify-content:center}.esp-push-card-icon{width:36px;height:36px;border-radius:12px}}

.esp-account-push-toggle{margin:0 0 2px}
.esp-account-push-card{margin-top:4px;margin-bottom:10px}

/* v1.4.56 fair play / verified ladders */
.esp-verified-requirement{border:1px solid rgba(54,207,255,.28);background:rgba(54,207,255,.08);border-radius:18px;padding:14px 16px;margin:12px 0;display:grid;gap:4px}
.esp-verified-requirement strong{color:#fff;font-weight:800}.esp-verified-requirement p{margin:0;color:rgba(235,242,255,.78);font-size:13px;line-height:1.45}.esp-verified-requirement.is-locked{border-color:rgba(255,96,139,.38);background:rgba(255,96,139,.10)}.esp-verified-requirement.is-ok{border-color:rgba(172,255,0,.38);background:rgba(172,255,0,.09)}
.esp-fair-report-modal textarea{min-height:120px;resize:vertical}.esp-fair-report-modal .esp-editor-section>p:first-child{margin-top:0;color:rgba(235,242,255,.72)}

/* v1.4.58 professional front-end fair play command centre */
.esp-fair-command-backdrop{align-items:center;}
.esp-fair-admin-modal.esp-fair-command-modal{max-width:1280px;width:min(1280px,96vw);max-height:92vh;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(145deg,rgba(13,17,26,.98),rgba(8,11,18,.98));border:1px solid rgba(255,255,255,.1);box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 0 1px rgba(186,255,0,.05) inset;}
.esp-fair-command-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid rgba(255,255,255,.08);background:radial-gradient(circle at top left,rgba(186,255,0,.12),transparent 30%),radial-gradient(circle at top right,rgba(68,218,255,.1),transparent 34%);}
.esp-fair-command-title h2{margin:4px 0 6px;font-size:34px;line-height:.98;letter-spacing:-.04em;}
.esp-fair-command-title p{margin:0;color:var(--esp-muted);max-width:620px;line-height:1.45;}
.esp-fair-command-actions{display:flex;align-items:center;gap:10px;}
.esp-fair-dash-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.08);}
.esp-fair-dash-stat{position:relative;text-align:left;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.045);padding:13px 13px 13px 52px;color:inherit;min-height:82px;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease;}
.esp-fair-dash-stat:hover,.esp-fair-dash-stat.is-active{transform:translateY(-1px);border-color:rgba(186,255,0,.45);background:rgba(186,255,0,.07);}
.esp-fair-dash-stat-icon{position:absolute;left:13px;top:14px;width:30px;height:30px;border-radius:12px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;}
.esp-fair-dash-stat-icon svg{width:16px;height:16px;}
.esp-fair-dash-stat strong{display:block;font-size:26px;line-height:1;font-weight:900;letter-spacing:-.04em;}
.esp-fair-dash-stat em{display:block;margin-top:5px;font-style:normal;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.esp-fair-dash-stat small{display:block;margin-top:3px;color:var(--esp-muted);font-size:11px;line-height:1.25;}
.esp-fair-command-body{display:grid;grid-template-columns:230px minmax(300px,430px) minmax(420px,1fr);gap:14px;padding:16px;overflow:hidden;min-height:0;}
.esp-fair-command-rail,.esp-fair-command-list,.esp-fair-command-detail{min-height:0;overflow:auto;}
.esp-fair-command-rail{display:flex;flex-direction:column;gap:12px;}
.esp-fair-rail-card{border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(155deg,rgba(255,255,255,.07),rgba(255,255,255,.025));padding:16px;}
.esp-fair-rail-card strong{display:block;margin-top:8px;font-size:40px;line-height:.9;letter-spacing:-.06em;}
.esp-fair-rail-card small{display:block;margin-top:6px;color:var(--esp-muted);}
.esp-fair-mini-metrics{display:grid;gap:6px;margin-top:14px;}
.esp-fair-mini-metrics span{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.07);padding-top:7px;color:var(--esp-muted);font-size:12px;}
.esp-fair-mini-metrics b{color:#fff;}
.esp-fair-filter-stack{display:grid;gap:8px;}
.esp-fair-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035);padding:11px 12px;color:inherit;text-align:left;cursor:pointer;}
.esp-fair-filter span{display:grid;gap:2px;}
.esp-fair-filter strong{font-size:13px;}
.esp-fair-filter small{color:var(--esp-muted);font-size:10px;line-height:1.2;}
.esp-fair-filter b{min-width:26px;height:26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.09);font-size:12px;}
.esp-fair-filter.is-active{border-color:rgba(68,218,255,.5);background:rgba(68,218,255,.08);}
.esp-fair-command-list,.esp-fair-command-detail{border:1px solid rgba(255,255,255,.09);border-radius:24px;background:rgba(255,255,255,.035);}
.esp-fair-panel-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(11,14,22,.96);backdrop-filter:blur(12px);}
.esp-fair-panel-head h3{margin:3px 0 0;font-size:22px;letter-spacing:-.03em;}
.esp-fair-panel-head small{color:var(--esp-muted);font-weight:800;}
.esp-fair-case-list{display:grid;gap:10px;padding:12px;}
.esp-fair-case-card{position:relative;width:100%;text-align:left;border:1px solid rgba(255,255,255,.085);border-radius:19px;background:rgba(255,255,255,.04);padding:13px 13px 13px 17px;color:inherit;display:grid;gap:8px;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease;}
.esp-fair-case-card:hover,.esp-fair-case-card.is-active{transform:translateY(-1px);border-color:rgba(186,255,0,.5);background:rgba(186,255,0,.065);}
.esp-fair-case-stripe{position:absolute;left:0;top:0;bottom:0;width:4px;background:rgba(68,218,255,.7);}
.esp-fair-case-card.tone-danger .esp-fair-case-stripe{background:#ff4266;}
.esp-fair-case-card.tone-warn .esp-fair-case-stripe{background:#ffb443;}
.esp-fair-case-card.tone-success .esp-fair-case-stripe{background:#BAFF00;}
.esp-fair-case-card.tone-muted .esp-fair-case-stripe,.esp-fair-case-card.tone-dark .esp-fair-case-stripe{background:rgba(255,255,255,.32);}
.esp-fair-case-top,.esp-fair-case-bottom,.esp-fair-case-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.esp-fair-case-card strong{font-size:15px;line-height:1.2;}
.esp-fair-case-card em{font-style:normal;color:#fff;font-size:12px;opacity:.86;line-height:1.25;}
.esp-fair-case-meta{align-items:flex-start;flex-wrap:wrap;}
.esp-fair-case-meta small,.esp-fair-case-date,.esp-fair-case-bottom span:not(.esp-fair-risk){color:var(--esp-muted);font-size:11px;}
.esp-fair-pill,.esp-fair-risk{display:inline-flex;align-items:center;gap:6px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.07);padding:5px 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;}
.tone-danger{--fair-tone:#ff4266}.tone-warn{--fair-tone:#ffb443}.tone-success{--fair-tone:#BAFF00}.tone-info{--fair-tone:#44daff}.tone-muted{--fair-tone:rgba(255,255,255,.45)}.tone-dark{--fair-tone:#9188ff}
.esp-fair-pill[class*="tone-"],.esp-fair-risk[class*="tone-"]{border-color:color-mix(in srgb,var(--fair-tone) 50%,transparent);background:color-mix(in srgb,var(--fair-tone) 13%,transparent);color:#fff;}
.esp-fair-command-msg{margin:12px 12px 0;}
.esp-fair-command-detail{padding:0;}
.esp-fair-case-file-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.02));}
.esp-fair-case-file-head h3{margin:8px 0 4px;font-size:30px;line-height:1.02;letter-spacing:-.045em;}
.esp-fair-case-file-head p{margin:0;color:var(--esp-muted);}
.esp-fair-evidence-missing{display:inline-flex;align-items:center;gap:8px;border:1px dashed rgba(255,255,255,.2);border-radius:999px;padding:10px 12px;color:var(--esp-muted);font-weight:900;font-size:12px;white-space:nowrap;}
.esp-fair-evidence-missing svg{width:14px;height:14px;}
.esp-fair-linked-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;}
.esp-fair-linked-tile{border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.14);border-radius:17px;padding:12px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;text-align:left;color:inherit;margin:0;min-width:0;}
button.esp-fair-linked-tile{cursor:pointer;}
.esp-fair-linked-tile>span{grid-row:1/3;width:34px;height:34px;border-radius:13px;background:rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;}
.esp-fair-linked-tile svg{width:16px;height:16px;}
.esp-fair-linked-tile em{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--esp-muted);}
.esp-fair-linked-tile strong{font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.esp-fair-linked-tile.is-empty{opacity:.62;}
.esp-fair-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 14px 14px;}
.esp-fair-review-card{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:19px;padding:14px;min-height:170px;}
.esp-fair-review-card p{margin:9px 0 0;color:var(--esp-muted);white-space:pre-wrap;line-height:1.55;}
.esp-fair-admin-note{display:block;margin:8px 0 0;}
.esp-fair-admin-note textarea{min-height:132px;border-radius:16px;}
.esp-fair-decision-bar{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:8px;padding:14px;border-top:1px solid rgba(255,255,255,.08);background:rgba(9,12,19,.96);backdrop-filter:blur(12px);}
.esp-fair-empty{margin:14px;}
@media(max-width:1100px){.esp-fair-command-body{grid-template-columns:220px 1fr}.esp-fair-command-detail{grid-column:1/-1}.esp-fair-dash-stats{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:780px){.esp-fair-admin-modal.esp-fair-command-modal{width:96vw;max-height:94vh}.esp-fair-command-hero{padding:18px;flex-direction:column}.esp-fair-command-title h2{font-size:28px}.esp-fair-dash-stats{grid-template-columns:1fr 1fr;padding:12px}.esp-fair-command-body{grid-template-columns:1fr;overflow:auto;padding:12px}.esp-fair-command-rail,.esp-fair-command-list,.esp-fair-command-detail{overflow:visible}.esp-fair-filter-stack{grid-template-columns:1fr}.esp-fair-linked-grid,.esp-fair-review-grid{grid-template-columns:1fr}.esp-fair-case-file-head{flex-direction:column}.esp-fair-case-file-head h3{font-size:24px}.esp-fair-decision-bar{position:relative}.esp-fair-dash-stat{min-height:74px;padding-left:48px}.esp-fair-dash-stat strong{font-size:22px}}



/* v1.4.59 Fair Play mobile dashboard fix + profile rank badges */
.esp-rank-badge{display:inline-flex;align-items:center;gap:8px;min-height:38px;border:1px solid rgba(186,255,0,.38);border-radius:999px;background:linear-gradient(135deg,rgba(186,255,0,.16),rgba(68,218,255,.08));padding:5px 11px 5px 7px;color:#fff;box-shadow:0 0 22px rgba(186,255,0,.08);vertical-align:middle;max-width:100%;}
.esp-rank-badge>img{width:28px;height:28px;border-radius:999px;object-fit:cover;display:block;flex:0 0 28px;box-shadow:0 0 0 1px rgba(255,255,255,.14) inset;}
.esp-rank-badge>.esp-svg{width:20px;height:20px;flex:0 0 20px;color:#BAFF00;}
.esp-rank-badge span{display:grid;gap:0;min-width:0;line-height:1.05;}
.esp-rank-badge strong{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.esp-rank-badge em{font-style:normal;color:rgba(238,247,255,.74);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;}
.esp-rank-top10{border-color:rgba(186,255,0,.62);background:linear-gradient(135deg,rgba(186,255,0,.22),rgba(255,180,67,.10));}
.esp-rank-top50{border-color:rgba(68,218,255,.46);background:linear-gradient(135deg,rgba(68,218,255,.16),rgba(186,255,0,.08));}
.esp-rank-top200{border-color:rgba(145,136,255,.42);background:linear-gradient(135deg,rgba(145,136,255,.16),rgba(68,218,255,.07));}
@media(max-width:780px){
  .esp-fair-command-backdrop{align-items:flex-start;padding:12px 8px 96px;}
  .esp-fair-admin-modal.esp-fair-command-modal{width:96vw;max-height:calc(100dvh - 24px);overflow:auto;border-radius:24px;}
  .esp-fair-command-hero{padding:18px 18px 16px;gap:14px;}
  .esp-fair-command-title h2{font-size:28px;}
  .esp-fair-command-title p{font-size:14px;line-height:1.38;}
  .esp-fair-command-actions{width:100%;}
  .esp-fair-command-actions .esp-mini-btn{flex:1;justify-content:center;}
  .esp-fair-dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;}
  .esp-fair-dash-stat{min-height:86px;padding:12px 10px 12px 48px;border-radius:18px;}
  .esp-fair-dash-stat small{font-size:10px;}
  .esp-fair-command-body{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;padding:12px;min-height:auto;}
  .esp-fair-command-rail{display:none!important;}
  .esp-fair-command-list,.esp-fair-command-detail{overflow:visible;border-radius:22px;}
  .esp-fair-panel-head{position:relative;top:auto;z-index:1;}
  .esp-fair-panel-head h3{font-size:22px;}
  .esp-fair-empty{margin:12px;}
  .esp-fair-linked-grid,.esp-fair-review-grid{grid-template-columns:1fr;}
  .esp-fair-case-file-head{flex-direction:column;}
  .esp-fair-case-file-head h3{font-size:24px;}
  .esp-fair-decision-bar{position:relative;}
  .esp-rank-badge{width:100%;justify-content:flex-start;}
}


/* v1.4.60 larger player profile leaderboard badge */
.esp-profile-rank-badge{
  min-height:58px;
  padding:9px 16px 9px 10px;
  border-radius:20px;
  gap:12px;
  border-color:rgba(186,255,0,.58);
  background:linear-gradient(135deg,rgba(186,255,0,.24),rgba(68,218,255,.13));
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 18px 42px rgba(0,0,0,.28),0 0 34px rgba(186,255,0,.13);
}
.esp-profile-rank-badge>img{
  width:44px;
  height:44px;
  flex-basis:44px;
  box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 0 24px rgba(186,255,0,.18);
}
.esp-profile-rank-badge>.esp-svg{
  width:34px;
  height:34px;
  flex-basis:34px;
  padding:7px;
  border-radius:14px;
  background:rgba(186,255,0,.12);
  box-shadow:0 0 0 1px rgba(186,255,0,.18) inset;
}
.esp-profile-rank-badge strong{
  font-size:13px;
  letter-spacing:.08em;
}
.esp-profile-rank-badge em{
  margin-top:3px;
  font-size:12px;
  color:rgba(238,247,255,.86);
}
.esp-profile-rank-badge.esp-rank-top10{
  border-color:rgba(255,211,91,.65);
  background:linear-gradient(135deg,rgba(255,211,91,.28),rgba(186,255,0,.16),rgba(68,218,255,.12));
  box-shadow:0 0 0 1px rgba(255,255,255,.09) inset,0 20px 48px rgba(0,0,0,.30),0 0 42px rgba(255,211,91,.18);
}
.esp-profile-rank-badge.esp-rank-top50{
  border-color:rgba(68,218,255,.58);
  background:linear-gradient(135deg,rgba(68,218,255,.22),rgba(186,255,0,.12));
}
@media(max-width:640px){
  .esp-profile-rank-badge{
    min-height:62px;
    padding:10px 14px;
    border-radius:18px;
  }
  .esp-profile-rank-badge>img{width:46px;height:46px;flex-basis:46px;}
  .esp-profile-rank-badge>.esp-svg{width:36px;height:36px;flex-basis:36px;}
  .esp-profile-rank-badge strong{font-size:13px;}
  .esp-profile-rank-badge em{font-size:12px;}
}

/* v1.4.61 dashboard hero cleanup */
.esp-hero{grid-template-columns:1fr;}
.esp-hero.has-video .esp-hero-media video{width:100%;height:100%;object-fit:cover;display:block;}

/* v1.4.64 dashboard active ladders limit */
/* v1.4.63 dashboard hero media edge fix */
.esp-hero.has-media{background:linear-gradient(135deg,rgba(14,24,44,.96),rgba(12,13,31,.84));}
.esp-hero-media{inset:-1px;}
.esp-hero-media img,.esp-hero-media video{display:block;width:calc(100% + 2px);height:calc(100% + 2px);max-width:none;object-fit:cover;transform:translate(-1px,-1px);}

/* v1.4.66 - Profile/team editor modal aligned to Fair Play Integrity Reports */
.esp-fairplay-editor-backdrop{background:rgba(2,5,13,.76)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;padding:16px!important;z-index:100000!important;}
.esp-fairplay-editor-modal{width:min(1180px,100%)!important;max-height:calc(100dvh - 32px)!important;border-radius:30px!important;border:1px solid rgba(255,255,255,.10)!important;background:linear-gradient(145deg,rgba(13,17,26,.98),rgba(8,11,18,.98))!important;box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 0 1px rgba(186,255,0,.05) inset!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;color:#f6fbff!important;}
.esp-fairplay-editor-modal .esp-editor-head{position:relative!important;top:auto!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:24px 26px 20px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:radial-gradient(circle at top left,rgba(186,255,0,.12),transparent 31%),radial-gradient(circle at top right,rgba(68,218,255,.10),transparent 34%)!important;backdrop-filter:none!important;}
.esp-fairplay-editor-modal .esp-editor-head .esp-kicker{color:#9ba8bd!important;font-size:12px!important;font-weight:1000!important;letter-spacing:.15em!important;text-transform:uppercase!important;}
.esp-fairplay-editor-modal .esp-editor-head h2{margin:5px 0 0!important;font-size:clamp(34px,5vw,52px)!important;line-height:.98!important;letter-spacing:-.052em!important;color:#fff!important;font-weight:950!important;}
.esp-fairplay-editor-modal .esp-modal-close{width:58px!important;height:58px!important;min-width:58px!important;border-radius:20px!important;border:1px solid rgba(255,255,255,.11)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.esp-fairplay-editor-modal .esp-modal-close:hover{border-color:rgba(186,255,0,.42)!important;background:rgba(186,255,0,.08)!important;}
.esp-fairplay-editor-modal .esp-editor-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:0!important;flex:1!important;overflow:hidden!important;}
.esp-fairplay-editor-modal .esp-editor-nav{position:relative!important;top:auto!important;align-self:stretch!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:18px!important;border-right:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.025)!important;overflow:auto!important;}
.esp-fairplay-editor-modal .esp-editor-nav button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:15px!important;background:rgba(255,255,255,.035)!important;color:#f6fbff!important;padding:12px!important;text-align:left!important;font-weight:850!important;transition:transform .18s ease,border-color .18s ease,background .18s ease!important;}
.esp-fairplay-editor-modal .esp-editor-nav button:hover,.esp-fairplay-editor-modal .esp-editor-nav button:focus{transform:translateY(-1px)!important;border-color:rgba(68,218,255,.50)!important;background:rgba(68,218,255,.08)!important;}
.esp-fairplay-editor-modal .esp-editor-nav svg{color:#dff4ff!important;}
.esp-fairplay-editor-modal .esp-editor-body{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding:18px!important;max-height:none!important;overflow:auto!important;scroll-behavior:smooth!important;background:rgba(255,255,255,.015)!important;}
.esp-fairplay-editor-modal .esp-editor-section{border:1px solid rgba(255,255,255,.09)!important;border-radius:24px!important;background:rgba(255,255,255,.035)!important;padding:18px!important;box-shadow:none!important;}
.esp-fairplay-editor-modal .esp-editor-section h3{margin:0 0 14px!important;font-size:24px!important;line-height:1.05!important;letter-spacing:-.035em!important;color:#fff!important;}
.esp-fairplay-editor-modal .esp-editor-section label{color:#cbd6ea!important;font-weight:850!important;}
.esp-fairplay-editor-modal .esp-editor-section input,.esp-fairplay-editor-modal .esp-editor-section textarea,.esp-fairplay-editor-modal .esp-editor-section select{width:100%!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:rgba(255,255,255,.045)!important;color:#f6fbff!important;padding:14px 15px!important;outline:0!important;box-shadow:none!important;}
.esp-fairplay-editor-modal .esp-editor-section input:focus,.esp-fairplay-editor-modal .esp-editor-section textarea:focus,.esp-fairplay-editor-modal .esp-editor-section select:focus{border-color:rgba(68,218,255,.70)!important;box-shadow:0 0 0 4px rgba(68,218,255,.13)!important;}
.esp-fairplay-editor-modal .esp-editor-section select option{background:#11182c;color:#fff;}
.esp-fairplay-editor-modal .esp-editor-two{gap:12px!important;}
.esp-fairplay-editor-modal .esp-section-title p,.esp-fairplay-editor-modal .esp-muted{color:#9ba8bd!important;}
.esp-fairplay-editor-modal .esp-image-upload-card{border:1px solid rgba(255,255,255,.09)!important;border-radius:22px!important;background:rgba(255,255,255,.045)!important;}
.esp-fairplay-editor-modal .esp-image-upload-card:hover{transform:translateY(-1px)!important;border-color:rgba(186,255,0,.50)!important;background:rgba(186,255,0,.07)!important;}
.esp-fairplay-editor-modal .esp-image-preview{border:1px solid rgba(255,255,255,.10)!important;background:radial-gradient(circle at 12% 0%,rgba(186,255,0,.12),transparent 38%),radial-gradient(circle at 88% 6%,rgba(68,218,255,.12),transparent 42%),rgba(255,255,255,.035)!important;}
.esp-fairplay-editor-modal .esp-image-copy em{border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#baff00,#dfff4d)!important;color:#04101d!important;font-weight:1000!important;box-shadow:0 14px 35px rgba(183,255,0,.13)!important;}
.esp-fairplay-editor-modal .esp-editor-gameid-card,.esp-fairplay-editor-modal .esp-gameid-add-card,.esp-fairplay-editor-modal .esp-existing-clips span{border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:rgba(255,255,255,.04)!important;}
.esp-fairplay-editor-modal .esp-editor-message{margin:0 18px 18px!important;border:1px solid rgba(186,255,0,.25)!important;border-radius:16px!important;background:rgba(186,255,0,.075)!important;color:#eaffaa!important;padding:12px 14px!important;font-weight:850!important;}
.esp-fairplay-editor-modal .esp-editor-actions-side{border-top:1px solid rgba(255,255,255,.08)!important;padding-top:14px!important;gap:10px!important;}
.esp-fairplay-editor-modal .esp-btn:not(.ghost){border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#baff00,#dfff4d)!important;color:#04101d!important;min-height:52px!important;padding:12px 22px!important;font-weight:1000!important;box-shadow:0 18px 45px rgba(183,255,0,.16)!important;}
.esp-fairplay-editor-modal .esp-btn.ghost{border:1px solid rgba(255,255,255,.09)!important;border-radius:999px!important;background:rgba(255,255,255,.055)!important;color:#f6fbff!important;min-height:52px!important;}
.esp-fairplay-editor-modal .esp-mini-danger{border-radius:999px!important;}
@media(max-width:760px){.esp-fairplay-editor-backdrop{align-items:flex-start!important;padding:10px!important;}.esp-fairplay-editor-modal{max-height:calc(100dvh - 20px)!important;border-radius:24px!important;}.esp-fairplay-editor-modal .esp-editor-head{padding:18px 18px 16px!important;}.esp-fairplay-editor-modal .esp-editor-head h2{font-size:32px!important;}.esp-fairplay-editor-modal .esp-modal-close{width:52px!important;height:52px!important;min-width:52px!important;}.esp-fairplay-editor-modal .esp-editor-layout{grid-template-columns:1fr!important;overflow:auto!important;}.esp-fairplay-editor-modal .esp-editor-nav{flex-direction:row!important;overflow:auto!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;padding:12px!important;}.esp-fairplay-editor-modal .esp-editor-nav button{min-width:max-content!important;}.esp-fairplay-editor-modal .esp-editor-body{overflow:visible!important;padding:12px!important;}.esp-fairplay-editor-modal .esp-editor-section{border-radius:22px!important;padding:14px!important;}.esp-fairplay-editor-modal .esp-editor-two,.esp-fairplay-editor-modal .esp-image-upload-grid{grid-template-columns:1fr!important;}}

/* v1.4.67 - Rebuilt profile/team editor modal to match Fair Play Integrity Reports shell */
.esp-profile-edit-backdrop{
  align-items:flex-start!important;
  padding:12px 8px 96px!important;
  overflow:auto!important;
}
.esp-fair-admin-modal.esp-profile-edit-modal{
  width:min(1080px,96vw)!important;
  max-width:1080px!important;
  max-height:calc(100dvh - 24px)!important;
  border-radius:26px!important;
  overflow:auto!important;
  background:linear-gradient(145deg,rgba(13,17,26,.985),rgba(8,11,18,.985))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 0 1px rgba(186,255,0,.05) inset!important;
  color:#f6fbff!important;
}
.esp-profile-edit-hero{
  position:relative!important;
  padding:22px 24px 18px!important;
  gap:18px!important;
  align-items:flex-start!important;
}
.esp-profile-edit-hero .esp-fair-command-title h2{
  margin:4px 0 6px!important;
  font-size:34px!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
  color:#fff!important;
}
.esp-profile-edit-hero .esp-fair-command-title p{
  margin:0!important;
  color:var(--esp-muted)!important;
  max-width:680px!important;
  line-height:1.42!important;
}
.esp-profile-edit-actions{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.esp-profile-edit-actions .esp-profile-edit-save{
  border:0!important;
  background:linear-gradient(135deg,#baff00,#dfff4d)!important;
  color:#04101d!important;
  min-height:58px!important;
  padding:0 26px!important;
  font-weight:1000!important;
  font-size:15px!important;
  box-shadow:0 18px 45px rgba(183,255,0,.16)!important;
}
.esp-profile-edit-actions .esp-modal-close{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  padding:0!important;
  border-radius:20px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.esp-profile-edit-actions .esp-modal-close:hover,
.esp-profile-edit-actions .esp-modal-close:focus{
  border-color:rgba(186,255,0,.42)!important;
  background:rgba(186,255,0,.08)!important;
}
.esp-profile-edit-actions .esp-modal-close .esp-svg{width:22px!important;height:22px!important;}
.esp-profile-edit-shortcuts{
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;
  gap:10px!important;
  padding:16px 18px!important;
}
.esp-profile-shortcut{
  min-height:88px!important;
  padding:13px 13px 13px 52px!important;
}
.esp-profile-shortcut strong{
  font-size:26px!important;
}
.esp-profile-shortcut em{
  margin-top:5px!important;
  font-size:12px!important;
}
.esp-profile-edit-body{
  padding:16px!important;
  overflow:visible!important;
  min-height:auto!important;
}
.esp-profile-edit-panel{
  overflow:visible!important;
}
.esp-profile-edit-panel .esp-fair-panel-head{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
}
.esp-profile-edit-sections{
  display:grid!important;
  gap:14px!important;
  padding:12px!important;
}
.esp-profile-edit-section,
.esp-profile-edit-section-wrap .esp-editor-section{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.035)!important;
  box-shadow:none!important;
  padding:18px!important;
  margin:0!important;
}
.esp-profile-edit-section h3,
.esp-profile-edit-section-wrap .esp-editor-section h3{
  margin:0 0 14px!important;
  font-size:24px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  color:#fff!important;
}
.esp-profile-edit-section label,
.esp-profile-edit-section-wrap .esp-editor-section label{
  display:grid!important;
  gap:8px!important;
  color:#cbd6ea!important;
  font-weight:850!important;
  margin:0 0 14px!important;
}
.esp-profile-edit-section input,
.esp-profile-edit-section textarea,
.esp-profile-edit-section select,
.esp-profile-edit-section-wrap .esp-editor-section input,
.esp-profile-edit-section-wrap .esp-editor-section textarea,
.esp-profile-edit-section-wrap .esp-editor-section select{
  width:100%!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.045)!important;
  color:#f6fbff!important;
  padding:14px 15px!important;
  min-height:52px!important;
  outline:0!important;
  box-shadow:none!important;
}
.esp-profile-edit-section textarea,
.esp-profile-edit-section-wrap .esp-editor-section textarea{
  min-height:142px!important;
  resize:vertical!important;
}
.esp-profile-edit-section input:focus,
.esp-profile-edit-section textarea:focus,
.esp-profile-edit-section select:focus,
.esp-profile-edit-section-wrap .esp-editor-section input:focus,
.esp-profile-edit-section-wrap .esp-editor-section textarea:focus,
.esp-profile-edit-section-wrap .esp-editor-section select:focus{
  border-color:rgba(68,218,255,.70)!important;
  box-shadow:0 0 0 4px rgba(68,218,255,.13)!important;
}
.esp-profile-edit-section select option{background:#11182c;color:#fff;}
.esp-profile-edit-section .esp-section-title p,
.esp-profile-edit-section-wrap .esp-section-title p,
.esp-profile-edit-section .esp-muted,
.esp-profile-edit-section-wrap .esp-muted{
  color:var(--esp-muted)!important;
}
.esp-profile-edit-section .esp-section-title,
.esp-profile-edit-section-wrap .esp-section-title{
  margin-bottom:12px!important;
}
.esp-profile-edit-section .esp-section-title h3,
.esp-profile-edit-section-wrap .esp-section-title h3{
  margin-bottom:6px!important;
}
.esp-profile-edit-section .esp-editor-two,
.esp-profile-edit-section-wrap .esp-editor-two{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.esp-profile-edit-section .esp-image-upload-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.esp-profile-edit-section .esp-image-upload-card,
.esp-profile-edit-section-wrap .esp-image-upload-card{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.045)!important;
  padding:14px!important;
  margin:0!important;
  min-height:0!important;
}
.esp-profile-edit-section .esp-image-upload-card:hover,
.esp-profile-edit-section-wrap .esp-image-upload-card:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(186,255,0,.50)!important;
  background:rgba(186,255,0,.07)!important;
}
.esp-profile-edit-section .esp-image-preview,
.esp-profile-edit-section-wrap .esp-image-preview{
  border:1px solid rgba(255,255,255,.10)!important;
  background:radial-gradient(circle at 12% 0%,rgba(186,255,0,.12),transparent 38%),radial-gradient(circle at 88% 6%,rgba(68,218,255,.12),transparent 42%),rgba(255,255,255,.035)!important;
  min-height:150px!important;
}
.esp-profile-edit-section .esp-image-upload-card.avatar .esp-image-preview{
  width:142px!important;
  height:142px!important;
  min-height:142px!important;
  margin:0 auto 12px!important;
}
.esp-profile-edit-section .esp-image-upload-card.banner .esp-image-preview,
.esp-profile-edit-section-wrap .esp-image-upload-card.banner .esp-image-preview{
  min-height:132px!important;
}
.esp-profile-edit-section .esp-image-copy em,
.esp-profile-edit-section-wrap .esp-image-copy em{
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#baff00,#dfff4d)!important;
  color:#04101d!important;
  font-weight:1000!important;
  box-shadow:0 14px 35px rgba(183,255,0,.13)!important;
}
.esp-profile-edit-section .esp-editor-gameid-card,
.esp-profile-edit-section .esp-gameid-add-card,
.esp-profile-edit-section .esp-existing-clips span,
.esp-profile-edit-section-wrap .esp-editor-gameid-card,
.esp-profile-edit-section-wrap .esp-gameid-add-card,
.esp-profile-edit-section-wrap .esp-existing-clips span{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.04)!important;
}
.esp-profile-edit-message{
  margin:0 16px 12px!important;
  border:1px solid rgba(186,255,0,.25)!important;
  border-radius:16px!important;
  background:rgba(186,255,0,.075)!important;
  color:#eaffaa!important;
  padding:12px 14px!important;
  font-weight:850!important;
}
.esp-profile-edit-decision{
  position:sticky!important;
  bottom:0!important;
  z-index:5!important;
  gap:8px!important;
  justify-content:flex-end!important;
}
.esp-profile-edit-decision .esp-btn:not(.ghost){
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#baff00,#dfff4d)!important;
  color:#04101d!important;
  min-height:52px!important;
  padding:12px 22px!important;
  font-weight:1000!important;
  box-shadow:0 18px 45px rgba(183,255,0,.16)!important;
}
.esp-profile-edit-decision .esp-btn.ghost{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.055)!important;
  color:#f6fbff!important;
  min-height:52px!important;
}
@media(max-width:780px){
  .esp-fair-admin-modal.esp-profile-edit-modal{
    width:96vw!important;
    max-height:calc(100dvh - 24px)!important;
    border-radius:24px!important;
  }
  .esp-profile-edit-hero{
    padding:18px 18px 16px!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  .esp-profile-edit-hero .esp-fair-command-title h2{
    font-size:34px!important;
  }
  .esp-profile-edit-hero .esp-fair-command-title p{
    font-size:14px!important;
    line-height:1.38!important;
  }
  .esp-profile-edit-actions{
    width:100%!important;
  }
  .esp-profile-edit-actions .esp-profile-edit-save{
    flex:1!important;
    justify-content:center!important;
    min-height:58px!important;
  }
  .esp-profile-edit-actions .esp-modal-close{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
  }
  .esp-profile-edit-shortcuts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding:12px!important;
  }
  .esp-profile-shortcut{
    min-height:86px!important;
    padding:12px 10px 12px 48px!important;
    border-radius:18px!important;
  }
  .esp-profile-shortcut strong{font-size:22px!important;}
  .esp-profile-shortcut small{font-size:10px!important;}
  .esp-profile-edit-body{
    padding:12px!important;
  }
  .esp-profile-edit-panel,
  .esp-profile-edit-section,
  .esp-profile-edit-section-wrap .esp-editor-section{
    border-radius:22px!important;
  }
  .esp-profile-edit-sections{
    padding:12px!important;
    gap:12px!important;
  }
  .esp-profile-edit-section,
  .esp-profile-edit-section-wrap .esp-editor-section{
    padding:14px!important;
  }
  .esp-profile-edit-section .esp-editor-two,
  .esp-profile-edit-section-wrap .esp-editor-two,
  .esp-profile-edit-section .esp-image-upload-grid{
    grid-template-columns:1fr!important;
  }
  .esp-profile-edit-section .esp-image-upload-card.avatar .esp-image-preview{
    width:124px!important;
    height:124px!important;
    min-height:124px!important;
  }
  .esp-profile-edit-section .esp-image-preview,
  .esp-profile-edit-section-wrap .esp-image-preview{
    min-height:118px!important;
  }
  .esp-profile-edit-decision{
    position:relative!important;
    padding:12px!important;
  }
  .esp-profile-edit-decision .esp-btn{
    flex:1 1 0!important;
    justify-content:center!important;
  }
}

/* v1.4.68 - Edit player/team/org modals use a true active pane instead of scroll-to sections */
.esp-fair-admin-modal.esp-profile-edit-modal{
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.esp-profile-edit-shortcuts .esp-profile-shortcut{
  cursor:pointer!important;
}
.esp-profile-edit-shortcuts .esp-profile-shortcut.is-active{
  border-color:rgba(186,255,0,.62)!important;
  background:radial-gradient(circle at 12% 18%,rgba(186,255,0,.16),transparent 44%),rgba(186,255,0,.055)!important;
  box-shadow:0 18px 46px rgba(186,255,0,.08),inset 0 0 0 1px rgba(186,255,0,.08)!important;
}
.esp-profile-edit-shortcuts .esp-profile-shortcut.is-active .esp-fair-dash-stat-icon{
  background:rgba(186,255,0,.15)!important;
  color:#dfff4d!important;
}
.esp-profile-edit-body{
  min-height:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
}
.esp-profile-edit-panel{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  max-height:100%!important;
}
.esp-profile-edit-panel .esp-fair-panel-head{
  flex:0 0 auto!important;
}
.esp-profile-edit-panel .esp-fair-panel-head > small{
  max-width:46%!important;
  text-align:right!important;
  line-height:1.25!important;
}
.esp-profile-edit-active-pane{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  padding:12px!important;
  scroll-behavior:auto!important;
}
.esp-profile-edit-active-pane > .esp-profile-edit-section,
.esp-profile-edit-active-pane > .esp-profile-edit-section-wrap > .esp-editor-section{
  animation:espPaneIn .18s ease both!important;
}
@keyframes espPaneIn{from{opacity:.25;transform:translateY(6px)}to{opacity:1;transform:none}}
.esp-org-edit-modal .esp-profile-edit-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.esp-org-edit-modal .esp-profile-edit-hero .esp-fair-command-title h2,
.esp-team-edit-modal .esp-profile-edit-hero .esp-fair-command-title h2,
.esp-player-edit-modal .esp-profile-edit-hero .esp-fair-command-title h2{letter-spacing:-.055em!important;}
@media(max-width:780px){
  .esp-profile-edit-backdrop{padding:10px 8px 88px!important;}
  .esp-fair-admin-modal.esp-profile-edit-modal{max-height:calc(100dvh - 20px)!important;}
  .esp-profile-edit-shortcuts{flex:0 0 auto!important;}
  .esp-profile-edit-body{overflow:hidden!important;}
  .esp-profile-edit-active-pane{padding:10px!important;}
  .esp-profile-edit-panel .esp-fair-panel-head{align-items:flex-start!important;gap:10px!important;}
  .esp-profile-edit-panel .esp-fair-panel-head > small{max-width:100%!important;text-align:left!important;}
  .esp-org-edit-modal .esp-profile-edit-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* v1.4.69 - Profile/team/org edit modals: bottom-action only header + usable active pane on mobile */
.esp-profile-edit-hero .esp-profile-edit-actions{
  display:none!important;
}
.esp-fair-admin-modal.esp-profile-edit-modal{
  overflow:hidden!important;
}
.esp-profile-edit-shortcuts{
  flex:0 0 auto!important;
}
.esp-profile-edit-body{
  flex:1 1 auto!important;
  min-height:0!important;
}
.esp-profile-edit-panel{
  min-height:0!important;
}
.esp-profile-edit-active-pane{
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
}
.esp-profile-edit-decision{
  flex:0 0 auto!important;
}
@media(max-width:780px){
  .esp-profile-edit-backdrop{
    padding:8px 6px!important;
    overflow:hidden!important;
    align-items:flex-start!important;
  }
  .esp-fair-admin-modal.esp-profile-edit-modal{
    width:calc(100vw - 12px)!important;
    height:calc(100dvh - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:24px!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .esp-profile-edit-hero{
    flex:0 0 auto!important;
    padding:16px 18px 12px!important;
    gap:0!important;
  }
  .esp-profile-edit-hero .esp-fair-command-title h2{
    font-size:32px!important;
    line-height:.98!important;
  }
  .esp-profile-edit-hero .esp-fair-command-title p{
    font-size:13px!important;
    line-height:1.32!important;
    margin-top:7px!important;
  }
  .esp-profile-edit-shortcuts,
  .esp-org-edit-modal .esp-profile-edit-shortcuts{
    display:flex!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    padding:10px 12px!important;
    gap:10px!important;
    flex:0 0 auto!important;
  }
  .esp-profile-edit-shortcuts::-webkit-scrollbar{
    display:none!important;
  }
  .esp-profile-shortcut,
  .esp-org-edit-modal .esp-profile-shortcut{
    flex:0 0 148px!important;
    width:148px!important;
    min-height:68px!important;
    border-radius:17px!important;
    padding:10px 10px 10px 42px!important;
    scroll-snap-align:start!important;
  }
  .esp-profile-shortcut .esp-fair-dash-stat-icon{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    left:10px!important;
    top:12px!important;
  }
  .esp-profile-shortcut strong{
    font-size:18px!important;
    line-height:1!important;
  }
  .esp-profile-shortcut em{
    font-size:11px!important;
    line-height:1.05!important;
    letter-spacing:.11em!important;
  }
  .esp-profile-shortcut small{
    display:none!important;
  }
  .esp-profile-edit-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:10px 12px!important;
  }
  .esp-profile-edit-panel{
    height:100%!important;
    max-height:none!important;
    min-height:0!important;
    border-radius:21px!important;
  }
  .esp-profile-edit-panel .esp-fair-panel-head{
    flex:0 0 auto!important;
    padding:14px 16px 12px!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  .esp-profile-edit-panel .esp-fair-panel-head h3{
    font-size:24px!important;
    line-height:1.05!important;
  }
  .esp-profile-edit-panel .esp-fair-panel-head > small{
    font-size:12px!important;
    line-height:1.25!important;
    max-width:58%!important;
    text-align:right!important;
  }
  .esp-profile-edit-active-pane{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:10px 10px 18px!important;
  }
  .esp-profile-edit-section,
  .esp-profile-edit-section-wrap .esp-editor-section{
    padding:14px!important;
    border-radius:20px!important;
  }
  .esp-profile-edit-section textarea,
  .esp-profile-edit-section-wrap .esp-editor-section textarea{
    min-height:112px!important;
  }
  .esp-profile-edit-decision{
    position:relative!important;
    bottom:auto!important;
    flex:0 0 auto!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;
    gap:10px!important;
    background:linear-gradient(180deg,rgba(8,11,18,.70),rgba(8,11,18,.98))!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
  }
  .esp-profile-edit-decision .esp-btn{
    min-height:54px!important;
    flex:1 1 0!important;
    justify-content:center!important;
  }
}
