/* Scrim community uses GNEX Laga's angular blue panels and compact roster cards. */
.scrim-team-logo{width:76px;height:76px;object-fit:contain;background:#061124;border:1px solid #24536c;border-radius:12px;padding:5px}
#profileOverlay .profile-card,#rankingOverlay .ranking-full-card{background:#020817;border-color:#244b70;border-radius:4px 22px 4px 22px;color:#f7faff}
#profileOverlay .profile-card-head,#rankingOverlay .profile-card-head{background:radial-gradient(ellipse at 85% 30%,#0e4470aa,transparent 60%),linear-gradient(120deg,#061326,#0a2040);border-bottom:1px solid #244b70;padding:26px}
#rankingOverlay .profile-card-head h2{font:800 clamp(40px,6vw,64px)/.95 'Barlow Condensed',Impact,sans-serif;letter-spacing:-.6px;margin:16px 0}
#rankingOverlay .profile-card-head h2 span{display:block;color:transparent;-webkit-text-stroke:1px #55dcff;letter-spacing:2px}
#rankingOverlay .profile-card-head p:last-child{font-size:12px;line-height:1.8;color:#a5b9d1;max-width:500px}
#rankingOverlay .ranking-podium-card{background:linear-gradient(120deg,#0b2139,#061426);border:1px solid #244b70;border-left:3px solid #33d7ff;border-radius:4px 16px 4px 16px;box-shadow:none}
#rankingOverlay .ranking-podium-card.rank-1{border-color:#947938;border-left-color:#ffd84d}
#rankingOverlay .ranking-team-head img,#rankingOverlay .ranking-table-team img{border-radius:9px;object-fit:contain;background:#06152b;border:1px solid #2689b2;padding:4px}
#rankingOverlay .ranking-table{border-color:#244b70;background:#061124;border-radius:12px}
#rankingOverlay .ranking-table-head{background:#0b2941;color:#70dbf4}
#rankingOverlay .ranking-table-row{border-color:#203d58;background:linear-gradient(100deg,#0b213944,transparent)}
#profileOverlay .profile-title-block{display:grid;grid-template-columns:76px 1fr;gap:6px 16px;align-items:center}
#scrimProfileLogo{grid-row:1/3}#profileOverlay .profile-title-block>.section-kicker{grid-column:2}#profileOverlay .profile-title-row{grid-column:2}
#profileOverlay .profile-title-row h2{font:800 30px/1.1 'Barlow Condensed',Impact,sans-serif;overflow-wrap:anywhere}
#profileOverlay .profile-summary,#profileOverlay .profile-edit-panel,#profileOverlay .profile-roster-section{background:#07162c;border:1px solid #175675;border-radius:14px;margin:16px;padding:20px}
#profileOverlay .profile-edit-panel input{width:100%;min-width:0;padding:12px;background:#071021;color:#e8f1ff;border:1px solid #315376;border-radius:8px}
#profileOverlay .profile-edit-panel input[readonly]{color:#62e8ff;background:#0b2139}
#profileOverlay .profile-edit-panel input[type=file]{font-size:12px;padding:10px}
.scrim-roster-editor{min-width:0;border:1px solid #28516a;border-radius:12px;padding:16px}.scrim-roster-editor legend{color:#70dbf4;font-size:12px;padding:0 6px}
.scrim-player-editor{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;padding:14px;background:#061124;border:1px solid #244b70;border-radius:10px}.scrim-player-editor>strong,.scrim-player-editor>p{grid-column:1/-1}.scrim-player-editor label{display:grid;gap:7px;font-size:11px;color:#a5b9d1}.scrim-player-editor>strong{font-size:12px;color:#67e8f9}.scrim-player-editor p,#profileMlStatus{font-size:12px;line-height:1.5;color:#70dbf4;overflow-wrap:anywhere;margin:4px 0}
.scrim-profile-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.scrim-profile-roster article{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:5px 10px;padding:14px;border:1px solid #203d58;border-radius:10px;background:#061124;min-width:0}.scrim-profile-roster article>span{grid-row:1/3;color:#70eaff;background:#103147;border-radius:8px;padding:8px;text-align:center;font-size:12px}.scrim-profile-roster strong{font-size:13px;overflow-wrap:anywhere}.scrim-profile-roster small{font-size:8px;color:#95abc3;letter-spacing:1px}
.scrim-directory{padding-bottom:0}.scrim-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.scrim-directory-team{display:flex;align-items:center;gap:14px;padding:16px;background:linear-gradient(120deg,#0b2139,#061426);border:1px solid #244b70;border-left:3px solid #33d7ff;border-radius:4px 16px 4px 16px;min-width:0}.scrim-directory-team>img{width:52px;height:52px;object-fit:contain;background:#06152b;border:1px solid #2689b2;border-radius:9px;padding:3px}.scrim-directory-team>div{flex:1;min-width:0}.scrim-directory-team h3{font:800 24px/1.1 'Barlow Condensed',Impact,sans-serif;margin:0 0 8px;overflow-wrap:anywhere}.scrim-directory-team p{font-size:7px;color:#33d7ff;letter-spacing:1.7px;margin:0}.scrim-directory-team button{padding:10px;min-width:34px;font-size:19px}
#teamDetails{width:min(600px,calc(100% - 24px));max-height:85dvh;overflow:auto;background:#07162c;color:#e8f1ff;border:1px solid #275573;border-radius:16px;padding:24px}#teamDetails::backdrop{background:#020817dd}#closeTeamDetails{float:right}#teamDetails h2{font:800 36px 'Barlow Condensed',Impact,sans-serif}.scrim-public-stats{display:flex;gap:16px;font-size:12px;color:#70dbf4}
@media(max-width:640px){.scrim-directory-grid,.scrim-profile-roster{grid-template-columns:1fr}#profileOverlay .profile-card-head,#rankingOverlay .profile-card-head{padding:18px}#profileOverlay .profile-title-block{grid-template-columns:56px 1fr;gap:6px 12px}#scrimProfileLogo{width:56px;height:56px}#profileOverlay .profile-title-row{flex-wrap:wrap}#profileOverlay .profile-summary,#profileOverlay .profile-edit-panel,#profileOverlay .profile-roster-section{margin:10px;padding:16px}.scrim-player-editor{padding:12px}.scrim-roster-editor{padding:12px}}
body .scrim-bottom-nav [data-nav="scrim-home"]{order:1}
body .scrim-bottom-nav [data-nav="all-scrim"]{order:2}
body .scrim-bottom-nav [data-nav="all-team"]{order:3}
body .scrim-bottom-nav [data-nav="ranking"]{order:4}
body .scrim-bottom-nav [data-nav="gnex-chat"]{order:5}
body .scrim-bottom-nav [data-nav="scrim-profile"]{order:6}
body:has(#rankingOverlay.is-visible) .scrim-bottom-nav [data-nav="ranking"]{color:#67f1fd;background:#0c2d40}
body:has(#rankingOverlay.is-visible) .scrim-bottom-nav .is-active:not([data-nav="ranking"]){background:transparent;color:#a1a1aa;box-shadow:none}
body:has(#rankingOverlay.is-visible) .scrim-bottom-nav .is-active:not([data-nav="ranking"])::before{display:none}
@media(max-width:820px){body .scrim-bottom-nav .bottom-nav-item,body.scrim-navigation-context .scrim-context-nav .bottom-nav-item{font-size:9px}body .scrim-bottom-nav,body.scrim-navigation-context .scrim-context-nav{gap:1px;padding-inline:5px}}
body .scrim-bottom-nav{z-index:101}

.scrim-directory .directory-tools #refreshTeams{display:grid;place-items:center;width:46px;height:46px;min-width:46px;flex:0 0 46px;padding:11px}.scrim-directory #refreshTeams svg{width:22px;height:22px}
.scrim-no-show-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:26px;height:26px;padding:0 6px;box-sizing:border-box;border:1px solid #ff6666;border-radius:50%;background:#ad202d;color:#fff;font:800 12px/1 Inter,Arial,sans-serif;box-shadow:0 0 0 3px #ef44441a}

.scrim-directory-team .scrim-team-avatar{position:relative;display:block;flex:none;width:52px;height:52px}.scrim-directory-team .scrim-team-avatar>img:first-child{width:100%;height:100%;box-sizing:border-box}.scrim-directory-team .scrim-team-avatar>.scrim-team-region{position:absolute;right:-5px;top:-5px;bottom:auto;width:22px;height:15px;object-fit:cover;border:2px solid #07172a;border-radius:4px;background:#fff;padding:0;box-sizing:content-box;z-index:1}

.scrim-directory-team .scrim-team-avatar>img:first-child{border:1px solid #1aa8d9;border-radius:9px;object-fit:contain;padding:2px;background:#061321}.scrim-directory-team .scrim-team-avatar>.scrim-team-region{border-color:#eaf6ff;border-width:1px;border-radius:3px;box-shadow:0 1px 5px #0006}
.scrim-directory-team button.scrim-no-show-count{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-width:22px;height:22px;min-height:22px;padding:0 5px;border:1px solid #ff6666;border-radius:50%;background:#ad202d;color:#fff;font:800 10px/1 Inter,Arial,sans-serif;box-shadow:0 0 0 2px #ef44441a;cursor:pointer}
.scrim-directory-team button.scrim-no-show-count::before{content:"";position:absolute;inset:-10px;border-radius:50%}
.scrim-directory-team button.scrim-no-show-count:focus-visible{outline:2px solid #fff;outline-offset:4px}
.scrim-no-show-tooltip{position:fixed;z-index:11000;max-width:min(260px,calc(100vw - 32px));padding:10px 12px;border:1px solid #d75b65;border-radius:9px;background:#291b26;color:#ffebee;font:500 12px/1.5 Inter,Arial,sans-serif;box-shadow:0 8px 24px #0008;pointer-events:none}
.scrim-no-show-tooltip[hidden]{display:none}

.scrim-inbox-history-button{display:block;margin:10px 0 0 auto;padding:8px 13px;border:1px solid #28546b;border-radius:9px;background:#0a2334;color:#7ee5f7;font:600 11px inherit;cursor:pointer}.inbox-history-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;margin-top:10px;border:1px solid #28566c;border-radius:10px;background:#0b2a3d}.inbox-history-result strong{font-size:11px;color:#7ee5f7}.inbox-history-result span{font-size:12px;color:#eefaff;font-weight:700}.inbox-history-empty{font-size:12px;color:#8caabd;padding:16px 0}

@keyframes scrim-refresh-spin{to{transform:rotate(360deg)}}
#refreshTeams.is-refreshing svg{animation:scrim-refresh-spin .9s linear infinite}
@media(prefers-reduced-motion:reduce){#refreshTeams.is-refreshing svg{animation:none}}
